associate_application_fleet

associate_application_fleet(**kwargs)

Associates the specified application with the specified fleet. This is only supported for Elastic fleets.

See also: AWS API Documentation

Request Syntax

response = client.associate_application_fleet(
    FleetName='string',
    ApplicationArn='string'
)
Parameters
  • FleetName (string) --

    [REQUIRED]

    The name of the fleet.

  • ApplicationArn (string) --

    [REQUIRED]

    The ARN of the application.

Return type

dict

Returns

Response Syntax

{
    'ApplicationFleetAssociation': {
        'FleetName': 'string',
        'ApplicationArn': 'string'
    }
}

Response Structure

  • (dict) --

    • ApplicationFleetAssociation (dict) --

      If fleet name is specified, this returns the list of applications that are associated to it. If application ARN is specified, this returns the list of fleets to which it is associated.

      • FleetName (string) --

        The name of the fleet associated with the application.

      • ApplicationArn (string) --

        The ARN of the application associated with the fleet.

Exceptions

  • AppStream.Client.exceptions.ConcurrentModificationException
  • AppStream.Client.exceptions.LimitExceededException
  • AppStream.Client.exceptions.ResourceNotFoundException
  • AppStream.Client.exceptions.InvalidParameterCombinationException
  • AppStream.Client.exceptions.OperationNotPermittedException