| 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.ServiceCatalogAppRegistry.CreateApplication
Description
Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.
Synopsis
- data CreateApplication = CreateApplication' {}
- newCreateApplication :: Text -> Text -> CreateApplication
- createApplication_description :: Lens' CreateApplication (Maybe Text)
- createApplication_tags :: Lens' CreateApplication (Maybe (HashMap Text Text))
- createApplication_name :: Lens' CreateApplication Text
- createApplication_clientToken :: Lens' CreateApplication Text
- data CreateApplicationResponse = CreateApplicationResponse' {}
- newCreateApplicationResponse :: Int -> CreateApplicationResponse
- createApplicationResponse_application :: Lens' CreateApplicationResponse (Maybe Application)
- createApplicationResponse_httpStatus :: Lens' CreateApplicationResponse Int
Creating a Request
data CreateApplication Source #
See: newCreateApplication smart constructor.
Constructors
| CreateApplication' | |
Fields
| |
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:
CreateApplication, createApplication_description - The description of the application.
CreateApplication, createApplication_tags - Key-value pairs you can use to associate with the application.
CreateApplication, createApplication_name - The name of the application. The name must be unique in the region in
which you are creating the application.
$sel:clientToken:CreateApplication', createApplication_clientToken - A unique identifier that you provide to ensure idempotency. If you retry
a request that completed successfully using the same client token and
the same parameters, the retry succeeds without performing any further
actions. If you retry a successful request using the same client token,
but one or more of the parameters are different, the retry fails.
Request Lenses
createApplication_description :: Lens' CreateApplication (Maybe Text) Source #
The description of the application.
createApplication_tags :: Lens' CreateApplication (Maybe (HashMap Text Text)) Source #
Key-value pairs you can use to associate with the application.
createApplication_name :: Lens' CreateApplication Text Source #
The name of the application. The name must be unique in the region in which you are creating the application.
createApplication_clientToken :: Lens' CreateApplication Text Source #
A unique identifier that you provide to ensure idempotency. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails.
Destructuring the Response
data CreateApplicationResponse Source #
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:
$sel:application:CreateApplicationResponse', createApplicationResponse_application - Information about the application.
$sel:httpStatus:CreateApplicationResponse', createApplicationResponse_httpStatus - The response's http status code.
Response Lenses
createApplicationResponse_application :: Lens' CreateApplicationResponse (Maybe Application) Source #
Information about the application.
createApplicationResponse_httpStatus :: Lens' CreateApplicationResponse Int Source #
The response's http status code.