batch_get_applications

CodeDeploy.Client.batch_get_applications(**kwargs)

Gets information about one or more applications. The maximum number of applications that can be returned is 100.

See also: AWS API Documentation

Request Syntax

response = client.batch_get_applications(
    applicationNames=[
        'string',
    ]
)
Parameters
applicationNames (list) --

[REQUIRED]

A list of application names separated by spaces. The maximum number of application names you can specify is 100.

  • (string) --
Return type
dict
Returns
Response Syntax
{
    'applicationsInfo': [
        {
            'applicationId': 'string',
            'applicationName': 'string',
            'createTime': datetime(2015, 1, 1),
            'linkedToGitHub': True|False,
            'gitHubAccountName': 'string',
            'computePlatform': 'Server'|'Lambda'|'ECS'
        },
    ]
}

Response Structure

  • (dict) --

    Represents the output of a BatchGetApplications operation.

    • applicationsInfo (list) --

      Information about the applications.

      • (dict) --

        Information about an application.

        • applicationId (string) --

          The application ID.

        • applicationName (string) --

          The application name.

        • createTime (datetime) --

          The time at which the application was created.

        • linkedToGitHub (boolean) --

          True if the user has authenticated with GitHub for the specified application. Otherwise, false.

        • gitHubAccountName (string) --

          The name for a connection to a GitHub account.

        • computePlatform (string) --

          The destination platform type for deployment of the application ( Lambda or Server ).

Exceptions

  • CodeDeploy.Client.exceptions.ApplicationNameRequiredException
  • CodeDeploy.Client.exceptions.InvalidApplicationNameException
  • CodeDeploy.Client.exceptions.ApplicationDoesNotExistException
  • CodeDeploy.Client.exceptions.BatchLimitExceededException