Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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 #
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 . You must specify eitherProvisionedProductName
orProvisionedProductId
, but not both.uppProvisioningArtifactId
- The provisioning artifact identifier for this product.uppAcceptLanguage
- The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.uppPathId
- 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 ofProvisioningParameter
objects used to update the ProvisionedProduct object.uppProvisionedProductId
- The identifier of the ProvisionedProduct object to update. You must specify eitherProvisionedProductName
orProvisionedProductId
, 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.
Request Lenses
uppProvisionedProductName :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The updated name of the ProvisionedProduct object . You must specify either ProvisionedProductName
or ProvisionedProductId
, but not both.
uppProvisioningArtifactId :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The provisioning artifact identifier for this product.
uppAcceptLanguage :: Lens' UpdateProvisionedProduct (Maybe Text) Source #
The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.
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. You must 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 #
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 theUpdateProvisionedProduct
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
- -- | The response status code.
data UpdateProvisionedProductResponse Source #
See: updateProvisionedProductResponse
smart constructor.
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.