@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
@@ -1,4 +1,5 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { CancelTagSyncTaskCommandInput, CancelTagSyncTaskCommandOutput } from "./commands/CancelTagSyncTaskCommand";
2
3
  import { CreateGroupCommandInput, CreateGroupCommandOutput } from "./commands/CreateGroupCommand";
3
4
  import { DeleteGroupCommandInput, DeleteGroupCommandOutput } from "./commands/DeleteGroupCommand";
4
5
  import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
@@ -6,11 +7,15 @@ import { GetGroupCommandInput, GetGroupCommandOutput } from "./commands/GetGroup
6
7
  import { GetGroupConfigurationCommandInput, GetGroupConfigurationCommandOutput } from "./commands/GetGroupConfigurationCommand";
7
8
  import { GetGroupQueryCommandInput, GetGroupQueryCommandOutput } from "./commands/GetGroupQueryCommand";
8
9
  import { GetTagsCommandInput, GetTagsCommandOutput } from "./commands/GetTagsCommand";
10
+ import { GetTagSyncTaskCommandInput, GetTagSyncTaskCommandOutput } from "./commands/GetTagSyncTaskCommand";
9
11
  import { GroupResourcesCommandInput, GroupResourcesCommandOutput } from "./commands/GroupResourcesCommand";
12
+ import { ListGroupingStatusesCommandInput, ListGroupingStatusesCommandOutput } from "./commands/ListGroupingStatusesCommand";
10
13
  import { ListGroupResourcesCommandInput, ListGroupResourcesCommandOutput } from "./commands/ListGroupResourcesCommand";
11
14
  import { ListGroupsCommandInput, ListGroupsCommandOutput } from "./commands/ListGroupsCommand";
15
+ import { ListTagSyncTasksCommandInput, ListTagSyncTasksCommandOutput } from "./commands/ListTagSyncTasksCommand";
12
16
  import { PutGroupConfigurationCommandInput, PutGroupConfigurationCommandOutput } from "./commands/PutGroupConfigurationCommand";
13
17
  import { SearchResourcesCommandInput, SearchResourcesCommandOutput } from "./commands/SearchResourcesCommand";
18
+ import { StartTagSyncTaskCommandInput, StartTagSyncTaskCommandOutput } from "./commands/StartTagSyncTaskCommand";
14
19
  import { TagCommandInput, TagCommandOutput } from "./commands/TagCommand";
15
20
  import { UngroupResourcesCommandInput, UngroupResourcesCommandOutput } from "./commands/UngroupResourcesCommand";
16
21
  import { UntagCommandInput, UntagCommandOutput } from "./commands/UntagCommand";
@@ -19,6 +24,12 @@ import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "./commands/Up
19
24
  import { UpdateGroupQueryCommandInput, UpdateGroupQueryCommandOutput } from "./commands/UpdateGroupQueryCommand";
20
25
  import { ResourceGroupsClient } from "./ResourceGroupsClient";
21
26
  export interface ResourceGroups {
27
+ /**
28
+ * @see {@link CancelTagSyncTaskCommand}
29
+ */
30
+ cancelTagSyncTask(args: CancelTagSyncTaskCommandInput, options?: __HttpHandlerOptions): Promise<CancelTagSyncTaskCommandOutput>;
31
+ cancelTagSyncTask(args: CancelTagSyncTaskCommandInput, cb: (err: any, data?: CancelTagSyncTaskCommandOutput) => void): void;
32
+ cancelTagSyncTask(args: CancelTagSyncTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelTagSyncTaskCommandOutput) => void): void;
22
33
  /**
23
34
  * @see {@link CreateGroupCommand}
24
35
  */
@@ -66,12 +77,24 @@ export interface ResourceGroups {
66
77
  getTags(args: GetTagsCommandInput, options?: __HttpHandlerOptions): Promise<GetTagsCommandOutput>;
67
78
  getTags(args: GetTagsCommandInput, cb: (err: any, data?: GetTagsCommandOutput) => void): void;
68
79
  getTags(args: GetTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTagsCommandOutput) => void): void;
