// Retrieve a JSON array of up to twenty of your presets. This will return the
// presets themselves, not just a list of them. To retrieve the next twenty
// presets, use the nextToken string returned with the array.
Retrieve a JSON array of up to twenty of your presets. This will return the
presets themselves, not just a list of them. To retrieve the next twenty
presets, use the nextToken string returned with the array.
// Retrieve a JSON array of up to twenty of your presets . This will return the // presets themselves not just a list of them . To retrieve the next twenty // presets use the nextToken string returned with the array .
func (c *Client) ListPresets(ctx context.Context, params *ListPresetsInput, optFns ...func(*Options)) (*ListPresetsOutput, error) {
	if params == nil {
		params = &ListPresetsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListPresets", params, optFns, addOperationListPresetsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListPresetsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListPresets ( ctx context . Context , params * ListPresetsInput , optFns ... func ( * Options ) ) ( * ListPresetsOutput , error ) { if params == nil { params = & ListPresetsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListPresetsMiddlewares ) if err != nil { return nil , err } out := result . ( * ListPresetsOutput ) out . ResultMetadata = metadata return out , nil }
Retrieve a JSON array of up to twenty of your presets.
Retrieve a JSON array of up to twenty of your presets .