import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config-base'; interface Blob {} declare class ServiceCatalogAppRegistry extends Service { /** * Constructs a service object. This object has one method for each API operation. */ constructor(options?: ServiceCatalogAppRegistry.Types.ClientConfiguration) config: Config & ServiceCatalogAppRegistry.Types.ClientConfiguration; /** * Associates an attribute group with an application to augment the application's metadata with the group's attributes. This feature enables applications to be described with user-defined details that are machine-readable, such as third-party integrations. */ associateAttributeGroup(params: ServiceCatalogAppRegistry.Types.AssociateAttributeGroupRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.AssociateAttributeGroupResponse) => void): Request; /** * Associates an attribute group with an application to augment the application's metadata with the group's attributes. This feature enables applications to be described with user-defined details that are machine-readable, such as third-party integrations. */ associateAttributeGroup(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.AssociateAttributeGroupResponse) => void): Request; /** * Associates a resource with an application. Both the resource and the application can be specified either by ID or name. */ associateResource(params: ServiceCatalogAppRegistry.Types.AssociateResourceRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.AssociateResourceResponse) => void): Request; /** * Associates a resource with an application. Both the resource and the application can be specified either by ID or name. */ associateResource(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.AssociateResourceResponse) => void): Request; /** * Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions. */ createApplication(params: ServiceCatalogAppRegistry.Types.CreateApplicationRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.CreateApplicationResponse) => void): Request; /** * Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions. */ createApplication(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.CreateApplicationResponse) => void): Request; /** * Creates a new attribute group as a container for user-defined attributes. This feature enables users to have full control over their cloud application's metadata in a rich machine-readable format to facilitate integration with automated workflows and third-party tools. */ createAttributeGroup(params: ServiceCatalogAppRegistry.Types.CreateAttributeGroupRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.CreateAttributeGroupResponse) => void): Request; /** * Creates a new attribute group as a container for user-defined attributes. This feature enables users to have full control over their cloud application's metadata in a rich machine-readable format to facilitate integration with automated workflows and third-party tools. */ createAttributeGroup(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.CreateAttributeGroupResponse) => void): Request; /** * Deletes an application that is specified either by its application ID or name. All associated attribute groups and resources must be disassociated from it before deleting an application. */ deleteApplication(params: ServiceCatalogAppRegistry.Types.DeleteApplicationRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.DeleteApplicationResponse) => void): Request; /** * Deletes an application that is specified either by its application ID or name. All associated attribute groups and resources must be disassociated from it before deleting an application. */ deleteApplication(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.DeleteApplicationResponse) => void): Request; /** * Deletes an attribute group, specified either by its attribute group ID or name. */ deleteAttributeGroup(params: ServiceCatalogAppRegistry.Types.DeleteAttributeGroupRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.DeleteAttributeGroupResponse) => void): Request; /** * Deletes an attribute group, specified either by its attribute group ID or name. */ deleteAttributeGroup(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.DeleteAttributeGroupResponse) => void): Request; /** * Disassociates an attribute group from an application to remove the extra attributes contained in the attribute group from the application's metadata. This operation reverts AssociateAttributeGroup. */ disassociateAttributeGroup(params: ServiceCatalogAppRegistry.Types.DisassociateAttributeGroupRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.DisassociateAttributeGroupResponse) => void): Request; /** * Disassociates an attribute group from an application to remove the extra attributes contained in the attribute group from the application's metadata. This operation reverts AssociateAttributeGroup. */ disassociateAttributeGroup(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.DisassociateAttributeGroupResponse) => void): Request; /** * Disassociates a resource from application. Both the resource and the application can be specified either by ID or name. */ disassociateResource(params: ServiceCatalogAppRegistry.Types.DisassociateResourceRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.DisassociateResourceResponse) => void): Request; /** * Disassociates a resource from application. Both the resource and the application can be specified either by ID or name. */ disassociateResource(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.DisassociateResourceResponse) => void): Request; /** * Retrieves metadata information about one of your applications. The application can be specified either by its unique ID or by its name (which is unique within one account in one region at a given point in time). Specify by ID in automated workflows if you want to make sure that the exact same application is returned or a ResourceNotFoundException is thrown, avoiding the ABA addressing problem. */ getApplication(params: ServiceCatalogAppRegistry.Types.GetApplicationRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.GetApplicationResponse) => void): Request; /** * Retrieves metadata information about one of your applications. The application can be specified either by its unique ID or by its name (which is unique within one account in one region at a given point in time). Specify by ID in automated workflows if you want to make sure that the exact same application is returned or a ResourceNotFoundException is thrown, avoiding the ABA addressing problem. */ getApplication(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.GetApplicationResponse) => void): Request; /** * Gets the resource associated with the application. */ getAssociatedResource(params: ServiceCatalogAppRegistry.Types.GetAssociatedResourceRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.GetAssociatedResourceResponse) => void): Request; /** * Gets the resource associated with the application. */ getAssociatedResource(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.GetAssociatedResourceResponse) => void): Request; /** * Retrieves an attribute group, either by its name or its ID. The attribute group can be specified either by its unique ID or by its name. */ getAttributeGroup(params: ServiceCatalogAppRegistry.Types.GetAttributeGroupRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.GetAttributeGroupResponse) => void): Request; /** * Retrieves an attribute group, either by its name or its ID. The attribute group can be specified either by its unique ID or by its name. */ getAttributeGroup(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.GetAttributeGroupResponse) => void): Request; /** * Retrieves a list of all of your applications. Results are paginated. */ listApplications(params: ServiceCatalogAppRegistry.Types.ListApplicationsRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.ListApplicationsResponse) => void): Request; /** * Retrieves a list of all of your applications. Results are paginated. */ listApplications(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.ListApplicationsResponse) => void): Request; /** * Lists all attribute groups that are associated with specified application. Results are paginated. */ listAssociatedAttributeGroups(params: ServiceCatalogAppRegistry.Types.ListAssociatedAttributeGroupsRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.ListAssociatedAttributeGroupsResponse) => void): Request; /** * Lists all attribute groups that are associated with specified application. Results are paginated. */ listAssociatedAttributeGroups(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.ListAssociatedAttributeGroupsResponse) => void): Request; /** * Lists all resources that are associated with specified application. Results are paginated. */ listAssociatedResources(params: ServiceCatalogAppRegistry.Types.ListAssociatedResourcesRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.ListAssociatedResourcesResponse) => void): Request; /** * Lists all resources that are associated with specified application. Results are paginated. */ listAssociatedResources(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.ListAssociatedResourcesResponse) => void): Request; /** * Lists all attribute groups which you have access to. Results are paginated. */ listAttributeGroups(params: ServiceCatalogAppRegistry.Types.ListAttributeGroupsRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.ListAttributeGroupsResponse) => void): Request; /** * Lists all attribute groups which you have access to. Results are paginated. */ listAttributeGroups(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.ListAttributeGroupsResponse) => void): Request; /** * Lists all of the tags on the resource. */ listTagsForResource(params: ServiceCatalogAppRegistry.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.ListTagsForResourceResponse) => void): Request; /** * Lists all of the tags on the resource. */ listTagsForResource(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.ListTagsForResourceResponse) => void): Request; /** * Syncs the resource with current AppRegistry records. Specifically, the resource’s AppRegistry system tags sync with its associated application. We remove the resource's AppRegistry system tags if it does not associate with the application. The caller must have permissions to read and update the resource. */ syncResource(params: ServiceCatalogAppRegistry.Types.SyncResourceRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.SyncResourceResponse) => void): Request; /** * Syncs the resource with current AppRegistry records. Specifically, the resource’s AppRegistry system tags sync with its associated application. We remove the resource's AppRegistry system tags if it does not associate with the application. The caller must have permissions to read and update the resource. */ syncResource(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.SyncResourceResponse) => void): Request; /** * Assigns one or more tags (key-value pairs) to the specified resource. Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value. This operation returns an empty response if the call was successful. */ tagResource(params: ServiceCatalogAppRegistry.Types.TagResourceRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.TagResourceResponse) => void): Request; /** * Assigns one or more tags (key-value pairs) to the specified resource. Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value. This operation returns an empty response if the call was successful. */ tagResource(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.TagResourceResponse) => void): Request; /** * Removes tags from a resource. This operation returns an empty response if the call was successful. */ untagResource(params: ServiceCatalogAppRegistry.Types.UntagResourceRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.UntagResourceResponse) => void): Request; /** * Removes tags from a resource. This operation returns an empty response if the call was successful. */ untagResource(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.UntagResourceResponse) => void): Request; /** * Updates an existing application with new attributes. */ updateApplication(params: ServiceCatalogAppRegistry.Types.UpdateApplicationRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.UpdateApplicationResponse) => void): Request; /** * Updates an existing application with new attributes. */ updateApplication(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.UpdateApplicationResponse) => void): Request; /** * Updates an existing attribute group with new details. */ updateAttributeGroup(params: ServiceCatalogAppRegistry.Types.UpdateAttributeGroupRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.UpdateAttributeGroupResponse) => void): Request; /** * Updates an existing attribute group with new details. */ updateAttributeGroup(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.UpdateAttributeGroupResponse) => void): Request; } declare namespace ServiceCatalogAppRegistry { export interface Application { /** * The identifier of the application. */ id?: ApplicationId; /** * The Amazon resource name (ARN) that specifies the application across services. */ arn?: ApplicationArn; /** * The name of the application. The name must be unique in the region in which you are creating the application. */ name?: Name; /** * The description of the application. */ description?: Description; /** * The ISO-8601 formatted timestamp of the moment when the application was created. */ creationTime?: Timestamp; /** * The ISO-8601 formatted timestamp of the moment when the application was last updated. */ lastUpdateTime?: Timestamp; /** * Key-value pairs you can use to associate with the application. */ tags?: Tags; } export type ApplicationArn = string; export type ApplicationId = string; export type ApplicationSpecifier = string; export type ApplicationSummaries = ApplicationSummary[]; export interface ApplicationSummary { /** * The identifier of the application. */ id?: ApplicationId; /** * The Amazon resource name (ARN) that specifies the application across services. */ arn?: ApplicationArn; /** * The name of the application. The name must be unique in the region in which you are creating the application. */ name?: Name; /** * The description of the application. */ description?: Description; /** * The ISO-8601 formatted timestamp of the moment when the application was created. */ creationTime?: Timestamp; /** * The ISO-8601 formatted timestamp of the moment when the application was last updated. */ lastUpdateTime?: Timestamp; } export type Arn = string; export interface AssociateAttributeGroupRequest { /** * The name or ID of the application. */ application: ApplicationSpecifier; /** * The name or ID of the attribute group that holds the attributes to describe the application. */ attributeGroup: AttributeGroupSpecifier; } export interface AssociateAttributeGroupResponse { /** * The Amazon resource name (ARN) of the application that was augmented with attributes. */ applicationArn?: ApplicationArn; /** * The Amazon resource name (ARN) of the attribute group that contains the application's new attributes. */ attributeGroupArn?: AttributeGroupArn; } export interface AssociateResourceRequest { /** * The name or ID of the application. */ application: ApplicationSpecifier; /** * The type of resource of which the application will be associated. */ resourceType: ResourceType; /** * The name or ID of the resource of which the application will be associated. */ resource: ResourceSpecifier; } export interface AssociateResourceResponse { /** * The Amazon resource name (ARN) of the application that was augmented with attributes. */ applicationArn?: ApplicationArn; /** * The Amazon resource name (ARN) that specifies the resource. */ resourceArn?: Arn; } export type AssociationCount = number; export interface AttributeGroup { /** * The globally unique attribute group identifier of the attribute group. */ id?: AttributeGroupId; /** * The Amazon resource name (ARN) that specifies the attribute group across services. */ arn?: AttributeGroupArn; /** * The name of the attribute group. */ name?: Name; /** * The description of the attribute group that the user provides. */ description?: Description; /** * The ISO-8601 formatted timestamp of the moment the attribute group was created. */ creationTime?: Timestamp; /** * The ISO-8601 formatted timestamp of the moment the attribute group was last updated. This time is the same as the creationTime for a newly created attribute group. */ lastUpdateTime?: Timestamp; /** * Key-value pairs you can use to associate with the attribute group. */ tags?: Tags; } export type AttributeGroupArn = string; export type AttributeGroupId = string; export type AttributeGroupIds = AttributeGroupId[]; export type AttributeGroupSpecifier = string; export type AttributeGroupSummaries = AttributeGroupSummary[]; export interface AttributeGroupSummary { /** * The globally unique attribute group identifier of the attribute group. */ id?: AttributeGroupId; /** * The Amazon resource name (ARN) that specifies the attribute group across services. */ arn?: AttributeGroupArn; /** * The name of the attribute group. */ name?: Name; /** * The description of the attribute group that the user provides. */ description?: Description; /** * The ISO-8601 formatted timestamp of the moment the attribute group was created. */ creationTime?: Timestamp; /** * The ISO-8601 formatted timestamp of the moment the attribute group was last updated. This time is the same as the creationTime for a newly created attribute group. */ lastUpdateTime?: Timestamp; } export type Attributes = string; export type ClientToken = string; export interface CreateApplicationRequest { /** * The name of the application. The name must be unique in the region in which you are creating the application. */ name: Name; /** * The description of the application. */ description?: Description; /** * Key-value pairs you can use to associate with the application. */ tags?: Tags; /** * A unique identifier that you provide to ensure idempotency. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails. */ clientToken: ClientToken; } export interface CreateApplicationResponse { /** * Information about the application. */ application?: Application; } export interface CreateAttributeGroupRequest { /** * The name of the attribute group. */ name: Name; /** * The description of the attribute group that the user provides. */ description?: Description; /** * A JSON string in the form of nested key-value pairs that represent the attributes in the group and describes an application and its components. */ attributes: Attributes; /** * Key-value pairs you can use to associate with the attribute group. */ tags?: Tags; /** * A unique identifier that you provide to ensure idempotency. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails. */ clientToken: ClientToken; } export interface CreateAttributeGroupResponse { /** * Information about the attribute group. */ attributeGroup?: AttributeGroup; } export interface DeleteApplicationRequest { /** * The name or ID of the application. */ application: ApplicationSpecifier; } export interface DeleteApplicationResponse { /** * Information about the deleted application. */ application?: ApplicationSummary; } export interface DeleteAttributeGroupRequest { /** * The name or ID of the attribute group that holds the attributes to describe the application. */ attributeGroup: AttributeGroupSpecifier; } export interface DeleteAttributeGroupResponse { /** * Information about the deleted attribute group. */ attributeGroup?: AttributeGroupSummary; } export type Description = string; export interface DisassociateAttributeGroupRequest { /** * The name or ID of the application. */ application: ApplicationSpecifier; /** * The name or ID of the attribute group that holds the attributes to describe the application. */ attributeGroup: AttributeGroupSpecifier; } export interface DisassociateAttributeGroupResponse { /** * The Amazon resource name (ARN) that specifies the application. */ applicationArn?: ApplicationArn; /** * The Amazon resource name (ARN) that specifies the attribute group. */ attributeGroupArn?: AttributeGroupArn; } export interface DisassociateResourceRequest { /** * The name or ID of the application. */ application: ApplicationSpecifier; /** * The type of the resource that is being disassociated. */ resourceType: ResourceType; /** * The name or ID of the resource. */ resource: ResourceSpecifier; } export interface DisassociateResourceResponse { /** * The Amazon resource name (ARN) that specifies the application. */ applicationArn?: ApplicationArn; /** * The Amazon resource name (ARN) that specifies the resource. */ resourceArn?: Arn; } export interface GetApplicationRequest { /** * The name or ID of the application. */ application: ApplicationSpecifier; } export interface GetApplicationResponse { /** * The identifier of the application. */ id?: ApplicationId; /** * The Amazon resource name (ARN) that specifies the application across services. */ arn?: ApplicationArn; /** * The name of the application. The name must be unique in the region in which you are creating the application. */ name?: Name; /** * The description of the application. */ description?: Description; /** * The ISO-8601 formatted timestamp of the moment when the application was created. */ creationTime?: Timestamp; /** * The ISO-8601 formatted timestamp of the moment when the application was last updated. */ lastUpdateTime?: Timestamp; /** * The number of top-level resources that were registered as part of this application. */ associatedResourceCount?: AssociationCount; /** * Key-value pairs associated with the application. */ tags?: Tags; /** * The information about the integration of the application with other services, such as Resource Groups. */ integrations?: Integrations; } export interface GetAssociatedResourceRequest { /** * The name or ID of the application. */ application: ApplicationSpecifier; /** * The type of resource associated with the application. */ resourceType: ResourceType; /** * The name or ID of the resource associated with the application. */ resource: ResourceSpecifier; } export interface GetAssociatedResourceResponse { /** * The resource associated with the application. */ resource?: Resource; } export interface GetAttributeGroupRequest { /** * The name or ID of the attribute group that holds the attributes to describe the application. */ attributeGroup: AttributeGroupSpecifier; } export interface GetAttributeGroupResponse { /** * The identifier of the attribute group. */ id?: AttributeGroupId; /** * The Amazon resource name (ARN) that specifies the attribute group across services. */ arn?: AttributeGroupArn; /** * The name of the attribute group. */ name?: Name; /** * The description of the attribute group that the user provides. */ description?: Description; /** * A JSON string in the form of nested key-value pairs that represent the attributes in the group and describes an application and its components. */ attributes?: Attributes; /** * The ISO-8601 formatted timestamp of the moment the attribute group was created. */ creationTime?: Timestamp; /** * The ISO-8601 formatted timestamp of the moment the attribute group was last updated. This time is the same as the creationTime for a newly created attribute group. */ lastUpdateTime?: Timestamp; /** * Key-value pairs associated with the attribute group. */ tags?: Tags; } export interface Integrations { /** * The information about the resource group integration. */ resourceGroup?: ResourceGroup; } export interface ListApplicationsRequest { /** * The token to use to get the next page of results after a previous API call. */ nextToken?: NextToken; /** * The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional. */ maxResults?: MaxResults; } export interface ListApplicationsResponse { /** * This list of applications. */ applications?: ApplicationSummaries; /** * The token to use to get the next page of results after a previous API call. */ nextToken?: NextToken; } export interface ListAssociatedAttributeGroupsRequest { /** * The name or ID of the application. */ application: ApplicationSpecifier; /** * The token to use to get the next page of results after a previous API call. */ nextToken?: NextToken; /** * The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional. */ maxResults?: MaxResults; } export interface ListAssociatedAttributeGroupsResponse { /** * A list of attribute group IDs. */ attributeGroups?: AttributeGroupIds; /** * The token to use to get the next page of results after a previous API call. */ nextToken?: NextToken; } export interface ListAssociatedResourcesRequest { /** * The name or ID of the application. */ application: ApplicationSpecifier; /** * The token to use to get the next page of results after a previous API call. */ nextToken?: NextToken; /** * The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional. */ maxResults?: MaxResults; } export interface ListAssociatedResourcesResponse { /** * Information about the resources. */ resources?: Resources; /** * The token to use to get the next page of results after a previous API call. */ nextToken?: NextToken; } export interface ListAttributeGroupsRequest { /** * The token to use to get the next page of results after a previous API call. */ nextToken?: NextToken; /** * The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional. */ maxResults?: MaxResults; } export interface ListAttributeGroupsResponse { /** * This list of attribute groups. */ attributeGroups?: AttributeGroupSummaries; /** * The token to use to get the next page of results after a previous API call. */ nextToken?: NextToken; } export interface ListTagsForResourceRequest { /** * The Amazon resource name (ARN) that specifies the resource. */ resourceArn: Arn; } export interface ListTagsForResourceResponse { /** * The tags on the resource. */ tags?: Tags; } export type MaxResults = number; export type Name = string; export type NextToken = string; export interface Resource { /** * The name of the resource. */ name?: ResourceSpecifier; /** * The Amazon resource name (ARN) of the resource. */ arn?: StackArn; /** * The time the resource was associated with the application. */ associationTime?: Timestamp; /** * The service integration information about the resource. */ integrations?: ResourceIntegrations; } export interface ResourceGroup { /** * The state of the propagation process for the resource group. The states includes: CREATING if the resource group is in the process of being created. CREATE_COMPLETE if the resource group was created successfully. CREATE_FAILED if the resource group failed to be created. UPDATING if the resource group is in the process of being updated. UPDATE_COMPLETE if the resource group updated successfully. UPDATE_FAILED if the resource group could not update successfully. */ state?: ResourceGroupState; /** * The Amazon resource name (ARN) of the resource group. */ arn?: Arn; /** * The error message that generates when the propagation process for the resource group fails. */ errorMessage?: String; } export type ResourceGroupState = "CREATING"|"CREATE_COMPLETE"|"CREATE_FAILED"|"UPDATING"|"UPDATE_COMPLETE"|"UPDATE_FAILED"|string; export interface ResourceInfo { /** * The name of the resource. */ name?: ResourceSpecifier; /** * The Amazon resource name (ARN) that specifies the resource across services. */ arn?: StackArn; } export interface ResourceIntegrations { /** * The information about the integration of Resource Groups. */ resourceGroup?: ResourceGroup; } export type ResourceSpecifier = string; export type ResourceType = "CFN_STACK"|string; export type Resources = ResourceInfo[]; export type StackArn = string; export type String = string; export type SyncAction = "START_SYNC"|"NO_ACTION"|string; export interface SyncResourceRequest { /** * The type of resource of which the application will be associated. */ resourceType: ResourceType; /** * An entity you can work with and specify with a name or ID. Examples include an Amazon EC2 instance, an Amazon Web Services CloudFormation stack, or an Amazon S3 bucket. */ resource: ResourceSpecifier; } export interface SyncResourceResponse { /** * The Amazon resource name (ARN) that specifies the application. */ applicationArn?: ApplicationArn; /** * The Amazon resource name (ARN) that specifies the resource. */ resourceArn?: Arn; /** * The results of the output if an application is associated with an ARN value, which could be syncStarted or None. */ actionTaken?: SyncAction; } export type TagKey = string; export type TagKeys = TagKey[]; export interface TagResourceRequest { /** * The Amazon resource name (ARN) that specifies the resource. */ resourceArn: Arn; /** * The new or modified tags for the resource. */ tags: Tags; } export interface TagResourceResponse { } export type TagValue = string; export type Tags = {[key: string]: TagValue}; export type Timestamp = Date; export interface UntagResourceRequest { /** * The Amazon resource name (ARN) that specifies the resource. */ resourceArn: Arn; /** * A list of the tag keys to remove from the specified resource. */ tagKeys: TagKeys; } export interface UntagResourceResponse { } export interface UpdateApplicationRequest { /** * The name or ID of the application that will be updated. */ application: ApplicationSpecifier; /** * The new name of the application. The name must be unique in the region in which you are updating the application. */ name?: Name; /** * The new description of the application. */ description?: Description; } export interface UpdateApplicationResponse { /** * The updated information of the application. */ application?: Application; } export interface UpdateAttributeGroupRequest { /** * The name or ID of the attribute group that holds the attributes to describe the application. */ attributeGroup: AttributeGroupSpecifier; /** * The new name of the attribute group. The name must be unique in the region in which you are updating the attribute group. */ name?: Name; /** * The description of the attribute group that the user provides. */ description?: Description; /** * A JSON string in the form of nested key-value pairs that represent the attributes in the group and describes an application and its components. */ attributes?: Attributes; } export interface UpdateAttributeGroupResponse { /** * The updated information of the attribute group. */ attributeGroup?: AttributeGroup; } /** * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. */ export type apiVersion = "2020-06-24"|"latest"|string; export interface ClientApiVersions { /** * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. */ apiVersion?: apiVersion; } export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; /** * Contains interfaces for use with the ServiceCatalogAppRegistry client. */ export import Types = ServiceCatalogAppRegistry; } export = ServiceCatalogAppRegistry;