AWS Service Catalog App Registry

2020/12/21 - AWS Service Catalog App Registry - 1 new api methods

Changes  Update servicecatalog-appregistry client to latest version

SyncResource (new) Link ¶

Syncs the resource with what is currently recorded in App registry. Specifically, the resource’s App registry system tags are synced with its associated application. The resource is removed if it is not associated with the application. The caller must have permissions to read and update the resource.

See also: AWS API Documentation

Request Syntax

client.sync_resource(
    resourceType='CFN_STACK',
    resource='string'
)
type resourceType:

string

param resourceType:

[REQUIRED]

The type of resource of which the application will be associated.

type resource:

string

param resource:

[REQUIRED]

An entity you can work with and specify with a name or ID. Examples include an Amazon EC2 instance, an AWS CloudFormation stack, or an Amazon S3 bucket.

rtype:

dict

returns:

Response Syntax

{
    'applicationArn': 'string',
    'resourceArn': 'string',
    'actionTaken': 'START_SYNC'|'NO_ACTION'
}

Response Structure

  • (dict) --

    • applicationArn (string) --

      The Amazon resource name (ARN) that specifies the application.

    • resourceArn (string) --

      The Amazon resource name (ARN) that specifies the resource.

    • actionTaken (string) --

      The results of the output if an application is associated with an ARN value, which could be syncStarted or None.