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 |
Updates the specified provisioning artifact (also known as a version) for the specified product.
You cannot update a provisioning artifact for a product that was shared with you.
Synopsis
- data UpdateProvisioningArtifact = UpdateProvisioningArtifact' {}
- newUpdateProvisioningArtifact :: Text -> Text -> UpdateProvisioningArtifact
- updateProvisioningArtifact_acceptLanguage :: Lens' UpdateProvisioningArtifact (Maybe Text)
- updateProvisioningArtifact_active :: Lens' UpdateProvisioningArtifact (Maybe Bool)
- updateProvisioningArtifact_description :: Lens' UpdateProvisioningArtifact (Maybe Text)
- updateProvisioningArtifact_guidance :: Lens' UpdateProvisioningArtifact (Maybe ProvisioningArtifactGuidance)
- updateProvisioningArtifact_name :: Lens' UpdateProvisioningArtifact (Maybe Text)
- updateProvisioningArtifact_productId :: Lens' UpdateProvisioningArtifact Text
- updateProvisioningArtifact_provisioningArtifactId :: Lens' UpdateProvisioningArtifact Text
- data UpdateProvisioningArtifactResponse = UpdateProvisioningArtifactResponse' {}
- newUpdateProvisioningArtifactResponse :: Int -> UpdateProvisioningArtifactResponse
- updateProvisioningArtifactResponse_info :: Lens' UpdateProvisioningArtifactResponse (Maybe (HashMap Text Text))
- updateProvisioningArtifactResponse_provisioningArtifactDetail :: Lens' UpdateProvisioningArtifactResponse (Maybe ProvisioningArtifactDetail)
- updateProvisioningArtifactResponse_status :: Lens' UpdateProvisioningArtifactResponse (Maybe RequestStatus)
- updateProvisioningArtifactResponse_httpStatus :: Lens' UpdateProvisioningArtifactResponse Int
Creating a Request
data UpdateProvisioningArtifact Source #
See: newUpdateProvisioningArtifact
smart constructor.
UpdateProvisioningArtifact' | |
|
Instances
newUpdateProvisioningArtifact Source #
Create a value of UpdateProvisioningArtifact
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:acceptLanguage:UpdateProvisioningArtifact'
, updateProvisioningArtifact_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
UpdateProvisioningArtifact
, updateProvisioningArtifact_active
- Indicates whether the product version is active.
Inactive provisioning artifacts are invisible to end users. End users cannot launch or update a provisioned product from an inactive provisioning artifact.
UpdateProvisioningArtifact
, updateProvisioningArtifact_description
- The updated description of the provisioning artifact.
UpdateProvisioningArtifact
, updateProvisioningArtifact_guidance
- Information set by the administrator to provide guidance to end users
about which provisioning artifacts to use.
The DEFAULT
value indicates that the product version is active.
The administrator can set the guidance to DEPRECATED
to inform users
that the product version is deprecated. Users are able to make updates
to a provisioned product of a deprecated version but cannot launch new
provisioned products using a deprecated version.
UpdateProvisioningArtifact
, updateProvisioningArtifact_name
- The updated name of the provisioning artifact.
UpdateProvisioningArtifact
, updateProvisioningArtifact_productId
- The product identifier.
UpdateProvisioningArtifact
, updateProvisioningArtifact_provisioningArtifactId
- The identifier of the provisioning artifact.
Request Lenses
updateProvisioningArtifact_acceptLanguage :: Lens' UpdateProvisioningArtifact (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
updateProvisioningArtifact_active :: Lens' UpdateProvisioningArtifact (Maybe Bool) Source #
Indicates whether the product version is active.
Inactive provisioning artifacts are invisible to end users. End users cannot launch or update a provisioned product from an inactive provisioning artifact.
updateProvisioningArtifact_description :: Lens' UpdateProvisioningArtifact (Maybe Text) Source #
The updated description of the provisioning artifact.
updateProvisioningArtifact_guidance :: Lens' UpdateProvisioningArtifact (Maybe ProvisioningArtifactGuidance) Source #
Information set by the administrator to provide guidance to end users about which provisioning artifacts to use.
The DEFAULT
value indicates that the product version is active.
The administrator can set the guidance to DEPRECATED
to inform users
that the product version is deprecated. Users are able to make updates
to a provisioned product of a deprecated version but cannot launch new
provisioned products using a deprecated version.
updateProvisioningArtifact_name :: Lens' UpdateProvisioningArtifact (Maybe Text) Source #
The updated name of the provisioning artifact.
updateProvisioningArtifact_productId :: Lens' UpdateProvisioningArtifact Text Source #
The product identifier.
updateProvisioningArtifact_provisioningArtifactId :: Lens' UpdateProvisioningArtifact Text Source #
The identifier of the provisioning artifact.
Destructuring the Response
data UpdateProvisioningArtifactResponse Source #
See: newUpdateProvisioningArtifactResponse
smart constructor.
UpdateProvisioningArtifactResponse' | |
|
Instances
newUpdateProvisioningArtifactResponse Source #
Create a value of UpdateProvisioningArtifactResponse
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:
UpdateProvisioningArtifactResponse
, updateProvisioningArtifactResponse_info
- The URL of the CloudFormation template in Amazon S3 or GitHub in JSON
format.
$sel:provisioningArtifactDetail:UpdateProvisioningArtifactResponse'
, updateProvisioningArtifactResponse_provisioningArtifactDetail
- Information about the provisioning artifact.
UpdateProvisioningArtifactResponse
, updateProvisioningArtifactResponse_status
- The status of the current request.
$sel:httpStatus:UpdateProvisioningArtifactResponse'
, updateProvisioningArtifactResponse_httpStatus
- The response's http status code.
Response Lenses
updateProvisioningArtifactResponse_info :: Lens' UpdateProvisioningArtifactResponse (Maybe (HashMap Text Text)) Source #
The URL of the CloudFormation template in Amazon S3 or GitHub in JSON format.
updateProvisioningArtifactResponse_provisioningArtifactDetail :: Lens' UpdateProvisioningArtifactResponse (Maybe ProvisioningArtifactDetail) Source #
Information about the provisioning artifact.
updateProvisioningArtifactResponse_status :: Lens' UpdateProvisioningArtifactResponse (Maybe RequestStatus) Source #
The status of the current request.
updateProvisioningArtifactResponse_httpStatus :: Lens' UpdateProvisioningArtifactResponse Int Source #
The response's http status code.