// Returns a list of the requester's subscriptions. Each call returns a limited
// list of subscriptions, up to 100. If there are more subscriptions, a NextToken
// is also returned. Use the NextToken parameter in a new ListSubscriptions call to
// get further results. This action is throttled at 30 transactions per second
// (TPS).
Returns a list of the requester's subscriptions. Each call returns a limited
list of subscriptions, up to 100. If there are more subscriptions, a NextToken
is also returned. Use the NextToken parameter in a new ListSubscriptions call to
get further results. This action is throttled at 30 transactions per second
(TPS).
// Returns a list of the requester ' s subscriptions . Each call returns a limited // list of subscriptions up to 100 . If there are more subscriptions a NextToken // is also returned . Use the NextToken parameter in a new ListSubscriptions call to // get further results . This action is throttled at 30 transactions per second // ( TPS ) .
func (c *Client) ListSubscriptions(ctx context.Context, params *ListSubscriptionsInput, optFns ...func(*Options)) (*ListSubscriptionsOutput, error) {
	if params == nil {
		params = &ListSubscriptionsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListSubscriptions", params, optFns, addOperationListSubscriptionsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListSubscriptionsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListSubscriptions ( ctx context . Context , params * ListSubscriptionsInput , optFns ... func ( * Options ) ) ( * ListSubscriptionsOutput , error ) { if params == nil { params = & ListSubscriptionsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListSubscriptionsMiddlewares ) if err != nil { return nil , err } out := result . ( * ListSubscriptionsOutput ) out . ResultMetadata = metadata return out , nil }
Returns a list of the requester's subscriptions.
Returns a list of the requester ' s subscriptions .