@aws-sdk/client-ssm-sap 3.928.0 → 3.930.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 +940 -1243
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/SsmSapClient.js +2 -0
- package/dist-es/commands/DeleteResourcePermissionCommand.js +3 -9
- package/dist-es/commands/DeregisterApplicationCommand.js +3 -9
- package/dist-es/commands/GetApplicationCommand.js +3 -9
- package/dist-es/commands/GetComponentCommand.js +3 -9
- package/dist-es/commands/GetConfigurationCheckOperationCommand.js +3 -9
- package/dist-es/commands/GetDatabaseCommand.js +3 -10
- package/dist-es/commands/GetOperationCommand.js +3 -9
- package/dist-es/commands/GetResourcePermissionCommand.js +3 -9
- package/dist-es/commands/ListApplicationsCommand.js +3 -9
- package/dist-es/commands/ListComponentsCommand.js +3 -9
- package/dist-es/commands/ListConfigurationCheckDefinitionsCommand.js +3 -9
- package/dist-es/commands/ListConfigurationCheckOperationsCommand.js +3 -9
- package/dist-es/commands/ListDatabasesCommand.js +3 -9
- package/dist-es/commands/ListOperationEventsCommand.js +3 -9
- package/dist-es/commands/ListOperationsCommand.js +3 -9
- package/dist-es/commands/ListSubCheckResultsCommand.js +3 -9
- package/dist-es/commands/ListSubCheckRuleResultsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PutResourcePermissionCommand.js +3 -9
- package/dist-es/commands/RegisterApplicationCommand.js +3 -10
- package/dist-es/commands/StartApplicationCommand.js +3 -9
- package/dist-es/commands/StartApplicationRefreshCommand.js +3 -9
- package/dist-es/commands/StartConfigurationChecksCommand.js +3 -9
- package/dist-es/commands/StopApplicationCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateApplicationSettingsCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -26
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +883 -0
- package/dist-types/SsmSapClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -20
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +140 -0
- package/dist-types/ts3.4/SsmSapClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -13
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +147 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -1011
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -245
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -329
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartConfigurationChecks } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartConfigurationChecksCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SsmSap", "StartConfigurationChecks", {})
|
|
17
13
|
.n("SsmSapClient", "StartConfigurationChecksCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartConfigurationChecksCommand)
|
|
20
|
-
.de(de_StartConfigurationChecksCommand)
|
|
14
|
+
.sc(StartConfigurationChecks)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StopApplication } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopApplicationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SsmSap", "StopApplication", {})
|
|
17
13
|
.n("SsmSapClient", "StopApplicationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopApplicationCommand)
|
|
20
|
-
.de(de_StopApplicationCommand)
|
|
14
|
+
.sc(StopApplication)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SsmSap", "TagResource", {})
|
|
17
13
|
.n("SsmSapClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SsmSap", "UntagResource", {})
|
|
17
13
|
.n("SsmSapClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateApplicationSettingsCommand, se_UpdateApplicationSettingsCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateApplicationSettings } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateApplicationSettingsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("SsmSap", "UpdateApplicationSettings", {})
|
|
18
13
|
.n("SsmSapClient", "UpdateApplicationSettingsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateApplicationSettingsCommand)
|
|
21
|
-
.de(de_UpdateApplicationSettingsCommand)
|
|
14
|
+
.sc(UpdateApplicationSettings)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { SsmSapServiceException as __BaseException } from "./SsmSapServiceException";
|
|
3
2
|
export const AllocationType = {
|
|
4
3
|
ELASTIC_IP: "ELASTIC_IP",
|
|
@@ -202,28 +201,3 @@ export const RuleResultStatus = {
|
|
|
202
201
|
UNKNOWN: "UNKNOWN",
|
|
203
202
|
WARNING: "WARNING",
|
|
204
203
|
};
|
|
205
|
-
export const ApplicationCredentialFilterSensitiveLog = (obj) => ({
|
|
206
|
-
...obj,
|
|
207
|
-
...(obj.SecretId && { SecretId: SENSITIVE_STRING }),
|
|
208
|
-
});
|
|
209
|
-
export const DatabaseFilterSensitiveLog = (obj) => ({
|
|
210
|
-
...obj,
|
|
211
|
-
...(obj.Credentials && { Credentials: obj.Credentials.map((item) => ApplicationCredentialFilterSensitiveLog(item)) }),
|
|
212
|
-
});
|
|
213
|
-
export const GetDatabaseOutputFilterSensitiveLog = (obj) => ({
|
|
214
|
-
...obj,
|
|
215
|
-
...(obj.Database && { Database: DatabaseFilterSensitiveLog(obj.Database) }),
|
|
216
|
-
});
|
|
217
|
-
export const RegisterApplicationInputFilterSensitiveLog = (obj) => ({
|
|
218
|
-
...obj,
|
|
219
|
-
...(obj.Credentials && { Credentials: obj.Credentials.map((item) => ApplicationCredentialFilterSensitiveLog(item)) }),
|
|
220
|
-
});
|
|
221
|
-
export const UpdateApplicationSettingsInputFilterSensitiveLog = (obj) => ({
|
|
222
|
-
...obj,
|
|
223
|
-
...(obj.CredentialsToAddOrUpdate && {
|
|
224
|
-
CredentialsToAddOrUpdate: obj.CredentialsToAddOrUpdate.map((item) => ApplicationCredentialFilterSensitiveLog(item)),
|
|
225
|
-
}),
|
|
226
|
-
...(obj.CredentialsToRemove && {
|
|
227
|
-
CredentialsToRemove: obj.CredentialsToRemove.map((item) => ApplicationCredentialFilterSensitiveLog(item)),
|
|
228
|
-
}),
|
|
229
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.ssmsap" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "Ssm Sap",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|