// Lists event source mappings. Specify an EventSourceArn to only show event source
// mappings for a single event source.
Lists event source mappings. Specify an EventSourceArn to only show event source
mappings for a single event source.
// Lists event source mappings . Specify an EventSourceArn to only show event source // mappings for a single event source .
func (c *Client) ListEventSourceMappings(ctx context.Context, params *ListEventSourceMappingsInput, optFns ...func(*Options)) (*ListEventSourceMappingsOutput, error) {
	if params == nil {
		params = &ListEventSourceMappingsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListEventSourceMappings", params, optFns, addOperationListEventSourceMappingsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListEventSourceMappingsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListEventSourceMappings ( ctx context . Context , params * ListEventSourceMappingsInput , optFns ... func ( * Options ) ) ( * ListEventSourceMappingsOutput , error ) { if params == nil { params = & ListEventSourceMappingsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListEventSourceMappingsMiddlewares ) if err != nil { return nil , err } out := result . ( * ListEventSourceMappingsOutput ) out . ResultMetadata = metadata return out , nil }
Lists event source mappings.
Lists event source mappings .