| 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.M2.GetApplicationVersion
Description
Returns details about a specific version of a specific application.
Synopsis
- data GetApplicationVersion = GetApplicationVersion' {}
- newGetApplicationVersion :: Text -> Natural -> GetApplicationVersion
- getApplicationVersion_applicationId :: Lens' GetApplicationVersion Text
- getApplicationVersion_applicationVersion :: Lens' GetApplicationVersion Natural
- data GetApplicationVersionResponse = GetApplicationVersionResponse' {}
- newGetApplicationVersionResponse :: Int -> Natural -> UTCTime -> Text -> Text -> ApplicationVersionLifecycle -> GetApplicationVersionResponse
- getApplicationVersionResponse_description :: Lens' GetApplicationVersionResponse (Maybe Text)
- getApplicationVersionResponse_statusReason :: Lens' GetApplicationVersionResponse (Maybe Text)
- getApplicationVersionResponse_httpStatus :: Lens' GetApplicationVersionResponse Int
- getApplicationVersionResponse_applicationVersion :: Lens' GetApplicationVersionResponse Natural
- getApplicationVersionResponse_creationTime :: Lens' GetApplicationVersionResponse UTCTime
- getApplicationVersionResponse_definitionContent :: Lens' GetApplicationVersionResponse Text
- getApplicationVersionResponse_name :: Lens' GetApplicationVersionResponse Text
- getApplicationVersionResponse_status :: Lens' GetApplicationVersionResponse ApplicationVersionLifecycle
Creating a Request
data GetApplicationVersion Source #
See: newGetApplicationVersion smart constructor.
Constructors
| GetApplicationVersion' | |
Fields
| |
Instances
newGetApplicationVersion Source #
Create a value of GetApplicationVersion 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:
GetApplicationVersion, getApplicationVersion_applicationId - The unique identifier of the application.
GetApplicationVersion, getApplicationVersion_applicationVersion - The specific version of the application.
Request Lenses
getApplicationVersion_applicationId :: Lens' GetApplicationVersion Text Source #
The unique identifier of the application.
getApplicationVersion_applicationVersion :: Lens' GetApplicationVersion Natural Source #
The specific version of the application.
Destructuring the Response
data GetApplicationVersionResponse Source #
See: newGetApplicationVersionResponse smart constructor.
Constructors
| GetApplicationVersionResponse' | |
Fields
| |
Instances
newGetApplicationVersionResponse Source #
Arguments
| :: Int | |
| -> Natural | |
| -> UTCTime | |
| -> Text | |
| -> Text | |
| -> ApplicationVersionLifecycle | |
| -> GetApplicationVersionResponse |
Create a value of GetApplicationVersionResponse 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:
GetApplicationVersionResponse, getApplicationVersionResponse_description - The application description.
GetApplicationVersionResponse, getApplicationVersionResponse_statusReason - The reason for the reported status.
$sel:httpStatus:GetApplicationVersionResponse', getApplicationVersionResponse_httpStatus - The response's http status code.
GetApplicationVersion, getApplicationVersionResponse_applicationVersion - The specific version of the application.
GetApplicationVersionResponse, getApplicationVersionResponse_creationTime - The timestamp when the application version was created.
$sel:definitionContent:GetApplicationVersionResponse', getApplicationVersionResponse_definitionContent - The content of the application definition. This is a JSON object that
contains the resource configuration and definitions that identify an
application.
GetApplicationVersionResponse, getApplicationVersionResponse_name - The name of the application version.
GetApplicationVersionResponse, getApplicationVersionResponse_status - The status of the application version.
Response Lenses
getApplicationVersionResponse_description :: Lens' GetApplicationVersionResponse (Maybe Text) Source #
The application description.
getApplicationVersionResponse_statusReason :: Lens' GetApplicationVersionResponse (Maybe Text) Source #
The reason for the reported status.
getApplicationVersionResponse_httpStatus :: Lens' GetApplicationVersionResponse Int Source #
The response's http status code.
getApplicationVersionResponse_applicationVersion :: Lens' GetApplicationVersionResponse Natural Source #
The specific version of the application.
getApplicationVersionResponse_creationTime :: Lens' GetApplicationVersionResponse UTCTime Source #
The timestamp when the application version was created.
getApplicationVersionResponse_definitionContent :: Lens' GetApplicationVersionResponse Text Source #
The content of the application definition. This is a JSON object that contains the resource configuration and definitions that identify an application.
getApplicationVersionResponse_name :: Lens' GetApplicationVersionResponse Text Source #
The name of the application version.
getApplicationVersionResponse_status :: Lens' GetApplicationVersionResponse ApplicationVersionLifecycle Source #
The status of the application version.