80
+ /**
81
+ * @see {@link GetTagSyncTaskCommand}
82
+ */
83
+ getTagSyncTask(args: GetTagSyncTaskCommandInput, options?: __HttpHandlerOptions): Promise<GetTagSyncTaskCommandOutput>;
84
+ getTagSyncTask(args: GetTagSyncTaskCommandInput, cb: (err: any, data?: GetTagSyncTaskCommandOutput) => void): void;
85
+ getTagSyncTask(args: GetTagSyncTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTagSyncTaskCommandOutput) => void): void;
69
86
  /**
70
87
  * @see {@link GroupResourcesCommand}
71
88
  */
72
89
  groupResources(args: GroupResourcesCommandInput, options?: __HttpHandlerOptions): Promise<GroupResourcesCommandOutput>;
73
90
  groupResources(args: GroupResourcesCommandInput, cb: (err: any, data?: GroupResourcesCommandOutput) => void): void;
74
91
  groupResources(args: GroupResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GroupResourcesCommandOutput) => void): void;
92
+ /**
93
+ * @see {@link ListGroupingStatusesCommand}
94
+ */
95
+ listGroupingStatuses(args: ListGroupingStatusesCommandInput, options?: __HttpHandlerOptions): Promise<ListGroupingStatusesCommandOutput>;
96
+ listGroupingStatuses(args: ListGroupingStatusesCommandInput, cb: (err: any, data?: ListGroupingStatusesCommandOutput) => void): void;
97
+ listGroupingStatuses(args: ListGroupingStatusesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGroupingStatusesCommandOutput) => void): void;
75
98
  /**
76
99
  * @see {@link ListGroupResourcesCommand}
77
100
  */
@@ -86,6 +109,13 @@ export interface ResourceGroups {
86
109
  listGroups(args: ListGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListGroupsCommandOutput>;
87
110
  listGroups(args: ListGroupsCommandInput, cb: (err: any, data?: ListGroupsCommandOutput) => void): void;
88
111
  listGroups(args: ListGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGroupsCommandOutput) => void): void;
112
+ /**
113
+ * @see {@link ListTagSyncTasksCommand}
114
+ */
115
+ listTagSyncTasks(): Promise<ListTagSyncTasksCommandOutput>;
116
+ listTagSyncTasks(args: ListTagSyncTasksCommandInput, options?: __HttpHandlerOptions): Promise<ListTagSyncTasksCommandOutput>;
117
+ listTagSyncTasks(args: ListTagSyncTasksCommandInput, cb: (err: any, data?: ListTagSyncTasksCommandOutput) => void): void;
118
+ listTagSyncTasks(args: ListTagSyncTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagSyncTasksCommandOutput) => void): void;
89
119
  /**
90
120
  * @see {@link PutGroupConfigurationCommand}
91
121
  */
@@ -99,6 +129,12 @@ export interface ResourceGroups {
99
129
  searchResources(args: SearchResourcesCommandInput, options?: __HttpHandlerOptions): Promise<SearchResourcesCommandOutput>;
100
130
  searchResources(args: SearchResourcesCommandInput, cb: (err: any, data?: SearchResourcesCommandOutput) => void): void;
101
131
  searchResources(args: SearchResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchResourcesCommandOutput) => void): void;
132
+ /**
133
+ * @see {@link StartTagSyncTaskCommand}
134
+ */
135
+ startTagSyncTask(args: StartTagSyncTaskCommandInput, options?: __HttpHandlerOptions): Promise<StartTagSyncTaskCommandOutput>;
136
+ startTagSyncTask(args: StartTagSyncTaskCommandInput, cb: (err: any, data?: StartTagSyncTaskCommandOutput) => void): void;
137
+ startTagSyncTask(args: StartTagSyncTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTagSyncTaskCommandOutput) => void): void;
102
138
  /**
103
139
  * @see {@link TagCommand}
104
140
  */
