get_application

get_application(**kwargs)

Gets information about an application.

See also: AWS API Documentation

Request Syntax

response = client.get_application(
    applicationName='string'
)
Parameters
applicationName (string) --

[REQUIRED]

The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

Return type
dict
Returns
Response Syntax
{
    'application': {
        '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 GetApplication operation.

    • application (dict) --

      Information about the 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