AWS Service Catalog

2024/01/04 - AWS Service Catalog - 3 updated api methods

Changes  Added Idempotency token support to Service Catalog AssociateServiceActionWithProvisioningArtifact, DisassociateServiceActionFromProvisioningArtifact, DeleteServiceAction API

AssociateServiceActionWithProvisioningArtifact (updated) Link ¶
Changes (request)
{'IdempotencyToken': 'string'}

Associates a self-service action with a provisioning artifact.

See also: AWS API Documentation

Request Syntax

client.associate_service_action_with_provisioning_artifact(
    ProductId='string',
    ProvisioningArtifactId='string',
    ServiceActionId='string',
    AcceptLanguage='string',
    IdempotencyToken='string'
)
type ProductId

string

param ProductId

[REQUIRED]

The product identifier. For example, prod-abcdzk7xy33qa .

type ProvisioningArtifactId

string

param ProvisioningArtifactId

[REQUIRED]

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

type ServiceActionId

string

param ServiceActionId

[REQUIRED]

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

type AcceptLanguage

string

param AcceptLanguage

The language code.

  • jp - Japanese

  • zh - Chinese

type IdempotencyToken

string

param IdempotencyToken

A unique identifier that you provide to ensure idempotency. If multiple requests from the same Amazon Web Services account use the same idempotency token, the same response is returned for each repeated request.

This field is autopopulated if not provided.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

DeleteServiceAction (updated) Link ¶
Changes (request)
{'IdempotencyToken': 'string'}

Deletes a self-service action.

See also: AWS API Documentation

Request Syntax

client.delete_service_action(
    Id='string',
    AcceptLanguage='string',
    IdempotencyToken='string'
)
type Id

string

param Id

[REQUIRED]

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

type AcceptLanguage

string

param AcceptLanguage

The language code.

  • jp - Japanese

  • zh - Chinese

type IdempotencyToken

string

param IdempotencyToken

A unique identifier that you provide to ensure idempotency. If multiple requests from the same Amazon Web Services account use the same idempotency token, the same response is returned for each repeated request.

This field is autopopulated if not provided.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

DisassociateServiceActionFromProvisioningArtifact (updated) Link ¶
Changes (request)
{'IdempotencyToken': 'string'}

Disassociates the specified self-service action association from the specified provisioning artifact.

See also: AWS API Documentation

Request Syntax

client.disassociate_service_action_from_provisioning_artifact(
    ProductId='string',
    ProvisioningArtifactId='string',
    ServiceActionId='string',
    AcceptLanguage='string',
    IdempotencyToken='string'
)
type ProductId

string

param ProductId

[REQUIRED]

The product identifier. For example, prod-abcdzk7xy33qa .

type ProvisioningArtifactId

string

param ProvisioningArtifactId

[REQUIRED]

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

type ServiceActionId

string

param ServiceActionId

[REQUIRED]

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

type AcceptLanguage

string

param AcceptLanguage

The language code.

  • jp - Japanese

  • zh - Chinese

type IdempotencyToken

string

param IdempotencyToken

A unique identifier that you provide to ensure idempotency. If multiple requests from the same Amazon Web Services account use the same idempotency token, the same response is returned for each repeated request.

This field is autopopulated if not provided.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --