@aws-sdk/client-resource-groups 3.245.0 → 3.252.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.
- package/README.md +8 -10
- package/dist-cjs/ResourceGroups.js +30 -0
- package/dist-cjs/commands/GetAccountSettingsCommand.js +46 -0
- package/dist-cjs/commands/UpdateAccountSettingsCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +31 -2
- package/dist-cjs/protocols/Aws_restJson1.js +142 -1
- package/dist-es/ResourceGroups.js +30 -0
- package/dist-es/commands/GetAccountSettingsCommand.js +42 -0
- package/dist-es/commands/UpdateAccountSettingsCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +25 -0
- package/dist-es/protocols/Aws_restJson1.js +137 -0
- package/dist-types/ResourceGroups.d.ts +120 -84
- package/dist-types/ResourceGroupsClient.d.ts +18 -18
- package/dist-types/commands/CreateGroupCommand.d.ts +7 -7
- package/dist-types/commands/DeleteGroupCommand.d.ts +3 -3
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +37 -0
- package/dist-types/commands/GetGroupCommand.d.ts +3 -3
- package/dist-types/commands/GetGroupConfigurationCommand.d.ts +5 -6
- package/dist-types/commands/GetGroupQueryCommand.d.ts +3 -3
- package/dist-types/commands/GetTagsCommand.d.ts +3 -3
- package/dist-types/commands/GroupResourcesCommand.d.ts +21 -3
- package/dist-types/commands/ListGroupResourcesCommand.d.ts +6 -6
- package/dist-types/commands/ListGroupsCommand.d.ts +4 -4
- package/dist-types/commands/PutGroupConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/SearchResourcesCommand.d.ts +9 -9
- package/dist-types/commands/TagCommand.d.ts +5 -5
- package/dist-types/commands/UngroupResourcesCommand.d.ts +7 -4
- package/dist-types/commands/UntagCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +41 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +3 -3
- package/dist-types/commands/UpdateGroupQueryCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +251 -207
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/ResourceGroups.d.ts +34 -0
- package/dist-types/ts3.4/ResourceGroupsClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +41 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +4 -4
|
@@ -2,6 +2,7 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@a
|
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
3
|
import { CreateGroupCommandInput, CreateGroupCommandOutput } from "../commands/CreateGroupCommand";
|
|
4
4
|
import { DeleteGroupCommandInput, DeleteGroupCommandOutput } from "../commands/DeleteGroupCommand";
|
|
5
|
+
import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "../commands/GetAccountSettingsCommand";
|
|
5
6
|
import { GetGroupCommandInput, GetGroupCommandOutput } from "../commands/GetGroupCommand";
|
|
6
7
|
import { GetGroupConfigurationCommandInput, GetGroupConfigurationCommandOutput } from "../commands/GetGroupConfigurationCommand";
|
|
7
8
|
import { GetGroupQueryCommandInput, GetGroupQueryCommandOutput } from "../commands/GetGroupQueryCommand";
|
|
@@ -14,10 +15,12 @@ import { SearchResourcesCommandInput, SearchResourcesCommandOutput } from "../co
|
|
|
14
15
|
import { TagCommandInput, TagCommandOutput } from "../commands/TagCommand";
|
|
15
16
|
import { UngroupResourcesCommandInput, UngroupResourcesCommandOutput } from "../commands/UngroupResourcesCommand";
|
|
16
17
|
import { UntagCommandInput, UntagCommandOutput } from "../commands/UntagCommand";
|
|
18
|
+
import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "../commands/UpdateAccountSettingsCommand";
|
|
17
19
|
import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "../commands/UpdateGroupCommand";
|
|
18
20
|
import { UpdateGroupQueryCommandInput, UpdateGroupQueryCommandOutput } from "../commands/UpdateGroupQueryCommand";
|
|
19
21
|
export declare const serializeAws_restJson1CreateGroupCommand: (input: CreateGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
20
22
|
export declare const serializeAws_restJson1DeleteGroupCommand: (input: DeleteGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
|
+
export declare const serializeAws_restJson1GetAccountSettingsCommand: (input: GetAccountSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
21
24
|
export declare const serializeAws_restJson1GetGroupCommand: (input: GetGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
22
25
|
export declare const serializeAws_restJson1GetGroupConfigurationCommand: (input: GetGroupConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
26
|
export declare const serializeAws_restJson1GetGroupQueryCommand: (input: GetGroupQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -30,10 +33,12 @@ export declare const serializeAws_restJson1SearchResourcesCommand: (input: Searc
|
|
|
30
33
|
export declare const serializeAws_restJson1TagCommand: (input: TagCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
31
34
|
export declare const serializeAws_restJson1UngroupResourcesCommand: (input: UngroupResourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
32
35
|
export declare const serializeAws_restJson1UntagCommand: (input: UntagCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
36
|
+
export declare const serializeAws_restJson1UpdateAccountSettingsCommand: (input: UpdateAccountSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
33
37
|
export declare const serializeAws_restJson1UpdateGroupCommand: (input: UpdateGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
34
38
|
export declare const serializeAws_restJson1UpdateGroupQueryCommand: (input: UpdateGroupQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
35
39
|
export declare const deserializeAws_restJson1CreateGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateGroupCommandOutput>;
|
|
36
40
|
export declare const deserializeAws_restJson1DeleteGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteGroupCommandOutput>;
|
|
41
|
+
export declare const deserializeAws_restJson1GetAccountSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAccountSettingsCommandOutput>;
|
|
37
42
|
export declare const deserializeAws_restJson1GetGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetGroupCommandOutput>;
|
|
38
43
|
export declare const deserializeAws_restJson1GetGroupConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetGroupConfigurationCommandOutput>;
|
|
39
44
|
export declare const deserializeAws_restJson1GetGroupQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetGroupQueryCommandOutput>;
|
|
@@ -46,5 +51,6 @@ export declare const deserializeAws_restJson1SearchResourcesCommand: (output: __
|
|
|
46
51
|
export declare const deserializeAws_restJson1TagCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagCommandOutput>;
|
|
47
52
|
export declare const deserializeAws_restJson1UngroupResourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UngroupResourcesCommandOutput>;
|
|
48
53
|
export declare const deserializeAws_restJson1UntagCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagCommandOutput>;
|
|
54
|
+
export declare const deserializeAws_restJson1UpdateAccountSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAccountSettingsCommandOutput>;
|
|
49
55
|
export declare const deserializeAws_restJson1UpdateGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateGroupCommandOutput>;
|
|
50
56
|
export declare const deserializeAws_restJson1UpdateGroupQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateGroupQueryCommandOutput>;
|
|
@@ -7,6 +7,10 @@ import {
|
|
|
7
7
|
DeleteGroupCommandInput,
|
|
8
8
|
DeleteGroupCommandOutput,
|
|
9
9
|
} from "./commands/DeleteGroupCommand";
|
|
10
|
+
import {
|
|
11
|
+
GetAccountSettingsCommandInput,
|
|
12
|
+
GetAccountSettingsCommandOutput,
|
|
13
|
+
} from "./commands/GetAccountSettingsCommand";
|
|
10
14
|
import {
|
|
11
15
|
GetGroupCommandInput,
|
|
12
16
|
GetGroupCommandOutput,
|
|
@@ -49,6 +53,10 @@ import {
|
|
|
49
53
|
UngroupResourcesCommandOutput,
|
|
50
54
|
} from "./commands/UngroupResourcesCommand";
|
|
51
55
|
import { UntagCommandInput, UntagCommandOutput } from "./commands/UntagCommand";
|
|
56
|
+
import {
|
|
57
|
+
UpdateAccountSettingsCommandInput,
|
|
58
|
+
UpdateAccountSettingsCommandOutput,
|
|
59
|
+
} from "./commands/UpdateAccountSettingsCommand";
|
|
52
60
|
import {
|
|
53
61
|
UpdateGroupCommandInput,
|
|
54
62
|
UpdateGroupCommandOutput,
|
|
@@ -85,6 +93,19 @@ export declare class ResourceGroups extends ResourceGroupsClient {
|
|
|
85
93
|
options: __HttpHandlerOptions,
|
|
86
94
|
cb: (err: any, data?: DeleteGroupCommandOutput) => void
|
|
87
95
|
): void;
|
|
96
|
+
getAccountSettings(
|
|
97
|
+
args: GetAccountSettingsCommandInput,
|
|
98
|
+
options?: __HttpHandlerOptions
|
|
99
|
+
): Promise<GetAccountSettingsCommandOutput>;
|
|
100
|
+
getAccountSettings(
|
|
101
|
+
args: GetAccountSettingsCommandInput,
|
|
102
|
+
cb: (err: any, data?: GetAccountSettingsCommandOutput) => void
|
|
103
|
+
): void;
|
|
104
|
+
getAccountSettings(
|
|
105
|
+
args: GetAccountSettingsCommandInput,
|
|
106
|
+
options: __HttpHandlerOptions,
|
|
107
|
+
cb: (err: any, data?: GetAccountSettingsCommandOutput) => void
|
|
108
|
+
): void;
|
|
88
109
|
getGroup(
|
|
89
110
|
args: GetGroupCommandInput,
|
|
90
111
|
options?: __HttpHandlerOptions
|
|
@@ -241,6 +262,19 @@ export declare class ResourceGroups extends ResourceGroupsClient {
|
|
|
241
262
|
options: __HttpHandlerOptions,
|
|
242
263
|
cb: (err: any, data?: UntagCommandOutput) => void
|
|
243
264
|
): void;
|
|
265
|
+
updateAccountSettings(
|
|
266
|
+
args: UpdateAccountSettingsCommandInput,
|
|
267
|
+
options?: __HttpHandlerOptions
|
|
268
|
+
): Promise<UpdateAccountSettingsCommandOutput>;
|
|
269
|
+
updateAccountSettings(
|
|
270
|
+
args: UpdateAccountSettingsCommandInput,
|
|
271
|
+
cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void
|
|
272
|
+
): void;
|
|
273
|
+
updateAccountSettings(
|
|
274
|
+
args: UpdateAccountSettingsCommandInput,
|
|
275
|
+
options: __HttpHandlerOptions,
|
|
276
|
+
cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void
|
|
277
|
+
): void;
|
|
244
278
|
updateGroup(
|
|
245
279
|
args: UpdateGroupCommandInput,
|
|
246
280
|
options?: __HttpHandlerOptions
|
|
@@ -51,6 +51,10 @@ import {
|
|
|
51
51
|
DeleteGroupCommandInput,
|
|
52
52
|
DeleteGroupCommandOutput,
|
|
53
53
|
} from "./commands/DeleteGroupCommand";
|
|
54
|
+
import {
|
|
55
|
+
GetAccountSettingsCommandInput,
|
|
56
|
+
GetAccountSettingsCommandOutput,
|
|
57
|
+
} from "./commands/GetAccountSettingsCommand";
|
|
54
58
|
import {
|
|
55
59
|
GetGroupCommandInput,
|
|
56
60
|
GetGroupCommandOutput,
|
|
@@ -93,6 +97,10 @@ import {
|
|
|
93
97
|
UngroupResourcesCommandOutput,
|
|
94
98
|
} from "./commands/UngroupResourcesCommand";
|
|
95
99
|
import { UntagCommandInput, UntagCommandOutput } from "./commands/UntagCommand";
|
|
100
|
+
import {
|
|
101
|
+
UpdateAccountSettingsCommandInput,
|
|
102
|
+
UpdateAccountSettingsCommandOutput,
|
|
103
|
+
} from "./commands/UpdateAccountSettingsCommand";
|
|
96
104
|
import {
|
|
97
105
|
UpdateGroupCommandInput,
|
|
98
106
|
UpdateGroupCommandOutput,
|
|
@@ -109,6 +117,7 @@ import {
|
|
|
109
117
|
export declare type ServiceInputTypes =
|
|
110
118
|
| CreateGroupCommandInput
|
|
111
119
|
| DeleteGroupCommandInput
|
|
120
|
+
| GetAccountSettingsCommandInput
|
|
112
121
|
| GetGroupCommandInput
|
|
113
122
|
| GetGroupConfigurationCommandInput
|
|
114
123
|
| GetGroupQueryCommandInput
|
|
@@ -121,11 +130,13 @@ export declare type ServiceInputTypes =
|
|
|
121
130
|
| TagCommandInput
|
|
122
131
|
| UngroupResourcesCommandInput
|
|
123
132
|
| UntagCommandInput
|
|
133
|
+
| UpdateAccountSettingsCommandInput
|
|
124
134
|
| UpdateGroupCommandInput
|
|
125
135
|
| UpdateGroupQueryCommandInput;
|
|
126
136
|
export declare type ServiceOutputTypes =
|
|
127
137
|
| CreateGroupCommandOutput
|
|
128
138
|
| DeleteGroupCommandOutput
|
|
139
|
+
| GetAccountSettingsCommandOutput
|
|
129
140
|
| GetGroupCommandOutput
|
|
130
141
|
| GetGroupConfigurationCommandOutput
|
|
131
142
|
| GetGroupQueryCommandOutput
|
|
@@ -138,6 +149,7 @@ export declare type ServiceOutputTypes =
|
|
|
138
149
|
| TagCommandOutput
|
|
139
150
|
| UngroupResourcesCommandOutput
|
|
140
151
|
| UntagCommandOutput
|
|
152
|
+
| UpdateAccountSettingsCommandOutput
|
|
141
153
|
| UpdateGroupCommandOutput
|
|
142
154
|
| UpdateGroupQueryCommandOutput;
|
|
143
155
|
export interface ClientDefaults
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import { GetAccountSettingsOutput } from "../models/models_0";
|
|
10
|
+
import {
|
|
11
|
+
ResourceGroupsClientResolvedConfig,
|
|
12
|
+
ServiceInputTypes,
|
|
13
|
+
ServiceOutputTypes,
|
|
14
|
+
} from "../ResourceGroupsClient";
|
|
15
|
+
export interface GetAccountSettingsCommandInput {}
|
|
16
|
+
export interface GetAccountSettingsCommandOutput
|
|
17
|
+
extends GetAccountSettingsOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
export declare class GetAccountSettingsCommand extends $Command<
|
|
20
|
+
GetAccountSettingsCommandInput,
|
|
21
|
+
GetAccountSettingsCommandOutput,
|
|
22
|
+
ResourceGroupsClientResolvedConfig
|
|
23
|
+
> {
|
|
24
|
+
readonly input: GetAccountSettingsCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
26
|
+
constructor(input: GetAccountSettingsCommandInput);
|
|
27
|
+
resolveMiddleware(
|
|
28
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
|
+
configuration: ResourceGroupsClientResolvedConfig,
|
|
30
|
+
options?: __HttpHandlerOptions
|
|
31
|
+
): Handler<GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput>;
|
|
32
|
+
private serialize;
|
|
33
|
+
private deserialize;
|
|
34
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
UpdateAccountSettingsInput,
|
|
11
|
+
UpdateAccountSettingsOutput,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
ResourceGroupsClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../ResourceGroupsClient";
|
|
18
|
+
export interface UpdateAccountSettingsCommandInput
|
|
19
|
+
extends UpdateAccountSettingsInput {}
|
|
20
|
+
export interface UpdateAccountSettingsCommandOutput
|
|
21
|
+
extends UpdateAccountSettingsOutput,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class UpdateAccountSettingsCommand extends $Command<
|
|
24
|
+
UpdateAccountSettingsCommandInput,
|
|
25
|
+
UpdateAccountSettingsCommandOutput,
|
|
26
|
+
ResourceGroupsClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: UpdateAccountSettingsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UpdateAccountSettingsCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: ResourceGroupsClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
UpdateAccountSettingsCommandInput,
|
|
37
|
+
UpdateAccountSettingsCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./CreateGroupCommand";
|
|
2
2
|
export * from "./DeleteGroupCommand";
|
|
3
|
+
export * from "./GetAccountSettingsCommand";
|
|
3
4
|
export * from "./GetGroupCommand";
|
|
4
5
|
export * from "./GetGroupConfigurationCommand";
|
|
5
6
|
export * from "./GetGroupQueryCommand";
|
|
@@ -12,5 +13,6 @@ export * from "./SearchResourcesCommand";
|
|
|
12
13
|
export * from "./TagCommand";
|
|
13
14
|
export * from "./UngroupResourcesCommand";
|
|
14
15
|
export * from "./UntagCommand";
|
|
16
|
+
export * from "./UpdateAccountSettingsCommand";
|
|
15
17
|
export * from "./UpdateGroupCommand";
|
|
16
18
|
export * from "./UpdateGroupQueryCommand";
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ResourceGroupsServiceException as __BaseException } from "./ResourceGroupsServiceException";
|
|
3
|
+
export declare enum GroupLifecycleEventsDesiredStatus {
|
|
4
|
+
ACTIVE = "ACTIVE",
|
|
5
|
+
INACTIVE = "INACTIVE",
|
|
6
|
+
}
|
|
7
|
+
export declare enum GroupLifecycleEventsStatus {
|
|
8
|
+
ACTIVE = "ACTIVE",
|
|
9
|
+
ERROR = "ERROR",
|
|
10
|
+
INACTIVE = "INACTIVE",
|
|
11
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
12
|
+
}
|
|
13
|
+
export interface AccountSettings {
|
|
14
|
+
GroupLifecycleEventsDesiredStatus?:
|
|
15
|
+
| GroupLifecycleEventsDesiredStatus
|
|
16
|
+
| string;
|
|
17
|
+
GroupLifecycleEventsStatus?: GroupLifecycleEventsStatus | string;
|
|
18
|
+
GroupLifecycleEventsStatusMessage?: string;
|
|
19
|
+
}
|
|
3
20
|
export declare class BadRequestException extends __BaseException {
|
|
4
21
|
readonly name: "BadRequestException";
|
|
5
22
|
readonly $fault: "client";
|
|
@@ -96,6 +113,9 @@ export declare class NotFoundException extends __BaseException {
|
|
|
96
113
|
Message?: string;
|
|
97
114
|
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
98
115
|
}
|
|
116
|
+
export interface GetAccountSettingsOutput {
|
|
117
|
+
AccountSettings?: AccountSettings;
|
|
118
|
+
}
|
|
99
119
|
export interface GetGroupInput {
|
|
100
120
|
GroupName?: string;
|
|
101
121
|
Group?: string;
|
|
@@ -161,6 +181,7 @@ export interface ListGroupResourcesInput {
|
|
|
161
181
|
export declare enum QueryErrorCode {
|
|
162
182
|
CLOUDFORMATION_STACK_INACTIVE = "CLOUDFORMATION_STACK_INACTIVE",
|
|
163
183
|
CLOUDFORMATION_STACK_NOT_EXISTING = "CLOUDFORMATION_STACK_NOT_EXISTING",
|
|
184
|
+
CLOUDFORMATION_STACK_UNASSUMABLE_ROLE = "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE",
|
|
164
185
|
}
|
|
165
186
|
export interface QueryError {
|
|
166
187
|
ErrorCode?: QueryErrorCode | string;
|
|
@@ -256,6 +277,14 @@ export interface UntagOutput {
|
|
|
256
277
|
Arn?: string;
|
|
257
278
|
Keys?: string[];
|
|
258
279
|
}
|
|
280
|
+
export interface UpdateAccountSettingsInput {
|
|
281
|
+
GroupLifecycleEventsDesiredStatus?:
|
|
282
|
+
| GroupLifecycleEventsDesiredStatus
|
|
283
|
+
| string;
|
|
284
|
+
}
|
|
285
|
+
export interface UpdateAccountSettingsOutput {
|
|
286
|
+
AccountSettings?: AccountSettings;
|
|
287
|
+
}
|
|
259
288
|
export interface UpdateGroupInput {
|
|
260
289
|
GroupName?: string;
|
|
261
290
|
Group?: string;
|
|
@@ -272,6 +301,9 @@ export interface UpdateGroupQueryInput {
|
|
|
272
301
|
export interface UpdateGroupQueryOutput {
|
|
273
302
|
GroupQuery?: GroupQuery;
|
|
274
303
|
}
|
|
304
|
+
export declare const AccountSettingsFilterSensitiveLog: (
|
|
305
|
+
obj: AccountSettings
|
|
306
|
+
) => any;
|
|
275
307
|
export declare const GroupConfigurationParameterFilterSensitiveLog: (
|
|
276
308
|
obj: GroupConfigurationParameter
|
|
277
309
|
) => any;
|
|
@@ -297,6 +329,9 @@ export declare const DeleteGroupInputFilterSensitiveLog: (
|
|
|
297
329
|
export declare const DeleteGroupOutputFilterSensitiveLog: (
|
|
298
330
|
obj: DeleteGroupOutput
|
|
299
331
|
) => any;
|
|
332
|
+
export declare const GetAccountSettingsOutputFilterSensitiveLog: (
|
|
333
|
+
obj: GetAccountSettingsOutput
|
|
334
|
+
) => any;
|
|
300
335
|
export declare const GetGroupInputFilterSensitiveLog: (
|
|
301
336
|
obj: GetGroupInput
|
|
302
337
|
) => any;
|
|
@@ -383,6 +418,12 @@ export declare const UngroupResourcesOutputFilterSensitiveLog: (
|
|
|
383
418
|
) => any;
|
|
384
419
|
export declare const UntagInputFilterSensitiveLog: (obj: UntagInput) => any;
|
|
385
420
|
export declare const UntagOutputFilterSensitiveLog: (obj: UntagOutput) => any;
|
|
421
|
+
export declare const UpdateAccountSettingsInputFilterSensitiveLog: (
|
|
422
|
+
obj: UpdateAccountSettingsInput
|
|
423
|
+
) => any;
|
|
424
|
+
export declare const UpdateAccountSettingsOutputFilterSensitiveLog: (
|
|
425
|
+
obj: UpdateAccountSettingsOutput
|
|
426
|
+
) => any;
|
|
386
427
|
export declare const UpdateGroupInputFilterSensitiveLog: (
|
|
387
428
|
obj: UpdateGroupInput
|
|
388
429
|
) => any;
|
|
@@ -11,6 +11,10 @@ import {
|
|
|
11
11
|
DeleteGroupCommandInput,
|
|
12
12
|
DeleteGroupCommandOutput,
|
|
13
13
|
} from "../commands/DeleteGroupCommand";
|
|
14
|
+
import {
|
|
15
|
+
GetAccountSettingsCommandInput,
|
|
16
|
+
GetAccountSettingsCommandOutput,
|
|
17
|
+
} from "../commands/GetAccountSettingsCommand";
|
|
14
18
|
import {
|
|
15
19
|
GetGroupCommandInput,
|
|
16
20
|
GetGroupCommandOutput,
|
|
@@ -56,6 +60,10 @@ import {
|
|
|
56
60
|
UntagCommandInput,
|
|
57
61
|
UntagCommandOutput,
|
|
58
62
|
} from "../commands/UntagCommand";
|
|
63
|
+
import {
|
|
64
|
+
UpdateAccountSettingsCommandInput,
|
|
65
|
+
UpdateAccountSettingsCommandOutput,
|
|
66
|
+
} from "../commands/UpdateAccountSettingsCommand";
|
|
59
67
|
import {
|
|
60
68
|
UpdateGroupCommandInput,
|
|
61
69
|
UpdateGroupCommandOutput,
|
|
@@ -72,6 +80,10 @@ export declare const serializeAws_restJson1DeleteGroupCommand: (
|
|
|
72
80
|
input: DeleteGroupCommandInput,
|
|
73
81
|
context: __SerdeContext
|
|
74
82
|
) => Promise<__HttpRequest>;
|
|
83
|
+
export declare const serializeAws_restJson1GetAccountSettingsCommand: (
|
|
84
|
+
input: GetAccountSettingsCommandInput,
|
|
85
|
+
context: __SerdeContext
|
|
86
|
+
) => Promise<__HttpRequest>;
|
|
75
87
|
export declare const serializeAws_restJson1GetGroupCommand: (
|
|
76
88
|
input: GetGroupCommandInput,
|
|
77
89
|
context: __SerdeContext
|
|
@@ -120,6 +132,10 @@ export declare const serializeAws_restJson1UntagCommand: (
|
|
|
120
132
|
input: UntagCommandInput,
|
|
121
133
|
context: __SerdeContext
|
|
122
134
|
) => Promise<__HttpRequest>;
|
|
135
|
+
export declare const serializeAws_restJson1UpdateAccountSettingsCommand: (
|
|
136
|
+
input: UpdateAccountSettingsCommandInput,
|
|
137
|
+
context: __SerdeContext
|
|
138
|
+
) => Promise<__HttpRequest>;
|
|
123
139
|
export declare const serializeAws_restJson1UpdateGroupCommand: (
|
|
124
140
|
input: UpdateGroupCommandInput,
|
|
125
141
|
context: __SerdeContext
|
|
@@ -136,6 +152,10 @@ export declare const deserializeAws_restJson1DeleteGroupCommand: (
|
|
|
136
152
|
output: __HttpResponse,
|
|
137
153
|
context: __SerdeContext
|
|
138
154
|
) => Promise<DeleteGroupCommandOutput>;
|
|
155
|
+
export declare const deserializeAws_restJson1GetAccountSettingsCommand: (
|
|
156
|
+
output: __HttpResponse,
|
|
157
|
+
context: __SerdeContext
|
|
158
|
+
) => Promise<GetAccountSettingsCommandOutput>;
|
|
139
159
|
export declare const deserializeAws_restJson1GetGroupCommand: (
|
|
140
160
|
output: __HttpResponse,
|
|
141
161
|
context: __SerdeContext
|
|
@@ -184,6 +204,10 @@ export declare const deserializeAws_restJson1UntagCommand: (
|
|
|
184
204
|
output: __HttpResponse,
|
|
185
205
|
context: __SerdeContext
|
|
186
206
|
) => Promise<UntagCommandOutput>;
|
|
207
|
+
export declare const deserializeAws_restJson1UpdateAccountSettingsCommand: (
|
|
208
|
+
output: __HttpResponse,
|
|
209
|
+
context: __SerdeContext
|
|
210
|
+
) => Promise<UpdateAccountSettingsCommandOutput>;
|
|
187
211
|
export declare const deserializeAws_restJson1UpdateGroupCommand: (
|
|
188
212
|
output: __HttpResponse,
|
|
189
213
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-resource-groups",
|
|
3
3
|
"description": "AWS SDK for JavaScript Resource Groups Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.252.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
-
"generate:client": "
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo resource-groups"
|
|
15
15
|
},
|
|
16
16
|
"main": "./dist-cjs/index.js",
|
|
17
17
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.252.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.252.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.226.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.226.0",
|