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 |
Requests updates to the configuration of the specified provisioned product.
If there are tags associated with the object, they cannot be updated or added. Depending on the specific updates requested, this operation can update with no interruption, with some interruption, or replace the provisioned product entirely.
You can check the status of this request using DescribeRecord.
Synopsis
- data UpdateProvisionedProduct = UpdateProvisionedProduct' {
- productName :: Maybe Text
- provisionedProductName :: Maybe Text
- provisioningArtifactId :: Maybe Text
- provisioningArtifactName :: Maybe Text
- pathName :: Maybe Text
- acceptLanguage :: Maybe Text
- pathId :: Maybe Text
- provisioningParameters :: Maybe [UpdateProvisioningParameter]
- provisionedProductId :: Maybe Text
- productId :: Maybe Text
- tags :: Maybe [Tag]
- provisioningPreferences :: Maybe UpdateProvisioningPreferences
- updateToken :: Text
- newUpdateProvisionedProduct :: Text -> UpdateProvisionedProduct
- updateProvisionedProduct_productName :: Lens' UpdateProvisionedProduct (Maybe Text)
- updateProvisionedProduct_provisionedProductName :: Lens' UpdateProvisionedProduct (Maybe Text)
- updateProvisionedProduct_provisioningArtifactId :: Lens' UpdateProvisionedProduct (Maybe Text)
- updateProvisionedProduct_provisioningArtifactName :: Lens' UpdateProvisionedProduct (Maybe Text)
- updateProvisionedProduct_pathName :: Lens' UpdateProvisionedProduct (Maybe Text)
- updateProvisionedProduct_acceptLanguage :: Lens' UpdateProvisionedProduct (Maybe Text)
- updateProvisionedProduct_pathId :: Lens' UpdateProvisionedProduct (Maybe Text)
- updateProvisionedProduct_provisioningParameters :: Lens' UpdateProvisionedProduct (Maybe [UpdateProvisioningParameter])
- updateProvisionedProduct_provisionedProductId :: Lens' UpdateProvisionedProduct (Maybe Text)
- updateProvisionedProduct_productId :: Lens' UpdateProvisionedProduct (Maybe Text)
- updateProvisionedProduct_tags :: Lens' UpdateProvisionedProduct (Maybe [Tag])
- updateProvisionedProduct_provisioningPreferences :: Lens' UpdateProvisionedProduct (Maybe UpdateProvisioningPreferences)
- updateProvisionedProduct_updateToken :: Lens' UpdateProvisionedProduct Text
- data UpdateProvisionedProductResponse = UpdateProvisionedProductResponse' {}
- newUpdateProvisionedProductResponse :: Int -> UpdateProvisionedProductResponse
- updateProvisionedProductResponse_recordDetail :: Lens' UpdateProvisionedProductResponse (Maybe RecordDetail)
- updateProvisionedProductResponse_httpStatus :: Lens' UpdateProvisionedProductResponse Int
Creating a Request
data UpdateProvisionedProduct Source #
See: newUpdateProvisionedProduct
smart constructor.
UpdateProvisionedProduct' | |
|
Instances
newUpdateProvisionedProduct Source #
Create a value of UpdateProvisionedProduct
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:productName:UpdateProvisionedProduct'
, updateProvisionedProduct_productName
- The name of the product. You must provide the name or ID, but not both.
$sel:provisionedProductName:UpdateProvisionedProduct'
, updateProvisionedProduct_provisionedProductName
- The name of the provisioned product. You cannot specify both
ProvisionedProductName
and ProvisionedProductId
.
$sel:provisioningArtifactId:UpdateProvisionedProduct'
, updateProvisionedProduct_provisioningArtifactId
- The identifier of the provisioning artifact.
$sel:provisioningArtifactName:UpdateProvisionedProduct'
, updateProvisionedProduct_provisioningArtifactName
- The name of the provisioning artifact. You must provide the name or ID,
but not both.
$sel:pathName:UpdateProvisionedProduct'
, updateProvisionedProduct_pathName
- The name of the path. You must provide the name or ID, but not both.
$sel:acceptLanguage:UpdateProvisionedProduct'
, updateProvisionedProduct_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:pathId:UpdateProvisionedProduct'
, updateProvisionedProduct_pathId
- The path identifier. This value is optional if the product has a default
path, and required if the product has more than one path. You must
provide the name or ID, but not both.
$sel:provisioningParameters:UpdateProvisionedProduct'
, updateProvisionedProduct_provisioningParameters
- The new parameters.
$sel:provisionedProductId:UpdateProvisionedProduct'
, updateProvisionedProduct_provisionedProductId
- The identifier of the provisioned product. You must provide the name or
ID, but not both.
$sel:productId:UpdateProvisionedProduct'
, updateProvisionedProduct_productId
- The identifier of the product. You must provide the name or ID, but not
both.
$sel:tags:UpdateProvisionedProduct'
, updateProvisionedProduct_tags
- One or more tags. Requires the product to have RESOURCE_UPDATE
constraint with TagUpdatesOnProvisionedProduct
set to ALLOWED
to
allow tag updates.
$sel:provisioningPreferences:UpdateProvisionedProduct'
, updateProvisionedProduct_provisioningPreferences
- An object that contains information about the provisioning preferences
for a stack set.
$sel:updateToken:UpdateProvisionedProduct'
, updateProvisionedProduct_updateToken
- The idempotency token that uniquely identifies the provisioning update
request.
Request Lenses
updateProvisionedProduct_productName :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The name of the product. You must provide the name or ID, but not both.
updateProvisionedProduct_provisionedProductName :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The name of the provisioned product. You cannot specify both
ProvisionedProductName
and ProvisionedProductId
.
updateProvisionedProduct_provisioningArtifactId :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The identifier of the provisioning artifact.
updateProvisionedProduct_provisioningArtifactName :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The name of the provisioning artifact. You must provide the name or ID, but not both.
updateProvisionedProduct_pathName :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The name of the path. You must provide the name or ID, but not both.
updateProvisionedProduct_acceptLanguage :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
updateProvisionedProduct_pathId :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The path identifier. This value is optional if the product has a default path, and required if the product has more than one path. You must provide the name or ID, but not both.
updateProvisionedProduct_provisioningParameters :: Lens' UpdateProvisionedProduct (Maybe [UpdateProvisioningParameter]) Source #
The new parameters.
updateProvisionedProduct_provisionedProductId :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The identifier of the provisioned product. You must provide the name or ID, but not both.
updateProvisionedProduct_productId :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The identifier of the product. You must provide the name or ID, but not both.
updateProvisionedProduct_tags :: Lens' UpdateProvisionedProduct (Maybe [Tag]) Source #
One or more tags. Requires the product to have RESOURCE_UPDATE
constraint with TagUpdatesOnProvisionedProduct
set to ALLOWED
to
allow tag updates.
updateProvisionedProduct_provisioningPreferences :: Lens' UpdateProvisionedProduct (Maybe UpdateProvisioningPreferences) Source #
An object that contains information about the provisioning preferences for a stack set.
updateProvisionedProduct_updateToken :: Lens' UpdateProvisionedProduct Text Source #
The idempotency token that uniquely identifies the provisioning update request.
Destructuring the Response
data UpdateProvisionedProductResponse Source #
See: newUpdateProvisionedProductResponse
smart constructor.
UpdateProvisionedProductResponse' | |
|
Instances
Eq UpdateProvisionedProductResponse Source # | |
Read UpdateProvisionedProductResponse Source # | |
Show UpdateProvisionedProductResponse Source # | |
Generic UpdateProvisionedProductResponse Source # | |
NFData UpdateProvisionedProductResponse Source # | |
Defined in Amazonka.ServiceCatalog.UpdateProvisionedProduct rnf :: UpdateProvisionedProductResponse -> () # | |
type Rep UpdateProvisionedProductResponse Source # | |
Defined in Amazonka.ServiceCatalog.UpdateProvisionedProduct type Rep UpdateProvisionedProductResponse = D1 ('MetaData "UpdateProvisionedProductResponse" "Amazonka.ServiceCatalog.UpdateProvisionedProduct" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "UpdateProvisionedProductResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "recordDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecordDetail)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateProvisionedProductResponse Source #
Create a value of UpdateProvisionedProductResponse
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:recordDetail:UpdateProvisionedProductResponse'
, updateProvisionedProductResponse_recordDetail
- Information about the result of the request.
$sel:httpStatus:UpdateProvisionedProductResponse'
, updateProvisionedProductResponse_httpStatus
- The response's http status code.
Response Lenses
updateProvisionedProductResponse_recordDetail :: Lens' UpdateProvisionedProductResponse (Maybe RecordDetail) Source #
Information about the result of the request.
updateProvisionedProductResponse_httpStatus :: Lens' UpdateProvisionedProductResponse Int Source #
The response's http status code.