Finds the default parameters for a specific self-service action on a specific provisioned product and returns a map of the results to the user.
Parameters:
-
provisioned_product_id
(Id)
–
The identifier of the provisioned product.
-
service_action_id
(Id)
–
The self-service action identifier.
-
accept_language
(Optional[AcceptLanguage], default:
None
)
–
The language code.
-
jp - Japanese
-
zh - Chinese
Raises:
Source code in docs_src/capo_service_catalog/_services/service_catalog.py
| def describe_service_action_execution_parameters(
self,
provisioned_product_id: "capo_service_catalog.types.id.Id",
service_action_id: "capo_service_catalog.types.id.Id",
*,
config_overrides: Optional[ServiceCatalogClientConfig] = None,
accept_language: Optional[
"capo_service_catalog.types.accept_language.AcceptLanguage"
] = None,
) -> "capo_service_catalog.types.describe_service_action_execution_parameters_output.DescribeServiceActionExecutionParametersOutput":
"""<p>Finds the default parameters for a specific self-service action on a specific provisioned product and returns a map of the results to the user.</p>
Args:
provisioned_product_id: <p>The identifier of the provisioned product.</p>
service_action_id: <p>The self-service action identifier.</p>
accept_language: <p>The language code.</p> <ul> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - Chinese</p> </li> </ul>
Raises:
capo_service_catalog.errors.invalid_parameters_exception.InvalidParametersException: <p>One or more parameters provided to the operation are not valid.</p>
capo_service_catalog.errors.resource_not_found_exception.ResourceNotFoundException: <p>The specified resource was not found.</p>
capo_service_catalog.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_service_catalog.types.describe_service_action_execution_parameters_input.DescribeServiceActionExecutionParametersInput]",
) -> OperationResponse[
"capo_service_catalog.types.describe_service_action_execution_parameters_output.DescribeServiceActionExecutionParametersOutput"
]:
import capo_service_catalog._operations.aws242_service_catalog_service.describe_service_action_execution_parameters
output, http_response = (
capo_service_catalog._operations.aws242_service_catalog_service.describe_service_action_execution_parameters.describe_service_action_execution_parameters(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides,
OperationLogging("DescribeServiceActionExecutionParameters"),
)
input_: capo_service_catalog.types.describe_service_action_execution_parameters_input.DescribeServiceActionExecutionParametersInput = {
"provisioned_product_id": provisioned_product_id,
"service_action_id": service_action_id,
}
if accept_language is not None:
input_["accept_language"] = accept_language
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|