batch_associate_service_action_with_provisioning_artifact
(**kwargs)¶Associates multiple self-service actions with provisioning artifacts.
See also: AWS API Documentation
Request Syntax
response = client.batch_associate_service_action_with_provisioning_artifact(
ServiceActionAssociations=[
{
'ServiceActionId': 'string',
'ProductId': 'string',
'ProvisioningArtifactId': 'string'
},
],
AcceptLanguage='string'
)
[REQUIRED]
One or more associations, each consisting of the Action ID, the Product ID, and the Provisioning Artifact ID.
A self-service action association consisting of the Action ID, the Product ID, and the Provisioning Artifact ID.
The self-service action identifier. For example, act-fs7abcd89wxyz
.
The product identifier. For example, prod-abcdzk7xy33qa
.
The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne
.
The language code.
en
- English (default)jp
- Japanesezh
- Chinesedict
Response Syntax
{
'FailedServiceActionAssociations': [
{
'ServiceActionId': 'string',
'ProductId': 'string',
'ProvisioningArtifactId': 'string',
'ErrorCode': 'DUPLICATE_RESOURCE'|'INTERNAL_FAILURE'|'LIMIT_EXCEEDED'|'RESOURCE_NOT_FOUND'|'THROTTLING',
'ErrorMessage': 'string'
},
]
}
Response Structure
(dict) --
FailedServiceActionAssociations (list) --
An object that contains a list of errors, along with information to help you identify the self-service action.
(dict) --
An object containing information about the error, along with identifying information about the self-service action and its associations.
ServiceActionId (string) --
The self-service action identifier. For example, act-fs7abcd89wxyz
.
ProductId (string) --
The product identifier. For example, prod-abcdzk7xy33qa
.
ProvisioningArtifactId (string) --
The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne
.
ErrorCode (string) --
The error code. Valid values are listed below.
ErrorMessage (string) --
A text description of the error.
Exceptions
ServiceCatalog.Client.exceptions.InvalidParametersException