@aws-sdk/client-rolesanywhere 3.620.1 → 3.621.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 +3 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/commands/CreateProfileCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAttributeMappingCommand.d.ts +1 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +1 -0
- package/dist-types/commands/DisableProfileCommand.d.ts +1 -0
- package/dist-types/commands/EnableProfileCommand.d.ts +1 -0
- package/dist-types/commands/GetProfileCommand.d.ts +1 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +1 -0
- package/dist-types/commands/PutAttributeMappingCommand.d.ts +1 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +15 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -386,6 +386,7 @@ var se_CreateProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
386
386
|
let body;
|
|
387
387
|
body = JSON.stringify(
|
|
388
388
|
(0, import_smithy_client.take)(input, {
|
|
389
|
+
acceptRoleSessionName: [],
|
|
389
390
|
durationSeconds: [],
|
|
390
391
|
enabled: [],
|
|
391
392
|
managedPolicyArns: (_) => (0, import_smithy_client._json)(_),
|
|
@@ -734,6 +735,7 @@ var se_UpdateProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
734
735
|
let body;
|
|
735
736
|
body = JSON.stringify(
|
|
736
737
|
(0, import_smithy_client.take)(input, {
|
|
738
|
+
acceptRoleSessionName: [],
|
|
737
739
|
durationSeconds: [],
|
|
738
740
|
managedPolicyArns: (_) => (0, import_smithy_client._json)(_),
|
|
739
741
|
name: [],
|
|
@@ -1307,6 +1309,7 @@ var de_InstanceProperty = /* @__PURE__ */ __name((output, context) => {
|
|
|
1307
1309
|
}, "de_InstanceProperty");
|
|
1308
1310
|
var de_ProfileDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1309
1311
|
return (0, import_smithy_client.take)(output, {
|
|
1312
|
+
acceptRoleSessionName: import_smithy_client.expectBoolean,
|
|
1310
1313
|
attributeMappings: import_smithy_client._json,
|
|
1311
1314
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1312
1315
|
createdBy: import_smithy_client.expectString,
|
|
@@ -11,6 +11,7 @@ export const se_CreateProfileCommand = async (input, context) => {
|
|
|
11
11
|
b.bp("/profiles");
|
|
12
12
|
let body;
|
|
13
13
|
body = JSON.stringify(take(input, {
|
|
14
|
+
acceptRoleSessionName: [],
|
|
14
15
|
durationSeconds: [],
|
|
15
16
|
enabled: [],
|
|
16
17
|
managedPolicyArns: (_) => _json(_),
|
|
@@ -341,6 +342,7 @@ export const se_UpdateProfileCommand = async (input, context) => {
|
|
|
341
342
|
b.p("profileId", () => input.profileId, "{profileId}", false);
|
|
342
343
|
let body;
|
|
343
344
|
body = JSON.stringify(take(input, {
|
|
345
|
+
acceptRoleSessionName: [],
|
|
344
346
|
durationSeconds: [],
|
|
345
347
|
managedPolicyArns: (_) => _json(_),
|
|
346
348
|
name: [],
|
|
@@ -917,6 +919,7 @@ const de_InstanceProperty = (output, context) => {
|
|
|
917
919
|
};
|
|
918
920
|
const de_ProfileDetail = (output, context) => {
|
|
919
921
|
return take(output, {
|
|
922
|
+
acceptRoleSessionName: __expectBoolean,
|
|
920
923
|
attributeMappings: _json,
|
|
921
924
|
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
922
925
|
createdBy: __expectString,
|
|
@@ -56,6 +56,7 @@ declare const CreateProfileCommand_base: {
|
|
|
56
56
|
* value: "STRING_VALUE", // required
|
|
57
57
|
* },
|
|
58
58
|
* ],
|
|
59
|
+
* acceptRoleSessionName: true || false,
|
|
59
60
|
* };
|
|
60
61
|
* const command = new CreateProfileCommand(input);
|
|
61
62
|
* const response = await client.send(command);
|
|
@@ -77,6 +78,7 @@ declare const CreateProfileCommand_base: {
|
|
|
77
78
|
* // createdAt: new Date("TIMESTAMP"),
|
|
78
79
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
79
80
|
* // durationSeconds: Number("int"),
|
|
81
|
+
* // acceptRoleSessionName: true || false,
|
|
80
82
|
* // attributeMappings: [ // AttributeMappings
|
|
81
83
|
* // { // AttributeMapping
|
|
82
84
|
* // certificateField: "STRING_VALUE",
|
|
@@ -61,6 +61,7 @@ declare const DeleteAttributeMappingCommand_base: {
|
|
|
61
61
|
* // createdAt: new Date("TIMESTAMP"),
|
|
62
62
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
63
63
|
* // durationSeconds: Number("int"),
|
|
64
|
+
* // acceptRoleSessionName: true || false,
|
|
64
65
|
* // attributeMappings: [ // AttributeMappings
|
|
65
66
|
* // { // AttributeMapping
|
|
66
67
|
* // certificateField: "STRING_VALUE",
|
|
@@ -61,6 +61,7 @@ declare const DeleteProfileCommand_base: {
|
|
|
61
61
|
* // createdAt: new Date("TIMESTAMP"),
|
|
62
62
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
63
63
|
* // durationSeconds: Number("int"),
|
|
64
|
+
* // acceptRoleSessionName: true || false,
|
|
64
65
|
* // attributeMappings: [ // AttributeMappings
|
|
65
66
|
* // { // AttributeMapping
|
|
66
67
|
* // certificateField: "STRING_VALUE",
|
|
@@ -61,6 +61,7 @@ declare const DisableProfileCommand_base: {
|
|
|
61
61
|
* // createdAt: new Date("TIMESTAMP"),
|
|
62
62
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
63
63
|
* // durationSeconds: Number("int"),
|
|
64
|
+
* // acceptRoleSessionName: true || false,
|
|
64
65
|
* // attributeMappings: [ // AttributeMappings
|
|
65
66
|
* // { // AttributeMapping
|
|
66
67
|
* // certificateField: "STRING_VALUE",
|
|
@@ -61,6 +61,7 @@ declare const EnableProfileCommand_base: {
|
|
|
61
61
|
* // createdAt: new Date("TIMESTAMP"),
|
|
62
62
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
63
63
|
* // durationSeconds: Number("int"),
|
|
64
|
+
* // acceptRoleSessionName: true || false,
|
|
64
65
|
* // attributeMappings: [ // AttributeMappings
|
|
65
66
|
* // { // AttributeMapping
|
|
66
67
|
* // certificateField: "STRING_VALUE",
|
|
@@ -61,6 +61,7 @@ declare const GetProfileCommand_base: {
|
|
|
61
61
|
* // createdAt: new Date("TIMESTAMP"),
|
|
62
62
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
63
63
|
* // durationSeconds: Number("int"),
|
|
64
|
+
* // acceptRoleSessionName: true || false,
|
|
64
65
|
* // attributeMappings: [ // AttributeMappings
|
|
65
66
|
* // { // AttributeMapping
|
|
66
67
|
* // certificateField: "STRING_VALUE",
|
|
@@ -64,6 +64,7 @@ declare const ListProfilesCommand_base: {
|
|
|
64
64
|
* // createdAt: new Date("TIMESTAMP"),
|
|
65
65
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
66
66
|
* // durationSeconds: Number("int"),
|
|
67
|
+
* // acceptRoleSessionName: true || false,
|
|
67
68
|
* // attributeMappings: [ // AttributeMappings
|
|
68
69
|
* // { // AttributeMapping
|
|
69
70
|
* // certificateField: "STRING_VALUE",
|
|
@@ -64,6 +64,7 @@ declare const PutAttributeMappingCommand_base: {
|
|
|
64
64
|
* // createdAt: new Date("TIMESTAMP"),
|
|
65
65
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
66
66
|
* // durationSeconds: Number("int"),
|
|
67
|
+
* // acceptRoleSessionName: true || false,
|
|
67
68
|
* // attributeMappings: [ // AttributeMappings
|
|
68
69
|
* // { // AttributeMapping
|
|
69
70
|
* // certificateField: "STRING_VALUE",
|
|
@@ -51,6 +51,7 @@ declare const UpdateProfileCommand_base: {
|
|
|
51
51
|
* "STRING_VALUE",
|
|
52
52
|
* ],
|
|
53
53
|
* durationSeconds: Number("int"),
|
|
54
|
+
* acceptRoleSessionName: true || false,
|
|
54
55
|
* };
|
|
55
56
|
* const command = new UpdateProfileCommand(input);
|
|
56
57
|
* const response = await client.send(command);
|
|
@@ -72,6 +73,7 @@ declare const UpdateProfileCommand_base: {
|
|
|
72
73
|
* // createdAt: new Date("TIMESTAMP"),
|
|
73
74
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
74
75
|
* // durationSeconds: Number("int"),
|
|
76
|
+
* // acceptRoleSessionName: true || false,
|
|
75
77
|
* // attributeMappings: [ // AttributeMappings
|
|
76
78
|
* // { // AttributeMapping
|
|
77
79
|
* // certificateField: "STRING_VALUE",
|
|
@@ -114,6 +114,11 @@ export interface CreateProfileRequest {
|
|
|
114
114
|
* @public
|
|
115
115
|
*/
|
|
116
116
|
tags?: Tag[];
|
|
117
|
+
/**
|
|
118
|
+
* <p>Used to determine if a custom role session name will be accepted in a temporary credential request.</p>
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
acceptRoleSessionName?: boolean;
|
|
117
122
|
}
|
|
118
123
|
/**
|
|
119
124
|
* <p>The state of the profile after a read or write operation.</p>
|
|
@@ -182,6 +187,11 @@ export interface ProfileDetail {
|
|
|
182
187
|
* @public
|
|
183
188
|
*/
|
|
184
189
|
durationSeconds?: number;
|
|
190
|
+
/**
|
|
191
|
+
* <p>Used to determine if a custom role session name will be accepted in a temporary credential request.</p>
|
|
192
|
+
* @public
|
|
193
|
+
*/
|
|
194
|
+
acceptRoleSessionName?: boolean;
|
|
185
195
|
/**
|
|
186
196
|
* <p>A mapping applied to the authenticating end-entity certificate.</p>
|
|
187
197
|
* @public
|
|
@@ -993,6 +1003,11 @@ export interface UpdateProfileRequest {
|
|
|
993
1003
|
* @public
|
|
994
1004
|
*/
|
|
995
1005
|
durationSeconds?: number;
|
|
1006
|
+
/**
|
|
1007
|
+
* <p>Used to determine if a custom role session name will be accepted in a temporary credential request.</p>
|
|
1008
|
+
* @public
|
|
1009
|
+
*/
|
|
1010
|
+
acceptRoleSessionName?: boolean;
|
|
996
1011
|
}
|
|
997
1012
|
/**
|
|
998
1013
|
* @public
|
|
@@ -34,6 +34,7 @@ export interface CreateProfileRequest {
|
|
|
34
34
|
durationSeconds?: number;
|
|
35
35
|
enabled?: boolean;
|
|
36
36
|
tags?: Tag[];
|
|
37
|
+
acceptRoleSessionName?: boolean;
|
|
37
38
|
}
|
|
38
39
|
export interface ProfileDetail {
|
|
39
40
|
profileId?: string;
|
|
@@ -48,6 +49,7 @@ export interface ProfileDetail {
|
|
|
48
49
|
createdAt?: Date;
|
|
49
50
|
updatedAt?: Date;
|
|
50
51
|
durationSeconds?: number;
|
|
52
|
+
acceptRoleSessionName?: boolean;
|
|
51
53
|
attributeMappings?: AttributeMapping[];
|
|
52
54
|
}
|
|
53
55
|
export interface ProfileDetailResponse {
|
|
@@ -275,6 +277,7 @@ export interface UpdateProfileRequest {
|
|
|
275
277
|
roleArns?: string[];
|
|
276
278
|
managedPolicyArns?: string[];
|
|
277
279
|
durationSeconds?: number;
|
|
280
|
+
acceptRoleSessionName?: boolean;
|
|
278
281
|
}
|
|
279
282
|
export interface PutNotificationSettingsRequest {
|
|
280
283
|
trustAnchorId: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rolesanywhere",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rolesanywhere Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.621.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-rolesanywhere",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.621.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.621.0",
|
|
25
|
+
"@aws-sdk/core": "3.621.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.621.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
@@ -34,26 +34,26 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|
|
37
|
-
"@smithy/core": "^2.3.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
37
|
+
"@smithy/core": "^2.3.1",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.4",
|
|
39
39
|
"@smithy/hash-node": "^3.0.3",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
41
41
|
"@smithy/middleware-content-length": "^3.0.5",
|
|
42
42
|
"@smithy/middleware-endpoint": "^3.1.0",
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.13",
|
|
44
44
|
"@smithy/middleware-serde": "^3.0.3",
|
|
45
45
|
"@smithy/middleware-stack": "^3.0.3",
|
|
46
46
|
"@smithy/node-config-provider": "^3.1.4",
|
|
47
47
|
"@smithy/node-http-handler": "^3.1.4",
|
|
48
48
|
"@smithy/protocol-http": "^4.1.0",
|
|
49
|
-
"@smithy/smithy-client": "^3.1.
|
|
49
|
+
"@smithy/smithy-client": "^3.1.11",
|
|
50
50
|
"@smithy/types": "^3.3.0",
|
|
51
51
|
"@smithy/url-parser": "^3.0.3",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.13",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.13",
|
|
57
57
|
"@smithy/util-endpoints": "^2.0.5",
|
|
58
58
|
"@smithy/util-middleware": "^3.0.3",
|
|
59
59
|
"@smithy/util-retry": "^3.0.3",
|