@@ -163,7 +199,7 @@ export interface ResourceGroups {
163
199
  * <p>Applying, editing, and removing tags from resource groups</p>
164
200
  * </li>
165
201
  * <li>
166
- * <p>Resolving resource group member ARNs so they can be returned as search
202
+ * <p>Resolving resource group member Amazon resource names (ARN)s so they can be returned as search
167
203
  * results</p>
168
204
  * </li>
169
205
  * <li>
@@ -7,6 +7,7 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
8
  import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import { CancelTagSyncTaskCommandInput, CancelTagSyncTaskCommandOutput } from "./commands/CancelTagSyncTaskCommand";
10
11
  import { CreateGroupCommandInput, CreateGroupCommandOutput } from "./commands/CreateGroupCommand";
11
12
  import { DeleteGroupCommandInput, DeleteGroupCommandOutput } from "./commands/DeleteGroupCommand";
12
13
  import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
@@ -14,11 +15,15 @@ import { GetGroupCommandInput, GetGroupCommandOutput } from "./commands/GetGroup
14
15
  import { GetGroupConfigurationCommandInput, GetGroupConfigurationCommandOutput } from "./commands/GetGroupConfigurationCommand";
15
16
  import { GetGroupQueryCommandInput, GetGroupQueryCommandOutput } from "./commands/GetGroupQueryCommand";
16
17
  import { GetTagsCommandInput, GetTagsCommandOutput } from "./commands/GetTagsCommand";
18
+ import { GetTagSyncTaskCommandInput, GetTagSyncTaskCommandOutput } from "./commands/GetTagSyncTaskCommand";
17
19
  import { GroupResourcesCommandInput, GroupResourcesCommandOutput } from "./commands/GroupResourcesCommand";
20
+ import { ListGroupingStatusesCommandInput, ListGroupingStatusesCommandOutput } from "./commands/ListGroupingStatusesCommand";
18
21
  import { ListGroupResourcesCommandInput, ListGroupResourcesCommandOutput } from "./commands/ListGroupResourcesCommand";
19
22
  import { ListGroupsCommandInput, ListGroupsCommandOutput } from "./commands/ListGroupsCommand";
23
+ import { ListTagSyncTasksCommandInput, ListTagSyncTasksCommandOutput } from "./commands/ListTagSyncTasksCommand";
20
24
  import { PutGroupConfigurationCommandInput, PutGroupConfigurationCommandOutput } from "./commands/PutGroupConfigurationCommand";
21
25
  import { SearchResourcesCommandInput, SearchResourcesCommandOutput } from "./commands/SearchResourcesCommand";
26
+ import { StartTagSyncTaskCommandInput, StartTagSyncTaskCommandOutput } from "./commands/StartTagSyncTaskCommand";
22
27
  import { TagCommandInput, TagCommandOutput } from "./commands/TagCommand";
23
28
  import { UngroupResourcesCommandInput, UngroupResourcesCommandOutput } from "./commands/UngroupResourcesCommand";
24
29
  import { UntagCommandInput, UntagCommandOutput } from "./commands/UntagCommand";
@@ -31,11 +36,11 @@ export { __Client };
31
36
  /**
32
37
  * @public
33
38
  */
34
- export type ServiceInputTypes = CreateGroupCommandInput | DeleteGroupCommandInput | GetAccountSettingsCommandInput | GetGroupCommandInput | GetGroupConfigurationCommandInput | GetGroupQueryCommandInput | GetTagsCommandInput | GroupResourcesCommandInput | ListGroupResourcesCommandInput | ListGroupsCommandInput | PutGroupConfigurationCommandInput | SearchResourcesCommandInput | TagCommandInput | UngroupResourcesCommandInput | UntagCommandInput | UpdateAccountSettingsCommandInput | UpdateGroupCommandInput | UpdateGroupQueryCommandInput;
39
+ export type ServiceInputTypes = CancelTagSyncTaskCommandInput | CreateGroupCommandInput | DeleteGroupCommandInput | GetAccountSettingsCommandInput | GetGroupCommandInput | GetGroupConfigurationCommandInput | GetGroupQueryCommandInput | GetTagSyncTaskCommandInput | GetTagsCommandInput | GroupResourcesCommandInput | ListGroupResourcesCommandInput | ListGroupingStatusesCommandInput | ListGroupsCommandInput | ListTagSyncTasksCommandInput | PutGroupConfigurationCommandInput | SearchResourcesCommandInput | StartTagSyncTaskCommandInput | TagCommandInput | UngroupResourcesCommandInput | UntagCommandInput | UpdateAccountSettingsCommandInput | UpdateGroupCommandInput | UpdateGroupQueryCommandInput;
35
40
  /**
36
41
  * @public
37
42
  */
38
- export type ServiceOutputTypes = CreateGroupCommandOutput | DeleteGroupCommandOutput | GetAccountSettingsCommandOutput | GetGroupCommandOutput | GetGroupConfigurationCommandOutput | GetGroupQueryCommandOutput | GetTagsCommandOutput | GroupResourcesCommandOutput | ListGroupResourcesCommandOutput | ListGroupsCommandOutput | PutGroupConfigurationCommandOutput | SearchResourcesCommandOutput | TagCommandOutput | UngroupResourcesCommandOutput | UntagCommandOutput | UpdateAccountSettingsCommandOutput | UpdateGroupCommandOutput | UpdateGroupQueryCommandOutput;
43
+ export type ServiceOutputTypes = CancelTagSyncTaskCommandOutput | CreateGroupCommandOutput | DeleteGroupCommandOutput | GetAccountSettingsCommandOutput | GetGroupCommandOutput | GetGroupConfigurationCommandOutput | GetGroupQueryCommandOutput | GetTagSyncTaskCommandOutput | GetTagsCommandOutput | GroupResourcesCommandOutput | ListGroupResourcesCommandOutput | ListGroupingStatusesCommandOutput | ListGroupsCommandOutput | ListTagSyncTasksCommandOutput | PutGroupConfigurationCommandOutput | SearchResourcesCommandOutput | StartTagSyncTaskCommandOutput | TagCommandOutput | UngroupResourcesCommandOutput | UntagCommandOutput | UpdateAccountSettingsCommandOutput | UpdateGroupCommandOutput | UpdateGroupQueryCommandOutput;
39
44
  /**
40
45
  * @public
41
46
  */
@@ -193,7 +198,7 @@ export interface ResourceGroupsClientResolvedConfig extends ResourceGroupsClient
193
198
  * <p>Applying, editing, and removing tags from resource groups</p>
194
199
  * </li>
195
200
  * <li>
196
- * <p>Resolving resource group member ARNs so they can be returned as search
201
+ * <p>Resolving resource group member Amazon resource names (ARN)s so they can be returned as search
197
202
  * results</p>
198
203
  * </li>
199
204
  * <li>
@@ -0,0 +1,104 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CancelTagSyncTaskInput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CancelTagSyncTaskCommand}.
14
+ */
15
+ export interface CancelTagSyncTaskCommandInput extends CancelTagSyncTaskInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CancelTagSyncTaskCommand}.
21
+ */
22
+ export interface CancelTagSyncTaskCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const CancelTagSyncTaskCommand_base: {
25
+ new (input: CancelTagSyncTaskCommandInput): import("@smithy/smithy-client").CommandImpl<CancelTagSyncTaskCommandInput, CancelTagSyncTaskCommandOutput, ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CancelTagSyncTaskCommandInput): import("@smithy/smithy-client").CommandImpl<CancelTagSyncTaskCommandInput, CancelTagSyncTaskCommandOutput, ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Cancels the specified tag-sync task. </p>
31
+ * <p>
32
+ * <b>Minimum permissions</b>
33
+ * </p>
34
+ * <p>To run this command, you must have the following permissions:</p>
35
+ * <ul>
36
+ * <li>
37
+ * <p>
38
+ * <code>resource-groups:CancelTagSyncTask</code> on the application group</p>
39
+ * </li>
40
+ * <li>
41
+ * <p>
42
+ * <code>resource-groups:DeleteGroup</code>
43
+ * </p>
44
+ * </li>
45
+ * </ul>
46
+ * @example
47
+ * Use a bare-bones client and the command you need to make an API call.
48
+ * ```javascript
49
+ * import { ResourceGroupsClient, CancelTagSyncTaskCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
50
+ * // const { ResourceGroupsClient, CancelTagSyncTaskCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
51
+ * const client = new ResourceGroupsClient(config);
52
+ * const input = { // CancelTagSyncTaskInput
53
+ * TaskArn: "STRING_VALUE", // required
54
+ * };
55
+ * const command = new CancelTagSyncTaskCommand(input);
56
+ * const response = await client.send(command);
57
+ * // {};
58
+ *
59
+ * ```
60
+ *
61
+ * @param CancelTagSyncTaskCommandInput - {@link CancelTagSyncTaskCommandInput}
62
+ * @returns {@link CancelTagSyncTaskCommandOutput}
63
+ * @see {@link CancelTagSyncTaskCommandInput} for command's `input` shape.
64
+ * @see {@link CancelTagSyncTaskCommandOutput} for command's `response` shape.
65
+ * @see {@link ResourceGroupsClientResolvedConfig | config} for ResourceGroupsClient's `config` shape.
66
+ *
67
+ * @throws {@link BadRequestException} (client fault)
68
+ * <p>The request includes one or more parameters that violate validation rules.</p>
69
+ *
70
+ * @throws {@link ForbiddenException} (client fault)
71
+ * <p>The caller isn't authorized to make the request. Check permissions.</p>
72
+ *
73
+ * @throws {@link InternalServerErrorException} (server fault)
74
+ * <p>An internal error occurred while processing the request. Try again later.</p>
75
+ *
76
+ * @throws {@link MethodNotAllowedException} (client fault)
77
+ * <p>The request uses an HTTP method that isn't allowed for the specified resource.</p>
78
+ *
79
+ * @throws {@link TooManyRequestsException} (client fault)
80
+ * <p>You've exceeded throttling limits by making too many requests in a period of
81
+ * time.</p>
82
+ *
83
+ * @throws {@link UnauthorizedException} (client fault)
84
+ * <p>The request was rejected because it doesn't have valid credentials for the target
85
+ * resource.</p>
86
+ *
87
+ * @throws {@link ResourceGroupsServiceException}
88
+ * <p>Base exception class for all service exceptions from ResourceGroups service.</p>
89
+ *
90
+ * @public
91
+ */
92
+ export declare class CancelTagSyncTaskCommand extends CancelTagSyncTaskCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: CancelTagSyncTaskInput;
97
+ output: {};
98
+ };
99
+ sdk: {
100
+ input: CancelTagSyncTaskCommandInput;
101
+ output: CancelTagSyncTaskCommandOutput;
102
+ };
103
+ };
104
+ }
@@ -72,6 +72,9 @@ declare const CreateGroupCommand_base: {
72
72
  * ],
