@aws-sdk/client-resource-groups 3.658.0 → 3.661.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.
Files changed (51) hide show
  1. package/README.md +41 -1
  2. package/dist-cjs/index.js +367 -35
  3. package/dist-es/ResourceGroups.js +10 -0
  4. package/dist-es/commands/CancelTagSyncTaskCommand.js +22 -0
  5. package/dist-es/commands/GetTagSyncTaskCommand.js +22 -0
  6. package/dist-es/commands/ListGroupingStatusesCommand.js +22 -0
  7. package/dist-es/commands/ListTagSyncTasksCommand.js +22 -0
  8. package/dist-es/commands/StartTagSyncTaskCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +43 -22
  11. package/dist-es/pagination/ListGroupingStatusesPaginator.js +4 -0
  12. package/dist-es/pagination/ListTagSyncTasksPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +2 -0
  14. package/dist-es/protocols/Aws_restJson1.js +204 -9
  15. package/dist-types/ResourceGroups.d.ts +37 -1
  16. package/dist-types/ResourceGroupsClient.d.ts +8 -3
  17. package/dist-types/commands/CancelTagSyncTaskCommand.d.ts +104 -0
  18. package/dist-types/commands/CreateGroupCommand.d.ts +9 -0
  19. package/dist-types/commands/DeleteGroupCommand.d.ts +6 -0
  20. package/dist-types/commands/GetGroupCommand.d.ts +6 -0
  21. package/dist-types/commands/GetTagSyncTaskCommand.d.ts +112 -0
  22. package/dist-types/commands/GetTagsCommand.d.ts +1 -1
  23. package/dist-types/commands/GroupResourcesCommand.d.ts +7 -3
  24. package/dist-types/commands/ListGroupResourcesCommand.d.ts +1 -1
  25. package/dist-types/commands/ListGroupingStatusesCommand.d.ts +109 -0
  26. package/dist-types/commands/ListGroupsCommand.d.ts +11 -1
  27. package/dist-types/commands/ListTagSyncTasksCommand.d.ts +122 -0
  28. package/dist-types/commands/StartTagSyncTaskCommand.d.ts +122 -0
  29. package/dist-types/commands/TagCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdateGroupCommand.d.ts +9 -0
  31. package/dist-types/commands/index.d.ts +5 -0
  32. package/dist-types/index.d.ts +1 -1
  33. package/dist-types/models/models_0.d.ts +622 -93
  34. package/dist-types/pagination/ListGroupingStatusesPaginator.d.ts +7 -0
  35. package/dist-types/pagination/ListTagSyncTasksPaginator.d.ts +7 -0
  36. package/dist-types/pagination/index.d.ts +2 -0
  37. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  38. package/dist-types/ts3.4/ResourceGroups.d.ts +86 -0
  39. package/dist-types/ts3.4/ResourceGroupsClient.d.ts +30 -0
  40. package/dist-types/ts3.4/commands/CancelTagSyncTaskCommand.d.ts +45 -0
  41. package/dist-types/ts3.4/commands/GetTagSyncTaskCommand.d.ts +47 -0
  42. package/dist-types/ts3.4/commands/ListGroupingStatusesCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/ListTagSyncTasksCommand.d.ts +50 -0
  44. package/dist-types/ts3.4/commands/StartTagSyncTaskCommand.d.ts +50 -0
  45. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +158 -38
  47. package/dist-types/ts3.4/pagination/ListGroupingStatusesPaginator.d.ts +11 -0
  48. package/dist-types/ts3.4/pagination/ListTagSyncTasksPaginator.d.ts +11 -0
  49. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  50. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  51. package/package.json +12 -12
@@ -60,6 +60,83 @@ export declare class BadRequestException extends __BaseException {
60
60
  */
61
61
  constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
62
62
  }
