@aws-sdk/client-appconfig 3.637.0 → 3.645.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 (29) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +105 -3
  3. package/dist-es/AppConfig.js +4 -0
  4. package/dist-es/commands/GetAccountSettingsCommand.js +24 -0
  5. package/dist-es/commands/UpdateAccountSettingsCommand.js +24 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +5 -0
  8. package/dist-es/protocols/Aws_restJson1.js +58 -3
  9. package/dist-types/AppConfig.d.ts +16 -0
  10. package/dist-types/AppConfigClient.d.ts +4 -2
  11. package/dist-types/commands/CreateHostedConfigurationVersionCommand.d.ts +4 -2
  12. package/dist-types/commands/DeleteApplicationCommand.d.ts +1 -2
  13. package/dist-types/commands/DeleteConfigurationProfileCommand.d.ts +5 -2
  14. package/dist-types/commands/DeleteDeploymentStrategyCommand.d.ts +1 -2
  15. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +5 -3
  16. package/dist-types/commands/GetAccountSettingsCommand.d.ts +68 -0
  17. package/dist-types/commands/GetConfigurationCommand.d.ts +1 -1
  18. package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +72 -0
  19. package/dist-types/commands/index.d.ts +2 -0
  20. package/dist-types/models/models_0.d.ts +155 -15
  21. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  22. package/dist-types/ts3.4/AppConfig.d.ts +36 -0
  23. package/dist-types/ts3.4/AppConfigClient.d.ts +12 -0
  24. package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +36 -0
  25. package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +40 -0
  26. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +20 -1
  28. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  29. package/package.json +6 -6
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AppConfigClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../AppConfigClient";
8
+ import {
9
+ AccountSettings,
10
+ UpdateAccountSettingsRequest,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateAccountSettingsCommandInput
15
+ extends UpdateAccountSettingsRequest {}
16
+ export interface UpdateAccountSettingsCommandOutput
17
+ extends AccountSettings,
18
+ __MetadataBearer {}
19
+ declare const UpdateAccountSettingsCommand_base: {
20
+ new (
21
+ input: UpdateAccountSettingsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateAccountSettingsCommandInput,
24
+ UpdateAccountSettingsCommandOutput,
25
+ AppConfigClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [UpdateAccountSettingsCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateAccountSettingsCommandInput,
33
+ UpdateAccountSettingsCommandOutput,
34
+ AppConfigClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateAccountSettingsCommand extends UpdateAccountSettingsCommand_base {}
@@ -12,6 +12,7 @@ export * from "./DeleteEnvironmentCommand";
12
12
  export * from "./DeleteExtensionAssociationCommand";
13
13
  export * from "./DeleteExtensionCommand";
14
14
  export * from "./DeleteHostedConfigurationVersionCommand";
15
+ export * from "./GetAccountSettingsCommand";
15
16
  export * from "./GetApplicationCommand";
16
17
  export * from "./GetConfigurationCommand";
17
18
  export * from "./GetConfigurationProfileCommand";
@@ -34,6 +35,7 @@ export * from "./StartDeploymentCommand";
34
35
  export * from "./StopDeploymentCommand";
35
36
  export * from "./TagResourceCommand";
36
37
  export * from "./UntagResourceCommand";
38
+ export * from "./UpdateAccountSettingsCommand";
37
39
  export * from "./UpdateApplicationCommand";
38
40
  export * from "./UpdateConfigurationProfileCommand";
39
41
  export * from "./UpdateDeploymentStrategyCommand";
@@ -1,5 +1,12 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { AppConfigServiceException as __BaseException } from "./AppConfigServiceException";
3
+ export interface DeletionProtectionSettings {
4
+ Enabled?: boolean;
5
+ ProtectionPeriodInMinutes?: number;
6
+ }
7
+ export interface AccountSettings {
8
+ DeletionProtection?: DeletionProtectionSettings;
9
+ }
3
10
  export interface Action {
4
11
  Name?: string;
5
12
  Description?: string;
@@ -269,16 +276,25 @@ export declare class PayloadTooLargeException extends __BaseException {
269
276
  export interface DeleteApplicationRequest {
270
277
  ApplicationId: string | undefined;
271
278
  }
279
+ export declare const DeletionProtectionCheck: {
280
+ readonly ACCOUNT_DEFAULT: "ACCOUNT_DEFAULT";
281
+ readonly APPLY: "APPLY";
282
+ readonly BYPASS: "BYPASS";
283
+ };
284
+ export type DeletionProtectionCheck =
285
+ (typeof DeletionProtectionCheck)[keyof typeof DeletionProtectionCheck];
272
286
  export interface DeleteConfigurationProfileRequest {
273
287
  ApplicationId: string | undefined;
274
288
  ConfigurationProfileId: string | undefined;
289
+ DeletionProtectionCheck?: DeletionProtectionCheck;
275
290
  }
276
291
  export interface DeleteDeploymentStrategyRequest {
277
292
  DeploymentStrategyId: string | undefined;
278
293
  }
279
294
  export interface DeleteEnvironmentRequest {
280
- ApplicationId: string | undefined;
281
295
  EnvironmentId: string | undefined;
296
+ ApplicationId: string | undefined;
297
+ DeletionProtectionCheck?: DeletionProtectionCheck;
282
298
  }
283
299
  export interface DeleteExtensionRequest {
284
300
  ExtensionIdentifier: string | undefined;
@@ -548,6 +564,9 @@ export interface UntagResourceRequest {
548
564
  ResourceArn: string | undefined;
549
565
  TagKeys: string[] | undefined;
550
566
  }
567
+ export interface UpdateAccountSettingsRequest {
568
+ DeletionProtection?: DeletionProtectionSettings;
569
+ }
551
570
  export interface UpdateApplicationRequest {
552
571
  ApplicationId: string | undefined;
553
572
  Name?: string;
@@ -59,6 +59,10 @@ import {
59
59
  DeleteHostedConfigurationVersionCommandInput,
60
60
  DeleteHostedConfigurationVersionCommandOutput,
61
61
  } from "../commands/DeleteHostedConfigurationVersionCommand";
62
+ import {
63
+ GetAccountSettingsCommandInput,
64
+ GetAccountSettingsCommandOutput,
65
+ } from "../commands/GetAccountSettingsCommand";
62
66
  import {
63
67
  GetApplicationCommandInput,
64
68
  GetApplicationCommandOutput,
@@ -147,6 +151,10 @@ import {
147
151
  UntagResourceCommandInput,
148
152
  UntagResourceCommandOutput,
149
153
  } from "../commands/UntagResourceCommand";
154
+ import {
155
+ UpdateAccountSettingsCommandInput,
156
+ UpdateAccountSettingsCommandOutput,
157
+ } from "../commands/UpdateAccountSettingsCommand";
150
158
  import {
151
159
  UpdateApplicationCommandInput,
152
160
  UpdateApplicationCommandOutput,
@@ -231,6 +239,10 @@ export declare const se_DeleteHostedConfigurationVersionCommand: (
231
239
  input: DeleteHostedConfigurationVersionCommandInput,
232
240
  context: __SerdeContext
233
241
  ) => Promise<__HttpRequest>;
242
+ export declare const se_GetAccountSettingsCommand: (
243
+ input: GetAccountSettingsCommandInput,
244
+ context: __SerdeContext
245
+ ) => Promise<__HttpRequest>;
234
246
  export declare const se_GetApplicationCommand: (
235
247
  input: GetApplicationCommandInput,
236
248
  context: __SerdeContext
@@ -319,6 +331,10 @@ export declare const se_UntagResourceCommand: (
319
331
  input: UntagResourceCommandInput,
320
332
  context: __SerdeContext
321
333
  ) => Promise<__HttpRequest>;
334
+ export declare const se_UpdateAccountSettingsCommand: (
335
+ input: UpdateAccountSettingsCommandInput,
336
+ context: __SerdeContext
337
+ ) => Promise<__HttpRequest>;
322
338
  export declare const se_UpdateApplicationCommand: (
323
339
  input: UpdateApplicationCommandInput,
324
340
  context: __SerdeContext
@@ -403,6 +419,10 @@ export declare const de_DeleteHostedConfigurationVersionCommand: (
403
419
  output: __HttpResponse,
404
420
  context: __SerdeContext
405
421
  ) => Promise<DeleteHostedConfigurationVersionCommandOutput>;
422
+ export declare const de_GetAccountSettingsCommand: (
423
+ output: __HttpResponse,
424
+ context: __SerdeContext
425
+ ) => Promise<GetAccountSettingsCommandOutput>;
406
426
  export declare const de_GetApplicationCommand: (
407
427
  output: __HttpResponse,
408
428
  context: __SerdeContext
@@ -491,6 +511,10 @@ export declare const de_UntagResourceCommand: (
491
511
  output: __HttpResponse,
492
512
  context: __SerdeContext
493
513
  ) => Promise<UntagResourceCommandOutput>;
514
+ export declare const de_UpdateAccountSettingsCommand: (
515
+ output: __HttpResponse,
516
+ context: __SerdeContext
517
+ ) => Promise<UpdateAccountSettingsCommandOutput>;
494
518
  export declare const de_UpdateApplicationCommand: (
495
519
  output: __HttpResponse,
496
520
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appconfig",
3
3
  "description": "AWS SDK for JavaScript Appconfig Client for Node.js, Browser and React Native",
4
- "version": "3.637.0",
4
+ "version": "3.645.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-appconfig",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.637.0",
24
- "@aws-sdk/client-sts": "3.637.0",
23
+ "@aws-sdk/client-sso-oidc": "3.645.0",
24
+ "@aws-sdk/client-sts": "3.645.0",
25
25
  "@aws-sdk/core": "3.635.0",
26
- "@aws-sdk/credential-provider-node": "3.637.0",
26
+ "@aws-sdk/credential-provider-node": "3.645.0",
27
27
  "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
- "@aws-sdk/middleware-user-agent": "3.637.0",
30
+ "@aws-sdk/middleware-user-agent": "3.645.0",
31
31
  "@aws-sdk/region-config-resolver": "3.614.0",
32
32
  "@aws-sdk/types": "3.609.0",
33
- "@aws-sdk/util-endpoints": "3.637.0",
33
+ "@aws-sdk/util-endpoints": "3.645.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.609.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.614.0",
36
36
  "@smithy/config-resolver": "^3.0.5",