Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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
.
- updateProvisionedProduct :: Text -> UpdateProvisionedProduct
- data UpdateProvisionedProduct
- uppProvisionedProductName :: Lens' UpdateProvisionedProduct (Maybe Text)
- uppProvisioningArtifactId :: Lens' UpdateProvisionedProduct (Maybe Text)
- uppAcceptLanguage :: Lens' UpdateProvisionedProduct (Maybe Text)
- uppPathId :: Lens' UpdateProvisionedProduct (Maybe Text)
- uppProvisioningParameters :: Lens' UpdateProvisionedProduct [UpdateProvisioningParameter]
- uppProvisionedProductId :: Lens' UpdateProvisionedProduct (Maybe Text)
- uppProductId :: Lens' UpdateProvisionedProduct (Maybe Text)
- uppUpdateToken :: Lens' UpdateProvisionedProduct Text
- updateProvisionedProductResponse :: Int -> UpdateProvisionedProductResponse
- data UpdateProvisionedProductResponse
- upprsRecordDetail :: Lens' UpdateProvisionedProductResponse (Maybe RecordDetail)
- upprsResponseStatus :: Lens' UpdateProvisionedProductResponse Int
Creating a Request
updateProvisionedProduct Source #
Creates a value of UpdateProvisionedProduct
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uppProvisionedProductName
- The updated name of the provisioned product. You cannot specify bothProvisionedProductName
andProvisionedProductId
.uppProvisioningArtifactId
- The identifier of the provisioning artifact.uppAcceptLanguage
- The language code. *en
- English (default) *jp
- Japanese *zh
- ChineseuppPathId
- The new path identifier. This value is optional if the product has a default path, and required if the product has more than one path.uppProvisioningParameters
- The new parameters.uppProvisionedProductId
- The identifier of the provisioned product. You cannot specify bothProvisionedProductName
andProvisionedProductId
.uppProductId
- The identifier of the provisioned product.uppUpdateToken
- The idempotency token that uniquely identifies the provisioning update request.
data UpdateProvisionedProduct Source #
See: updateProvisionedProduct
smart constructor.
Request Lenses
uppProvisionedProductName :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The updated name of the provisioned product. You cannot specify both ProvisionedProductName
and ProvisionedProductId
.
uppProvisioningArtifactId :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The identifier of the provisioning artifact.
uppAcceptLanguage :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The language code. * en
- English (default) * jp
- Japanese * zh
- Chinese
uppPathId :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The new path identifier. This value is optional if the product has a default path, and required if the product has more than one path.
uppProvisioningParameters :: Lens' UpdateProvisionedProduct [UpdateProvisioningParameter] Source #
The new parameters.
uppProvisionedProductId :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The identifier of the provisioned product. You cannot specify both ProvisionedProductName
and ProvisionedProductId
.
uppProductId :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The identifier of the provisioned product.
uppUpdateToken :: Lens' UpdateProvisionedProduct Text Source #
The idempotency token that uniquely identifies the provisioning update request.
Destructuring the Response
updateProvisionedProductResponse Source #
Creates a value of UpdateProvisionedProductResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
upprsRecordDetail
- Information about the result of the request.upprsResponseStatus
- -- | The response status code.
data UpdateProvisionedProductResponse Source #
See: updateProvisionedProductResponse
smart constructor.
Response Lenses
upprsRecordDetail :: Lens' UpdateProvisionedProductResponse (Maybe RecordDetail) Source #
Information about the result of the request.
upprsResponseStatus :: Lens' UpdateProvisionedProductResponse Int Source #
- - | The response status code.