| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeDeploy.CreateApplication
Description
Creates an application.
Synopsis
- data CreateApplication = CreateApplication' {}
- newCreateApplication :: Text -> CreateApplication
- createApplication_computePlatform :: Lens' CreateApplication (Maybe ComputePlatform)
- createApplication_tags :: Lens' CreateApplication (Maybe [Tag])
- createApplication_applicationName :: Lens' CreateApplication Text
- data CreateApplicationResponse = CreateApplicationResponse' {
- applicationId :: Maybe Text
- httpStatus :: Int
- newCreateApplicationResponse :: Int -> CreateApplicationResponse
- createApplicationResponse_applicationId :: Lens' CreateApplicationResponse (Maybe Text)
- createApplicationResponse_httpStatus :: Lens' CreateApplicationResponse Int
Creating a Request
data CreateApplication Source #
Represents the input of a CreateApplication operation.
See: newCreateApplication smart constructor.
Constructors
| CreateApplication' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> CreateApplication |
Create a value of CreateApplication with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateApplication, createApplication_computePlatform - The destination platform type for the deployment (Lambda, Server, or
ECS).
CreateApplication, createApplication_tags - 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.
CreateApplication, createApplication_applicationName - The name of the application. This name must be unique with the
applicable IAM or Amazon Web Services account.
Request Lenses
createApplication_computePlatform :: Lens' CreateApplication (Maybe ComputePlatform) Source #
The destination platform type for the deployment (Lambda, Server, or
ECS).
createApplication_tags :: Lens' CreateApplication (Maybe [Tag]) Source #
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.
createApplication_applicationName :: Lens' CreateApplication Text Source #
The name of the application. This name must be unique with the applicable IAM or Amazon Web Services account.
Destructuring the Response
data CreateApplicationResponse Source #
Represents the output of a CreateApplication operation.
See: newCreateApplicationResponse smart constructor.
Constructors
| CreateApplicationResponse' | |
Fields
| |
Instances
newCreateApplicationResponse Source #
Create a value of CreateApplicationResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateApplicationResponse, createApplicationResponse_applicationId - A unique application ID.
$sel:httpStatus:CreateApplicationResponse', createApplicationResponse_httpStatus - The response's http status code.
Response Lenses
createApplicationResponse_applicationId :: Lens' CreateApplicationResponse (Maybe Text) Source #
A unique application ID.
createApplicationResponse_httpStatus :: Lens' CreateApplicationResponse Int Source #
The response's http status code.