// Update a listener. To see an AWS CLI example of updating listener, scroll down
// to Example.
Update a listener. To see an AWS CLI example of updating listener, scroll down
to Example.
// Update a listener . To see an AWS CLI example of updating listener scroll down // to Example .
func (c *Client) UpdateListener(ctx context.Context, params *UpdateListenerInput, optFns ...func(*Options)) (*UpdateListenerOutput, error) {
	if params == nil {
		params = &UpdateListenerInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "UpdateListener", params, optFns, addOperationUpdateListenerMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*UpdateListenerOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) UpdateListener ( ctx context . Context , params * UpdateListenerInput , optFns ... func ( * Options ) ) ( * UpdateListenerOutput , error ) { if params == nil { params = & UpdateListenerInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationUpdateListenerMiddlewares ) if err != nil { return nil , err } out := result . ( * UpdateListenerOutput ) out . ResultMetadata = metadata return out , nil }
Update a listener.
Update a listener .