@aws-sdk/client-ssm-quicksetup 3.1076.0 → 3.1078.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/index.js +25 -145
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateConfigurationManagerCommand.js +2 -14
- package/dist-es/commands/DeleteConfigurationManagerCommand.js +2 -14
- package/dist-es/commands/GetConfigurationCommand.js +2 -14
- package/dist-es/commands/GetConfigurationManagerCommand.js +2 -14
- package/dist-es/commands/GetServiceSettingsCommand.js +2 -14
- package/dist-es/commands/ListConfigurationManagersCommand.js +2 -14
- package/dist-es/commands/ListConfigurationsCommand.js +2 -14
- package/dist-es/commands/ListQuickSetupTypesCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateConfigurationDefinitionCommand.js +2 -14
- package/dist-es/commands/UpdateConfigurationManagerCommand.js +2 -14
- package/dist-es/commands/UpdateServiceSettingsCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateConfigurationManagerCommand.d.ts +3 -8
- package/dist-types/commands/DeleteConfigurationManagerCommand.d.ts +3 -8
- package/dist-types/commands/GetConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/GetConfigurationManagerCommand.d.ts +3 -8
- package/dist-types/commands/GetServiceSettingsCommand.d.ts +3 -8
- package/dist-types/commands/ListConfigurationManagersCommand.d.ts +3 -8
- package/dist-types/commands/ListConfigurationsCommand.d.ts +3 -8
- package/dist-types/commands/ListQuickSetupTypesCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateConfigurationDefinitionCommand.d.ts +3 -8
- package/dist-types/commands/UpdateConfigurationManagerCommand.d.ts +3 -8
- package/dist-types/commands/UpdateServiceSettingsCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CreateConfigurationManagerCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteConfigurationManagerCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetConfigurationManagerCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetServiceSettingsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListConfigurationManagersCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListConfigurationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListQuickSetupTypesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateConfigurationDefinitionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateConfigurationManagerCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateServiceSettingsCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultSSMQuickSetupHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -623,6 +625,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
623
625
|
serviceTarget: "QuickSetup",
|
|
624
626
|
},
|
|
625
627
|
serviceId: config?.serviceId ?? "SSM QuickSetup",
|
|
628
|
+
sha256: config?.sha256 ?? Sha256,
|
|
626
629
|
urlParser: config?.urlParser ?? parseUrl,
|
|
627
630
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
628
631
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -656,7 +659,6 @@ const getRuntimeConfig = (config) => {
|
|
|
656
659
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
657
660
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
658
661
|
}, config),
|
|
659
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
660
662
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
661
663
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
662
664
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -744,172 +746,50 @@ class SSMQuickSetupClient extends Client {
|
|
|
744
746
|
}
|
|
745
747
|
}
|
|
746
748
|
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
})
|
|
753
|
-
.s("QuickSetup", "CreateConfigurationManager", {})
|
|
754
|
-
.n("SSMQuickSetupClient", "CreateConfigurationManagerCommand")
|
|
755
|
-
.sc(CreateConfigurationManager$)
|
|
756
|
-
.build() {
|
|
749
|
+
const command = makeBuilder(commonParams, "QuickSetup", "SSMQuickSetupClient", getEndpointPlugin);
|
|
750
|
+
const _ep0 = {};
|
|
751
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
752
|
+
|
|
753
|
+
class CreateConfigurationManagerCommand extends command(_ep0, _mw0, "CreateConfigurationManager", CreateConfigurationManager$) {
|
|
757
754
|
}
|
|
758
755
|
|
|
759
|
-
class DeleteConfigurationManagerCommand extends
|
|
760
|
-
.classBuilder()
|
|
761
|
-
.ep(commonParams)
|
|
762
|
-
.m(function (Command, cs, config, o) {
|
|
763
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
764
|
-
})
|
|
765
|
-
.s("QuickSetup", "DeleteConfigurationManager", {})
|
|
766
|
-
.n("SSMQuickSetupClient", "DeleteConfigurationManagerCommand")
|
|
767
|
-
.sc(DeleteConfigurationManager$)
|
|
768
|
-
.build() {
|
|
756
|
+
class DeleteConfigurationManagerCommand extends command(_ep0, _mw0, "DeleteConfigurationManager", DeleteConfigurationManager$) {
|
|
769
757
|
}
|
|
770
758
|
|
|
771
|
-
class GetConfigurationCommand extends
|
|
772
|
-
.classBuilder()
|
|
773
|
-
.ep(commonParams)
|
|
774
|
-
.m(function (Command, cs, config, o) {
|
|
775
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
776
|
-
})
|
|
777
|
-
.s("QuickSetup", "GetConfiguration", {})
|
|
778
|
-
.n("SSMQuickSetupClient", "GetConfigurationCommand")
|
|
779
|
-
.sc(GetConfiguration$)
|
|
780
|
-
.build() {
|
|
759
|
+
class GetConfigurationCommand extends command(_ep0, _mw0, "GetConfiguration", GetConfiguration$) {
|
|
781
760
|
}
|
|
782
761
|
|
|
783
|
-
class GetConfigurationManagerCommand extends
|
|
784
|
-
.classBuilder()
|
|
785
|
-
.ep(commonParams)
|
|
786
|
-
.m(function (Command, cs, config, o) {
|
|
787
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
788
|
-
})
|
|
789
|
-
.s("QuickSetup", "GetConfigurationManager", {})
|
|
790
|
-
.n("SSMQuickSetupClient", "GetConfigurationManagerCommand")
|
|
791
|
-
.sc(GetConfigurationManager$)
|
|
792
|
-
.build() {
|
|
762
|
+
class GetConfigurationManagerCommand extends command(_ep0, _mw0, "GetConfigurationManager", GetConfigurationManager$) {
|
|
793
763
|
}
|
|
794
764
|
|
|
795
|
-
class GetServiceSettingsCommand extends
|
|
796
|
-
.classBuilder()
|
|
797
|
-
.ep(commonParams)
|
|
798
|
-
.m(function (Command, cs, config, o) {
|
|
799
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
800
|
-
})
|
|
801
|
-
.s("QuickSetup", "GetServiceSettings", {})
|
|
802
|
-
.n("SSMQuickSetupClient", "GetServiceSettingsCommand")
|
|
803
|
-
.sc(GetServiceSettings$)
|
|
804
|
-
.build() {
|
|
765
|
+
class GetServiceSettingsCommand extends command(_ep0, _mw0, "GetServiceSettings", GetServiceSettings$) {
|
|
805
766
|
}
|
|
806
767
|
|
|
807
|
-
class ListConfigurationManagersCommand extends
|
|
808
|
-
.classBuilder()
|
|
809
|
-
.ep(commonParams)
|
|
810
|
-
.m(function (Command, cs, config, o) {
|
|
811
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
812
|
-
})
|
|
813
|
-
.s("QuickSetup", "ListConfigurationManagers", {})
|
|
814
|
-
.n("SSMQuickSetupClient", "ListConfigurationManagersCommand")
|
|
815
|
-
.sc(ListConfigurationManagers$)
|
|
816
|
-
.build() {
|
|
768
|
+
class ListConfigurationManagersCommand extends command(_ep0, _mw0, "ListConfigurationManagers", ListConfigurationManagers$) {
|
|
817
769
|
}
|
|
818
770
|
|
|
819
|
-
class ListConfigurationsCommand extends
|
|
820
|
-
.classBuilder()
|
|
821
|
-
.ep(commonParams)
|
|
822
|
-
.m(function (Command, cs, config, o) {
|
|
823
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
824
|
-
})
|
|
825
|
-
.s("QuickSetup", "ListConfigurations", {})
|
|
826
|
-
.n("SSMQuickSetupClient", "ListConfigurationsCommand")
|
|
827
|
-
.sc(ListConfigurations$)
|
|
828
|
-
.build() {
|
|
771
|
+
class ListConfigurationsCommand extends command(_ep0, _mw0, "ListConfigurations", ListConfigurations$) {
|
|
829
772
|
}
|
|
830
773
|
|
|
831
|
-
class ListQuickSetupTypesCommand extends
|
|
832
|
-
.classBuilder()
|
|
833
|
-
.ep(commonParams)
|
|
834
|
-
.m(function (Command, cs, config, o) {
|
|
835
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
836
|
-
})
|
|
837
|
-
.s("QuickSetup", "ListQuickSetupTypes", {})
|
|
838
|
-
.n("SSMQuickSetupClient", "ListQuickSetupTypesCommand")
|
|
839
|
-
.sc(ListQuickSetupTypes$)
|
|
840
|
-
.build() {
|
|
774
|
+
class ListQuickSetupTypesCommand extends command(_ep0, _mw0, "ListQuickSetupTypes", ListQuickSetupTypes$) {
|
|
841
775
|
}
|
|
842
776
|
|
|
843
|
-
class ListTagsForResourceCommand extends
|
|
844
|
-
.classBuilder()
|
|
845
|
-
.ep(commonParams)
|
|
846
|
-
.m(function (Command, cs, config, o) {
|
|
847
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
848
|
-
})
|
|
849
|
-
.s("QuickSetup", "ListTagsForResource", {})
|
|
850
|
-
.n("SSMQuickSetupClient", "ListTagsForResourceCommand")
|
|
851
|
-
.sc(ListTagsForResource$)
|
|
852
|
-
.build() {
|
|
777
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
853
778
|
}
|
|
854
779
|
|
|
855
|
-
class TagResourceCommand extends
|
|
856
|
-
.classBuilder()
|
|
857
|
-
.ep(commonParams)
|
|
858
|
-
.m(function (Command, cs, config, o) {
|
|
859
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
860
|
-
})
|
|
861
|
-
.s("QuickSetup", "TagResource", {})
|
|
862
|
-
.n("SSMQuickSetupClient", "TagResourceCommand")
|
|
863
|
-
.sc(TagResource$)
|
|
864
|
-
.build() {
|
|
780
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
865
781
|
}
|
|
866
782
|
|
|
867
|
-
class UntagResourceCommand extends
|
|
868
|
-
.classBuilder()
|
|
869
|
-
.ep(commonParams)
|
|
870
|
-
.m(function (Command, cs, config, o) {
|
|
871
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
872
|
-
})
|
|
873
|
-
.s("QuickSetup", "UntagResource", {})
|
|
874
|
-
.n("SSMQuickSetupClient", "UntagResourceCommand")
|
|
875
|
-
.sc(UntagResource$)
|
|
876
|
-
.build() {
|
|
783
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
877
784
|
}
|
|
878
785
|
|
|
879
|
-
class UpdateConfigurationDefinitionCommand extends
|
|
880
|
-
.classBuilder()
|
|
881
|
-
.ep(commonParams)
|
|
882
|
-
.m(function (Command, cs, config, o) {
|
|
883
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
884
|
-
})
|
|
885
|
-
.s("QuickSetup", "UpdateConfigurationDefinition", {})
|
|
886
|
-
.n("SSMQuickSetupClient", "UpdateConfigurationDefinitionCommand")
|
|
887
|
-
.sc(UpdateConfigurationDefinition$)
|
|
888
|
-
.build() {
|
|
786
|
+
class UpdateConfigurationDefinitionCommand extends command(_ep0, _mw0, "UpdateConfigurationDefinition", UpdateConfigurationDefinition$) {
|
|
889
787
|
}
|
|
890
788
|
|
|
891
|
-
class UpdateConfigurationManagerCommand extends
|
|
892
|
-
.classBuilder()
|
|
893
|
-
.ep(commonParams)
|
|
894
|
-
.m(function (Command, cs, config, o) {
|
|
895
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
896
|
-
})
|
|
897
|
-
.s("QuickSetup", "UpdateConfigurationManager", {})
|
|
898
|
-
.n("SSMQuickSetupClient", "UpdateConfigurationManagerCommand")
|
|
899
|
-
.sc(UpdateConfigurationManager$)
|
|
900
|
-
.build() {
|
|
789
|
+
class UpdateConfigurationManagerCommand extends command(_ep0, _mw0, "UpdateConfigurationManager", UpdateConfigurationManager$) {
|
|
901
790
|
}
|
|
902
791
|
|
|
903
|
-
class UpdateServiceSettingsCommand extends
|
|
904
|
-
.classBuilder()
|
|
905
|
-
.ep(commonParams)
|
|
906
|
-
.m(function (Command, cs, config, o) {
|
|
907
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
908
|
-
})
|
|
909
|
-
.s("QuickSetup", "UpdateServiceSettings", {})
|
|
910
|
-
.n("SSMQuickSetupClient", "UpdateServiceSettingsCommand")
|
|
911
|
-
.sc(UpdateServiceSettings$)
|
|
912
|
-
.build() {
|
|
792
|
+
class UpdateServiceSettingsCommand extends command(_ep0, _mw0, "UpdateServiceSettings", UpdateServiceSettings$) {
|
|
913
793
|
}
|
|
914
794
|
|
|
915
795
|
const paginateListConfigurationManagers = createPaginator(SSMQuickSetupClient, ListConfigurationManagersCommand, "StartingToken", "NextToken", "MaxItems");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "QuickSetup", "SSMQuickSetupClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateConfigurationManager$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateConfigurationManagerCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QuickSetup", "CreateConfigurationManager", {})
|
|
13
|
-
.n("SSMQuickSetupClient", "CreateConfigurationManagerCommand")
|
|
14
|
-
.sc(CreateConfigurationManager$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateConfigurationManagerCommand extends command(_ep0, _mw0, "CreateConfigurationManager", CreateConfigurationManager$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteConfigurationManager$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteConfigurationManagerCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QuickSetup", "DeleteConfigurationManager", {})
|
|
13
|
-
.n("SSMQuickSetupClient", "DeleteConfigurationManagerCommand")
|
|
14
|
-
.sc(DeleteConfigurationManager$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteConfigurationManagerCommand extends command(_ep0, _mw0, "DeleteConfigurationManager", DeleteConfigurationManager$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QuickSetup", "GetConfiguration", {})
|
|
13
|
-
.n("SSMQuickSetupClient", "GetConfigurationCommand")
|
|
14
|
-
.sc(GetConfiguration$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetConfigurationCommand extends command(_ep0, _mw0, "GetConfiguration", GetConfiguration$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetConfigurationManager$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetConfigurationManagerCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QuickSetup", "GetConfigurationManager", {})
|
|
13
|
-
.n("SSMQuickSetupClient", "GetConfigurationManagerCommand")
|
|
14
|
-
.sc(GetConfigurationManager$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetConfigurationManagerCommand extends command(_ep0, _mw0, "GetConfigurationManager", GetConfigurationManager$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetServiceSettings$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetServiceSettingsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QuickSetup", "GetServiceSettings", {})
|
|
13
|
-
.n("SSMQuickSetupClient", "GetServiceSettingsCommand")
|
|
14
|
-
.sc(GetServiceSettings$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetServiceSettingsCommand extends command(_ep0, _mw0, "GetServiceSettings", GetServiceSettings$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListConfigurationManagers$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListConfigurationManagersCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QuickSetup", "ListConfigurationManagers", {})
|
|
13
|
-
.n("SSMQuickSetupClient", "ListConfigurationManagersCommand")
|
|
14
|
-
.sc(ListConfigurationManagers$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListConfigurationManagersCommand extends command(_ep0, _mw0, "ListConfigurationManagers", ListConfigurationManagers$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListConfigurations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListConfigurationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QuickSetup", "ListConfigurations", {})
|
|
13
|
-
.n("SSMQuickSetupClient", "ListConfigurationsCommand")
|
|
14
|
-
.sc(ListConfigurations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListConfigurationsCommand extends command(_ep0, _mw0, "ListConfigurations", ListConfigurations$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListQuickSetupTypes$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListQuickSetupTypesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QuickSetup", "ListQuickSetupTypes", {})
|
|
13
|
-
.n("SSMQuickSetupClient", "ListQuickSetupTypesCommand")
|
|
14
|
-
.sc(ListQuickSetupTypes$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListQuickSetupTypesCommand extends command(_ep0, _mw0, "ListQuickSetupTypes", ListQuickSetupTypes$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QuickSetup", "ListTagsForResource", {})
|
|
13
|
-
.n("SSMQuickSetupClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QuickSetup", "TagResource", {})
|
|
13
|
-
.n("SSMQuickSetupClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QuickSetup", "UntagResource", {})
|
|
13
|
-
.n("SSMQuickSetupClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateConfigurationDefinition$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateConfigurationDefinitionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QuickSetup", "UpdateConfigurationDefinition", {})
|
|
13
|
-
.n("SSMQuickSetupClient", "UpdateConfigurationDefinitionCommand")
|
|
14
|
-
.sc(UpdateConfigurationDefinition$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateConfigurationDefinitionCommand extends command(_ep0, _mw0, "UpdateConfigurationDefinition", UpdateConfigurationDefinition$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateConfigurationManager$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateConfigurationManagerCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QuickSetup", "UpdateConfigurationManager", {})
|
|
13
|
-
.n("SSMQuickSetupClient", "UpdateConfigurationManagerCommand")
|
|
14
|
-
.sc(UpdateConfigurationManager$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateConfigurationManagerCommand extends command(_ep0, _mw0, "UpdateConfigurationManager", UpdateConfigurationManager$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateServiceSettings$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateServiceSettingsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QuickSetup", "UpdateServiceSettings", {})
|
|
13
|
-
.n("SSMQuickSetupClient", "UpdateServiceSettingsCommand")
|
|
14
|
-
.sc(UpdateServiceSettings$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateServiceSettingsCommand extends command(_ep0, _mw0, "UpdateServiceSettings", UpdateServiceSettings$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./SSMQuickSetupClient";
|
|
2
2
|
export * from "./SSMQuickSetup";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./pagination";
|
|
6
7
|
export * from "./models/enums";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "QuickSetup",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "SSM QuickSetup",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { ServiceInputTypes, ServiceOutputTypes, SSMQuickSetupClientResolvedConfig } from "./SSMQuickSetupClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, SSMQuickSetupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, SSMQuickSetupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|