73
73
  * },
74
74
  * ],
75
+ * Criticality: Number("int"),
76
+ * Owner: "STRING_VALUE",
77
+ * DisplayName: "STRING_VALUE",
75
78
  * };
76
79
  * const command = new CreateGroupCommand(input);
77
80
  * const response = await client.send(command);
@@ -80,6 +83,12 @@ declare const CreateGroupCommand_base: {
80
83
  * // GroupArn: "STRING_VALUE", // required
81
84
  * // Name: "STRING_VALUE", // required
82
85
  * // Description: "STRING_VALUE",
86
+ * // Criticality: Number("int"),
87
+ * // Owner: "STRING_VALUE",
88
+ * // DisplayName: "STRING_VALUE",
89
+ * // ApplicationTag: { // ApplicationTag
90
+ * // "<keys>": "STRING_VALUE",
91
+ * // },
83
92
  * // },
84
93
  * // ResourceQuery: { // ResourceQuery
85
94
  * // Type: "TAG_FILTERS_1_0" || "CLOUDFORMATION_STACK_1_0", // required
@@ -57,6 +57,12 @@ declare const DeleteGroupCommand_base: {
57
57
  * // GroupArn: "STRING_VALUE", // required
58
58
  * // Name: "STRING_VALUE", // required
59
59
  * // Description: "STRING_VALUE",
60
+ * // Criticality: Number("int"),
61
+ * // Owner: "STRING_VALUE",
62
+ * // DisplayName: "STRING_VALUE",
63
+ * // ApplicationTag: { // ApplicationTag
64
+ * // "<keys>": "STRING_VALUE",
65
+ * // },
60
66
  * // },
61
67
  * // };
62
68
  *
@@ -56,6 +56,12 @@ declare const GetGroupCommand_base: {
56
56
  * // GroupArn: "STRING_VALUE", // required
57
57
  * // Name: "STRING_VALUE", // required
58
58
  * // Description: "STRING_VALUE",
59
+ * // Criticality: Number("int"),
60
+ * // Owner: "STRING_VALUE",
61
+ * // DisplayName: "STRING_VALUE",
62
+ * // ApplicationTag: { // ApplicationTag
63
+ * // "<keys>": "STRING_VALUE",
64
+ * // },
59
65
  * // },
60
66
  * // };
61
67
  *
@@ -0,0 +1,112 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetTagSyncTaskInput, GetTagSyncTaskOutput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetTagSyncTaskCommand}.
14
+ */
15
+ export interface GetTagSyncTaskCommandInput extends GetTagSyncTaskInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetTagSyncTaskCommand}.
21
+ */
22
+ export interface GetTagSyncTaskCommandOutput extends GetTagSyncTaskOutput, __MetadataBearer {
23
+ }
24
+ declare const GetTagSyncTaskCommand_base: {
25
+ new (input: GetTagSyncTaskCommandInput): import("@smithy/smithy-client").CommandImpl<GetTagSyncTaskCommandInput, GetTagSyncTaskCommandOutput, ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetTagSyncTaskCommandInput): import("@smithy/smithy-client").CommandImpl<GetTagSyncTaskCommandInput, GetTagSyncTaskCommandOutput, ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns information about a specified tag-sync task. </p>
31
+ * <p>
32
+ * <b>Minimum permissions</b>
33
+ * </p>
34
+ * <p>To run this command, you must have the following permissions:</p>
35
+ * <ul>
36
+ * <li>
37
+ * <p>
38
+ * <code>resource-groups:GetTagSyncTask</code> on the application group</p>
39
+ * </li>
40
+ * </ul>
41
+ * @example
42
+ * Use a bare-bones client and the command you need to make an API call.
43
+ * ```javascript
44
+ * import { ResourceGroupsClient, GetTagSyncTaskCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
45
+ * // const { ResourceGroupsClient, GetTagSyncTaskCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
46
+ * const client = new ResourceGroupsClient(config);
47
+ * const input = { // GetTagSyncTaskInput
48
+ * TaskArn: "STRING_VALUE", // required
49
+ * };
50
+ * const command = new GetTagSyncTaskCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // GetTagSyncTaskOutput
53
+ * // GroupArn: "STRING_VALUE",
54
+ * // GroupName: "STRING_VALUE",
55
+ * // TaskArn: "STRING_VALUE",
56
+ * // TagKey: "STRING_VALUE",
57
+ * // TagValue: "STRING_VALUE",
58
+ * // RoleArn: "STRING_VALUE",
59
+ * // Status: "ACTIVE" || "ERROR",
60
+ * // ErrorMessage: "STRING_VALUE",
61
+ * // CreatedAt: new Date("TIMESTAMP"),
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param GetTagSyncTaskCommandInput - {@link GetTagSyncTaskCommandInput}
67
+ * @returns {@link GetTagSyncTaskCommandOutput}
68
+ * @see {@link GetTagSyncTaskCommandInput} for command's `input` shape.
69
+ * @see {@link GetTagSyncTaskCommandOutput} for command's `response` shape.
70
+ * @see {@link ResourceGroupsClientResolvedConfig | config} for ResourceGroupsClient's `config` shape.
71
+ *
72
+ * @throws {@link BadRequestException} (client fault)
73
+ * <p>The request includes one or more parameters that violate validation rules.</p>
74
+ *
75
+ * @throws {@link ForbiddenException} (client fault)
76
+ * <p>The caller isn't authorized to make the request. Check permissions.</p>
77
+ *
78
+ * @throws {@link InternalServerErrorException} (server fault)
79
+ * <p>An internal error occurred while processing the request. Try again later.</p>
80
+ *
81
+ * @throws {@link MethodNotAllowedException} (client fault)
82
+ * <p>The request uses an HTTP method that isn't allowed for the specified resource.</p>
83
+ *
84
+ * @throws {@link NotFoundException} (client fault)
85
+ * <p>One or more of the specified resources don't exist.</p>
86
+ *
87
+ * @throws {@link TooManyRequestsException} (client fault)
88
+ * <p>You've exceeded throttling limits by making too many requests in a period of
89
+ * time.</p>
90
+ *
91
+ * @throws {@link UnauthorizedException} (client fault)
92
+ * <p>The request was rejected because it doesn't have valid credentials for the target
93
+ * resource.</p>
94
+ *
95
+ * @throws {@link ResourceGroupsServiceException}
96
+ * <p>Base exception class for all service exceptions from ResourceGroups service.</p>
97
+ *
98
+ * @public
99
+ */
100
+ export declare class GetTagSyncTaskCommand extends GetTagSyncTaskCommand_base {
101
+ /** @internal type navigation helper, not in runtime. */
102
+ protected static __types: {
103
+ api: {
104
+ input: GetTagSyncTaskInput;
105
+ output: GetTagSyncTaskOutput;
106
+ };
107
+ sdk: {
108
+ input: GetTagSyncTaskCommandInput;
109
+ output: GetTagSyncTaskCommandOutput;
110
+ };
111
+ };
112
+ }
@@ -28,7 +28,7 @@ declare const GetTagsCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Returns a list of tags that are associated with a resource group, specified by an
31
- * ARN.</p>
31
+ * Amazon resource name (ARN).</p>
32
32
  * <p>
33
33
  * <b>Minimum permissions</b>
34
34
  * </p>
@@ -29,8 +29,7 @@ declare const GroupResourcesCommand_base: {
29
29
  /**
30
30
  * <p>Adds the specified resources to the specified group.</p>
31
31
  * <important>
32
- * <p>You can use this operation with only resource groups that are configured with the
33
- * following types:</p>
32
+ * <p>You can only use this operation with the following groups:</p>
34
33
  * <ul>
35
34
  * <li>
36
35
  * <p>
@@ -42,8 +41,13 @@ declare const GroupResourcesCommand_base: {
42
41
  * <code>AWS::EC2::CapacityReservationPool</code>
43
42
  * </p>
44
43
  * </li>
44
+ * <li>
45
+ * <p>
46
+ * <code>AWS::ResourceGroups::ApplicationGroup</code>
47
+ * </p>
48
+ * </li>
45
49
  * </ul>
46
- * <p>Other resource group type and resource types aren't currently supported by this
50
+ * <p>Other resource group types and resource types are not currently supported by this
47
51
  * operation.</p>
48
52
  * </important>
49
53
  * <p>
@@ -27,7 +27,7 @@ declare const ListGroupResourcesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a list of ARNs of the resources that are members of a specified resource
30
+ * <p>Returns a list of Amazon resource names (ARNs) of the resources that are members of a specified resource
31
31
  * group.</p>
32
32
  * <p>
33
33
  * <b>Minimum permissions</b>
@@ -0,0 +1,109 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListGroupingStatusesInput, ListGroupingStatusesOutput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListGroupingStatusesCommand}.
14
+ */
15
+ export interface ListGroupingStatusesCommandInput extends ListGroupingStatusesInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListGroupingStatusesCommand}.
21
+ */
22
+ export interface ListGroupingStatusesCommandOutput extends ListGroupingStatusesOutput, __MetadataBearer {
23
+ }
24
+ declare const ListGroupingStatusesCommand_base: {
25
+ new (input: ListGroupingStatusesCommandInput): import("@smithy/smithy-client").CommandImpl<ListGroupingStatusesCommandInput, ListGroupingStatusesCommandOutput, ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListGroupingStatusesCommandInput): import("@smithy/smithy-client").CommandImpl<ListGroupingStatusesCommandInput, ListGroupingStatusesCommandOutput, ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns the status of the last grouping or ungrouping action for
31
+ * each resource in the specified application group. </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { ResourceGroupsClient, ListGroupingStatusesCommand } from "@aws-sdk/client-resource-groups"; // ES Modules import
36
+ * // const { ResourceGroupsClient, ListGroupingStatusesCommand } = require("@aws-sdk/client-resource-groups"); // CommonJS import
37
+ * const client = new ResourceGroupsClient(config);
38
+ * const input = { // ListGroupingStatusesInput
39
+ * Group: "STRING_VALUE", // required
40
+ * MaxResults: Number("int"),
41
+ * Filters: [ // ListGroupingStatusesFilterList
42
+ * { // ListGroupingStatusesFilter
43
+ * Name: "status" || "resource-arn", // required
44
+ * Values: [ // ListGroupingStatusesFilterValues // required
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * },
48
+ * ],
49
+ * NextToken: "STRING_VALUE",
50
+ * };
51
+ * const command = new ListGroupingStatusesCommand(input);
52
+ * const response = await client.send(command);
53
+ * // { // ListGroupingStatusesOutput
54
+ * // Group: "STRING_VALUE",
55
+ * // GroupingStatuses: [ // GroupingStatusesList
56
+ * // { // GroupingStatusesItem
57
+ * // ResourceArn: "STRING_VALUE",
58
+ * // Action: "GROUP" || "UNGROUP",
59
+ * // Status: "SUCCESS" || "FAILED" || "IN_PROGRESS" || "SKIPPED",
60
+ * // ErrorMessage: "STRING_VALUE",
61
+ * // ErrorCode: "STRING_VALUE",
62
+ * // UpdatedAt: new Date("TIMESTAMP"),
63
+ * // },
64
+ * // ],
65
+ * // NextToken: "STRING_VALUE",
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param ListGroupingStatusesCommandInput - {@link ListGroupingStatusesCommandInput}
71
+ * @returns {@link ListGroupingStatusesCommandOutput}
72
+ * @see {@link ListGroupingStatusesCommandInput} for command's `input` shape.
73
+ * @see {@link ListGroupingStatusesCommandOutput} for command's `response` shape.
74
+ * @see {@link ResourceGroupsClientResolvedConfig | config} for ResourceGroupsClient's `config` shape.
75
+ *
76
+ * @throws {@link BadRequestException} (client fault)
77
+ * <p>The request includes one or more parameters that violate validation rules.</p>
78
+ *
79
+ * @throws {@link ForbiddenException} (client fault)
80
+ * <p>The caller isn't authorized to make the request. Check permissions.</p>
81
+ *
82
+ * @throws {@link InternalServerErrorException} (server fault)
83
+ * <p>An internal error occurred while processing the request. Try again later.</p>
84
+ *
85
+ * @throws {@link MethodNotAllowedException} (client fault)
86
+ * <p>The request uses an HTTP method that isn't allowed for the specified resource.</p>
87
+ *
88
+ * @throws {@link TooManyRequestsException} (client fault)
89
+ * <p>You've exceeded throttling limits by making too many requests in a period of
90
+ * time.</p>
91
+ *
92
+ * @throws {@link ResourceGroupsServiceException}
93
+ * <p>Base exception class for all service exceptions from ResourceGroups service.</p>
94
+ *
95
+ * @public
96
+ */
97
+ export declare class ListGroupingStatusesCommand extends ListGroupingStatusesCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: ListGroupingStatusesInput;
102
+ output: ListGroupingStatusesOutput;
103
+ };
104
+ sdk: {
105
+ input: ListGroupingStatusesCommandInput;
106
+ output: ListGroupingStatusesCommandOutput;
107
+ };
108
+ };
109
+ }
@@ -48,7 +48,7 @@ declare const ListGroupsCommand_base: {
48
48
  * const input = { // ListGroupsInput
49
49
  * Filters: [ // GroupFilterList
50
50
  * { // GroupFilter
51
- * Name: "resource-type" || "configuration-type", // required
51
+ * Name: "resource-type" || "configuration-type" || "owner" || "display-name" || "criticality", // required
52
52
  * Values: [ // GroupFilterValues // required
53
53
  * "STRING_VALUE",
54
54
  * ],
@@ -64,6 +64,10 @@ declare const ListGroupsCommand_base: {
64
64
  * // { // GroupIdentifier
65
65
  * // GroupName: "STRING_VALUE",
66
66
  * // GroupArn: "STRING_VALUE",
67
+ * // Description: "STRING_VALUE",
68
+ * // Criticality: Number("int"),
69
+ * // Owner: "STRING_VALUE",
70
+ * // DisplayName: "STRING_VALUE",
67
71
  * // },
68
72
  * // ],
69
73
  * // Groups: [ // GroupList
@@ -71,6 +75,12 @@ declare const ListGroupsCommand_base: {
71
75
  * // GroupArn: "STRING_VALUE", // required
72
76
  * // Name: "STRING_VALUE", // required
73
77
  * // Description: "STRING_VALUE",
78
+ * // Criticality: Number("int"),
79
+ * // Owner: "STRING_VALUE",
80
+ * // DisplayName: "STRING_VALUE",
81
+ * // ApplicationTag: { // ApplicationTag
82
+ * // "<keys>": "STRING_VALUE",
83
+ * // },
74
84
  * // },
75
85
  * // ],
76
86
  * // NextToken: "STRING_VALUE",