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 |
Executes a self-service action against a provisioned product.
Synopsis
- data ExecuteProvisionedProductServiceAction = ExecuteProvisionedProductServiceAction' {
- acceptLanguage :: Maybe Text
- parameters :: Maybe (HashMap Text [Text])
- provisionedProductId :: Text
- serviceActionId :: Text
- executeToken :: Text
- newExecuteProvisionedProductServiceAction :: Text -> Text -> Text -> ExecuteProvisionedProductServiceAction
- executeProvisionedProductServiceAction_acceptLanguage :: Lens' ExecuteProvisionedProductServiceAction (Maybe Text)
- executeProvisionedProductServiceAction_parameters :: Lens' ExecuteProvisionedProductServiceAction (Maybe (HashMap Text [Text]))
- executeProvisionedProductServiceAction_provisionedProductId :: Lens' ExecuteProvisionedProductServiceAction Text
- executeProvisionedProductServiceAction_serviceActionId :: Lens' ExecuteProvisionedProductServiceAction Text
- executeProvisionedProductServiceAction_executeToken :: Lens' ExecuteProvisionedProductServiceAction Text
- data ExecuteProvisionedProductServiceActionResponse = ExecuteProvisionedProductServiceActionResponse' {}
- newExecuteProvisionedProductServiceActionResponse :: Int -> ExecuteProvisionedProductServiceActionResponse
- executeProvisionedProductServiceActionResponse_recordDetail :: Lens' ExecuteProvisionedProductServiceActionResponse (Maybe RecordDetail)
- executeProvisionedProductServiceActionResponse_httpStatus :: Lens' ExecuteProvisionedProductServiceActionResponse Int
Creating a Request
data ExecuteProvisionedProductServiceAction Source #
See: newExecuteProvisionedProductServiceAction
smart constructor.
ExecuteProvisionedProductServiceAction' | |
|
Instances
newExecuteProvisionedProductServiceAction Source #
:: Text |
|
-> Text |
|
-> Text | |
-> ExecuteProvisionedProductServiceAction |
Create a value of ExecuteProvisionedProductServiceAction
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:ExecuteProvisionedProductServiceAction'
, executeProvisionedProductServiceAction_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:parameters:ExecuteProvisionedProductServiceAction'
, executeProvisionedProductServiceAction_parameters
- A map of all self-service action parameters and their values. If a
provided parameter is of a special type, such as TARGET
, the provided
value will override the default value generated by AWS Service Catalog.
If the parameters field is not provided, no additional parameters are
passed and default values will be used for any special parameters such
as TARGET
.
$sel:provisionedProductId:ExecuteProvisionedProductServiceAction'
, executeProvisionedProductServiceAction_provisionedProductId
- The identifier of the provisioned product.
$sel:serviceActionId:ExecuteProvisionedProductServiceAction'
, executeProvisionedProductServiceAction_serviceActionId
- The self-service action identifier. For example, act-fs7abcd89wxyz
.
$sel:executeToken:ExecuteProvisionedProductServiceAction'
, executeProvisionedProductServiceAction_executeToken
- An idempotency token that uniquely identifies the execute request.
Request Lenses
executeProvisionedProductServiceAction_acceptLanguage :: Lens' ExecuteProvisionedProductServiceAction (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
executeProvisionedProductServiceAction_parameters :: Lens' ExecuteProvisionedProductServiceAction (Maybe (HashMap Text [Text])) Source #
A map of all self-service action parameters and their values. If a
provided parameter is of a special type, such as TARGET
, the provided
value will override the default value generated by AWS Service Catalog.
If the parameters field is not provided, no additional parameters are
passed and default values will be used for any special parameters such
as TARGET
.
executeProvisionedProductServiceAction_provisionedProductId :: Lens' ExecuteProvisionedProductServiceAction Text Source #
The identifier of the provisioned product.
executeProvisionedProductServiceAction_serviceActionId :: Lens' ExecuteProvisionedProductServiceAction Text Source #
The self-service action identifier. For example, act-fs7abcd89wxyz
.
executeProvisionedProductServiceAction_executeToken :: Lens' ExecuteProvisionedProductServiceAction Text Source #
An idempotency token that uniquely identifies the execute request.
Destructuring the Response
data ExecuteProvisionedProductServiceActionResponse Source #
See: newExecuteProvisionedProductServiceActionResponse
smart constructor.
ExecuteProvisionedProductServiceActionResponse' | |
|
Instances
newExecuteProvisionedProductServiceActionResponse Source #
:: Int |
|
-> ExecuteProvisionedProductServiceActionResponse |
Create a value of ExecuteProvisionedProductServiceActionResponse
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:ExecuteProvisionedProductServiceActionResponse'
, executeProvisionedProductServiceActionResponse_recordDetail
- An object containing detailed information about the result of
provisioning the product.
$sel:httpStatus:ExecuteProvisionedProductServiceActionResponse'
, executeProvisionedProductServiceActionResponse_httpStatus
- The response's http status code.
Response Lenses
executeProvisionedProductServiceActionResponse_recordDetail :: Lens' ExecuteProvisionedProductServiceActionResponse (Maybe RecordDetail) Source #
An object containing detailed information about the result of provisioning the product.
executeProvisionedProductServiceActionResponse_httpStatus :: Lens' ExecuteProvisionedProductServiceActionResponse Int Source #
The response's http status code.