aws-sdk 2.1493.0 → 2.1495.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,11 +20,11 @@ declare class ServiceCatalogAppRegistry extends Service {
20
20
  */
21
21
  associateAttributeGroup(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.AssociateAttributeGroupResponse) => void): Request<ServiceCatalogAppRegistry.Types.AssociateAttributeGroupResponse, AWSError>;
22
22
  /**
23
- * Associates a resource with an application. The resource can be specified by its ARN or name. The application can be specified by ARN, ID, or name.
23
+ * Associates a resource with an application. The resource can be specified by its ARN or name. The application can be specified by ARN, ID, or name. Minimum permissions You must have the following permissions to associate a resource using the OPTIONS parameter set to APPLY_APPLICATION_TAG. tag:GetResources tag:TagResources You must also have these additional permissions if you don't use the AWSServiceCatalogAppRegistryFullAccess policy. For more information, see AWSServiceCatalogAppRegistryFullAccess in the AppRegistry Administrator Guide. resource-groups:DisassociateResource cloudformation:UpdateStack cloudformation:DescribeStacks In addition, you must have the tagging permission defined by the Amazon Web Services service that creates the resource. For more information, see TagResources in the Resource Groups Tagging API Reference.
24
24
  */
25
25
  associateResource(params: ServiceCatalogAppRegistry.Types.AssociateResourceRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.AssociateResourceResponse) => void): Request<ServiceCatalogAppRegistry.Types.AssociateResourceResponse, AWSError>;
26
26
  /**
27
- * Associates a resource with an application. The resource can be specified by its ARN or name. The application can be specified by ARN, ID, or name.
27
+ * Associates a resource with an application. The resource can be specified by its ARN or name. The application can be specified by ARN, ID, or name. Minimum permissions You must have the following permissions to associate a resource using the OPTIONS parameter set to APPLY_APPLICATION_TAG. tag:GetResources tag:TagResources You must also have these additional permissions if you don't use the AWSServiceCatalogAppRegistryFullAccess policy. For more information, see AWSServiceCatalogAppRegistryFullAccess in the AppRegistry Administrator Guide. resource-groups:DisassociateResource cloudformation:UpdateStack cloudformation:DescribeStacks In addition, you must have the tagging permission defined by the Amazon Web Services service that creates the resource. For more information, see TagResources in the Resource Groups Tagging API Reference.
28
28
  */
29
29
  associateResource(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.AssociateResourceResponse) => void): Request<ServiceCatalogAppRegistry.Types.AssociateResourceResponse, AWSError>;
30
30
  /**
@@ -68,11 +68,11 @@ declare class ServiceCatalogAppRegistry extends Service {
68
68
  */
69
69
  disassociateAttributeGroup(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.DisassociateAttributeGroupResponse) => void): Request<ServiceCatalogAppRegistry.Types.DisassociateAttributeGroupResponse, AWSError>;
70
70
  /**
71
- * Disassociates a resource from application. Both the resource and the application can be specified either by ID or name.
71
+ * Disassociates a resource from application. Both the resource and the application can be specified either by ID or name. Minimum permissions You must have the following permissions to remove a resource that's been associated with an application using the APPLY_APPLICATION_TAG option for AssociateResource. tag:GetResources tag:UntagResources You must also have the following permissions if you don't use the AWSServiceCatalogAppRegistryFullAccess policy. For more information, see AWSServiceCatalogAppRegistryFullAccess in the AppRegistry Administrator Guide. resource-groups:DisassociateResource cloudformation:UpdateStack cloudformation:DescribeStacks In addition, you must have the tagging permission defined by the Amazon Web Services service that creates the resource. For more information, see UntagResources in the Resource Groups Tagging API Reference.
72
72
  */
73
73
  disassociateResource(params: ServiceCatalogAppRegistry.Types.DisassociateResourceRequest, callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.DisassociateResourceResponse) => void): Request<ServiceCatalogAppRegistry.Types.DisassociateResourceResponse, AWSError>;