63
+ /**
64
+ * @public
65
+ */
66
+ export interface CancelTagSyncTaskInput {
67
+ /**
68
+ * <p>The Amazon resource name (ARN) of the tag-sync task. </p>
69
+ * @public
70
+ */
71
+ TaskArn: string | undefined;
72
+ }
73
+ /**
74
+ * <p>The caller isn't authorized to make the request. Check permissions.</p>
75
+ * @public
76
+ */
77
+ export declare class ForbiddenException extends __BaseException {
78
+ readonly name: "ForbiddenException";
79
+ readonly $fault: "client";
80
+ Message?: string;
81
+ /**
82
+ * @internal
83
+ */
84
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
85
+ }
86
+ /**
87
+ * <p>An internal error occurred while processing the request. Try again later.</p>
88
+ * @public
89
+ */
90
+ export declare class InternalServerErrorException extends __BaseException {
91
+ readonly name: "InternalServerErrorException";
92
+ readonly $fault: "server";
93
+ Message?: string;
94
+ /**
95
+ * @internal
96
+ */
97
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
98
+ }
99
+ /**
100
+ * <p>The request uses an HTTP method that isn't allowed for the specified resource.</p>
101
+ * @public
102
+ */
103
+ export declare class MethodNotAllowedException extends __BaseException {
104
+ readonly name: "MethodNotAllowedException";
105
+ readonly $fault: "client";
106
+ Message?: string;
107
+ /**
108
+ * @internal
109
+ */
110
+ constructor(opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>);
111
+ }
112
+ /**
113
+ * <p>You've exceeded throttling limits by making too many requests in a period of
114
+ * time.</p>
115
+ * @public
116
+ */
117
+ export declare class TooManyRequestsException extends __BaseException {
118
+ readonly name: "TooManyRequestsException";
119
+ readonly $fault: "client";
120
+ Message?: string;
121
+ /**
122
+ * @internal
123
+ */
124
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
125
+ }
126
+ /**
127
+ * <p>The request was rejected because it doesn't have valid credentials for the target
128
+ * resource.</p>
129
+ * @public
130
+ */
131
+ export declare class UnauthorizedException extends __BaseException {
132
+ readonly name: "UnauthorizedException";
133
+ readonly $fault: "client";
134
+ Message?: string;
135
+ /**
136
+ * @internal
137
+ */
138
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
139
+ }
63
140
  /**
64
141
  * <p>A parameter for a group configuration item. For details about group service
65
142
  * configuration syntax, see <a href="https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html">Service configurations for resource
@@ -157,7 +234,7 @@ export interface ResourceQuery {
157
234
  * <code>CLOUDFORMATION_STACK_1_0:</code>
158
235
  * </i> Specifies that you
159
236
  * want the group to contain the members of an CloudFormation stack. The <code>Query</code>
160
- * contains a <code>StackIdentifier</code> element with an ARN for a CloudFormation
237
+ * contains a <code>StackIdentifier</code> element with an Amazon resource name (ARN) for a CloudFormation
161
238
  * stack.</p>
162
239
  * </li>
163
240
  * <li>
@@ -319,6 +396,23 @@ export interface CreateGroupInput {
319
396
  * @public
320
397
  */
321
398
  Configuration?: GroupConfigurationItem[];
399
+ /**
400
+ * <p>The critical rank of the application group on a scale of 1 to 10, with a
401
+ * rank of 1 being the most critical, and a rank of 10 being least critical.</p>
402
+ * @public
403
+ */
404
+ Criticality?: number;
405
+ /**
406
+ * <p>A name, email address or other identifier for the person or group
407
+ * who is considered as the owner of this application group within your organization. </p>
408
+ * @public
409
+ */
410
+ Owner?: string;
411
+ /**
412
+ * <p>The name of the application group, which you can change at any time. </p>
413
+ * @public
414
+ */
415
+ DisplayName?: string;
322
416
  }
323
417
  /**
324
418
  * <p>A resource group that contains Amazon Web Services resources. You can assign resources to the group
@@ -342,7 +436,7 @@ export interface CreateGroupInput {
342
436
  */
343
437
  export interface Group {
344
438
  /**
345
- * <p>The ARN of the resource group.</p>
439
+ * <p>The Amazon resource name (ARN) of the resource group.</p>
346
440
  * @public
347
441
  */
348
442
  GroupArn: string | undefined;
@@ -356,6 +450,29 @@ export interface Group {
356
450
  * @public
357
451
  */
358
452
  Description?: string;
453
+ /**
454
+ * <p>The critical rank of the application group on a scale of 1 to 10, with a
455
+ * rank of 1 being the most critical, and a rank of 10 being least critical.</p>
456
+ * @public
457
+ */
458
+ Criticality?: number;
459
+ /**
460
+ * <p>A name, email address or other identifier for the person or group
461
+ * who is considered as the owner of this application group within your organization. </p>
462
+ * @public
463
+ */
464
+ Owner?: string;
465
+ /**
466
+ * <p>The name of the application group, which you can change at any time. </p>
467
+ * @public
468
+ */
469
+ DisplayName?: string;
470
+ /**
471
+ * <p>A tag that defines the application group membership. This tag is only supported
472
+ * for application groups. </p>
473
+ * @public
474
+ */
475
+ ApplicationTag?: Record<string, string>;
359
476
  }
360
477
  /**
361
478
  * @public
@@ -430,59 +547,6 @@ export interface CreateGroupOutput {
430
547
  */
431
548
  GroupConfiguration?: GroupConfiguration;
432
549
  }
433
- /**
434
- * <p>The caller isn't authorized to make the request. Check permissions.</p>
435
- * @public
436
- */
437
- export declare class ForbiddenException extends __BaseException {
438
- readonly name: "ForbiddenException";
439
- readonly $fault: "client";
440
- Message?: string;
441
- /**
442
- * @internal
443
- */
444
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
445
- }
446
- /**
447
- * <p>An internal error occurred while processing the request. Try again later.</p>
448
- * @public
449
- */
450
- export declare class InternalServerErrorException extends __BaseException {
451
- readonly name: "InternalServerErrorException";
452
- readonly $fault: "server";
453
- Message?: string;
454
- /**
455
- * @internal
456
- */
457
- constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
458
- }
459
- /**
460
- * <p>The request uses an HTTP method that isn't allowed for the specified resource.</p>
461
- * @public
462
- */
463
- export declare class MethodNotAllowedException extends __BaseException {
464
- readonly name: "MethodNotAllowedException";
465
- readonly $fault: "client";
466
- Message?: string;
467
- /**
468
- * @internal
469
- */
470
- constructor(opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>);
471
- }
472
- /**
473
- * <p>You've exceeded throttling limits by making too many requests in a period of
474
- * time.</p>
475
- * @public
476
- */
477
- export declare class TooManyRequestsException extends __BaseException {
478
- readonly name: "TooManyRequestsException";
479
- readonly $fault: "client";
480
- Message?: string;
481
- /**
482
- * @internal
483
- */
484
- constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
485
- }
486
550
  /**
487
551
  * @public
488
552
  */
