AppIntegrationsService / Client / update_application

update_application#

AppIntegrationsService.Client.update_application(**kwargs)#

Updates and persists an Application resource.

See also: AWS API Documentation

Request Syntax

response = client.update_application(
    Arn='string',
    Name='string',
    Description='string',
    ApplicationSourceConfig={
        'ExternalUrlConfig': {
            'AccessUrl': 'string',
            'ApprovedOrigins': [
                'string',
            ]
        }
    },
    Subscriptions=[
        {
            'Event': 'string',
            'Description': 'string'
        },
    ],
    Publications=[
        {
            'Event': 'string',
            'Schema': 'string',
            'Description': 'string'
        },
    ],
    Permissions=[
        'string',
    ]
)
Parameters:
  • Arn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the Application.

  • Name (string) – The name of the application.

  • Description (string) – The description of the application.

  • ApplicationSourceConfig (dict) –

    The configuration for where the application should be loaded from.

    • ExternalUrlConfig (dict) –

      The external URL source for the application.

      • AccessUrl (string) – [REQUIRED]

        The URL to access the application.

      • ApprovedOrigins (list) –

        Additional URLs to allow list if different than the access URL.

        • (string) –

  • Subscriptions (list) –

    The events that the application subscribes.

    • (dict) –

      The configuration of an event that the application subscribes.

      • Event (string) – [REQUIRED]

        The name of the subscription.

      • Description (string) –

        The description of the subscription.

  • Publications (list) –

    The events that the application publishes.

    • (dict) –

      The configuration of an event that the application publishes.

      • Event (string) – [REQUIRED]

        The name of the publication.

      • Schema (string) – [REQUIRED]

        The JSON schema of the publication event.

      • Description (string) –

        The description of the publication.

  • Permissions (list) –

    The configuration of events or requests that the application has access to.

    • (string) –

      The permission of an event or request that the application has access to.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • AppIntegrationsService.Client.exceptions.InternalServiceError

  • AppIntegrationsService.Client.exceptions.ThrottlingException

  • AppIntegrationsService.Client.exceptions.ResourceNotFoundException

  • AppIntegrationsService.Client.exceptions.InvalidRequestException

  • AppIntegrationsService.Client.exceptions.AccessDeniedException

  • AppIntegrationsService.Client.exceptions.UnsupportedOperationException