| 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.Proton.Types.Service
Description
Synopsis
- data Service = Service' {
- branchName :: Maybe Text
- description :: Maybe (Sensitive Text)
- pipeline :: Maybe ServicePipeline
- repositoryConnectionArn :: Maybe Text
- repositoryId :: Maybe Text
- statusMessage :: Maybe (Sensitive 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_description :: Lens' Service (Maybe Text)
- service_pipeline :: Lens' Service (Maybe ServicePipeline)
- service_repositoryConnectionArn :: Lens' Service (Maybe Text)
- service_repositoryId :: Lens' Service (Maybe Text)
- service_statusMessage :: 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
Detailed data of an Proton service resource.
See: newService smart constructor.
Constructors
| Service' | |
Fields
| |
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 Proton.
$sel:description:Service', service_description - A description of the service.
$sel:pipeline:Service', service_pipeline - The service pipeline detail data.
$sel:repositoryConnectionArn:Service', service_repositoryConnectionArn - The Amazon Resource Name (ARN) of the repository connection. For more
information, see
Setting up an AWS CodeStar connection
in the Proton User Guide.
$sel:repositoryId:Service', service_repositoryId - The ID of the source code repository.
$sel:statusMessage:Service', service_statusMessage - A service status message.
Service, service_arn - The Amazon Resource Name (ARN) of the service.
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.
Service, service_spec - The formatted specification that defines the service.
$sel:status:Service', service_status - The status of the service.
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 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 Setting up an AWS CodeStar connection in the 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.