| 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.GetService
Description
Gets an Amazon Web Services Migration Hub Refactor Spaces service.
Synopsis
- data GetService = GetService' {}
- newGetService :: Text -> Text -> Text -> GetService
- getService_applicationIdentifier :: Lens' GetService Text
- getService_environmentIdentifier :: Lens' GetService Text
- getService_serviceIdentifier :: Lens' GetService Text
- data GetServiceResponse = GetServiceResponse' {
- applicationId :: Maybe Text
- arn :: Maybe Text
- createdByAccountId :: Maybe Text
- createdTime :: Maybe POSIX
- description :: Maybe Text
- endpointType :: Maybe ServiceEndpointType
- environmentId :: Maybe Text
- error :: Maybe ErrorResponse
- lambdaEndpoint :: Maybe LambdaEndpointConfig
- lastUpdatedTime :: Maybe POSIX
- name :: Maybe Text
- ownerAccountId :: Maybe Text
- serviceId :: Maybe Text
- state :: Maybe ServiceState
- tags :: Maybe (Sensitive (HashMap Text Text))
- urlEndpoint :: Maybe UrlEndpointConfig
- vpcId :: Maybe Text
- httpStatus :: Int
- newGetServiceResponse :: Int -> GetServiceResponse
- getServiceResponse_applicationId :: Lens' GetServiceResponse (Maybe Text)
- getServiceResponse_arn :: Lens' GetServiceResponse (Maybe Text)
- getServiceResponse_createdByAccountId :: Lens' GetServiceResponse (Maybe Text)
- getServiceResponse_createdTime :: Lens' GetServiceResponse (Maybe UTCTime)
- getServiceResponse_description :: Lens' GetServiceResponse (Maybe Text)
- getServiceResponse_endpointType :: Lens' GetServiceResponse (Maybe ServiceEndpointType)
- getServiceResponse_environmentId :: Lens' GetServiceResponse (Maybe Text)
- getServiceResponse_error :: Lens' GetServiceResponse (Maybe ErrorResponse)
- getServiceResponse_lambdaEndpoint :: Lens' GetServiceResponse (Maybe LambdaEndpointConfig)
- getServiceResponse_lastUpdatedTime :: Lens' GetServiceResponse (Maybe UTCTime)
- getServiceResponse_name :: Lens' GetServiceResponse (Maybe Text)
- getServiceResponse_ownerAccountId :: Lens' GetServiceResponse (Maybe Text)
- getServiceResponse_serviceId :: Lens' GetServiceResponse (Maybe Text)
- getServiceResponse_state :: Lens' GetServiceResponse (Maybe ServiceState)
- getServiceResponse_tags :: Lens' GetServiceResponse (Maybe (HashMap Text Text))
- getServiceResponse_urlEndpoint :: Lens' GetServiceResponse (Maybe UrlEndpointConfig)
- getServiceResponse_vpcId :: Lens' GetServiceResponse (Maybe Text)
- getServiceResponse_httpStatus :: Lens' GetServiceResponse Int
Creating a Request
data GetService Source #
See: newGetService smart constructor.
Constructors
| GetService' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> GetService |
Create a value of GetService 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:GetService', getService_applicationIdentifier - The ID of the application.
$sel:environmentIdentifier:GetService', getService_environmentIdentifier - The ID of the environment.
$sel:serviceIdentifier:GetService', getService_serviceIdentifier - The ID of the service.
Request Lenses
getService_applicationIdentifier :: Lens' GetService Text Source #
The ID of the application.
getService_environmentIdentifier :: Lens' GetService Text Source #
The ID of the environment.
getService_serviceIdentifier :: Lens' GetService Text Source #
The ID of the service.
Destructuring the Response
data GetServiceResponse Source #
See: newGetServiceResponse smart constructor.
Constructors
| GetServiceResponse' | |
Fields
| |
Instances
newGetServiceResponse Source #
Arguments
| :: Int | |
| -> GetServiceResponse |
Create a value of GetServiceResponse 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:
GetServiceResponse, getServiceResponse_applicationId - The ID of the application.
GetServiceResponse, getServiceResponse_arn - The Amazon Resource Name (ARN) of the service.
GetServiceResponse, getServiceResponse_createdByAccountId - The Amazon Web Services account ID of the service creator.
GetServiceResponse, getServiceResponse_createdTime - The timestamp of when the service is created.
GetServiceResponse, getServiceResponse_description - The description of the service.
GetServiceResponse, getServiceResponse_endpointType - The endpoint type of the service.
GetServiceResponse, getServiceResponse_environmentId - The unique identifier of the environment.
GetServiceResponse, getServiceResponse_error - Any error associated with the service resource.
GetServiceResponse, getServiceResponse_lambdaEndpoint - The configuration for the Lambda endpoint type.
The Arn is the Amazon Resource Name (ARN) of the Lambda function associated with this service.
GetServiceResponse, getServiceResponse_lastUpdatedTime - A timestamp that indicates when the service was last updated.
GetServiceResponse, getServiceResponse_name - The name of the service.
GetServiceResponse, getServiceResponse_ownerAccountId - The Amazon Web Services account ID of the service owner.
GetServiceResponse, getServiceResponse_serviceId - The unique identifier of the service.
GetServiceResponse, getServiceResponse_state - The current state of the service.
GetServiceResponse, getServiceResponse_tags - The tags assigned to the service. A tag is a label that you assign to an
Amazon Web Services resource. Each tag consists of a key-value pair.
GetServiceResponse, getServiceResponse_urlEndpoint - The configuration for the URL endpoint type.
The Url isthe URL of the endpoint type.
The HealthUrl is the health check URL of the endpoint type.
GetServiceResponse, getServiceResponse_vpcId - The ID of the virtual private cloud (VPC).
$sel:httpStatus:GetServiceResponse', getServiceResponse_httpStatus - The response's http status code.
Response Lenses
getServiceResponse_applicationId :: Lens' GetServiceResponse (Maybe Text) Source #
The ID of the application.
getServiceResponse_arn :: Lens' GetServiceResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the service.
getServiceResponse_createdByAccountId :: Lens' GetServiceResponse (Maybe Text) Source #
The Amazon Web Services account ID of the service creator.
getServiceResponse_createdTime :: Lens' GetServiceResponse (Maybe UTCTime) Source #
The timestamp of when the service is created.
getServiceResponse_description :: Lens' GetServiceResponse (Maybe Text) Source #
The description of the service.
getServiceResponse_endpointType :: Lens' GetServiceResponse (Maybe ServiceEndpointType) Source #
The endpoint type of the service.
getServiceResponse_environmentId :: Lens' GetServiceResponse (Maybe Text) Source #
The unique identifier of the environment.
getServiceResponse_error :: Lens' GetServiceResponse (Maybe ErrorResponse) Source #
Any error associated with the service resource.
getServiceResponse_lambdaEndpoint :: Lens' GetServiceResponse (Maybe LambdaEndpointConfig) Source #
The configuration for the Lambda endpoint type.
The Arn is the Amazon Resource Name (ARN) of the Lambda function associated with this service.
getServiceResponse_lastUpdatedTime :: Lens' GetServiceResponse (Maybe UTCTime) Source #
A timestamp that indicates when the service was last updated.
getServiceResponse_name :: Lens' GetServiceResponse (Maybe Text) Source #
The name of the service.
getServiceResponse_ownerAccountId :: Lens' GetServiceResponse (Maybe Text) Source #
The Amazon Web Services account ID of the service owner.
getServiceResponse_serviceId :: Lens' GetServiceResponse (Maybe Text) Source #
The unique identifier of the service.
getServiceResponse_state :: Lens' GetServiceResponse (Maybe ServiceState) Source #
The current state of the service.
getServiceResponse_tags :: Lens' GetServiceResponse (Maybe (HashMap Text Text)) Source #
The tags assigned to the service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
getServiceResponse_urlEndpoint :: Lens' GetServiceResponse (Maybe UrlEndpointConfig) Source #
The configuration for the URL endpoint type.
The Url isthe URL of the endpoint type.
The HealthUrl is the health check URL of the endpoint type.
getServiceResponse_vpcId :: Lens' GetServiceResponse (Maybe Text) Source #
The ID of the virtual private cloud (VPC).
getServiceResponse_httpStatus :: Lens' GetServiceResponse Int Source #
The response's http status code.