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 |
Synopsis
- data Component = Component' {
- deploymentStatusMessage :: Maybe (Sensitive Text)
- description :: Maybe (Sensitive Text)
- lastDeploymentAttemptedAt :: Maybe POSIX
- lastDeploymentSucceededAt :: Maybe POSIX
- serviceInstanceName :: Maybe Text
- serviceName :: Maybe Text
- serviceSpec :: Maybe (Sensitive Text)
- arn :: Text
- createdAt :: POSIX
- deploymentStatus :: DeploymentStatus
- environmentName :: Text
- lastModifiedAt :: POSIX
- name :: Text
- newComponent :: Text -> UTCTime -> DeploymentStatus -> Text -> UTCTime -> Text -> Component
- component_deploymentStatusMessage :: Lens' Component (Maybe Text)
- component_description :: Lens' Component (Maybe Text)
- component_lastDeploymentAttemptedAt :: Lens' Component (Maybe UTCTime)
- component_lastDeploymentSucceededAt :: Lens' Component (Maybe UTCTime)
- component_serviceInstanceName :: Lens' Component (Maybe Text)
- component_serviceName :: Lens' Component (Maybe Text)
- component_serviceSpec :: Lens' Component (Maybe Text)
- component_arn :: Lens' Component Text
- component_createdAt :: Lens' Component UTCTime
- component_deploymentStatus :: Lens' Component DeploymentStatus
- component_environmentName :: Lens' Component Text
- component_lastModifiedAt :: Lens' Component UTCTime
- component_name :: Lens' Component Text
Documentation
Detailed data of an Proton component resource.
For more information about components, see Proton components in the Proton User Guide.
See: newComponent
smart constructor.
Component' | |
|
Instances
Create a value of Component
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:deploymentStatusMessage:Component'
, component_deploymentStatusMessage
- The message associated with the component deployment status.
$sel:description:Component'
, component_description
- A description of the component.
$sel:lastDeploymentAttemptedAt:Component'
, component_lastDeploymentAttemptedAt
- The time when a deployment of the component was last attempted.
$sel:lastDeploymentSucceededAt:Component'
, component_lastDeploymentSucceededAt
- The time when the component was last deployed successfully.
$sel:serviceInstanceName:Component'
, component_serviceInstanceName
- The name of the service instance that this component is attached to.
Provided when a component is attached to a service instance.
$sel:serviceName:Component'
, component_serviceName
- The name of the service that serviceInstanceName
is associated with.
Provided when a component is attached to a service instance.
$sel:serviceSpec:Component'
, component_serviceSpec
- The service spec that the component uses to access service inputs.
Provided when a component is attached to a service instance.
$sel:arn:Component'
, component_arn
- The Amazon Resource Name (ARN) of the component.
$sel:createdAt:Component'
, component_createdAt
- The time when the component was created.
$sel:deploymentStatus:Component'
, component_deploymentStatus
- The component deployment status.
$sel:environmentName:Component'
, component_environmentName
- The name of the Proton environment that this component is associated
with.
$sel:lastModifiedAt:Component'
, component_lastModifiedAt
- The time when the component was last modified.
$sel:name:Component'
, component_name
- The name of the component.
component_deploymentStatusMessage :: Lens' Component (Maybe Text) Source #
The message associated with the component deployment status.
component_lastDeploymentAttemptedAt :: Lens' Component (Maybe UTCTime) Source #
The time when a deployment of the component was last attempted.
component_lastDeploymentSucceededAt :: Lens' Component (Maybe UTCTime) Source #
The time when the component was last deployed successfully.
component_serviceInstanceName :: Lens' Component (Maybe Text) Source #
The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.
component_serviceName :: Lens' Component (Maybe Text) Source #
The name of the service that serviceInstanceName
is associated with.
Provided when a component is attached to a service instance.
component_serviceSpec :: Lens' Component (Maybe Text) Source #
The service spec that the component uses to access service inputs. Provided when a component is attached to a service instance.
component_deploymentStatus :: Lens' Component DeploymentStatus Source #
The component deployment status.
component_environmentName :: Lens' Component Text Source #
The name of the Proton environment that this component is associated with.