@aws-sdk/client-appconfig 3.511.0 → 3.513.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/auth/httpAuthExtensionConfiguration.js +1 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/index.js +126 -68
- package/dist-cjs/runtimeConfig.shared.js +10 -0
- package/dist-es/AppConfigClient.js +17 -4
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/runtimeConfig.shared.js +10 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/AppConfigClient.d.ts +13 -11
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -4
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/AppConfigClient.d.ts +11 -9
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -8
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +7 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveHttpAuthSchemeConfig = exports.defaultAppConfigHttpAuthSchemeProvider = exports.defaultAppConfigHttpAuthSchemeParametersProvider = void 0;
|
|
4
|
+
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const util_middleware_1 = require("@smithy/util-middleware");
|
|
6
|
+
const defaultAppConfigHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
|
+
return {
|
|
8
|
+
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
+
region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
|
|
10
|
+
(() => {
|
|
11
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
12
|
+
})(),
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
exports.defaultAppConfigHttpAuthSchemeParametersProvider = defaultAppConfigHttpAuthSchemeParametersProvider;
|
|
16
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
17
|
+
return {
|
|
18
|
+
schemeId: "aws.auth#sigv4",
|
|
19
|
+
signingProperties: {
|
|
20
|
+
name: "appconfig",
|
|
21
|
+
region: authParameters.region,
|
|
22
|
+
},
|
|
23
|
+
propertiesExtractor: (config, context) => ({
|
|
24
|
+
signingProperties: {
|
|
25
|
+
config,
|
|
26
|
+
context,
|
|
27
|
+
},
|
|
28
|
+
}),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
const defaultAppConfigHttpAuthSchemeProvider = (authParameters) => {
|
|
32
|
+
const options = [];
|
|
33
|
+
switch (authParameters.operation) {
|
|
34
|
+
default: {
|
|
35
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return options;
|
|
39
|
+
};
|
|
40
|
+
exports.defaultAppConfigHttpAuthSchemeProvider = defaultAppConfigHttpAuthSchemeProvider;
|
|
41
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
42
|
+
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
43
|
+
return {
|
|
44
|
+
...config_0,
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/index.js
CHANGED
|
@@ -107,13 +107,14 @@ module.exports = __toCommonJS(src_exports);
|
|
|
107
107
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
108
108
|
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
109
109
|
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
110
|
-
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
111
110
|
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
112
111
|
var import_config_resolver = require("@smithy/config-resolver");
|
|
112
|
+
var import_core = require("@smithy/core");
|
|
113
113
|
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
114
114
|
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
115
115
|
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
116
116
|
|
|
117
|
+
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
117
118
|
|
|
118
119
|
// src/endpoint/EndpointParameters.ts
|
|
119
120
|
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
@@ -138,19 +139,62 @@ var import_runtimeConfig = require("././runtimeConfig");
|
|
|
138
139
|
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
139
140
|
var import_protocol_http = require("@smithy/protocol-http");
|
|
140
141
|
var import_smithy_client = require("@smithy/smithy-client");
|
|
142
|
+
|
|
143
|
+
// src/auth/httpAuthExtensionConfiguration.ts
|
|
144
|
+
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
145
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
146
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
147
|
+
let _credentials = runtimeConfig.credentials;
|
|
148
|
+
return {
|
|
149
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
150
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
151
|
+
if (index === -1) {
|
|
152
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
153
|
+
} else {
|
|
154
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
httpAuthSchemes() {
|
|
158
|
+
return _httpAuthSchemes;
|
|
159
|
+
},
|
|
160
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
161
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
162
|
+
},
|
|
163
|
+
httpAuthSchemeProvider() {
|
|
164
|
+
return _httpAuthSchemeProvider;
|
|
165
|
+
},
|
|
166
|
+
setCredentials(credentials) {
|
|
167
|
+
_credentials = credentials;
|
|
168
|
+
},
|
|
169
|
+
credentials() {
|
|
170
|
+
return _credentials;
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
}, "getHttpAuthExtensionConfiguration");
|
|
174
|
+
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
175
|
+
return {
|
|
176
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
177
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
178
|
+
credentials: config.credentials()
|
|
179
|
+
};
|
|
180
|
+
}, "resolveHttpAuthRuntimeConfig");
|
|
181
|
+
|
|
182
|
+
// src/runtimeExtensions.ts
|
|
141
183
|
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
142
184
|
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
143
185
|
const extensionConfiguration = {
|
|
144
186
|
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
145
187
|
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
146
|
-
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
188
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
189
|
+
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
|
|
147
190
|
};
|
|
148
191
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
149
192
|
return {
|
|
150
193
|
...runtimeConfig,
|
|
151
194
|
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
152
195
|
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
153
|
-
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
196
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
197
|
+
...resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
154
198
|
};
|
|
155
199
|
}, "resolveRuntimeExtensions");
|
|
156
200
|
|
|
@@ -163,8 +207,8 @@ var _AppConfigClient = class _AppConfigClient extends import_smithy_client.Clien
|
|
|
163
207
|
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
164
208
|
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
165
209
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
166
|
-
const _config_6 = (0,
|
|
167
|
-
const _config_7 = (0,
|
|
210
|
+
const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
|
|
211
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
168
212
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
169
213
|
super(_config_8);
|
|
170
214
|
this.config = _config_8;
|
|
@@ -173,8 +217,14 @@ var _AppConfigClient = class _AppConfigClient extends import_smithy_client.Clien
|
|
|
173
217
|
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
174
218
|
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
175
219
|
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
176
|
-
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
177
220
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
221
|
+
this.middlewareStack.use(
|
|
222
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
223
|
+
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
224
|
+
identityProviderConfigProvider: this.getIdentityProviderConfigProvider()
|
|
225
|
+
})
|
|
226
|
+
);
|
|
227
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
178
228
|
}
|
|
179
229
|
/**
|
|
180
230
|
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
@@ -184,6 +234,14 @@ var _AppConfigClient = class _AppConfigClient extends import_smithy_client.Clien
|
|
|
184
234
|
destroy() {
|
|
185
235
|
super.destroy();
|
|
186
236
|
}
|
|
237
|
+
getDefaultHttpAuthSchemeParametersProvider() {
|
|
238
|
+
return import_httpAuthSchemeProvider.defaultAppConfigHttpAuthSchemeParametersProvider;
|
|
239
|
+
}
|
|
240
|
+
getIdentityProviderConfigProvider() {
|
|
241
|
+
return async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
242
|
+
"aws.auth#sigv4": config.credentials
|
|
243
|
+
});
|
|
244
|
+
}
|
|
187
245
|
};
|
|
188
246
|
__name(_AppConfigClient, "AppConfigClient");
|
|
189
247
|
var AppConfigClient = _AppConfigClient;
|
|
@@ -198,8 +256,8 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
198
256
|
var import_types = require("@smithy/types");
|
|
199
257
|
|
|
200
258
|
// src/protocols/Aws_restJson1.ts
|
|
201
|
-
var
|
|
202
|
-
|
|
259
|
+
var import_core2 = require("@aws-sdk/core");
|
|
260
|
+
|
|
203
261
|
|
|
204
262
|
|
|
205
263
|
// src/models/AppConfigServiceException.ts
|
|
@@ -426,7 +484,7 @@ var UpdateConfigurationProfileRequestFilterSensitiveLog = /* @__PURE__ */ __name
|
|
|
426
484
|
|
|
427
485
|
// src/protocols/Aws_restJson1.ts
|
|
428
486
|
var se_CreateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
429
|
-
const b = (0,
|
|
487
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
430
488
|
const headers = {
|
|
431
489
|
"content-type": "application/json"
|
|
432
490
|
};
|
|
@@ -443,7 +501,7 @@ var se_CreateApplicationCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
443
501
|
return b.build();
|
|
444
502
|
}, "se_CreateApplicationCommand");
|
|
445
503
|
var se_CreateConfigurationProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
446
|
-
const b = (0,
|
|
504
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
447
505
|
const headers = {
|
|
448
506
|
"content-type": "application/json"
|
|
449
507
|
};
|
|
@@ -466,7 +524,7 @@ var se_CreateConfigurationProfileCommand = /* @__PURE__ */ __name(async (input,
|
|
|
466
524
|
return b.build();
|
|
467
525
|
}, "se_CreateConfigurationProfileCommand");
|
|
468
526
|
var se_CreateDeploymentStrategyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
469
|
-
const b = (0,
|
|
527
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
470
528
|
const headers = {
|
|
471
529
|
"content-type": "application/json"
|
|
472
530
|
};
|
|
@@ -488,7 +546,7 @@ var se_CreateDeploymentStrategyCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
488
546
|
return b.build();
|
|
489
547
|
}, "se_CreateDeploymentStrategyCommand");
|
|
490
548
|
var se_CreateEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
491
|
-
const b = (0,
|
|
549
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
492
550
|
const headers = {
|
|
493
551
|
"content-type": "application/json"
|
|
494
552
|
};
|
|
@@ -507,7 +565,7 @@ var se_CreateEnvironmentCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
507
565
|
return b.build();
|
|
508
566
|
}, "se_CreateEnvironmentCommand");
|
|
509
567
|
var se_CreateExtensionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
510
|
-
const b = (0,
|
|
568
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
511
569
|
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
512
570
|
"content-type": "application/json",
|
|
513
571
|
[_lvn]: [() => isSerializableHeaderValue(input[_LVN]), () => input[_LVN].toString()]
|
|
@@ -527,7 +585,7 @@ var se_CreateExtensionCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
527
585
|
return b.build();
|
|
528
586
|
}, "se_CreateExtensionCommand");
|
|
529
587
|
var se_CreateExtensionAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
530
|
-
const b = (0,
|
|
588
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
531
589
|
const headers = {
|
|
532
590
|
"content-type": "application/json"
|
|
533
591
|
};
|
|
@@ -546,7 +604,7 @@ var se_CreateExtensionAssociationCommand = /* @__PURE__ */ __name(async (input,
|
|
|
546
604
|
return b.build();
|
|
547
605
|
}, "se_CreateExtensionAssociationCommand");
|
|
548
606
|
var se_CreateHostedConfigurationVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
549
|
-
const b = (0,
|
|
607
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
550
608
|
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
551
609
|
[_ct]: input[_CT] || "application/octet-stream",
|
|
552
610
|
[_d]: input[_D],
|
|
@@ -564,7 +622,7 @@ var se_CreateHostedConfigurationVersionCommand = /* @__PURE__ */ __name(async (i
|
|
|
564
622
|
return b.build();
|
|
565
623
|
}, "se_CreateHostedConfigurationVersionCommand");
|
|
566
624
|
var se_DeleteApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
567
|
-
const b = (0,
|
|
625
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
568
626
|
const headers = {};
|
|
569
627
|
b.bp("/applications/{ApplicationId}");
|
|
570
628
|
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
@@ -573,7 +631,7 @@ var se_DeleteApplicationCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
573
631
|
return b.build();
|
|
574
632
|
}, "se_DeleteApplicationCommand");
|
|
575
633
|
var se_DeleteConfigurationProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
576
|
-
const b = (0,
|
|
634
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
577
635
|
const headers = {};
|
|
578
636
|
b.bp("/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}");
|
|
579
637
|
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
@@ -583,7 +641,7 @@ var se_DeleteConfigurationProfileCommand = /* @__PURE__ */ __name(async (input,
|
|
|
583
641
|
return b.build();
|
|
584
642
|
}, "se_DeleteConfigurationProfileCommand");
|
|
585
643
|
var se_DeleteDeploymentStrategyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
586
|
-
const b = (0,
|
|
644
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
587
645
|
const headers = {};
|
|
588
646
|
b.bp("/deployementstrategies/{DeploymentStrategyId}");
|
|
589
647
|
b.p("DeploymentStrategyId", () => input.DeploymentStrategyId, "{DeploymentStrategyId}", false);
|
|
@@ -592,7 +650,7 @@ var se_DeleteDeploymentStrategyCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
592
650
|
return b.build();
|
|
593
651
|
}, "se_DeleteDeploymentStrategyCommand");
|
|
594
652
|
var se_DeleteEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
595
|
-
const b = (0,
|
|
653
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
596
654
|
const headers = {};
|
|
597
655
|
b.bp("/applications/{ApplicationId}/environments/{EnvironmentId}");
|
|
598
656
|
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
@@ -602,7 +660,7 @@ var se_DeleteEnvironmentCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
602
660
|
return b.build();
|
|
603
661
|
}, "se_DeleteEnvironmentCommand");
|
|
604
662
|
var se_DeleteExtensionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
605
|
-
const b = (0,
|
|
663
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
606
664
|
const headers = {};
|
|
607
665
|
b.bp("/extensions/{ExtensionIdentifier}");
|
|
608
666
|
b.p("ExtensionIdentifier", () => input.ExtensionIdentifier, "{ExtensionIdentifier}", false);
|
|
@@ -614,7 +672,7 @@ var se_DeleteExtensionCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
614
672
|
return b.build();
|
|
615
673
|
}, "se_DeleteExtensionCommand");
|
|
616
674
|
var se_DeleteExtensionAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
617
|
-
const b = (0,
|
|
675
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
618
676
|
const headers = {};
|
|
619
677
|
b.bp("/extensionassociations/{ExtensionAssociationId}");
|
|
620
678
|
b.p("ExtensionAssociationId", () => input.ExtensionAssociationId, "{ExtensionAssociationId}", false);
|
|
@@ -623,7 +681,7 @@ var se_DeleteExtensionAssociationCommand = /* @__PURE__ */ __name(async (input,
|
|
|
623
681
|
return b.build();
|
|
624
682
|
}, "se_DeleteExtensionAssociationCommand");
|
|
625
683
|
var se_DeleteHostedConfigurationVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
626
|
-
const b = (0,
|
|
684
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
627
685
|
const headers = {};
|
|
628
686
|
b.bp(
|
|
629
687
|
"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}"
|
|
@@ -636,7 +694,7 @@ var se_DeleteHostedConfigurationVersionCommand = /* @__PURE__ */ __name(async (i
|
|
|
636
694
|
return b.build();
|
|
637
695
|
}, "se_DeleteHostedConfigurationVersionCommand");
|
|
638
696
|
var se_GetApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
639
|
-
const b = (0,
|
|
697
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
640
698
|
const headers = {};
|
|
641
699
|
b.bp("/applications/{ApplicationId}");
|
|
642
700
|
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
@@ -645,7 +703,7 @@ var se_GetApplicationCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
645
703
|
return b.build();
|
|
646
704
|
}, "se_GetApplicationCommand");
|
|
647
705
|
var se_GetConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
648
|
-
const b = (0,
|
|
706
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
649
707
|
const headers = {};
|
|
650
708
|
b.bp("/applications/{Application}/environments/{Environment}/configurations/{Configuration}");
|
|
651
709
|
b.p("Application", () => input.Application, "{Application}", false);
|
|
@@ -660,7 +718,7 @@ var se_GetConfigurationCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
660
718
|
return b.build();
|
|
661
719
|
}, "se_GetConfigurationCommand");
|
|
662
720
|
var se_GetConfigurationProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
663
|
-
const b = (0,
|
|
721
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
664
722
|
const headers = {};
|
|
665
723
|
b.bp("/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}");
|
|
666
724
|
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
@@ -670,7 +728,7 @@ var se_GetConfigurationProfileCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
670
728
|
return b.build();
|
|
671
729
|
}, "se_GetConfigurationProfileCommand");
|
|
672
730
|
var se_GetDeploymentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
673
|
-
const b = (0,
|
|
731
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
674
732
|
const headers = {};
|
|
675
733
|
b.bp("/applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}");
|
|
676
734
|
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
@@ -681,7 +739,7 @@ var se_GetDeploymentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
681
739
|
return b.build();
|
|
682
740
|
}, "se_GetDeploymentCommand");
|
|
683
741
|
var se_GetDeploymentStrategyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
684
|
-
const b = (0,
|
|
742
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
685
743
|
const headers = {};
|
|
686
744
|
b.bp("/deploymentstrategies/{DeploymentStrategyId}");
|
|
687
745
|
b.p("DeploymentStrategyId", () => input.DeploymentStrategyId, "{DeploymentStrategyId}", false);
|
|
@@ -690,7 +748,7 @@ var se_GetDeploymentStrategyCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
690
748
|
return b.build();
|
|
691
749
|
}, "se_GetDeploymentStrategyCommand");
|
|
692
750
|
var se_GetEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
693
|
-
const b = (0,
|
|
751
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
694
752
|
const headers = {};
|
|
695
753
|
b.bp("/applications/{ApplicationId}/environments/{EnvironmentId}");
|
|
696
754
|
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
@@ -700,7 +758,7 @@ var se_GetEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
700
758
|
return b.build();
|
|
701
759
|
}, "se_GetEnvironmentCommand");
|
|
702
760
|
var se_GetExtensionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
703
|
-
const b = (0,
|
|
761
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
704
762
|
const headers = {};
|
|
705
763
|
b.bp("/extensions/{ExtensionIdentifier}");
|
|
706
764
|
b.p("ExtensionIdentifier", () => input.ExtensionIdentifier, "{ExtensionIdentifier}", false);
|
|
@@ -712,7 +770,7 @@ var se_GetExtensionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
712
770
|
return b.build();
|
|
713
771
|
}, "se_GetExtensionCommand");
|
|
714
772
|
var se_GetExtensionAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
715
|
-
const b = (0,
|
|
773
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
716
774
|
const headers = {};
|
|
717
775
|
b.bp("/extensionassociations/{ExtensionAssociationId}");
|
|
718
776
|
b.p("ExtensionAssociationId", () => input.ExtensionAssociationId, "{ExtensionAssociationId}", false);
|
|
@@ -721,7 +779,7 @@ var se_GetExtensionAssociationCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
721
779
|
return b.build();
|
|
722
780
|
}, "se_GetExtensionAssociationCommand");
|
|
723
781
|
var se_GetHostedConfigurationVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
724
|
-
const b = (0,
|
|
782
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
725
783
|
const headers = {};
|
|
726
784
|
b.bp(
|
|
727
785
|
"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}"
|
|
@@ -734,7 +792,7 @@ var se_GetHostedConfigurationVersionCommand = /* @__PURE__ */ __name(async (inpu
|
|
|
734
792
|
return b.build();
|
|
735
793
|
}, "se_GetHostedConfigurationVersionCommand");
|
|
736
794
|
var se_ListApplicationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
737
|
-
const b = (0,
|
|
795
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
738
796
|
const headers = {};
|
|
739
797
|
b.bp("/applications");
|
|
740
798
|
const query = (0, import_smithy_client.map)({
|
|
@@ -746,7 +804,7 @@ var se_ListApplicationsCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
746
804
|
return b.build();
|
|
747
805
|
}, "se_ListApplicationsCommand");
|
|
748
806
|
var se_ListConfigurationProfilesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
749
|
-
const b = (0,
|
|
807
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
750
808
|
const headers = {};
|
|
751
809
|
b.bp("/applications/{ApplicationId}/configurationprofiles");
|
|
752
810
|
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
@@ -760,7 +818,7 @@ var se_ListConfigurationProfilesCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
760
818
|
return b.build();
|
|
761
819
|
}, "se_ListConfigurationProfilesCommand");
|
|
762
820
|
var se_ListDeploymentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
763
|
-
const b = (0,
|
|
821
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
764
822
|
const headers = {};
|
|
765
823
|
b.bp("/applications/{ApplicationId}/environments/{EnvironmentId}/deployments");
|
|
766
824
|
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
@@ -774,7 +832,7 @@ var se_ListDeploymentsCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
774
832
|
return b.build();
|
|
775
833
|
}, "se_ListDeploymentsCommand");
|
|
776
834
|
var se_ListDeploymentStrategiesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
777
|
-
const b = (0,
|
|
835
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
778
836
|
const headers = {};
|
|
779
837
|
b.bp("/deploymentstrategies");
|
|
780
838
|
const query = (0, import_smithy_client.map)({
|
|
@@ -786,7 +844,7 @@ var se_ListDeploymentStrategiesCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
786
844
|
return b.build();
|
|
787
845
|
}, "se_ListDeploymentStrategiesCommand");
|
|
788
846
|
var se_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
789
|
-
const b = (0,
|
|
847
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
790
848
|
const headers = {};
|
|
791
849
|
b.bp("/applications/{ApplicationId}/environments");
|
|
792
850
|
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
@@ -799,7 +857,7 @@ var se_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
799
857
|
return b.build();
|
|
800
858
|
}, "se_ListEnvironmentsCommand");
|
|
801
859
|
var se_ListExtensionAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
802
|
-
const b = (0,
|
|
860
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
803
861
|
const headers = {};
|
|
804
862
|
b.bp("/extensionassociations");
|
|
805
863
|
const query = (0, import_smithy_client.map)({
|
|
@@ -814,7 +872,7 @@ var se_ListExtensionAssociationsCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
814
872
|
return b.build();
|
|
815
873
|
}, "se_ListExtensionAssociationsCommand");
|
|
816
874
|
var se_ListExtensionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
817
|
-
const b = (0,
|
|
875
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
818
876
|
const headers = {};
|
|
819
877
|
b.bp("/extensions");
|
|
820
878
|
const query = (0, import_smithy_client.map)({
|
|
@@ -827,7 +885,7 @@ var se_ListExtensionsCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
827
885
|
return b.build();
|
|
828
886
|
}, "se_ListExtensionsCommand");
|
|
829
887
|
var se_ListHostedConfigurationVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
830
|
-
const b = (0,
|
|
888
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
831
889
|
const headers = {};
|
|
832
890
|
b.bp("/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions");
|
|
833
891
|
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
@@ -842,7 +900,7 @@ var se_ListHostedConfigurationVersionsCommand = /* @__PURE__ */ __name(async (in
|
|
|
842
900
|
return b.build();
|
|
843
901
|
}, "se_ListHostedConfigurationVersionsCommand");
|
|
844
902
|
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
845
|
-
const b = (0,
|
|
903
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
846
904
|
const headers = {};
|
|
847
905
|
b.bp("/tags/{ResourceArn}");
|
|
848
906
|
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
@@ -851,7 +909,7 @@ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
851
909
|
return b.build();
|
|
852
910
|
}, "se_ListTagsForResourceCommand");
|
|
853
911
|
var se_StartDeploymentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
854
|
-
const b = (0,
|
|
912
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
855
913
|
const headers = {
|
|
856
914
|
"content-type": "application/json"
|
|
857
915
|
};
|
|
@@ -873,7 +931,7 @@ var se_StartDeploymentCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
873
931
|
return b.build();
|
|
874
932
|
}, "se_StartDeploymentCommand");
|
|
875
933
|
var se_StopDeploymentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
876
|
-
const b = (0,
|
|
934
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
877
935
|
const headers = {};
|
|
878
936
|
b.bp("/applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}");
|
|
879
937
|
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
@@ -884,7 +942,7 @@ var se_StopDeploymentCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
884
942
|
return b.build();
|
|
885
943
|
}, "se_StopDeploymentCommand");
|
|
886
944
|
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
887
|
-
const b = (0,
|
|
945
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
888
946
|
const headers = {
|
|
889
947
|
"content-type": "application/json"
|
|
890
948
|
};
|
|
@@ -900,7 +958,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
900
958
|
return b.build();
|
|
901
959
|
}, "se_TagResourceCommand");
|
|
902
960
|
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
903
|
-
const b = (0,
|
|
961
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
904
962
|
const headers = {};
|
|
905
963
|
b.bp("/tags/{ResourceArn}");
|
|
906
964
|
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
@@ -915,7 +973,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
915
973
|
return b.build();
|
|
916
974
|
}, "se_UntagResourceCommand");
|
|
917
975
|
var se_UpdateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
918
|
-
const b = (0,
|
|
976
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
919
977
|
const headers = {
|
|
920
978
|
"content-type": "application/json"
|
|
921
979
|
};
|
|
@@ -932,7 +990,7 @@ var se_UpdateApplicationCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
932
990
|
return b.build();
|
|
933
991
|
}, "se_UpdateApplicationCommand");
|
|
934
992
|
var se_UpdateConfigurationProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
935
|
-
const b = (0,
|
|
993
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
936
994
|
const headers = {
|
|
937
995
|
"content-type": "application/json"
|
|
938
996
|
};
|
|
@@ -953,7 +1011,7 @@ var se_UpdateConfigurationProfileCommand = /* @__PURE__ */ __name(async (input,
|
|
|
953
1011
|
return b.build();
|
|
954
1012
|
}, "se_UpdateConfigurationProfileCommand");
|
|
955
1013
|
var se_UpdateDeploymentStrategyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
956
|
-
const b = (0,
|
|
1014
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
957
1015
|
const headers = {
|
|
958
1016
|
"content-type": "application/json"
|
|
959
1017
|
};
|
|
@@ -973,7 +1031,7 @@ var se_UpdateDeploymentStrategyCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
973
1031
|
return b.build();
|
|
974
1032
|
}, "se_UpdateDeploymentStrategyCommand");
|
|
975
1033
|
var se_UpdateEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
976
|
-
const b = (0,
|
|
1034
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
977
1035
|
const headers = {
|
|
978
1036
|
"content-type": "application/json"
|
|
979
1037
|
};
|
|
@@ -992,7 +1050,7 @@ var se_UpdateEnvironmentCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
992
1050
|
return b.build();
|
|
993
1051
|
}, "se_UpdateEnvironmentCommand");
|
|
994
1052
|
var se_UpdateExtensionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
995
|
-
const b = (0,
|
|
1053
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
996
1054
|
const headers = {
|
|
997
1055
|
"content-type": "application/json"
|
|
998
1056
|
};
|
|
@@ -1011,7 +1069,7 @@ var se_UpdateExtensionCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1011
1069
|
return b.build();
|
|
1012
1070
|
}, "se_UpdateExtensionCommand");
|
|
1013
1071
|
var se_UpdateExtensionAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1014
|
-
const b = (0,
|
|
1072
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1015
1073
|
const headers = {
|
|
1016
1074
|
"content-type": "application/json"
|
|
1017
1075
|
};
|
|
@@ -1027,7 +1085,7 @@ var se_UpdateExtensionAssociationCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1027
1085
|
return b.build();
|
|
1028
1086
|
}, "se_UpdateExtensionAssociationCommand");
|
|
1029
1087
|
var se_ValidateConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1030
|
-
const b = (0,
|
|
1088
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1031
1089
|
const headers = {};
|
|
1032
1090
|
b.bp("/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/validators");
|
|
1033
1091
|
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
@@ -1820,7 +1878,7 @@ var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
|
|
|
1820
1878
|
const contents = (0, import_smithy_client.map)({});
|
|
1821
1879
|
const data = parsedOutput.body;
|
|
1822
1880
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1823
|
-
Details: (_) => (0, import_smithy_client._json)((0,
|
|
1881
|
+
Details: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1824
1882
|
Message: import_smithy_client.expectString,
|
|
1825
1883
|
Reason: import_smithy_client.expectString
|
|
1826
1884
|
});
|
|
@@ -2826,36 +2884,36 @@ var AppConfig = _AppConfig;
|
|
|
2826
2884
|
(0, import_smithy_client.createAggregatedClient)(commands, AppConfig);
|
|
2827
2885
|
|
|
2828
2886
|
// src/pagination/ListApplicationsPaginator.ts
|
|
2829
|
-
|
|
2830
|
-
var paginateListApplications = (0,
|
|
2887
|
+
|
|
2888
|
+
var paginateListApplications = (0, import_core.createPaginator)(AppConfigClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2831
2889
|
|
|
2832
2890
|
// src/pagination/ListConfigurationProfilesPaginator.ts
|
|
2833
|
-
|
|
2834
|
-
var paginateListConfigurationProfiles = (0,
|
|
2891
|
+
|
|
2892
|
+
var paginateListConfigurationProfiles = (0, import_core.createPaginator)(AppConfigClient, ListConfigurationProfilesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2835
2893
|
|
|
2836
2894
|
// src/pagination/ListDeploymentStrategiesPaginator.ts
|
|
2837
|
-
|
|
2838
|
-
var paginateListDeploymentStrategies = (0,
|
|
2895
|
+
|
|
2896
|
+
var paginateListDeploymentStrategies = (0, import_core.createPaginator)(AppConfigClient, ListDeploymentStrategiesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2839
2897
|
|
|
2840
2898
|
// src/pagination/ListDeploymentsPaginator.ts
|
|
2841
|
-
|
|
2842
|
-
var paginateListDeployments = (0,
|
|
2899
|
+
|
|
2900
|
+
var paginateListDeployments = (0, import_core.createPaginator)(AppConfigClient, ListDeploymentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2843
2901
|
|
|
2844
2902
|
// src/pagination/ListEnvironmentsPaginator.ts
|
|
2845
|
-
|
|
2846
|
-
var paginateListEnvironments = (0,
|
|
2903
|
+
|
|
2904
|
+
var paginateListEnvironments = (0, import_core.createPaginator)(AppConfigClient, ListEnvironmentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2847
2905
|
|
|
2848
2906
|
// src/pagination/ListExtensionAssociationsPaginator.ts
|
|
2849
|
-
|
|
2850
|
-
var paginateListExtensionAssociations = (0,
|
|
2907
|
+
|
|
2908
|
+
var paginateListExtensionAssociations = (0, import_core.createPaginator)(AppConfigClient, ListExtensionAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2851
2909
|
|
|
2852
2910
|
// src/pagination/ListExtensionsPaginator.ts
|
|
2853
|
-
|
|
2854
|
-
var paginateListExtensions = (0,
|
|
2911
|
+
|
|
2912
|
+
var paginateListExtensions = (0, import_core.createPaginator)(AppConfigClient, ListExtensionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2855
2913
|
|
|
2856
2914
|
// src/pagination/ListHostedConfigurationVersionsPaginator.ts
|
|
2857
|
-
|
|
2858
|
-
var paginateListHostedConfigurationVersions = (0,
|
|
2915
|
+
|
|
2916
|
+
var paginateListHostedConfigurationVersions = (0, import_core.createPaginator)(AppConfigClient, ListHostedConfigurationVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2859
2917
|
|
|
2860
2918
|
// src/index.ts
|
|
2861
2919
|
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const core_1 = require("@aws-sdk/core");
|
|
4
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
6
|
const url_parser_1 = require("@smithy/url-parser");
|
|
6
7
|
const util_base64_1 = require("@smithy/util-base64");
|
|
7
8
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
9
|
+
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
8
10
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
9
11
|
const getRuntimeConfig = (config) => {
|
|
10
12
|
return {
|
|
@@ -14,6 +16,14 @@ const getRuntimeConfig = (config) => {
|
|
|
14
16
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
15
17
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
16
18
|
extensions: config?.extensions ?? [],
|
|
19
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultAppConfigHttpAuthSchemeProvider,
|
|
20
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
21
|
+
{
|
|
22
|
+
schemeId: "aws.auth#sigv4",
|
|
23
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
24
|
+
signer: new core_1.AwsSdkSigV4Signer(),
|
|
25
|
+
},
|
|
26
|
+
],
|
|
17
27
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
18
28
|
serviceId: config?.serviceId ?? "AppConfig",
|
|
19
29
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|