@aws-sdk/client-rolesanywhere 3.477.0 → 3.481.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/commands/CreateProfileCommand.js +18 -41
- package/dist-cjs/commands/CreateTrustAnchorCommand.js +18 -41
- package/dist-cjs/commands/DeleteCrlCommand.js +18 -41
- package/dist-cjs/commands/DeleteProfileCommand.js +18 -41
- package/dist-cjs/commands/DeleteTrustAnchorCommand.js +18 -41
- package/dist-cjs/commands/DisableCrlCommand.js +18 -41
- package/dist-cjs/commands/DisableProfileCommand.js +18 -41
- package/dist-cjs/commands/DisableTrustAnchorCommand.js +18 -41
- package/dist-cjs/commands/EnableCrlCommand.js +18 -41
- package/dist-cjs/commands/EnableProfileCommand.js +18 -41
- package/dist-cjs/commands/EnableTrustAnchorCommand.js +18 -41
- package/dist-cjs/commands/GetCrlCommand.js +18 -41
- package/dist-cjs/commands/GetProfileCommand.js +18 -41
- package/dist-cjs/commands/GetSubjectCommand.js +18 -41
- package/dist-cjs/commands/GetTrustAnchorCommand.js +18 -41
- package/dist-cjs/commands/ImportCrlCommand.js +18 -41
- package/dist-cjs/commands/ListCrlsCommand.js +18 -41
- package/dist-cjs/commands/ListProfilesCommand.js +18 -41
- package/dist-cjs/commands/ListSubjectsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListTrustAnchorsCommand.js +18 -41
- package/dist-cjs/commands/PutNotificationSettingsCommand.js +18 -41
- package/dist-cjs/commands/ResetNotificationSettingsCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateCrlCommand.js +18 -41
- package/dist-cjs/commands/UpdateProfileCommand.js +18 -41
- package/dist-cjs/commands/UpdateTrustAnchorCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListCrlsPaginator.js +2 -23
- package/dist-cjs/pagination/ListProfilesPaginator.js +2 -23
- package/dist-cjs/pagination/ListSubjectsPaginator.js +2 -23
- package/dist-cjs/pagination/ListTrustAnchorsPaginator.js +2 -23
- package/dist-es/commands/CreateProfileCommand.js +18 -41
- package/dist-es/commands/CreateTrustAnchorCommand.js +18 -41
- package/dist-es/commands/DeleteCrlCommand.js +18 -41
- package/dist-es/commands/DeleteProfileCommand.js +18 -41
- package/dist-es/commands/DeleteTrustAnchorCommand.js +18 -41
- package/dist-es/commands/DisableCrlCommand.js +18 -41
- package/dist-es/commands/DisableProfileCommand.js +18 -41
- package/dist-es/commands/DisableTrustAnchorCommand.js +18 -41
- package/dist-es/commands/EnableCrlCommand.js +18 -41
- package/dist-es/commands/EnableProfileCommand.js +18 -41
- package/dist-es/commands/EnableTrustAnchorCommand.js +18 -41
- package/dist-es/commands/GetCrlCommand.js +18 -41
- package/dist-es/commands/GetProfileCommand.js +18 -41
- package/dist-es/commands/GetSubjectCommand.js +18 -41
- package/dist-es/commands/GetTrustAnchorCommand.js +18 -41
- package/dist-es/commands/ImportCrlCommand.js +18 -41
- package/dist-es/commands/ListCrlsCommand.js +18 -41
- package/dist-es/commands/ListProfilesCommand.js +18 -41
- package/dist-es/commands/ListSubjectsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListTrustAnchorsCommand.js +18 -41
- package/dist-es/commands/PutNotificationSettingsCommand.js +18 -41
- package/dist-es/commands/ResetNotificationSettingsCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateCrlCommand.js +18 -41
- package/dist-es/commands/UpdateProfileCommand.js +18 -41
- package/dist-es/commands/UpdateTrustAnchorCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListCrlsPaginator.js +2 -22
- package/dist-es/pagination/ListProfilesPaginator.js +2 -22
- package/dist-es/pagination/ListSubjectsPaginator.js +2 -22
- package/dist-es/pagination/ListTrustAnchorsPaginator.js +2 -22
- package/dist-types/commands/CreateProfileCommand.d.ts +6 -21
- package/dist-types/commands/CreateTrustAnchorCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCrlCommand.d.ts +6 -21
- package/dist-types/commands/DeleteProfileCommand.d.ts +6 -21
- package/dist-types/commands/DeleteTrustAnchorCommand.d.ts +6 -21
- package/dist-types/commands/DisableCrlCommand.d.ts +6 -21
- package/dist-types/commands/DisableProfileCommand.d.ts +6 -21
- package/dist-types/commands/DisableTrustAnchorCommand.d.ts +6 -21
- package/dist-types/commands/EnableCrlCommand.d.ts +6 -21
- package/dist-types/commands/EnableProfileCommand.d.ts +6 -21
- package/dist-types/commands/EnableTrustAnchorCommand.d.ts +6 -21
- package/dist-types/commands/GetCrlCommand.d.ts +6 -21
- package/dist-types/commands/GetProfileCommand.d.ts +6 -21
- package/dist-types/commands/GetSubjectCommand.d.ts +6 -21
- package/dist-types/commands/GetTrustAnchorCommand.d.ts +6 -21
- package/dist-types/commands/ImportCrlCommand.d.ts +6 -21
- package/dist-types/commands/ListCrlsCommand.d.ts +6 -21
- package/dist-types/commands/ListProfilesCommand.d.ts +6 -21
- package/dist-types/commands/ListSubjectsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListTrustAnchorsCommand.d.ts +6 -21
- package/dist-types/commands/PutNotificationSettingsCommand.d.ts +6 -21
- package/dist-types/commands/ResetNotificationSettingsCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateCrlCommand.d.ts +6 -21
- package/dist-types/commands/UpdateProfileCommand.d.ts +6 -21
- package/dist-types/commands/UpdateTrustAnchorCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListCrlsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSubjectsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTrustAnchorsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateTrustAnchorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteCrlCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteTrustAnchorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisableCrlCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisableProfileCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisableTrustAnchorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/EnableCrlCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/EnableProfileCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/EnableTrustAnchorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetCrlCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetSubjectCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetTrustAnchorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ImportCrlCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListCrlsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListSubjectsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTrustAnchorsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutNotificationSettingsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ResetNotificationSettingsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateCrlCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateTrustAnchorCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListCrlsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSubjectsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTrustAnchorsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { UntagResourceRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class UntagResourceCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "RolesAnywhereClient";
|
|
27
|
-
const commandName = "UntagResourceCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "RolesAnywhere",
|
|
36
|
-
operation: "UntagResource",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_UntagResourceCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UntagResourceCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class UntagResourceCommand 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("RolesAnywhere", "UntagResource", {})
|
|
20
|
+
.n("RolesAnywhereClient", "UntagResourceCommand")
|
|
21
|
+
.f(UntagResourceRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_UntagResourceCommand)
|
|
23
|
+
.de(de_UntagResourceCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateCrlCommand, se_UpdateCrlCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateCrlCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "RolesAnywhereClient";
|
|
26
|
-
const commandName = "UpdateCrlCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "RolesAnywhere",
|
|
35
|
-
operation: "UpdateCrl",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateCrlCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateCrlCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateCrlCommand 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("RolesAnywhere", "UpdateCrl", {})
|
|
19
|
+
.n("RolesAnywhereClient", "UpdateCrlCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateCrlCommand)
|
|
22
|
+
.de(de_UpdateCrlCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateProfileCommand, se_UpdateProfileCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateProfileCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "RolesAnywhereClient";
|
|
26
|
-
const commandName = "UpdateProfileCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "RolesAnywhere",
|
|
35
|
-
operation: "UpdateProfile",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateProfileCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateProfileCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateProfileCommand 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("RolesAnywhere", "UpdateProfile", {})
|
|
19
|
+
.n("RolesAnywhereClient", "UpdateProfileCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateProfileCommand)
|
|
22
|
+
.de(de_UpdateProfileCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateTrustAnchorCommand, se_UpdateTrustAnchorCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateTrustAnchorCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "RolesAnywhereClient";
|
|
26
|
-
const commandName = "UpdateTrustAnchorCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "RolesAnywhere",
|
|
35
|
-
operation: "UpdateTrustAnchor",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateTrustAnchorCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateTrustAnchorCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateTrustAnchorCommand 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("RolesAnywhere", "UpdateTrustAnchor", {})
|
|
19
|
+
.n("RolesAnywhereClient", "UpdateTrustAnchorCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateTrustAnchorCommand)
|
|
22
|
+
.de(de_UpdateTrustAnchorCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "rolesanywhere",
|
|
7
7
|
};
|
|
8
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
|
+
};
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCrlsCommand } from "../commands/ListCrlsCommand";
|
|
2
3
|
import { RolesAnywhereClient } from "../RolesAnywhereClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCrlsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCrls(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
if (config.client instanceof RolesAnywhereClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected RolesAnywhere | RolesAnywhereClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.nextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListCrls = createPaginator(RolesAnywhereClient, ListCrlsCommand, "nextToken", "nextToken", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListProfilesCommand, } from "../commands/ListProfilesCommand";
|
|
2
3
|
import { RolesAnywhereClient } from "../RolesAnywhereClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListProfilesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListProfiles(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
if (config.client instanceof RolesAnywhereClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected RolesAnywhere | RolesAnywhereClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.nextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListProfiles = createPaginator(RolesAnywhereClient, ListProfilesCommand, "nextToken", "nextToken", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListSubjectsCommand, } from "../commands/ListSubjectsCommand";
|
|
2
3
|
import { RolesAnywhereClient } from "../RolesAnywhereClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListSubjectsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListSubjects(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
if (config.client instanceof RolesAnywhereClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected RolesAnywhere | RolesAnywhereClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.nextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListSubjects = createPaginator(RolesAnywhereClient, ListSubjectsCommand, "nextToken", "nextToken", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTrustAnchorsCommand, } from "../commands/ListTrustAnchorsCommand";
|
|
2
3
|
import { RolesAnywhereClient } from "../RolesAnywhereClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTrustAnchorsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTrustAnchors(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
if (config.client instanceof RolesAnywhereClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected RolesAnywhere | RolesAnywhereClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.nextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListTrustAnchors = createPaginator(RolesAnywhereClient, ListTrustAnchorsCommand, "nextToken", "nextToken", "");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CreateProfileRequest, ProfileDetailResponse } from "../models/models_0";
|
|
5
4
|
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateProfileCommandInput extends CreateProfileRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateProfileCommandOutput extends ProfileDetailResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateProfileCommand_base: {
|
|
24
|
+
new (input: CreateProfileCommandInput): import("@smithy/smithy-client").CommandImpl<CreateProfileCommandInput, CreateProfileCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a <i>profile</i>, a list of the roles that Roles Anywhere service is trusted to assume. You use profiles to intersect permissions with IAM managed policies.</p>
|
|
@@ -94,23 +97,5 @@ export interface CreateProfileCommandOutput extends ProfileDetailResponse, __Met
|
|
|
94
97
|
* <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
|
|
95
98
|
*
|
|
96
99
|
*/
|
|
97
|
-
export declare class CreateProfileCommand extends
|
|
98
|
-
readonly input: CreateProfileCommandInput;
|
|
99
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
100
|
-
/**
|
|
101
|
-
* @public
|
|
102
|
-
*/
|
|
103
|
-
constructor(input: CreateProfileCommandInput);
|
|
104
|
-
/**
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
107
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateProfileCommandInput, CreateProfileCommandOutput>;
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
*/
|
|
111
|
-
private serialize;
|
|
112
|
-
/**
|
|
113
|
-
* @internal
|
|
114
|
-
*/
|
|
115
|
-
private deserialize;
|
|
100
|
+
export declare class CreateProfileCommand extends CreateProfileCommand_base {
|
|
116
101
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CreateTrustAnchorRequest, TrustAnchorDetailResponse } from "../models/models_0";
|
|
5
4
|
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateTrustAnchorCommandInput extends CreateTrustAnchorRequest
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateTrustAnchorCommandOutput extends TrustAnchorDetailResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateTrustAnchorCommand_base: {
|
|
24
|
+
new (input: CreateTrustAnchorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTrustAnchorCommandInput, CreateTrustAnchorCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a trust anchor to establish trust between IAM Roles Anywhere and
|
|
@@ -108,23 +111,5 @@ export interface CreateTrustAnchorCommandOutput extends TrustAnchorDetailRespons
|
|
|
108
111
|
* <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
|
|
109
112
|
*
|
|
110
113
|
*/
|
|
111
|
-
export declare class CreateTrustAnchorCommand extends
|
|
112
|
-
readonly input: CreateTrustAnchorCommandInput;
|
|
113
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
114
|
-
/**
|
|
115
|
-
* @public
|
|
116
|
-
*/
|
|
117
|
-
constructor(input: CreateTrustAnchorCommandInput);
|
|
118
|
-
/**
|
|
119
|
-
* @internal
|
|
120
|
-
*/
|
|
121
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTrustAnchorCommandInput, CreateTrustAnchorCommandOutput>;
|
|
122
|
-
/**
|
|
123
|
-
* @internal
|
|
124
|
-
*/
|
|
125
|
-
private serialize;
|
|
126
|
-
/**
|
|
127
|
-
* @internal
|
|
128
|
-
*/
|
|
129
|
-
private deserialize;
|
|
114
|
+
export declare class CreateTrustAnchorCommand extends CreateTrustAnchorCommand_base {
|
|
130
115
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CrlDetailResponse, ScalarCrlRequest } from "../models/models_0";
|
|
5
4
|
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteCrlCommandInput extends ScalarCrlRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteCrlCommandOutput extends CrlDetailResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteCrlCommand_base: {
|
|
24
|
+
new (input: DeleteCrlCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCrlCommandInput, DeleteCrlCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes a certificate revocation list (CRL).</p>
|
|
@@ -70,23 +73,5 @@ export interface DeleteCrlCommandOutput extends CrlDetailResponse, __MetadataBea
|
|
|
70
73
|
* <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
|
|
71
74
|
*
|
|
72
75
|
*/
|
|
73
|
-
export declare class DeleteCrlCommand extends
|
|
74
|
-
readonly input: DeleteCrlCommandInput;
|
|
75
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
-
/**
|
|
77
|
-
* @public
|
|
78
|
-
*/
|
|
79
|
-
constructor(input: DeleteCrlCommandInput);
|
|
80
|
-
/**
|
|
81
|
-
* @internal
|
|
82
|
-
*/
|
|
83
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCrlCommandInput, DeleteCrlCommandOutput>;
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
private serialize;
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
private deserialize;
|
|
76
|
+
export declare class DeleteCrlCommand extends DeleteCrlCommand_base {
|
|
92
77
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ProfileDetailResponse, ScalarProfileRequest } from "../models/models_0";
|
|
5
4
|
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteProfileCommandInput extends ScalarProfileRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteProfileCommandOutput extends ProfileDetailResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteProfileCommand_base: {
|
|
24
|
+
new (input: DeleteProfileCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteProfileCommandInput, DeleteProfileCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes a profile.</p>
|
|
@@ -78,23 +81,5 @@ export interface DeleteProfileCommandOutput extends ProfileDetailResponse, __Met
|
|
|
78
81
|
* <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
|
|
79
82
|
*
|
|
80
83
|
*/
|
|
81
|
-
export declare class DeleteProfileCommand extends
|
|
82
|
-
readonly input: DeleteProfileCommandInput;
|
|
83
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
84
|
-
/**
|
|
85
|
-
* @public
|
|
86
|
-
*/
|
|
87
|
-
constructor(input: DeleteProfileCommandInput);
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteProfileCommandInput, DeleteProfileCommandOutput>;
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
95
|
-
private serialize;
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
|
-
private deserialize;
|
|
84
|
+
export declare class DeleteProfileCommand extends DeleteProfileCommand_base {
|
|
100
85
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ScalarTrustAnchorRequest, TrustAnchorDetailResponse } from "../models/models_0";
|
|
5
4
|
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteTrustAnchorCommandInput extends ScalarTrustAnchorRequest
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteTrustAnchorCommandOutput extends TrustAnchorDetailResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteTrustAnchorCommand_base: {
|
|
24
|
+
new (input: DeleteTrustAnchorCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTrustAnchorCommandInput, DeleteTrustAnchorCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes a trust anchor.</p>
|
|
@@ -84,23 +87,5 @@ export interface DeleteTrustAnchorCommandOutput extends TrustAnchorDetailRespons
|
|
|
84
87
|
* <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
|
|
85
88
|
*
|
|
86
89
|
*/
|
|
87
|
-
export declare class DeleteTrustAnchorCommand extends
|
|
88
|
-
readonly input: DeleteTrustAnchorCommandInput;
|
|
89
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
90
|
-
/**
|
|
91
|
-
* @public
|
|
92
|
-
*/
|
|
93
|
-
constructor(input: DeleteTrustAnchorCommandInput);
|
|
94
|
-
/**
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
97
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTrustAnchorCommandInput, DeleteTrustAnchorCommandOutput>;
|
|
98
|
-
/**
|
|
99
|
-
* @internal
|
|
100
|
-
*/
|
|
101
|
-
private serialize;
|
|
102
|
-
/**
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
105
|
-
private deserialize;
|
|
90
|
+
export declare class DeleteTrustAnchorCommand extends DeleteTrustAnchorCommand_base {
|
|
106
91
|
}
|