@aws-sdk/client-resource-groups 3.296.0 → 3.298.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 (66) hide show
  1. package/dist-cjs/commands/CreateGroupCommand.js +2 -3
  2. package/dist-cjs/commands/DeleteGroupCommand.js +2 -3
  3. package/dist-cjs/commands/GetAccountSettingsCommand.js +2 -3
  4. package/dist-cjs/commands/GetGroupCommand.js +2 -3
  5. package/dist-cjs/commands/GetGroupConfigurationCommand.js +2 -3
  6. package/dist-cjs/commands/GetGroupQueryCommand.js +2 -3
  7. package/dist-cjs/commands/GetTagsCommand.js +2 -3
  8. package/dist-cjs/commands/GroupResourcesCommand.js +2 -3
  9. package/dist-cjs/commands/ListGroupResourcesCommand.js +2 -3
  10. package/dist-cjs/commands/ListGroupsCommand.js +2 -3
  11. package/dist-cjs/commands/PutGroupConfigurationCommand.js +2 -3
  12. package/dist-cjs/commands/SearchResourcesCommand.js +2 -3
  13. package/dist-cjs/commands/TagCommand.js +2 -3
  14. package/dist-cjs/commands/UngroupResourcesCommand.js +2 -3
  15. package/dist-cjs/commands/UntagCommand.js +2 -3
  16. package/dist-cjs/commands/UpdateAccountSettingsCommand.js +2 -3
  17. package/dist-cjs/commands/UpdateGroupCommand.js +2 -3
  18. package/dist-cjs/commands/UpdateGroupQueryCommand.js +2 -3
  19. package/dist-cjs/models/models_0.js +1 -206
  20. package/dist-es/commands/CreateGroupCommand.js +2 -3
  21. package/dist-es/commands/DeleteGroupCommand.js +2 -3
  22. package/dist-es/commands/GetAccountSettingsCommand.js +2 -3
  23. package/dist-es/commands/GetGroupCommand.js +2 -3
  24. package/dist-es/commands/GetGroupConfigurationCommand.js +2 -3
  25. package/dist-es/commands/GetGroupQueryCommand.js +2 -3
  26. package/dist-es/commands/GetTagsCommand.js +2 -3
  27. package/dist-es/commands/GroupResourcesCommand.js +2 -3
  28. package/dist-es/commands/ListGroupResourcesCommand.js +2 -3
  29. package/dist-es/commands/ListGroupsCommand.js +2 -3
  30. package/dist-es/commands/PutGroupConfigurationCommand.js +2 -3
  31. package/dist-es/commands/SearchResourcesCommand.js +2 -3
  32. package/dist-es/commands/TagCommand.js +2 -3
  33. package/dist-es/commands/UngroupResourcesCommand.js +2 -3
  34. package/dist-es/commands/UntagCommand.js +2 -3
  35. package/dist-es/commands/UpdateAccountSettingsCommand.js +2 -3
  36. package/dist-es/commands/UpdateGroupCommand.js +2 -3
  37. package/dist-es/commands/UpdateGroupQueryCommand.js +2 -3
  38. package/dist-es/models/models_0.js +0 -153
  39. package/dist-types/ResourceGroups.d.ts +19 -0
  40. package/dist-types/ResourceGroupsClient.d.ts +24 -4
  41. package/dist-types/commands/CreateGroupCommand.d.ts +16 -0
  42. package/dist-types/commands/DeleteGroupCommand.d.ts +16 -0
  43. package/dist-types/commands/GetAccountSettingsCommand.d.ts +16 -0
  44. package/dist-types/commands/GetGroupCommand.d.ts +16 -0
  45. package/dist-types/commands/GetGroupConfigurationCommand.d.ts +16 -0
  46. package/dist-types/commands/GetGroupQueryCommand.d.ts +16 -0
  47. package/dist-types/commands/GetTagsCommand.d.ts +16 -0
  48. package/dist-types/commands/GroupResourcesCommand.d.ts +16 -0
  49. package/dist-types/commands/ListGroupResourcesCommand.d.ts +16 -0
  50. package/dist-types/commands/ListGroupsCommand.d.ts +16 -0
  51. package/dist-types/commands/PutGroupConfigurationCommand.d.ts +16 -0
  52. package/dist-types/commands/SearchResourcesCommand.d.ts +16 -0
  53. package/dist-types/commands/TagCommand.d.ts +16 -0
  54. package/dist-types/commands/UngroupResourcesCommand.d.ts +16 -0
  55. package/dist-types/commands/UntagCommand.d.ts +16 -0
  56. package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +16 -0
  57. package/dist-types/commands/UpdateGroupCommand.d.ts +16 -0
  58. package/dist-types/commands/UpdateGroupQueryCommand.d.ts +16 -0
  59. package/dist-types/models/ResourceGroupsServiceException.d.ts +2 -0
  60. package/dist-types/models/models_0.d.ts +163 -215
  61. package/dist-types/pagination/Interfaces.d.ts +3 -0
  62. package/dist-types/pagination/ListGroupResourcesPaginator.d.ts +3 -0
  63. package/dist-types/pagination/ListGroupsPaginator.d.ts +3 -0
  64. package/dist-types/pagination/SearchResourcesPaginator.d.ts +3 -0
  65. package/dist-types/ts3.4/models/models_0.d.ts +0 -135
  66. package/package.json +4 -3
