BatchAssociateServiceActionWithProvisioningArtifact - AWS Service Catalog

BatchAssociateServiceActionWithProvisioningArtifact

Associates multiple self-service actions with provisioning artifacts.

Request Syntax

{ "AcceptLanguage": "string", "ServiceActionAssociations": [ { "ProductId": "string", "ProvisioningArtifactId": "string", "ServiceActionId": "string" } ] }

Request Parameters

The request accepts the following data in JSON format.

AcceptLanguage

The language code.

  • jp - Japanese

  • zh - Chinese

Type: String

Length Constraints: Maximum length of 100.

Required: No

ServiceActionAssociations

One or more associations, each consisting of the Action ID, the Product ID, and the Provisioning Artifact ID.

Type: Array of ServiceActionAssociation objects

Array Members: Minimum number of 1 item. Maximum number of 50 items.

Required: Yes

Response Syntax

{ "FailedServiceActionAssociations": [ { "ErrorCode": "string", "ErrorMessage": "string", "ProductId": "string", "ProvisioningArtifactId": "string", "ServiceActionId": "string" } ] }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

FailedServiceActionAssociations

An object that contains a list of errors, along with information to help you identify the self-service action.

Type: Array of FailedServiceActionAssociation objects

Array Members: Maximum number of 50 items.

Errors

InvalidParametersException

One or more parameters provided to the operation are not valid.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: