Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
CreateApplication' | |
|
Instances
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:
$sel:computePlatform:CreateApplication'
, createApplication_computePlatform
- The destination platform type for the deployment (Lambda
, Server
, or
ECS
).
$sel:tags: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.
$sel:applicationName:CreateApplication'
, createApplication_applicationName
- The name of the application. This name must be unique with the
applicable IAM user or AWS 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 user or AWS account.
Destructuring the Response
data CreateApplicationResponse Source #
Represents the output of a CreateApplication
operation.
See: newCreateApplicationResponse
smart constructor.
CreateApplicationResponse' | |
|
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:
$sel:applicationId: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.