Table of Contents
A low-level client representing AWS Service Catalog:
import boto3
client = boto3.client('servicecatalog')
These are the available methods:
Accepts an offer to share the specified portfolio.
See also: AWS API Documentation
Request Syntax
response = client.accept_portfolio_share(
AcceptLanguage='string',
PortfolioId='string',
PortfolioShareType='IMPORTED'|'AWS_SERVICECATALOG'|'AWS_ORGANIZATIONS'
)
The language code.
[REQUIRED]
The portfolio identifier.
The type of shared portfolios to accept. The default is to accept imported portfolios.
For example, aws servicecatalog accept-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS
dict
Response Syntax
{}
Response Structure
Associates the specified principal ARN with the specified portfolio.
See also: AWS API Documentation
Request Syntax
response = client.associate_principal_with_portfolio(
AcceptLanguage='string',
PortfolioId='string',
PrincipalARN='string',
PrincipalType='IAM'
)
The language code.
[REQUIRED]
The portfolio identifier.
[REQUIRED]
The ARN of the principal (IAM user, role, or group).
[REQUIRED]
The principal type. The supported value is IAM .
dict
Response Syntax
{}
Response Structure
Associates the specified product with the specified portfolio.
See also: AWS API Documentation
Request Syntax
response = client.associate_product_with_portfolio(
AcceptLanguage='string',
ProductId='string',
PortfolioId='string',
SourcePortfolioId='string'
)
The language code.
[REQUIRED]
The product identifier.
[REQUIRED]
The portfolio identifier.
dict
Response Syntax
{}
Response Structure
Associates a self-service action with a provisioning artifact.
See also: AWS API Documentation
Request Syntax
response = client.associate_service_action_with_provisioning_artifact(
ProductId='string',
ProvisioningArtifactId='string',
ServiceActionId='string',
AcceptLanguage='string'
)
[REQUIRED]
The product identifier. For example, prod-abcdzk7xy33qa .
[REQUIRED]
The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne .
[REQUIRED]
The self-service action identifier. For example, act-fs7abcd89wxyz .
The language code.
dict
Response Syntax
{}
Response Structure
Associate the specified TagOption with the specified portfolio or product.
See also: AWS API Documentation
Request Syntax
response = client.associate_tag_option_with_resource(
ResourceId='string',
TagOptionId='string'
)
[REQUIRED]
The resource identifier.
[REQUIRED]
The TagOption identifier.
dict
Response Syntax
{}
Response Structure
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.
dict
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.
Disassociates a batch of self-service actions from the specified provisioning artifact.
See also: AWS API Documentation
Request Syntax
response = client.batch_disassociate_service_action_from_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.
dict
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.
Check if an operation can be paginated.
Copies the specified source product to the specified target product or a new product.
You can copy a product to the same account or another account. You can copy a product to the same region or another region.
This operation is performed asynchronously. To track the progress of the operation, use DescribeCopyProductStatus .
See also: AWS API Documentation
Request Syntax
response = client.copy_product(
AcceptLanguage='string',
SourceProductArn='string',
TargetProductId='string',
TargetProductName='string',
SourceProvisioningArtifactIdentifiers=[
{
'string': 'string'
},
],
CopyOptions=[
'CopyTags',
],
IdempotencyToken='string'
)
The language code.
[REQUIRED]
The Amazon Resource Name (ARN) of the source product.
The identifiers of the provisioning artifacts (also known as versions) of the product to copy. By default, all provisioning artifacts are copied.
The copy options. If the value is CopyTags , the tags from the source product are copied to the target product.
[REQUIRED]
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
This field is autopopulated if not provided.
dict
Response Syntax
{
'CopyProductToken': 'string'
}
Response Structure
(dict) --
CopyProductToken (string) --
The token to use to track the progress of the operation.
Creates a constraint.
See also: AWS API Documentation
Request Syntax
response = client.create_constraint(
AcceptLanguage='string',
PortfolioId='string',
ProductId='string',
Parameters='string',
Type='string',
Description='string',
IdempotencyToken='string'
)
The language code.
[REQUIRED]
The portfolio identifier.
[REQUIRED]
The product identifier.
[REQUIRED]
The constraint parameters, in JSON format. The syntax depends on the constraint type as follows:
LAUNCH
Specify the RoleArn property as follows:
"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"
NOTIFICATION
Specify the NotificationArns property as follows:
"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]
TEMPLATE
Specify the Rules property. For more information, see Template Constraint Rules .
[REQUIRED]
The type of constraint.
[REQUIRED]
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
This field is autopopulated if not provided.
dict
Response Syntax
{
'ConstraintDetail': {
'ConstraintId': 'string',
'Type': 'string',
'Description': 'string',
'Owner': 'string'
},
'ConstraintParameters': 'string',
'Status': 'AVAILABLE'|'CREATING'|'FAILED'
}
Response Structure
(dict) --
ConstraintDetail (dict) --
Information about the constraint.
ConstraintId (string) --
The identifier of the constraint.
Type (string) --
The type of constraint.
Description (string) --
The description of the constraint.
Owner (string) --
The owner of the constraint.
ConstraintParameters (string) --
The constraint parameters.
Status (string) --
The status of the current request.
Creates a portfolio.
See also: AWS API Documentation
Request Syntax
response = client.create_portfolio(
AcceptLanguage='string',
DisplayName='string',
Description='string',
ProviderName='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
],
IdempotencyToken='string'
)
The language code.
[REQUIRED]
The name to use for display purposes.
[REQUIRED]
The name of the portfolio provider.
One or more tags.
Information about a tag. A tag is a key-value pair. Tags are propagated to the resources created when provisioning a product.
The tag key.
The value for this key.
[REQUIRED]
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
This field is autopopulated if not provided.
dict
Response Syntax
{
'PortfolioDetail': {
'Id': 'string',
'ARN': 'string',
'DisplayName': 'string',
'Description': 'string',
'CreatedTime': datetime(2015, 1, 1),
'ProviderName': 'string'
},
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
Response Structure
(dict) --
PortfolioDetail (dict) --
Information about the portfolio.
Id (string) --
The portfolio identifier.
ARN (string) --
The ARN assigned to the portfolio.
DisplayName (string) --
The name to use for display purposes.
Description (string) --
The description of the portfolio.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
ProviderName (string) --
The name of the portfolio provider.
Tags (list) --
Information about the tags associated with the portfolio.
(dict) --
Information about a tag. A tag is a key-value pair. Tags are propagated to the resources created when provisioning a product.
Key (string) --
The tag key.
Value (string) --
The value for this key.
Shares the specified portfolio with the specified account or organization node. Shares to an organization node can only be created by the master account of an Organization. AWSOrganizationsAccess must be enabled in order to create a portfolio share to an organization node.
See also: AWS API Documentation
Request Syntax
response = client.create_portfolio_share(
AcceptLanguage='string',
PortfolioId='string',
AccountId='string',
OrganizationNode={
'Type': 'ORGANIZATION'|'ORGANIZATIONAL_UNIT'|'ACCOUNT',
'Value': 'string'
}
)
The language code.
[REQUIRED]
The portfolio identifier.
The organization node to whom you are going to share. If OrganizationNode is passed in, PortfolioShare will be created for the node and its children (when applies), and a PortfolioShareToken will be returned in the output in order for the administrator to monitor the status of the PortfolioShare creation process.
dict
Response Syntax
{
'PortfolioShareToken': 'string'
}
Response Structure
(dict) --
PortfolioShareToken (string) --
The portfolio share unique identifier. This will only be returned if portfolio is shared to an organization node.
Creates a product.
See also: AWS API Documentation
Request Syntax
response = client.create_product(
AcceptLanguage='string',
Name='string',
Owner='string',
Description='string',
Distributor='string',
SupportDescription='string',
SupportEmail='string',
SupportUrl='string',
ProductType='CLOUD_FORMATION_TEMPLATE'|'MARKETPLACE',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
],
ProvisioningArtifactParameters={
'Name': 'string',
'Description': 'string',
'Info': {
'string': 'string'
},
'Type': 'CLOUD_FORMATION_TEMPLATE'|'MARKETPLACE_AMI'|'MARKETPLACE_CAR'
},
IdempotencyToken='string'
)
The language code.
[REQUIRED]
The name of the product.
[REQUIRED]
The owner of the product.
[REQUIRED]
The type of product.
One or more tags.
Information about a tag. A tag is a key-value pair. Tags are propagated to the resources created when provisioning a product.
The tag key.
The value for this key.
[REQUIRED]
The configuration of the provisioning artifact.
The name of the provisioning artifact (for example, v1 v2beta). No spaces are allowed.
The description of the provisioning artifact, including how it differs from the previous provisioning artifact.
The URL of the CloudFormation template in Amazon S3. Specify the URL in JSON format as follows:
"LoadTemplateFromURL": "https://s3.amazonaws.com/cf-templates-ozkq9d3hgiq2-us-east-1/..."
The type of provisioning artifact.
[REQUIRED]
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
This field is autopopulated if not provided.
dict
Response Syntax
{
'ProductViewDetail': {
'ProductViewSummary': {
'Id': 'string',
'ProductId': 'string',
'Name': 'string',
'Owner': 'string',
'ShortDescription': 'string',
'Type': 'CLOUD_FORMATION_TEMPLATE'|'MARKETPLACE',
'Distributor': 'string',
'HasDefaultPath': True|False,
'SupportEmail': 'string',
'SupportDescription': 'string',
'SupportUrl': 'string'
},
'Status': 'AVAILABLE'|'CREATING'|'FAILED',
'ProductARN': 'string',
'CreatedTime': datetime(2015, 1, 1)
},
'ProvisioningArtifactDetail': {
'Id': 'string',
'Name': 'string',
'Description': 'string',
'Type': 'CLOUD_FORMATION_TEMPLATE'|'MARKETPLACE_AMI'|'MARKETPLACE_CAR',
'CreatedTime': datetime(2015, 1, 1),
'Active': True|False
},
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
Response Structure
(dict) --
ProductViewDetail (dict) --
Information about the product view.
ProductViewSummary (dict) --
Summary information about the product view.
Id (string) --
The product view identifier.
ProductId (string) --
The product identifier.
Name (string) --
The name of the product.
Owner (string) --
The owner of the product. Contact the product administrator for the significance of this value.
ShortDescription (string) --
Short description of the product.
Type (string) --
The product type. Contact the product administrator for the significance of this value. If this value is MARKETPLACE , the product was created by AWS Marketplace.
Distributor (string) --
The distributor of the product. Contact the product administrator for the significance of this value.
HasDefaultPath (boolean) --
Indicates whether the product has a default path. If the product does not have a default path, call ListLaunchPaths to disambiguate between paths. Otherwise, ListLaunchPaths is not required, and the output of ProductViewSummary can be used directly with DescribeProvisioningParameters .
SupportEmail (string) --
The email contact information to obtain support for this Product.
SupportDescription (string) --
The description of the support for this Product.
SupportUrl (string) --
The URL information to obtain support for this Product.
Status (string) --
The status of the product.
ProductARN (string) --
The ARN of the product.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
ProvisioningArtifactDetail (dict) --
Information about the provisioning artifact.
Id (string) --
The identifier of the provisioning artifact.
Name (string) --
The name of the provisioning artifact.
Description (string) --
The description of the provisioning artifact.
Type (string) --
The type of provisioning artifact.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
Active (boolean) --
Indicates whether the product version is active.
Tags (list) --
Information about the tags associated with the product.
(dict) --
Information about a tag. A tag is a key-value pair. Tags are propagated to the resources created when provisioning a product.
Key (string) --
The tag key.
Value (string) --
The value for this key.
Creates a plan. A plan includes the list of resources to be created (when provisioning a new product) or modified (when updating a provisioned product) when the plan is executed.
You can create one plan per provisioned product. To create a plan for an existing provisioned product, the product status must be AVAILBLE or TAINTED.
To view the resource changes in the change set, use DescribeProvisionedProductPlan . To create or modify the provisioned product, use ExecuteProvisionedProductPlan .
See also: AWS API Documentation
Request Syntax
response = client.create_provisioned_product_plan(
AcceptLanguage='string',
PlanName='string',
PlanType='CLOUDFORMATION',
NotificationArns=[
'string',
],
PathId='string',
ProductId='string',
ProvisionedProductName='string',
ProvisioningArtifactId='string',
ProvisioningParameters=[
{
'Key': 'string',
'Value': 'string',
'UsePreviousValue': True|False
},
],
IdempotencyToken='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
The language code.
[REQUIRED]
The name of the plan.
[REQUIRED]
The plan type.
Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.
[REQUIRED]
The product identifier.
[REQUIRED]
A user-friendly name for the provisioned product. This value must be unique for the AWS account and cannot be updated after the product is provisioned.
[REQUIRED]
The identifier of the provisioning artifact.
Parameters specified by the administrator that are required for provisioning the product.
The parameter key-value pair used to update a provisioned product.
The parameter key.
The parameter value.
If set to true, Value is ignored and the previous parameter value is kept.
[REQUIRED]
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
This field is autopopulated if not provided.
One or more tags.
Information about a tag. A tag is a key-value pair. Tags are propagated to the resources created when provisioning a product.
The tag key.
The value for this key.
dict
Response Syntax
{
'PlanName': 'string',
'PlanId': 'string',
'ProvisionProductId': 'string',
'ProvisionedProductName': 'string',
'ProvisioningArtifactId': 'string'
}
Response Structure
(dict) --
PlanName (string) --
The name of the plan.
PlanId (string) --
The plan identifier.
ProvisionProductId (string) --
The product identifier.
ProvisionedProductName (string) --
The user-friendly name of the provisioned product.
ProvisioningArtifactId (string) --
The identifier of the provisioning artifact.
Creates a provisioning artifact (also known as a version) for the specified product.
You cannot create a provisioning artifact for a product that was shared with you.
See also: AWS API Documentation
Request Syntax
response = client.create_provisioning_artifact(
AcceptLanguage='string',
ProductId='string',
Parameters={
'Name': 'string',
'Description': 'string',
'Info': {
'string': 'string'
},
'Type': 'CLOUD_FORMATION_TEMPLATE'|'MARKETPLACE_AMI'|'MARKETPLACE_CAR'
},
IdempotencyToken='string'
)
The language code.
[REQUIRED]
The product identifier.
[REQUIRED]
The configuration for the provisioning artifact.
The name of the provisioning artifact (for example, v1 v2beta). No spaces are allowed.
The description of the provisioning artifact, including how it differs from the previous provisioning artifact.
The URL of the CloudFormation template in Amazon S3. Specify the URL in JSON format as follows:
"LoadTemplateFromURL": "https://s3.amazonaws.com/cf-templates-ozkq9d3hgiq2-us-east-1/..."
The type of provisioning artifact.
[REQUIRED]
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
This field is autopopulated if not provided.
dict
Response Syntax
{
'ProvisioningArtifactDetail': {
'Id': 'string',
'Name': 'string',
'Description': 'string',
'Type': 'CLOUD_FORMATION_TEMPLATE'|'MARKETPLACE_AMI'|'MARKETPLACE_CAR',
'CreatedTime': datetime(2015, 1, 1),
'Active': True|False
},
'Info': {
'string': 'string'
},
'Status': 'AVAILABLE'|'CREATING'|'FAILED'
}
Response Structure
(dict) --
ProvisioningArtifactDetail (dict) --
Information about the provisioning artifact.
Id (string) --
The identifier of the provisioning artifact.
Name (string) --
The name of the provisioning artifact.
Description (string) --
The description of the provisioning artifact.
Type (string) --
The type of provisioning artifact.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
Active (boolean) --
Indicates whether the product version is active.
Info (dict) --
The URL of the CloudFormation template in Amazon S3, in JSON format.
Status (string) --
The status of the current request.
Creates a self-service action.
See also: AWS API Documentation
Request Syntax
response = client.create_service_action(
Name='string',
DefinitionType='SSM_AUTOMATION',
Definition={
'string': 'string'
},
Description='string',
AcceptLanguage='string',
IdempotencyToken='string'
)
[REQUIRED]
The self-service action name.
[REQUIRED]
The service action definition type. For example, SSM_AUTOMATION .
[REQUIRED]
The self-service action definition. Can be one of the following:
Name
The name of the AWS Systems Manager Document. For example, AWS-RestartEC2Instance .
Version
The AWS Systems Manager automation document version. For example, "Version": "1"
AssumeRole
The Amazon Resource Name (ARN) of the role that performs the self-service actions on your behalf. For example, "AssumeRole": "arn:aws:iam::12345678910:role/ActionRole" .
To reuse the provisioned product launch role, set to "AssumeRole": "LAUNCH_ROLE" .
Parameters
The list of parameters in JSON format.
For example: [{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}] .
The language code.
[REQUIRED]
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
This field is autopopulated if not provided.
dict
Response Syntax
{
'ServiceActionDetail': {
'ServiceActionSummary': {
'Id': 'string',
'Name': 'string',
'Description': 'string',
'DefinitionType': 'SSM_AUTOMATION'
},
'Definition': {
'string': 'string'
}
}
}
Response Structure
(dict) --
ServiceActionDetail (dict) --
An object containing information about the self-service action.
ServiceActionSummary (dict) --
Summary information about the self-service action.
Id (string) --
The self-service action identifier.
Name (string) --
The self-service action name.
Description (string) --
The self-service action description.
DefinitionType (string) --
The self-service action definition type. For example, SSM_AUTOMATION .
Definition (dict) --
A map that defines the self-service action.
Creates a TagOption.
See also: AWS API Documentation
Request Syntax
response = client.create_tag_option(
Key='string',
Value='string'
)
[REQUIRED]
The TagOption key.
[REQUIRED]
The TagOption value.
dict
Response Syntax
{
'TagOptionDetail': {
'Key': 'string',
'Value': 'string',
'Active': True|False,
'Id': 'string'
}
}
Response Structure
(dict) --
TagOptionDetail (dict) --
Information about the TagOption.
Key (string) --
The TagOption key.
Value (string) --
The TagOption value.
Active (boolean) --
The TagOption active state.
Id (string) --
The TagOption identifier.
Deletes the specified constraint.
See also: AWS API Documentation
Request Syntax
response = client.delete_constraint(
AcceptLanguage='string',
Id='string'
)
The language code.
[REQUIRED]
The identifier of the constraint.
dict
Response Syntax
{}
Response Structure
Deletes the specified portfolio.
You cannot delete a portfolio if it was shared with you or if it has associated products, users, constraints, or shared accounts.
See also: AWS API Documentation
Request Syntax
response = client.delete_portfolio(
AcceptLanguage='string',
Id='string'
)
The language code.
[REQUIRED]
The portfolio identifier.
dict
Response Syntax
{}
Response Structure
Stops sharing the specified portfolio with the specified account or organization node. Shares to an organization node can only be deleted by the master account of an Organization.
See also: AWS API Documentation
Request Syntax
response = client.delete_portfolio_share(
AcceptLanguage='string',
PortfolioId='string',
AccountId='string',
OrganizationNode={
'Type': 'ORGANIZATION'|'ORGANIZATIONAL_UNIT'|'ACCOUNT',
'Value': 'string'
}
)
The language code.
[REQUIRED]
The portfolio identifier.
The organization node to whom you are going to stop sharing.
dict
Response Syntax
{
'PortfolioShareToken': 'string'
}
Response Structure
(dict) --
PortfolioShareToken (string) --
The portfolio share unique identifier. This will only be returned if delete is made to an organization node.
Deletes the specified product.
You cannot delete a product if it was shared with you or is associated with a portfolio.
See also: AWS API Documentation
Request Syntax
response = client.delete_product(
AcceptLanguage='string',
Id='string'
)
The language code.
[REQUIRED]
The product identifier.
dict
Response Syntax
{}
Response Structure
Deletes the specified plan.
See also: AWS API Documentation
Request Syntax
response = client.delete_provisioned_product_plan(
AcceptLanguage='string',
PlanId='string',
IgnoreErrors=True|False
)
The language code.
[REQUIRED]
The plan identifier.
dict
Response Syntax
{}
Response Structure
Deletes the specified provisioning artifact (also known as a version) for the specified product.
You cannot delete a provisioning artifact associated with a product that was shared with you. You cannot delete the last provisioning artifact for a product, because a product must have at least one provisioning artifact.
See also: AWS API Documentation
Request Syntax
response = client.delete_provisioning_artifact(
AcceptLanguage='string',
ProductId='string',
ProvisioningArtifactId='string'
)
The language code.
[REQUIRED]
The product identifier.
[REQUIRED]
The identifier of the provisioning artifact.
dict
Response Syntax
{}
Response Structure
Deletes a self-service action.
See also: AWS API Documentation
Request Syntax
response = client.delete_service_action(
Id='string',
AcceptLanguage='string'
)
[REQUIRED]
The self-service action identifier. For example, act-fs7abcd89wxyz .
The language code.
dict
Response Syntax
{}
Response Structure
Deletes the specified TagOption.
You cannot delete a TagOption if it is associated with a product or portfolio.
See also: AWS API Documentation
Request Syntax
response = client.delete_tag_option(
Id='string'
)
[REQUIRED]
The TagOption identifier.
{}
Response Structure
Gets information about the specified constraint.
See also: AWS API Documentation
Request Syntax
response = client.describe_constraint(
AcceptLanguage='string',
Id='string'
)
The language code.
[REQUIRED]
The identifier of the constraint.
dict
Response Syntax
{
'ConstraintDetail': {
'ConstraintId': 'string',
'Type': 'string',
'Description': 'string',
'Owner': 'string'
},
'ConstraintParameters': 'string',
'Status': 'AVAILABLE'|'CREATING'|'FAILED'
}
Response Structure
(dict) --
ConstraintDetail (dict) --
Information about the constraint.
ConstraintId (string) --
The identifier of the constraint.
Type (string) --
The type of constraint.
Description (string) --
The description of the constraint.
Owner (string) --
The owner of the constraint.
ConstraintParameters (string) --
The constraint parameters.
Status (string) --
The status of the current request.
Gets the status of the specified copy product operation.
See also: AWS API Documentation
Request Syntax
response = client.describe_copy_product_status(
AcceptLanguage='string',
CopyProductToken='string'
)
The language code.
[REQUIRED]
The token for the copy product operation. This token is returned by CopyProduct .
dict
Response Syntax
{
'CopyProductStatus': 'SUCCEEDED'|'IN_PROGRESS'|'FAILED',
'TargetProductId': 'string',
'StatusDetail': 'string'
}
Response Structure
(dict) --
CopyProductStatus (string) --
The status of the copy product operation.
TargetProductId (string) --
The identifier of the copied product.
StatusDetail (string) --
The status message.
Gets information about the specified portfolio.
See also: AWS API Documentation
Request Syntax
response = client.describe_portfolio(
AcceptLanguage='string',
Id='string'
)
The language code.
[REQUIRED]
The portfolio identifier.
dict
Response Syntax
{
'PortfolioDetail': {
'Id': 'string',
'ARN': 'string',
'DisplayName': 'string',
'Description': 'string',
'CreatedTime': datetime(2015, 1, 1),
'ProviderName': 'string'
},
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'TagOptions': [
{
'Key': 'string',
'Value': 'string',
'Active': True|False,
'Id': 'string'
},
]
}
Response Structure
(dict) --
PortfolioDetail (dict) --
Information about the portfolio.
Id (string) --
The portfolio identifier.
ARN (string) --
The ARN assigned to the portfolio.
DisplayName (string) --
The name to use for display purposes.
Description (string) --
The description of the portfolio.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
ProviderName (string) --
The name of the portfolio provider.
Tags (list) --
Information about the tags associated with the portfolio.
(dict) --
Information about a tag. A tag is a key-value pair. Tags are propagated to the resources created when provisioning a product.
Key (string) --
The tag key.
Value (string) --
The value for this key.
TagOptions (list) --
Information about the TagOptions associated with the portfolio.
(dict) --
Information about a TagOption.
Key (string) --
The TagOption key.
Value (string) --
The TagOption value.
Active (boolean) --
The TagOption active state.
Id (string) --
The TagOption identifier.
Gets the status of the specified portfolio share operation. This API can only be called by the master account in the organization.
See also: AWS API Documentation
Request Syntax
response = client.describe_portfolio_share_status(
PortfolioShareToken='string'
)
[REQUIRED]
The token for the portfolio share operation. This token is returned either by CreatePortfolioShare or by DeletePortfolioShare.
{
'PortfolioShareToken': 'string',
'PortfolioId': 'string',
'OrganizationNodeValue': 'string',
'Status': 'NOT_STARTED'|'IN_PROGRESS'|'COMPLETED'|'COMPLETED_WITH_ERRORS'|'ERROR',
'ShareDetails': {
'SuccessfulShares': [
'string',
],
'ShareErrors': [
{
'Accounts': [
'string',
],
'Message': 'string',
'Error': 'string'
},
]
}
}
Response Structure
The token for the portfolio share operation. For example, share-6v24abcdefghi .
The portfolio identifier.
Organization node identifier. It can be either account id, organizational unit id or organization id.
Status of the portfolio share operation.
Information about the portfolio share operation.
List of accounts for whom the operation succeeded.
List of errors.
Errors that occurred during the portfolio share operation.
List of accounts impacted by the error.
Information about the error.
Error type that happened when processing the operation.
Gets information about the specified product.
See also: AWS API Documentation
Request Syntax
response = client.describe_product(
AcceptLanguage='string',
Id='string'
)
The language code.
[REQUIRED]
The product identifier.
dict
Response Syntax
{
'ProductViewSummary': {
'Id': 'string',
'ProductId': 'string',
'Name': 'string',
'Owner': 'string',
'ShortDescription': 'string',
'Type': 'CLOUD_FORMATION_TEMPLATE'|'MARKETPLACE',
'Distributor': 'string',
'HasDefaultPath': True|False,
'SupportEmail': 'string',
'SupportDescription': 'string',
'SupportUrl': 'string'
},
'ProvisioningArtifacts': [
{
'Id': 'string',
'Name': 'string',
'Description': 'string',
'CreatedTime': datetime(2015, 1, 1)
},
]
}
Response Structure
(dict) --
ProductViewSummary (dict) --
Summary information about the product view.
Id (string) --
The product view identifier.
ProductId (string) --
The product identifier.
Name (string) --
The name of the product.
Owner (string) --
The owner of the product. Contact the product administrator for the significance of this value.
ShortDescription (string) --
Short description of the product.
Type (string) --
The product type. Contact the product administrator for the significance of this value. If this value is MARKETPLACE , the product was created by AWS Marketplace.
Distributor (string) --
The distributor of the product. Contact the product administrator for the significance of this value.
HasDefaultPath (boolean) --
Indicates whether the product has a default path. If the product does not have a default path, call ListLaunchPaths to disambiguate between paths. Otherwise, ListLaunchPaths is not required, and the output of ProductViewSummary can be used directly with DescribeProvisioningParameters .
SupportEmail (string) --
The email contact information to obtain support for this Product.
SupportDescription (string) --
The description of the support for this Product.
SupportUrl (string) --
The URL information to obtain support for this Product.
ProvisioningArtifacts (list) --
Information about the provisioning artifacts for the specified product.
(dict) --
Information about a provisioning artifact. A provisioning artifact is also known as a product version.
Id (string) --
The identifier of the provisioning artifact.
Name (string) --
The name of the provisioning artifact.
Description (string) --
The description of the provisioning artifact.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
Gets information about the specified product. This operation is run with administrator access.
See also: AWS API Documentation
Request Syntax
response = client.describe_product_as_admin(
AcceptLanguage='string',
Id='string'
)
The language code.
[REQUIRED]
The product identifier.
dict
Response Syntax
{
'ProductViewDetail': {
'ProductViewSummary': {
'Id': 'string',
'ProductId': 'string',
'Name': 'string',
'Owner': 'string',
'ShortDescription': 'string',
'Type': 'CLOUD_FORMATION_TEMPLATE'|'MARKETPLACE',
'Distributor': 'string',
'HasDefaultPath': True|False,
'SupportEmail': 'string',
'SupportDescription': 'string',
'SupportUrl': 'string'
},
'Status': 'AVAILABLE'|'CREATING'|'FAILED',
'ProductARN': 'string',
'CreatedTime': datetime(2015, 1, 1)
},
'ProvisioningArtifactSummaries': [
{
'Id': 'string',
'Name': 'string',
'Description': 'string',
'CreatedTime': datetime(2015, 1, 1),
'ProvisioningArtifactMetadata': {
'string': 'string'
}
},
],
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'TagOptions': [
{
'Key': 'string',
'Value': 'string',
'Active': True|False,
'Id': 'string'
},
]
}
Response Structure
(dict) --
ProductViewDetail (dict) --
Information about the product view.
ProductViewSummary (dict) --
Summary information about the product view.
Id (string) --
The product view identifier.
ProductId (string) --
The product identifier.
Name (string) --
The name of the product.
Owner (string) --
The owner of the product. Contact the product administrator for the significance of this value.
ShortDescription (string) --
Short description of the product.
Type (string) --
The product type. Contact the product administrator for the significance of this value. If this value is MARKETPLACE , the product was created by AWS Marketplace.
Distributor (string) --
The distributor of the product. Contact the product administrator for the significance of this value.
HasDefaultPath (boolean) --
Indicates whether the product has a default path. If the product does not have a default path, call ListLaunchPaths to disambiguate between paths. Otherwise, ListLaunchPaths is not required, and the output of ProductViewSummary can be used directly with DescribeProvisioningParameters .
SupportEmail (string) --
The email contact information to obtain support for this Product.
SupportDescription (string) --
The description of the support for this Product.
SupportUrl (string) --
The URL information to obtain support for this Product.
Status (string) --
The status of the product.
ProductARN (string) --
The ARN of the product.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
ProvisioningArtifactSummaries (list) --
Information about the provisioning artifacts (also known as versions) for the specified product.
(dict) --
Summary information about a provisioning artifact (also known as a version) for a product.
Id (string) --
The identifier of the provisioning artifact.
Name (string) --
The name of the provisioning artifact.
Description (string) --
The description of the provisioning artifact.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
ProvisioningArtifactMetadata (dict) --
The metadata for the provisioning artifact. This is used with AWS Marketplace products.
Tags (list) --
Information about the tags associated with the product.
(dict) --
Information about a tag. A tag is a key-value pair. Tags are propagated to the resources created when provisioning a product.
Key (string) --
The tag key.
Value (string) --
The value for this key.
TagOptions (list) --
Information about the TagOptions associated with the product.
(dict) --
Information about a TagOption.
Key (string) --
The TagOption key.
Value (string) --
The TagOption value.
Active (boolean) --
The TagOption active state.
Id (string) --
The TagOption identifier.
Gets information about the specified product.
See also: AWS API Documentation
Request Syntax
response = client.describe_product_view(
AcceptLanguage='string',
Id='string'
)
The language code.
[REQUIRED]
The product view identifier.
dict
Response Syntax
{
'ProductViewSummary': {
'Id': 'string',
'ProductId': 'string',
'Name': 'string',
'Owner': 'string',
'ShortDescription': 'string',
'Type': 'CLOUD_FORMATION_TEMPLATE'|'MARKETPLACE',
'Distributor': 'string',
'HasDefaultPath': True|False,
'SupportEmail': 'string',
'SupportDescription': 'string',
'SupportUrl': 'string'
},
'ProvisioningArtifacts': [
{
'Id': 'string',
'Name': 'string',
'Description': 'string',
'CreatedTime': datetime(2015, 1, 1)
},
]
}
Response Structure
(dict) --
ProductViewSummary (dict) --
Summary information about the product.
Id (string) --
The product view identifier.
ProductId (string) --
The product identifier.
Name (string) --
The name of the product.
Owner (string) --
The owner of the product. Contact the product administrator for the significance of this value.
ShortDescription (string) --
Short description of the product.
Type (string) --
The product type. Contact the product administrator for the significance of this value. If this value is MARKETPLACE , the product was created by AWS Marketplace.
Distributor (string) --
The distributor of the product. Contact the product administrator for the significance of this value.
HasDefaultPath (boolean) --
Indicates whether the product has a default path. If the product does not have a default path, call ListLaunchPaths to disambiguate between paths. Otherwise, ListLaunchPaths is not required, and the output of ProductViewSummary can be used directly with DescribeProvisioningParameters .
SupportEmail (string) --
The email contact information to obtain support for this Product.
SupportDescription (string) --
The description of the support for this Product.
SupportUrl (string) --
The URL information to obtain support for this Product.
ProvisioningArtifacts (list) --
Information about the provisioning artifacts for the product.
(dict) --
Information about a provisioning artifact. A provisioning artifact is also known as a product version.
Id (string) --
The identifier of the provisioning artifact.
Name (string) --
The name of the provisioning artifact.
Description (string) --
The description of the provisioning artifact.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
Gets information about the specified provisioned product.
See also: AWS API Documentation
Request Syntax
response = client.describe_provisioned_product(
AcceptLanguage='string',
Id='string'
)
The language code.
[REQUIRED]
The provisioned product identifier.
dict
Response Syntax
{
'ProvisionedProductDetail': {
'Name': 'string',
'Arn': 'string',
'Type': 'string',
'Id': 'string',
'Status': 'AVAILABLE'|'UNDER_CHANGE'|'TAINTED'|'ERROR'|'PLAN_IN_PROGRESS',
'StatusMessage': 'string',
'CreatedTime': datetime(2015, 1, 1),
'IdempotencyToken': 'string',
'LastRecordId': 'string',
'ProductId': 'string',
'ProvisioningArtifactId': 'string'
},
'CloudWatchDashboards': [
{
'Name': 'string'
},
]
}
Response Structure
(dict) --
ProvisionedProductDetail (dict) --
Information about the provisioned product.
Name (string) --
The user-friendly name of the provisioned product.
Arn (string) --
The ARN of the provisioned product.
Type (string) --
The type of provisioned product. The supported value is CFN_STACK .
Id (string) --
The identifier of the provisioned product.
Status (string) --
The current status of the provisioned product.
StatusMessage (string) --
The current status message of the provisioned product.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
IdempotencyToken (string) --
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
LastRecordId (string) --
The record identifier of the last request performed on this provisioned product.
ProductId (string) --
The product identifier. For example, prod-abcdzk7xy33qa .
ProvisioningArtifactId (string) --
The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne .
CloudWatchDashboards (list) --
Any CloudWatch dashboards that were created when provisioning the product.
(dict) --
Information about a CloudWatch dashboard.
Name (string) --
The name of the CloudWatch dashboard.
Gets information about the resource changes for the specified plan.
See also: AWS API Documentation
Request Syntax
response = client.describe_provisioned_product_plan(
AcceptLanguage='string',
PlanId='string',
PageSize=123,
PageToken='string'
)
The language code.
[REQUIRED]
The plan identifier.
dict
Response Syntax
{
'ProvisionedProductPlanDetails': {
'CreatedTime': datetime(2015, 1, 1),
'PathId': 'string',
'ProductId': 'string',
'PlanName': 'string',
'PlanId': 'string',
'ProvisionProductId': 'string',
'ProvisionProductName': 'string',
'PlanType': 'CLOUDFORMATION',
'ProvisioningArtifactId': 'string',
'Status': 'CREATE_IN_PROGRESS'|'CREATE_SUCCESS'|'CREATE_FAILED'|'EXECUTE_IN_PROGRESS'|'EXECUTE_SUCCESS'|'EXECUTE_FAILED',
'UpdatedTime': datetime(2015, 1, 1),
'NotificationArns': [
'string',
],
'ProvisioningParameters': [
{
'Key': 'string',
'Value': 'string',
'UsePreviousValue': True|False
},
],
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'StatusMessage': 'string'
},
'ResourceChanges': [
{
'Action': 'ADD'|'MODIFY'|'REMOVE',
'LogicalResourceId': 'string',
'PhysicalResourceId': 'string',
'ResourceType': 'string',
'Replacement': 'TRUE'|'FALSE'|'CONDITIONAL',
'Scope': [
'PROPERTIES'|'METADATA'|'CREATIONPOLICY'|'UPDATEPOLICY'|'DELETIONPOLICY'|'TAGS',
],
'Details': [
{
'Target': {
'Attribute': 'PROPERTIES'|'METADATA'|'CREATIONPOLICY'|'UPDATEPOLICY'|'DELETIONPOLICY'|'TAGS',
'Name': 'string',
'RequiresRecreation': 'NEVER'|'CONDITIONALLY'|'ALWAYS'
},
'Evaluation': 'STATIC'|'DYNAMIC',
'CausingEntity': 'string'
},
]
},
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
ProvisionedProductPlanDetails (dict) --
Information about the plan.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
PathId (string) --
The path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path. To list the paths for a product, use ListLaunchPaths .
ProductId (string) --
The product identifier.
PlanName (string) --
The name of the plan.
PlanId (string) --
The plan identifier.
ProvisionProductId (string) --
The product identifier.
ProvisionProductName (string) --
The user-friendly name of the provisioned product.
PlanType (string) --
The plan type.
ProvisioningArtifactId (string) --
The identifier of the provisioning artifact.
Status (string) --
The status.
UpdatedTime (datetime) --
The time when the plan was last updated.
NotificationArns (list) --
Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.
ProvisioningParameters (list) --
Parameters specified by the administrator that are required for provisioning the product.
(dict) --
The parameter key-value pair used to update a provisioned product.
Key (string) --
The parameter key.
Value (string) --
The parameter value.
UsePreviousValue (boolean) --
If set to true, Value is ignored and the previous parameter value is kept.
Tags (list) --
One or more tags.
(dict) --
Information about a tag. A tag is a key-value pair. Tags are propagated to the resources created when provisioning a product.
Key (string) --
The tag key.
Value (string) --
The value for this key.
StatusMessage (string) --
The status message.
ResourceChanges (list) --
Information about the resource changes that will occur when the plan is executed.
(dict) --
Information about a resource change that will occur when a plan is executed.
Action (string) --
The change action.
LogicalResourceId (string) --
The ID of the resource, as defined in the CloudFormation template.
PhysicalResourceId (string) --
The ID of the resource, if it was already created.
ResourceType (string) --
The type of resource.
Replacement (string) --
If the change type is Modify , indicates whether the existing resource is deleted and replaced with a new one.
Scope (list) --
The change scope.
Details (list) --
Information about the resource changes.
(dict) --
Information about a change to a resource attribute.
Target (dict) --
Information about the resource attribute to be modified.
Attribute (string) --
The attribute to be changed.
Name (string) --
If the attribute is Properties , the value is the name of the property. Otherwise, the value is null.
RequiresRecreation (string) --
If the attribute is Properties , indicates whether a change to this property causes the resource to be re-created.
Evaluation (string) --
For static evaluations, the value of the resource attribute will change and the new value is known. For dynamic evaluations, the value might change, and any new value will be determined when the plan is updated.
CausingEntity (string) --
The ID of the entity that caused the change.
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Gets information about the specified provisioning artifact (also known as a version) for the specified product.
See also: AWS API Documentation
Request Syntax
response = client.describe_provisioning_artifact(
AcceptLanguage='string',
ProvisioningArtifactId='string',
ProductId='string',
Verbose=True|False
)
The language code.
[REQUIRED]
The identifier of the provisioning artifact.
[REQUIRED]
The product identifier.
dict
Response Syntax
{
'ProvisioningArtifactDetail': {
'Id': 'string',
'Name': 'string',
'Description': 'string',
'Type': 'CLOUD_FORMATION_TEMPLATE'|'MARKETPLACE_AMI'|'MARKETPLACE_CAR',
'CreatedTime': datetime(2015, 1, 1),
'Active': True|False
},
'Info': {
'string': 'string'
},
'Status': 'AVAILABLE'|'CREATING'|'FAILED'
}
Response Structure
(dict) --
ProvisioningArtifactDetail (dict) --
Information about the provisioning artifact.
Id (string) --
The identifier of the provisioning artifact.
Name (string) --
The name of the provisioning artifact.
Description (string) --
The description of the provisioning artifact.
Type (string) --
The type of provisioning artifact.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
Active (boolean) --
Indicates whether the product version is active.
Info (dict) --
The URL of the CloudFormation template in Amazon S3.
Status (string) --
The status of the current request.
Gets information about the configuration required to provision the specified product using the specified provisioning artifact.
If the output contains a TagOption key with an empty list of values, there is a TagOption conflict for that key. The end user cannot take action to fix the conflict, and launch is not blocked. In subsequent calls to ProvisionProduct , do not include conflicted TagOption keys as tags, or this causes the error "Parameter validation failed: Missing required parameter in Tags[N ]:Value ". Tag the provisioned product with the value sc-tagoption-conflict-portfolioId-productId .
See also: AWS API Documentation
Request Syntax
response = client.describe_provisioning_parameters(
AcceptLanguage='string',
ProductId='string',
ProvisioningArtifactId='string',
PathId='string'
)
The language code.
[REQUIRED]
The product identifier.
[REQUIRED]
The identifier of the provisioning artifact.
dict
Response Syntax
{
'ProvisioningArtifactParameters': [
{
'ParameterKey': 'string',
'DefaultValue': 'string',
'ParameterType': 'string',
'IsNoEcho': True|False,
'Description': 'string',
'ParameterConstraints': {
'AllowedValues': [
'string',
]
}
},
],
'ConstraintSummaries': [
{
'Type': 'string',
'Description': 'string'
},
],
'UsageInstructions': [
{
'Type': 'string',
'Value': 'string'
},
],
'TagOptions': [
{
'Key': 'string',
'Values': [
'string',
]
},
]
}
Response Structure
(dict) --
ProvisioningArtifactParameters (list) --
Information about the parameters used to provision the product.
(dict) --
Information about a parameter used to provision a product.
ParameterKey (string) --
The parameter key.
DefaultValue (string) --
The default value.
ParameterType (string) --
The parameter type.
IsNoEcho (boolean) --
If this value is true, the value for this parameter is obfuscated from view when the parameter is retrieved. This parameter is used to hide sensitive information.
Description (string) --
The description of the parameter.
ParameterConstraints (dict) --
Constraints that the administrator has put on a parameter.
AllowedValues (list) --
The values that the administrator has allowed for the parameter.
ConstraintSummaries (list) --
Information about the constraints used to provision the product.
(dict) --
Summary information about a constraint.
Type (string) --
The type of constraint.
Description (string) --
The description of the constraint.
UsageInstructions (list) --
Any additional metadata specifically related to the provisioning of the product. For example, see the Version field of the CloudFormation template.
(dict) --
Additional information provided by the administrator.
Type (string) --
The usage instruction type for the value.
Value (string) --
The usage instruction value for this type.
TagOptions (list) --
Information about the TagOptions associated with the resource.
(dict) --
Summary information about a TagOption.
Key (string) --
The TagOption key.
Values (list) --
The TagOption value.
Gets information about the specified request operation.
Use this operation after calling a request operation (for example, ProvisionProduct , TerminateProvisionedProduct , or UpdateProvisionedProduct ).
See also: AWS API Documentation
Request Syntax
response = client.describe_record(
AcceptLanguage='string',
Id='string',
PageToken='string',
PageSize=123
)
The language code.
[REQUIRED]
The record identifier of the provisioned product. This identifier is returned by the request operation.
dict
Response Syntax
{
'RecordDetail': {
'RecordId': 'string',
'ProvisionedProductName': 'string',
'Status': 'CREATED'|'IN_PROGRESS'|'IN_PROGRESS_IN_ERROR'|'SUCCEEDED'|'FAILED',
'CreatedTime': datetime(2015, 1, 1),
'UpdatedTime': datetime(2015, 1, 1),
'ProvisionedProductType': 'string',
'RecordType': 'string',
'ProvisionedProductId': 'string',
'ProductId': 'string',
'ProvisioningArtifactId': 'string',
'PathId': 'string',
'RecordErrors': [
{
'Code': 'string',
'Description': 'string'
},
],
'RecordTags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
'RecordOutputs': [
{
'OutputKey': 'string',
'OutputValue': 'string',
'Description': 'string'
},
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
RecordDetail (dict) --
Information about the product.
RecordId (string) --
The identifier of the record.
ProvisionedProductName (string) --
The user-friendly name of the provisioned product.
Status (string) --
The status of the provisioned product.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
UpdatedTime (datetime) --
The time when the record was last updated.
ProvisionedProductType (string) --
The type of provisioned product. The supported value is CFN_STACK .
RecordType (string) --
The record type.
ProvisionedProductId (string) --
The identifier of the provisioned product.
ProductId (string) --
The product identifier.
ProvisioningArtifactId (string) --
The identifier of the provisioning artifact.
PathId (string) --
The path identifier.
RecordErrors (list) --
The errors that occurred.
(dict) --
The error code and description resulting from an operation.
Code (string) --
The numeric value of the error.
Description (string) --
The description of the error.
RecordTags (list) --
One or more tags.
(dict) --
Information about a tag, which is a key-value pair.
Key (string) --
The key for this tag.
Value (string) --
The value for this tag.
RecordOutputs (list) --
Information about the product created as the result of a request. For example, the output for a CloudFormation-backed product that creates an S3 bucket would include the S3 bucket URL.
(dict) --
The output for the product created as the result of a request. For example, the output for a CloudFormation-backed product that creates an S3 bucket would include the S3 bucket URL.
OutputKey (string) --
The output key.
OutputValue (string) --
The output value.
Description (string) --
The description of the output.
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Describes a self-service action.
See also: AWS API Documentation
Request Syntax
response = client.describe_service_action(
Id='string',
AcceptLanguage='string'
)
[REQUIRED]
The self-service action identifier.
The language code.
dict
Response Syntax
{
'ServiceActionDetail': {
'ServiceActionSummary': {
'Id': 'string',
'Name': 'string',
'Description': 'string',
'DefinitionType': 'SSM_AUTOMATION'
},
'Definition': {
'string': 'string'
}
}
}
Response Structure
(dict) --
ServiceActionDetail (dict) --
Detailed information about the self-service action.
ServiceActionSummary (dict) --
Summary information about the self-service action.
Id (string) --
The self-service action identifier.
Name (string) --
The self-service action name.
Description (string) --
The self-service action description.
DefinitionType (string) --
The self-service action definition type. For example, SSM_AUTOMATION .
Definition (dict) --
A map that defines the self-service action.
Gets information about the specified TagOption.
See also: AWS API Documentation
Request Syntax
response = client.describe_tag_option(
Id='string'
)
[REQUIRED]
The TagOption identifier.
{
'TagOptionDetail': {
'Key': 'string',
'Value': 'string',
'Active': True|False,
'Id': 'string'
}
}
Response Structure
Information about the TagOption.
The TagOption key.
The TagOption value.
The TagOption active state.
The TagOption identifier.
Disable portfolio sharing through AWS Organizations feature. This feature will not delete your current shares but it will prevent you from creating new shares throughout your organization. Current shares will not be in sync with your organization structure if it changes after calling this API. This API can only be called by the master account in the organization.
See also: AWS API Documentation
Request Syntax
response = client.disable_aws_organizations_access()
{}
Response Structure
Disassociates a previously associated principal ARN from a specified portfolio.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_principal_from_portfolio(
AcceptLanguage='string',
PortfolioId='string',
PrincipalARN='string'
)
The language code.
[REQUIRED]
The portfolio identifier.
[REQUIRED]
The ARN of the principal (IAM user, role, or group).
dict
Response Syntax
{}
Response Structure
Disassociates the specified product from the specified portfolio.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_product_from_portfolio(
AcceptLanguage='string',
ProductId='string',
PortfolioId='string'
)
The language code.
[REQUIRED]
The product identifier.
[REQUIRED]
The portfolio identifier.
dict
Response Syntax
{}
Response Structure
Disassociates the specified self-service action association from the specified provisioning artifact.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_service_action_from_provisioning_artifact(
ProductId='string',
ProvisioningArtifactId='string',
ServiceActionId='string',
AcceptLanguage='string'
)
[REQUIRED]
The product identifier. For example, prod-abcdzk7xy33qa .
[REQUIRED]
The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne .
[REQUIRED]
The self-service action identifier. For example, act-fs7abcd89wxyz .
The language code.
dict
Response Syntax
{}
Response Structure
Disassociates the specified TagOption from the specified resource.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_tag_option_from_resource(
ResourceId='string',
TagOptionId='string'
)
[REQUIRED]
The resource identifier.
[REQUIRED]
The TagOption identifier.
dict
Response Syntax
{}
Response Structure
Enable portfolio sharing feature through AWS Organizations. This API will allow Service Catalog to receive updates on your organization in order to sync your shares with the current structure. This API can only be called by the master account in the organization.
By calling this API Service Catalog will use FAS credentials to call organizations:EnableAWSServiceAccess so that your shares can be in sync with any changes in your AWS Organizations.
See also: AWS API Documentation
Request Syntax
response = client.enable_aws_organizations_access()
{}
Response Structure
Provisions or modifies a product based on the resource changes for the specified plan.
See also: AWS API Documentation
Request Syntax
response = client.execute_provisioned_product_plan(
AcceptLanguage='string',
PlanId='string',
IdempotencyToken='string'
)
The language code.
[REQUIRED]
The plan identifier.
[REQUIRED]
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
This field is autopopulated if not provided.
dict
Response Syntax
{
'RecordDetail': {
'RecordId': 'string',
'ProvisionedProductName': 'string',
'Status': 'CREATED'|'IN_PROGRESS'|'IN_PROGRESS_IN_ERROR'|'SUCCEEDED'|'FAILED',
'CreatedTime': datetime(2015, 1, 1),
'UpdatedTime': datetime(2015, 1, 1),
'ProvisionedProductType': 'string',
'RecordType': 'string',
'ProvisionedProductId': 'string',
'ProductId': 'string',
'ProvisioningArtifactId': 'string',
'PathId': 'string',
'RecordErrors': [
{
'Code': 'string',
'Description': 'string'
},
],
'RecordTags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
}
Response Structure
(dict) --
RecordDetail (dict) --
Information about the result of provisioning the product.
RecordId (string) --
The identifier of the record.
ProvisionedProductName (string) --
The user-friendly name of the provisioned product.
Status (string) --
The status of the provisioned product.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
UpdatedTime (datetime) --
The time when the record was last updated.
ProvisionedProductType (string) --
The type of provisioned product. The supported value is CFN_STACK .
RecordType (string) --
The record type.
ProvisionedProductId (string) --
The identifier of the provisioned product.
ProductId (string) --
The product identifier.
ProvisioningArtifactId (string) --
The identifier of the provisioning artifact.
PathId (string) --
The path identifier.
RecordErrors (list) --
The errors that occurred.
(dict) --
The error code and description resulting from an operation.
Code (string) --
The numeric value of the error.
Description (string) --
The description of the error.
RecordTags (list) --
One or more tags.
(dict) --
Information about a tag, which is a key-value pair.
Key (string) --
The key for this tag.
Value (string) --
The value for this tag.
Executes a self-service action against a provisioned product.
See also: AWS API Documentation
Request Syntax
response = client.execute_provisioned_product_service_action(
ProvisionedProductId='string',
ServiceActionId='string',
ExecuteToken='string',
AcceptLanguage='string'
)
[REQUIRED]
The identifier of the provisioned product.
[REQUIRED]
The self-service action identifier. For example, act-fs7abcd89wxyz .
[REQUIRED]
An idempotency token that uniquely identifies the execute request.
This field is autopopulated if not provided.
The language code.
dict
Response Syntax
{
'RecordDetail': {
'RecordId': 'string',
'ProvisionedProductName': 'string',
'Status': 'CREATED'|'IN_PROGRESS'|'IN_PROGRESS_IN_ERROR'|'SUCCEEDED'|'FAILED',
'CreatedTime': datetime(2015, 1, 1),
'UpdatedTime': datetime(2015, 1, 1),
'ProvisionedProductType': 'string',
'RecordType': 'string',
'ProvisionedProductId': 'string',
'ProductId': 'string',
'ProvisioningArtifactId': 'string',
'PathId': 'string',
'RecordErrors': [
{
'Code': 'string',
'Description': 'string'
},
],
'RecordTags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
}
Response Structure
(dict) --
RecordDetail (dict) --
An object containing detailed information about the result of provisioning the product.
RecordId (string) --
The identifier of the record.
ProvisionedProductName (string) --
The user-friendly name of the provisioned product.
Status (string) --
The status of the provisioned product.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
UpdatedTime (datetime) --
The time when the record was last updated.
ProvisionedProductType (string) --
The type of provisioned product. The supported value is CFN_STACK .
RecordType (string) --
The record type.
ProvisionedProductId (string) --
The identifier of the provisioned product.
ProductId (string) --
The product identifier.
ProvisioningArtifactId (string) --
The identifier of the provisioning artifact.
PathId (string) --
The path identifier.
RecordErrors (list) --
The errors that occurred.
(dict) --
The error code and description resulting from an operation.
Code (string) --
The numeric value of the error.
Description (string) --
The description of the error.
RecordTags (list) --
One or more tags.
(dict) --
Information about a tag, which is a key-value pair.
Key (string) --
The key for this tag.
Value (string) --
The value for this tag.
Generate a presigned url given a client, its method, and arguments
The presigned url
Get the Access Status for AWS Organization portfolio share feature. This API can only be called by the master account in the organization.
See also: AWS API Documentation
Request Syntax
response = client.get_aws_organizations_access_status()
{
'AccessStatus': 'ENABLED'|'UNDER_CHANGE'|'DISABLED'
}
Response Structure
The status of the portfolio share feature.
Create a paginator for an operation.
Returns an object that can wait for some condition.
Lists all portfolios for which sharing was accepted by this account.
See also: AWS API Documentation
Request Syntax
response = client.list_accepted_portfolio_shares(
AcceptLanguage='string',
PageToken='string',
PageSize=123,
PortfolioShareType='IMPORTED'|'AWS_SERVICECATALOG'|'AWS_ORGANIZATIONS'
)
The language code.
The type of shared portfolios to list. The default is to list imported portfolios.
dict
Response Syntax
{
'PortfolioDetails': [
{
'Id': 'string',
'ARN': 'string',
'DisplayName': 'string',
'Description': 'string',
'CreatedTime': datetime(2015, 1, 1),
'ProviderName': 'string'
},
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
PortfolioDetails (list) --
Information about the portfolios.
(dict) --
Information about a portfolio.
Id (string) --
The portfolio identifier.
ARN (string) --
The ARN assigned to the portfolio.
DisplayName (string) --
The name to use for display purposes.
Description (string) --
The description of the portfolio.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
ProviderName (string) --
The name of the portfolio provider.
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Lists the constraints for the specified portfolio and product.
See also: AWS API Documentation
Request Syntax
response = client.list_constraints_for_portfolio(
AcceptLanguage='string',
PortfolioId='string',
ProductId='string',
PageSize=123,
PageToken='string'
)
The language code.
[REQUIRED]
The portfolio identifier.
dict
Response Syntax
{
'ConstraintDetails': [
{
'ConstraintId': 'string',
'Type': 'string',
'Description': 'string',
'Owner': 'string'
},
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
ConstraintDetails (list) --
Information about the constraints.
(dict) --
Information about a constraint.
ConstraintId (string) --
The identifier of the constraint.
Type (string) --
The type of constraint.
Description (string) --
The description of the constraint.
Owner (string) --
The owner of the constraint.
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Lists the paths to the specified product. A path is how the user has access to a specified product, and is necessary when provisioning a product. A path also determines the constraints put on the product.
See also: AWS API Documentation
Request Syntax
response = client.list_launch_paths(
AcceptLanguage='string',
ProductId='string',
PageSize=123,
PageToken='string'
)
The language code.
[REQUIRED]
The product identifier.
dict
Response Syntax
{
'LaunchPathSummaries': [
{
'Id': 'string',
'ConstraintSummaries': [
{
'Type': 'string',
'Description': 'string'
},
],
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'Name': 'string'
},
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
LaunchPathSummaries (list) --
Information about the launch path.
(dict) --
Summary information about a product path for a user.
Id (string) --
The identifier of the product path.
ConstraintSummaries (list) --
The constraints on the portfolio-product relationship.
(dict) --
Summary information about a constraint.
Type (string) --
The type of constraint.
Description (string) --
The description of the constraint.
Tags (list) --
The tags associated with this product path.
(dict) --
Information about a tag. A tag is a key-value pair. Tags are propagated to the resources created when provisioning a product.
Key (string) --
The tag key.
Value (string) --
The value for this key.
Name (string) --
The name of the portfolio to which the user was assigned.
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Lists the organization nodes that have access to the specified portfolio. This API can only be called by the master account in the organization.
See also: AWS API Documentation
Request Syntax
response = client.list_organization_portfolio_access(
AcceptLanguage='string',
PortfolioId='string',
OrganizationNodeType='ORGANIZATION'|'ORGANIZATIONAL_UNIT'|'ACCOUNT',
PageToken='string',
PageSize=123
)
The language code.
[REQUIRED]
The portfolio identifier. For example, port-2abcdext3y5fk .
[REQUIRED]
The organization node type that will be returned in the output.
dict
Response Syntax
{
'OrganizationNodes': [
{
'Type': 'ORGANIZATION'|'ORGANIZATIONAL_UNIT'|'ACCOUNT',
'Value': 'string'
},
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
OrganizationNodes (list) --
Displays information about the organization nodes.
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Lists the account IDs that have access to the specified portfolio.
See also: AWS API Documentation
Request Syntax
response = client.list_portfolio_access(
AcceptLanguage='string',
PortfolioId='string'
)
The language code.
[REQUIRED]
The portfolio identifier.
dict
Response Syntax
{
'AccountIds': [
'string',
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
AccountIds (list) --
Information about the AWS accounts with access to the portfolio.
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Lists all portfolios in the catalog.
See also: AWS API Documentation
Request Syntax
response = client.list_portfolios(
AcceptLanguage='string',
PageToken='string',
PageSize=123
)
The language code.
dict
Response Syntax
{
'PortfolioDetails': [
{
'Id': 'string',
'ARN': 'string',
'DisplayName': 'string',
'Description': 'string',
'CreatedTime': datetime(2015, 1, 1),
'ProviderName': 'string'
},
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
PortfolioDetails (list) --
Information about the portfolios.
(dict) --
Information about a portfolio.
Id (string) --
The portfolio identifier.
ARN (string) --
The ARN assigned to the portfolio.
DisplayName (string) --
The name to use for display purposes.
Description (string) --
The description of the portfolio.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
ProviderName (string) --
The name of the portfolio provider.
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Lists all portfolios that the specified product is associated with.
See also: AWS API Documentation
Request Syntax
response = client.list_portfolios_for_product(
AcceptLanguage='string',
ProductId='string',
PageToken='string',
PageSize=123
)
The language code.
[REQUIRED]
The product identifier.
dict
Response Syntax
{
'PortfolioDetails': [
{
'Id': 'string',
'ARN': 'string',
'DisplayName': 'string',
'Description': 'string',
'CreatedTime': datetime(2015, 1, 1),
'ProviderName': 'string'
},
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
PortfolioDetails (list) --
Information about the portfolios.
(dict) --
Information about a portfolio.
Id (string) --
The portfolio identifier.
ARN (string) --
The ARN assigned to the portfolio.
DisplayName (string) --
The name to use for display purposes.
Description (string) --
The description of the portfolio.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
ProviderName (string) --
The name of the portfolio provider.
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Lists all principal ARNs associated with the specified portfolio.
See also: AWS API Documentation
Request Syntax
response = client.list_principals_for_portfolio(
AcceptLanguage='string',
PortfolioId='string',
PageSize=123,
PageToken='string'
)
The language code.
[REQUIRED]
The portfolio identifier.
dict
Response Syntax
{
'Principals': [
{
'PrincipalARN': 'string',
'PrincipalType': 'IAM'
},
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
Principals (list) --
The IAM principals (users or roles) associated with the portfolio.
(dict) --
Information about a principal.
PrincipalARN (string) --
The ARN of the principal (IAM user, role, or group).
PrincipalType (string) --
The principal type. The supported value is IAM .
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Lists the plans for the specified provisioned product or all plans to which the user has access.
See also: AWS API Documentation
Request Syntax
response = client.list_provisioned_product_plans(
AcceptLanguage='string',
ProvisionProductId='string',
PageSize=123,
PageToken='string',
AccessLevelFilter={
'Key': 'Account'|'Role'|'User',
'Value': 'string'
}
)
The language code.
The access level to use to obtain results. The default is User .
The access level.
The user to which the access level applies. The only supported value is Self .
dict
Response Syntax
{
'ProvisionedProductPlans': [
{
'PlanName': 'string',
'PlanId': 'string',
'ProvisionProductId': 'string',
'ProvisionProductName': 'string',
'PlanType': 'CLOUDFORMATION',
'ProvisioningArtifactId': 'string'
},
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
ProvisionedProductPlans (list) --
Information about the plans.
(dict) --
Summary information about a plan.
PlanName (string) --
The name of the plan.
PlanId (string) --
The plan identifier.
ProvisionProductId (string) --
The product identifier.
ProvisionProductName (string) --
The user-friendly name of the provisioned product.
PlanType (string) --
The plan type.
ProvisioningArtifactId (string) --
The identifier of the provisioning artifact.
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Lists all provisioning artifacts (also known as versions) for the specified product.
See also: AWS API Documentation
Request Syntax
response = client.list_provisioning_artifacts(
AcceptLanguage='string',
ProductId='string'
)
The language code.
[REQUIRED]
The product identifier.
dict
Response Syntax
{
'ProvisioningArtifactDetails': [
{
'Id': 'string',
'Name': 'string',
'Description': 'string',
'Type': 'CLOUD_FORMATION_TEMPLATE'|'MARKETPLACE_AMI'|'MARKETPLACE_CAR',
'CreatedTime': datetime(2015, 1, 1),
'Active': True|False
},
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
ProvisioningArtifactDetails (list) --
Information about the provisioning artifacts.
(dict) --
Information about a provisioning artifact (also known as a version) for a product.
Id (string) --
The identifier of the provisioning artifact.
Name (string) --
The name of the provisioning artifact.
Description (string) --
The description of the provisioning artifact.
Type (string) --
The type of provisioning artifact.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
Active (boolean) --
Indicates whether the product version is active.
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Lists all provisioning artifacts (also known as versions) for the specified self-service action.
See also: AWS API Documentation
Request Syntax
response = client.list_provisioning_artifacts_for_service_action(
ServiceActionId='string',
PageSize=123,
PageToken='string',
AcceptLanguage='string'
)
[REQUIRED]
The self-service action identifier. For example, act-fs7abcd89wxyz .
The language code.
dict
Response Syntax
{
'ProvisioningArtifactViews': [
{
'ProductViewSummary': {
'Id': 'string',
'ProductId': 'string',
'Name': 'string',
'Owner': 'string',
'ShortDescription': 'string',
'Type': 'CLOUD_FORMATION_TEMPLATE'|'MARKETPLACE',
'Distributor': 'string',
'HasDefaultPath': True|False,
'SupportEmail': 'string',
'SupportDescription': 'string',
'SupportUrl': 'string'
},
'ProvisioningArtifact': {
'Id': 'string',
'Name': 'string',
'Description': 'string',
'CreatedTime': datetime(2015, 1, 1)
}
},
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
ProvisioningArtifactViews (list) --
An array of objects with information about product views and provisioning artifacts.
(dict) --
An object that contains summary information about a product view and a provisioning artifact.
ProductViewSummary (dict) --
Summary information about a product view.
Id (string) --
The product view identifier.
ProductId (string) --
The product identifier.
Name (string) --
The name of the product.
Owner (string) --
The owner of the product. Contact the product administrator for the significance of this value.
ShortDescription (string) --
Short description of the product.
Type (string) --
The product type. Contact the product administrator for the significance of this value. If this value is MARKETPLACE , the product was created by AWS Marketplace.
Distributor (string) --
The distributor of the product. Contact the product administrator for the significance of this value.
HasDefaultPath (boolean) --
Indicates whether the product has a default path. If the product does not have a default path, call ListLaunchPaths to disambiguate between paths. Otherwise, ListLaunchPaths is not required, and the output of ProductViewSummary can be used directly with DescribeProvisioningParameters .
SupportEmail (string) --
The email contact information to obtain support for this Product.
SupportDescription (string) --
The description of the support for this Product.
SupportUrl (string) --
The URL information to obtain support for this Product.
ProvisioningArtifact (dict) --
Information about a provisioning artifact. A provisioning artifact is also known as a product version.
Id (string) --
The identifier of the provisioning artifact.
Name (string) --
The name of the provisioning artifact.
Description (string) --
The description of the provisioning artifact.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Lists the specified requests or all performed requests.
See also: AWS API Documentation
Request Syntax
response = client.list_record_history(
AcceptLanguage='string',
AccessLevelFilter={
'Key': 'Account'|'Role'|'User',
'Value': 'string'
},
SearchFilter={
'Key': 'string',
'Value': 'string'
},
PageSize=123,
PageToken='string'
)
The language code.
The access level to use to obtain results. The default is User .
The access level.
The user to which the access level applies. The only supported value is Self .
The search filter to scope the results.
The filter key.
The filter value.
dict
Response Syntax
{
'RecordDetails': [
{
'RecordId': 'string',
'ProvisionedProductName': 'string',
'Status': 'CREATED'|'IN_PROGRESS'|'IN_PROGRESS_IN_ERROR'|'SUCCEEDED'|'FAILED',
'CreatedTime': datetime(2015, 1, 1),
'UpdatedTime': datetime(2015, 1, 1),
'ProvisionedProductType': 'string',
'RecordType': 'string',
'ProvisionedProductId': 'string',
'ProductId': 'string',
'ProvisioningArtifactId': 'string',
'PathId': 'string',
'RecordErrors': [
{
'Code': 'string',
'Description': 'string'
},
],
'RecordTags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
RecordDetails (list) --
The records, in reverse chronological order.
(dict) --
Information about a request operation.
RecordId (string) --
The identifier of the record.
ProvisionedProductName (string) --
The user-friendly name of the provisioned product.
Status (string) --
The status of the provisioned product.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
UpdatedTime (datetime) --
The time when the record was last updated.
ProvisionedProductType (string) --
The type of provisioned product. The supported value is CFN_STACK .
RecordType (string) --
The record type.
ProvisionedProductId (string) --
The identifier of the provisioned product.
ProductId (string) --
The product identifier.
ProvisioningArtifactId (string) --
The identifier of the provisioning artifact.
PathId (string) --
The path identifier.
RecordErrors (list) --
The errors that occurred.
(dict) --
The error code and description resulting from an operation.
Code (string) --
The numeric value of the error.
Description (string) --
The description of the error.
RecordTags (list) --
One or more tags.
(dict) --
Information about a tag, which is a key-value pair.
Key (string) --
The key for this tag.
Value (string) --
The value for this tag.
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Lists the resources associated with the specified TagOption.
See also: AWS API Documentation
Request Syntax
response = client.list_resources_for_tag_option(
TagOptionId='string',
ResourceType='string',
PageSize=123,
PageToken='string'
)
[REQUIRED]
The TagOption identifier.
The resource type.
dict
Response Syntax
{
'ResourceDetails': [
{
'Id': 'string',
'ARN': 'string',
'Name': 'string',
'Description': 'string',
'CreatedTime': datetime(2015, 1, 1)
},
],
'PageToken': 'string'
}
Response Structure
(dict) --
ResourceDetails (list) --
Information about the resources.
(dict) --
Information about a resource.
Id (string) --
The identifier of the resource.
ARN (string) --
The ARN of the resource.
Name (string) --
The name of the resource.
Description (string) --
The description of the resource.
CreatedTime (datetime) --
The creation time of the resource.
PageToken (string) --
The page token for the next set of results. To retrieve the first set of results, use null.
Lists all self-service actions.
See also: AWS API Documentation
Request Syntax
response = client.list_service_actions(
AcceptLanguage='string',
PageSize=123,
PageToken='string'
)
The language code.
dict
Response Syntax
{
'ServiceActionSummaries': [
{
'Id': 'string',
'Name': 'string',
'Description': 'string',
'DefinitionType': 'SSM_AUTOMATION'
},
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
ServiceActionSummaries (list) --
An object containing information about the service actions associated with the provisioning artifact.
(dict) --
Detailed information about the self-service action.
Id (string) --
The self-service action identifier.
Name (string) --
The self-service action name.
Description (string) --
The self-service action description.
DefinitionType (string) --
The self-service action definition type. For example, SSM_AUTOMATION .
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Returns a paginated list of self-service actions associated with the specified Product ID and Provisioning Artifact ID.
See also: AWS API Documentation
Request Syntax
response = client.list_service_actions_for_provisioning_artifact(
ProductId='string',
ProvisioningArtifactId='string',
PageSize=123,
PageToken='string',
AcceptLanguage='string'
)
[REQUIRED]
The product identifier. For example, prod-abcdzk7xy33qa .
[REQUIRED]
The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne .
The language code.
dict
Response Syntax
{
'ServiceActionSummaries': [
{
'Id': 'string',
'Name': 'string',
'Description': 'string',
'DefinitionType': 'SSM_AUTOMATION'
},
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
ServiceActionSummaries (list) --
An object containing information about the self-service actions associated with the provisioning artifact.
(dict) --
Detailed information about the self-service action.
Id (string) --
The self-service action identifier.
Name (string) --
The self-service action name.
Description (string) --
The self-service action description.
DefinitionType (string) --
The self-service action definition type. For example, SSM_AUTOMATION .
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Lists the specified TagOptions or all TagOptions.
See also: AWS API Documentation
Request Syntax
response = client.list_tag_options(
Filters={
'Key': 'string',
'Value': 'string',
'Active': True|False
},
PageSize=123,
PageToken='string'
)
The search filters. If no search filters are specified, the output includes all TagOptions.
The TagOption key.
The TagOption value.
The active state.
dict
Response Syntax
{
'TagOptionDetails': [
{
'Key': 'string',
'Value': 'string',
'Active': True|False,
'Id': 'string'
},
],
'PageToken': 'string'
}
Response Structure
(dict) --
TagOptionDetails (list) --
Information about the TagOptions.
(dict) --
Information about a TagOption.
Key (string) --
The TagOption key.
Value (string) --
The TagOption value.
Active (boolean) --
The TagOption active state.
Id (string) --
The TagOption identifier.
PageToken (string) --
The page token for the next set of results. To retrieve the first set of results, use null.
Provisions the specified product.
A provisioned product is a resourced instance of a product. For example, provisioning a product based on a CloudFormation template launches a CloudFormation stack and its underlying resources. You can check the status of this request using DescribeRecord .
If the request contains a tag key with an empty list of values, there is a tag conflict for that key. Do not include conflicted keys as tags, or this causes the error "Parameter validation failed: Missing required parameter in Tags[N ]:Value ".
See also: AWS API Documentation
Request Syntax
response = client.provision_product(
AcceptLanguage='string',
ProductId='string',
ProvisioningArtifactId='string',
PathId='string',
ProvisionedProductName='string',
ProvisioningParameters=[
{
'Key': 'string',
'Value': 'string'
},
],
Tags=[
{
'Key': 'string',
'Value': 'string'
},
],
NotificationArns=[
'string',
],
ProvisionToken='string'
)
The language code.
[REQUIRED]
The product identifier.
[REQUIRED]
The identifier of the provisioning artifact.
[REQUIRED]
A user-friendly name for the provisioned product. This value must be unique for the AWS account and cannot be updated after the product is provisioned.
Parameters specified by the administrator that are required for provisioning the product.
Information about a parameter used to provision a product.
The parameter key.
The parameter value.
One or more tags.
Information about a tag. A tag is a key-value pair. Tags are propagated to the resources created when provisioning a product.
The tag key.
The value for this key.
Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.
[REQUIRED]
An idempotency token that uniquely identifies the provisioning request.
This field is autopopulated if not provided.
dict
Response Syntax
{
'RecordDetail': {
'RecordId': 'string',
'ProvisionedProductName': 'string',
'Status': 'CREATED'|'IN_PROGRESS'|'IN_PROGRESS_IN_ERROR'|'SUCCEEDED'|'FAILED',
'CreatedTime': datetime(2015, 1, 1),
'UpdatedTime': datetime(2015, 1, 1),
'ProvisionedProductType': 'string',
'RecordType': 'string',
'ProvisionedProductId': 'string',
'ProductId': 'string',
'ProvisioningArtifactId': 'string',
'PathId': 'string',
'RecordErrors': [
{
'Code': 'string',
'Description': 'string'
},
],
'RecordTags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
}
Response Structure
(dict) --
RecordDetail (dict) --
Information about the result of provisioning the product.
RecordId (string) --
The identifier of the record.
ProvisionedProductName (string) --
The user-friendly name of the provisioned product.
Status (string) --
The status of the provisioned product.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
UpdatedTime (datetime) --
The time when the record was last updated.
ProvisionedProductType (string) --
The type of provisioned product. The supported value is CFN_STACK .
RecordType (string) --
The record type.
ProvisionedProductId (string) --
The identifier of the provisioned product.
ProductId (string) --
The product identifier.
ProvisioningArtifactId (string) --
The identifier of the provisioning artifact.
PathId (string) --
The path identifier.
RecordErrors (list) --
The errors that occurred.
(dict) --
The error code and description resulting from an operation.
Code (string) --
The numeric value of the error.
Description (string) --
The description of the error.
RecordTags (list) --
One or more tags.
(dict) --
Information about a tag, which is a key-value pair.
Key (string) --
The key for this tag.
Value (string) --
The value for this tag.
Rejects an offer to share the specified portfolio.
See also: AWS API Documentation
Request Syntax
response = client.reject_portfolio_share(
AcceptLanguage='string',
PortfolioId='string',
PortfolioShareType='IMPORTED'|'AWS_SERVICECATALOG'|'AWS_ORGANIZATIONS'
)
The language code.
[REQUIRED]
The portfolio identifier.
The type of shared portfolios to reject. The default is to reject imported portfolios.
For example, aws servicecatalog reject-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS
dict
Response Syntax
{}
Response Structure
Lists the provisioned products that are available (not terminated).
To use additional filtering, see SearchProvisionedProducts .
See also: AWS API Documentation
Request Syntax
response = client.scan_provisioned_products(
AcceptLanguage='string',
AccessLevelFilter={
'Key': 'Account'|'Role'|'User',
'Value': 'string'
},
PageSize=123,
PageToken='string'
)
The language code.
The access level to use to obtain results. The default is User .
The access level.
The user to which the access level applies. The only supported value is Self .
dict
Response Syntax
{
'ProvisionedProducts': [
{
'Name': 'string',
'Arn': 'string',
'Type': 'string',
'Id': 'string',
'Status': 'AVAILABLE'|'UNDER_CHANGE'|'TAINTED'|'ERROR'|'PLAN_IN_PROGRESS',
'StatusMessage': 'string',
'CreatedTime': datetime(2015, 1, 1),
'IdempotencyToken': 'string',
'LastRecordId': 'string',
'ProductId': 'string',
'ProvisioningArtifactId': 'string'
},
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
ProvisionedProducts (list) --
Information about the provisioned products.
(dict) --
Information about a provisioned product.
Name (string) --
The user-friendly name of the provisioned product.
Arn (string) --
The ARN of the provisioned product.
Type (string) --
The type of provisioned product. The supported value is CFN_STACK .
Id (string) --
The identifier of the provisioned product.
Status (string) --
The current status of the provisioned product.
StatusMessage (string) --
The current status message of the provisioned product.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
IdempotencyToken (string) --
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
LastRecordId (string) --
The record identifier of the last request performed on this provisioned product.
ProductId (string) --
The product identifier. For example, prod-abcdzk7xy33qa .
ProvisioningArtifactId (string) --
The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne .
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Gets information about the products to which the caller has access.
See also: AWS API Documentation
Request Syntax
response = client.search_products(
AcceptLanguage='string',
Filters={
'string': [
'string',
]
},
PageSize=123,
SortBy='Title'|'VersionCount'|'CreationDate',
SortOrder='ASCENDING'|'DESCENDING',
PageToken='string'
)
The language code.
The search filters. If no search filters are specified, the output includes all products to which the caller has access.
dict
Response Syntax
{
'ProductViewSummaries': [
{
'Id': 'string',
'ProductId': 'string',
'Name': 'string',
'Owner': 'string',
'ShortDescription': 'string',
'Type': 'CLOUD_FORMATION_TEMPLATE'|'MARKETPLACE',
'Distributor': 'string',
'HasDefaultPath': True|False,
'SupportEmail': 'string',
'SupportDescription': 'string',
'SupportUrl': 'string'
},
],
'ProductViewAggregations': {
'string': [
{
'Value': 'string',
'ApproximateCount': 123
},
]
},
'NextPageToken': 'string'
}
Response Structure
(dict) --
ProductViewSummaries (list) --
Information about the product views.
(dict) --
Summary information about a product view.
Id (string) --
The product view identifier.
ProductId (string) --
The product identifier.
Name (string) --
The name of the product.
Owner (string) --
The owner of the product. Contact the product administrator for the significance of this value.
ShortDescription (string) --
Short description of the product.
Type (string) --
The product type. Contact the product administrator for the significance of this value. If this value is MARKETPLACE , the product was created by AWS Marketplace.
Distributor (string) --
The distributor of the product. Contact the product administrator for the significance of this value.
HasDefaultPath (boolean) --
Indicates whether the product has a default path. If the product does not have a default path, call ListLaunchPaths to disambiguate between paths. Otherwise, ListLaunchPaths is not required, and the output of ProductViewSummary can be used directly with DescribeProvisioningParameters .
SupportEmail (string) --
The email contact information to obtain support for this Product.
SupportDescription (string) --
The description of the support for this Product.
SupportUrl (string) --
The URL information to obtain support for this Product.
ProductViewAggregations (dict) --
The product view aggregations.
(string) --
(list) --
(dict) --
A single product view aggregation value/count pair, containing metadata about each product to which the calling user has access.
Value (string) --
The value of the product view aggregation.
ApproximateCount (integer) --
An approximate count of the products that match the value.
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Gets information about the products for the specified portfolio or all products.
See also: AWS API Documentation
Request Syntax
response = client.search_products_as_admin(
AcceptLanguage='string',
PortfolioId='string',
Filters={
'string': [
'string',
]
},
SortBy='Title'|'VersionCount'|'CreationDate',
SortOrder='ASCENDING'|'DESCENDING',
PageToken='string',
PageSize=123,
ProductSource='ACCOUNT'
)
The language code.
The search filters. If no search filters are specified, the output includes all products to which the administrator has access.
dict
Response Syntax
{
'ProductViewDetails': [
{
'ProductViewSummary': {
'Id': 'string',
'ProductId': 'string',
'Name': 'string',
'Owner': 'string',
'ShortDescription': 'string',
'Type': 'CLOUD_FORMATION_TEMPLATE'|'MARKETPLACE',
'Distributor': 'string',
'HasDefaultPath': True|False,
'SupportEmail': 'string',
'SupportDescription': 'string',
'SupportUrl': 'string'
},
'Status': 'AVAILABLE'|'CREATING'|'FAILED',
'ProductARN': 'string',
'CreatedTime': datetime(2015, 1, 1)
},
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
ProductViewDetails (list) --
Information about the product views.
(dict) --
Information about a product view.
ProductViewSummary (dict) --
Summary information about the product view.
Id (string) --
The product view identifier.
ProductId (string) --
The product identifier.
Name (string) --
The name of the product.
Owner (string) --
The owner of the product. Contact the product administrator for the significance of this value.
ShortDescription (string) --
Short description of the product.
Type (string) --
The product type. Contact the product administrator for the significance of this value. If this value is MARKETPLACE , the product was created by AWS Marketplace.
Distributor (string) --
The distributor of the product. Contact the product administrator for the significance of this value.
HasDefaultPath (boolean) --
Indicates whether the product has a default path. If the product does not have a default path, call ListLaunchPaths to disambiguate between paths. Otherwise, ListLaunchPaths is not required, and the output of ProductViewSummary can be used directly with DescribeProvisioningParameters .
SupportEmail (string) --
The email contact information to obtain support for this Product.
SupportDescription (string) --
The description of the support for this Product.
SupportUrl (string) --
The URL information to obtain support for this Product.
Status (string) --
The status of the product.
ProductARN (string) --
The ARN of the product.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Gets information about the provisioned products that meet the specified criteria.
See also: AWS API Documentation
Request Syntax
response = client.search_provisioned_products(
AcceptLanguage='string',
AccessLevelFilter={
'Key': 'Account'|'Role'|'User',
'Value': 'string'
},
Filters={
'string': [
'string',
]
},
SortBy='string',
SortOrder='ASCENDING'|'DESCENDING',
PageSize=123,
PageToken='string'
)
The language code.
The access level to use to obtain results. The default is User .
The access level.
The user to which the access level applies. The only supported value is Self .
The search filters.
When the key is SearchQuery , the searchable fields are arn , createdTime , id , lastRecordId , idempotencyToken , name , physicalId , productId , provisioningArtifact , type , status , tags , userArn , and userArnSession .
Example: "SearchQuery":["status:AVAILABLE"]
dict
Response Syntax
{
'ProvisionedProducts': [
{
'Name': 'string',
'Arn': 'string',
'Type': 'string',
'Id': 'string',
'Status': 'AVAILABLE'|'UNDER_CHANGE'|'TAINTED'|'ERROR'|'PLAN_IN_PROGRESS',
'StatusMessage': 'string',
'CreatedTime': datetime(2015, 1, 1),
'IdempotencyToken': 'string',
'LastRecordId': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'PhysicalId': 'string',
'ProductId': 'string',
'ProvisioningArtifactId': 'string',
'UserArn': 'string',
'UserArnSession': 'string'
},
],
'TotalResultsCount': 123,
'NextPageToken': 'string'
}
Response Structure
(dict) --
ProvisionedProducts (list) --
Information about the provisioned products.
(dict) --
Information about a provisioned product.
Name (string) --
The user-friendly name of the provisioned product.
Arn (string) --
The ARN of the provisioned product.
Type (string) --
The type of provisioned product. The supported value is CFN_STACK .
Id (string) --
The identifier of the provisioned product.
Status (string) --
The current status of the provisioned product.
StatusMessage (string) --
The current status message of the provisioned product.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
IdempotencyToken (string) --
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
LastRecordId (string) --
The record identifier of the last request performed on this provisioned product.
Tags (list) --
One or more tags.
(dict) --
Information about a tag. A tag is a key-value pair. Tags are propagated to the resources created when provisioning a product.
Key (string) --
The tag key.
Value (string) --
The value for this key.
PhysicalId (string) --
The assigned identifier for the resource, such as an EC2 instance ID or an S3 bucket name.
ProductId (string) --
The product identifier.
ProvisioningArtifactId (string) --
The identifier of the provisioning artifact.
UserArn (string) --
The Amazon Resource Name (ARN) of the IAM user.
UserArnSession (string) --
The ARN of the IAM user in the session. This ARN might contain a session ID.
TotalResultsCount (integer) --
The number of provisioned products found.
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Terminates the specified provisioned product.
This operation does not delete any records associated with the provisioned product.
You can check the status of this request using DescribeRecord .
See also: AWS API Documentation
Request Syntax
response = client.terminate_provisioned_product(
ProvisionedProductName='string',
ProvisionedProductId='string',
TerminateToken='string',
IgnoreErrors=True|False,
AcceptLanguage='string'
)
[REQUIRED]
An idempotency token that uniquely identifies the termination request. This token is only valid during the termination process. After the provisioned product is terminated, subsequent requests to terminate the same provisioned product always return ResourceNotFound .
This field is autopopulated if not provided.
The language code.
dict
Response Syntax
{
'RecordDetail': {
'RecordId': 'string',
'ProvisionedProductName': 'string',
'Status': 'CREATED'|'IN_PROGRESS'|'IN_PROGRESS_IN_ERROR'|'SUCCEEDED'|'FAILED',
'CreatedTime': datetime(2015, 1, 1),
'UpdatedTime': datetime(2015, 1, 1),
'ProvisionedProductType': 'string',
'RecordType': 'string',
'ProvisionedProductId': 'string',
'ProductId': 'string',
'ProvisioningArtifactId': 'string',
'PathId': 'string',
'RecordErrors': [
{
'Code': 'string',
'Description': 'string'
},
],
'RecordTags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
}
Response Structure
(dict) --
RecordDetail (dict) --
Information about the result of this request.
RecordId (string) --
The identifier of the record.
ProvisionedProductName (string) --
The user-friendly name of the provisioned product.
Status (string) --
The status of the provisioned product.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
UpdatedTime (datetime) --
The time when the record was last updated.
ProvisionedProductType (string) --
The type of provisioned product. The supported value is CFN_STACK .
RecordType (string) --
The record type.
ProvisionedProductId (string) --
The identifier of the provisioned product.
ProductId (string) --
The product identifier.
ProvisioningArtifactId (string) --
The identifier of the provisioning artifact.
PathId (string) --
The path identifier.
RecordErrors (list) --
The errors that occurred.
(dict) --
The error code and description resulting from an operation.
Code (string) --
The numeric value of the error.
Description (string) --
The description of the error.
RecordTags (list) --
One or more tags.
(dict) --
Information about a tag, which is a key-value pair.
Key (string) --
The key for this tag.
Value (string) --
The value for this tag.
Updates the specified constraint.
See also: AWS API Documentation
Request Syntax
response = client.update_constraint(
AcceptLanguage='string',
Id='string',
Description='string'
)
The language code.
[REQUIRED]
The identifier of the constraint.
dict
Response Syntax
{
'ConstraintDetail': {
'ConstraintId': 'string',
'Type': 'string',
'Description': 'string',
'Owner': 'string'
},
'ConstraintParameters': 'string',
'Status': 'AVAILABLE'|'CREATING'|'FAILED'
}
Response Structure
(dict) --
ConstraintDetail (dict) --
Information about the constraint.
ConstraintId (string) --
The identifier of the constraint.
Type (string) --
The type of constraint.
Description (string) --
The description of the constraint.
Owner (string) --
The owner of the constraint.
ConstraintParameters (string) --
The constraint parameters.
Status (string) --
The status of the current request.
Updates the specified portfolio.
You cannot update a product that was shared with you.
See also: AWS API Documentation
Request Syntax
response = client.update_portfolio(
AcceptLanguage='string',
Id='string',
DisplayName='string',
Description='string',
ProviderName='string',
AddTags=[
{
'Key': 'string',
'Value': 'string'
},
],
RemoveTags=[
'string',
]
)
The language code.
[REQUIRED]
The portfolio identifier.
The tags to add.
Information about a tag. A tag is a key-value pair. Tags are propagated to the resources created when provisioning a product.
The tag key.
The value for this key.
The tags to remove.
dict
Response Syntax
{
'PortfolioDetail': {
'Id': 'string',
'ARN': 'string',
'DisplayName': 'string',
'Description': 'string',
'CreatedTime': datetime(2015, 1, 1),
'ProviderName': 'string'
},
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
Response Structure
(dict) --
PortfolioDetail (dict) --
Information about the portfolio.
Id (string) --
The portfolio identifier.
ARN (string) --
The ARN assigned to the portfolio.
DisplayName (string) --
The name to use for display purposes.
Description (string) --
The description of the portfolio.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
ProviderName (string) --
The name of the portfolio provider.
Tags (list) --
Information about the tags associated with the portfolio.
(dict) --
Information about a tag. A tag is a key-value pair. Tags are propagated to the resources created when provisioning a product.
Key (string) --
The tag key.
Value (string) --
The value for this key.
Updates the specified product.
See also: AWS API Documentation
Request Syntax
response = client.update_product(
AcceptLanguage='string',
Id='string',
Name='string',
Owner='string',
Description='string',
Distributor='string',
SupportDescription='string',
SupportEmail='string',
SupportUrl='string',
AddTags=[
{
'Key': 'string',
'Value': 'string'
},
],
RemoveTags=[
'string',
]
)
The language code.
[REQUIRED]
The product identifier.
The tags to add to the product.
Information about a tag. A tag is a key-value pair. Tags are propagated to the resources created when provisioning a product.
The tag key.
The value for this key.
The tags to remove from the product.
dict
Response Syntax
{
'ProductViewDetail': {
'ProductViewSummary': {
'Id': 'string',
'ProductId': 'string',
'Name': 'string',
'Owner': 'string',
'ShortDescription': 'string',
'Type': 'CLOUD_FORMATION_TEMPLATE'|'MARKETPLACE',
'Distributor': 'string',
'HasDefaultPath': True|False,
'SupportEmail': 'string',
'SupportDescription': 'string',
'SupportUrl': 'string'
},
'Status': 'AVAILABLE'|'CREATING'|'FAILED',
'ProductARN': 'string',
'CreatedTime': datetime(2015, 1, 1)
},
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
Response Structure
(dict) --
ProductViewDetail (dict) --
Information about the product view.
ProductViewSummary (dict) --
Summary information about the product view.
Id (string) --
The product view identifier.
ProductId (string) --
The product identifier.
Name (string) --
The name of the product.
Owner (string) --
The owner of the product. Contact the product administrator for the significance of this value.
ShortDescription (string) --
Short description of the product.
Type (string) --
The product type. Contact the product administrator for the significance of this value. If this value is MARKETPLACE , the product was created by AWS Marketplace.
Distributor (string) --
The distributor of the product. Contact the product administrator for the significance of this value.
HasDefaultPath (boolean) --
Indicates whether the product has a default path. If the product does not have a default path, call ListLaunchPaths to disambiguate between paths. Otherwise, ListLaunchPaths is not required, and the output of ProductViewSummary can be used directly with DescribeProvisioningParameters .
SupportEmail (string) --
The email contact information to obtain support for this Product.
SupportDescription (string) --
The description of the support for this Product.
SupportUrl (string) --
The URL information to obtain support for this Product.
Status (string) --
The status of the product.
ProductARN (string) --
The ARN of the product.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
Tags (list) --
Information about the tags associated with the product.
(dict) --
Information about a tag. A tag is a key-value pair. Tags are propagated to the resources created when provisioning a product.
Key (string) --
The tag key.
Value (string) --
The value for this key.
Requests updates to the configuration of the specified provisioned product.
If there are tags associated with the object, they cannot be updated or added. Depending on the specific updates requested, this operation can update with no interruption, with some interruption, or replace the provisioned product entirely.
You can check the status of this request using DescribeRecord .
See also: AWS API Documentation
Request Syntax
response = client.update_provisioned_product(
AcceptLanguage='string',
ProvisionedProductName='string',
ProvisionedProductId='string',
ProductId='string',
ProvisioningArtifactId='string',
PathId='string',
ProvisioningParameters=[
{
'Key': 'string',
'Value': 'string',
'UsePreviousValue': True|False
},
],
UpdateToken='string'
)
The language code.
The new parameters.
The parameter key-value pair used to update a provisioned product.
The parameter key.
The parameter value.
If set to true, Value is ignored and the previous parameter value is kept.
[REQUIRED]
The idempotency token that uniquely identifies the provisioning update request.
This field is autopopulated if not provided.
dict
Response Syntax
{
'RecordDetail': {
'RecordId': 'string',
'ProvisionedProductName': 'string',
'Status': 'CREATED'|'IN_PROGRESS'|'IN_PROGRESS_IN_ERROR'|'SUCCEEDED'|'FAILED',
'CreatedTime': datetime(2015, 1, 1),
'UpdatedTime': datetime(2015, 1, 1),
'ProvisionedProductType': 'string',
'RecordType': 'string',
'ProvisionedProductId': 'string',
'ProductId': 'string',
'ProvisioningArtifactId': 'string',
'PathId': 'string',
'RecordErrors': [
{
'Code': 'string',
'Description': 'string'
},
],
'RecordTags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
}
Response Structure
(dict) --
RecordDetail (dict) --
Information about the result of the request.
RecordId (string) --
The identifier of the record.
ProvisionedProductName (string) --
The user-friendly name of the provisioned product.
Status (string) --
The status of the provisioned product.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
UpdatedTime (datetime) --
The time when the record was last updated.
ProvisionedProductType (string) --
The type of provisioned product. The supported value is CFN_STACK .
RecordType (string) --
The record type.
ProvisionedProductId (string) --
The identifier of the provisioned product.
ProductId (string) --
The product identifier.
ProvisioningArtifactId (string) --
The identifier of the provisioning artifact.
PathId (string) --
The path identifier.
RecordErrors (list) --
The errors that occurred.
(dict) --
The error code and description resulting from an operation.
Code (string) --
The numeric value of the error.
Description (string) --
The description of the error.
RecordTags (list) --
One or more tags.
(dict) --
Information about a tag, which is a key-value pair.
Key (string) --
The key for this tag.
Value (string) --
The value for this tag.
Updates the specified provisioning artifact (also known as a version) for the specified product.
You cannot update a provisioning artifact for a product that was shared with you.
See also: AWS API Documentation
Request Syntax
response = client.update_provisioning_artifact(
AcceptLanguage='string',
ProductId='string',
ProvisioningArtifactId='string',
Name='string',
Description='string',
Active=True|False
)
The language code.
[REQUIRED]
The product identifier.
[REQUIRED]
The identifier of the provisioning artifact.
dict
Response Syntax
{
'ProvisioningArtifactDetail': {
'Id': 'string',
'Name': 'string',
'Description': 'string',
'Type': 'CLOUD_FORMATION_TEMPLATE'|'MARKETPLACE_AMI'|'MARKETPLACE_CAR',
'CreatedTime': datetime(2015, 1, 1),
'Active': True|False
},
'Info': {
'string': 'string'
},
'Status': 'AVAILABLE'|'CREATING'|'FAILED'
}
Response Structure
(dict) --
ProvisioningArtifactDetail (dict) --
Information about the provisioning artifact.
Id (string) --
The identifier of the provisioning artifact.
Name (string) --
The name of the provisioning artifact.
Description (string) --
The description of the provisioning artifact.
Type (string) --
The type of provisioning artifact.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
Active (boolean) --
Indicates whether the product version is active.
Info (dict) --
The URL of the CloudFormation template in Amazon S3.
Status (string) --
The status of the current request.
Updates a self-service action.
See also: AWS API Documentation
Request Syntax
response = client.update_service_action(
Id='string',
Name='string',
Definition={
'string': 'string'
},
Description='string',
AcceptLanguage='string'
)
[REQUIRED]
The self-service action identifier.
A map that defines the self-service action.
The language code.
dict
Response Syntax
{
'ServiceActionDetail': {
'ServiceActionSummary': {
'Id': 'string',
'Name': 'string',
'Description': 'string',
'DefinitionType': 'SSM_AUTOMATION'
},
'Definition': {
'string': 'string'
}
}
}
Response Structure
(dict) --
ServiceActionDetail (dict) --
Detailed information about the self-service action.
ServiceActionSummary (dict) --
Summary information about the self-service action.
Id (string) --
The self-service action identifier.
Name (string) --
The self-service action name.
Description (string) --
The self-service action description.
DefinitionType (string) --
The self-service action definition type. For example, SSM_AUTOMATION .
Definition (dict) --
A map that defines the self-service action.
Updates the specified TagOption.
See also: AWS API Documentation
Request Syntax
response = client.update_tag_option(
Id='string',
Value='string',
Active=True|False
)
[REQUIRED]
The TagOption identifier.
dict
Response Syntax
{
'TagOptionDetail': {
'Key': 'string',
'Value': 'string',
'Active': True|False,
'Id': 'string'
}
}
Response Structure
(dict) --
TagOptionDetail (dict) --
Information about the TagOption.
Key (string) --
The TagOption key.
Value (string) --
The TagOption value.
Active (boolean) --
The TagOption active state.
Id (string) --
The TagOption identifier.
The available paginators are:
paginator = client.get_paginator('list_accepted_portfolio_shares')
Creates an iterator that will paginate through responses from ServiceCatalog.Client.list_accepted_portfolio_shares().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
AcceptLanguage='string',
PortfolioShareType='IMPORTED'|'AWS_SERVICECATALOG'|'AWS_ORGANIZATIONS',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
The language code.
The type of shared portfolios to list. The default is to list imported portfolios.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'PortfolioDetails': [
{
'Id': 'string',
'ARN': 'string',
'DisplayName': 'string',
'Description': 'string',
'CreatedTime': datetime(2015, 1, 1),
'ProviderName': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
PortfolioDetails (list) --
Information about the portfolios.
(dict) --
Information about a portfolio.
Id (string) --
The portfolio identifier.
ARN (string) --
The ARN assigned to the portfolio.
DisplayName (string) --
The name to use for display purposes.
Description (string) --
The description of the portfolio.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
ProviderName (string) --
The name of the portfolio provider.
NextToken (string) --
A token to resume pagination.
paginator = client.get_paginator('list_constraints_for_portfolio')
Creates an iterator that will paginate through responses from ServiceCatalog.Client.list_constraints_for_portfolio().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
AcceptLanguage='string',
PortfolioId='string',
ProductId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
The language code.
[REQUIRED]
The portfolio identifier.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'ConstraintDetails': [
{
'ConstraintId': 'string',
'Type': 'string',
'Description': 'string',
'Owner': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
ConstraintDetails (list) --
Information about the constraints.
(dict) --
Information about a constraint.
ConstraintId (string) --
The identifier of the constraint.
Type (string) --
The type of constraint.
Description (string) --
The description of the constraint.
Owner (string) --
The owner of the constraint.
NextToken (string) --
A token to resume pagination.
paginator = client.get_paginator('list_launch_paths')
Creates an iterator that will paginate through responses from ServiceCatalog.Client.list_launch_paths().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
AcceptLanguage='string',
ProductId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
The language code.
[REQUIRED]
The product identifier.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'LaunchPathSummaries': [
{
'Id': 'string',
'ConstraintSummaries': [
{
'Type': 'string',
'Description': 'string'
},
],
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'Name': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
LaunchPathSummaries (list) --
Information about the launch path.
(dict) --
Summary information about a product path for a user.
Id (string) --
The identifier of the product path.
ConstraintSummaries (list) --
The constraints on the portfolio-product relationship.
(dict) --
Summary information about a constraint.
Type (string) --
The type of constraint.
Description (string) --
The description of the constraint.
Tags (list) --
The tags associated with this product path.
(dict) --
Information about a tag. A tag is a key-value pair. Tags are propagated to the resources created when provisioning a product.
Key (string) --
The tag key.
Value (string) --
The value for this key.
Name (string) --
The name of the portfolio to which the user was assigned.
NextToken (string) --
A token to resume pagination.
paginator = client.get_paginator('list_portfolios')
Creates an iterator that will paginate through responses from ServiceCatalog.Client.list_portfolios().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
AcceptLanguage='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
The language code.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'PortfolioDetails': [
{
'Id': 'string',
'ARN': 'string',
'DisplayName': 'string',
'Description': 'string',
'CreatedTime': datetime(2015, 1, 1),
'ProviderName': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
PortfolioDetails (list) --
Information about the portfolios.
(dict) --
Information about a portfolio.
Id (string) --
The portfolio identifier.
ARN (string) --
The ARN assigned to the portfolio.
DisplayName (string) --
The name to use for display purposes.
Description (string) --
The description of the portfolio.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
ProviderName (string) --
The name of the portfolio provider.
NextToken (string) --
A token to resume pagination.
paginator = client.get_paginator('list_portfolios_for_product')
Creates an iterator that will paginate through responses from ServiceCatalog.Client.list_portfolios_for_product().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
AcceptLanguage='string',
ProductId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
The language code.
[REQUIRED]
The product identifier.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'PortfolioDetails': [
{
'Id': 'string',
'ARN': 'string',
'DisplayName': 'string',
'Description': 'string',
'CreatedTime': datetime(2015, 1, 1),
'ProviderName': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
PortfolioDetails (list) --
Information about the portfolios.
(dict) --
Information about a portfolio.
Id (string) --
The portfolio identifier.
ARN (string) --
The ARN assigned to the portfolio.
DisplayName (string) --
The name to use for display purposes.
Description (string) --
The description of the portfolio.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
ProviderName (string) --
The name of the portfolio provider.
NextToken (string) --
A token to resume pagination.
paginator = client.get_paginator('list_principals_for_portfolio')
Creates an iterator that will paginate through responses from ServiceCatalog.Client.list_principals_for_portfolio().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
AcceptLanguage='string',
PortfolioId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
The language code.
[REQUIRED]
The portfolio identifier.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'Principals': [
{
'PrincipalARN': 'string',
'PrincipalType': 'IAM'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Principals (list) --
The IAM principals (users or roles) associated with the portfolio.
(dict) --
Information about a principal.
PrincipalARN (string) --
The ARN of the principal (IAM user, role, or group).
PrincipalType (string) --
The principal type. The supported value is IAM .
NextToken (string) --
A token to resume pagination.
paginator = client.get_paginator('list_resources_for_tag_option')
Creates an iterator that will paginate through responses from ServiceCatalog.Client.list_resources_for_tag_option().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
TagOptionId='string',
ResourceType='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The TagOption identifier.
The resource type.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'ResourceDetails': [
{
'Id': 'string',
'ARN': 'string',
'Name': 'string',
'Description': 'string',
'CreatedTime': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
ResourceDetails (list) --
Information about the resources.
(dict) --
Information about a resource.
Id (string) --
The identifier of the resource.
ARN (string) --
The ARN of the resource.
Name (string) --
The name of the resource.
Description (string) --
The description of the resource.
CreatedTime (datetime) --
The creation time of the resource.
NextToken (string) --
A token to resume pagination.
paginator = client.get_paginator('list_tag_options')
Creates an iterator that will paginate through responses from ServiceCatalog.Client.list_tag_options().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
Filters={
'Key': 'string',
'Value': 'string',
'Active': True|False
},
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
The search filters. If no search filters are specified, the output includes all TagOptions.
The TagOption key.
The TagOption value.
The active state.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'TagOptionDetails': [
{
'Key': 'string',
'Value': 'string',
'Active': True|False,
'Id': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
TagOptionDetails (list) --
Information about the TagOptions.
(dict) --
Information about a TagOption.
Key (string) --
The TagOption key.
Value (string) --
The TagOption value.
Active (boolean) --
The TagOption active state.
Id (string) --
The TagOption identifier.
NextToken (string) --
A token to resume pagination.
paginator = client.get_paginator('search_products_as_admin')
Creates an iterator that will paginate through responses from ServiceCatalog.Client.search_products_as_admin().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
AcceptLanguage='string',
PortfolioId='string',
Filters={
'string': [
'string',
]
},
SortBy='Title'|'VersionCount'|'CreationDate',
SortOrder='ASCENDING'|'DESCENDING',
ProductSource='ACCOUNT',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
The language code.
The search filters. If no search filters are specified, the output includes all products to which the administrator has access.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'ProductViewDetails': [
{
'ProductViewSummary': {
'Id': 'string',
'ProductId': 'string',
'Name': 'string',
'Owner': 'string',
'ShortDescription': 'string',
'Type': 'CLOUD_FORMATION_TEMPLATE'|'MARKETPLACE',
'Distributor': 'string',
'HasDefaultPath': True|False,
'SupportEmail': 'string',
'SupportDescription': 'string',
'SupportUrl': 'string'
},
'Status': 'AVAILABLE'|'CREATING'|'FAILED',
'ProductARN': 'string',
'CreatedTime': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
ProductViewDetails (list) --
Information about the product views.
(dict) --
Information about a product view.
ProductViewSummary (dict) --
Summary information about the product view.
Id (string) --
The product view identifier.
ProductId (string) --
The product identifier.
Name (string) --
The name of the product.
Owner (string) --
The owner of the product. Contact the product administrator for the significance of this value.
ShortDescription (string) --
Short description of the product.
Type (string) --
The product type. Contact the product administrator for the significance of this value. If this value is MARKETPLACE , the product was created by AWS Marketplace.
Distributor (string) --
The distributor of the product. Contact the product administrator for the significance of this value.
HasDefaultPath (boolean) --
Indicates whether the product has a default path. If the product does not have a default path, call ListLaunchPaths to disambiguate between paths. Otherwise, ListLaunchPaths is not required, and the output of ProductViewSummary can be used directly with DescribeProvisioningParameters .
SupportEmail (string) --
The email contact information to obtain support for this Product.
SupportDescription (string) --
The description of the support for this Product.
SupportUrl (string) --
The URL information to obtain support for this Product.
Status (string) --
The status of the product.
ProductARN (string) --
The ARN of the product.
CreatedTime (datetime) --
The UTC time stamp of the creation time.
NextToken (string) --
A token to resume pagination.