74
74
  /**
75
- * Disassociates a resource from application. Both the resource and the application can be specified either by ID or name.
75
+ * Disassociates a resource from application. Both the resource and the application can be specified either by ID or name. Minimum permissions You must have the following permissions to remove a resource that's been associated with an application using the APPLY_APPLICATION_TAG option for AssociateResource. tag:GetResources tag:UntagResources You must also have the following permissions if you don't use the AWSServiceCatalogAppRegistryFullAccess policy. For more information, see AWSServiceCatalogAppRegistryFullAccess in the AppRegistry Administrator Guide. resource-groups:DisassociateResource cloudformation:UpdateStack cloudformation:DescribeStacks In addition, you must have the tagging permission defined by the Amazon Web Services service that creates the resource. For more information, see UntagResources in the Resource Groups Tagging API Reference.
76
76
  */
77
77
  disassociateResource(callback?: (err: AWSError, data: ServiceCatalogAppRegistry.Types.DisassociateResourceResponse) => void): Request<ServiceCatalogAppRegistry.Types.DisassociateResourceResponse, AWSError>;
78
78
  /**
@@ -236,6 +236,10 @@ declare namespace ServiceCatalogAppRegistry {
236
236
  * Key-value pairs you can use to associate with the application.
237
237
  */
238
238
  tags?: Tags;
239
+ /**
240
+ * A key-value pair that identifies an associated resource.
241
+ */
242
+ applicationTag?: ApplicationTagDefinition;
239
243
  }
240
244
  export type ApplicationArn = string;
241
245
  export type ApplicationId = string;
@@ -267,6 +271,26 @@ declare namespace ServiceCatalogAppRegistry {
267
271
  */
268
272
  lastUpdateTime?: Timestamp;
269
273
  }
274
+ export type ApplicationTagDefinition = {[key: string]: TagValue};
275
+ export interface ApplicationTagResult {
276
+ /**
277
+ * The application tag is in the process of being applied to a resource, was successfully applied to a resource, or failed to apply to a resource.
278
+ */
279
+ applicationTagStatus?: ApplicationTagStatus;
280
+ /**
281
+ * The message returned if the call fails.
282
+ */
283
+ errorMessage?: String;
284
+ /**
285
+ * The resources associated with an application
286
+ */
287
+ resources?: ResourcesList;
288
+ /**
289
+ * A unique pagination token for each page of results. Make the call again with the returned token to retrieve the next page of results.
290
+ */
291
+ nextToken?: NextToken;
292
+ }
293
+ export type ApplicationTagStatus = "IN_PROGRESS"|"SUCCESS"|"FAILURE"|string;
270
294
  export type Arn = string;
271
295
  export interface AssociateAttributeGroupRequest {
272
296
  /**
@@ -301,6 +325,10 @@ declare namespace ServiceCatalogAppRegistry {
301
325
  * The name or ID of the resource of which the application will be associated.
302
326
  */
303
327
  resource: ResourceSpecifier;
328
+ /**
329
+ * Determines whether an application tag is applied or skipped.
330
+ */
331
+ options?: Options;
304
332
  }
305
333
  export interface AssociateResourceResponse {
306
334
  /**
@@ -311,8 +339,13 @@ declare namespace ServiceCatalogAppRegistry {
311
339
  * The Amazon resource name (ARN) that specifies the resource.
312
340
  */
313
341
  resourceArn?: Arn;
342
+ /**
343
+ * Determines whether an application tag is applied or skipped.
344
+ */
345
+ options?: Options;
314
346
  }
315
347
  export type AssociationCount = number;
348
+ export type AssociationOption = "APPLY_APPLICATION_TAG"|"SKIP_APPLICATION_TAG"|string;
316
349
  export interface AttributeGroup {
317
350
  /**
318
351
  * The globally unique attribute group identifier of the attribute group.
@@ -564,7 +597,12 @@ declare namespace ServiceCatalogAppRegistry {
564
597
  * The information about the integration of the application with other services, such as Resource Groups.
565
598
  */
566
599
  integrations?: Integrations;
600
+ /**
601
+ * A key-value pair that identifies an associated resource.
602
+ */
603
+ applicationTag?: ApplicationTagDefinition;
567
604
  }
