@aws-sdk/client-appconfig 3.430.0 → 3.433.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/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/protocols/Aws_restJson1.js +2 -1
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +2 -1
- package/dist-types/models/models_0.d.ts +3 -3
- package/dist-types/ts3.4/models/models_0.d.ts +3 -3
- package/package.json +33 -32
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "isSet",
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const u = "required", v = "fn", w = "argv", x = "ref";
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [x]: "Region" }, p = { [v]: "getAttr", [w]: [{ [x]: g }, "supportsFIPS"] }, q = { [v]: c, [w]: [true, { [v]: "getAttr", [w]: [{ [x]: g }, "supportsDualStack"] }] }, r = [l], s = [m], t = [o];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, p] }, q], rules: [{ endpoint: { url: "https://appconfig-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [p, a] }], rules: [{ conditions: [{ [v]: h, [w]: [o, "us-gov-east-1"] }], endpoint: { url: "https://appconfig.us-gov-east-1.amazonaws.com", properties: n, headers: n }, type: e }, { conditions: [{ [v]: h, [w]: [o, "us-gov-west-1"] }], endpoint: { url: "https://appconfig.us-gov-west-1.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://appconfig-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_CreateHostedConfigurationVersionCommand = exports.de_CreateExtensionAssociationCommand = exports.de_CreateExtensionCommand = exports.de_CreateEnvironmentCommand = exports.de_CreateDeploymentStrategyCommand = exports.de_CreateConfigurationProfileCommand = exports.de_CreateApplicationCommand = exports.se_ValidateConfigurationCommand = exports.se_UpdateExtensionAssociationCommand = exports.se_UpdateExtensionCommand = exports.se_UpdateEnvironmentCommand = exports.se_UpdateDeploymentStrategyCommand = exports.se_UpdateConfigurationProfileCommand = exports.se_UpdateApplicationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopDeploymentCommand = exports.se_StartDeploymentCommand = exports.se_ListTagsForResourceCommand = exports.se_ListHostedConfigurationVersionsCommand = exports.se_ListExtensionsCommand = exports.se_ListExtensionAssociationsCommand = exports.se_ListEnvironmentsCommand = exports.se_ListDeploymentStrategiesCommand = exports.se_ListDeploymentsCommand = exports.se_ListConfigurationProfilesCommand = exports.se_ListApplicationsCommand = exports.se_GetHostedConfigurationVersionCommand = exports.se_GetExtensionAssociationCommand = exports.se_GetExtensionCommand = exports.se_GetEnvironmentCommand = exports.se_GetDeploymentStrategyCommand = exports.se_GetDeploymentCommand = exports.se_GetConfigurationProfileCommand = exports.se_GetConfigurationCommand = exports.se_GetApplicationCommand = exports.se_DeleteHostedConfigurationVersionCommand = exports.se_DeleteExtensionAssociationCommand = exports.se_DeleteExtensionCommand = exports.se_DeleteEnvironmentCommand = exports.se_DeleteDeploymentStrategyCommand = exports.se_DeleteConfigurationProfileCommand = exports.se_DeleteApplicationCommand = exports.se_CreateHostedConfigurationVersionCommand = exports.se_CreateExtensionAssociationCommand = exports.se_CreateExtensionCommand = exports.se_CreateEnvironmentCommand = exports.se_CreateDeploymentStrategyCommand = exports.se_CreateConfigurationProfileCommand = exports.se_CreateApplicationCommand = void 0;
|
|
4
4
|
exports.de_ValidateConfigurationCommand = exports.de_UpdateExtensionAssociationCommand = exports.de_UpdateExtensionCommand = exports.de_UpdateEnvironmentCommand = exports.de_UpdateDeploymentStrategyCommand = exports.de_UpdateConfigurationProfileCommand = exports.de_UpdateApplicationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopDeploymentCommand = exports.de_StartDeploymentCommand = exports.de_ListTagsForResourceCommand = exports.de_ListHostedConfigurationVersionsCommand = exports.de_ListExtensionsCommand = exports.de_ListExtensionAssociationsCommand = exports.de_ListEnvironmentsCommand = exports.de_ListDeploymentStrategiesCommand = exports.de_ListDeploymentsCommand = exports.de_ListConfigurationProfilesCommand = exports.de_ListApplicationsCommand = exports.de_GetHostedConfigurationVersionCommand = exports.de_GetExtensionAssociationCommand = exports.de_GetExtensionCommand = exports.de_GetEnvironmentCommand = exports.de_GetDeploymentStrategyCommand = exports.de_GetDeploymentCommand = exports.de_GetConfigurationProfileCommand = exports.de_GetConfigurationCommand = exports.de_GetApplicationCommand = exports.de_DeleteHostedConfigurationVersionCommand = exports.de_DeleteExtensionAssociationCommand = exports.de_DeleteExtensionCommand = exports.de_DeleteEnvironmentCommand = exports.de_DeleteDeploymentStrategyCommand = exports.de_DeleteConfigurationProfileCommand = exports.de_DeleteApplicationCommand = void 0;
|
|
5
|
+
const core_1 = require("@aws-sdk/core");
|
|
5
6
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
8
|
const AppConfigServiceException_1 = require("../models/AppConfigServiceException");
|
|
@@ -2872,7 +2873,7 @@ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
2872
2873
|
const contents = (0, smithy_client_1.map)({});
|
|
2873
2874
|
const data = parsedOutput.body;
|
|
2874
2875
|
const doc = (0, smithy_client_1.take)(data, {
|
|
2875
|
-
Details: (_) => (0, smithy_client_1._json)((0,
|
|
2876
|
+
Details: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
2876
2877
|
Message: smithy_client_1.expectString,
|
|
2877
2878
|
Reason: smithy_client_1.expectString,
|
|
2878
2879
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "isSet",
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const u = "required", v = "fn", w = "argv", x = "ref";
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [x]: "Region" }, p = { [v]: "getAttr", [w]: [{ [x]: g }, "supportsFIPS"] }, q = { [v]: c, [w]: [true, { [v]: "getAttr", [w]: [{ [x]: g }, "supportsDualStack"] }] }, r = [l], s = [m], t = [o];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, p] }, q], rules: [{ endpoint: { url: "https://appconfig-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [p, a] }], rules: [{ conditions: [{ [v]: h, [w]: [o, "us-gov-east-1"] }], endpoint: { url: "https://appconfig.us-gov-east-1.amazonaws.com", properties: n, headers: n }, type: e }, { conditions: [{ [v]: h, [w]: [o, "us-gov-west-1"] }], endpoint: { url: "https://appconfig.us-gov-west-1.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://appconfig-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
|
|
1
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString,
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
4
|
import { AppConfigServiceException as __BaseException } from "../models/AppConfigServiceException";
|
|
4
5
|
import { BadRequestException, ConflictException, InternalServerException, PayloadTooLargeException, ResourceNotFoundException, ServiceQuotaExceededException, } from "../models/models_0";
|
|
5
6
|
export const se_CreateApplicationCommand = async (input, context) => {
|
|
@@ -827,7 +827,7 @@ export interface CreateExtensionRequest {
|
|
|
827
827
|
* @public
|
|
828
828
|
* <p>The actions defined in the extension.</p>
|
|
829
829
|
*/
|
|
830
|
-
Actions: Record<ActionPoint, Action[]
|
|
830
|
+
Actions: Partial<Record<ActionPoint, Action[]>> | undefined;
|
|
831
831
|
/**
|
|
832
832
|
* @public
|
|
833
833
|
* <p>The parameters accepted by the extension. You specify parameter values when you
|
|
@@ -884,7 +884,7 @@ export interface Extension {
|
|
|
884
884
|
* @public
|
|
885
885
|
* <p>The actions defined in the extension.</p>
|
|
886
886
|
*/
|
|
887
|
-
Actions?: Record<ActionPoint, Action[]
|
|
887
|
+
Actions?: Partial<Record<ActionPoint, Action[]>>;
|
|
888
888
|
/**
|
|
889
889
|
* @public
|
|
890
890
|
* <p>The parameters accepted by the extension. You specify parameter values when you
|
|
@@ -2466,7 +2466,7 @@ export interface UpdateExtensionRequest {
|
|
|
2466
2466
|
* @public
|
|
2467
2467
|
* <p>The actions defined in the extension.</p>
|
|
2468
2468
|
*/
|
|
2469
|
-
Actions?: Record<ActionPoint, Action[]
|
|
2469
|
+
Actions?: Partial<Record<ActionPoint, Action[]>>;
|
|
2470
2470
|
/**
|
|
2471
2471
|
* @public
|
|
2472
2472
|
* <p>One or more parameters for the actions called by the extension.</p>
|
|
@@ -202,7 +202,7 @@ export interface Parameter {
|
|
|
202
202
|
export interface CreateExtensionRequest {
|
|
203
203
|
Name: string | undefined;
|
|
204
204
|
Description?: string;
|
|
205
|
-
Actions: Record<ActionPoint, Action[]
|
|
205
|
+
Actions: Partial<Record<ActionPoint, Action[]>> | undefined;
|
|
206
206
|
Parameters?: Record<string, Parameter>;
|
|
207
207
|
Tags?: Record<string, string>;
|
|
208
208
|
LatestVersionNumber?: number;
|
|
@@ -213,7 +213,7 @@ export interface Extension {
|
|
|
213
213
|
VersionNumber?: number;
|
|
214
214
|
Arn?: string;
|
|
215
215
|
Description?: string;
|
|
216
|
-
Actions?: Record<ActionPoint, Action[]
|
|
216
|
+
Actions?: Partial<Record<ActionPoint, Action[]>>;
|
|
217
217
|
Parameters?: Record<string, Parameter>;
|
|
218
218
|
}
|
|
219
219
|
export interface CreateExtensionAssociationRequest {
|
|
@@ -578,7 +578,7 @@ export interface UpdateEnvironmentRequest {
|
|
|
578
578
|
export interface UpdateExtensionRequest {
|
|
579
579
|
ExtensionIdentifier: string | undefined;
|
|
580
580
|
Description?: string;
|
|
581
|
-
Actions?: Record<ActionPoint, Action[]
|
|
581
|
+
Actions?: Partial<Record<ActionPoint, Action[]>>;
|
|
582
582
|
Parameters?: Record<string, Parameter>;
|
|
583
583
|
VersionNumber?: number;
|
|
584
584
|
}
|
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.
|
|
4
|
+
"version": "3.433.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",
|
|
@@ -21,40 +21,41 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/
|
|
26
|
-
"@aws-sdk/
|
|
27
|
-
"@aws-sdk/middleware-
|
|
28
|
-
"@aws-sdk/middleware-
|
|
29
|
-
"@aws-sdk/middleware-
|
|
30
|
-
"@aws-sdk/middleware-
|
|
31
|
-
"@aws-sdk/
|
|
32
|
-
"@aws-sdk/
|
|
33
|
-
"@aws-sdk/
|
|
34
|
-
"@aws-sdk/util-
|
|
35
|
-
"@aws-sdk/util-user-agent-
|
|
36
|
-
"@
|
|
37
|
-
"@smithy/
|
|
38
|
-
"@smithy/
|
|
39
|
-
"@smithy/
|
|
40
|
-
"@smithy/
|
|
41
|
-
"@smithy/middleware-
|
|
42
|
-
"@smithy/middleware-
|
|
43
|
-
"@smithy/middleware-
|
|
44
|
-
"@smithy/middleware-
|
|
45
|
-
"@smithy/
|
|
46
|
-
"@smithy/node-
|
|
47
|
-
"@smithy/
|
|
48
|
-
"@smithy/
|
|
49
|
-
"@smithy/
|
|
50
|
-
"@smithy/
|
|
24
|
+
"@aws-sdk/client-sts": "3.433.0",
|
|
25
|
+
"@aws-sdk/core": "3.433.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.433.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.433.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.433.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.433.0",
|
|
30
|
+
"@aws-sdk/middleware-signing": "3.433.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.433.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.433.0",
|
|
33
|
+
"@aws-sdk/types": "3.433.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.433.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.433.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.433.0",
|
|
37
|
+
"@smithy/config-resolver": "^2.0.16",
|
|
38
|
+
"@smithy/fetch-http-handler": "^2.2.4",
|
|
39
|
+
"@smithy/hash-node": "^2.0.12",
|
|
40
|
+
"@smithy/invalid-dependency": "^2.0.12",
|
|
41
|
+
"@smithy/middleware-content-length": "^2.0.14",
|
|
42
|
+
"@smithy/middleware-endpoint": "^2.1.3",
|
|
43
|
+
"@smithy/middleware-retry": "^2.0.18",
|
|
44
|
+
"@smithy/middleware-serde": "^2.0.12",
|
|
45
|
+
"@smithy/middleware-stack": "^2.0.6",
|
|
46
|
+
"@smithy/node-config-provider": "^2.1.3",
|
|
47
|
+
"@smithy/node-http-handler": "^2.1.8",
|
|
48
|
+
"@smithy/protocol-http": "^3.0.8",
|
|
49
|
+
"@smithy/smithy-client": "^2.1.12",
|
|
50
|
+
"@smithy/types": "^2.4.0",
|
|
51
|
+
"@smithy/url-parser": "^2.0.12",
|
|
51
52
|
"@smithy/util-base64": "^2.0.0",
|
|
52
53
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
54
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
57
|
-
"@smithy/util-stream": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.0.16",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.0.21",
|
|
57
|
+
"@smithy/util-retry": "^2.0.5",
|
|
58
|
+
"@smithy/util-stream": "^2.0.17",
|
|
58
59
|
"@smithy/util-utf8": "^2.0.0",
|
|
59
60
|
"tslib": "^2.5.0"
|
|
60
61
|
},
|