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' {
- branchName :: Maybe Text
- statusMessage :: Maybe (Sensitive Text)
- repositoryId :: Maybe Text
- pipeline :: Maybe ServicePipeline
- description :: Maybe (Sensitive Text)
- repositoryConnectionArn :: Maybe Text
- arn :: Text
- createdAt :: POSIX
- lastModifiedAt :: POSIX
- name :: Text
- spec :: Sensitive Text
- status :: ServiceStatus
- templateName :: Text
- newService :: Text -> UTCTime -> UTCTime -> Text -> Text -> ServiceStatus -> Text -> Service
- service_branchName :: Lens' Service (Maybe Text)
- service_statusMessage :: Lens' Service (Maybe Text)
- service_repositoryId :: Lens' Service (Maybe Text)
- service_pipeline :: Lens' Service (Maybe ServicePipeline)
- service_description :: Lens' Service (Maybe Text)
- service_repositoryConnectionArn :: Lens' Service (Maybe Text)
- service_arn :: Lens' Service Text
- service_createdAt :: Lens' Service UTCTime
- service_lastModifiedAt :: Lens' Service UTCTime
- service_name :: Lens' Service Text
- service_spec :: Lens' Service Text
- service_status :: Lens' Service ServiceStatus
- service_templateName :: Lens' Service Text
Documentation
The service detail data.
See: newService
smart constructor.
Service' | |
|
Instances
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:branchName:Service'
, service_branchName
- The name of the code repository branch that holds the code that's
deployed in AWS Proton.
$sel:statusMessage:Service'
, service_statusMessage
- A service status message.
$sel:repositoryId:Service'
, service_repositoryId
- The ID of the code repository.
$sel:pipeline:Service'
, service_pipeline
- The service pipeline detail data.
$sel:description:Service'
, service_description
- A description of a service.
$sel:repositoryConnectionArn:Service'
, service_repositoryConnectionArn
- The Amazon Resource Name (ARN) of the repository connection. For more
information, see
Set up a repository connection
in the AWS Proton Administrator Guide and
Setting up with AWS Proton
in the AWS Proton User Guide.
$sel:arn:Service'
, service_arn
- The Amazon Resource Name (ARN) of the service.
$sel:createdAt:Service'
, service_createdAt
- The time when the service was created.
$sel:lastModifiedAt:Service'
, service_lastModifiedAt
- The time when the service was last modified.
$sel:name:Service'
, service_name
- The name of the service.
$sel:spec:Service'
, service_spec
- The formatted specification that defines the service.
$sel:status:Service'
, service_status
- The status of the service.
$sel:templateName:Service'
, service_templateName
- The name of the service template.
service_branchName :: Lens' Service (Maybe Text) Source #
The name of the code repository branch that holds the code that's deployed in AWS Proton.
service_pipeline :: Lens' Service (Maybe ServicePipeline) Source #
The service pipeline detail data.
service_repositoryConnectionArn :: Lens' Service (Maybe Text) Source #
The Amazon Resource Name (ARN) of the repository connection. For more information, see Set up a repository connection in the AWS Proton Administrator Guide and Setting up with AWS Proton in the AWS Proton User Guide.
service_lastModifiedAt :: Lens' Service UTCTime Source #
The time when the service was last modified.
service_status :: Lens' Service ServiceStatus Source #
The status of the service.