@aws-sdk/client-ssm-quicksetup 3.622.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +303 -0
  3. package/dist-cjs/SSMQuickSetup.js +35 -0
  4. package/dist-cjs/SSMQuickSetupClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateConfigurationManagerCommand.js +29 -0
  8. package/dist-cjs/commands/DeleteConfigurationManagerCommand.js +28 -0
  9. package/dist-cjs/commands/GetConfigurationManagerCommand.js +29 -0
  10. package/dist-cjs/commands/GetServiceSettingsCommand.js +28 -0
  11. package/dist-cjs/commands/ListConfigurationManagersCommand.js +28 -0
  12. package/dist-cjs/commands/ListQuickSetupTypesCommand.js +28 -0
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +29 -0
  14. package/dist-cjs/commands/TagResourceCommand.js +29 -0
  15. package/dist-cjs/commands/UntagResourceCommand.js +28 -0
  16. package/dist-cjs/commands/UpdateConfigurationDefinitionCommand.js +28 -0
  17. package/dist-cjs/commands/UpdateConfigurationManagerCommand.js +28 -0
  18. package/dist-cjs/commands/UpdateServiceSettingsCommand.js +28 -0
  19. package/dist-cjs/commands/index.js +15 -0
  20. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  21. package/dist-cjs/endpoint/endpointResolver.js +14 -0
  22. package/dist-cjs/endpoint/ruleset.js +7 -0
  23. package/dist-cjs/extensionConfiguration.js +2 -0
  24. package/dist-cjs/index.js +11 -0
  25. package/dist-cjs/models/SSMQuickSetupServiceException.js +12 -0
  26. package/dist-cjs/models/index.js +4 -0
  27. package/dist-cjs/models/models_0.js +131 -0
  28. package/dist-cjs/pagination/Interfaces.js +2 -0
  29. package/dist-cjs/pagination/ListConfigurationManagersPaginator.js +7 -0
  30. package/dist-cjs/pagination/index.js +5 -0
  31. package/dist-cjs/protocols/Aws_restJson1.js +494 -0
  32. package/dist-cjs/runtimeConfig.browser.js +39 -0
  33. package/dist-cjs/runtimeConfig.js +49 -0
  34. package/dist-cjs/runtimeConfig.native.js +15 -0
  35. package/dist-cjs/runtimeConfig.shared.js +34 -0
  36. package/dist-cjs/runtimeExtensions.js +25 -0
  37. package/dist-es/SSMQuickSetup.js +31 -0
  38. package/dist-es/SSMQuickSetupClient.js +46 -0
  39. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  40. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  41. package/dist-es/commands/CreateConfigurationManagerCommand.js +25 -0
  42. package/dist-es/commands/DeleteConfigurationManagerCommand.js +24 -0
  43. package/dist-es/commands/GetConfigurationManagerCommand.js +25 -0
  44. package/dist-es/commands/GetServiceSettingsCommand.js +24 -0
  45. package/dist-es/commands/ListConfigurationManagersCommand.js +24 -0
  46. package/dist-es/commands/ListQuickSetupTypesCommand.js +24 -0
  47. package/dist-es/commands/ListTagsForResourceCommand.js +25 -0
  48. package/dist-es/commands/TagResourceCommand.js +25 -0
  49. package/dist-es/commands/UntagResourceCommand.js +24 -0
  50. package/dist-es/commands/UpdateConfigurationDefinitionCommand.js +24 -0
  51. package/dist-es/commands/UpdateConfigurationManagerCommand.js +24 -0
  52. package/dist-es/commands/UpdateServiceSettingsCommand.js +24 -0
  53. package/dist-es/commands/index.js +12 -0
  54. package/dist-es/endpoint/EndpointParameters.js +14 -0
  55. package/dist-es/endpoint/endpointResolver.js +10 -0
  56. package/dist-es/endpoint/ruleset.js +4 -0
  57. package/dist-es/extensionConfiguration.js +1 -0
  58. package/dist-es/index.js +6 -0
  59. package/dist-es/models/SSMQuickSetupServiceException.js +8 -0
  60. package/dist-es/models/index.js +1 -0
  61. package/dist-es/models/models_0.js +117 -0
  62. package/dist-es/pagination/Interfaces.js +1 -0
  63. package/dist-es/pagination/ListConfigurationManagersPaginator.js +4 -0
  64. package/dist-es/pagination/index.js +2 -0
  65. package/dist-es/protocols/Aws_restJson1.js +467 -0
  66. package/dist-es/runtimeConfig.browser.js +34 -0
  67. package/dist-es/runtimeConfig.js +44 -0
  68. package/dist-es/runtimeConfig.native.js +11 -0
  69. package/dist-es/runtimeConfig.shared.js +30 -0
  70. package/dist-es/runtimeExtensions.js +21 -0
  71. package/dist-types/SSMQuickSetup.d.ts +100 -0
  72. package/dist-types/SSMQuickSetupClient.d.ts +183 -0
  73. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  74. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  75. package/dist-types/commands/CreateConfigurationManagerCommand.d.ts +93 -0
  76. package/dist-types/commands/DeleteConfigurationManagerCommand.d.ts +77 -0
  77. package/dist-types/commands/GetConfigurationManagerCommand.d.ts +109 -0
  78. package/dist-types/commands/GetServiceSettingsCommand.d.ts +72 -0
  79. package/dist-types/commands/ListConfigurationManagersCommand.d.ts +113 -0
  80. package/dist-types/commands/ListQuickSetupTypesCommand.d.ts +75 -0
  81. package/dist-types/commands/ListTagsForResourceCommand.d.ts +84 -0
  82. package/dist-types/commands/TagResourceCommand.d.ts +80 -0
  83. package/dist-types/commands/UntagResourceCommand.d.ts +80 -0
  84. package/dist-types/commands/UpdateConfigurationDefinitionCommand.d.ts +84 -0
  85. package/dist-types/commands/UpdateConfigurationManagerCommand.d.ts +79 -0
  86. package/dist-types/commands/UpdateServiceSettingsCommand.d.ts +74 -0
  87. package/dist-types/commands/index.d.ts +12 -0
  88. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  89. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  90. package/dist-types/endpoint/ruleset.d.ts +2 -0
  91. package/dist-types/extensionConfiguration.d.ts +9 -0
  92. package/dist-types/index.d.ts +16 -0
  93. package/dist-types/models/SSMQuickSetupServiceException.d.ts +14 -0
  94. package/dist-types/models/index.d.ts +1 -0
  95. package/dist-types/models/models_0.d.ts +2014 -0
  96. package/dist-types/pagination/Interfaces.d.ts +8 -0
  97. package/dist-types/pagination/ListConfigurationManagersPaginator.d.ts +7 -0
  98. package/dist-types/pagination/index.d.ts +2 -0
  99. package/dist-types/protocols/Aws_restJson1.d.ts +110 -0
  100. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  101. package/dist-types/runtimeConfig.d.ts +45 -0
  102. package/dist-types/runtimeConfig.native.d.ts +44 -0
  103. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  104. package/dist-types/runtimeExtensions.d.ts +17 -0
  105. package/dist-types/ts3.4/SSMQuickSetup.d.ts +215 -0
  106. package/dist-types/ts3.4/SSMQuickSetupClient.d.ts +191 -0
  107. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  108. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  109. package/dist-types/ts3.4/commands/CreateConfigurationManagerCommand.d.ts +40 -0
  110. package/dist-types/ts3.4/commands/DeleteConfigurationManagerCommand.d.ts +36 -0
  111. package/dist-types/ts3.4/commands/GetConfigurationManagerCommand.d.ts +40 -0
  112. package/dist-types/ts3.4/commands/GetServiceSettingsCommand.d.ts +36 -0
  113. package/dist-types/ts3.4/commands/ListConfigurationManagersCommand.d.ts +40 -0
  114. package/dist-types/ts3.4/commands/ListQuickSetupTypesCommand.d.ts +36 -0
  115. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +40 -0
  116. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  117. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
  118. package/dist-types/ts3.4/commands/UpdateConfigurationDefinitionCommand.d.ts +36 -0
  119. package/dist-types/ts3.4/commands/UpdateConfigurationManagerCommand.d.ts +36 -0
  120. package/dist-types/ts3.4/commands/UpdateServiceSettingsCommand.d.ts +35 -0
  121. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  122. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  123. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  124. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  125. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  126. package/dist-types/ts3.4/index.d.ts +9 -0
  127. package/dist-types/ts3.4/models/SSMQuickSetupServiceException.d.ts +9 -0
  128. package/dist-types/ts3.4/models/index.d.ts +1 -0
  129. package/dist-types/ts3.4/models/models_0.d.ts +201 -0
  130. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  131. package/dist-types/ts3.4/pagination/ListConfigurationManagersPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  133. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +149 -0
  134. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +85 -0
  135. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  136. package/dist-types/ts3.4/runtimeConfig.native.d.ts +79 -0
  137. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  138. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  139. package/package.json +101 -0