605
+ export type GetAssociatedResourceFilter = ResourceItemStatus[];
568
606
  export interface GetAssociatedResourceRequest {
569
607
  /**
570
608
  * The name, ID, or ARN of the application.
@@ -578,12 +616,32 @@ declare namespace ServiceCatalogAppRegistry {
578
616
  * The name or ID of the resource associated with the application.
579
617
  */
580
618
  resource: ResourceSpecifier;
619
+ /**
620
+ * A unique pagination token for each page of results. Make the call again with the returned token to retrieve the next page of results.
621
+ */
622
+ nextToken?: NextToken;
623
+ /**
624
+ * States whether an application tag is applied, not applied, in the process of being applied, or skipped.
625
+ */
626
+ resourceTagStatus?: GetAssociatedResourceFilter;
627
+ /**
628
+ * The maximum number of results to return. If the parameter is omitted, it defaults to 25. The value is optional.
629
+ */
630
+ maxResults?: MaxResults;
581
631
  }
582
632
  export interface GetAssociatedResourceResponse {
583
633
  /**
584
634
  * The resource associated with the application.
585
635
  */
586
636
  resource?: Resource;
637
+ /**
638
+ * Determines whether an application tag is applied or skipped.
639
+ */
640
+ options?: Options;
641
+ /**
642
+ * The result of the application that's tag applied to a resource.
643
+ */
644
+ applicationTagResult?: ApplicationTagResult;
587
645
  }
588
646
  export interface GetAttributeGroupRequest {
589
647
  /**
@@ -640,6 +698,7 @@ declare namespace ServiceCatalogAppRegistry {
640
698
  * The information about the resource group integration.
641
699
  */
642
700
  resourceGroup?: ResourceGroup;
701
+ applicationTagResourceGroup?: ResourceGroup;
643
702
  }
644
703
  export interface ListApplicationsRequest {
645
704
  /**
@@ -768,6 +827,7 @@ declare namespace ServiceCatalogAppRegistry {
768
827
  export type MaxResults = number;
769
828
  export type Name = string;
770
829
  export type NextToken = string;
830
+ export type Options = AssociationOption[];
771
831
  export interface PutConfigurationRequest {
772
832
  /**
773
833
  * Associates a TagKey configuration to an account.
@@ -782,7 +842,7 @@ declare namespace ServiceCatalogAppRegistry {
782
842
  /**
783
843
  * The Amazon resource name (ARN) of the resource.
784
844
  */
785
- arn?: StackArn;
845
+ arn?: Arn;
786
846
  /**
787
847
  * The time the resource was associated with the application.
788
848
  */
@@ -830,6 +890,10 @@ declare namespace ServiceCatalogAppRegistry {
830
890
  * The details related to the resource.
831
891
  */
832
892
  resourceDetails?: ResourceDetails;
893
+ /**
894
+ * Determines whether an application tag is applied or skipped.
895
+ */
896
+ options?: Options;
833
897
  }
834
898
  export interface ResourceIntegrations {
835
899
  /**
@@ -837,10 +901,31 @@ declare namespace ServiceCatalogAppRegistry {
837
901
  */
838
902
  resourceGroup?: ResourceGroup;
839
903
  }
904
+ export type ResourceItemStatus = "SUCCESS"|"FAILED"|"IN_PROGRESS"|"SKIPPED"|string;
905
+ export type ResourceItemType = string;
840
906
  export type ResourceSpecifier = string;
841
907
  export type ResourceType = "CFN_STACK"|"RESOURCE_TAG_VALUE"|string;
842
908
  export type Resources = ResourceInfo[];
843
- export type StackArn = string;
909
+ export type ResourcesList = ResourcesListItem[];
910
+ export interface ResourcesListItem {
911
+ /**
912
+ * The Amazon resource name (ARN) of the resource.
913
+ */
914
+ resourceArn?: Arn;
915
+ /**
916
+ * The message returned if the call fails.
917
+ */
918
+ errorMessage?: ResourcesListItemErrorMessage;
919
+ /**
920
+ * The status of the list item.
921
+ */
922
+ status?: String;
923
+ /**
924
+ * Provides information about the AppRegistry resource type.
925
+ */
926
+ resourceType?: ResourceItemType;
927
+ }
928
+ export type ResourcesListItemErrorMessage = string;
844
929
  export type String = string;
845
930
  export type SyncAction = "START_SYNC"|"NO_ACTION"|string;
846
931
  export interface SyncResourceRequest {
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1493.0',
86
+ VERSION: '2.1495.0',
87
87
 
88
88
  /**
89
89
  * @api private