@@ -495,7 +559,7 @@ export interface DeleteGroupInput {
495
559
  */
496
560
  GroupName?: string;
497
561
  /**
498
- * <p>The name or the ARN of the resource group to delete.</p>
562
+ * <p>The name or the Amazon resource name (ARN) of the resource group to delete.</p>
499
563
  * @public
500
564
  */
501
565
  Group?: string;
@@ -545,7 +609,7 @@ export interface GetGroupInput {
545
609
  */
546
610
  GroupName?: string;
547
611
  /**
548
- * <p>The name or the ARN of the resource group to retrieve.</p>
612
+ * <p>The name or the Amazon resource name (ARN) of the resource group to retrieve.</p>
549
613
  * @public
550
614
  */
551
615
  Group?: string;
@@ -567,7 +631,7 @@ export interface GetGroupOutput {
567
631
  */
568
632
  export interface GetGroupConfigurationInput {
569
633
  /**
570
- * <p>The name or the ARN of the resource group for which you want to retrive the service
634
+ * <p>The name or the Amazon resource name (ARN) of the resource group for which you want to retrive the service
571
635
  * configuration.</p>
572
636
  * @public
573
637
  */
@@ -597,7 +661,7 @@ export interface GetGroupQueryInput {
597
661
  */
598
662
  GroupName?: string;
599
663
  /**
600
- * <p>The name or the ARN of the resource group to query.</p>
664
+ * <p>The name or the Amazon resource name (ARN) of the resource group to query.</p>
601
665
  * @public
602
666
  */
603
667
  Group?: string;
@@ -638,7 +702,7 @@ export interface GetGroupQueryOutput {
638
702
  */
639
703
  export interface GetTagsInput {
640
704
  /**
641
- * <p>The ARN of the resource group whose tags you want to retrieve.</p>
705
+ * <p>The Amazon resource name (ARN) of the resource group whose tags you want to retrieve.</p>
642
706
  * @public
643
707
  */
644
708
  Arn: string | undefined;
@@ -648,7 +712,7 @@ export interface GetTagsInput {
648
712
  */
649
713
  export interface GetTagsOutput {
650
714
  /**
651
- * <p>The ARN of the tagged resource group.</p>
715
+ * <p>TheAmazon resource name (ARN) of the tagged resource group.</p>
652
716
  * @public
653
717
  */
654
718
  Arn?: string;
@@ -658,17 +722,109 @@ export interface GetTagsOutput {
658
722
  */
659
723
  Tags?: Record<string, string>;
660
724
  }
725
+ /**
726
+ * @public
727
+ */
728
+ export interface GetTagSyncTaskInput {
729
+ /**
730
+ * <p>The Amazon resource name (ARN) of the tag-sync task. </p>
731
+ * @public
732
+ */
733
+ TaskArn: string | undefined;
734
+ }
735
+ /**
736
+ * @public
737
+ * @enum
738
+ */
739
+ export declare const TagSyncTaskStatus: {
740
+ readonly ACTIVE: "ACTIVE";
741
+ readonly ERROR: "ERROR";
742
+ };
743
+ /**
744
+ * @public
745
+ */
746
+ export type TagSyncTaskStatus = (typeof TagSyncTaskStatus)[keyof typeof TagSyncTaskStatus];
747
+ /**
748
+ * @public
749
+ */
750
+ export interface GetTagSyncTaskOutput {
751
+ /**
752
+ * <p>The Amazon resource name (ARN) of the application group. </p>
753
+ * @public
754
+ */
755
+ GroupArn?: string;
756
+ /**
757
+ * <p>The name of the application group. </p>
758
+ * @public
759
+ */
760
+ GroupName?: string;
761
+ /**
762
+ * <p>The Amazon resource name (ARN) of the tag-sync task. </p>
763
+ * @public
764
+ */
765
+ TaskArn?: string;
766
+ /**
767
+ * <p>The tag key. </p>
768
+ * @public
769
+ */
770
+ TagKey?: string;
771
+ /**
772
+ * <p>The tag value. </p>
773
+ * @public
774
+ */
775
+ TagValue?: string;
776
+ /**
777
+ * <p>The Amazon resource name (ARN) of the role assumed by Resource Groups to tag and untag resources on your behalf. </p>
778
+ * <p>For more information about this role, review <a href="https://docs.aws.amazon.com/servicecatalog/latest/arguide/app-tag-sync.html#tag-sync-role">Tag-sync required permissions</a>.
779
+ * </p>
780
+ * @public
781
+ */
782
+ RoleArn?: string;
783
+ /**
784
+ * <p>The status of the tag-sync task. </p>
785
+ * <p>Valid values include:</p>
786
+ * <ul>
787
+ * <li>
788
+ * <p>
789
+ * <code>ACTIVE</code> - The tag-sync task is actively managing resources in
790
+ * the application by adding or removing the <code>awsApplication</code> tag from resources
791
+ * when they are tagged or untagged with the specified tag key-value pair.
792
+ * </p>
793
+ * </li>
794
+ * <li>
795
+ * <p>
796
+ * <code>ERROR</code> - The tag-sync task is not actively managing resources
797
+ * in the application. Review the <code>ErrorMessage</code> for more information about
798
+ * resolving the error.
799
+ * </p>
800
+ * </li>
801
+ * </ul>
802
+ * @public
803
+ */
804
+ Status?: TagSyncTaskStatus;
805
+ /**
806
+ * <p>The specific error message in cases where the tag-sync task status
807
+ * is <code>ERROR</code>. </p>
808
+ * @public
809
+ */
810
+ ErrorMessage?: string;
811
+ /**
812
+ * <p>The timestamp of when the tag-sync task was created. </p>
813
+ * @public
814
+ */
815
+ CreatedAt?: Date;
816
+ }
661
817
  /**
662
818
  * @public
663
819
  */
664
820
  export interface GroupResourcesInput {
665
821
  /**
666
- * <p>The name or the ARN of the resource group to add resources to.</p>
822
+ * <p>The name or the Amazon resource name (ARN) of the resource group to add resources to.</p>
667
823
  * @public
668
824
  */
669
825
  Group: string | undefined;
670
826
  /**
671
- * <p>The list of ARNs of the resources to be added to the group. </p>
827
+ * <p>The list of Amazon resource names (ARNs) of the resources to be added to the group. </p>
672
828
  * @public
673
829
  */
674
830
  ResourceArns: string[] | undefined;
@@ -679,7 +835,7 @@ export interface GroupResourcesInput {
679
835
  */
680
836
  export interface FailedResource {
681
837
  /**
682
- * <p>The ARN of the resource that failed to be added or removed.</p>
838
+ * <p>The Amazon resource name (ARN) of the resource that failed to be added or removed.</p>
683
839
  * @public
684
840
  */
685
841
  ResourceArn?: string;
@@ -712,18 +868,18 @@ export interface PendingResource {
712
868
  */
713
869
  export interface GroupResourcesOutput {
714
870
  /**
715
- * <p>A list of ARNs of the resources that this operation successfully added to the
871
+ * <p>A list of Amazon resource names (ARNs) of the resources that this operation successfully added to the
716
872
  * group.</p>
717
873
  * @public
718
874
  */
719
875
  Succeeded?: string[];
720
876
  /**
721
- * <p>A list of ARNs of any resources that this operation failed to add to the group.</p>
877
+ * <p>A list of Amazon resource names (ARNs) of any resources that this operation failed to add to the group.</p>
722
878
  * @public
723
879
  */
724
880
  Failed?: FailedResource[];
725
881
  /**
726
- * <p>A list of ARNs of any resources that this operation is still in the process adding to
882
+ * <p>A list of Amazon resource names (ARNs) of any resources that this operation is still in the process adding to
727
883
  * the group. These pending additions continue asynchronously. You can check the status of
728
884
  * pending additions by using the <code>
729
885
  * <a>ListGroupResources</a>
@@ -734,6 +890,153 @@ export interface GroupResourcesOutput {
734
890
  */
735
891
  Pending?: PendingResource[];
736
892
  }
893
+ /**
894
+ * @public
895
+ * @enum
896
+ */
897
+ export declare const ListGroupingStatusesFilterName: {
898
+ readonly ResourceArn: "resource-arn";
899
+ readonly Status: "status";
900
+ };
901
+ /**
902
+ * @public
903
+ */
904
+ export type ListGroupingStatusesFilterName = (typeof ListGroupingStatusesFilterName)[keyof typeof ListGroupingStatusesFilterName];
905
+ /**
906
+ * <p>A filter name and value pair that is used to obtain more specific results from the list of grouping statuses. </p>
907
+ * @public
908
+ */
909
+ export interface ListGroupingStatusesFilter {
910
+ /**
911
+ * <p>The name of the filter. Filter names are case-sensitive. </p>
912
+ * @public
913
+ */
914
+ Name: ListGroupingStatusesFilterName | undefined;
915
+ /**
916
+ * <p>One or more filter values. Allowed filter values vary by resource filter name, and are case-sensitive. </p>
917
+ * @public
918
+ */
919
+ Values: string[] | undefined;
920
+ }
921
+ /**
922
+ * @public
923
+ */
924
+ export interface ListGroupingStatusesInput {
925
+ /**
926
+ * <p>The application group identifier, expressed as an Amazon resource name (ARN) or the application group name. </p>
927
+ * @public
928
+ */
929
+ Group: string | undefined;
930
+ /**
931
+ * <p>The maximum number of resources and their statuses returned in the
932
+ * response. </p>
933
+ * @public
934
+ */
935
+ MaxResults?: number;
936
+ /**
937
+ * <p>The filter name and value pair that is used to return more
938
+ * specific results from a list of resources. </p>
939
+ * @public
940
+ */
941
+ Filters?: ListGroupingStatusesFilter[];
942
+ /**
943
+ * <p>The parameter for receiving additional results if you receive a
944
+ * <code>NextToken</code> response in a previous request. A <code>NextToken</code>
945
+ * response indicates that more output is available. Set this parameter to the
946
+ * value provided by a previous call's <code>NextToken</code> response to indicate
947
+ * where the output should continue from. </p>
948
+ * @public
949
+ */
950
+ NextToken?: string;
951
+ }
952
+ /**
953
+ * @public
954
+ * @enum
955
+ */
956
+ export declare const GroupingType: {
957
+ readonly GROUP: "GROUP";
958
+ readonly UNGROUP: "UNGROUP";
959
+ };
960
+ /**
961
+ * @public
962
+ */
963
+ export type GroupingType = (typeof GroupingType)[keyof typeof GroupingType];
964
+ /**
965
+ * @public
966
+ * @enum
967
+ */
968
+ export declare const GroupingStatus: {
969
+ readonly FAILED: "FAILED";
970
+ readonly IN_PROGRESS: "IN_PROGRESS";
971
+ readonly SKIPPED: "SKIPPED";
972
+ readonly SUCCESS: "SUCCESS";
973
+ };
974
+ /**
975
+ * @public
976
+ */
977
+ export type GroupingStatus = (typeof GroupingStatus)[keyof typeof GroupingStatus];
978
+ /**
979
+ * <p>The information about a grouping or ungrouping resource action. </p>
980
+ * @public
981
+ */
982
+ export interface GroupingStatusesItem {
983
+ /**
984
+ * <p>The Amazon resource name (ARN) of a resource. </p>
985
+ * @public
986
+ */
987
+ ResourceArn?: string;
988
+ /**
989
+ * <p>Describes the resource grouping action with values of
990
+ * <code>GROUP</code> or <code>UNGROUP</code>. </p>
991
+ * @public
992
+ */
993
+ Action?: GroupingType;
994
+ /**
995
+ * <p>Describes the resource grouping status with values of
996
+ * <code>SUCCESS</code>, <code>FAILED</code>, <code>IN_PROGRESS</code>,
997
+ * or <code>SKIPPED</code>. </p>
998
+ * @public
999
+ */
1000
+ Status?: GroupingStatus;
1001
+ /**
1002
+ * <p>A message that explains the <code>ErrorCode</code>. </p>
1003
+ * @public
1004
+ */
1005
+ ErrorMessage?: string;
1006
+ /**
1007
+ * <p>Specifies the error code that was raised. </p>
1008
+ * @public
1009
+ */
1010
+ ErrorCode?: string;
1011
+ /**
1012
+ * <p>A timestamp of when the status was last updated. </p>
1013
+ * @public
1014
+ */
1015
+ UpdatedAt?: Date;
1016
+ }
1017
+ /**
1018
+ * @public
1019
+ */
1020
+ export interface ListGroupingStatusesOutput {
1021
+ /**
1022
+ * <p>The application group identifier, expressed as an Amazon resource name (ARN) or the application group name.</p>
1023
+ * @public
1024
+ */
1025
+ Group?: string;
1026
+ /**
1027
+ * <p>Returns details about the grouping or ungrouping status of the
1028
+ * resources in the specified application group. </p>
1029
+ * @public
1030
+ */
1031
+ GroupingStatuses?: GroupingStatusesItem[];
1032
+ /**
1033
+ * <p>If present, indicates that more output is available than is included in the current response.
1034
+ * Use this value in the <code>NextToken</code> request parameter in a subsequent call to the operation to get the next part of the output.
1035
+ * You should repeat this until the <code>NextToken</code> response element comes back as <code>null</code>. </p>
1036
+ * @public
1037
+ */
1038
+ NextToken?: string;
1039
+ }
737
1040
  /**
738
1041
  * @public
739
1042
  * @enum
@@ -782,7 +1085,7 @@ export interface ListGroupResourcesInput {
782
1085
  */
783
1086
  GroupName?: string;
784
1087
  /**
785
- * <p>The name or the ARN of the resource group</p>
1088
+ * <p>The name or the Amazon resource name (ARN) of the resource group. </p>
786
1089
  * @public
787
1090
  */
788
1091
  Group?: string;
@@ -877,7 +1180,7 @@ export interface QueryError {
877
1180
  */
878
1181
  export interface ResourceIdentifier {
879
1182
  /**
880
- * <p>The ARN of a resource.</p>
1183
+ * <p>The Amazon resource name (ARN) of a resource.</p>
881
1184
  * @public
882
1185
  */
883
1186
  ResourceArn?: string;
@@ -977,26 +1280,15 @@ export interface ListGroupResourcesOutput {
977
1280
  */
978
1281
  QueryErrors?: QueryError[];
979
1282
  }
980
- /**
981
- * <p>The request was rejected because it doesn't have valid credentials for the target
982
- * resource.</p>
983
- * @public
984
- */
985
- export declare class UnauthorizedException extends __BaseException {
986
- readonly name: "UnauthorizedException";
987
- readonly $fault: "client";
988
- Message?: string;
989
- /**
990
- * @internal
991
- */
992
- constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
993
- }
994
1283
  /**
995
1284
  * @public
996
1285
  * @enum
997
1286
  */
998
1287
  export declare const GroupFilterName: {
999
1288
  readonly ConfigurationType: "configuration-type";
1289
+ readonly Criticality: "criticality";
1290
+ readonly DisplayName: "display-name";
1291
+ readonly Owner: "owner";
1000
1292
  readonly ResourceType: "resource-type";
1001
1293
  };
1002
1294
  /**
@@ -1044,6 +1336,11 @@ export interface ListGroupsInput {
1044
1336
  * <ul>
1045
1337
  * <li>
1046
1338
  * <p>
1339
+ * <code>AWS::ResourceGroups::ApplicationGroup</code>
1340
+ * </p>
1341
+ * </li>
1342
+ * <li>
1343
+ * <p>
1047
1344
  * <code>AWS::AppRegistry::Application</code>
1048
1345
  * </p>
1049
1346
  * </li>
@@ -1110,10 +1407,32 @@ export interface GroupIdentifier {
1110
1407
  */
1111
1408
  GroupName?: string;
1112
1409
  /**
1113
- * <p>The ARN of the resource group.</p>
1410
+ * <p>The Amazon resource name (ARN) of the resource group.</p>
1114
1411
  * @public
1115
1412
  */
1116
1413
  GroupArn?: string;
1414
+ /**
1415
+ * <p>The description of the application group. </p>
1416
+ * @public
1417
+ */
1418
+ Description?: string;
1419
+ /**
1420
+ * <p>The critical rank of the application group on a scale of 1 to 10, with a
1421
+ * rank of 1 being the most critical, and a rank of 10 being least critical.</p>
1422
+ * @public
1423
+ */
1424
+ Criticality?: number;
1425
+ /**
1426
+ * <p>A name, email address or other identifier for the person or group
1427
+ * who is considered as the owner of this group within your organization. </p>
1428
+ * @public
1429
+ */
1430
+ Owner?: string;
1431
+ /**
1432
+ * <p>The name of the application group, which you can change at any time. </p>
1433
+ * @public
1434
+ */
1435
+ DisplayName?: string;
1117
1436
  }
1118
1437
  /**
1119
1438
  * @public
@@ -1149,12 +1468,140 @@ export interface ListGroupsOutput {
1149
1468
  */
1150
1469
  NextToken?: string;
1151
1470
  }
1471
+ /**
1472
+ * <p>Returns tag-sync tasks filtered by the Amazon resource name (ARN) or name of a
1473
+ * specified application group. </p>
1474
+ * @public
1475
+ */
1476
+ export interface ListTagSyncTasksFilter {
1477
+ /**
1478
+ * <p>The Amazon resource name (ARN) of the application group. </p>
1479
+ * @public
1480
+ */
1481
+ GroupArn?: string;
1482
+ /**
1483
+ * <p>The name of the application group. </p>
1484
+ * @public
1485
+ */
1486
+ GroupName?: string;
1487
+ }
1488
+ /**
1489
+ * @public
1490
+ */
1491
+ export interface ListTagSyncTasksInput {
1492
+ /**
1493
+ * <p>The Amazon resource name (ARN) or name of the application group for which you want to return a
1494
+ * list of tag-sync tasks. </p>
1495
+ * @public
1496
+ */
1497
+ Filters?: ListTagSyncTasksFilter[];
1498
+ /**
1499
+ * <p>The maximum number of results to be included in the response. </p>
1500
+ * @public
1501
+ */
1502
+ MaxResults?: number;
1503
+ /**
1504
+ * <p>The parameter for receiving additional results if you receive a
1505
+ * <code>NextToken</code> response in a previous request. A <code>NextToken</code>
1506
+ * response indicates that more output is available. Set this parameter to the
1507
+ * value provided by a previous call's <code>NextToken</code> response to indicate
1508
+ * where the output should continue from. </p>
1509
+ * @public
1510
+ */
1511
+ NextToken?: string;
1512
+ }
1513
+ /**
1514
+ * <p>The Amazon resource name (ARN) of the tag-sync task. </p>
1515
+ * @public
1516
+ */
1517
+ export interface TagSyncTaskItem {
1518
+ /**
1519
+ * <p>The Amazon resource name (ARN) of the application group. </p>
1520
+ * @public
1521
+ */
1522
+ GroupArn?: string;
1523
+ /**
1524
+ * <p>The name of the application group. </p>
1525
+ * @public
1526
+ */
1527
+ GroupName?: string;
1528
+ /**
1529
+ * <p>The Amazon resource name (ARN) of the tag-sync task. </p>
1530
+ * @public
1531
+ */
1532
+ TaskArn?: string;
1533
+ /**
1534
+ * <p>The tag key. </p>
1535
+ * @public
1536
+ */
1537
+ TagKey?: string;
1538
+ /**
1539
+ * <p>The tag value. </p>
1540
+ * @public
1541
+ */
1542
+ TagValue?: string;
1543
+ /**
1544
+ * <p>The Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf.</p>
1545
+ * @public
1546
+ */
1547
+ RoleArn?: string;
1548
+ /**
1549
+ * <p>The status of the tag-sync task. </p>
1550
+ * <p>Valid values include:</p>
1551
+ * <ul>
1552
+ * <li>
1553
+ * <p>
1554
+ * <code>ACTIVE</code> - The tag-sync task is actively managing resources in
1555
+ * the application by adding or removing the <code>awsApplication</code> tag from resources
1556
+ * when they are tagged or untagged with the specified tag key-value pair.
1557
+ * </p>
1558
+ * </li>
1559
+ * <li>
1560
+ * <p>
1561
+ * <code>ERROR</code> - The tag-sync task is not actively managing resources
1562
+ * in the application. Review the <code>ErrorMessage</code> for more information about
1563
+ * resolving the error.
1564
+ * </p>
1565
+ * </li>
1566
+ * </ul>
1567
+ * @public
1568
+ */
1569
+ Status?: TagSyncTaskStatus;
1570
+ /**
1571
+ * <p>The specific error message in cases where the tag-sync task status
1572
+ * is <code>Error</code>.</p>
1573
+ * @public
1574
+ */
1575
+ ErrorMessage?: string;
1576
+ /**
1577
+ * <p>The timestamp of when the tag-sync task was created. </p>
1578
+ * @public
1579
+ */
1580
+ CreatedAt?: Date;
1581
+ }
1582
+ /**
1583
+ * @public
1584
+ */
1585
+ export interface ListTagSyncTasksOutput {
1586
+ /**
1587
+ * <p>A list of tag-sync tasks and information about each task. </p>
1588
+ * @public
1589
+ */
1590
+ TagSyncTasks?: TagSyncTaskItem[];
1591
+ /**
1592
+ * <p>If present, indicates that more output is available than is included in the current response.
1593
+ * Use this value in the <code>NextToken</code> request parameter in a subsequent call to the operation to get the next part of the output.
1594
+ * You should repeat this until the <code>NextToken</code> response element comes back as <code>null</code>.</p>
1595
+ * @public
1596
+ */
1597
+ NextToken?: string;
1598
+ }
1152
1599
  /**
1153
1600
  * @public
1154
1601
  */
1155
1602
  export interface PutGroupConfigurationInput {
1156
1603
  /**
1157
- * <p>The name or ARN of the resource group with the configuration that you want to
1604
+ * <p>The name or Amazon resource name (ARN) of the resource group with the configuration that you want to
1158
1605
  * update.</p>
1159
1606
  * @public
1160
1607
  */
@@ -1252,12 +1699,76 @@ export interface SearchResourcesOutput {
1252
1699
  */
1253
1700
  QueryErrors?: QueryError[];
1254
1701
  }
1702
+ /**
1703
+ * @public
1704
+ */
1705
+ export interface StartTagSyncTaskInput {
1706
+ /**
1707
+ * <p>The Amazon resource name (ARN) or name of the application group for which you want to create a tag-sync task. </p>
1708
+ * @public
1709
+ */
1710
+ Group: string | undefined;
1711
+ /**
1712
+ * <p>The tag key. Resources tagged with this tag key-value pair will be added to
1713
+ * the application. If a resource with this tag is later untagged, the tag-sync task removes
1714
+ * the resource from the application. </p>
1715
+ * @public
1716
+ */
1717
+ TagKey: string | undefined;
1718
+ /**
1719
+ * <p>The tag value. Resources tagged with this tag key-value pair will be added to
1720
+ * the application. If a resource with this tag is later untagged, the tag-sync task removes
1721
+ * the resource from the application. </p>
1722
+ * @public
1723
+ */
1724
+ TagValue: string | undefined;
1725
+ /**
1726
+ * <p>The Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf.</p>
1727
+ * @public
1728
+ */
1729
+ RoleArn: string | undefined;
1730
+ }
1731
+ /**
1732
+ * @public
1733
+ */
1734
+ export interface StartTagSyncTaskOutput {
1735
+ /**
1736
+ * <p>The Amazon resource name (ARN) of the application group for which you want to add or remove resources. </p>
1737
+ * @public
1738
+ */
1739
+ GroupArn?: string;
1740
+ /**
1741
+ * <p>The name of the application group to onboard and sync resources.</p>
1742
+ * @public
1743
+ */
1744
+ GroupName?: string;
1745
+ /**
1746
+ * <p>The Amazon resource name (ARN) of the new tag-sync task. </p>
1747
+ * @public
1748
+ */
1749
+ TaskArn?: string;
1750
+ /**
1751
+ * <p>The tag key of the tag-sync task. </p>
1752
+ * @public
1753
+ */
1754
+ TagKey?: string;
1755
+ /**
1756
+ * <p>The tag value of the tag-sync task. </p>
1757
+ * @public
1758
+ */
1759
+ TagValue?: string;
1760
+ /**
1761
+ * <p>The Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf.</p>
1762
+ * @public
1763
+ */
1764
+ RoleArn?: string;
1765
+ }
1255
1766
  /**
1256
1767
  * @public
1257
1768
  */
1258
1769
  export interface TagInput {
1259
1770
  /**
1260
- * <p>The ARN of the resource group to which to add tags.</p>
1771
+ * <p>The Amazon resource name (ARN) of the resource group to which to add tags.</p>
1261
1772
  * @public
1262
1773
  */
1263
1774
  Arn: string | undefined;
@@ -1273,7 +1784,7 @@ export interface TagInput {
1273
1784
  */
1274
1785
  export interface TagOutput {
1275
1786
  /**
1276
- * <p>The ARN of the tagged resource.</p>
1787
+ * <p>The Amazon resource name (ARN) of the tagged resource.</p>
1277
1788
  * @public
1278
1789
  */
1279
1790
  Arn?: string;
@@ -1288,12 +1799,12 @@ export interface TagOutput {
1288
1799
  */
1289
1800
  export interface UngroupResourcesInput {
1290
1801
  /**
1291
- * <p>The name or the ARN of the resource group from which to remove the resources.</p>
1802
+ * <p>The name or the Amazon resource name (ARN) of the resource group from which to remove the resources.</p>
1292
1803
  * @public
1293
1804
  */
1294
1805
  Group: string | undefined;
1295
1806
  /**
1296
- * <p>The ARNs of the resources to be removed from the group.</p>
1807
+ * <p>The Amazon resource names (ARNs) of the resources to be removed from the group.</p>
1297
1808
  * @public
1298
1809
  */
1299
1810
  ResourceArns: string[] | undefined;
@@ -1330,7 +1841,7 @@ export interface UngroupResourcesOutput {
1330
1841
  */
1331
1842
  export interface UntagInput {
1332
1843
  /**
1333
- * <p>The ARN of the resource group from which to remove tags. The command removed both the
1844
+ * <p>The Amazon resource name (ARN) of the resource group from which to remove tags. The command removed both the
1334
1845
  * specified keys and any values associated with those keys.</p>
1335
1846
  * @public
1336
1847
  */
@@ -1346,7 +1857,7 @@ export interface UntagInput {
1346
1857
  */
1347
1858
  export interface UntagOutput {
1348
1859
  /**
1349
- * <p>The ARN of the resource group from which tags have been removed.</p>
1860
+ * <p>The Amazon resource name (ARN) of the resource group from which tags have been removed.</p>
1350
1861
  * @public
1351
1862
  */
1352
1863
  Arn?: string;
@@ -1362,6 +1873,7 @@ export interface UntagOutput {
1362
1873
  export interface UpdateAccountSettingsInput {
1363
1874
  /**
1364
1875
  * <p>Specifies whether you want to turn <a href="https://docs.aws.amazon.com/ARG/latest/userguide/monitor-groups.html">group lifecycle events</a> on or off.</p>
1876
+ * <p>You can't turn on group lifecycle events if your resource groups quota is greater than 2,000. </p>
1365
1877
  * @public
1366
1878
  */
1367
1879
  GroupLifecycleEventsDesiredStatus?: GroupLifecycleEventsDesiredStatus;
@@ -1388,7 +1900,7 @@ export interface UpdateGroupInput {
1388
1900
  */
1389
1901
  GroupName?: string;
1390
1902
  /**
1391
- * <p>The name or the ARN of the resource group to modify.</p>
1903
+ * <p>The name or the ARN of the resource group to update.</p>
1392
1904
  * @public
1393
1905
  */
1394
1906
  Group?: string;
@@ -1398,6 +1910,23 @@ export interface UpdateGroupInput {
1398
1910
  * @public
1399
1911
  */
1400
1912
  Description?: string;
1913
+ /**
1914
+ * <p>The critical rank of the application group on a scale of 1 to 10, with a
1915
+ * rank of 1 being the most critical, and a rank of 10 being least critical.</p>
1916
+ * @public
1917
+ */
1918
+ Criticality?: number;
1919
+ /**
1920
+ * <p>A name, email address or other identifier for the person or group
1921
+ * who is considered as the owner of this application group within your organization. </p>
1922
+ * @public
1923
+ */
1924
+ Owner?: string;
1925
+ /**
1926
+ * <p>The name of the application group, which you can change at any time. </p>
1927
+ * @public
1928
+ */
1929
+ DisplayName?: string;
1401
1930
  }
1402
1931
  /**
1403
1932
  * @public
@@ -1421,7 +1950,7 @@ export interface UpdateGroupQueryInput {
1421
1950
  */
1422
1951
  GroupName?: string;
1423
1952
  /**
1424
- * <p>The name or the ARN of the resource group to query.</p>
1953
+ * <p>The name or the Amazon resource name (ARN) of the resource group to query.</p>
1425
1954
  * @public
1426
1955
  */
1427
1956
  Group?: string;