// Gets one or more outcomes. This is a paginated API. If you provide a null
// maxResults, this actions retrieves a maximum of 100 records per page. If you
// provide a maxResults, the value must be between 50 and 100. To get the next page
// results, provide the pagination token from the GetOutcomesResult as part of your
// request. A null pagination token fetches the records from the beginning.
Gets one or more outcomes. This is a paginated API. If you provide a null
maxResults, this actions retrieves a maximum of 100 records per page. If you
provide a maxResults, the value must be between 50 and 100. To get the next page
results, provide the pagination token from the GetOutcomesResult as part of your
request. A null pagination token fetches the records from the beginning.
// Gets one or more outcomes . This is a paginated API . If you provide a null // maxResults this actions retrieves a maximum of 100 records per page . If you // provide a maxResults the value must be between 50 and 100 . To get the next page // results provide the pagination token from the GetOutcomesResult as part of your // request . A null pagination token fetches the records from the beginning .
func (c *Client) GetOutcomes(ctx context.Context, params *GetOutcomesInput, optFns ...func(*Options)) (*GetOutcomesOutput, error) {
	if params == nil {
		params = &GetOutcomesInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetOutcomes", params, optFns, addOperationGetOutcomesMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetOutcomesOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetOutcomes ( ctx context . Context , params * GetOutcomesInput , optFns ... func ( * Options ) ) ( * GetOutcomesOutput , error ) { if params == nil { params = & GetOutcomesInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetOutcomesMiddlewares ) if err != nil { return nil , err } out := result . ( * GetOutcomesOutput ) out . ResultMetadata = metadata return out , nil }
Gets one or more outcomes.
Gets one or more outcomes .