| Copyright | (c) 2013-2017 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 |
Network.AWS.ServiceCatalog.UpdateProvisionedProduct
Description
Requests updates to the configuration of an existing ProvisionedProduct object. If there are tags associated with the object, they cannot be updated or added with this operation. Depending on the specific updates requested, this operation may update with no interruption, with some interruption, or replace the ProvisionedProduct object entirely.
You can check the status of this request using the DescribeRecord operation.
- 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 #
Arguments
| :: Text | |
| -> UpdateProvisionedProduct |
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 ProvisionedProduct object. Specify eitherProvisionedProductNameorProvisionedProductId, but not both.uppProvisioningArtifactId- The provisioning artifact identifier for this product. This is sometimes referred to as the product version.uppAcceptLanguage- The language code. *en- English (default) *jp- Japanese *zh- ChineseuppPathId- The identifier of the path to use in the updated ProvisionedProduct object. This value is optional if the product has a default path, and is required if there is more than one path for the specified product.uppProvisioningParameters- A list ofProvisioningParameterobjects used to update the ProvisionedProduct object.uppProvisionedProductId- The identifier of the ProvisionedProduct object to update. Specify eitherProvisionedProductNameorProvisionedProductId, but not both.uppProductId- The identifier of the ProvisionedProduct object.uppUpdateToken- The idempotency token that uniquely identifies the provisioning update request.
data UpdateProvisionedProduct Source #
See: updateProvisionedProduct smart constructor.
Instances
Request Lenses
uppProvisionedProductName :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The updated name of the ProvisionedProduct object. Specify either ProvisionedProductName or ProvisionedProductId , but not both.
uppProvisioningArtifactId :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The provisioning artifact identifier for this product. This is sometimes referred to as the product version.
uppAcceptLanguage :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The language code. * en - English (default) * jp - Japanese * zh - Chinese
uppPathId :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The identifier of the path to use in the updated ProvisionedProduct object. This value is optional if the product has a default path, and is required if there is more than one path for the specified product.
uppProvisioningParameters :: Lens' UpdateProvisionedProduct [UpdateProvisioningParameter] Source #
A list of ProvisioningParameter objects used to update the ProvisionedProduct object.
uppProvisionedProductId :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The identifier of the ProvisionedProduct object to update. Specify either ProvisionedProductName or ProvisionedProductId , but not both.
uppProductId :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The identifier of the ProvisionedProduct object.
uppUpdateToken :: Lens' UpdateProvisionedProduct Text Source #
The idempotency token that uniquely identifies the provisioning update request.
Destructuring the Response
updateProvisionedProductResponse Source #
Arguments
| :: Int | |
| -> UpdateProvisionedProductResponse |
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- The detailed result of theUpdateProvisionedProductrequest, containing the inputs made to that request, the current state of the request, a pointer to the ProvisionedProduct object that the request is modifying, and a list of any errors that the request encountered.upprsResponseStatus- -- | The response status code.
data UpdateProvisionedProductResponse Source #
See: updateProvisionedProductResponse smart constructor.
Instances
Response Lenses
upprsRecordDetail :: Lens' UpdateProvisionedProductResponse (Maybe RecordDetail) Source #
The detailed result of the UpdateProvisionedProduct request, containing the inputs made to that request, the current state of the request, a pointer to the ProvisionedProduct object that the request is modifying, and a list of any errors that the request encountered.
upprsResponseStatus :: Lens' UpdateProvisionedProductResponse Int Source #
- - | The response status code.