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 |
Requests updates to the properties of the specified provisioned product.
Synopsis
- data UpdateProvisionedProductProperties = UpdateProvisionedProductProperties' {}
- newUpdateProvisionedProductProperties :: Text -> Text -> UpdateProvisionedProductProperties
- updateProvisionedProductProperties_acceptLanguage :: Lens' UpdateProvisionedProductProperties (Maybe Text)
- updateProvisionedProductProperties_provisionedProductId :: Lens' UpdateProvisionedProductProperties Text
- updateProvisionedProductProperties_provisionedProductProperties :: Lens' UpdateProvisionedProductProperties (HashMap PropertyKey Text)
- updateProvisionedProductProperties_idempotencyToken :: Lens' UpdateProvisionedProductProperties Text
- data UpdateProvisionedProductPropertiesResponse = UpdateProvisionedProductPropertiesResponse' {}
- newUpdateProvisionedProductPropertiesResponse :: Int -> UpdateProvisionedProductPropertiesResponse
- updateProvisionedProductPropertiesResponse_provisionedProductId :: Lens' UpdateProvisionedProductPropertiesResponse (Maybe Text)
- updateProvisionedProductPropertiesResponse_provisionedProductProperties :: Lens' UpdateProvisionedProductPropertiesResponse (Maybe (HashMap PropertyKey Text))
- updateProvisionedProductPropertiesResponse_recordId :: Lens' UpdateProvisionedProductPropertiesResponse (Maybe Text)
- updateProvisionedProductPropertiesResponse_status :: Lens' UpdateProvisionedProductPropertiesResponse (Maybe RecordStatus)
- updateProvisionedProductPropertiesResponse_httpStatus :: Lens' UpdateProvisionedProductPropertiesResponse Int
Creating a Request
data UpdateProvisionedProductProperties Source #
See: newUpdateProvisionedProductProperties
smart constructor.
UpdateProvisionedProductProperties' | |
|
Instances
newUpdateProvisionedProductProperties Source #
Create a value of UpdateProvisionedProductProperties
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:UpdateProvisionedProductProperties'
, updateProvisionedProductProperties_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
UpdateProvisionedProductProperties
, updateProvisionedProductProperties_provisionedProductId
- The identifier of the provisioned product.
UpdateProvisionedProductProperties
, updateProvisionedProductProperties_provisionedProductProperties
- A map that contains the provisioned product properties to be updated.
The LAUNCH_ROLE
key accepts role ARNs. This key allows an
administrator to call UpdateProvisionedProductProperties
to update the
launch role that is associated with a provisioned product. This role is
used when an end user calls a provisioning operation such as
UpdateProvisionedProduct
, TerminateProvisionedProduct
, or
ExecuteProvisionedProductServiceAction
. Only a role ARN is valid. A
user ARN is invalid.
The OWNER
key accepts IAM user ARNs, IAM role ARNs, and STS
assumed-role ARNs. The owner is the user that has permission to see,
update, terminate, and execute service actions in the provisioned
product.
The administrator can change the owner of a provisioned product to
another IAM or STS entity within the same account. Both end user owners
and administrators can see ownership history of the provisioned product
using the ListRecordHistory
API. The new owner can describe all past
records for the provisioned product using the DescribeRecord
API. The
previous owner can no longer use DescribeRecord
, but can still see the
product's history from when he was an owner using ListRecordHistory
.
If a provisioned product ownership is assigned to an end user, they can see and perform any action through the API or Service Catalog console such as update, terminate, and execute service actions. If an end user provisions a product and the owner is updated to someone else, they will no longer be able to see or perform any actions through API or the Service Catalog console on that provisioned product.
UpdateProvisionedProductProperties
, updateProvisionedProductProperties_idempotencyToken
- The idempotency token that uniquely identifies the provisioning product
update request.
Request Lenses
updateProvisionedProductProperties_acceptLanguage :: Lens' UpdateProvisionedProductProperties (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
updateProvisionedProductProperties_provisionedProductId :: Lens' UpdateProvisionedProductProperties Text Source #
The identifier of the provisioned product.
updateProvisionedProductProperties_provisionedProductProperties :: Lens' UpdateProvisionedProductProperties (HashMap PropertyKey Text) Source #
A map that contains the provisioned product properties to be updated.
The LAUNCH_ROLE
key accepts role ARNs. This key allows an
administrator to call UpdateProvisionedProductProperties
to update the
launch role that is associated with a provisioned product. This role is
used when an end user calls a provisioning operation such as
UpdateProvisionedProduct
, TerminateProvisionedProduct
, or
ExecuteProvisionedProductServiceAction
. Only a role ARN is valid. A
user ARN is invalid.
The OWNER
key accepts IAM user ARNs, IAM role ARNs, and STS
assumed-role ARNs. The owner is the user that has permission to see,
update, terminate, and execute service actions in the provisioned
product.
The administrator can change the owner of a provisioned product to
another IAM or STS entity within the same account. Both end user owners
and administrators can see ownership history of the provisioned product
using the ListRecordHistory
API. The new owner can describe all past
records for the provisioned product using the DescribeRecord
API. The
previous owner can no longer use DescribeRecord
, but can still see the
product's history from when he was an owner using ListRecordHistory
.
If a provisioned product ownership is assigned to an end user, they can see and perform any action through the API or Service Catalog console such as update, terminate, and execute service actions. If an end user provisions a product and the owner is updated to someone else, they will no longer be able to see or perform any actions through API or the Service Catalog console on that provisioned product.
updateProvisionedProductProperties_idempotencyToken :: Lens' UpdateProvisionedProductProperties Text Source #
The idempotency token that uniquely identifies the provisioning product update request.
Destructuring the Response
data UpdateProvisionedProductPropertiesResponse Source #
See: newUpdateProvisionedProductPropertiesResponse
smart constructor.
UpdateProvisionedProductPropertiesResponse' | |
|
Instances
newUpdateProvisionedProductPropertiesResponse Source #
Create a value of UpdateProvisionedProductPropertiesResponse
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:
UpdateProvisionedProductProperties
, updateProvisionedProductPropertiesResponse_provisionedProductId
- The provisioned product identifier.
UpdateProvisionedProductProperties
, updateProvisionedProductPropertiesResponse_provisionedProductProperties
- A map that contains the properties updated.
UpdateProvisionedProductPropertiesResponse
, updateProvisionedProductPropertiesResponse_recordId
- The identifier of the record.
UpdateProvisionedProductPropertiesResponse
, updateProvisionedProductPropertiesResponse_status
- The status of the request.
$sel:httpStatus:UpdateProvisionedProductPropertiesResponse'
, updateProvisionedProductPropertiesResponse_httpStatus
- The response's http status code.
Response Lenses
updateProvisionedProductPropertiesResponse_provisionedProductId :: Lens' UpdateProvisionedProductPropertiesResponse (Maybe Text) Source #
The provisioned product identifier.
updateProvisionedProductPropertiesResponse_provisionedProductProperties :: Lens' UpdateProvisionedProductPropertiesResponse (Maybe (HashMap PropertyKey Text)) Source #
A map that contains the properties updated.
updateProvisionedProductPropertiesResponse_recordId :: Lens' UpdateProvisionedProductPropertiesResponse (Maybe Text) Source #
The identifier of the record.
updateProvisionedProductPropertiesResponse_status :: Lens' UpdateProvisionedProductPropertiesResponse (Maybe RecordStatus) Source #
The status of the request.
updateProvisionedProductPropertiesResponse_httpStatus :: Lens' UpdateProvisionedProductPropertiesResponse Int Source #
The response's http status code.