@aws-sdk/client-rolesanywhere 3.180.0 → 3.183.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/CHANGELOG.md +20 -0
- package/dist-cjs/protocols/Aws_restJson1.js +32 -26
- package/dist-es/RolesAnywhere.js +106 -113
- package/dist-es/RolesAnywhereClient.js +22 -28
- package/dist-es/commands/CreateProfileCommand.js +21 -28
- package/dist-es/commands/CreateTrustAnchorCommand.js +21 -28
- package/dist-es/commands/DeleteCrlCommand.js +21 -28
- package/dist-es/commands/DeleteProfileCommand.js +21 -28
- package/dist-es/commands/DeleteTrustAnchorCommand.js +21 -28
- package/dist-es/commands/DisableCrlCommand.js +21 -28
- package/dist-es/commands/DisableProfileCommand.js +21 -28
- package/dist-es/commands/DisableTrustAnchorCommand.js +21 -28
- package/dist-es/commands/EnableCrlCommand.js +21 -28
- package/dist-es/commands/EnableProfileCommand.js +21 -28
- package/dist-es/commands/EnableTrustAnchorCommand.js +21 -28
- package/dist-es/commands/GetCrlCommand.js +21 -28
- package/dist-es/commands/GetProfileCommand.js +21 -28
- package/dist-es/commands/GetSubjectCommand.js +21 -28
- package/dist-es/commands/GetTrustAnchorCommand.js +21 -28
- package/dist-es/commands/ImportCrlCommand.js +21 -28
- package/dist-es/commands/ListCrlsCommand.js +21 -28
- package/dist-es/commands/ListProfilesCommand.js +21 -28
- package/dist-es/commands/ListSubjectsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListTrustAnchorsCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateCrlCommand.js +21 -28
- package/dist-es/commands/UpdateProfileCommand.js +21 -28
- package/dist-es/commands/UpdateTrustAnchorCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/RolesAnywhereServiceException.js +5 -10
- package/dist-es/models/models_0.js +163 -83
- package/dist-es/pagination/ListCrlsPaginator.js +24 -67
- package/dist-es/pagination/ListProfilesPaginator.js +24 -67
- package/dist-es/pagination/ListSubjectsPaginator.js +24 -67
- package/dist-es/pagination/ListTrustAnchorsPaginator.js +24 -67
- package/dist-es/protocols/Aws_restJson1.js +1558 -2302
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class TagResourceCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "RolesAnywhereClient";
|
|
15
|
+
const commandName = "TagResourceCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
TagResourceCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1TagResourceCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1TagResourceCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { TagResourceCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UntagResourceCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "RolesAnywhereClient";
|
|
15
|
+
const commandName = "UntagResourceCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UntagResourceCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UntagResourceCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UntagResourceCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UntagResourceCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { CrlDetailResponseFilterSensitiveLog, UpdateCrlRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateCrlCommand, serializeAws_restJson1UpdateCrlCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateCrlCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "RolesAnywhereClient";
|
|
15
|
+
const commandName = "UpdateCrlCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateCrlRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CrlDetailResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateCrlCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UpdateCrlCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateCrlCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateCrlCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { ProfileDetailResponseFilterSensitiveLog, UpdateProfileRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateProfileCommand, serializeAws_restJson1UpdateProfileCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateProfileCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "RolesAnywhereClient";
|
|
15
|
+
const commandName = "UpdateProfileCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateProfileRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: ProfileDetailResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateProfileCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UpdateProfileCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateProfileCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateProfileCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { TrustAnchorDetailResponseFilterSensitiveLog, UpdateTrustAnchorRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateTrustAnchorCommand, serializeAws_restJson1UpdateTrustAnchorCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateTrustAnchorCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "RolesAnywhereClient";
|
|
15
|
+
const commandName = "UpdateTrustAnchorCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateTrustAnchorRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: TrustAnchorDetailResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateTrustAnchorCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UpdateTrustAnchorCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateTrustAnchorCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateTrustAnchorCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
const regionHash = {};
|
|
3
|
+
const partitionHash = {
|
|
5
4
|
aws: {
|
|
6
5
|
regions: [
|
|
7
6
|
"af-south-1",
|
|
@@ -121,8 +120,9 @@ var partitionHash = {
|
|
|
121
120
|
],
|
|
122
121
|
},
|
|
123
122
|
};
|
|
124
|
-
export
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
123
|
+
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
124
|
+
...options,
|
|
125
|
+
signingService: "rolesanywhere",
|
|
126
|
+
regionHash,
|
|
127
|
+
partitionHash,
|
|
128
|
+
});
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.setPrototypeOf(_this, RolesAnywhereServiceException.prototype);
|
|
8
|
-
return _this;
|
|
2
|
+
export class RolesAnywhereServiceException extends __ServiceException {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
super(options);
|
|
5
|
+
Object.setPrototypeOf(this, RolesAnywhereServiceException.prototype);
|
|
9
6
|
}
|
|
10
|
-
|
|
11
|
-
}(__ServiceException));
|
|
12
|
-
export { RolesAnywhereServiceException };
|
|
7
|
+
}
|
|
@@ -1,33 +1,32 @@
|
|
|
1
|
-
import { __assign, __extends } from "tslib";
|
|
2
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
2
|
import { RolesAnywhereServiceException as __BaseException } from "./RolesAnywhereServiceException";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
constructor(opts) {
|
|
5
|
+
super({
|
|
6
|
+
name: "AccessDeniedException",
|
|
7
|
+
$fault: "client",
|
|
8
|
+
...opts,
|
|
9
|
+
});
|
|
10
|
+
this.name = "AccessDeniedException";
|
|
11
|
+
this.$fault = "client";
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
13
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
}
|
|
15
|
+
export class ValidationException extends __BaseException {
|
|
16
|
+
constructor(opts) {
|
|
17
|
+
super({
|
|
18
|
+
name: "ValidationException",
|
|
19
|
+
$fault: "client",
|
|
20
|
+
...opts,
|
|
21
|
+
});
|
|
22
|
+
this.name = "ValidationException";
|
|
23
|
+
this.$fault = "client";
|
|
24
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
24
25
|
}
|
|
25
|
-
|
|
26
|
-
}(__BaseException));
|
|
27
|
-
export { ValidationException };
|
|
26
|
+
}
|
|
28
27
|
export var SourceData;
|
|
29
28
|
(function (SourceData) {
|
|
30
|
-
SourceData.visit =
|
|
29
|
+
SourceData.visit = (value, visitor) => {
|
|
31
30
|
if (value.x509CertificateData !== undefined)
|
|
32
31
|
return visitor.x509CertificateData(value.x509CertificateData);
|
|
33
32
|
if (value.acmPcaArn !== undefined)
|
|
@@ -41,70 +40,151 @@ export var TrustAnchorType;
|
|
|
41
40
|
TrustAnchorType["CERTIFICATE_BUNDLE"] = "CERTIFICATE_BUNDLE";
|
|
42
41
|
TrustAnchorType["SELF_SIGNED_REPOSITORY"] = "SELF_SIGNED_REPOSITORY";
|
|
43
42
|
})(TrustAnchorType || (TrustAnchorType = {}));
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
43
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
44
|
+
constructor(opts) {
|
|
45
|
+
super({
|
|
46
|
+
name: "ResourceNotFoundException",
|
|
47
|
+
$fault: "client",
|
|
48
|
+
...opts,
|
|
49
|
+
});
|
|
50
|
+
this.name = "ResourceNotFoundException";
|
|
51
|
+
this.$fault = "client";
|
|
52
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
52
53
|
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
54
|
+
}
|
|
55
|
+
export class TooManyTagsException extends __BaseException {
|
|
56
|
+
constructor(opts) {
|
|
57
|
+
super({
|
|
58
|
+
name: "TooManyTagsException",
|
|
59
|
+
$fault: "client",
|
|
60
|
+
...opts,
|
|
61
|
+
});
|
|
62
|
+
this.name = "TooManyTagsException";
|
|
63
|
+
this.$fault = "client";
|
|
64
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
64
65
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
export
|
|
72
|
-
|
|
73
|
-
|
|
66
|
+
}
|
|
67
|
+
export const TagFilterSensitiveLog = (obj) => ({
|
|
68
|
+
...obj,
|
|
69
|
+
...(obj.key && { key: SENSITIVE_STRING }),
|
|
70
|
+
...(obj.value && { value: SENSITIVE_STRING }),
|
|
71
|
+
});
|
|
72
|
+
export const CreateProfileRequestFilterSensitiveLog = (obj) => ({
|
|
73
|
+
...obj,
|
|
74
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
75
|
+
});
|
|
76
|
+
export const ProfileDetailFilterSensitiveLog = (obj) => ({
|
|
77
|
+
...obj,
|
|
78
|
+
});
|
|
79
|
+
export const ProfileDetailResponseFilterSensitiveLog = (obj) => ({
|
|
80
|
+
...obj,
|
|
81
|
+
});
|
|
82
|
+
export const SourceDataFilterSensitiveLog = (obj) => {
|
|
74
83
|
if (obj.x509CertificateData !== undefined)
|
|
75
84
|
return { x509CertificateData: obj.x509CertificateData };
|
|
76
85
|
if (obj.acmPcaArn !== undefined)
|
|
77
86
|
return { acmPcaArn: obj.acmPcaArn };
|
|
78
87
|
if (obj.$unknown !== undefined)
|
|
79
|
-
return
|
|
88
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
80
89
|
};
|
|
81
|
-
export
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
export
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
export
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
export
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
export
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
export
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
export
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
export
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
export
|
|
90
|
+
export const SourceFilterSensitiveLog = (obj) => ({
|
|
91
|
+
...obj,
|
|
92
|
+
...(obj.sourceData && { sourceData: SourceDataFilterSensitiveLog(obj.sourceData) }),
|
|
93
|
+
});
|
|
94
|
+
export const CreateTrustAnchorRequestFilterSensitiveLog = (obj) => ({
|
|
95
|
+
...obj,
|
|
96
|
+
...(obj.source && { source: SourceFilterSensitiveLog(obj.source) }),
|
|
97
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
98
|
+
});
|
|
99
|
+
export const TrustAnchorDetailFilterSensitiveLog = (obj) => ({
|
|
100
|
+
...obj,
|
|
101
|
+
...(obj.source && { source: SourceFilterSensitiveLog(obj.source) }),
|
|
102
|
+
});
|
|
103
|
+
export const TrustAnchorDetailResponseFilterSensitiveLog = (obj) => ({
|
|
104
|
+
...obj,
|
|
105
|
+
...(obj.trustAnchor && { trustAnchor: TrustAnchorDetailFilterSensitiveLog(obj.trustAnchor) }),
|
|
106
|
+
});
|
|
107
|
+
export const CredentialSummaryFilterSensitiveLog = (obj) => ({
|
|
108
|
+
...obj,
|
|
109
|
+
});
|
|
110
|
+
export const CrlDetailFilterSensitiveLog = (obj) => ({
|
|
111
|
+
...obj,
|
|
112
|
+
});
|
|
113
|
+
export const CrlDetailResponseFilterSensitiveLog = (obj) => ({
|
|
114
|
+
...obj,
|
|
115
|
+
});
|
|
116
|
+
export const ScalarCrlRequestFilterSensitiveLog = (obj) => ({
|
|
117
|
+
...obj,
|
|
118
|
+
});
|
|
119
|
+
export const ImportCrlRequestFilterSensitiveLog = (obj) => ({
|
|
120
|
+
...obj,
|
|
121
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
122
|
+
});
|
|
123
|
+
export const ListCrlsResponseFilterSensitiveLog = (obj) => ({
|
|
124
|
+
...obj,
|
|
125
|
+
});
|
|
126
|
+
export const ListRequestFilterSensitiveLog = (obj) => ({
|
|
127
|
+
...obj,
|
|
128
|
+
});
|
|
129
|
+
export const UpdateCrlRequestFilterSensitiveLog = (obj) => ({
|
|
130
|
+
...obj,
|
|
131
|
+
});
|
|
132
|
+
export const ScalarProfileRequestFilterSensitiveLog = (obj) => ({
|
|
133
|
+
...obj,
|
|
134
|
+
});
|
|
135
|
+
export const ScalarTrustAnchorRequestFilterSensitiveLog = (obj) => ({
|
|
136
|
+
...obj,
|
|
137
|
+
});
|
|
138
|
+
export const ScalarSubjectRequestFilterSensitiveLog = (obj) => ({
|
|
139
|
+
...obj,
|
|
140
|
+
});
|
|
141
|
+
export const InstancePropertyFilterSensitiveLog = (obj) => ({
|
|
142
|
+
...obj,
|
|
143
|
+
});
|
|
144
|
+
export const SubjectDetailFilterSensitiveLog = (obj) => ({
|
|
145
|
+
...obj,
|
|
146
|
+
});
|
|
147
|
+
export const SubjectDetailResponseFilterSensitiveLog = (obj) => ({
|
|
148
|
+
...obj,
|
|
149
|
+
});
|
|
150
|
+
export const ListProfilesResponseFilterSensitiveLog = (obj) => ({
|
|
151
|
+
...obj,
|
|
152
|
+
});
|
|
153
|
+
export const SubjectSummaryFilterSensitiveLog = (obj) => ({
|
|
154
|
+
...obj,
|
|
155
|
+
});
|
|
156
|
+
export const ListSubjectsResponseFilterSensitiveLog = (obj) => ({
|
|
157
|
+
...obj,
|
|
158
|
+
});
|
|
159
|
+
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
160
|
+
...obj,
|
|
161
|
+
});
|
|
162
|
+
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
163
|
+
...obj,
|
|
164
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
165
|
+
});
|
|
166
|
+
export const ListTrustAnchorsResponseFilterSensitiveLog = (obj) => ({
|
|
167
|
+
...obj,
|
|
168
|
+
...(obj.trustAnchors && { trustAnchors: obj.trustAnchors.map((item) => TrustAnchorDetailFilterSensitiveLog(item)) }),
|
|
169
|
+
});
|
|
170
|
+
export const UpdateProfileRequestFilterSensitiveLog = (obj) => ({
|
|
171
|
+
...obj,
|
|
172
|
+
});
|
|
173
|
+
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
174
|
+
...obj,
|
|
175
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
176
|
+
});
|
|
177
|
+
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
178
|
+
...obj,
|
|
179
|
+
});
|
|
180
|
+
export const UpdateTrustAnchorRequestFilterSensitiveLog = (obj) => ({
|
|
181
|
+
...obj,
|
|
182
|
+
...(obj.source && { source: SourceFilterSensitiveLog(obj.source) }),
|
|
183
|
+
});
|
|
184
|
+
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
185
|
+
...obj,
|
|
186
|
+
...(obj.tagKeys && { tagKeys: SENSITIVE_STRING }),
|
|
187
|
+
});
|
|
188
|
+
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
189
|
+
...obj,
|
|
190
|
+
});
|