ServiceCatalog / Client / batch_associate_service_action_with_provisioning_artifact

batch_associate_service_action_with_provisioning_artifact#

ServiceCatalog.Client.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'
)
Parameters:
  • ServiceActionAssociations (list) –

    [REQUIRED]

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

    • (dict) –

      A self-service action association consisting of the Action ID, the Product ID, and the Provisioning Artifact ID.

      • ServiceActionId (string) – [REQUIRED]

        The self-service action identifier. For example, act-fs7abcd89wxyz.

      • ProductId (string) – [REQUIRED]

        The product identifier. For example, prod-abcdzk7xy33qa.

      • ProvisioningArtifactId (string) – [REQUIRED]

        The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

  • AcceptLanguage (string) –

    The language code.

    • jp - Japanese

    • zh - Chinese

Return type:

dict

Returns:

Response Syntax

{
    'FailedServiceActionAssociations': [
        {
            'ServiceActionId': 'string',
            'ProductId': 'string',
            'ProvisioningArtifactId': 'string',
            'ErrorCode': 'DUPLICATE_RESOURCE'|'INTERNAL_FAILURE'|'LIMIT_EXCEEDED'|'RESOURCE_NOT_FOUND'|'THROTTLING'|'INVALID_PARAMETER',
            '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