@aws-sdk/client-rolesanywhere 3.556.0 → 3.558.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/README.md +16 -0
- package/dist-cjs/index.js +108 -0
- package/dist-es/RolesAnywhere.js +4 -0
- package/dist-es/commands/DeleteAttributeMappingCommand.js +24 -0
- package/dist-es/commands/PutAttributeMappingCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +59 -0
- package/dist-types/RolesAnywhere.d.ts +14 -0
- package/dist-types/RolesAnywhereClient.d.ts +4 -2
- package/dist-types/commands/CreateProfileCommand.d.ts +10 -0
- package/dist-types/commands/DeleteAttributeMappingCommand.d.ts +99 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +10 -0
- package/dist-types/commands/DisableProfileCommand.d.ts +10 -0
- package/dist-types/commands/EnableProfileCommand.d.ts +10 -0
- package/dist-types/commands/GetProfileCommand.d.ts +10 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +10 -0
- package/dist-types/commands/PutAttributeMappingCommand.d.ts +102 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +10 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +105 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/RolesAnywhere.d.ts +34 -0
- package/dist-types/ts3.4/RolesAnywhereClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DeleteAttributeMappingCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PutAttributeMappingCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +1 -1
|
@@ -7,6 +7,20 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
7
7
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
|
+
export declare const CertificateField: {
|
|
11
|
+
readonly x509Issuer: "x509Issuer";
|
|
12
|
+
readonly x509SAN: "x509SAN";
|
|
13
|
+
readonly x509Subject: "x509Subject";
|
|
14
|
+
};
|
|
15
|
+
export type CertificateField =
|
|
16
|
+
(typeof CertificateField)[keyof typeof CertificateField];
|
|
17
|
+
export interface MappingRule {
|
|
18
|
+
specifier: string | undefined;
|
|
19
|
+
}
|
|
20
|
+
export interface AttributeMapping {
|
|
21
|
+
certificateField?: CertificateField;
|
|
22
|
+
mappingRules?: MappingRule[];
|
|
23
|
+
}
|
|
10
24
|
export interface Tag {
|
|
11
25
|
key: string | undefined;
|
|
12
26
|
value: string | undefined;
|
|
@@ -34,6 +48,7 @@ export interface ProfileDetail {
|
|
|
34
48
|
createdAt?: Date;
|
|
35
49
|
updatedAt?: Date;
|
|
36
50
|
durationSeconds?: number;
|
|
51
|
+
attributeMappings?: AttributeMapping[];
|
|
37
52
|
}
|
|
38
53
|
export interface ProfileDetailResponse {
|
|
39
54
|
profile?: ProfileDetail;
|
|
@@ -178,6 +193,14 @@ export interface UpdateCrlRequest {
|
|
|
178
193
|
name?: string;
|
|
179
194
|
crlData?: Uint8Array;
|
|
180
195
|
}
|
|
196
|
+
export interface DeleteAttributeMappingRequest {
|
|
197
|
+
profileId: string | undefined;
|
|
198
|
+
certificateField: CertificateField | undefined;
|
|
199
|
+
specifiers?: string[];
|
|
200
|
+
}
|
|
201
|
+
export interface DeleteAttributeMappingResponse {
|
|
202
|
+
profile: ProfileDetail | undefined;
|
|
203
|
+
}
|
|
181
204
|
export interface ScalarProfileRequest {
|
|
182
205
|
profileId: string | undefined;
|
|
183
206
|
}
|
|
@@ -237,6 +260,14 @@ export interface NotificationSettingKey {
|
|
|
237
260
|
event: NotificationEvent | undefined;
|
|
238
261
|
channel?: NotificationChannel;
|
|
239
262
|
}
|
|
263
|
+
export interface PutAttributeMappingRequest {
|
|
264
|
+
profileId: string | undefined;
|
|
265
|
+
certificateField: CertificateField | undefined;
|
|
266
|
+
mappingRules: MappingRule[] | undefined;
|
|
267
|
+
}
|
|
268
|
+
export interface PutAttributeMappingResponse {
|
|
269
|
+
profile: ProfileDetail | undefined;
|
|
270
|
+
}
|
|
240
271
|
export interface UpdateProfileRequest {
|
|
241
272
|
profileId: string | undefined;
|
|
242
273
|
name?: string;
|
|
@@ -11,6 +11,10 @@ import {
|
|
|
11
11
|
CreateTrustAnchorCommandInput,
|
|
12
12
|
CreateTrustAnchorCommandOutput,
|
|
13
13
|
} from "../commands/CreateTrustAnchorCommand";
|
|
14
|
+
import {
|
|
15
|
+
DeleteAttributeMappingCommandInput,
|
|
16
|
+
DeleteAttributeMappingCommandOutput,
|
|
17
|
+
} from "../commands/DeleteAttributeMappingCommand";
|
|
14
18
|
import {
|
|
15
19
|
DeleteCrlCommandInput,
|
|
16
20
|
DeleteCrlCommandOutput,
|
|
@@ -87,6 +91,10 @@ import {
|
|
|
87
91
|
ListTrustAnchorsCommandInput,
|
|
88
92
|
ListTrustAnchorsCommandOutput,
|
|
89
93
|
} from "../commands/ListTrustAnchorsCommand";
|
|
94
|
+
import {
|
|
95
|
+
PutAttributeMappingCommandInput,
|
|
96
|
+
PutAttributeMappingCommandOutput,
|
|
97
|
+
} from "../commands/PutAttributeMappingCommand";
|
|
90
98
|
import {
|
|
91
99
|
PutNotificationSettingsCommandInput,
|
|
92
100
|
PutNotificationSettingsCommandOutput,
|
|
@@ -123,6 +131,10 @@ export declare const se_CreateTrustAnchorCommand: (
|
|
|
123
131
|
input: CreateTrustAnchorCommandInput,
|
|
124
132
|
context: __SerdeContext
|
|
125
133
|
) => Promise<__HttpRequest>;
|
|
134
|
+
export declare const se_DeleteAttributeMappingCommand: (
|
|
135
|
+
input: DeleteAttributeMappingCommandInput,
|
|
136
|
+
context: __SerdeContext
|
|
137
|
+
) => Promise<__HttpRequest>;
|
|
126
138
|
export declare const se_DeleteCrlCommand: (
|
|
127
139
|
input: DeleteCrlCommandInput,
|
|
128
140
|
context: __SerdeContext
|
|
@@ -199,6 +211,10 @@ export declare const se_ListTrustAnchorsCommand: (
|
|
|
199
211
|
input: ListTrustAnchorsCommandInput,
|
|
200
212
|
context: __SerdeContext
|
|
201
213
|
) => Promise<__HttpRequest>;
|
|
214
|
+
export declare const se_PutAttributeMappingCommand: (
|
|
215
|
+
input: PutAttributeMappingCommandInput,
|
|
216
|
+
context: __SerdeContext
|
|
217
|
+
) => Promise<__HttpRequest>;
|
|
202
218
|
export declare const se_PutNotificationSettingsCommand: (
|
|
203
219
|
input: PutNotificationSettingsCommandInput,
|
|
204
220
|
context: __SerdeContext
|
|
@@ -235,6 +251,10 @@ export declare const de_CreateTrustAnchorCommand: (
|
|
|
235
251
|
output: __HttpResponse,
|
|
236
252
|
context: __SerdeContext
|
|
237
253
|
) => Promise<CreateTrustAnchorCommandOutput>;
|
|
254
|
+
export declare const de_DeleteAttributeMappingCommand: (
|
|
255
|
+
output: __HttpResponse,
|
|
256
|
+
context: __SerdeContext
|
|
257
|
+
) => Promise<DeleteAttributeMappingCommandOutput>;
|
|
238
258
|
export declare const de_DeleteCrlCommand: (
|
|
239
259
|
output: __HttpResponse,
|
|
240
260
|
context: __SerdeContext
|
|
@@ -311,6 +331,10 @@ export declare const de_ListTrustAnchorsCommand: (
|
|
|
311
331
|
output: __HttpResponse,
|
|
312
332
|
context: __SerdeContext
|
|
313
333
|
) => Promise<ListTrustAnchorsCommandOutput>;
|
|
334
|
+
export declare const de_PutAttributeMappingCommand: (
|
|
335
|
+
output: __HttpResponse,
|
|
336
|
+
context: __SerdeContext
|
|
337
|
+
) => Promise<PutAttributeMappingCommandOutput>;
|
|
314
338
|
export declare const de_PutNotificationSettingsCommand: (
|
|
315
339
|
output: __HttpResponse,
|
|
316
340
|
context: __SerdeContext
|
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.558.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",
|