@@ -1,9 +1,15 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ResourceGroupsServiceException as __BaseException } from "./ResourceGroupsServiceException";
3
+ /**
4
+ * @public
5
+ */
3
6
  export declare enum GroupLifecycleEventsDesiredStatus {
4
7
  ACTIVE = "ACTIVE",
5
8
  INACTIVE = "INACTIVE"
6
9
  }
10
+ /**
11
+ * @public
12
+ */
7
13
  export declare enum GroupLifecycleEventsStatus {
8
14
  ACTIVE = "ACTIVE",
9
15
  ERROR = "ERROR",
@@ -11,6 +17,7 @@ export declare enum GroupLifecycleEventsStatus {
11
17
  IN_PROGRESS = "IN_PROGRESS"
12
18
  }
13
19
  /**
20
+ * @public
14
21
  * <p>The Resource Groups settings for this Amazon Web Services account.</p>
15
22
  */
16
23
  export interface AccountSettings {
@@ -28,6 +35,7 @@ export interface AccountSettings {
28
35
  GroupLifecycleEventsStatusMessage?: string;
29
36
  }
30
37
  /**
38
+ * @public
31
39
  * <p>The request includes one or more parameters that violate validation rules.</p>
32
40
  */
33
41
  export declare class BadRequestException extends __BaseException {
@@ -40,6 +48,7 @@ export declare class BadRequestException extends __BaseException {
40
48
  constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
41
49
  }
42
50
  /**
51
+ * @public
43
52
  * <p>A parameter for a group configuration item. For details about group service
44
53
  * configuration syntax, see <a href="https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html">Service configurations for resource
45
54
  * groups</a>.</p>
@@ -59,6 +68,7 @@ export interface GroupConfigurationParameter {
59
68
  Values?: string[];
60
69
  }
61
70
  /**
71
+ * @public
62
72
  * <p>An item in a group configuration. A group service configuration can have one or more
63
73
  * items. For details about group service configuration syntax, see <a href="https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html">Service configurations for
64
74
  * resource groups</a>.</p>
@@ -78,11 +88,15 @@ export interface GroupConfigurationItem {
78
88
  */
79
89
  Parameters?: GroupConfigurationParameter[];
80
90
  }
91
+ /**
92
+ * @public
93
+ */
81
94
  export declare enum QueryType {
82
95
  CLOUDFORMATION_STACK_1_0 = "CLOUDFORMATION_STACK_1_0",
83
96
  TAG_FILTERS_1_0 = "TAG_FILTERS_1_0"
84
97
  }
85
98
  /**
99
+ * @public
86
100
  * <p>The query you can use to define a resource group or a search for resources. A
87
101
  * <code>ResourceQuery</code> specifies both a query <code>Type</code> and a
88
102
  * <code>Query</code> string as JSON string objects. See the examples section for
@@ -97,7 +111,7 @@ export declare enum QueryType {
97
111
  * parameter example:</p>
98
112
  * <p>
99
113
  * <code>--resource-query
100
- * '{"Type":"TAG_FILTERS_1_0","Query":"{\"ResourceTypeFilters\":[\"AWS::AllSupported\"],\"TagFilters\":[{\"Key\":\"Stage\",\"Values\":[\"Test\"]}]}"}'</code>
114
+ * '\{"Type":"TAG_FILTERS_1_0","Query":"\{\"ResourceTypeFilters\":[\"AWS::AllSupported\"],\"TagFilters\":[\{\"Key\":\"Stage\",\"Values\":[\"Test\"]\}]\}"\}'</code>
101
115
  * </p>
102
116
  * <p>In the preceding example, all of the double quote characters in the value part of the
103
117
  * <code>Query</code> element must be escaped because the value itself is surrounded by
@@ -181,20 +195,20 @@ export interface ResourceQuery {
181
195
  * <p>For example, consider the following sample query for resources that have two
182
196
  * tags, <code>Stage</code> and <code>Version</code>, with two values each:</p>
183
197
  * <p>
184
- * <code>[{"Stage":["Test","Deploy"]},{"Version":["1","2"]}]</code>
198
+ * <code>[\{"Stage":["Test","Deploy"]\},\{"Version":["1","2"]\}]</code>
185
199
  * </p>
186
200
  * <p>The results of this resource query could include the following.</p>
187
201
  * <ul>
188
202
  * <li>
189
203
  * <p>An Amazon EC2 instance that has the following two tags:
190
- * <code>{"Stage":"Deploy"}</code>, and
191
- * <code>{"Version":"2"}</code>
204
+ * <code>\{"Stage":"Deploy"\}</code>, and
205
+ * <code>\{"Version":"2"\}</code>
192
206
  * </p>
193
207
  * </li>
194
208
  * <li>
195
209
  * <p>An S3 bucket that has the following two tags:
196
- * <code>{"Stage":"Test"}</code>, and
197
- * <code>{"Version":"1"}</code>
210
+ * <code>\{"Stage":"Test"\}</code>, and
211
+ * <code>\{"Version":"1"\}</code>
198
212
  * </p>
199
213
  * </li>
200
214
  * </ul>
@@ -203,23 +217,23 @@ export interface ResourceQuery {
203
217
  * <ul>
204
218
  * <li>
205
219
  * <p>An Amazon EC2 instance that has only the following tag:
206
- * <code>{"Stage":"Deploy"}</code>.</p>
220
+ * <code>\{"Stage":"Deploy"\}</code>.</p>
207
221
  * <p>The instance does not have <b>all</b> of the
208
222
  * tag keys specified in the filter, so it is excluded from the
209
223
  * results.</p>
210
224
  * </li>
211
225
  * <li>
212
226
  * <p>An RDS database that has the following two tags:
213
- * <code>{"Stage":"Archived"}</code> and
214
- * <code>{"Version":"4"}</code>
227
+ * <code>\{"Stage":"Archived"\}</code> and
228
+ * <code>\{"Version":"4"\}</code>
215
229
  * </p>
216
230
  * <p>The database has all of the tag keys, but none of those keys has an
217
231
  * associated value that matches at least one of the specified values in
218
232
  * the filter.</p>
219
233
  * </li>
220
234
  * </ul>
221
- * <p>Example: <code>"TagFilters": [ { "Key": "Stage", "Values": [ "Gamma", "Beta" ]
222
- * }</code>
235
+ * <p>Example: <code>"TagFilters": [ \{ "Key": "Stage", "Values": [ "Gamma", "Beta" ]
236
+ * \}</code>
223
237
  * </p>
224
238
  * </li>
225
239
  * <li>
@@ -233,6 +247,9 @@ export interface ResourceQuery {
233
247
  */
234
248
  Query: string | undefined;
235
249
  }
250
+ /**
251
+ * @public
252
+ */
236
253
  export interface CreateGroupInput {
237
254
  /**
238
255
  * <p>The name of the group, which is the identifier of the group in other operations. You
@@ -274,6 +291,7 @@ export interface CreateGroupInput {
274
291
  Configuration?: GroupConfigurationItem[];
275
292
  }
276
293
  /**
294
+ * @public
277
295
  * <p>A resource group that contains Amazon Web Services resources. You can assign resources to the group
278
296
  * by associating either of the following elements with the group:</p>
279
297
  * <ul>
@@ -306,12 +324,16 @@ export interface Group {
306
324
  */
307
325
  Description?: string;
308
326
  }
327
+ /**
328
+ * @public
329
+ */
309
330
  export declare enum GroupConfigurationStatus {
310
331
  UPDATE_COMPLETE = "UPDATE_COMPLETE",
311
332
  UPDATE_FAILED = "UPDATE_FAILED",
312
333
  UPDATING = "UPDATING"
313
334
  }
314
335
  /**
336
+ * @public
315
337
  * <p>A service configuration associated with a resource group. The configuration options
316
338
  * are determined by the Amazon Web Services service that defines the <code>Type</code>, and specifies
317
339
  * which resources can be included in the group. You can add a service configuration when
@@ -338,6 +360,9 @@ export interface GroupConfiguration {
338
360
  */
339
361
  FailureReason?: string;
340
362
  }
