2020/12/17 - AWS Service Catalog - 2 new7 updated api methods
Changes Update servicecatalog client to latest version
{'TagOptionDetail': {'Owner': 'string'}}
Creates a TagOption.
See also: AWS API Documentation
Request Syntax
client.create_tag_option( Key='string', Value='string' )
string
[REQUIRED]
The TagOption key.
string
[REQUIRED]
The TagOption value.
dict
Response Syntax
{ 'TagOptionDetail': { 'Key': 'string', 'Value': 'string', 'Active': True|False, 'Id': 'string', 'Owner': '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.
Owner (string) --
The AWS account Id of the owner account that created the TagOption.
{'TagOptions': {'Owner': 'string'}}
Gets information about the specified portfolio.
A delegated admin is authorized to invoke this command.
See also: AWS API Documentation
Request Syntax
client.describe_portfolio( AcceptLanguage='string', Id='string' )
string
The language code.
en - English (default)
jp - Japanese
zh - Chinese
string
[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', 'Owner': 'string' }, ], 'Budgets': [ { 'BudgetName': '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.
Owner (string) --
The AWS account Id of the owner account that created the TagOption.
Budgets (list) --
Information about the associated budgets.
(dict) --
Information about a budget.
BudgetName (string) --
Name of the associated budget.
{'SourcePortfolioId': 'string'}Response
{'TagOptions': {'Owner': 'string'}}
Gets information about the specified product. This operation is run with administrator access.
See also: AWS API Documentation
Request Syntax
client.describe_product_as_admin( AcceptLanguage='string', Id='string', Name='string', SourcePortfolioId='string' )
string
The language code.
en - English (default)
jp - Japanese
zh - Chinese
string
The product identifier.
string
The product name.
string
The unique identifier of the shared portfolio that the specified product is associated with.
You can provide this parameter to retrieve the shared TagOptions associated with the product. If this parameter is provided and if TagOptions sharing is enabled in the portfolio share, the API returns both local and shared TagOptions associated with the product. Otherwise only local TagOptions will be returned.
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', 'Owner': 'string' }, ], 'Budgets': [ { 'BudgetName': '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.
AVAILABLE - The product is ready for use.
CREATING - Product creation has started; the product is not ready for use.
FAILED - An action failed.
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.
(string) --
(string) --
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.
Owner (string) --
The AWS account Id of the owner account that created the TagOption.
Budgets (list) --
Information about the associated budgets.
(dict) --
Information about a budget.
BudgetName (string) --
Name of the associated budget.
{'TagOptionDetail': {'Owner': 'string'}}
Gets information about the specified TagOption.
See also: AWS API Documentation
Request Syntax
client.describe_tag_option( Id='string' )
string
[REQUIRED]
The TagOption identifier.
dict
Response Syntax
{ 'TagOptionDetail': { 'Key': 'string', 'Value': 'string', 'Active': True|False, 'Id': 'string', 'Owner': '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.
Owner (string) --
The AWS account Id of the owner account that created the TagOption.
{'TagOptionDetails': {'Owner': 'string'}}
Lists the specified TagOptions or all TagOptions.
See also: AWS API Documentation
Request Syntax
client.list_tag_options( Filters={ 'Key': 'string', 'Value': 'string', 'Active': True|False }, PageSize=123, PageToken='string' )
dict
The search filters. If no search filters are specified, the output includes all TagOptions.
Key (string) --
The TagOption key.
Value (string) --
The TagOption value.
Active (boolean) --
The active state.
integer
The maximum number of items to return with this call.
string
The page token for the next set of results. To retrieve the first set of results, use null.
dict
Response Syntax
{ 'TagOptionDetails': [ { 'Key': 'string', 'Value': 'string', 'Active': True|False, 'Id': 'string', 'Owner': '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.
Owner (string) --
The AWS account Id of the owner account that created the TagOption.
PageToken (string) --
The page token for the next set of results. To retrieve the first set of results, use null.
{'TagOptionDetail': {'Owner': 'string'}}
Updates the specified TagOption.
See also: AWS API Documentation
Request Syntax
client.update_tag_option( Id='string', Value='string', Active=True|False )
string
[REQUIRED]
The TagOption identifier.
string
The updated value.
boolean
The updated active state.
dict
Response Syntax
{ 'TagOptionDetail': { 'Key': 'string', 'Value': 'string', 'Active': True|False, 'Id': 'string', 'Owner': '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.
Owner (string) --
The AWS account Id of the owner account that created the TagOption.