@aws-sdk/client-appconfig 3.637.0 → 3.641.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 +16 -0
- package/dist-cjs/index.js +105 -3
- package/dist-es/AppConfig.js +4 -0
- package/dist-es/commands/GetAccountSettingsCommand.js +24 -0
- package/dist-es/commands/UpdateAccountSettingsCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +58 -3
- package/dist-types/AppConfig.d.ts +16 -0
- package/dist-types/AppConfigClient.d.ts +4 -2
- package/dist-types/commands/CreateHostedConfigurationVersionCommand.d.ts +4 -2
- package/dist-types/commands/DeleteApplicationCommand.d.ts +1 -2
- package/dist-types/commands/DeleteConfigurationProfileCommand.d.ts +5 -2
- package/dist-types/commands/DeleteDeploymentStrategyCommand.d.ts +1 -2
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +5 -3
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +68 -0
- package/dist-types/commands/GetConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +72 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +155 -15
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/AppConfig.d.ts +36 -0
- package/dist-types/ts3.4/AppConfigClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +20 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -463,6 +463,14 @@ DeleteHostedConfigurationVersion
|
|
|
463
463
|
|
|
464
464
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appconfig/command/DeleteHostedConfigurationVersionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appconfig/Interface/DeleteHostedConfigurationVersionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appconfig/Interface/DeleteHostedConfigurationVersionCommandOutput/)
|
|
465
465
|
|
|
466
|
+
</details>
|
|
467
|
+
<details>
|
|
468
|
+
<summary>
|
|
469
|
+
GetAccountSettings
|
|
470
|
+
</summary>
|
|
471
|
+
|
|
472
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appconfig/command/GetAccountSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appconfig/Interface/GetAccountSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appconfig/Interface/GetAccountSettingsCommandOutput/)
|
|
473
|
+
|
|
466
474
|
</details>
|
|
467
475
|
<details>
|
|
468
476
|
<summary>
|
|
@@ -639,6 +647,14 @@ UntagResource
|
|
|
639
647
|
|
|
640
648
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appconfig/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appconfig/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appconfig/Interface/UntagResourceCommandOutput/)
|
|
641
649
|
|
|
650
|
+
</details>
|
|
651
|
+
<details>
|
|
652
|
+
<summary>
|
|
653
|
+
UpdateAccountSettings
|
|
654
|
+
</summary>
|
|
655
|
+
|
|
656
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appconfig/command/UpdateAccountSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appconfig/Interface/UpdateAccountSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appconfig/Interface/UpdateAccountSettingsCommandOutput/)
|
|
657
|
+
|
|
642
658
|
</details>
|
|
643
659
|
<details>
|
|
644
660
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -48,9 +48,11 @@ __export(src_exports, {
|
|
|
48
48
|
DeleteExtensionAssociationCommand: () => DeleteExtensionAssociationCommand,
|
|
49
49
|
DeleteExtensionCommand: () => DeleteExtensionCommand,
|
|
50
50
|
DeleteHostedConfigurationVersionCommand: () => DeleteHostedConfigurationVersionCommand,
|
|
51
|
+
DeletionProtectionCheck: () => DeletionProtectionCheck,
|
|
51
52
|
DeploymentEventType: () => DeploymentEventType,
|
|
52
53
|
DeploymentState: () => DeploymentState,
|
|
53
54
|
EnvironmentState: () => EnvironmentState,
|
|
55
|
+
GetAccountSettingsCommand: () => GetAccountSettingsCommand,
|
|
54
56
|
GetApplicationCommand: () => GetApplicationCommand,
|
|
55
57
|
GetConfigurationCommand: () => GetConfigurationCommand,
|
|
56
58
|
GetConfigurationProfileCommand: () => GetConfigurationProfileCommand,
|
|
@@ -81,6 +83,7 @@ __export(src_exports, {
|
|
|
81
83
|
TagResourceCommand: () => TagResourceCommand,
|
|
82
84
|
TriggeredBy: () => TriggeredBy,
|
|
83
85
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
86
|
+
UpdateAccountSettingsCommand: () => UpdateAccountSettingsCommand,
|
|
84
87
|
UpdateApplicationCommand: () => UpdateApplicationCommand,
|
|
85
88
|
UpdateConfigurationProfileCommand: () => UpdateConfigurationProfileCommand,
|
|
86
89
|
UpdateConfigurationProfileRequestFilterSensitiveLog: () => UpdateConfigurationProfileRequestFilterSensitiveLog,
|
|
@@ -424,6 +427,11 @@ var _PayloadTooLargeException = class _PayloadTooLargeException extends AppConfi
|
|
|
424
427
|
};
|
|
425
428
|
__name(_PayloadTooLargeException, "PayloadTooLargeException");
|
|
426
429
|
var PayloadTooLargeException = _PayloadTooLargeException;
|
|
430
|
+
var DeletionProtectionCheck = {
|
|
431
|
+
ACCOUNT_DEFAULT: "ACCOUNT_DEFAULT",
|
|
432
|
+
APPLY: "APPLY",
|
|
433
|
+
BYPASS: "BYPASS"
|
|
434
|
+
};
|
|
427
435
|
var DeploymentEventType = {
|
|
428
436
|
BAKE_TIME_STARTED: "BAKE_TIME_STARTED",
|
|
429
437
|
DEPLOYMENT_COMPLETED: "DEPLOYMENT_COMPLETED",
|
|
@@ -625,7 +633,9 @@ var se_DeleteApplicationCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
625
633
|
}, "se_DeleteApplicationCommand");
|
|
626
634
|
var se_DeleteConfigurationProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
627
635
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
628
|
-
const headers = {}
|
|
636
|
+
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
637
|
+
[_xadpc]: input[_DPC]
|
|
638
|
+
});
|
|
629
639
|
b.bp("/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}");
|
|
630
640
|
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
631
641
|
b.p("ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
|
|
@@ -644,10 +654,12 @@ var se_DeleteDeploymentStrategyCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
644
654
|
}, "se_DeleteDeploymentStrategyCommand");
|
|
645
655
|
var se_DeleteEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
646
656
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
647
|
-
const headers = {}
|
|
657
|
+
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
658
|
+
[_xadpc]: input[_DPC]
|
|
659
|
+
});
|
|
648
660
|
b.bp("/applications/{ApplicationId}/environments/{EnvironmentId}");
|
|
649
|
-
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
650
661
|
b.p("EnvironmentId", () => input.EnvironmentId, "{EnvironmentId}", false);
|
|
662
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
651
663
|
let body;
|
|
652
664
|
b.m("DELETE").h(headers).b(body);
|
|
653
665
|
return b.build();
|
|
@@ -686,6 +698,14 @@ var se_DeleteHostedConfigurationVersionCommand = /* @__PURE__ */ __name(async (i
|
|
|
686
698
|
b.m("DELETE").h(headers).b(body);
|
|
687
699
|
return b.build();
|
|
688
700
|
}, "se_DeleteHostedConfigurationVersionCommand");
|
|
701
|
+
var se_GetAccountSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
702
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
703
|
+
const headers = {};
|
|
704
|
+
b.bp("/settings");
|
|
705
|
+
let body;
|
|
706
|
+
b.m("GET").h(headers).b(body);
|
|
707
|
+
return b.build();
|
|
708
|
+
}, "se_GetAccountSettingsCommand");
|
|
689
709
|
var se_GetApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
690
710
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
691
711
|
const headers = {};
|
|
@@ -966,6 +986,21 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
966
986
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
967
987
|
return b.build();
|
|
968
988
|
}, "se_UntagResourceCommand");
|
|
989
|
+
var se_UpdateAccountSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
990
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
991
|
+
const headers = {
|
|
992
|
+
"content-type": "application/json"
|
|
993
|
+
};
|
|
994
|
+
b.bp("/settings");
|
|
995
|
+
let body;
|
|
996
|
+
body = JSON.stringify(
|
|
997
|
+
(0, import_smithy_client.take)(input, {
|
|
998
|
+
DeletionProtection: (_) => (0, import_smithy_client._json)(_)
|
|
999
|
+
})
|
|
1000
|
+
);
|
|
1001
|
+
b.m("PATCH").h(headers).b(body);
|
|
1002
|
+
return b.build();
|
|
1003
|
+
}, "se_UpdateAccountSettingsCommand");
|
|
969
1004
|
var se_UpdateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
970
1005
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
971
1006
|
const headers = {
|
|
@@ -1297,6 +1332,20 @@ var de_DeleteHostedConfigurationVersionCommand = /* @__PURE__ */ __name(async (o
|
|
|
1297
1332
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1298
1333
|
return contents;
|
|
1299
1334
|
}, "de_DeleteHostedConfigurationVersionCommand");
|
|
1335
|
+
var de_GetAccountSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1336
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1337
|
+
return de_CommandError(output, context);
|
|
1338
|
+
}
|
|
1339
|
+
const contents = (0, import_smithy_client.map)({
|
|
1340
|
+
$metadata: deserializeMetadata(output)
|
|
1341
|
+
});
|
|
1342
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1343
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1344
|
+
DeletionProtection: import_smithy_client._json
|
|
1345
|
+
});
|
|
1346
|
+
Object.assign(contents, doc);
|
|
1347
|
+
return contents;
|
|
1348
|
+
}, "de_GetAccountSettingsCommand");
|
|
1300
1349
|
var de_GetApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1301
1350
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1302
1351
|
return de_CommandError(output, context);
|
|
@@ -1705,6 +1754,20 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1705
1754
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1706
1755
|
return contents;
|
|
1707
1756
|
}, "de_UntagResourceCommand");
|
|
1757
|
+
var de_UpdateAccountSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1758
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1759
|
+
return de_CommandError(output, context);
|
|
1760
|
+
}
|
|
1761
|
+
const contents = (0, import_smithy_client.map)({
|
|
1762
|
+
$metadata: deserializeMetadata(output)
|
|
1763
|
+
});
|
|
1764
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1765
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1766
|
+
DeletionProtection: import_smithy_client._json
|
|
1767
|
+
});
|
|
1768
|
+
Object.assign(contents, doc);
|
|
1769
|
+
return contents;
|
|
1770
|
+
}, "de_UpdateAccountSettingsCommand");
|
|
1708
1771
|
var de_UpdateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1709
1772
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1710
1773
|
return de_CommandError(output, context);
|
|
@@ -2021,6 +2084,7 @@ var _CPI = "ConfigurationProfileId";
|
|
|
2021
2084
|
var _CT = "ContentType";
|
|
2022
2085
|
var _CV = "ConfigurationVersion";
|
|
2023
2086
|
var _D = "Description";
|
|
2087
|
+
var _DPC = "DeletionProtectionCheck";
|
|
2024
2088
|
var _EI = "ExtensionIdentifier";
|
|
2025
2089
|
var _EVN = "ExtensionVersionNumber";
|
|
2026
2090
|
var _KKA = "KmsKeyArn";
|
|
@@ -2056,6 +2120,7 @@ var _ve = "version";
|
|
|
2056
2120
|
var _vl = "version_label";
|
|
2057
2121
|
var _vn = "version_number";
|
|
2058
2122
|
var _vn_ = "version-number";
|
|
2123
|
+
var _xadpc = "x-amzn-deletion-protection-check";
|
|
2059
2124
|
|
|
2060
2125
|
// src/commands/CreateApplicationCommand.ts
|
|
2061
2126
|
var _CreateApplicationCommand = class _CreateApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -2278,6 +2343,22 @@ var _DeleteHostedConfigurationVersionCommand = class _DeleteHostedConfigurationV
|
|
|
2278
2343
|
__name(_DeleteHostedConfigurationVersionCommand, "DeleteHostedConfigurationVersionCommand");
|
|
2279
2344
|
var DeleteHostedConfigurationVersionCommand = _DeleteHostedConfigurationVersionCommand;
|
|
2280
2345
|
|
|
2346
|
+
// src/commands/GetAccountSettingsCommand.ts
|
|
2347
|
+
|
|
2348
|
+
|
|
2349
|
+
|
|
2350
|
+
var _GetAccountSettingsCommand = class _GetAccountSettingsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2351
|
+
...commonParams
|
|
2352
|
+
}).m(function(Command, cs, config, o) {
|
|
2353
|
+
return [
|
|
2354
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2355
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2356
|
+
];
|
|
2357
|
+
}).s("AmazonAppConfig", "GetAccountSettings", {}).n("AppConfigClient", "GetAccountSettingsCommand").f(void 0, void 0).ser(se_GetAccountSettingsCommand).de(de_GetAccountSettingsCommand).build() {
|
|
2358
|
+
};
|
|
2359
|
+
__name(_GetAccountSettingsCommand, "GetAccountSettingsCommand");
|
|
2360
|
+
var GetAccountSettingsCommand = _GetAccountSettingsCommand;
|
|
2361
|
+
|
|
2281
2362
|
// src/commands/GetApplicationCommand.ts
|
|
2282
2363
|
|
|
2283
2364
|
|
|
@@ -2630,6 +2711,22 @@ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_cl
|
|
|
2630
2711
|
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
2631
2712
|
var UntagResourceCommand = _UntagResourceCommand;
|
|
2632
2713
|
|
|
2714
|
+
// src/commands/UpdateAccountSettingsCommand.ts
|
|
2715
|
+
|
|
2716
|
+
|
|
2717
|
+
|
|
2718
|
+
var _UpdateAccountSettingsCommand = class _UpdateAccountSettingsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2719
|
+
...commonParams
|
|
2720
|
+
}).m(function(Command, cs, config, o) {
|
|
2721
|
+
return [
|
|
2722
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2723
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2724
|
+
];
|
|
2725
|
+
}).s("AmazonAppConfig", "UpdateAccountSettings", {}).n("AppConfigClient", "UpdateAccountSettingsCommand").f(void 0, void 0).ser(se_UpdateAccountSettingsCommand).de(de_UpdateAccountSettingsCommand).build() {
|
|
2726
|
+
};
|
|
2727
|
+
__name(_UpdateAccountSettingsCommand, "UpdateAccountSettingsCommand");
|
|
2728
|
+
var UpdateAccountSettingsCommand = _UpdateAccountSettingsCommand;
|
|
2729
|
+
|
|
2633
2730
|
// src/commands/UpdateApplicationCommand.ts
|
|
2634
2731
|
|
|
2635
2732
|
|
|
@@ -2758,6 +2855,7 @@ var commands = {
|
|
|
2758
2855
|
DeleteExtensionCommand,
|
|
2759
2856
|
DeleteExtensionAssociationCommand,
|
|
2760
2857
|
DeleteHostedConfigurationVersionCommand,
|
|
2858
|
+
GetAccountSettingsCommand,
|
|
2761
2859
|
GetApplicationCommand,
|
|
2762
2860
|
GetConfigurationCommand,
|
|
2763
2861
|
GetConfigurationProfileCommand,
|
|
@@ -2780,6 +2878,7 @@ var commands = {
|
|
|
2780
2878
|
StopDeploymentCommand,
|
|
2781
2879
|
TagResourceCommand,
|
|
2782
2880
|
UntagResourceCommand,
|
|
2881
|
+
UpdateAccountSettingsCommand,
|
|
2783
2882
|
UpdateApplicationCommand,
|
|
2784
2883
|
UpdateConfigurationProfileCommand,
|
|
2785
2884
|
UpdateDeploymentStrategyCommand,
|
|
@@ -2847,6 +2946,7 @@ var paginateListHostedConfigurationVersions = (0, import_core.createPaginator)(A
|
|
|
2847
2946
|
DeleteExtensionAssociationCommand,
|
|
2848
2947
|
DeleteExtensionCommand,
|
|
2849
2948
|
DeleteHostedConfigurationVersionCommand,
|
|
2949
|
+
GetAccountSettingsCommand,
|
|
2850
2950
|
GetApplicationCommand,
|
|
2851
2951
|
GetConfigurationCommand,
|
|
2852
2952
|
GetConfigurationProfileCommand,
|
|
@@ -2869,6 +2969,7 @@ var paginateListHostedConfigurationVersions = (0, import_core.createPaginator)(A
|
|
|
2869
2969
|
StopDeploymentCommand,
|
|
2870
2970
|
TagResourceCommand,
|
|
2871
2971
|
UntagResourceCommand,
|
|
2972
|
+
UpdateAccountSettingsCommand,
|
|
2872
2973
|
UpdateApplicationCommand,
|
|
2873
2974
|
UpdateConfigurationProfileCommand,
|
|
2874
2975
|
UpdateDeploymentStrategyCommand,
|
|
@@ -2898,6 +2999,7 @@ var paginateListHostedConfigurationVersions = (0, import_core.createPaginator)(A
|
|
|
2898
2999
|
ConflictException,
|
|
2899
3000
|
BytesMeasure,
|
|
2900
3001
|
PayloadTooLargeException,
|
|
3002
|
+
DeletionProtectionCheck,
|
|
2901
3003
|
DeploymentEventType,
|
|
2902
3004
|
TriggeredBy,
|
|
2903
3005
|
DeploymentState,
|
package/dist-es/AppConfig.js
CHANGED
|
@@ -14,6 +14,7 @@ import { DeleteEnvironmentCommand, } from "./commands/DeleteEnvironmentCommand";
|
|
|
14
14
|
import { DeleteExtensionAssociationCommand, } from "./commands/DeleteExtensionAssociationCommand";
|
|
15
15
|
import { DeleteExtensionCommand, } from "./commands/DeleteExtensionCommand";
|
|
16
16
|
import { DeleteHostedConfigurationVersionCommand, } from "./commands/DeleteHostedConfigurationVersionCommand";
|
|
17
|
+
import { GetAccountSettingsCommand, } from "./commands/GetAccountSettingsCommand";
|
|
17
18
|
import { GetApplicationCommand, } from "./commands/GetApplicationCommand";
|
|
18
19
|
import { GetConfigurationCommand, } from "./commands/GetConfigurationCommand";
|
|
19
20
|
import { GetConfigurationProfileCommand, } from "./commands/GetConfigurationProfileCommand";
|
|
@@ -36,6 +37,7 @@ import { StartDeploymentCommand, } from "./commands/StartDeploymentCommand";
|
|
|
36
37
|
import { StopDeploymentCommand, } from "./commands/StopDeploymentCommand";
|
|
37
38
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
38
39
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
40
|
+
import { UpdateAccountSettingsCommand, } from "./commands/UpdateAccountSettingsCommand";
|
|
39
41
|
import { UpdateApplicationCommand, } from "./commands/UpdateApplicationCommand";
|
|
40
42
|
import { UpdateConfigurationProfileCommand, } from "./commands/UpdateConfigurationProfileCommand";
|
|
41
43
|
import { UpdateDeploymentStrategyCommand, } from "./commands/UpdateDeploymentStrategyCommand";
|
|
@@ -58,6 +60,7 @@ const commands = {
|
|
|
58
60
|
DeleteExtensionCommand,
|
|
59
61
|
DeleteExtensionAssociationCommand,
|
|
60
62
|
DeleteHostedConfigurationVersionCommand,
|
|
63
|
+
GetAccountSettingsCommand,
|
|
61
64
|
GetApplicationCommand,
|
|
62
65
|
GetConfigurationCommand,
|
|
63
66
|
GetConfigurationProfileCommand,
|
|
@@ -80,6 +83,7 @@ const commands = {
|
|
|
80
83
|
StopDeploymentCommand,
|
|
81
84
|
TagResourceCommand,
|
|
82
85
|
UntagResourceCommand,
|
|
86
|
+
UpdateAccountSettingsCommand,
|
|
83
87
|
UpdateApplicationCommand,
|
|
84
88
|
UpdateConfigurationProfileCommand,
|
|
85
89
|
UpdateDeploymentStrategyCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetAccountSettingsCommand, se_GetAccountSettingsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetAccountSettingsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonAppConfig", "GetAccountSettings", {})
|
|
19
|
+
.n("AppConfigClient", "GetAccountSettingsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetAccountSettingsCommand)
|
|
22
|
+
.de(de_GetAccountSettingsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateAccountSettingsCommand, se_UpdateAccountSettingsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateAccountSettingsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonAppConfig", "UpdateAccountSettings", {})
|
|
19
|
+
.n("AppConfigClient", "UpdateAccountSettingsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateAccountSettingsCommand)
|
|
22
|
+
.de(de_UpdateAccountSettingsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -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";
|
|
@@ -125,6 +125,11 @@ export class PayloadTooLargeException extends __BaseException {
|
|
|
125
125
|
this.Size = opts.Size;
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
+
export const DeletionProtectionCheck = {
|
|
129
|
+
ACCOUNT_DEFAULT: "ACCOUNT_DEFAULT",
|
|
130
|
+
APPLY: "APPLY",
|
|
131
|
+
BYPASS: "BYPASS",
|
|
132
|
+
};
|
|
128
133
|
export const DeploymentEventType = {
|
|
129
134
|
BAKE_TIME_STARTED: "BAKE_TIME_STARTED",
|
|
130
135
|
DEPLOYMENT_COMPLETED: "DEPLOYMENT_COMPLETED",
|
|
@@ -140,7 +140,9 @@ export const se_DeleteApplicationCommand = async (input, context) => {
|
|
|
140
140
|
};
|
|
141
141
|
export const se_DeleteConfigurationProfileCommand = async (input, context) => {
|
|
142
142
|
const b = rb(input, context);
|
|
143
|
-
const headers = {}
|
|
143
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
144
|
+
[_xadpc]: input[_DPC],
|
|
145
|
+
});
|
|
144
146
|
b.bp("/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}");
|
|
145
147
|
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
146
148
|
b.p("ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
|
|
@@ -159,10 +161,12 @@ export const se_DeleteDeploymentStrategyCommand = async (input, context) => {
|
|
|
159
161
|
};
|
|
160
162
|
export const se_DeleteEnvironmentCommand = async (input, context) => {
|
|
161
163
|
const b = rb(input, context);
|
|
162
|
-
const headers = {}
|
|
164
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
165
|
+
[_xadpc]: input[_DPC],
|
|
166
|
+
});
|
|
163
167
|
b.bp("/applications/{ApplicationId}/environments/{EnvironmentId}");
|
|
164
|
-
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
165
168
|
b.p("EnvironmentId", () => input.EnvironmentId, "{EnvironmentId}", false);
|
|
169
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
166
170
|
let body;
|
|
167
171
|
b.m("DELETE").h(headers).b(body);
|
|
168
172
|
return b.build();
|
|
@@ -199,6 +203,14 @@ export const se_DeleteHostedConfigurationVersionCommand = async (input, context)
|
|
|
199
203
|
b.m("DELETE").h(headers).b(body);
|
|
200
204
|
return b.build();
|
|
201
205
|
};
|
|
206
|
+
export const se_GetAccountSettingsCommand = async (input, context) => {
|
|
207
|
+
const b = rb(input, context);
|
|
208
|
+
const headers = {};
|
|
209
|
+
b.bp("/settings");
|
|
210
|
+
let body;
|
|
211
|
+
b.m("GET").h(headers).b(body);
|
|
212
|
+
return b.build();
|
|
213
|
+
};
|
|
202
214
|
export const se_GetApplicationCommand = async (input, context) => {
|
|
203
215
|
const b = rb(input, context);
|
|
204
216
|
const headers = {};
|
|
@@ -473,6 +485,19 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
473
485
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
474
486
|
return b.build();
|
|
475
487
|
};
|
|
488
|
+
export const se_UpdateAccountSettingsCommand = async (input, context) => {
|
|
489
|
+
const b = rb(input, context);
|
|
490
|
+
const headers = {
|
|
491
|
+
"content-type": "application/json",
|
|
492
|
+
};
|
|
493
|
+
b.bp("/settings");
|
|
494
|
+
let body;
|
|
495
|
+
body = JSON.stringify(take(input, {
|
|
496
|
+
DeletionProtection: (_) => _json(_),
|
|
497
|
+
}));
|
|
498
|
+
b.m("PATCH").h(headers).b(body);
|
|
499
|
+
return b.build();
|
|
500
|
+
};
|
|
476
501
|
export const se_UpdateApplicationCommand = async (input, context) => {
|
|
477
502
|
const b = rb(input, context);
|
|
478
503
|
const headers = {
|
|
@@ -792,6 +817,20 @@ export const de_DeleteHostedConfigurationVersionCommand = async (output, context
|
|
|
792
817
|
await collectBody(output.body, context);
|
|
793
818
|
return contents;
|
|
794
819
|
};
|
|
820
|
+
export const de_GetAccountSettingsCommand = async (output, context) => {
|
|
821
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
822
|
+
return de_CommandError(output, context);
|
|
823
|
+
}
|
|
824
|
+
const contents = map({
|
|
825
|
+
$metadata: deserializeMetadata(output),
|
|
826
|
+
});
|
|
827
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
828
|
+
const doc = take(data, {
|
|
829
|
+
DeletionProtection: _json,
|
|
830
|
+
});
|
|
831
|
+
Object.assign(contents, doc);
|
|
832
|
+
return contents;
|
|
833
|
+
};
|
|
795
834
|
export const de_GetApplicationCommand = async (output, context) => {
|
|
796
835
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
797
836
|
return de_CommandError(output, context);
|
|
@@ -1200,6 +1239,20 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
1200
1239
|
await collectBody(output.body, context);
|
|
1201
1240
|
return contents;
|
|
1202
1241
|
};
|
|
1242
|
+
export const de_UpdateAccountSettingsCommand = async (output, context) => {
|
|
1243
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1244
|
+
return de_CommandError(output, context);
|
|
1245
|
+
}
|
|
1246
|
+
const contents = map({
|
|
1247
|
+
$metadata: deserializeMetadata(output),
|
|
1248
|
+
});
|
|
1249
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1250
|
+
const doc = take(data, {
|
|
1251
|
+
DeletionProtection: _json,
|
|
1252
|
+
});
|
|
1253
|
+
Object.assign(contents, doc);
|
|
1254
|
+
return contents;
|
|
1255
|
+
};
|
|
1203
1256
|
export const de_UpdateApplicationCommand = async (output, context) => {
|
|
1204
1257
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1205
1258
|
return de_CommandError(output, context);
|
|
@@ -1527,6 +1580,7 @@ const _CPI = "ConfigurationProfileId";
|
|
|
1527
1580
|
const _CT = "ContentType";
|
|
1528
1581
|
const _CV = "ConfigurationVersion";
|
|
1529
1582
|
const _D = "Description";
|
|
1583
|
+
const _DPC = "DeletionProtectionCheck";
|
|
1530
1584
|
const _EI = "ExtensionIdentifier";
|
|
1531
1585
|
const _EVN = "ExtensionVersionNumber";
|
|
1532
1586
|
const _KKA = "KmsKeyArn";
|
|
@@ -1562,3 +1616,4 @@ const _ve = "version";
|
|
|
1562
1616
|
const _vl = "version_label";
|
|
1563
1617
|
const _vn = "version_number";
|
|
1564
1618
|
const _vn_ = "version-number";
|
|
1619
|
+
const _xadpc = "x-amzn-deletion-protection-check";
|
|
@@ -14,6 +14,7 @@ import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from ".
|
|
|
14
14
|
import { DeleteExtensionAssociationCommandInput, DeleteExtensionAssociationCommandOutput } from "./commands/DeleteExtensionAssociationCommand";
|
|
15
15
|
import { DeleteExtensionCommandInput, DeleteExtensionCommandOutput } from "./commands/DeleteExtensionCommand";
|
|
16
16
|
import { DeleteHostedConfigurationVersionCommandInput, DeleteHostedConfigurationVersionCommandOutput } from "./commands/DeleteHostedConfigurationVersionCommand";
|
|
17
|
+
import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
|
|
17
18
|
import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
18
19
|
import { GetConfigurationCommandInput, GetConfigurationCommandOutput } from "./commands/GetConfigurationCommand";
|
|
19
20
|
import { GetConfigurationProfileCommandInput, GetConfigurationProfileCommandOutput } from "./commands/GetConfigurationProfileCommand";
|
|
@@ -36,6 +37,7 @@ import { StartDeploymentCommandInput, StartDeploymentCommandOutput } from "./com
|
|
|
36
37
|
import { StopDeploymentCommandInput, StopDeploymentCommandOutput } from "./commands/StopDeploymentCommand";
|
|
37
38
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
38
39
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
40
|
+
import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "./commands/UpdateAccountSettingsCommand";
|
|
39
41
|
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
40
42
|
import { UpdateConfigurationProfileCommandInput, UpdateConfigurationProfileCommandOutput } from "./commands/UpdateConfigurationProfileCommand";
|
|
41
43
|
import { UpdateDeploymentStrategyCommandInput, UpdateDeploymentStrategyCommandOutput } from "./commands/UpdateDeploymentStrategyCommand";
|
|
@@ -128,6 +130,13 @@ export interface AppConfig {
|
|
|
128
130
|
deleteHostedConfigurationVersion(args: DeleteHostedConfigurationVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteHostedConfigurationVersionCommandOutput>;
|
|
129
131
|
deleteHostedConfigurationVersion(args: DeleteHostedConfigurationVersionCommandInput, cb: (err: any, data?: DeleteHostedConfigurationVersionCommandOutput) => void): void;
|
|
130
132
|
deleteHostedConfigurationVersion(args: DeleteHostedConfigurationVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteHostedConfigurationVersionCommandOutput) => void): void;
|
|
133
|
+
/**
|
|
134
|
+
* @see {@link GetAccountSettingsCommand}
|
|
135
|
+
*/
|
|
136
|
+
getAccountSettings(): Promise<GetAccountSettingsCommandOutput>;
|
|
137
|
+
getAccountSettings(args: GetAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetAccountSettingsCommandOutput>;
|
|
138
|
+
getAccountSettings(args: GetAccountSettingsCommandInput, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
|
|
139
|
+
getAccountSettings(args: GetAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
|
|
131
140
|
/**
|
|
132
141
|
* @see {@link GetApplicationCommand}
|
|
133
142
|
*/
|
|
@@ -264,6 +273,13 @@ export interface AppConfig {
|
|
|
264
273
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
265
274
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
266
275
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
276
|
+
/**
|
|
277
|
+
* @see {@link UpdateAccountSettingsCommand}
|
|
278
|
+
*/
|
|
279
|
+
updateAccountSettings(): Promise<UpdateAccountSettingsCommandOutput>;
|
|
280
|
+
updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAccountSettingsCommandOutput>;
|
|
281
|
+
updateAccountSettings(args: UpdateAccountSettingsCommandInput, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
|
|
282
|
+
updateAccountSettings(args: UpdateAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
|
|
267
283
|
/**
|
|
268
284
|
* @see {@link UpdateApplicationCommand}
|
|
269
285
|
*/
|
|
@@ -21,6 +21,7 @@ import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from ".
|
|
|
21
21
|
import { DeleteExtensionAssociationCommandInput, DeleteExtensionAssociationCommandOutput } from "./commands/DeleteExtensionAssociationCommand";
|
|
22
22
|
import { DeleteExtensionCommandInput, DeleteExtensionCommandOutput } from "./commands/DeleteExtensionCommand";
|
|
23
23
|
import { DeleteHostedConfigurationVersionCommandInput, DeleteHostedConfigurationVersionCommandOutput } from "./commands/DeleteHostedConfigurationVersionCommand";
|
|
24
|
+
import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
|
|
24
25
|
import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
25
26
|
import { GetConfigurationCommandInput, GetConfigurationCommandOutput } from "./commands/GetConfigurationCommand";
|
|
26
27
|
import { GetConfigurationProfileCommandInput, GetConfigurationProfileCommandOutput } from "./commands/GetConfigurationProfileCommand";
|
|
@@ -43,6 +44,7 @@ import { StartDeploymentCommandInput, StartDeploymentCommandOutput } from "./com
|
|
|
43
44
|
import { StopDeploymentCommandInput, StopDeploymentCommandOutput } from "./commands/StopDeploymentCommand";
|
|
44
45
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
45
46
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
47
|
+
import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "./commands/UpdateAccountSettingsCommand";
|
|
46
48
|
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
47
49
|
import { UpdateConfigurationProfileCommandInput, UpdateConfigurationProfileCommandOutput } from "./commands/UpdateConfigurationProfileCommand";
|
|
48
50
|
import { UpdateDeploymentStrategyCommandInput, UpdateDeploymentStrategyCommandOutput } from "./commands/UpdateDeploymentStrategyCommand";
|
|
@@ -56,11 +58,11 @@ export { __Client };
|
|
|
56
58
|
/**
|
|
57
59
|
* @public
|
|
58
60
|
*/
|
|
59
|
-
export type ServiceInputTypes = CreateApplicationCommandInput | CreateConfigurationProfileCommandInput | CreateDeploymentStrategyCommandInput | CreateEnvironmentCommandInput | CreateExtensionAssociationCommandInput | CreateExtensionCommandInput | CreateHostedConfigurationVersionCommandInput | DeleteApplicationCommandInput | DeleteConfigurationProfileCommandInput | DeleteDeploymentStrategyCommandInput | DeleteEnvironmentCommandInput | DeleteExtensionAssociationCommandInput | DeleteExtensionCommandInput | DeleteHostedConfigurationVersionCommandInput | GetApplicationCommandInput | GetConfigurationCommandInput | GetConfigurationProfileCommandInput | GetDeploymentCommandInput | GetDeploymentStrategyCommandInput | GetEnvironmentCommandInput | GetExtensionAssociationCommandInput | GetExtensionCommandInput | GetHostedConfigurationVersionCommandInput | ListApplicationsCommandInput | ListConfigurationProfilesCommandInput | ListDeploymentStrategiesCommandInput | ListDeploymentsCommandInput | ListEnvironmentsCommandInput | ListExtensionAssociationsCommandInput | ListExtensionsCommandInput | ListHostedConfigurationVersionsCommandInput | ListTagsForResourceCommandInput | StartDeploymentCommandInput | StopDeploymentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateConfigurationProfileCommandInput | UpdateDeploymentStrategyCommandInput | UpdateEnvironmentCommandInput | UpdateExtensionAssociationCommandInput | UpdateExtensionCommandInput | ValidateConfigurationCommandInput;
|
|
61
|
+
export type ServiceInputTypes = CreateApplicationCommandInput | CreateConfigurationProfileCommandInput | CreateDeploymentStrategyCommandInput | CreateEnvironmentCommandInput | CreateExtensionAssociationCommandInput | CreateExtensionCommandInput | CreateHostedConfigurationVersionCommandInput | DeleteApplicationCommandInput | DeleteConfigurationProfileCommandInput | DeleteDeploymentStrategyCommandInput | DeleteEnvironmentCommandInput | DeleteExtensionAssociationCommandInput | DeleteExtensionCommandInput | DeleteHostedConfigurationVersionCommandInput | GetAccountSettingsCommandInput | GetApplicationCommandInput | GetConfigurationCommandInput | GetConfigurationProfileCommandInput | GetDeploymentCommandInput | GetDeploymentStrategyCommandInput | GetEnvironmentCommandInput | GetExtensionAssociationCommandInput | GetExtensionCommandInput | GetHostedConfigurationVersionCommandInput | ListApplicationsCommandInput | ListConfigurationProfilesCommandInput | ListDeploymentStrategiesCommandInput | ListDeploymentsCommandInput | ListEnvironmentsCommandInput | ListExtensionAssociationsCommandInput | ListExtensionsCommandInput | ListHostedConfigurationVersionsCommandInput | ListTagsForResourceCommandInput | StartDeploymentCommandInput | StopDeploymentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountSettingsCommandInput | UpdateApplicationCommandInput | UpdateConfigurationProfileCommandInput | UpdateDeploymentStrategyCommandInput | UpdateEnvironmentCommandInput | UpdateExtensionAssociationCommandInput | UpdateExtensionCommandInput | ValidateConfigurationCommandInput;
|
|
60
62
|
/**
|
|
61
63
|
* @public
|
|
62
64
|
*/
|
|
63
|
-
export type ServiceOutputTypes = CreateApplicationCommandOutput | CreateConfigurationProfileCommandOutput | CreateDeploymentStrategyCommandOutput | CreateEnvironmentCommandOutput | CreateExtensionAssociationCommandOutput | CreateExtensionCommandOutput | CreateHostedConfigurationVersionCommandOutput | DeleteApplicationCommandOutput | DeleteConfigurationProfileCommandOutput | DeleteDeploymentStrategyCommandOutput | DeleteEnvironmentCommandOutput | DeleteExtensionAssociationCommandOutput | DeleteExtensionCommandOutput | DeleteHostedConfigurationVersionCommandOutput | GetApplicationCommandOutput | GetConfigurationCommandOutput | GetConfigurationProfileCommandOutput | GetDeploymentCommandOutput | GetDeploymentStrategyCommandOutput | GetEnvironmentCommandOutput | GetExtensionAssociationCommandOutput | GetExtensionCommandOutput | GetHostedConfigurationVersionCommandOutput | ListApplicationsCommandOutput | ListConfigurationProfilesCommandOutput | ListDeploymentStrategiesCommandOutput | ListDeploymentsCommandOutput | ListEnvironmentsCommandOutput | ListExtensionAssociationsCommandOutput | ListExtensionsCommandOutput | ListHostedConfigurationVersionsCommandOutput | ListTagsForResourceCommandOutput | StartDeploymentCommandOutput | StopDeploymentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateConfigurationProfileCommandOutput | UpdateDeploymentStrategyCommandOutput | UpdateEnvironmentCommandOutput | UpdateExtensionAssociationCommandOutput | UpdateExtensionCommandOutput | ValidateConfigurationCommandOutput;
|
|
65
|
+
export type ServiceOutputTypes = CreateApplicationCommandOutput | CreateConfigurationProfileCommandOutput | CreateDeploymentStrategyCommandOutput | CreateEnvironmentCommandOutput | CreateExtensionAssociationCommandOutput | CreateExtensionCommandOutput | CreateHostedConfigurationVersionCommandOutput | DeleteApplicationCommandOutput | DeleteConfigurationProfileCommandOutput | DeleteDeploymentStrategyCommandOutput | DeleteEnvironmentCommandOutput | DeleteExtensionAssociationCommandOutput | DeleteExtensionCommandOutput | DeleteHostedConfigurationVersionCommandOutput | GetAccountSettingsCommandOutput | GetApplicationCommandOutput | GetConfigurationCommandOutput | GetConfigurationProfileCommandOutput | GetDeploymentCommandOutput | GetDeploymentStrategyCommandOutput | GetEnvironmentCommandOutput | GetExtensionAssociationCommandOutput | GetExtensionCommandOutput | GetHostedConfigurationVersionCommandOutput | ListApplicationsCommandOutput | ListConfigurationProfilesCommandOutput | ListDeploymentStrategiesCommandOutput | ListDeploymentsCommandOutput | ListEnvironmentsCommandOutput | ListExtensionAssociationsCommandOutput | ListExtensionsCommandOutput | ListHostedConfigurationVersionsCommandOutput | ListTagsForResourceCommandOutput | StartDeploymentCommandOutput | StopDeploymentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountSettingsCommandOutput | UpdateApplicationCommandOutput | UpdateConfigurationProfileCommandOutput | UpdateDeploymentStrategyCommandOutput | UpdateEnvironmentCommandOutput | UpdateExtensionAssociationCommandOutput | UpdateExtensionCommandOutput | ValidateConfigurationCommandOutput;
|
|
64
66
|
/**
|
|
65
67
|
* @public
|
|
66
68
|
*/
|
|
@@ -40,8 +40,10 @@ declare const CreateHostedConfigurationVersionCommand_base: {
|
|
|
40
40
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
|
-
* <p>Creates a new configuration in the AppConfig hosted configuration
|
|
44
|
-
*
|
|
43
|
+
* <p>Creates a new configuration in the AppConfig hosted configuration store. If
|
|
44
|
+
* you're creating a feature flag, we recommend you familiarize yourself with the JSON schema
|
|
45
|
+
* for feature flag data. For more information, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-configuration-and-profile-feature-flags.html#appconfig-type-reference-feature-flags">Type reference for AWS.AppConfig.FeatureFlags</a> in the
|
|
46
|
+
* <i>AppConfig User Guide</i>.</p>
|
|
45
47
|
* @example
|
|
46
48
|
* Use a bare-bones client and the command you need to make an API call.
|
|
47
49
|
* ```javascript
|
|
@@ -27,8 +27,7 @@ declare const DeleteApplicationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes an application
|
|
31
|
-
* host.</p>
|
|
30
|
+
* <p>Deletes an application.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -27,8 +27,10 @@ declare const DeleteConfigurationProfileCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a configuration profile
|
|
31
|
-
*
|
|
30
|
+
* <p>Deletes a configuration profile.</p>
|
|
31
|
+
* <p>To prevent users from unintentionally deleting actively-used configuration profiles,
|
|
32
|
+
* enable <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html">deletion
|
|
33
|
+
* protection</a>.</p>
|
|
32
34
|
* @example
|
|
33
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
36
|
* ```javascript
|
|
@@ -38,6 +40,7 @@ declare const DeleteConfigurationProfileCommand_base: {
|
|
|
38
40
|
* const input = { // DeleteConfigurationProfileRequest
|
|
39
41
|
* ApplicationId: "STRING_VALUE", // required
|
|
40
42
|
* ConfigurationProfileId: "STRING_VALUE", // required
|
|
43
|
+
* DeletionProtectionCheck: "ACCOUNT_DEFAULT" || "APPLY" || "BYPASS",
|
|
41
44
|
* };
|
|
42
45
|
* const command = new DeleteConfigurationProfileCommand(input);
|
|
43
46
|
* const response = await client.send(command);
|
|
@@ -27,8 +27,7 @@ declare const DeleteDeploymentStrategyCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a deployment strategy
|
|
31
|
-
* configuration from a host.</p>
|
|
30
|
+
* <p>Deletes a deployment strategy.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|