@aws-sdk/client-ssm-quicksetup 3.1068.0 → 3.1070.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/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +84 -104
- package/dist-cjs/models/SSMQuickSetupServiceException.js +4 -8
- package/dist-cjs/models/errors.js +13 -22
- package/dist-cjs/runtimeConfig.browser.js +22 -26
- package/dist-cjs/runtimeConfig.js +30 -34
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +20 -24
- package/dist-cjs/schemas/schemas_0.js +110 -77
- package/package.json +8 -8
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.
|
|
4
|
-
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const client_1 = require("@smithy/core/client");
|
|
6
|
-
const defaultSSMQuickSetupHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
1
|
+
const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
+
const { getSmithyContext, normalizeProvider } = require("@smithy/core/client");
|
|
3
|
+
exports.defaultSSMQuickSetupHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
4
|
return {
|
|
8
|
-
operation:
|
|
9
|
-
region: await
|
|
5
|
+
operation: getSmithyContext(context).operation,
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
10
7
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
8
|
})(),
|
|
12
9
|
};
|
|
13
10
|
};
|
|
14
|
-
exports.defaultSSMQuickSetupHttpAuthSchemeParametersProvider = defaultSSMQuickSetupHttpAuthSchemeParametersProvider;
|
|
15
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
16
12
|
return {
|
|
17
13
|
schemeId: "aws.auth#sigv4",
|
|
@@ -27,7 +23,7 @@ function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
|
27
23
|
}),
|
|
28
24
|
};
|
|
29
25
|
}
|
|
30
|
-
|
|
26
|
+
exports.defaultSSMQuickSetupHttpAuthSchemeProvider = (authParameters) => {
|
|
31
27
|
const options = [];
|
|
32
28
|
switch (authParameters.operation) {
|
|
33
29
|
default: {
|
|
@@ -36,11 +32,9 @@ const defaultSSMQuickSetupHttpAuthSchemeProvider = (authParameters) => {
|
|
|
36
32
|
}
|
|
37
33
|
return options;
|
|
38
34
|
};
|
|
39
|
-
exports.
|
|
40
|
-
const
|
|
41
|
-
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
35
|
+
exports.resolveHttpAuthSchemeConfig = (config) => {
|
|
36
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
42
37
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference:
|
|
38
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
44
39
|
});
|
|
45
40
|
};
|
|
46
|
-
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.bdd = void 0;
|
|
4
|
-
const endpoints_1 = require("@smithy/core/endpoints");
|
|
1
|
+
const { BinaryDecisionDiagram } = require("@smithy/core/endpoints");
|
|
5
2
|
const k = "ref";
|
|
6
3
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
7
4
|
const _data = {
|
|
@@ -46,4 +43,4 @@ const nodes = new Int32Array([
|
|
|
46
43
|
3, r + 1, 13,
|
|
47
44
|
4, r + 2, r + 3,
|
|
48
45
|
]);
|
|
49
|
-
exports.bdd =
|
|
46
|
+
exports.bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
|
-
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new endpoints_1.EndpointCache({
|
|
1
|
+
const { awsEndpointFunctions } = require("@aws-sdk/core/client");
|
|
2
|
+
const { customEndpointFunctions, decideEndpoint, EndpointCache } = require("@smithy/core/endpoints");
|
|
3
|
+
const { bdd } = require("./bdd");
|
|
4
|
+
const cache = new EndpointCache({
|
|
8
5
|
size: 50,
|
|
9
6
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
7
|
});
|
|
11
|
-
|
|
12
|
-
return cache.get(endpointParams, () =>
|
|
8
|
+
exports.defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
13
10
|
endpointParams: endpointParams,
|
|
14
11
|
logger: context.logger,
|
|
15
12
|
}));
|
|
16
13
|
};
|
|
17
|
-
|
|
18
|
-
endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
|
|
14
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
var __exportStar = (m, e) => { Object.assign(e, m); };
|
|
2
|
+
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
|
+
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
+
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = Command;
|
|
6
|
+
exports.__Client = Client;
|
|
7
|
+
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
+
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
+
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
+
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
+
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
+
const { resolveHttpAuthSchemeConfig, defaultSSMQuickSetupHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
13
|
+
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
14
|
+
const { CreateConfigurationManager$, DeleteConfigurationManager$, GetConfiguration$, GetConfigurationManager$, GetServiceSettings$, ListConfigurationManagers$, ListConfigurations$, ListQuickSetupTypes$, ListTagsForResource$, TagResource$, UntagResource$, UpdateConfigurationDefinition$, UpdateConfigurationManager$, UpdateServiceSettings$ } = require("./schemas/schemas_0");
|
|
15
|
+
__exportStar(require("./schemas/schemas_0"), exports);
|
|
16
|
+
__exportStar(require("./models/errors"), exports);
|
|
17
|
+
const { SSMQuickSetupServiceException } = require("./models/SSMQuickSetupServiceException");
|
|
18
|
+
exports.SSMQuickSetupServiceException = SSMQuickSetupServiceException;
|
|
16
19
|
|
|
17
20
|
const resolveClientEndpointParameters = (options) => {
|
|
18
21
|
return Object.assign(options, {
|
|
@@ -68,217 +71,217 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
68
71
|
};
|
|
69
72
|
|
|
70
73
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
71
|
-
const extensionConfiguration = Object.assign(
|
|
74
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
72
75
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
73
|
-
return Object.assign(runtimeConfig,
|
|
76
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
74
77
|
};
|
|
75
78
|
|
|
76
|
-
class SSMQuickSetupClient extends
|
|
79
|
+
class SSMQuickSetupClient extends Client {
|
|
77
80
|
config;
|
|
78
81
|
constructor(...[configuration]) {
|
|
79
|
-
const _config_0 =
|
|
82
|
+
const _config_0 = getRuntimeConfig(configuration || {});
|
|
80
83
|
super(_config_0);
|
|
81
84
|
this.initConfig = _config_0;
|
|
82
85
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
83
|
-
const _config_2 =
|
|
84
|
-
const _config_3 =
|
|
85
|
-
const _config_4 =
|
|
86
|
-
const _config_5 =
|
|
87
|
-
const _config_6 =
|
|
88
|
-
const _config_7 =
|
|
86
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
89
92
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
90
93
|
this.config = _config_8;
|
|
91
|
-
this.middlewareStack.use(
|
|
92
|
-
this.middlewareStack.use(
|
|
93
|
-
this.middlewareStack.use(
|
|
94
|
-
this.middlewareStack.use(
|
|
95
|
-
this.middlewareStack.use(
|
|
96
|
-
this.middlewareStack.use(
|
|
97
|
-
this.middlewareStack.use(
|
|
98
|
-
this.middlewareStack.use(
|
|
99
|
-
httpAuthSchemeParametersProvider:
|
|
100
|
-
identityProviderConfigProvider: async (config) => new
|
|
94
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
102
|
+
httpAuthSchemeParametersProvider: defaultSSMQuickSetupHttpAuthSchemeParametersProvider,
|
|
103
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
101
104
|
"aws.auth#sigv4": config.credentials,
|
|
102
105
|
}),
|
|
103
106
|
}));
|
|
104
|
-
this.middlewareStack.use(
|
|
107
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
105
108
|
}
|
|
106
109
|
destroy() {
|
|
107
110
|
super.destroy();
|
|
108
111
|
}
|
|
109
112
|
}
|
|
110
113
|
|
|
111
|
-
class CreateConfigurationManagerCommand extends
|
|
114
|
+
class CreateConfigurationManagerCommand extends Command
|
|
112
115
|
.classBuilder()
|
|
113
116
|
.ep(commonParams)
|
|
114
117
|
.m(function (Command, cs, config, o) {
|
|
115
|
-
return [
|
|
118
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
116
119
|
})
|
|
117
120
|
.s("QuickSetup", "CreateConfigurationManager", {})
|
|
118
121
|
.n("SSMQuickSetupClient", "CreateConfigurationManagerCommand")
|
|
119
|
-
.sc(
|
|
122
|
+
.sc(CreateConfigurationManager$)
|
|
120
123
|
.build() {
|
|
121
124
|
}
|
|
122
125
|
|
|
123
|
-
class DeleteConfigurationManagerCommand extends
|
|
126
|
+
class DeleteConfigurationManagerCommand extends Command
|
|
124
127
|
.classBuilder()
|
|
125
128
|
.ep(commonParams)
|
|
126
129
|
.m(function (Command, cs, config, o) {
|
|
127
|
-
return [
|
|
130
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
128
131
|
})
|
|
129
132
|
.s("QuickSetup", "DeleteConfigurationManager", {})
|
|
130
133
|
.n("SSMQuickSetupClient", "DeleteConfigurationManagerCommand")
|
|
131
|
-
.sc(
|
|
134
|
+
.sc(DeleteConfigurationManager$)
|
|
132
135
|
.build() {
|
|
133
136
|
}
|
|
134
137
|
|
|
135
|
-
class GetConfigurationCommand extends
|
|
138
|
+
class GetConfigurationCommand extends Command
|
|
136
139
|
.classBuilder()
|
|
137
140
|
.ep(commonParams)
|
|
138
141
|
.m(function (Command, cs, config, o) {
|
|
139
|
-
return [
|
|
142
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
140
143
|
})
|
|
141
144
|
.s("QuickSetup", "GetConfiguration", {})
|
|
142
145
|
.n("SSMQuickSetupClient", "GetConfigurationCommand")
|
|
143
|
-
.sc(
|
|
146
|
+
.sc(GetConfiguration$)
|
|
144
147
|
.build() {
|
|
145
148
|
}
|
|
146
149
|
|
|
147
|
-
class GetConfigurationManagerCommand extends
|
|
150
|
+
class GetConfigurationManagerCommand extends Command
|
|
148
151
|
.classBuilder()
|
|
149
152
|
.ep(commonParams)
|
|
150
153
|
.m(function (Command, cs, config, o) {
|
|
151
|
-
return [
|
|
154
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
152
155
|
})
|
|
153
156
|
.s("QuickSetup", "GetConfigurationManager", {})
|
|
154
157
|
.n("SSMQuickSetupClient", "GetConfigurationManagerCommand")
|
|
155
|
-
.sc(
|
|
158
|
+
.sc(GetConfigurationManager$)
|
|
156
159
|
.build() {
|
|
157
160
|
}
|
|
158
161
|
|
|
159
|
-
class GetServiceSettingsCommand extends
|
|
162
|
+
class GetServiceSettingsCommand extends Command
|
|
160
163
|
.classBuilder()
|
|
161
164
|
.ep(commonParams)
|
|
162
165
|
.m(function (Command, cs, config, o) {
|
|
163
|
-
return [
|
|
166
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
164
167
|
})
|
|
165
168
|
.s("QuickSetup", "GetServiceSettings", {})
|
|
166
169
|
.n("SSMQuickSetupClient", "GetServiceSettingsCommand")
|
|
167
|
-
.sc(
|
|
170
|
+
.sc(GetServiceSettings$)
|
|
168
171
|
.build() {
|
|
169
172
|
}
|
|
170
173
|
|
|
171
|
-
class ListConfigurationManagersCommand extends
|
|
174
|
+
class ListConfigurationManagersCommand extends Command
|
|
172
175
|
.classBuilder()
|
|
173
176
|
.ep(commonParams)
|
|
174
177
|
.m(function (Command, cs, config, o) {
|
|
175
|
-
return [
|
|
178
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
176
179
|
})
|
|
177
180
|
.s("QuickSetup", "ListConfigurationManagers", {})
|
|
178
181
|
.n("SSMQuickSetupClient", "ListConfigurationManagersCommand")
|
|
179
|
-
.sc(
|
|
182
|
+
.sc(ListConfigurationManagers$)
|
|
180
183
|
.build() {
|
|
181
184
|
}
|
|
182
185
|
|
|
183
|
-
class ListConfigurationsCommand extends
|
|
186
|
+
class ListConfigurationsCommand extends Command
|
|
184
187
|
.classBuilder()
|
|
185
188
|
.ep(commonParams)
|
|
186
189
|
.m(function (Command, cs, config, o) {
|
|
187
|
-
return [
|
|
190
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
188
191
|
})
|
|
189
192
|
.s("QuickSetup", "ListConfigurations", {})
|
|
190
193
|
.n("SSMQuickSetupClient", "ListConfigurationsCommand")
|
|
191
|
-
.sc(
|
|
194
|
+
.sc(ListConfigurations$)
|
|
192
195
|
.build() {
|
|
193
196
|
}
|
|
194
197
|
|
|
195
|
-
class ListQuickSetupTypesCommand extends
|
|
198
|
+
class ListQuickSetupTypesCommand extends Command
|
|
196
199
|
.classBuilder()
|
|
197
200
|
.ep(commonParams)
|
|
198
201
|
.m(function (Command, cs, config, o) {
|
|
199
|
-
return [
|
|
202
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
200
203
|
})
|
|
201
204
|
.s("QuickSetup", "ListQuickSetupTypes", {})
|
|
202
205
|
.n("SSMQuickSetupClient", "ListQuickSetupTypesCommand")
|
|
203
|
-
.sc(
|
|
206
|
+
.sc(ListQuickSetupTypes$)
|
|
204
207
|
.build() {
|
|
205
208
|
}
|
|
206
209
|
|
|
207
|
-
class ListTagsForResourceCommand extends
|
|
210
|
+
class ListTagsForResourceCommand extends Command
|
|
208
211
|
.classBuilder()
|
|
209
212
|
.ep(commonParams)
|
|
210
213
|
.m(function (Command, cs, config, o) {
|
|
211
|
-
return [
|
|
214
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
212
215
|
})
|
|
213
216
|
.s("QuickSetup", "ListTagsForResource", {})
|
|
214
217
|
.n("SSMQuickSetupClient", "ListTagsForResourceCommand")
|
|
215
|
-
.sc(
|
|
218
|
+
.sc(ListTagsForResource$)
|
|
216
219
|
.build() {
|
|
217
220
|
}
|
|
218
221
|
|
|
219
|
-
class TagResourceCommand extends
|
|
222
|
+
class TagResourceCommand extends Command
|
|
220
223
|
.classBuilder()
|
|
221
224
|
.ep(commonParams)
|
|
222
225
|
.m(function (Command, cs, config, o) {
|
|
223
|
-
return [
|
|
226
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
224
227
|
})
|
|
225
228
|
.s("QuickSetup", "TagResource", {})
|
|
226
229
|
.n("SSMQuickSetupClient", "TagResourceCommand")
|
|
227
|
-
.sc(
|
|
230
|
+
.sc(TagResource$)
|
|
228
231
|
.build() {
|
|
229
232
|
}
|
|
230
233
|
|
|
231
|
-
class UntagResourceCommand extends
|
|
234
|
+
class UntagResourceCommand extends Command
|
|
232
235
|
.classBuilder()
|
|
233
236
|
.ep(commonParams)
|
|
234
237
|
.m(function (Command, cs, config, o) {
|
|
235
|
-
return [
|
|
238
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
236
239
|
})
|
|
237
240
|
.s("QuickSetup", "UntagResource", {})
|
|
238
241
|
.n("SSMQuickSetupClient", "UntagResourceCommand")
|
|
239
|
-
.sc(
|
|
242
|
+
.sc(UntagResource$)
|
|
240
243
|
.build() {
|
|
241
244
|
}
|
|
242
245
|
|
|
243
|
-
class UpdateConfigurationDefinitionCommand extends
|
|
246
|
+
class UpdateConfigurationDefinitionCommand extends Command
|
|
244
247
|
.classBuilder()
|
|
245
248
|
.ep(commonParams)
|
|
246
249
|
.m(function (Command, cs, config, o) {
|
|
247
|
-
return [
|
|
250
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
248
251
|
})
|
|
249
252
|
.s("QuickSetup", "UpdateConfigurationDefinition", {})
|
|
250
253
|
.n("SSMQuickSetupClient", "UpdateConfigurationDefinitionCommand")
|
|
251
|
-
.sc(
|
|
254
|
+
.sc(UpdateConfigurationDefinition$)
|
|
252
255
|
.build() {
|
|
253
256
|
}
|
|
254
257
|
|
|
255
|
-
class UpdateConfigurationManagerCommand extends
|
|
258
|
+
class UpdateConfigurationManagerCommand extends Command
|
|
256
259
|
.classBuilder()
|
|
257
260
|
.ep(commonParams)
|
|
258
261
|
.m(function (Command, cs, config, o) {
|
|
259
|
-
return [
|
|
262
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
260
263
|
})
|
|
261
264
|
.s("QuickSetup", "UpdateConfigurationManager", {})
|
|
262
265
|
.n("SSMQuickSetupClient", "UpdateConfigurationManagerCommand")
|
|
263
|
-
.sc(
|
|
266
|
+
.sc(UpdateConfigurationManager$)
|
|
264
267
|
.build() {
|
|
265
268
|
}
|
|
266
269
|
|
|
267
|
-
class UpdateServiceSettingsCommand extends
|
|
270
|
+
class UpdateServiceSettingsCommand extends Command
|
|
268
271
|
.classBuilder()
|
|
269
272
|
.ep(commonParams)
|
|
270
273
|
.m(function (Command, cs, config, o) {
|
|
271
|
-
return [
|
|
274
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
272
275
|
})
|
|
273
276
|
.s("QuickSetup", "UpdateServiceSettings", {})
|
|
274
277
|
.n("SSMQuickSetupClient", "UpdateServiceSettingsCommand")
|
|
275
|
-
.sc(
|
|
278
|
+
.sc(UpdateServiceSettings$)
|
|
276
279
|
.build() {
|
|
277
280
|
}
|
|
278
281
|
|
|
279
|
-
const paginateListConfigurationManagers =
|
|
282
|
+
const paginateListConfigurationManagers = createPaginator(SSMQuickSetupClient, ListConfigurationManagersCommand, "StartingToken", "NextToken", "MaxItems");
|
|
280
283
|
|
|
281
|
-
const paginateListConfigurations =
|
|
284
|
+
const paginateListConfigurations = createPaginator(SSMQuickSetupClient, ListConfigurationsCommand, "StartingToken", "NextToken", "MaxItems");
|
|
282
285
|
|
|
283
286
|
const commands = {
|
|
284
287
|
CreateConfigurationManagerCommand,
|
|
@@ -302,7 +305,7 @@ const paginators = {
|
|
|
302
305
|
};
|
|
303
306
|
class SSMQuickSetup extends SSMQuickSetupClient {
|
|
304
307
|
}
|
|
305
|
-
|
|
308
|
+
createAggregatedClient(commands, SSMQuickSetup, { paginators });
|
|
306
309
|
|
|
307
310
|
const Status = {
|
|
308
311
|
DELETE_FAILED: "DELETE_FAILED",
|
|
@@ -321,9 +324,6 @@ const StatusType = {
|
|
|
321
324
|
DEPLOYMENT: "Deployment",
|
|
322
325
|
};
|
|
323
326
|
|
|
324
|
-
exports.$Command = client.Command;
|
|
325
|
-
exports.__Client = client.Client;
|
|
326
|
-
exports.SSMQuickSetupServiceException = SSMQuickSetupServiceException.SSMQuickSetupServiceException;
|
|
327
327
|
exports.CreateConfigurationManagerCommand = CreateConfigurationManagerCommand;
|
|
328
328
|
exports.DeleteConfigurationManagerCommand = DeleteConfigurationManagerCommand;
|
|
329
329
|
exports.GetConfigurationCommand = GetConfigurationCommand;
|
|
@@ -344,23 +344,3 @@ exports.UpdateConfigurationManagerCommand = UpdateConfigurationManagerCommand;
|
|
|
344
344
|
exports.UpdateServiceSettingsCommand = UpdateServiceSettingsCommand;
|
|
345
345
|
exports.paginateListConfigurationManagers = paginateListConfigurationManagers;
|
|
346
346
|
exports.paginateListConfigurations = paginateListConfigurations;
|
|
347
|
-
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
348
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
349
|
-
Object.defineProperty(exports, '__proto__', {
|
|
350
|
-
enumerable: true,
|
|
351
|
-
value: schemas_0['__proto__']
|
|
352
|
-
});
|
|
353
|
-
|
|
354
|
-
Object.keys(schemas_0).forEach(function (k) {
|
|
355
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
356
|
-
});
|
|
357
|
-
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
358
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
359
|
-
Object.defineProperty(exports, '__proto__', {
|
|
360
|
-
enumerable: true,
|
|
361
|
-
value: errors['__proto__']
|
|
362
|
-
});
|
|
363
|
-
|
|
364
|
-
Object.keys(errors).forEach(function (k) {
|
|
365
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
366
|
-
});
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.SSMQuickSetupServiceException =
|
|
4
|
-
const client_1 = require("@smithy/core/client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
-
class SSMQuickSetupServiceException extends client_1.ServiceException {
|
|
1
|
+
const { ServiceException: __ServiceException } = require("@smithy/core/client");
|
|
2
|
+
exports.__ServiceException = __ServiceException;
|
|
3
|
+
exports.SSMQuickSetupServiceException = class SSMQuickSetupServiceException extends __ServiceException {
|
|
7
4
|
constructor(options) {
|
|
8
5
|
super(options);
|
|
9
6
|
Object.setPrototypeOf(this, SSMQuickSetupServiceException.prototype);
|
|
10
7
|
}
|
|
11
|
-
}
|
|
12
|
-
exports.SSMQuickSetupServiceException = SSMQuickSetupServiceException;
|
|
8
|
+
};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
-
const SSMQuickSetupServiceException_1 = require("./SSMQuickSetupServiceException");
|
|
5
|
-
class AccessDeniedException extends SSMQuickSetupServiceException_1.SSMQuickSetupServiceException {
|
|
1
|
+
const { SSMQuickSetupServiceException: __BaseException } = require("./SSMQuickSetupServiceException");
|
|
2
|
+
exports.AccessDeniedException = class AccessDeniedException extends __BaseException {
|
|
6
3
|
name = "AccessDeniedException";
|
|
7
4
|
$fault = "client";
|
|
8
5
|
Message;
|
|
@@ -15,9 +12,8 @@ class AccessDeniedException extends SSMQuickSetupServiceException_1.SSMQuickSetu
|
|
|
15
12
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
13
|
this.Message = opts.Message;
|
|
17
14
|
}
|
|
18
|
-
}
|
|
19
|
-
exports.
|
|
20
|
-
class ConflictException extends SSMQuickSetupServiceException_1.SSMQuickSetupServiceException {
|
|
15
|
+
};
|
|
16
|
+
exports.ConflictException = class ConflictException extends __BaseException {
|
|
21
17
|
name = "ConflictException";
|
|
22
18
|
$fault = "client";
|
|
23
19
|
Message;
|
|
@@ -30,9 +26,8 @@ class ConflictException extends SSMQuickSetupServiceException_1.SSMQuickSetupSer
|
|
|
30
26
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
31
27
|
this.Message = opts.Message;
|
|
32
28
|
}
|
|
33
|
-
}
|
|
34
|
-
exports.
|
|
35
|
-
class InternalServerException extends SSMQuickSetupServiceException_1.SSMQuickSetupServiceException {
|
|
29
|
+
};
|
|
30
|
+
exports.InternalServerException = class InternalServerException extends __BaseException {
|
|
36
31
|
name = "InternalServerException";
|
|
37
32
|
$fault = "server";
|
|
38
33
|
$retryable = {};
|
|
@@ -46,9 +41,8 @@ class InternalServerException extends SSMQuickSetupServiceException_1.SSMQuickSe
|
|
|
46
41
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
47
42
|
this.Message = opts.Message;
|
|
48
43
|
}
|
|
49
|
-
}
|
|
50
|
-
exports.
|
|
51
|
-
class ThrottlingException extends SSMQuickSetupServiceException_1.SSMQuickSetupServiceException {
|
|
44
|
+
};
|
|
45
|
+
exports.ThrottlingException = class ThrottlingException extends __BaseException {
|
|
52
46
|
name = "ThrottlingException";
|
|
53
47
|
$fault = "client";
|
|
54
48
|
$retryable = {};
|
|
@@ -62,9 +56,8 @@ class ThrottlingException extends SSMQuickSetupServiceException_1.SSMQuickSetupS
|
|
|
62
56
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
63
57
|
this.Message = opts.Message;
|
|
64
58
|
}
|
|
65
|
-
}
|
|
66
|
-
exports.
|
|
67
|
-
class ValidationException extends SSMQuickSetupServiceException_1.SSMQuickSetupServiceException {
|
|
59
|
+
};
|
|
60
|
+
exports.ValidationException = class ValidationException extends __BaseException {
|
|
68
61
|
name = "ValidationException";
|
|
69
62
|
$fault = "client";
|
|
70
63
|
Message;
|
|
@@ -77,9 +70,8 @@ class ValidationException extends SSMQuickSetupServiceException_1.SSMQuickSetupS
|
|
|
77
70
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
78
71
|
this.Message = opts.Message;
|
|
79
72
|
}
|
|
80
|
-
}
|
|
81
|
-
exports.
|
|
82
|
-
class ResourceNotFoundException extends SSMQuickSetupServiceException_1.SSMQuickSetupServiceException {
|
|
73
|
+
};
|
|
74
|
+
exports.ResourceNotFoundException = class ResourceNotFoundException extends __BaseException {
|
|
83
75
|
name = "ResourceNotFoundException";
|
|
84
76
|
$fault = "client";
|
|
85
77
|
Message;
|
|
@@ -92,5 +84,4 @@ class ResourceNotFoundException extends SSMQuickSetupServiceException_1.SSMQuick
|
|
|
92
84
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
93
85
|
this.Message = opts.Message;
|
|
94
86
|
}
|
|
95
|
-
}
|
|
96
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
87
|
+
};
|
|
@@ -1,36 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const retry_1 = require("@smithy/core/retry");
|
|
11
|
-
const serde_1 = require("@smithy/core/serde");
|
|
12
|
-
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
13
|
-
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
1
|
+
const packageInfo = require("../package.json");
|
|
2
|
+
const { Sha256 } = require("@aws-crypto/sha256-browser");
|
|
3
|
+
const { createDefaultUserAgentProvider } = require("@aws-sdk/core/client");
|
|
4
|
+
const { invalidProvider, loadConfigsForDefaultMode } = require("@smithy/core/client");
|
|
5
|
+
const { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig } = require("@smithy/core/config");
|
|
6
|
+
const { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } = require("@smithy/core/retry");
|
|
7
|
+
const { calculateBodyLength } = require("@smithy/core/serde");
|
|
8
|
+
const { FetchHttpHandler: RequestHandler, streamCollector } = require("@smithy/fetch-http-handler");
|
|
9
|
+
const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
|
|
14
10
|
const getRuntimeConfig = (config) => {
|
|
15
|
-
const defaultsMode =
|
|
16
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
17
|
-
const clientSharedValues = (
|
|
11
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
12
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
13
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
14
|
return {
|
|
19
15
|
...clientSharedValues,
|
|
20
16
|
...config,
|
|
21
17
|
runtime: "browser",
|
|
22
18
|
defaultsMode,
|
|
23
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
19
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
24
20
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
25
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
26
|
-
maxAttempts: config?.maxAttempts ??
|
|
27
|
-
region: config?.region ??
|
|
28
|
-
requestHandler:
|
|
29
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode ||
|
|
30
|
-
sha256: config?.sha256 ??
|
|
31
|
-
streamCollector: config?.streamCollector ??
|
|
32
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(
|
|
33
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(
|
|
21
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
22
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
23
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
+
sha256: config?.sha256 ?? Sha256,
|
|
27
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
34
30
|
};
|
|
35
31
|
};
|
|
36
32
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const retry_1 = require("@smithy/core/retry");
|
|
12
|
-
const serde_1 = require("@smithy/core/serde");
|
|
13
|
-
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
-
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
1
|
+
const packageInfo = require("../package.json");
|
|
2
|
+
const { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion: awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS } = require("@aws-sdk/core/client");
|
|
3
|
+
const { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
4
|
+
const { defaultProvider: credentialDefaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
5
|
+
const { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } = require("@smithy/core/client");
|
|
6
|
+
const { loadConfig: loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig } = require("@smithy/core/config");
|
|
7
|
+
const { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } = require("@smithy/core/retry");
|
|
8
|
+
const { calculateBodyLength, Hash } = require("@smithy/core/serde");
|
|
9
|
+
const { NodeHttpHandler: RequestHandler, streamCollector } = require("@smithy/node-http-handler");
|
|
10
|
+
const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
|
|
15
11
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
|
|
17
|
-
const defaultsMode =
|
|
18
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
19
|
-
const clientSharedValues = (
|
|
20
|
-
(
|
|
12
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
13
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
15
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
+
awsCheckVersion(process.version);
|
|
21
17
|
const loaderConfig = {
|
|
22
18
|
profile: config?.profile,
|
|
23
19
|
logger: clientSharedValues.logger,
|
|
@@ -27,23 +23,23 @@ const getRuntimeConfig = (config) => {
|
|
|
27
23
|
...config,
|
|
28
24
|
runtime: "node",
|
|
29
25
|
defaultsMode,
|
|
30
|
-
authSchemePreference: config?.authSchemePreference ?? (
|
|
31
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
32
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ??
|
|
33
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
maxAttempts: config?.maxAttempts ?? (
|
|
35
|
-
region: config?.region ?? (
|
|
36
|
-
requestHandler:
|
|
26
|
+
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
27
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
30
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
31
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
32
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
37
33
|
retryMode: config?.retryMode ??
|
|
38
|
-
(
|
|
39
|
-
...
|
|
40
|
-
default: async () => (await defaultConfigProvider()).retryMode ||
|
|
34
|
+
loadNodeConfig({
|
|
35
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
41
37
|
}, config),
|
|
42
|
-
sha256: config?.sha256 ??
|
|
43
|
-
streamCollector: config?.streamCollector ??
|
|
44
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (
|
|
45
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (
|
|
46
|
-
userAgentAppId: config?.userAgentAppId ?? (
|
|
38
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
42
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
47
43
|
};
|
|
48
44
|
};
|
|
49
45
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
|
-
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
1
|
+
const { Sha256 } = require("@aws-crypto/sha256-js");
|
|
2
|
+
const { getRuntimeConfig: getBrowserRuntimeConfig } = require("./runtimeConfig.browser");
|
|
6
3
|
const getRuntimeConfig = (config) => {
|
|
7
|
-
const browserDefaults = (
|
|
4
|
+
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
8
5
|
return {
|
|
9
6
|
...browserDefaults,
|
|
10
7
|
...config,
|
|
11
8
|
runtime: "react-native",
|
|
12
|
-
sha256: config?.sha256 ??
|
|
9
|
+
sha256: config?.sha256 ?? Sha256,
|
|
13
10
|
};
|
|
14
11
|
};
|
|
15
12
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,42 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
11
|
-
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
|
-
const getRuntimeConfig = (config) => {
|
|
1
|
+
const { AwsSdkSigV4Signer } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
3
|
+
const { NoOpLogger } = require("@smithy/core/client");
|
|
4
|
+
const { parseUrl } = require("@smithy/core/protocols");
|
|
5
|
+
const { fromBase64, fromUtf8, toBase64, toUtf8 } = require("@smithy/core/serde");
|
|
6
|
+
const { defaultSSMQuickSetupHttpAuthSchemeProvider } = require("./auth/httpAuthSchemeProvider");
|
|
7
|
+
const { defaultEndpointResolver } = require("./endpoint/endpointResolver");
|
|
8
|
+
const { errorTypeRegistries } = require("./schemas/schemas_0");
|
|
9
|
+
exports.getRuntimeConfig = (config) => {
|
|
13
10
|
return {
|
|
14
11
|
apiVersion: "2018-05-10",
|
|
15
|
-
base64Decoder: config?.base64Decoder ??
|
|
16
|
-
base64Encoder: config?.base64Encoder ??
|
|
12
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
13
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
17
14
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
18
|
-
endpointProvider: config?.endpointProvider ??
|
|
15
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
19
16
|
extensions: config?.extensions ?? [],
|
|
20
|
-
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ??
|
|
17
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSMQuickSetupHttpAuthSchemeProvider,
|
|
21
18
|
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
22
19
|
{
|
|
23
20
|
schemeId: "aws.auth#sigv4",
|
|
24
21
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
25
|
-
signer: new
|
|
22
|
+
signer: new AwsSdkSigV4Signer(),
|
|
26
23
|
},
|
|
27
24
|
],
|
|
28
|
-
logger: config?.logger ?? new
|
|
29
|
-
protocol: config?.protocol ??
|
|
25
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
30
27
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
28
|
defaultNamespace: "com.amazonaws.ssmquicksetup",
|
|
32
|
-
errorTypeRegistries
|
|
29
|
+
errorTypeRegistries,
|
|
33
30
|
version: "2018-05-10",
|
|
34
31
|
serviceTarget: "QuickSetup",
|
|
35
32
|
},
|
|
36
33
|
serviceId: config?.serviceId ?? "SSM QuickSetup",
|
|
37
|
-
urlParser: config?.urlParser ??
|
|
38
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
39
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
34
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
35
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
40
37
|
};
|
|
41
38
|
};
|
|
42
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateConfigurationDefinition$ = exports.UntagResource$ = exports.TagResource$ = exports.ListTagsForResource$ = exports.ListQuickSetupTypes$ = exports.ListConfigurations$ = exports.ListConfigurationManagers$ = exports.GetServiceSettings$ = exports.GetConfigurationManager$ = exports.GetConfiguration$ = exports.DeleteConfigurationManager$ = exports.CreateConfigurationManager$ = exports.UpdateServiceSettingsInput$ = exports.UpdateConfigurationManagerInput$ = exports.UpdateConfigurationDefinitionInput$ = exports.UntagResourceInput$ = exports.TagResourceInput$ = exports.TagEntry$ = exports.StatusSummary$ = exports.ServiceSettings$ = exports.QuickSetupTypeOutput$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListQuickSetupTypesOutput$ = exports.ListConfigurationsOutput$ = exports.ListConfigurationsInput$ = exports.ListConfigurationManagersOutput$ = exports.ListConfigurationManagersInput$ = exports.GetServiceSettingsOutput$ = exports.GetConfigurationOutput$ = exports.GetConfigurationManagerOutput$ = exports.GetConfigurationManagerInput$ = exports.GetConfigurationInput$ = exports.Filter$ = exports.DeleteConfigurationManagerInput$ = exports.CreateConfigurationManagerOutput$ = exports.CreateConfigurationManagerInput$ = exports.ConfigurationSummary$ = exports.ConfigurationManagerSummary$ = exports.ConfigurationDefinitionSummary$ = exports.ConfigurationDefinitionInput$ = exports.ConfigurationDefinition$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.SSMQuickSetupServiceException$ = void 0;
|
|
4
|
-
exports.UpdateServiceSettings$ = exports.UpdateConfigurationManager$ = void 0;
|
|
5
1
|
const _A = "Account";
|
|
6
2
|
const _ADE = "AccessDeniedException";
|
|
7
3
|
const _CA = "CreatedAt";
|
|
@@ -108,232 +104,269 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ssmquicksetup";
|
|
|
108
104
|
const _se = "server";
|
|
109
105
|
const _tK = "tagKeys";
|
|
110
106
|
const n0 = "com.amazonaws.ssmquicksetup";
|
|
111
|
-
const
|
|
112
|
-
const
|
|
113
|
-
const
|
|
114
|
-
const _s_registry =
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
107
|
+
const { TypeRegistry } = require("@smithy/core/schema");
|
|
108
|
+
const { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException } = require("../models/errors");
|
|
109
|
+
const { SSMQuickSetupServiceException } = require("../models/SSMQuickSetupServiceException");
|
|
110
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
111
|
+
const SSMQuickSetupServiceException$ = [-3, _s, "SSMQuickSetupServiceException", 0, [], []];
|
|
112
|
+
exports.SSMQuickSetupServiceException$ = SSMQuickSetupServiceException$;
|
|
113
|
+
_s_registry.registerError(SSMQuickSetupServiceException$, SSMQuickSetupServiceException);
|
|
114
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
115
|
+
const AccessDeniedException$ = [-3, n0, _ADE,
|
|
119
116
|
{ [_e]: _c, [_hE]: 403 },
|
|
120
117
|
[_M],
|
|
121
118
|
[0]
|
|
122
119
|
];
|
|
123
|
-
|
|
124
|
-
|
|
120
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
121
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
122
|
+
const ConflictException$ = [-3, n0, _CE,
|
|
125
123
|
{ [_e]: _c, [_hE]: 409 },
|
|
126
124
|
[_M],
|
|
127
125
|
[0]
|
|
128
126
|
];
|
|
129
|
-
|
|
130
|
-
|
|
127
|
+
exports.ConflictException$ = ConflictException$;
|
|
128
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
129
|
+
const InternalServerException$ = [-3, n0, _ISE,
|
|
131
130
|
{ [_e]: _se, [_hE]: 500 },
|
|
132
131
|
[_M],
|
|
133
132
|
[0]
|
|
134
133
|
];
|
|
135
|
-
|
|
136
|
-
|
|
134
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
135
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
136
|
+
const ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
137
137
|
{ [_e]: _c, [_hE]: 404 },
|
|
138
138
|
[_M],
|
|
139
139
|
[0]
|
|
140
140
|
];
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
142
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
143
|
+
const ThrottlingException$ = [-3, n0, _TE,
|
|
143
144
|
{ [_e]: _c, [_hE]: 429 },
|
|
144
145
|
[_M],
|
|
145
146
|
[0], 1
|
|
146
147
|
];
|
|
147
|
-
|
|
148
|
-
|
|
148
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
149
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
150
|
+
const ValidationException$ = [-3, n0, _VE,
|
|
149
151
|
{ [_e]: _c, [_hE]: 400 },
|
|
150
152
|
[_M],
|
|
151
153
|
[0]
|
|
152
154
|
];
|
|
153
|
-
|
|
155
|
+
exports.ValidationException$ = ValidationException$;
|
|
156
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
154
157
|
exports.errorTypeRegistries = [
|
|
155
158
|
_s_registry,
|
|
156
159
|
n0_registry,
|
|
157
160
|
];
|
|
158
|
-
|
|
161
|
+
const ConfigurationDefinition$ = [3, n0, _CD,
|
|
159
162
|
0,
|
|
160
163
|
[_T, _P, _TV, _LDERN, _LDARA, _I],
|
|
161
164
|
[0, 128 | 0, 0, 0, 0, 0], 2
|
|
162
165
|
];
|
|
163
|
-
exports.
|
|
166
|
+
exports.ConfigurationDefinition$ = ConfigurationDefinition$;
|
|
167
|
+
const ConfigurationDefinitionInput$ = [3, n0, _CDI,
|
|
164
168
|
0,
|
|
165
169
|
[_T, _P, _TV, _LDERN, _LDARA],
|
|
166
170
|
[0, 128 | 0, 0, 0, 0], 2
|
|
167
171
|
];
|
|
168
|
-
exports.
|
|
172
|
+
exports.ConfigurationDefinitionInput$ = ConfigurationDefinitionInput$;
|
|
173
|
+
const ConfigurationDefinitionSummary$ = [3, n0, _CDS,
|
|
169
174
|
0,
|
|
170
175
|
[_I, _T, _TV, _FCP],
|
|
171
176
|
[0, 0, 0, 128 | 0]
|
|
172
177
|
];
|
|
173
|
-
exports.
|
|
178
|
+
exports.ConfigurationDefinitionSummary$ = ConfigurationDefinitionSummary$;
|
|
179
|
+
const ConfigurationManagerSummary$ = [3, n0, _CMS,
|
|
174
180
|
0,
|
|
175
181
|
[_MA, _D, _N, _SS, _CDSo],
|
|
176
182
|
[0, 0, 0, () => StatusSummariesList, () => ConfigurationDefinitionSummariesList], 1
|
|
177
183
|
];
|
|
178
|
-
exports.
|
|
184
|
+
exports.ConfigurationManagerSummary$ = ConfigurationManagerSummary$;
|
|
185
|
+
const ConfigurationSummary$ = [3, n0, _CS,
|
|
179
186
|
0,
|
|
180
187
|
[_I, _MA, _CDIo, _T, _TV, _R, _A, _CA, _FCP, _SS],
|
|
181
188
|
[0, 0, 0, 0, 0, 0, 0, 5, 128 | 0, () => StatusSummariesList]
|
|
182
189
|
];
|
|
183
|
-
exports.
|
|
190
|
+
exports.ConfigurationSummary$ = ConfigurationSummary$;
|
|
191
|
+
const CreateConfigurationManagerInput$ = [3, n0, _CCMI,
|
|
184
192
|
0,
|
|
185
193
|
[_CDo, _N, _D, _Ta],
|
|
186
194
|
[() => ConfigurationDefinitionsInputList, 0, 0, [() => TagsMap, 0]], 1
|
|
187
195
|
];
|
|
188
|
-
exports.
|
|
196
|
+
exports.CreateConfigurationManagerInput$ = CreateConfigurationManagerInput$;
|
|
197
|
+
const CreateConfigurationManagerOutput$ = [3, n0, _CCMO,
|
|
189
198
|
0,
|
|
190
199
|
[_MA],
|
|
191
200
|
[0], 1
|
|
192
201
|
];
|
|
193
|
-
exports.
|
|
202
|
+
exports.CreateConfigurationManagerOutput$ = CreateConfigurationManagerOutput$;
|
|
203
|
+
const DeleteConfigurationManagerInput$ = [3, n0, _DCMI,
|
|
194
204
|
0,
|
|
195
205
|
[_MA],
|
|
196
206
|
[[0, 1]], 1
|
|
197
207
|
];
|
|
198
|
-
exports.
|
|
208
|
+
exports.DeleteConfigurationManagerInput$ = DeleteConfigurationManagerInput$;
|
|
209
|
+
const Filter$ = [3, n0, _F,
|
|
199
210
|
0,
|
|
200
211
|
[_K, _V],
|
|
201
212
|
[0, 64 | 0], 2
|
|
202
213
|
];
|
|
203
|
-
exports.
|
|
214
|
+
exports.Filter$ = Filter$;
|
|
215
|
+
const GetConfigurationInput$ = [3, n0, _GCI,
|
|
204
216
|
0,
|
|
205
217
|
[_CI],
|
|
206
218
|
[[0, 1]], 1
|
|
207
219
|
];
|
|
208
|
-
exports.
|
|
220
|
+
exports.GetConfigurationInput$ = GetConfigurationInput$;
|
|
221
|
+
const GetConfigurationManagerInput$ = [3, n0, _GCMI,
|
|
209
222
|
0,
|
|
210
223
|
[_MA],
|
|
211
224
|
[[0, 1]], 1
|
|
212
225
|
];
|
|
213
|
-
exports.
|
|
226
|
+
exports.GetConfigurationManagerInput$ = GetConfigurationManagerInput$;
|
|
227
|
+
const GetConfigurationManagerOutput$ = [3, n0, _GCMO,
|
|
214
228
|
0,
|
|
215
229
|
[_MA, _D, _N, _CA, _LMA, _SS, _CDo, _Ta],
|
|
216
230
|
[0, 0, 0, 5, 5, () => StatusSummariesList, () => ConfigurationDefinitionsList, [() => TagsMap, 0]], 1
|
|
217
231
|
];
|
|
218
|
-
exports.
|
|
232
|
+
exports.GetConfigurationManagerOutput$ = GetConfigurationManagerOutput$;
|
|
233
|
+
const GetConfigurationOutput$ = [3, n0, _GCO,
|
|
219
234
|
0,
|
|
220
235
|
[_I, _MA, _CDIo, _T, _TV, _A, _R, _CA, _LMA, _SS, _P],
|
|
221
236
|
[0, 0, 0, 0, 0, 0, 0, 5, 5, () => StatusSummariesList, 128 | 0]
|
|
222
237
|
];
|
|
223
|
-
exports.
|
|
238
|
+
exports.GetConfigurationOutput$ = GetConfigurationOutput$;
|
|
239
|
+
const GetServiceSettingsOutput$ = [3, n0, _GSSO,
|
|
224
240
|
0,
|
|
225
241
|
[_SSe],
|
|
226
|
-
[() =>
|
|
242
|
+
[() => ServiceSettings$]
|
|
227
243
|
];
|
|
228
|
-
exports.
|
|
244
|
+
exports.GetServiceSettingsOutput$ = GetServiceSettingsOutput$;
|
|
245
|
+
const ListConfigurationManagersInput$ = [3, n0, _LCMI,
|
|
229
246
|
0,
|
|
230
247
|
[_ST, _MI, _Fi],
|
|
231
248
|
[0, 1, () => FiltersList]
|
|
232
249
|
];
|
|
233
|
-
exports.
|
|
250
|
+
exports.ListConfigurationManagersInput$ = ListConfigurationManagersInput$;
|
|
251
|
+
const ListConfigurationManagersOutput$ = [3, n0, _LCMO,
|
|
234
252
|
0,
|
|
235
253
|
[_CML, _NT],
|
|
236
254
|
[() => ConfigurationManagerList, 0]
|
|
237
255
|
];
|
|
238
|
-
exports.
|
|
256
|
+
exports.ListConfigurationManagersOutput$ = ListConfigurationManagersOutput$;
|
|
257
|
+
const ListConfigurationsInput$ = [3, n0, _LCI,
|
|
239
258
|
0,
|
|
240
259
|
[_ST, _MI, _Fi, _MA, _CDIo],
|
|
241
260
|
[0, 1, () => FiltersList, 0, 0]
|
|
242
261
|
];
|
|
243
|
-
exports.
|
|
262
|
+
exports.ListConfigurationsInput$ = ListConfigurationsInput$;
|
|
263
|
+
const ListConfigurationsOutput$ = [3, n0, _LCO,
|
|
244
264
|
0,
|
|
245
265
|
[_CL, _NT],
|
|
246
266
|
[() => ConfigurationsList, 0]
|
|
247
267
|
];
|
|
248
|
-
exports.
|
|
268
|
+
exports.ListConfigurationsOutput$ = ListConfigurationsOutput$;
|
|
269
|
+
const ListQuickSetupTypesOutput$ = [3, n0, _LQSTO,
|
|
249
270
|
0,
|
|
250
271
|
[_QSTL],
|
|
251
272
|
[() => QuickSetupTypeList]
|
|
252
273
|
];
|
|
253
|
-
exports.
|
|
274
|
+
exports.ListQuickSetupTypesOutput$ = ListQuickSetupTypesOutput$;
|
|
275
|
+
const ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
254
276
|
0,
|
|
255
277
|
[_RA],
|
|
256
278
|
[[0, 1]], 1
|
|
257
279
|
];
|
|
258
|
-
exports.
|
|
280
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
281
|
+
const ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
259
282
|
0,
|
|
260
283
|
[_Ta],
|
|
261
284
|
[[() => Tags, 0]]
|
|
262
285
|
];
|
|
263
|
-
exports.
|
|
286
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
287
|
+
const QuickSetupTypeOutput$ = [3, n0, _QSTO,
|
|
264
288
|
0,
|
|
265
289
|
[_T, _LV],
|
|
266
290
|
[0, 0]
|
|
267
291
|
];
|
|
268
|
-
exports.
|
|
292
|
+
exports.QuickSetupTypeOutput$ = QuickSetupTypeOutput$;
|
|
293
|
+
const ServiceSettings$ = [3, n0, _SSe,
|
|
269
294
|
0,
|
|
270
295
|
[_EERA],
|
|
271
296
|
[0]
|
|
272
297
|
];
|
|
273
|
-
exports.
|
|
298
|
+
exports.ServiceSettings$ = ServiceSettings$;
|
|
299
|
+
const StatusSummary$ = [3, n0, _SSt,
|
|
274
300
|
0,
|
|
275
301
|
[_STt, _LUA, _S, _SM, _SD],
|
|
276
302
|
[0, 5, 0, 0, 128 | 0], 2
|
|
277
303
|
];
|
|
278
|
-
exports.
|
|
304
|
+
exports.StatusSummary$ = StatusSummary$;
|
|
305
|
+
const TagEntry$ = [3, n0, _TEa,
|
|
279
306
|
8,
|
|
280
307
|
[_K, _Va],
|
|
281
308
|
[0, 0]
|
|
282
309
|
];
|
|
283
|
-
exports.
|
|
310
|
+
exports.TagEntry$ = TagEntry$;
|
|
311
|
+
const TagResourceInput$ = [3, n0, _TRI,
|
|
284
312
|
0,
|
|
285
313
|
[_RA, _Ta],
|
|
286
314
|
[[0, 1], [() => TagsMap, 0]], 2
|
|
287
315
|
];
|
|
288
|
-
exports.
|
|
316
|
+
exports.TagResourceInput$ = TagResourceInput$;
|
|
317
|
+
const UntagResourceInput$ = [3, n0, _URI,
|
|
289
318
|
0,
|
|
290
319
|
[_RA, _TK],
|
|
291
320
|
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
292
321
|
];
|
|
293
|
-
exports.
|
|
322
|
+
exports.UntagResourceInput$ = UntagResourceInput$;
|
|
323
|
+
const UpdateConfigurationDefinitionInput$ = [3, n0, _UCDI,
|
|
294
324
|
0,
|
|
295
325
|
[_MA, _I, _TV, _P, _LDERN, _LDARA],
|
|
296
326
|
[[0, 1], [0, 1], 0, 128 | 0, 0, 0], 2
|
|
297
327
|
];
|
|
298
|
-
exports.
|
|
328
|
+
exports.UpdateConfigurationDefinitionInput$ = UpdateConfigurationDefinitionInput$;
|
|
329
|
+
const UpdateConfigurationManagerInput$ = [3, n0, _UCMI,
|
|
299
330
|
0,
|
|
300
331
|
[_MA, _N, _D],
|
|
301
332
|
[[0, 1], 0, 0], 1
|
|
302
333
|
];
|
|
303
|
-
exports.
|
|
334
|
+
exports.UpdateConfigurationManagerInput$ = UpdateConfigurationManagerInput$;
|
|
335
|
+
const UpdateServiceSettingsInput$ = [3, n0, _USSI,
|
|
304
336
|
0,
|
|
305
337
|
[_EERA],
|
|
306
338
|
[0]
|
|
307
339
|
];
|
|
340
|
+
exports.UpdateServiceSettingsInput$ = UpdateServiceSettingsInput$;
|
|
308
341
|
var __Unit = "unit";
|
|
309
342
|
var ConfigurationDefinitionsInputList = [1, n0, _CDIL,
|
|
310
|
-
0, () =>
|
|
343
|
+
0, () => ConfigurationDefinitionInput$
|
|
311
344
|
];
|
|
312
345
|
var ConfigurationDefinitionsList = [1, n0, _CDL,
|
|
313
|
-
0, () =>
|
|
346
|
+
0, () => ConfigurationDefinition$
|
|
314
347
|
];
|
|
315
348
|
var ConfigurationDefinitionSummariesList = [1, n0, _CDSL,
|
|
316
|
-
0, () =>
|
|
349
|
+
0, () => ConfigurationDefinitionSummary$
|
|
317
350
|
];
|
|
318
351
|
var ConfigurationManagerList = [1, n0, _CMLo,
|
|
319
|
-
0, () =>
|
|
352
|
+
0, () => ConfigurationManagerSummary$
|
|
320
353
|
];
|
|
321
354
|
var ConfigurationsList = [1, n0, _CL,
|
|
322
|
-
0, () =>
|
|
355
|
+
0, () => ConfigurationSummary$
|
|
323
356
|
];
|
|
324
357
|
var FiltersList = [1, n0, _FL,
|
|
325
|
-
0, () =>
|
|
358
|
+
0, () => Filter$
|
|
326
359
|
];
|
|
327
360
|
var FilterValues = 64 | 0;
|
|
328
361
|
var QuickSetupTypeList = [1, n0, _QSTL,
|
|
329
|
-
0, () =>
|
|
362
|
+
0, () => QuickSetupTypeOutput$
|
|
330
363
|
];
|
|
331
364
|
var StatusSummariesList = [1, n0, _SSL,
|
|
332
|
-
0, () =>
|
|
365
|
+
0, () => StatusSummary$
|
|
333
366
|
];
|
|
334
367
|
var TagKeys = 64 | 0;
|
|
335
368
|
var Tags = [1, n0, _Ta,
|
|
336
|
-
8, [() =>
|
|
369
|
+
8, [() => TagEntry$,
|
|
337
370
|
0]
|
|
338
371
|
];
|
|
339
372
|
var ConfigurationParametersMap = 128 | 0;
|
|
@@ -342,44 +375,44 @@ var TagsMap = [2, n0, _TM,
|
|
|
342
375
|
8, 0, 0
|
|
343
376
|
];
|
|
344
377
|
exports.CreateConfigurationManager$ = [9, n0, _CCM,
|
|
345
|
-
{ [_h]: ["POST", "/configurationManager", 200] }, () =>
|
|
378
|
+
{ [_h]: ["POST", "/configurationManager", 200] }, () => CreateConfigurationManagerInput$, () => CreateConfigurationManagerOutput$
|
|
346
379
|
];
|
|
347
380
|
exports.DeleteConfigurationManager$ = [9, n0, _DCM,
|
|
348
|
-
{ [_h]: ["DELETE", "/configurationManager/{ManagerArn}", 200] }, () =>
|
|
381
|
+
{ [_h]: ["DELETE", "/configurationManager/{ManagerArn}", 200] }, () => DeleteConfigurationManagerInput$, () => __Unit
|
|
349
382
|
];
|
|
350
383
|
exports.GetConfiguration$ = [9, n0, _GC,
|
|
351
|
-
{ [_h]: ["GET", "/getConfiguration/{ConfigurationId}", 200] }, () =>
|
|
384
|
+
{ [_h]: ["GET", "/getConfiguration/{ConfigurationId}", 200] }, () => GetConfigurationInput$, () => GetConfigurationOutput$
|
|
352
385
|
];
|
|
353
386
|
exports.GetConfigurationManager$ = [9, n0, _GCM,
|
|
354
|
-
{ [_h]: ["GET", "/configurationManager/{ManagerArn}", 200] }, () =>
|
|
387
|
+
{ [_h]: ["GET", "/configurationManager/{ManagerArn}", 200] }, () => GetConfigurationManagerInput$, () => GetConfigurationManagerOutput$
|
|
355
388
|
];
|
|
356
389
|
exports.GetServiceSettings$ = [9, n0, _GSS,
|
|
357
|
-
{ [_h]: ["GET", "/serviceSettings", 200] }, () => __Unit, () =>
|
|
390
|
+
{ [_h]: ["GET", "/serviceSettings", 200] }, () => __Unit, () => GetServiceSettingsOutput$
|
|
358
391
|
];
|
|
359
392
|
exports.ListConfigurationManagers$ = [9, n0, _LCM,
|
|
360
|
-
{ [_h]: ["POST", "/listConfigurationManagers", 200] }, () =>
|
|
393
|
+
{ [_h]: ["POST", "/listConfigurationManagers", 200] }, () => ListConfigurationManagersInput$, () => ListConfigurationManagersOutput$
|
|
361
394
|
];
|
|
362
395
|
exports.ListConfigurations$ = [9, n0, _LC,
|
|
363
|
-
{ [_h]: ["POST", "/listConfigurations", 200] }, () =>
|
|
396
|
+
{ [_h]: ["POST", "/listConfigurations", 200] }, () => ListConfigurationsInput$, () => ListConfigurationsOutput$
|
|
364
397
|
];
|
|
365
398
|
exports.ListQuickSetupTypes$ = [9, n0, _LQST,
|
|
366
|
-
{ [_h]: ["GET", "/listQuickSetupTypes", 200] }, () => __Unit, () =>
|
|
399
|
+
{ [_h]: ["GET", "/listQuickSetupTypes", 200] }, () => __Unit, () => ListQuickSetupTypesOutput$
|
|
367
400
|
];
|
|
368
401
|
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
369
|
-
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () =>
|
|
402
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
370
403
|
];
|
|
371
404
|
exports.TagResource$ = [9, n0, _TR,
|
|
372
|
-
{ [_h]: ["PUT", "/tags/{ResourceArn}", 200] }, () =>
|
|
405
|
+
{ [_h]: ["PUT", "/tags/{ResourceArn}", 200] }, () => TagResourceInput$, () => __Unit
|
|
373
406
|
];
|
|
374
407
|
exports.UntagResource$ = [9, n0, _UR,
|
|
375
|
-
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () =>
|
|
408
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => UntagResourceInput$, () => __Unit
|
|
376
409
|
];
|
|
377
410
|
exports.UpdateConfigurationDefinition$ = [9, n0, _UCD,
|
|
378
|
-
{ [_h]: ["PUT", "/configurationDefinition/{ManagerArn}/{Id}", 200] }, () =>
|
|
411
|
+
{ [_h]: ["PUT", "/configurationDefinition/{ManagerArn}/{Id}", 200] }, () => UpdateConfigurationDefinitionInput$, () => __Unit
|
|
379
412
|
];
|
|
380
413
|
exports.UpdateConfigurationManager$ = [9, n0, _UCM,
|
|
381
|
-
{ [_h]: ["PUT", "/configurationManager/{ManagerArn}", 200] }, () =>
|
|
414
|
+
{ [_h]: ["PUT", "/configurationManager/{ManagerArn}", 200] }, () => UpdateConfigurationManagerInput$, () => __Unit
|
|
382
415
|
];
|
|
383
416
|
exports.UpdateServiceSettings$ = [9, n0, _USS,
|
|
384
|
-
{ [_h]: ["PUT", "/serviceSettings", 200] }, () =>
|
|
417
|
+
{ [_h]: ["PUT", "/serviceSettings", 200] }, () => UpdateServiceSettingsInput$, () => __Unit
|
|
385
418
|
];
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ssm-quicksetup",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ssm Quicksetup Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1070.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
8
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
8
|
+
"build:es": "premove dist-es && tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
10
|
+
"build:types": "premove dist-types && tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "premove dist-cjs dist-es dist-types
|
|
12
|
+
"clean": "premove dist-cjs dist-es dist-types",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
15
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
16
|
},
|
|
17
17
|
"main": "./dist-cjs/index.js",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.974.21",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.56",
|
|
26
|
+
"@aws-sdk/types": "^3.973.13",
|
|
27
27
|
"@smithy/core": "^3.24.6",
|
|
28
28
|
"@smithy/fetch-http-handler": "^5.4.6",
|
|
29
29
|
"@smithy/node-http-handler": "^4.7.6",
|