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 |
Synopsis
- data Service = Service' {
- encryptionConfiguration :: Maybe EncryptionConfiguration
- healthCheckConfiguration :: Maybe HealthCheckConfiguration
- deletedAt :: Maybe POSIX
- serviceName :: Text
- serviceId :: Text
- serviceArn :: Text
- serviceUrl :: Text
- createdAt :: POSIX
- updatedAt :: POSIX
- status :: ServiceStatus
- sourceConfiguration :: SourceConfiguration
- instanceConfiguration :: InstanceConfiguration
- autoScalingConfigurationSummary :: AutoScalingConfigurationSummary
- newService :: Text -> Text -> Text -> Text -> UTCTime -> UTCTime -> ServiceStatus -> SourceConfiguration -> InstanceConfiguration -> AutoScalingConfigurationSummary -> Service
- service_encryptionConfiguration :: Lens' Service (Maybe EncryptionConfiguration)
- service_healthCheckConfiguration :: Lens' Service (Maybe HealthCheckConfiguration)
- service_deletedAt :: Lens' Service (Maybe UTCTime)
- service_serviceName :: Lens' Service Text
- service_serviceId :: Lens' Service Text
- service_serviceArn :: Lens' Service Text
- service_serviceUrl :: Lens' Service Text
- service_createdAt :: Lens' Service UTCTime
- service_updatedAt :: Lens' Service UTCTime
- service_status :: Lens' Service ServiceStatus
- service_sourceConfiguration :: Lens' Service SourceConfiguration
- service_instanceConfiguration :: Lens' Service InstanceConfiguration
- service_autoScalingConfigurationSummary :: Lens' Service AutoScalingConfigurationSummary
Documentation
Describes an App Runner service. It can describe a service in any state, including deleted services.
This type contains the full information about a service, including configuration details. It's returned by the CreateService, DescribeService, and DeleteService actions. A subset of this information is returned by the ListServices action using the ServiceSummary type.
See: newService
smart constructor.
Service' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> UTCTime | |
-> ServiceStatus | |
-> SourceConfiguration | |
-> InstanceConfiguration | |
-> AutoScalingConfigurationSummary | |
-> Service |
Create a value of Service
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:encryptionConfiguration:Service'
, service_encryptionConfiguration
- The encryption key that App Runner uses to encrypt the service logs and
the copy of the source repository that App Runner maintains for the
service. It can be either a customer-provided encryption key or an
Amazon Web Services managed CMK.
$sel:healthCheckConfiguration:Service'
, service_healthCheckConfiguration
- The settings for the health check that App Runner performs to monitor
the health of this service.
$sel:deletedAt:Service'
, service_deletedAt
- The time when the App Runner service was deleted. It's in the Unix time
stamp format.
$sel:serviceName:Service'
, service_serviceName
- The customer-provided service name.
$sel:serviceId:Service'
, service_serviceId
- An ID that App Runner generated for this service. It's unique within
the Amazon Web Services Region.
$sel:serviceArn:Service'
, service_serviceArn
- The Amazon Resource Name (ARN) of this service.
$sel:serviceUrl:Service'
, service_serviceUrl
- A subdomain URL that App Runner generated for this service. You can use
this URL to access your service web application.
$sel:createdAt:Service'
, service_createdAt
- The time when the App Runner service was created. It's in the Unix time
stamp format.
$sel:updatedAt:Service'
, service_updatedAt
- The time when the App Runner service was last updated at. It's in the
Unix time stamp format.
$sel:status:Service'
, service_status
- The current state of the App Runner service. These particular values
mean the following.
CREATE_FAILED
– The service failed to create. To troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and retry the call to create the service.The failed service isn't usable, and still counts towards your service quota. When you're done analyzing the failure, delete the service.
DELETE_FAILED
– The service failed to delete and can't be successfully recovered. Retry the service deletion call to ensure that all related resources are removed.
$sel:sourceConfiguration:Service'
, service_sourceConfiguration
- The source deployed to the App Runner service. It can be a code or an
image repository.
$sel:instanceConfiguration:Service'
, service_instanceConfiguration
- The runtime configuration of instances (scaling units) of this service.
$sel:autoScalingConfigurationSummary:Service'
, service_autoScalingConfigurationSummary
- Summary information for the App Runner automatic scaling configuration
resource that's associated with this service.
service_encryptionConfiguration :: Lens' Service (Maybe EncryptionConfiguration) Source #
The encryption key that App Runner uses to encrypt the service logs and the copy of the source repository that App Runner maintains for the service. It can be either a customer-provided encryption key or an Amazon Web Services managed CMK.
service_healthCheckConfiguration :: Lens' Service (Maybe HealthCheckConfiguration) Source #
The settings for the health check that App Runner performs to monitor the health of this service.
service_deletedAt :: Lens' Service (Maybe UTCTime) Source #
The time when the App Runner service was deleted. It's in the Unix time stamp format.
service_serviceId :: Lens' Service Text Source #
An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.
service_serviceUrl :: Lens' Service Text Source #
A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
service_createdAt :: Lens' Service UTCTime Source #
The time when the App Runner service was created. It's in the Unix time stamp format.
service_updatedAt :: Lens' Service UTCTime Source #
The time when the App Runner service was last updated at. It's in the Unix time stamp format.
service_status :: Lens' Service ServiceStatus Source #
The current state of the App Runner service. These particular values mean the following.
CREATE_FAILED
– The service failed to create. To troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and retry the call to create the service.The failed service isn't usable, and still counts towards your service quota. When you're done analyzing the failure, delete the service.
DELETE_FAILED
– The service failed to delete and can't be successfully recovered. Retry the service deletion call to ensure that all related resources are removed.
service_sourceConfiguration :: Lens' Service SourceConfiguration Source #
The source deployed to the App Runner service. It can be a code or an image repository.
service_instanceConfiguration :: Lens' Service InstanceConfiguration Source #
The runtime configuration of instances (scaling units) of this service.
service_autoScalingConfigurationSummary :: Lens' Service AutoScalingConfigurationSummary Source #
Summary information for the App Runner automatic scaling configuration resource that's associated with this service.