| 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.MigrationHubReFactorSpaces.GetApplication
Description
Gets an Amazon Web Services Migration Hub Refactor Spaces application.
Synopsis
- data GetApplication = GetApplication' {}
- newGetApplication :: Text -> Text -> GetApplication
- getApplication_applicationIdentifier :: Lens' GetApplication Text
- getApplication_environmentIdentifier :: Lens' GetApplication Text
- data GetApplicationResponse = GetApplicationResponse' {
- apiGatewayProxy :: Maybe ApiGatewayProxyConfig
- applicationId :: Maybe Text
- arn :: Maybe Text
- createdByAccountId :: Maybe Text
- createdTime :: Maybe POSIX
- environmentId :: Maybe Text
- error :: Maybe ErrorResponse
- lastUpdatedTime :: Maybe POSIX
- name :: Maybe Text
- ownerAccountId :: Maybe Text
- proxyType :: Maybe ProxyType
- state :: Maybe ApplicationState
- tags :: Maybe (Sensitive (HashMap Text Text))
- vpcId :: Maybe Text
- httpStatus :: Int
- newGetApplicationResponse :: Int -> GetApplicationResponse
- getApplicationResponse_apiGatewayProxy :: Lens' GetApplicationResponse (Maybe ApiGatewayProxyConfig)
- getApplicationResponse_applicationId :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_arn :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_createdByAccountId :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_createdTime :: Lens' GetApplicationResponse (Maybe UTCTime)
- getApplicationResponse_environmentId :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_error :: Lens' GetApplicationResponse (Maybe ErrorResponse)
- getApplicationResponse_lastUpdatedTime :: Lens' GetApplicationResponse (Maybe UTCTime)
- getApplicationResponse_name :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_ownerAccountId :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_proxyType :: Lens' GetApplicationResponse (Maybe ProxyType)
- getApplicationResponse_state :: Lens' GetApplicationResponse (Maybe ApplicationState)
- getApplicationResponse_tags :: Lens' GetApplicationResponse (Maybe (HashMap Text Text))
- getApplicationResponse_vpcId :: Lens' GetApplicationResponse (Maybe Text)
- getApplicationResponse_httpStatus :: Lens' GetApplicationResponse Int
Creating a Request
data GetApplication Source #
See: newGetApplication smart constructor.
Constructors
| GetApplication' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetApplication |
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:applicationIdentifier:GetApplication', getApplication_applicationIdentifier - The ID of the application.
$sel:environmentIdentifier:GetApplication', getApplication_environmentIdentifier - The ID of the environment.
Request Lenses
getApplication_applicationIdentifier :: Lens' GetApplication Text Source #
The ID of the application.
getApplication_environmentIdentifier :: Lens' GetApplication Text Source #
The ID of the environment.
Destructuring the Response
data GetApplicationResponse Source #
See: newGetApplicationResponse smart constructor.
Constructors
| GetApplicationResponse' | |
Fields
| |
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:
GetApplicationResponse, getApplicationResponse_apiGatewayProxy - The endpoint URL of the API Gateway proxy.
GetApplicationResponse, getApplicationResponse_applicationId - The unique identifier of the application.
GetApplicationResponse, getApplicationResponse_arn - The Amazon Resource Name (ARN) of the application.
GetApplicationResponse, getApplicationResponse_createdByAccountId - The Amazon Web Services account ID of the application creator.
GetApplicationResponse, getApplicationResponse_createdTime - A timestamp that indicates when the application is created.
GetApplicationResponse, getApplicationResponse_environmentId - The unique identifier of the environment.
GetApplicationResponse, getApplicationResponse_error - Any error associated with the application resource.
GetApplicationResponse, getApplicationResponse_lastUpdatedTime - A timestamp that indicates when the application was last updated.
GetApplicationResponse, getApplicationResponse_name - The name of the application.
GetApplicationResponse, getApplicationResponse_ownerAccountId - The Amazon Web Services account ID of the application owner (which is
always the same as the environment owner account ID).
GetApplicationResponse, getApplicationResponse_proxyType - The proxy type of the proxy created within the application.
GetApplicationResponse, getApplicationResponse_state - The current state of the application.
GetApplicationResponse, getApplicationResponse_tags - The tags assigned to the application. A tag is a label that you assign
to an Amazon Web Services resource. Each tag consists of a key-value
pair.
GetApplicationResponse, getApplicationResponse_vpcId - The ID of the virtual private cloud (VPC).
$sel:httpStatus:GetApplicationResponse', getApplicationResponse_httpStatus - The response's http status code.
Response Lenses
getApplicationResponse_apiGatewayProxy :: Lens' GetApplicationResponse (Maybe ApiGatewayProxyConfig) Source #
The endpoint URL of the API Gateway proxy.
getApplicationResponse_applicationId :: Lens' GetApplicationResponse (Maybe Text) Source #
The unique identifier of the application.
getApplicationResponse_arn :: Lens' GetApplicationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the application.
getApplicationResponse_createdByAccountId :: Lens' GetApplicationResponse (Maybe Text) Source #
The Amazon Web Services account ID of the application creator.
getApplicationResponse_createdTime :: Lens' GetApplicationResponse (Maybe UTCTime) Source #
A timestamp that indicates when the application is created.
getApplicationResponse_environmentId :: Lens' GetApplicationResponse (Maybe Text) Source #
The unique identifier of the environment.
getApplicationResponse_error :: Lens' GetApplicationResponse (Maybe ErrorResponse) Source #
Any error associated with the application resource.
getApplicationResponse_lastUpdatedTime :: Lens' GetApplicationResponse (Maybe UTCTime) Source #
A timestamp that indicates when the application was last updated.
getApplicationResponse_name :: Lens' GetApplicationResponse (Maybe Text) Source #
The name of the application.
getApplicationResponse_ownerAccountId :: Lens' GetApplicationResponse (Maybe Text) Source #
The Amazon Web Services account ID of the application owner (which is always the same as the environment owner account ID).
getApplicationResponse_proxyType :: Lens' GetApplicationResponse (Maybe ProxyType) Source #
The proxy type of the proxy created within the application.
getApplicationResponse_state :: Lens' GetApplicationResponse (Maybe ApplicationState) Source #
The current state of the application.
getApplicationResponse_tags :: Lens' GetApplicationResponse (Maybe (HashMap Text Text)) Source #
The tags assigned to the application. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
getApplicationResponse_vpcId :: Lens' GetApplicationResponse (Maybe Text) Source #
The ID of the virtual private cloud (VPC).
getApplicationResponse_httpStatus :: Lens' GetApplicationResponse Int Source #
The response's http status code.