CodeDeploy / Client / create_application
create_applicationΒΆ
- CodeDeploy.Client.create_application(**kwargs)ΒΆ
Creates an application.
See also: AWS API Documentation
Request Syntax
response = client.create_application( applicationName='string', computePlatform='Server'|'Lambda'|'ECS', tags=[ { 'Key': 'string', 'Value': 'string' }, ] )
- Parameters:
applicationName (string) β
[REQUIRED]
The name of the application. This name must be unique with the applicable user or Amazon Web Services account.
computePlatform (string) β The destination platform type for the deployment (
Lambda,Server, orECS).tags (list) β
The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
(dict) β
Information about a tag.
Key (string) β
The tagβs key.
Value (string) β
The tagβs value.
- Return type:
dict
- Returns:
Response Syntax
{ 'applicationId': 'string' }
Response Structure
(dict) β
Represents the output of a
CreateApplicationoperation.applicationId (string) β
A unique application ID.
Exceptions
CodeDeploy.Client.exceptions.ApplicationNameRequiredExceptionCodeDeploy.Client.exceptions.InvalidApplicationNameExceptionCodeDeploy.Client.exceptions.ApplicationAlreadyExistsExceptionCodeDeploy.Client.exceptions.ApplicationLimitExceededExceptionCodeDeploy.Client.exceptions.InvalidComputePlatformExceptionCodeDeploy.Client.exceptions.InvalidTagsToAddExceptionCodeDeploy.Client.exceptions.ThrottlingException