// Returns a list of ARNs for the reports in the current AWS account.
Returns a list of ARNs for the reports in the current AWS account.
// Returns a list of ARNs for the reports in the current AWS account .
func (c *Client) ListReports(ctx context.Context, params *ListReportsInput, optFns ...func(*Options)) (*ListReportsOutput, error) {
	if params == nil {
		params = &ListReportsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListReports", params, optFns, addOperationListReportsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListReportsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListReports ( ctx context . Context , params * ListReportsInput , optFns ... func ( * Options ) ) ( * ListReportsOutput , error ) { if params == nil { params = & ListReportsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListReportsMiddlewares ) if err != nil { return nil , err } out := result . ( * ListReportsOutput ) out . ResultMetadata = metadata return out , nil }
Returns a list of ARNs for the reports in the current AWS account.
Returns a list of ARNs for the reports in the current AWS account .