@aws-sdk/client-rolesanywhere 3.927.0 → 3.929.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 +843 -1264
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/RolesAnywhereClient.js +2 -0
- package/dist-es/commands/CreateProfileCommand.js +3 -10
- package/dist-es/commands/CreateTrustAnchorCommand.js +3 -10
- package/dist-es/commands/DeleteAttributeMappingCommand.js +3 -9
- package/dist-es/commands/DeleteCrlCommand.js +3 -9
- package/dist-es/commands/DeleteProfileCommand.js +3 -9
- package/dist-es/commands/DeleteTrustAnchorCommand.js +3 -9
- package/dist-es/commands/DisableCrlCommand.js +3 -9
- package/dist-es/commands/DisableProfileCommand.js +3 -9
- package/dist-es/commands/DisableTrustAnchorCommand.js +3 -9
- package/dist-es/commands/EnableCrlCommand.js +3 -9
- package/dist-es/commands/EnableProfileCommand.js +3 -9
- package/dist-es/commands/EnableTrustAnchorCommand.js +3 -9
- package/dist-es/commands/GetCrlCommand.js +3 -9
- package/dist-es/commands/GetProfileCommand.js +3 -9
- package/dist-es/commands/GetSubjectCommand.js +3 -9
- package/dist-es/commands/GetTrustAnchorCommand.js +3 -9
- package/dist-es/commands/ImportCrlCommand.js +3 -10
- package/dist-es/commands/ListCrlsCommand.js +3 -9
- package/dist-es/commands/ListProfilesCommand.js +3 -9
- package/dist-es/commands/ListSubjectsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
- package/dist-es/commands/ListTrustAnchorsCommand.js +3 -9
- package/dist-es/commands/PutAttributeMappingCommand.js +3 -9
- package/dist-es/commands/PutNotificationSettingsCommand.js +3 -9
- package/dist-es/commands/ResetNotificationSettingsCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -10
- package/dist-es/commands/UpdateCrlCommand.js +3 -9
- package/dist-es/commands/UpdateProfileCommand.js +3 -9
- package/dist-es/commands/UpdateTrustAnchorCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -31
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +776 -0
- package/dist-types/RolesAnywhereClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -28
- 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 +103 -0
- package/dist-types/ts3.4/RolesAnywhereClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -19
- 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 +109 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_restJson1.js +0 -1009
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -272
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -365
|
@@ -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 { PutAttributeMapping } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutAttributeMappingCommand 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("RolesAnywhere", "PutAttributeMapping", {})
|
|
17
13
|
.n("RolesAnywhereClient", "PutAttributeMappingCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PutAttributeMappingCommand)
|
|
20
|
-
.de(de_PutAttributeMappingCommand)
|
|
14
|
+
.sc(PutAttributeMapping)
|
|
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 { PutNotificationSettings } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutNotificationSettingsCommand 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("RolesAnywhere", "PutNotificationSettings", {})
|
|
17
13
|
.n("RolesAnywhereClient", "PutNotificationSettingsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PutNotificationSettingsCommand)
|
|
20
|
-
.de(de_PutNotificationSettingsCommand)
|
|
14
|
+
.sc(PutNotificationSettings)
|
|
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 { ResetNotificationSettings } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ResetNotificationSettingsCommand 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("RolesAnywhere", "ResetNotificationSettings", {})
|
|
17
13
|
.n("RolesAnywhereClient", "ResetNotificationSettingsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ResetNotificationSettingsCommand)
|
|
20
|
-
.de(de_ResetNotificationSettingsCommand)
|
|
14
|
+
.sc(ResetNotificationSettings)
|
|
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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class TagResourceCommand 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("RolesAnywhere", "TagResource", {})
|
|
18
13
|
.n("RolesAnywhereClient", "TagResourceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_TagResourceCommand)
|
|
21
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
22
15
|
.build() {
|
|
23
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UntagResourceCommand 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("RolesAnywhere", "UntagResource", {})
|
|
18
13
|
.n("RolesAnywhereClient", "UntagResourceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UntagResourceCommand)
|
|
21
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
22
15
|
.build() {
|
|
23
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 { UpdateCrl } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateCrlCommand 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("RolesAnywhere", "UpdateCrl", {})
|
|
17
13
|
.n("RolesAnywhereClient", "UpdateCrlCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateCrlCommand)
|
|
20
|
-
.de(de_UpdateCrlCommand)
|
|
14
|
+
.sc(UpdateCrl)
|
|
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 { UpdateProfile } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateProfileCommand 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("RolesAnywhere", "UpdateProfile", {})
|
|
17
13
|
.n("RolesAnywhereClient", "UpdateProfileCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateProfileCommand)
|
|
20
|
-
.de(de_UpdateProfileCommand)
|
|
14
|
+
.sc(UpdateProfile)
|
|
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 { UpdateTrustAnchor } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateTrustAnchorCommand 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("RolesAnywhere", "UpdateTrustAnchor", {})
|
|
17
13
|
.n("RolesAnywhereClient", "UpdateTrustAnchorCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateTrustAnchorCommand)
|
|
20
|
-
.de(de_UpdateTrustAnchorCommand)
|
|
14
|
+
.sc(UpdateTrustAnchor)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { RolesAnywhereServiceException as __BaseException } from "./RolesAnywhereServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -75,33 +74,3 @@ export class TooManyTagsException extends __BaseException {
|
|
|
75
74
|
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
76
75
|
}
|
|
77
76
|
}
|
|
78
|
-
export const TagFilterSensitiveLog = (obj) => ({
|
|
79
|
-
...obj,
|
|
80
|
-
...(obj.key && { key: SENSITIVE_STRING }),
|
|
81
|
-
...(obj.value && { value: SENSITIVE_STRING }),
|
|
82
|
-
});
|
|
83
|
-
export const CreateProfileRequestFilterSensitiveLog = (obj) => ({
|
|
84
|
-
...obj,
|
|
85
|
-
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
86
|
-
});
|
|
87
|
-
export const CreateTrustAnchorRequestFilterSensitiveLog = (obj) => ({
|
|
88
|
-
...obj,
|
|
89
|
-
...(obj.source && { source: obj.source }),
|
|
90
|
-
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
91
|
-
});
|
|
92
|
-
export const ImportCrlRequestFilterSensitiveLog = (obj) => ({
|
|
93
|
-
...obj,
|
|
94
|
-
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
95
|
-
});
|
|
96
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
97
|
-
...obj,
|
|
98
|
-
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
99
|
-
});
|
|
100
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
101
|
-
...obj,
|
|
102
|
-
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
103
|
-
});
|
|
104
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
105
|
-
...obj,
|
|
106
|
-
...(obj.tagKeys && { tagKeys: SENSITIVE_STRING }),
|
|
107
|
-
});
|
|
@@ -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.rolesanywhere" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "RolesAnywhere",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|