// Deletes the association between an Amazon Lex bot and a messaging platform. This
// operation requires permission for the lex:DeleteBotChannelAssociation action.
Deletes the association between an Amazon Lex bot and a messaging platform. This
operation requires permission for the lex:DeleteBotChannelAssociation action.
// Deletes the association between an Amazon Lex bot and a messaging platform . This // operation requires permission for the lex : DeleteBotChannelAssociation action .
func (c *Client) DeleteBotChannelAssociation(ctx context.Context, params *DeleteBotChannelAssociationInput, optFns ...func(*Options)) (*DeleteBotChannelAssociationOutput, error) {
	if params == nil {
		params = &DeleteBotChannelAssociationInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DeleteBotChannelAssociation", params, optFns, addOperationDeleteBotChannelAssociationMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DeleteBotChannelAssociationOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DeleteBotChannelAssociation ( ctx context . Context , params * DeleteBotChannelAssociationInput , optFns ... func ( * Options ) ) ( * DeleteBotChannelAssociationOutput , error ) { if params == nil { params = & DeleteBotChannelAssociationInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDeleteBotChannelAssociationMiddlewares ) if err != nil { return nil , err } out := result . ( * DeleteBotChannelAssociationOutput ) out . ResultMetadata = metadata return out , nil }
Deletes the association between an Amazon Lex bot and a messaging platform.
Deletes the association between an Amazon Lex bot and a messaging platform .