ServerlessApplicationRepository / Client / unshare_application

unshare_application#

ServerlessApplicationRepository.Client.unshare_application(**kwargs)#

Unshares an application from an AWS Organization.

This operation can be called only from the organization’s master account.

See also: AWS API Documentation

Request Syntax

response = client.unshare_application(
    ApplicationId='string',
    OrganizationId='string'
)
Parameters:
  • ApplicationId (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the application.

  • OrganizationId (string) –

    [REQUIRED]

    The AWS Organization ID to unshare the application from.

Returns:

None

Exceptions

  • ServerlessApplicationRepository.Client.exceptions.NotFoundException

  • ServerlessApplicationRepository.Client.exceptions.TooManyRequestsException

  • ServerlessApplicationRepository.Client.exceptions.BadRequestException

  • ServerlessApplicationRepository.Client.exceptions.InternalServerErrorException

  • ServerlessApplicationRepository.Client.exceptions.ForbiddenException