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 |
Retrieves metadata information about one of your applications. The
application can be specified either by its unique ID or by its name
(which is unique within one account in one region at a given point in
time). Specify by ID in automated workflows if you want to make sure
that the exact same application is returned or a
ResourceNotFoundException
is thrown, avoiding the ABA addressing
problem.
Synopsis
- data GetApplication = GetApplication' {
- application :: Text
- newGetApplication :: Text -> GetApplication
- getApplication_application :: Lens' GetApplication Text
- data GetApplicationResponse = GetApplicationResponse' {
- creationTime :: Maybe POSIX
- arn :: Maybe Text
- integrations :: Maybe Integrations
- associatedResourceCount :: Maybe Natural
- name :: Maybe Text
- id :: Maybe Text
- lastUpdateTime :: Maybe POSIX
- description :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newGetApplicationResponse :: Int -> GetApplicationResponse
- getApplicationResponse_creationTime :: Lens' GetApplicationResponse (Maybe UTCTime)
- getApplicationResponse_arn :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_integrations :: Lens' GetApplicationResponse (Maybe Integrations)
- getApplicationResponse_associatedResourceCount :: Lens' GetApplicationResponse (Maybe Natural)
- getApplicationResponse_name :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_id :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_lastUpdateTime :: Lens' GetApplicationResponse (Maybe UTCTime)
- getApplicationResponse_description :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_tags :: Lens' GetApplicationResponse (Maybe (HashMap Text Text))
- getApplicationResponse_httpStatus :: Lens' GetApplicationResponse Int
Creating a Request
data GetApplication Source #
See: newGetApplication
smart constructor.
GetApplication' | |
|
Instances
Create a value of GetApplication
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:GetApplication'
, getApplication_application
- The name or ID of the application.
Request Lenses
getApplication_application :: Lens' GetApplication Text Source #
The name or ID of the application.
Destructuring the Response
data GetApplicationResponse Source #
See: newGetApplicationResponse
smart constructor.
GetApplicationResponse' | |
|
Instances
newGetApplicationResponse Source #
Create a value of GetApplicationResponse
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:creationTime:GetApplicationResponse'
, getApplicationResponse_creationTime
- The ISO-8601 formatted timestamp of the moment when the application was
created.
$sel:arn:GetApplicationResponse'
, getApplicationResponse_arn
- The Amazon resource name (ARN) that specifies the application across
services.
$sel:integrations:GetApplicationResponse'
, getApplicationResponse_integrations
- The information about the integration of the application with other
services, such as Resource Groups.
$sel:associatedResourceCount:GetApplicationResponse'
, getApplicationResponse_associatedResourceCount
- The number of top-level resources that were registered as part of this
application.
$sel:name:GetApplicationResponse'
, getApplicationResponse_name
- The name of the application. The name must be unique in the region in
which you are creating the application.
$sel:id:GetApplicationResponse'
, getApplicationResponse_id
- The identifier of the application.
$sel:lastUpdateTime:GetApplicationResponse'
, getApplicationResponse_lastUpdateTime
- The ISO-8601 formatted timestamp of the moment when the application was
last updated.
$sel:description:GetApplicationResponse'
, getApplicationResponse_description
- The description of the application.
$sel:tags:GetApplicationResponse'
, getApplicationResponse_tags
- Key-value pairs associated with the application.
$sel:httpStatus:GetApplicationResponse'
, getApplicationResponse_httpStatus
- The response's http status code.
Response Lenses
getApplicationResponse_creationTime :: Lens' GetApplicationResponse (Maybe UTCTime) Source #
The ISO-8601 formatted timestamp of the moment when the application was created.
getApplicationResponse_arn :: Lens' GetApplicationResponse (Maybe Text) Source #
The Amazon resource name (ARN) that specifies the application across services.
getApplicationResponse_integrations :: Lens' GetApplicationResponse (Maybe Integrations) Source #
The information about the integration of the application with other services, such as Resource Groups.
getApplicationResponse_associatedResourceCount :: Lens' GetApplicationResponse (Maybe Natural) Source #
The number of top-level resources that were registered as part of this application.
getApplicationResponse_name :: Lens' GetApplicationResponse (Maybe Text) Source #
The name of the application. The name must be unique in the region in which you are creating the application.
getApplicationResponse_id :: Lens' GetApplicationResponse (Maybe Text) Source #
The identifier of the application.
getApplicationResponse_lastUpdateTime :: Lens' GetApplicationResponse (Maybe UTCTime) Source #
The ISO-8601 formatted timestamp of the moment when the application was last updated.
getApplicationResponse_description :: Lens' GetApplicationResponse (Maybe Text) Source #
The description of the application.
getApplicationResponse_tags :: Lens' GetApplicationResponse (Maybe (HashMap Text Text)) Source #
Key-value pairs associated with the application.
getApplicationResponse_httpStatus :: Lens' GetApplicationResponse Int Source #
The response's http status code.