@@ -0,0 +1,31 @@
1
+ import { createAggregatedClient } from "@smithy/smithy-client";
2
+ import { CreateConfigurationManagerCommand, } from "./commands/CreateConfigurationManagerCommand";
3
+ import { DeleteConfigurationManagerCommand, } from "./commands/DeleteConfigurationManagerCommand";
4
+ import { GetConfigurationManagerCommand, } from "./commands/GetConfigurationManagerCommand";
5
+ import { GetServiceSettingsCommand, } from "./commands/GetServiceSettingsCommand";
6
+ import { ListConfigurationManagersCommand, } from "./commands/ListConfigurationManagersCommand";
7
+ import { ListQuickSetupTypesCommand, } from "./commands/ListQuickSetupTypesCommand";
8
+ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
9
+ import { TagResourceCommand } from "./commands/TagResourceCommand";
10
+ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
11
+ import { UpdateConfigurationDefinitionCommand, } from "./commands/UpdateConfigurationDefinitionCommand";
12
+ import { UpdateConfigurationManagerCommand, } from "./commands/UpdateConfigurationManagerCommand";
13
+ import { UpdateServiceSettingsCommand, } from "./commands/UpdateServiceSettingsCommand";
14
+ import { SSMQuickSetupClient } from "./SSMQuickSetupClient";
15
+ const commands = {
16
+ CreateConfigurationManagerCommand,
17
+ DeleteConfigurationManagerCommand,
18
+ GetConfigurationManagerCommand,
19
+ GetServiceSettingsCommand,
20
+ ListConfigurationManagersCommand,
21
+ ListQuickSetupTypesCommand,
22
+ ListTagsForResourceCommand,
23
+ TagResourceCommand,
24
+ UntagResourceCommand,
25
+ UpdateConfigurationDefinitionCommand,
26
+ UpdateConfigurationManagerCommand,
27
+ UpdateServiceSettingsCommand,
28
+ };
29
+ export class SSMQuickSetup extends SSMQuickSetupClient {
30
+ }
31
+ createAggregatedClient(commands, SSMQuickSetup);
@@ -0,0 +1,46 @@
1
+ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
2
+ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
3
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
4
+ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
+ import { resolveRegionConfig } from "@smithy/config-resolver";
6
+ import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
+ import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
+ import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
10
+ import { Client as __Client, } from "@smithy/smithy-client";
11
+ import { defaultSSMQuickSetupHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
12
+ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
13
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
+ import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
+ export { __Client };
16
+ export class SSMQuickSetupClient extends __Client {
17
+ constructor(...[configuration]) {
18
+ const _config_0 = __getRuntimeConfig(configuration || {});
19
+ const _config_1 = resolveClientEndpointParameters(_config_0);
20
+ const _config_2 = resolveUserAgentConfig(_config_1);
21
+ const _config_3 = resolveRetryConfig(_config_2);
22
+ const _config_4 = resolveRegionConfig(_config_3);
23
+ const _config_5 = resolveHostHeaderConfig(_config_4);
24
+ const _config_6 = resolveEndpointConfig(_config_5);
25
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
26
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
27
+ super(_config_8);
28
+ this.config = _config_8;
29
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
30
+ this.middlewareStack.use(getRetryPlugin(this.config));
31
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
32
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
33
+ this.middlewareStack.use(getLoggerPlugin(this.config));
34
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
35
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
36
+ httpAuthSchemeParametersProvider: defaultSSMQuickSetupHttpAuthSchemeParametersProvider,
37
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
38
+ "aws.auth#sigv4": config.credentials,
39
+ }),
40
+ }));
41
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
42
+ }
43
+ destroy() {
44
+ super.destroy();
45
+ }
46
+ }
@@ -0,0 +1,38 @@
1
+ export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
2
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
3
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
4
+ let _credentials = runtimeConfig.credentials;
5
+ return {
6
+ setHttpAuthScheme(httpAuthScheme) {
7
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
8
+ if (index === -1) {
9
+ _httpAuthSchemes.push(httpAuthScheme);
10
+ }
11
+ else {
12
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
13
+ }
14
+ },
15
+ httpAuthSchemes() {
16
+ return _httpAuthSchemes;
17
+ },
18
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
19
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
20
+ },
21
+ httpAuthSchemeProvider() {
22
+ return _httpAuthSchemeProvider;
23
+ },
24
+ setCredentials(credentials) {
25
+ _credentials = credentials;
26
+ },
27
+ credentials() {
28
+ return _credentials;
29
+ },
30
+ };
31
+ };
32
+ export const resolveHttpAuthRuntimeConfig = (config) => {
33
+ return {
34
+ httpAuthSchemes: config.httpAuthSchemes(),
35
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
36
+ credentials: config.credentials(),
37
+ };
38
+ };
@@ -0,0 +1,41 @@
1
+ import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
2
+ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
+ export const defaultSSMQuickSetupHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
+ return {
5
+ operation: getSmithyContext(context).operation,
6
+ region: (await normalizeProvider(config.region)()) ||
7
+ (() => {
8
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
9
+ })(),
10
+ };
11
+ };
12
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
13
+ return {
14
+ schemeId: "aws.auth#sigv4",
15
+ signingProperties: {
16
+ name: "ssm-quicksetup",
17
+ region: authParameters.region,
18
+ },
19
+ propertiesExtractor: (config, context) => ({
20
+ signingProperties: {
21
+ config,
22
+ context,
23
+ },
24
+ }),
25
+ };
26
+ }
27
+ export const defaultSSMQuickSetupHttpAuthSchemeProvider = (authParameters) => {
28
+ const options = [];
29
+ switch (authParameters.operation) {
30
+ default: {
31
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
32
+ }
33
+ }
34
+ return options;
35
+ };
36
+ export const resolveHttpAuthSchemeConfig = (config) => {
37
+ const config_0 = resolveAwsSdkSigV4Config(config);
38
+ return {
39
+ ...config_0,
40
+ };
41
+ };
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateConfigurationManagerInputFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateConfigurationManagerCommand, se_CreateConfigurationManagerCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateConfigurationManagerCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("QuickSetup", "CreateConfigurationManager", {})
20
+ .n("SSMQuickSetupClient", "CreateConfigurationManagerCommand")
21
+ .f(CreateConfigurationManagerInputFilterSensitiveLog, void 0)
22
+ .ser(se_CreateConfigurationManagerCommand)
23
+ .de(de_CreateConfigurationManagerCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteConfigurationManagerCommand, se_DeleteConfigurationManagerCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteConfigurationManagerCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QuickSetup", "DeleteConfigurationManager", {})
19
+ .n("SSMQuickSetupClient", "DeleteConfigurationManagerCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteConfigurationManagerCommand)
22
+ .de(de_DeleteConfigurationManagerCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetConfigurationManagerOutputFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_GetConfigurationManagerCommand, se_GetConfigurationManagerCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class GetConfigurationManagerCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("QuickSetup", "GetConfigurationManager", {})
20
+ .n("SSMQuickSetupClient", "GetConfigurationManagerCommand")
21
+ .f(void 0, GetConfigurationManagerOutputFilterSensitiveLog)
22
+ .ser(se_GetConfigurationManagerCommand)
23
+ .de(de_GetConfigurationManagerCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetServiceSettingsCommand, se_GetServiceSettingsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetServiceSettingsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QuickSetup", "GetServiceSettings", {})
19
+ .n("SSMQuickSetupClient", "GetServiceSettingsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetServiceSettingsCommand)
22
+ .de(de_GetServiceSettingsCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListConfigurationManagersCommand, se_ListConfigurationManagersCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListConfigurationManagersCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QuickSetup", "ListConfigurationManagers", {})
19
+ .n("SSMQuickSetupClient", "ListConfigurationManagersCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListConfigurationManagersCommand)
22
+ .de(de_ListConfigurationManagersCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListQuickSetupTypesCommand, se_ListQuickSetupTypesCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListQuickSetupTypesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QuickSetup", "ListQuickSetupTypes", {})
19
+ .n("SSMQuickSetupClient", "ListQuickSetupTypesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListQuickSetupTypesCommand)
22
+ .de(de_ListQuickSetupTypesCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class ListTagsForResourceCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("QuickSetup", "ListTagsForResource", {})
20
+ .n("SSMQuickSetupClient", "ListTagsForResourceCommand")
21
+ .f(void 0, ListTagsForResourceResponseFilterSensitiveLog)
22
+ .ser(se_ListTagsForResourceCommand)
23
+ .de(de_ListTagsForResourceCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { TagResourceInputFilterSensitiveLog } from "../models/models_0";
6
+ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class TagResourceCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("QuickSetup", "TagResource", {})
20
+ .n("SSMQuickSetupClient", "TagResourceCommand")
21
+ .f(TagResourceInputFilterSensitiveLog, void 0)
22
+ .ser(se_TagResourceCommand)
23
+ .de(de_TagResourceCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QuickSetup", "UntagResource", {})
19
+ .n("SSMQuickSetupClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateConfigurationDefinitionCommand, se_UpdateConfigurationDefinitionCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateConfigurationDefinitionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QuickSetup", "UpdateConfigurationDefinition", {})
19
+ .n("SSMQuickSetupClient", "UpdateConfigurationDefinitionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateConfigurationDefinitionCommand)
22
+ .de(de_UpdateConfigurationDefinitionCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateConfigurationManagerCommand, se_UpdateConfigurationManagerCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateConfigurationManagerCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QuickSetup", "UpdateConfigurationManager", {})
19
+ .n("SSMQuickSetupClient", "UpdateConfigurationManagerCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateConfigurationManagerCommand)
22
+ .de(de_UpdateConfigurationManagerCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateServiceSettingsCommand, se_UpdateServiceSettingsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateServiceSettingsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QuickSetup", "UpdateServiceSettings", {})
19
+ .n("SSMQuickSetupClient", "UpdateServiceSettingsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateServiceSettingsCommand)
22
+ .de(de_UpdateServiceSettingsCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,12 @@
1
+ export * from "./CreateConfigurationManagerCommand";
2
+ export * from "./DeleteConfigurationManagerCommand";
3
+ export * from "./GetConfigurationManagerCommand";
4
+ export * from "./GetServiceSettingsCommand";
5
+ export * from "./ListConfigurationManagersCommand";
6
+ export * from "./ListQuickSetupTypesCommand";
7
+ export * from "./ListTagsForResourceCommand";
8
+ export * from "./TagResourceCommand";
9
+ export * from "./UntagResourceCommand";
10
+ export * from "./UpdateConfigurationDefinitionCommand";
11
+ export * from "./UpdateConfigurationManagerCommand";
12
+ export * from "./UpdateServiceSettingsCommand";
@@ -0,0 +1,14 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return {
3
+ ...options,
4
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
6
+ defaultSigningName: "ssm-quicksetup",
7
+ };
8
+ };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -0,0 +1,10 @@
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
3
+ import { ruleSet } from "./ruleset";
4
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
+ return resolveEndpoint(ruleSet, {
6
+ endpointParams: endpointParams,
7
+ logger: context.logger,
8
+ });
9
+ };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
@@ -0,0 +1,4 @@
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://ssm-quicksetup-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://ssm-quicksetup-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://ssm-quicksetup.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://ssm-quicksetup.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
4
+ export const ruleSet = _data;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export * from "./SSMQuickSetupClient";
2
+ export * from "./SSMQuickSetup";
3
+ export * from "./commands";
4
+ export * from "./pagination";
5
+ export * from "./models";
6
+ export { SSMQuickSetupServiceException } from "./models/SSMQuickSetupServiceException";
@@ -0,0 +1,8 @@
1
+ import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
2
+ export { __ServiceException };
3
+ export class SSMQuickSetupServiceException extends __ServiceException {
4
+ constructor(options) {
5
+ super(options);
6
+ Object.setPrototypeOf(this, SSMQuickSetupServiceException.prototype);
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";