363
+ /**
364
+ * @public
365
+ */
341
366
  export interface CreateGroupOutput {
342
367
  /**
343
368
  * <p>The description of the resource group.</p>
@@ -360,6 +385,7 @@ export interface CreateGroupOutput {
360
385
  GroupConfiguration?: GroupConfiguration;
361
386
  }
362
387
  /**
388
+ * @public
363
389
  * <p>The caller isn't authorized to make the request. Check permissions.</p>
364
390
  */
365
391
  export declare class ForbiddenException extends __BaseException {
@@ -372,6 +398,7 @@ export declare class ForbiddenException extends __BaseException {
372
398
  constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
373
399
  }
374
400
  /**
401
+ * @public
375
402
  * <p>An internal error occurred while processing the request. Try again later.</p>
376
403
  */
377
404
  export declare class InternalServerErrorException extends __BaseException {
@@ -384,6 +411,7 @@ export declare class InternalServerErrorException extends __BaseException {
384
411
  constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
385
412
  }
386
413
  /**
414
+ * @public
387
415
  * <p>The request uses an HTTP method that isn't allowed for the specified resource.</p>
388
416
  */
389
417
  export declare class MethodNotAllowedException extends __BaseException {
@@ -396,6 +424,7 @@ export declare class MethodNotAllowedException extends __BaseException {
396
424
  constructor(opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>);
397
425
  }
398
426
  /**
427
+ * @public
399
428
  * <p>You've exceeded throttling limits by making too many requests in a period of
400
429
  * time.</p>
401
430
  */
@@ -408,6 +437,9 @@ export declare class TooManyRequestsException extends __BaseException {
408
437
  */
409
438
  constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
410
439
  }
440
+ /**
441
+ * @public
442
+ */
411
443
  export interface DeleteGroupInput {
412
444
  /**
413
445
  * @deprecated
@@ -420,6 +452,9 @@ export interface DeleteGroupInput {
420
452
  */
421
453
  Group?: string;
422
454
  }
455
+ /**
456
+ * @public
457
+ */
423
458
  export interface DeleteGroupOutput {
424
459
  /**
425
460
  * <p>A full description of the deleted resource group.</p>
@@ -427,6 +462,7 @@ export interface DeleteGroupOutput {
427
462
  Group?: Group;
428
463
  }
429
464
  /**
465
+ * @public
430
466
  * <p>One or more of the specified resources don't exist.</p>
431
467
  */
432
468
  export declare class NotFoundException extends __BaseException {
@@ -438,12 +474,18 @@ export declare class NotFoundException extends __BaseException {
438
474
  */
439
475
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
440
476
  }
477
+ /**
478
+ * @public
479
+ */
441
480
  export interface GetAccountSettingsOutput {
442
481
  /**
443
482
  * <p>The current settings for the optional features in Resource Groups.</p>
444
483
  */
445
484
  AccountSettings?: AccountSettings;
446
485
  }
486
+ /**
487
+ * @public
488
+ */
447
489
  export interface GetGroupInput {
448
490
  /**
449
491
  * @deprecated
@@ -456,6 +498,9 @@ export interface GetGroupInput {
456
498
  */
457
499
  Group?: string;
458
500
  }
501
+ /**
502
+ * @public
503
+ */
459
504
  export interface GetGroupOutput {
460
505
  /**
461
506
  * <p>A structure that contains the metadata details for the specified resource group. Use
@@ -464,6 +509,9 @@ export interface GetGroupOutput {
464
509
  */
465
510
  Group?: Group;
466
511
  }
512
+ /**
513
+ * @public
514
+ */
467
515
  export interface GetGroupConfigurationInput {
468
516
  /**
469
517
  * <p>The name or the ARN of the resource group for which you want to retrive the service
@@ -471,6 +519,9 @@ export interface GetGroupConfigurationInput {
471
519
  */
472
520
  Group?: string;
473
521
  }
522
+ /**
523
+ * @public
524
+ */
474
525
  export interface GetGroupConfigurationOutput {
475
526
  /**
476
527
  * <p>A structure that describes the service configuration attached with the specified
@@ -479,6 +530,9 @@ export interface GetGroupConfigurationOutput {
479
530
  */
480
531
  GroupConfiguration?: GroupConfiguration;
481
532
  }
533
+ /**
534
+ * @public
535
+ */
482
536
  export interface GetGroupQueryInput {
483
537
  /**
484
538
  * @deprecated
@@ -492,6 +546,7 @@ export interface GetGroupQueryInput {
492
546
  Group?: string;
493
547
  }
494
548
  /**
549
+ * @public
495
550
  * <p>A mapping of a query attached to a resource group that determines the Amazon Web Services resources
496
551
  * that are members of the group.</p>
497
552
  */
@@ -507,6 +562,9 @@ export interface GroupQuery {
507
562
  */
508
563
  ResourceQuery: ResourceQuery | undefined;
509
564
  }
565
+ /**
566
+ * @public
567
+ */
510
568
  export interface GetGroupQueryOutput {
511
569
  /**
512
570
  * <p>The resource query associated with the specified group. For more information about
@@ -515,12 +573,18 @@ export interface GetGroupQueryOutput {
515
573
  */
516
574
  GroupQuery?: GroupQuery;
517
575
  }
576
+ /**
577
+ * @public
578
+ */
518
579
  export interface GetTagsInput {
519
580
  /**
520
581
  * <p>The ARN of the resource group whose tags you want to retrieve.</p>
521
582
  */
522
583
  Arn: string | undefined;
523
584
  }
585
+ /**
586
+ * @public
587
+ */
524
588
  export interface GetTagsOutput {
525
589
  /**
526
590
  * <p>The ARN of the tagged resource group.</p>
@@ -531,6 +595,9 @@ export interface GetTagsOutput {
531
595
  */
532
596
  Tags?: Record<string, string>;
533
597
  }
598
+ /**
599
+ * @public
600
+ */
534
601
  export interface GroupResourcesInput {
535
602
  /**
536
603
  * <p>The name or the ARN of the resource group to add resources to.</p>
@@ -542,6 +609,7 @@ export interface GroupResourcesInput {
542
609
  ResourceArns: string[] | undefined;
543
610
  }
544
611
  /**
612
+ * @public
545
613
  * <p>A resource that failed to be added to or removed from a group.</p>
546
614
  */
547
615
  export interface FailedResource {
@@ -559,6 +627,7 @@ export interface FailedResource {
559
627
  ErrorCode?: string;
560
628
  }
561
629
  /**
630
+ * @public
562
631
  * <p>A structure that identifies a resource that is currently pending addition to the group
563
632
  * as a member. Adding a resource to a resource group happens asynchronously as a
564
633
  * background task and this one isn't completed yet.</p>
@@ -569,6 +638,9 @@ export interface PendingResource {
569
638
  */
570
639
  ResourceArn?: string;
571
640
  }
641
+ /**
642
+ * @public
643
+ */
572
644
  export interface GroupResourcesOutput {
573
645
  /**
574
646
  * <p>A list of ARNs of the resources that this operation successfully added to the
@@ -590,10 +662,14 @@ export interface GroupResourcesOutput {
590
662
  */
591
663
  Pending?: PendingResource[];
592
664
  }
665
+ /**
666
+ * @public
667
+ */
593
668
  export declare enum ResourceFilterName {
594
669
  ResourceType = "resource-type"
595
670
  }
596
671
  /**
672
+ * @public
597
673
  * <p>A filter name and value pair that is used to obtain more specific results from a list
598
674
  * of resources.</p>
599
675
  */
@@ -608,6 +684,9 @@ export interface ResourceFilter {
608
684
  */
609
685
  Values: string[] | undefined;
610
686
  }
687
+ /**
688
+ * @public
689
+ */
611
690
  export interface ListGroupResourcesInput {
612
691
  /**
613
692
  * @deprecated
@@ -677,12 +756,16 @@ export interface ListGroupResourcesInput {
677
756
  */
678
757
  NextToken?: string;
679
758
  }
759
+ /**
760
+ * @public
761
+ */
680
762
  export declare enum QueryErrorCode {
681
763
  CLOUDFORMATION_STACK_INACTIVE = "CLOUDFORMATION_STACK_INACTIVE",
682
764
  CLOUDFORMATION_STACK_NOT_EXISTING = "CLOUDFORMATION_STACK_NOT_EXISTING",
683
765
  CLOUDFORMATION_STACK_UNASSUMABLE_ROLE = "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE"
684
766
  }
685
767
  /**
768
+ * @public
686
769
  * <p>A two-part error structure that can occur in <code>ListGroupResources</code> or
687
770
  * <code>SearchResources</code> operations on CloudFront stack-based queries. The error
688
771
  * occurs if the CloudFront stack on which the query is based either does not exist, or has a
@@ -705,6 +788,7 @@ export interface QueryError {
705
788
  Message?: string;
706
789
  }
707
790
  /**
791
+ * @public
708
792
  * <p>A structure that contains the ARN of a resource and its resource type.</p>
709
793
  */
710
794
  export interface ResourceIdentifier {
@@ -717,10 +801,14 @@ export interface ResourceIdentifier {
717
801
  */
718
802
  ResourceType?: string;
719
803
  }
804
+ /**
805
+ * @public
806
+ */
720
807
  export declare enum ResourceStatusValue {
721
808
  Pending = "PENDING"
722
809
  }
723
810
  /**
811
+ * @public
724
812
  * <p>A structure that identifies the current group membership status for a resource. Adding
725
813
  * a resource to a resource group is performed asynchronously as a background task. A
726
814
  * <code>PENDING</code> status indicates, for this resource, that the process isn't
@@ -733,6 +821,7 @@ export interface ResourceStatus {
733
821
  Name?: ResourceStatusValue | string;
734
822
  }
735
823
  /**
824
+ * @public
736
825
  * <p>A structure returned by the <a>ListGroupResources</a> operation that
737
826
  * contains identity and group membership status information for one of the resources in
738
827
  * the group.</p>
@@ -752,6 +841,9 @@ export interface ListGroupResourcesItem {
752
841
  */
753
842
  Status?: ResourceStatus;
754
843
  }
844
+ /**
845
+ * @public
846
+ */
755
847
  export interface ListGroupResourcesOutput {
756
848
  /**
757
849
  * <p>An array of resources from which you can determine each resource's identity, type, and
@@ -788,6 +880,7 @@ export interface ListGroupResourcesOutput {
788
880
  QueryErrors?: QueryError[];
789
881
  }
790
882
  /**
883
+ * @public
791
884
  * <p>The request was rejected because it doesn't have valid credentials for the target
792
885
  * resource.</p>
793
886
  */
@@ -800,11 +893,15 @@ export declare class UnauthorizedException extends __BaseException {
800
893
  */
801
894
  constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
802
895
  }
896
+ /**
897
+ * @public
898
+ */
803
899
  export declare enum GroupFilterName {
804
900
  ConfigurationType = "configuration-type",
805
901
  ResourceType = "resource-type"
806
902
  }
807
903
  /**
904
+ * @public
808
905
  * <p>A filter collection that you can use to restrict the results from a <code>List</code>
809
906
  * operation to only those you want to include.</p>
810
907
  */
@@ -819,6 +916,9 @@ export interface GroupFilter {
819
916
  */
820
917
  Values: string[] | undefined;
821
918
  }
919
+ /**
920
+ * @public
921
+ */
822
922
  export interface ListGroupsInput {
823
923
  /**
824
924
  * <p>Filters, formatted as <a>GroupFilter</a> objects, that you want to apply to
@@ -874,6 +974,7 @@ export interface ListGroupsInput {
874
974
  NextToken?: string;
875
975
  }
876
976
  /**
977
+ * @public
877
978
  * <p>The unique identifiers for a resource group.</p>
878
979
  */
879
980
  export interface GroupIdentifier {
@@ -886,6 +987,9 @@ export interface GroupIdentifier {
886
987
  */
887
988
  GroupArn?: string;
888
989
  }
990
+ /**
991
+ * @public
992
+ */
889
993
  export interface ListGroupsOutput {
890
994
  /**
891
995
  * <p>A list of <a>GroupIdentifier</a> objects. Each identifier is an object that
@@ -914,6 +1018,9 @@ export interface ListGroupsOutput {
914
1018
  */
915
1019
  NextToken?: string;
916
1020
  }
1021
+ /**
1022
+ * @public
1023
+ */
917
1024
  export interface PutGroupConfigurationInput {
918
1025
  /**
919
1026
  * <p>The name or ARN of the resource group with the configuration that you want to
@@ -933,8 +1040,14 @@ export interface PutGroupConfigurationInput {
933
1040
  */
934
1041
  Configuration?: GroupConfigurationItem[];
935
1042
  }
1043
+ /**
1044
+ * @public
1045
+ */
936
1046
  export interface PutGroupConfigurationOutput {
937
1047
  }
1048
+ /**
1049
+ * @public
1050
+ */
938
1051
  export interface SearchResourcesInput {
939
1052
  /**
940
1053
  * <p>The search query, using the same formats that are supported for resource group
@@ -960,6 +1073,9 @@ export interface SearchResourcesInput {
960
1073
  */
961
1074
  NextToken?: string;
962
1075
  }
1076
+ /**
1077
+ * @public
1078
+ */
963
1079
  export interface SearchResourcesOutput {
964
1080
  /**
965
1081
  * <p>The ARNs and resource types of resources that are members of the group that you
@@ -992,6 +1108,9 @@ export interface SearchResourcesOutput {
992
1108
  */
993
1109
  QueryErrors?: QueryError[];
994
1110
  }
1111
+ /**
1112
+ * @public
1113
+ */
995
1114
  export interface TagInput {
996
1115
  /**
997
1116
  * <p>The ARN of the resource group to which to add tags.</p>
@@ -1003,6 +1122,9 @@ export interface TagInput {
1003
1122
  */
1004
1123
  Tags: Record<string, string> | undefined;
1005
1124
  }
1125
+ /**
1126
+ * @public
1127
+ */
1006
1128
  export interface TagOutput {
1007
1129
  /**
1008
1130
  * <p>The ARN of the tagged resource.</p>
@@ -1013,6 +1135,9 @@ export interface TagOutput {
1013
1135
  */
1014
1136
  Tags?: Record<string, string>;
1015
1137
  }
1138
+ /**
1139
+ * @public
1140
+ */
1016
1141
  export interface UngroupResourcesInput {
1017
1142
  /**
1018
1143
  * <p>The name or the ARN of the resource group from which to remove the resources.</p>
@@ -1023,6 +1148,9 @@ export interface UngroupResourcesInput {
1023
1148
  */
1024
1149
  ResourceArns: string[] | undefined;
1025
1150
  }
1151
+ /**
1152
+ * @public
1153
+ */
1026
1154
  export interface UngroupResourcesOutput {
1027
1155
  /**
1028
1156
  * <p>A list of resources that were successfully removed from the group by this
@@ -1044,6 +1172,9 @@ export interface UngroupResourcesOutput {
1044
1172
  */
1045
1173
  Pending?: PendingResource[];
1046
1174
  }
1175
+ /**
1176
+ * @public
1177
+ */
1047
1178
  export interface UntagInput {
1048
1179
  /**
1049
1180
  * <p>The ARN of the resource group from which to remove tags. The command removed both the
@@ -1055,6 +1186,9 @@ export interface UntagInput {
1055
1186
  */
1056
1187
  Keys: string[] | undefined;
1057
1188
  }
1189
+ /**
1190
+ * @public
1191
+ */
1058
1192
  export interface UntagOutput {
1059
1193
  /**
1060
1194
  * <p>The ARN of the resource group from which tags have been removed.</p>
@@ -1065,18 +1199,27 @@ export interface UntagOutput {
1065
1199
  */
1066
1200
  Keys?: string[];
1067
1201
  }
1202
+ /**
1203
+ * @public
1204
+ */
1068
1205
  export interface UpdateAccountSettingsInput {
1069
1206
  /**
1070
1207
  * <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>
1071
1208
  */
1072
1209
  GroupLifecycleEventsDesiredStatus?: GroupLifecycleEventsDesiredStatus | string;
1073
1210
  }
1211
+ /**
1212
+ * @public
1213
+ */
1074
1214
  export interface UpdateAccountSettingsOutput {
1075
1215
  /**
1076
1216
  * <p>A structure that displays the status of the optional features in the account.</p>
1077
1217
  */
1078
1218
  AccountSettings?: AccountSettings;
1079
1219
  }
1220
+ /**
1221
+ * @public
1222
+ */
1080
1223
  export interface UpdateGroupInput {
1081
1224
  /**
1082
1225
  * @deprecated
@@ -1094,12 +1237,18 @@ export interface UpdateGroupInput {
1094
1237
  */
1095
1238
  Description?: string;
1096
1239
  }
1240
+ /**
1241
+ * @public
1242
+ */
1097
1243
  export interface UpdateGroupOutput {
1098
1244
  /**
1099
1245
  * <p>The update description of the resource group.</p>
1100
1246
  */
1101
1247
  Group?: Group;
1102
1248
  }
1249
+ /**
1250
+ * @public
1251
+ */
1103
1252
  export interface UpdateGroupQueryInput {
1104
1253
  /**
1105
1254
  * @deprecated
@@ -1121,213 +1270,12 @@ export interface UpdateGroupQueryInput {
1121
1270
  */
1122
1271
  ResourceQuery: ResourceQuery | undefined;
1123
1272
  }
1273
+ /**
1274
+ * @public
1275
+ */
1124
1276
  export interface UpdateGroupQueryOutput {
1125
1277
  /**
1126
1278
  * <p>The updated resource query associated with the resource group after the update.</p>
1127
1279
  */
1128
1280
  GroupQuery?: GroupQuery;
1129
1281
  }
1130
- /**
1131
- * @internal
1132
- */
1133
- export declare const AccountSettingsFilterSensitiveLog: (obj: AccountSettings) => any;
1134
- /**
1135
- * @internal
1136
- */
1137
- export declare const GroupConfigurationParameterFilterSensitiveLog: (obj: GroupConfigurationParameter) => any;
1138
- /**
1139
- * @internal
1140
- */
1141
- export declare const GroupConfigurationItemFilterSensitiveLog: (obj: GroupConfigurationItem) => any;
1142
- /**
1143
- * @internal
1144
- */
1145
- export declare const ResourceQueryFilterSensitiveLog: (obj: ResourceQuery) => any;
1146
- /**
1147
- * @internal
1148
- */
1149
- export declare const CreateGroupInputFilterSensitiveLog: (obj: CreateGroupInput) => any;
1150
- /**
1151
- * @internal
1152
- */
1153
- export declare const GroupFilterSensitiveLog: (obj: Group) => any;
1154
- /**
1155
- * @internal
1156
- */
1157
- export declare const GroupConfigurationFilterSensitiveLog: (obj: GroupConfiguration) => any;
1158
- /**
1159
- * @internal
1160
- */
1161
- export declare const CreateGroupOutputFilterSensitiveLog: (obj: CreateGroupOutput) => any;
1162
- /**
1163
- * @internal
1164
- */
1165
- export declare const DeleteGroupInputFilterSensitiveLog: (obj: DeleteGroupInput) => any;
1166
- /**
1167
- * @internal
1168
- */
1169
- export declare const DeleteGroupOutputFilterSensitiveLog: (obj: DeleteGroupOutput) => any;
1170
- /**
1171
- * @internal
1172
- */
1173
- export declare const GetAccountSettingsOutputFilterSensitiveLog: (obj: GetAccountSettingsOutput) => any;
1174
- /**
1175
- * @internal
1176
- */
1177
- export declare const GetGroupInputFilterSensitiveLog: (obj: GetGroupInput) => any;
1178
- /**
1179
- * @internal
1180
- */
1181
- export declare const GetGroupOutputFilterSensitiveLog: (obj: GetGroupOutput) => any;
1182
- /**
1183
- * @internal
1184
- */
1185
- export declare const GetGroupConfigurationInputFilterSensitiveLog: (obj: GetGroupConfigurationInput) => any;
1186
- /**
1187
- * @internal
1188
- */
1189
- export declare const GetGroupConfigurationOutputFilterSensitiveLog: (obj: GetGroupConfigurationOutput) => any;
1190
- /**
1191
- * @internal
1192
- */
1193
- export declare const GetGroupQueryInputFilterSensitiveLog: (obj: GetGroupQueryInput) => any;
1194
- /**
1195
- * @internal
1196
- */
1197
- export declare const GroupQueryFilterSensitiveLog: (obj: GroupQuery) => any;
1198
- /**
1199
- * @internal
1200
- */
1201
- export declare const GetGroupQueryOutputFilterSensitiveLog: (obj: GetGroupQueryOutput) => any;
1202
- /**
1203
- * @internal
1204
- */
1205
- export declare const GetTagsInputFilterSensitiveLog: (obj: GetTagsInput) => any;
1206
- /**
1207
- * @internal
1208
- */
1209
- export declare const GetTagsOutputFilterSensitiveLog: (obj: GetTagsOutput) => any;
1210
- /**
1211
- * @internal
1212
- */
1213
- export declare const GroupResourcesInputFilterSensitiveLog: (obj: GroupResourcesInput) => any;
1214
- /**
1215
- * @internal
1216
- */
1217
- export declare const FailedResourceFilterSensitiveLog: (obj: FailedResource) => any;
1218
- /**
1219
- * @internal
1220
- */
1221
- export declare const PendingResourceFilterSensitiveLog: (obj: PendingResource) => any;
1222
- /**
1223
- * @internal
1224
- */
1225
- export declare const GroupResourcesOutputFilterSensitiveLog: (obj: GroupResourcesOutput) => any;
1226
- /**
1227
- * @internal
1228
- */
1229
- export declare const ResourceFilterFilterSensitiveLog: (obj: ResourceFilter) => any;
1230
- /**
1231
- * @internal
1232
- */
1233
- export declare const ListGroupResourcesInputFilterSensitiveLog: (obj: ListGroupResourcesInput) => any;
1234
- /**
1235
- * @internal
1236
- */
1237
- export declare const QueryErrorFilterSensitiveLog: (obj: QueryError) => any;
1238
- /**
1239
- * @internal
1240
- */
1241
- export declare const ResourceIdentifierFilterSensitiveLog: (obj: ResourceIdentifier) => any;
1242
- /**
1243
- * @internal
1244
- */
1245
- export declare const ResourceStatusFilterSensitiveLog: (obj: ResourceStatus) => any;
1246
- /**
1247
- * @internal
1248
- */
1249
- export declare const ListGroupResourcesItemFilterSensitiveLog: (obj: ListGroupResourcesItem) => any;
1250
- /**
1251
- * @internal
1252
- */
1253
- export declare const ListGroupResourcesOutputFilterSensitiveLog: (obj: ListGroupResourcesOutput) => any;
1254
- /**
1255
- * @internal
1256
- */
1257
- export declare const GroupFilterFilterSensitiveLog: (obj: GroupFilter) => any;
1258
- /**
1259
- * @internal
1260
- */
1261
- export declare const ListGroupsInputFilterSensitiveLog: (obj: ListGroupsInput) => any;
1262
- /**
1263
- * @internal
1264
- */
1265
- export declare const GroupIdentifierFilterSensitiveLog: (obj: GroupIdentifier) => any;
1266
- /**
1267
- * @internal
1268
- */
1269
- export declare const ListGroupsOutputFilterSensitiveLog: (obj: ListGroupsOutput) => any;
1270
- /**
1271
- * @internal
1272
- */
1273
- export declare const PutGroupConfigurationInputFilterSensitiveLog: (obj: PutGroupConfigurationInput) => any;
1274
- /**
1275
- * @internal
1276
- */
1277
- export declare const PutGroupConfigurationOutputFilterSensitiveLog: (obj: PutGroupConfigurationOutput) => any;
1278
- /**
1279
- * @internal
1280
- */
1281
- export declare const SearchResourcesInputFilterSensitiveLog: (obj: SearchResourcesInput) => any;
1282
- /**
1283
- * @internal
1284
- */
1285
- export declare const SearchResourcesOutputFilterSensitiveLog: (obj: SearchResourcesOutput) => any;
1286
- /**
1287
- * @internal
1288
- */
1289
- export declare const TagInputFilterSensitiveLog: (obj: TagInput) => any;
1290
- /**
1291
- * @internal
1292
- */
1293
- export declare const TagOutputFilterSensitiveLog: (obj: TagOutput) => any;
1294
- /**
1295
- * @internal
1296
- */
1297
- export declare const UngroupResourcesInputFilterSensitiveLog: (obj: UngroupResourcesInput) => any;
1298
- /**
1299
- * @internal
1300
- */
1301
- export declare const UngroupResourcesOutputFilterSensitiveLog: (obj: UngroupResourcesOutput) => any;
1302
- /**
1303
- * @internal
1304
- */
1305
- export declare const UntagInputFilterSensitiveLog: (obj: UntagInput) => any;
1306
- /**
1307
- * @internal
1308
- */
1309
- export declare const UntagOutputFilterSensitiveLog: (obj: UntagOutput) => any;
1310
- /**
1311
- * @internal
1312
- */
1313
- export declare const UpdateAccountSettingsInputFilterSensitiveLog: (obj: UpdateAccountSettingsInput) => any;
1314
- /**
1315
- * @internal
1316
- */
1317
- export declare const UpdateAccountSettingsOutputFilterSensitiveLog: (obj: UpdateAccountSettingsOutput) => any;
1318
- /**
1319
- * @internal
1320
- */
1321
- export declare const UpdateGroupInputFilterSensitiveLog: (obj: UpdateGroupInput) => any;
1322
- /**
1323
- * @internal
1324
- */
1325
- export declare const UpdateGroupOutputFilterSensitiveLog: (obj: UpdateGroupOutput) => any;
1326
- /**
1327
- * @internal
1328
- */
1329
- export declare const UpdateGroupQueryInputFilterSensitiveLog: (obj: UpdateGroupQueryInput) => any;
1330
- /**
1331
- * @internal
1332
- */
1333
- export declare const UpdateGroupQueryOutputFilterSensitiveLog: (obj: UpdateGroupQueryOutput) => any;