@aws-sdk/client-sso-admin 3.894.0 → 3.896.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 +66 -3
- package/dist-es/models/models_0.js +32 -0
- package/dist-es/protocols/Aws_json1_1.js +4 -1
- package/dist-types/commands/DescribeInstanceCommand.d.ts +8 -1
- package/dist-types/commands/ListInstancesCommand.d.ts +2 -1
- package/dist-types/commands/UpdateInstanceCommand.d.ts +8 -1
- package/dist-types/models/models_0.d.ts +155 -1
- package/dist-types/ts3.4/models/models_0.d.ts +53 -1
- package/package.json +14 -15
package/dist-cjs/index.js
CHANGED
|
@@ -22,6 +22,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
22
22
|
var index_exports = {};
|
|
23
23
|
__export(index_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
AccessDeniedExceptionReason: () => AccessDeniedExceptionReason,
|
|
25
26
|
ApplicationStatus: () => ApplicationStatus,
|
|
26
27
|
ApplicationVisibility: () => ApplicationVisibility,
|
|
27
28
|
AttachCustomerManagedPolicyReferenceToPermissionSetCommand: () => AttachCustomerManagedPolicyReferenceToPermissionSetCommand,
|
|
@@ -74,6 +75,8 @@ __export(index_exports, {
|
|
|
74
75
|
InstanceStatus: () => InstanceStatus,
|
|
75
76
|
InternalServerException: () => InternalServerException,
|
|
76
77
|
JwksRetrievalOption: () => JwksRetrievalOption,
|
|
78
|
+
KmsKeyStatus: () => KmsKeyStatus,
|
|
79
|
+
KmsKeyType: () => KmsKeyType,
|
|
77
80
|
ListAccountAssignmentCreationStatusCommand: () => ListAccountAssignmentCreationStatusCommand,
|
|
78
81
|
ListAccountAssignmentDeletionStatusCommand: () => ListAccountAssignmentDeletionStatusCommand,
|
|
79
82
|
ListAccountAssignmentsCommand: () => ListAccountAssignmentsCommand,
|
|
@@ -106,6 +109,7 @@ __export(index_exports, {
|
|
|
106
109
|
PutInlinePolicyToPermissionSetCommand: () => PutInlinePolicyToPermissionSetCommand,
|
|
107
110
|
PutPermissionsBoundaryToPermissionSetCommand: () => PutPermissionsBoundaryToPermissionSetCommand,
|
|
108
111
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
112
|
+
ResourceNotFoundExceptionReason: () => ResourceNotFoundExceptionReason,
|
|
109
113
|
SSOAdmin: () => SSOAdmin,
|
|
110
114
|
SSOAdminClient: () => SSOAdminClient,
|
|
111
115
|
SSOAdminServiceException: () => SSOAdminServiceException,
|
|
@@ -115,6 +119,7 @@ __export(index_exports, {
|
|
|
115
119
|
TagResourceCommand: () => TagResourceCommand,
|
|
116
120
|
TargetType: () => TargetType,
|
|
117
121
|
ThrottlingException: () => ThrottlingException,
|
|
122
|
+
ThrottlingExceptionReason: () => ThrottlingExceptionReason,
|
|
118
123
|
TrustedTokenIssuerConfiguration: () => TrustedTokenIssuerConfiguration,
|
|
119
124
|
TrustedTokenIssuerType: () => TrustedTokenIssuerType,
|
|
120
125
|
TrustedTokenIssuerUpdateConfiguration: () => TrustedTokenIssuerUpdateConfiguration,
|
|
@@ -126,6 +131,7 @@ __export(index_exports, {
|
|
|
126
131
|
UpdateTrustedTokenIssuerCommand: () => UpdateTrustedTokenIssuerCommand,
|
|
127
132
|
UserBackgroundSessionApplicationStatus: () => UserBackgroundSessionApplicationStatus,
|
|
128
133
|
ValidationException: () => ValidationException,
|
|
134
|
+
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
129
135
|
__Client: () => import_smithy_client.Client,
|
|
130
136
|
paginateListAccountAssignmentCreationStatus: () => paginateListAccountAssignmentCreationStatus,
|
|
131
137
|
paginateListAccountAssignmentDeletionStatus: () => paginateListAccountAssignmentDeletionStatus,
|
|
@@ -303,7 +309,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
303
309
|
var import_core2 = require("@aws-sdk/core");
|
|
304
310
|
|
|
305
311
|
|
|
306
|
-
var import_uuid = require("uuid");
|
|
312
|
+
var import_uuid = require("@smithy/uuid");
|
|
307
313
|
|
|
308
314
|
// src/models/SSOAdminServiceException.ts
|
|
309
315
|
|
|
@@ -321,6 +327,9 @@ var SSOAdminServiceException = class _SSOAdminServiceException extends import_sm
|
|
|
321
327
|
};
|
|
322
328
|
|
|
323
329
|
// src/models/models_0.ts
|
|
330
|
+
var AccessDeniedExceptionReason = {
|
|
331
|
+
KMS_ACCESS_DENIED_EXCEPTION: "KMS_AccessDeniedException"
|
|
332
|
+
};
|
|
324
333
|
var AccessDeniedException = class _AccessDeniedException extends SSOAdminServiceException {
|
|
325
334
|
static {
|
|
326
335
|
__name(this, "AccessDeniedException");
|
|
@@ -328,6 +337,11 @@ var AccessDeniedException = class _AccessDeniedException extends SSOAdminService
|
|
|
328
337
|
name = "AccessDeniedException";
|
|
329
338
|
$fault = "client";
|
|
330
339
|
Message;
|
|
340
|
+
/**
|
|
341
|
+
* <p>The reason for the access denied exception.</p>
|
|
342
|
+
* @public
|
|
343
|
+
*/
|
|
344
|
+
Reason;
|
|
331
345
|
/**
|
|
332
346
|
* @internal
|
|
333
347
|
*/
|
|
@@ -339,6 +353,7 @@ var AccessDeniedException = class _AccessDeniedException extends SSOAdminService
|
|
|
339
353
|
});
|
|
340
354
|
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
341
355
|
this.Message = opts.Message;
|
|
356
|
+
this.Reason = opts.Reason;
|
|
342
357
|
}
|
|
343
358
|
};
|
|
344
359
|
var PrincipalType = {
|
|
@@ -405,6 +420,9 @@ var InternalServerException = class _InternalServerException extends SSOAdminSer
|
|
|
405
420
|
this.Message = opts.Message;
|
|
406
421
|
}
|
|
407
422
|
};
|
|
423
|
+
var ResourceNotFoundExceptionReason = {
|
|
424
|
+
KMS_NOT_FOUND_EXCEPTION: "KMS_NotFoundException"
|
|
425
|
+
};
|
|
408
426
|
var ResourceNotFoundException = class _ResourceNotFoundException extends SSOAdminServiceException {
|
|
409
427
|
static {
|
|
410
428
|
__name(this, "ResourceNotFoundException");
|
|
@@ -412,6 +430,11 @@ var ResourceNotFoundException = class _ResourceNotFoundException extends SSOAdmi
|
|
|
412
430
|
name = "ResourceNotFoundException";
|
|
413
431
|
$fault = "client";
|
|
414
432
|
Message;
|
|
433
|
+
/**
|
|
434
|
+
* <p>The reason for the resource not found exception.</p>
|
|
435
|
+
* @public
|
|
436
|
+
*/
|
|
437
|
+
Reason;
|
|
415
438
|
/**
|
|
416
439
|
* @internal
|
|
417
440
|
*/
|
|
@@ -423,8 +446,12 @@ var ResourceNotFoundException = class _ResourceNotFoundException extends SSOAdmi
|
|
|
423
446
|
});
|
|
424
447
|
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
425
448
|
this.Message = opts.Message;
|
|
449
|
+
this.Reason = opts.Reason;
|
|
426
450
|
}
|
|
427
451
|
};
|
|
452
|
+
var ThrottlingExceptionReason = {
|
|
453
|
+
KMS_THROTTLING_EXCEPTION: "KMS_ThrottlingException"
|
|
454
|
+
};
|
|
428
455
|
var ThrottlingException = class _ThrottlingException extends SSOAdminServiceException {
|
|
429
456
|
static {
|
|
430
457
|
__name(this, "ThrottlingException");
|
|
@@ -432,6 +459,11 @@ var ThrottlingException = class _ThrottlingException extends SSOAdminServiceExce
|
|
|
432
459
|
name = "ThrottlingException";
|
|
433
460
|
$fault = "client";
|
|
434
461
|
Message;
|
|
462
|
+
/**
|
|
463
|
+
* <p>The reason for the throttling exception.</p>
|
|
464
|
+
* @public
|
|
465
|
+
*/
|
|
466
|
+
Reason;
|
|
435
467
|
/**
|
|
436
468
|
* @internal
|
|
437
469
|
*/
|
|
@@ -443,8 +475,14 @@ var ThrottlingException = class _ThrottlingException extends SSOAdminServiceExce
|
|
|
443
475
|
});
|
|
444
476
|
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
445
477
|
this.Message = opts.Message;
|
|
478
|
+
this.Reason = opts.Reason;
|
|
446
479
|
}
|
|
447
480
|
};
|
|
481
|
+
var ValidationExceptionReason = {
|
|
482
|
+
KMS_DISABLED_EXCEPTION: "KMS_DisabledException",
|
|
483
|
+
KMS_INVALID_KEY_USAGE_EXCEPTION: "KMS_InvalidKeyUsageException",
|
|
484
|
+
KMS_INVALID_STATE_EXCEPTION: "KMS_InvalidStateException"
|
|
485
|
+
};
|
|
448
486
|
var ValidationException = class _ValidationException extends SSOAdminServiceException {
|
|
449
487
|
static {
|
|
450
488
|
__name(this, "ValidationException");
|
|
@@ -452,6 +490,11 @@ var ValidationException = class _ValidationException extends SSOAdminServiceExce
|
|
|
452
490
|
name = "ValidationException";
|
|
453
491
|
$fault = "client";
|
|
454
492
|
Message;
|
|
493
|
+
/**
|
|
494
|
+
* <p>The reason for the validation exception.</p>
|
|
495
|
+
* @public
|
|
496
|
+
*/
|
|
497
|
+
Reason;
|
|
455
498
|
/**
|
|
456
499
|
* @internal
|
|
457
500
|
*/
|
|
@@ -463,6 +506,7 @@ var ValidationException = class _ValidationException extends SSOAdminServiceExce
|
|
|
463
506
|
});
|
|
464
507
|
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
465
508
|
this.Message = opts.Message;
|
|
509
|
+
this.Reason = opts.Reason;
|
|
466
510
|
}
|
|
467
511
|
};
|
|
468
512
|
var AuthenticationMethodType = {
|
|
@@ -528,8 +572,18 @@ var TrustedTokenIssuerConfiguration;
|
|
|
528
572
|
var TrustedTokenIssuerType = {
|
|
529
573
|
OIDC_JWT: "OIDC_JWT"
|
|
530
574
|
};
|
|
575
|
+
var KmsKeyStatus = {
|
|
576
|
+
ENABLED: "ENABLED",
|
|
577
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
578
|
+
UPDATING: "UPDATING"
|
|
579
|
+
};
|
|
580
|
+
var KmsKeyType = {
|
|
581
|
+
AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
|
|
582
|
+
CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY"
|
|
583
|
+
};
|
|
531
584
|
var InstanceStatus = {
|
|
532
585
|
ACTIVE: "ACTIVE",
|
|
586
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
533
587
|
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
534
588
|
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS"
|
|
535
589
|
};
|
|
@@ -2225,11 +2279,13 @@ var de_DescribeApplicationResponse = /* @__PURE__ */ __name((output, context) =>
|
|
|
2225
2279
|
var de_DescribeInstanceResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2226
2280
|
return (0, import_smithy_client.take)(output, {
|
|
2227
2281
|
CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedDate"),
|
|
2282
|
+
EncryptionConfigurationDetails: import_smithy_client._json,
|
|
2228
2283
|
IdentityStoreId: import_smithy_client.expectString,
|
|
2229
2284
|
InstanceArn: import_smithy_client.expectString,
|
|
2230
2285
|
Name: import_smithy_client.expectString,
|
|
2231
2286
|
OwnerAccountId: import_smithy_client.expectString,
|
|
2232
|
-
Status: import_smithy_client.expectString
|
|
2287
|
+
Status: import_smithy_client.expectString,
|
|
2288
|
+
StatusReason: import_smithy_client.expectString
|
|
2233
2289
|
});
|
|
2234
2290
|
}, "de_DescribeInstanceResponse");
|
|
2235
2291
|
var de_DescribePermissionSetProvisioningStatusResponse = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -2265,7 +2321,8 @@ var de_InstanceMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
|
2265
2321
|
InstanceArn: import_smithy_client.expectString,
|
|
2266
2322
|
Name: import_smithy_client.expectString,
|
|
2267
2323
|
OwnerAccountId: import_smithy_client.expectString,
|
|
2268
|
-
Status: import_smithy_client.expectString
|
|
2324
|
+
Status: import_smithy_client.expectString,
|
|
2325
|
+
StatusReason: import_smithy_client.expectString
|
|
2269
2326
|
});
|
|
2270
2327
|
}, "de_InstanceMetadata");
|
|
2271
2328
|
var de_ListAccountAssignmentCreationStatusResponse = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -3764,6 +3821,7 @@ var paginateListTrustedTokenIssuers = (0, import_core.createPaginator)(SSOAdminC
|
|
|
3764
3821
|
paginateListPermissionSetsProvisionedToAccount,
|
|
3765
3822
|
paginateListTagsForResource,
|
|
3766
3823
|
paginateListTrustedTokenIssuers,
|
|
3824
|
+
AccessDeniedExceptionReason,
|
|
3767
3825
|
AccessDeniedException,
|
|
3768
3826
|
PrincipalType,
|
|
3769
3827
|
StatusValues,
|
|
@@ -3773,8 +3831,11 @@ var paginateListTrustedTokenIssuers = (0, import_core.createPaginator)(SSOAdminC
|
|
|
3773
3831
|
ApplicationStatus,
|
|
3774
3832
|
ConflictException,
|
|
3775
3833
|
InternalServerException,
|
|
3834
|
+
ResourceNotFoundExceptionReason,
|
|
3776
3835
|
ResourceNotFoundException,
|
|
3836
|
+
ThrottlingExceptionReason,
|
|
3777
3837
|
ThrottlingException,
|
|
3838
|
+
ValidationExceptionReason,
|
|
3778
3839
|
ValidationException,
|
|
3779
3840
|
AuthenticationMethodType,
|
|
3780
3841
|
AuthenticationMethod,
|
|
@@ -3785,6 +3846,8 @@ var paginateListTrustedTokenIssuers = (0, import_core.createPaginator)(SSOAdminC
|
|
|
3785
3846
|
JwksRetrievalOption,
|
|
3786
3847
|
TrustedTokenIssuerConfiguration,
|
|
3787
3848
|
TrustedTokenIssuerType,
|
|
3849
|
+
KmsKeyStatus,
|
|
3850
|
+
KmsKeyType,
|
|
3788
3851
|
InstanceStatus,
|
|
3789
3852
|
InstanceAccessControlAttributeConfigurationStatus,
|
|
3790
3853
|
UserBackgroundSessionApplicationStatus,
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { SSOAdminServiceException as __BaseException } from "./SSOAdminServiceException";
|
|
2
|
+
export const AccessDeniedExceptionReason = {
|
|
3
|
+
KMS_ACCESS_DENIED_EXCEPTION: "KMS_AccessDeniedException",
|
|
4
|
+
};
|
|
2
5
|
export class AccessDeniedException extends __BaseException {
|
|
3
6
|
name = "AccessDeniedException";
|
|
4
7
|
$fault = "client";
|
|
5
8
|
Message;
|
|
9
|
+
Reason;
|
|
6
10
|
constructor(opts) {
|
|
7
11
|
super({
|
|
8
12
|
name: "AccessDeniedException",
|
|
@@ -11,6 +15,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
11
15
|
});
|
|
12
16
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
17
|
this.Message = opts.Message;
|
|
18
|
+
this.Reason = opts.Reason;
|
|
14
19
|
}
|
|
15
20
|
}
|
|
16
21
|
export const PrincipalType = {
|
|
@@ -65,10 +70,14 @@ export class InternalServerException extends __BaseException {
|
|
|
65
70
|
this.Message = opts.Message;
|
|
66
71
|
}
|
|
67
72
|
}
|
|
73
|
+
export const ResourceNotFoundExceptionReason = {
|
|
74
|
+
KMS_NOT_FOUND_EXCEPTION: "KMS_NotFoundException",
|
|
75
|
+
};
|
|
68
76
|
export class ResourceNotFoundException extends __BaseException {
|
|
69
77
|
name = "ResourceNotFoundException";
|
|
70
78
|
$fault = "client";
|
|
71
79
|
Message;
|
|
80
|
+
Reason;
|
|
72
81
|
constructor(opts) {
|
|
73
82
|
super({
|
|
74
83
|
name: "ResourceNotFoundException",
|
|
@@ -77,12 +86,17 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
77
86
|
});
|
|
78
87
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
79
88
|
this.Message = opts.Message;
|
|
89
|
+
this.Reason = opts.Reason;
|
|
80
90
|
}
|
|
81
91
|
}
|
|
92
|
+
export const ThrottlingExceptionReason = {
|
|
93
|
+
KMS_THROTTLING_EXCEPTION: "KMS_ThrottlingException",
|
|
94
|
+
};
|
|
82
95
|
export class ThrottlingException extends __BaseException {
|
|
83
96
|
name = "ThrottlingException";
|
|
84
97
|
$fault = "client";
|
|
85
98
|
Message;
|
|
99
|
+
Reason;
|
|
86
100
|
constructor(opts) {
|
|
87
101
|
super({
|
|
88
102
|
name: "ThrottlingException",
|
|
@@ -91,12 +105,19 @@ export class ThrottlingException extends __BaseException {
|
|
|
91
105
|
});
|
|
92
106
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
93
107
|
this.Message = opts.Message;
|
|
108
|
+
this.Reason = opts.Reason;
|
|
94
109
|
}
|
|
95
110
|
}
|
|
111
|
+
export const ValidationExceptionReason = {
|
|
112
|
+
KMS_DISABLED_EXCEPTION: "KMS_DisabledException",
|
|
113
|
+
KMS_INVALID_KEY_USAGE_EXCEPTION: "KMS_InvalidKeyUsageException",
|
|
114
|
+
KMS_INVALID_STATE_EXCEPTION: "KMS_InvalidStateException",
|
|
115
|
+
};
|
|
96
116
|
export class ValidationException extends __BaseException {
|
|
97
117
|
name = "ValidationException";
|
|
98
118
|
$fault = "client";
|
|
99
119
|
Message;
|
|
120
|
+
Reason;
|
|
100
121
|
constructor(opts) {
|
|
101
122
|
super({
|
|
102
123
|
name: "ValidationException",
|
|
@@ -105,6 +126,7 @@ export class ValidationException extends __BaseException {
|
|
|
105
126
|
});
|
|
106
127
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
107
128
|
this.Message = opts.Message;
|
|
129
|
+
this.Reason = opts.Reason;
|
|
108
130
|
}
|
|
109
131
|
}
|
|
110
132
|
export const AuthenticationMethodType = {
|
|
@@ -170,8 +192,18 @@ export var TrustedTokenIssuerConfiguration;
|
|
|
170
192
|
export const TrustedTokenIssuerType = {
|
|
171
193
|
OIDC_JWT: "OIDC_JWT",
|
|
172
194
|
};
|
|
195
|
+
export const KmsKeyStatus = {
|
|
196
|
+
ENABLED: "ENABLED",
|
|
197
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
198
|
+
UPDATING: "UPDATING",
|
|
199
|
+
};
|
|
200
|
+
export const KmsKeyType = {
|
|
201
|
+
AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
|
|
202
|
+
CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY",
|
|
203
|
+
};
|
|
173
204
|
export const InstanceStatus = {
|
|
174
205
|
ACTIVE: "ACTIVE",
|
|
206
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
175
207
|
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
176
208
|
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
177
209
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
|
+
import { v4 as generateIdempotencyToken } from "@smithy/uuid";
|
|
5
5
|
import { AccessDeniedException, AuthenticationMethod, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
6
|
import { SSOAdminServiceException as __BaseException } from "../models/SSOAdminServiceException";
|
|
7
7
|
export const se_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = async (input, context) => {
|
|
@@ -1676,11 +1676,13 @@ const de_DescribeApplicationResponse = (output, context) => {
|
|
|
1676
1676
|
const de_DescribeInstanceResponse = (output, context) => {
|
|
1677
1677
|
return take(output, {
|
|
1678
1678
|
CreatedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1679
|
+
EncryptionConfigurationDetails: _json,
|
|
1679
1680
|
IdentityStoreId: __expectString,
|
|
1680
1681
|
InstanceArn: __expectString,
|
|
1681
1682
|
Name: __expectString,
|
|
1682
1683
|
OwnerAccountId: __expectString,
|
|
1683
1684
|
Status: __expectString,
|
|
1685
|
+
StatusReason: __expectString,
|
|
1684
1686
|
});
|
|
1685
1687
|
};
|
|
1686
1688
|
const de_DescribePermissionSetProvisioningStatusResponse = (output, context) => {
|
|
@@ -1719,6 +1721,7 @@ const de_InstanceMetadata = (output, context) => {
|
|
|
1719
1721
|
Name: __expectString,
|
|
1720
1722
|
OwnerAccountId: __expectString,
|
|
1721
1723
|
Status: __expectString,
|
|
1724
|
+
StatusReason: __expectString,
|
|
1722
1725
|
});
|
|
1723
1726
|
};
|
|
1724
1727
|
const de_ListAccountAssignmentCreationStatusResponse = (output, context) => {
|
|
@@ -47,7 +47,14 @@ declare const DescribeInstanceCommand_base: {
|
|
|
47
47
|
* // OwnerAccountId: "STRING_VALUE",
|
|
48
48
|
* // Name: "STRING_VALUE",
|
|
49
49
|
* // CreatedDate: new Date("TIMESTAMP"),
|
|
50
|
-
* // Status: "CREATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "ACTIVE",
|
|
50
|
+
* // Status: "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "DELETE_IN_PROGRESS" || "ACTIVE",
|
|
51
|
+
* // StatusReason: "STRING_VALUE",
|
|
52
|
+
* // EncryptionConfigurationDetails: { // EncryptionConfigurationDetails
|
|
53
|
+
* // KeyType: "AWS_OWNED_KMS_KEY" || "CUSTOMER_MANAGED_KEY",
|
|
54
|
+
* // KmsKeyArn: "STRING_VALUE",
|
|
55
|
+
* // EncryptionStatus: "UPDATING" || "ENABLED" || "UPDATE_FAILED",
|
|
56
|
+
* // EncryptionStatusReason: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
51
58
|
* // };
|
|
52
59
|
*
|
|
53
60
|
* ```
|
|
@@ -50,7 +50,8 @@ declare const ListInstancesCommand_base: {
|
|
|
50
50
|
* // OwnerAccountId: "STRING_VALUE",
|
|
51
51
|
* // Name: "STRING_VALUE",
|
|
52
52
|
* // CreatedDate: new Date("TIMESTAMP"),
|
|
53
|
-
* // Status: "CREATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "ACTIVE",
|
|
53
|
+
* // Status: "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "DELETE_IN_PROGRESS" || "ACTIVE",
|
|
54
|
+
* // StatusReason: "STRING_VALUE",
|
|
54
55
|
* // },
|
|
55
56
|
* // ],
|
|
56
57
|
* // NextToken: "STRING_VALUE",
|
|
@@ -37,8 +37,12 @@ declare const UpdateInstanceCommand_base: {
|
|
|
37
37
|
* const config = {}; // type is SSOAdminClientConfig
|
|
38
38
|
* const client = new SSOAdminClient(config);
|
|
39
39
|
* const input = { // UpdateInstanceRequest
|
|
40
|
-
* Name: "STRING_VALUE",
|
|
40
|
+
* Name: "STRING_VALUE",
|
|
41
41
|
* InstanceArn: "STRING_VALUE", // required
|
|
42
|
+
* EncryptionConfiguration: { // EncryptionConfiguration
|
|
43
|
+
* KeyType: "AWS_OWNED_KMS_KEY" || "CUSTOMER_MANAGED_KEY", // required
|
|
44
|
+
* KmsKeyArn: "STRING_VALUE",
|
|
45
|
+
* },
|
|
42
46
|
* };
|
|
43
47
|
* const command = new UpdateInstanceCommand(input);
|
|
44
48
|
* const response = await client.send(command);
|
|
@@ -61,6 +65,9 @@ declare const UpdateInstanceCommand_base: {
|
|
|
61
65
|
* @throws {@link InternalServerException} (server fault)
|
|
62
66
|
* <p>The request processing has failed because of an unknown error, exception, or failure with an internal server.</p>
|
|
63
67
|
*
|
|
68
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
+
* <p>Indicates that a requested resource is not found.</p>
|
|
70
|
+
*
|
|
64
71
|
* @throws {@link ThrottlingException} (client fault)
|
|
65
72
|
* <p>Indicates that the principal has crossed the throttling limits of the API operations.</p>
|
|
66
73
|
*
|
|
@@ -28,6 +28,17 @@ export interface AccessControlAttribute {
|
|
|
28
28
|
*/
|
|
29
29
|
Value: AccessControlAttributeValue | undefined;
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
* @enum
|
|
34
|
+
*/
|
|
35
|
+
export declare const AccessDeniedExceptionReason: {
|
|
36
|
+
readonly KMS_ACCESS_DENIED_EXCEPTION: "KMS_AccessDeniedException";
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export type AccessDeniedExceptionReason = (typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
|
|
31
42
|
/**
|
|
32
43
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
33
44
|
* @public
|
|
@@ -36,6 +47,11 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
36
47
|
readonly name: "AccessDeniedException";
|
|
37
48
|
readonly $fault: "client";
|
|
38
49
|
Message?: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* <p>The reason for the access denied exception.</p>
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
Reason?: AccessDeniedExceptionReason | undefined;
|
|
39
55
|
/**
|
|
40
56
|
* @internal
|
|
41
57
|
*/
|
|
@@ -361,6 +377,17 @@ export declare class InternalServerException extends __BaseException {
|
|
|
361
377
|
*/
|
|
362
378
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
363
379
|
}
|
|
380
|
+
/**
|
|
381
|
+
* @public
|
|
382
|
+
* @enum
|
|
383
|
+
*/
|
|
384
|
+
export declare const ResourceNotFoundExceptionReason: {
|
|
385
|
+
readonly KMS_NOT_FOUND_EXCEPTION: "KMS_NotFoundException";
|
|
386
|
+
};
|
|
387
|
+
/**
|
|
388
|
+
* @public
|
|
389
|
+
*/
|
|
390
|
+
export type ResourceNotFoundExceptionReason = (typeof ResourceNotFoundExceptionReason)[keyof typeof ResourceNotFoundExceptionReason];
|
|
364
391
|
/**
|
|
365
392
|
* <p>Indicates that a requested resource is not found.</p>
|
|
366
393
|
* @public
|
|
@@ -369,11 +396,27 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
369
396
|
readonly name: "ResourceNotFoundException";
|
|
370
397
|
readonly $fault: "client";
|
|
371
398
|
Message?: string | undefined;
|
|
399
|
+
/**
|
|
400
|
+
* <p>The reason for the resource not found exception.</p>
|
|
401
|
+
* @public
|
|
402
|
+
*/
|
|
403
|
+
Reason?: ResourceNotFoundExceptionReason | undefined;
|
|
372
404
|
/**
|
|
373
405
|
* @internal
|
|
374
406
|
*/
|
|
375
407
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
376
408
|
}
|
|
409
|
+
/**
|
|
410
|
+
* @public
|
|
411
|
+
* @enum
|
|
412
|
+
*/
|
|
413
|
+
export declare const ThrottlingExceptionReason: {
|
|
414
|
+
readonly KMS_THROTTLING_EXCEPTION: "KMS_ThrottlingException";
|
|
415
|
+
};
|
|
416
|
+
/**
|
|
417
|
+
* @public
|
|
418
|
+
*/
|
|
419
|
+
export type ThrottlingExceptionReason = (typeof ThrottlingExceptionReason)[keyof typeof ThrottlingExceptionReason];
|
|
377
420
|
/**
|
|
378
421
|
* <p>Indicates that the principal has crossed the throttling limits of the API operations.</p>
|
|
379
422
|
* @public
|
|
@@ -382,11 +425,29 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
382
425
|
readonly name: "ThrottlingException";
|
|
383
426
|
readonly $fault: "client";
|
|
384
427
|
Message?: string | undefined;
|
|
428
|
+
/**
|
|
429
|
+
* <p>The reason for the throttling exception.</p>
|
|
430
|
+
* @public
|
|
431
|
+
*/
|
|
432
|
+
Reason?: ThrottlingExceptionReason | undefined;
|
|
385
433
|
/**
|
|
386
434
|
* @internal
|
|
387
435
|
*/
|
|
388
436
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
389
437
|
}
|
|
438
|
+
/**
|
|
439
|
+
* @public
|
|
440
|
+
* @enum
|
|
441
|
+
*/
|
|
442
|
+
export declare const ValidationExceptionReason: {
|
|
443
|
+
readonly KMS_DISABLED_EXCEPTION: "KMS_DisabledException";
|
|
444
|
+
readonly KMS_INVALID_KEY_USAGE_EXCEPTION: "KMS_InvalidKeyUsageException";
|
|
445
|
+
readonly KMS_INVALID_STATE_EXCEPTION: "KMS_InvalidStateException";
|
|
446
|
+
};
|
|
447
|
+
/**
|
|
448
|
+
* @public
|
|
449
|
+
*/
|
|
450
|
+
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
390
451
|
/**
|
|
391
452
|
* <p>The request failed because it contains a syntax error.</p>
|
|
392
453
|
* @public
|
|
@@ -395,6 +456,11 @@ export declare class ValidationException extends __BaseException {
|
|
|
395
456
|
readonly name: "ValidationException";
|
|
396
457
|
readonly $fault: "client";
|
|
397
458
|
Message?: string | undefined;
|
|
459
|
+
/**
|
|
460
|
+
* <p>The reason for the validation exception.</p>
|
|
461
|
+
* @public
|
|
462
|
+
*/
|
|
463
|
+
Reason?: ValidationExceptionReason | undefined;
|
|
398
464
|
/**
|
|
399
465
|
* @internal
|
|
400
466
|
*/
|
|
@@ -1915,12 +1981,64 @@ export interface DescribeInstanceRequest {
|
|
|
1915
1981
|
*/
|
|
1916
1982
|
InstanceArn: string | undefined;
|
|
1917
1983
|
}
|
|
1984
|
+
/**
|
|
1985
|
+
* @public
|
|
1986
|
+
* @enum
|
|
1987
|
+
*/
|
|
1988
|
+
export declare const KmsKeyStatus: {
|
|
1989
|
+
readonly ENABLED: "ENABLED";
|
|
1990
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
1991
|
+
readonly UPDATING: "UPDATING";
|
|
1992
|
+
};
|
|
1993
|
+
/**
|
|
1994
|
+
* @public
|
|
1995
|
+
*/
|
|
1996
|
+
export type KmsKeyStatus = (typeof KmsKeyStatus)[keyof typeof KmsKeyStatus];
|
|
1997
|
+
/**
|
|
1998
|
+
* @public
|
|
1999
|
+
* @enum
|
|
2000
|
+
*/
|
|
2001
|
+
export declare const KmsKeyType: {
|
|
2002
|
+
readonly AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY";
|
|
2003
|
+
readonly CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY";
|
|
2004
|
+
};
|
|
2005
|
+
/**
|
|
2006
|
+
* @public
|
|
2007
|
+
*/
|
|
2008
|
+
export type KmsKeyType = (typeof KmsKeyType)[keyof typeof KmsKeyType];
|
|
2009
|
+
/**
|
|
2010
|
+
* <p>The encryption configuration of your IAM Identity Center instance, including the key type, KMS key ARN, and current encryption status. </p>
|
|
2011
|
+
* @public
|
|
2012
|
+
*/
|
|
2013
|
+
export interface EncryptionConfigurationDetails {
|
|
2014
|
+
/**
|
|
2015
|
+
* <p>The type of KMS key used for encryption.</p>
|
|
2016
|
+
* @public
|
|
2017
|
+
*/
|
|
2018
|
+
KeyType?: KmsKeyType | undefined;
|
|
2019
|
+
/**
|
|
2020
|
+
* <p>The ARN of the KMS key currently used to encrypt data in your IAM Identity Center instance. </p>
|
|
2021
|
+
* @public
|
|
2022
|
+
*/
|
|
2023
|
+
KmsKeyArn?: string | undefined;
|
|
2024
|
+
/**
|
|
2025
|
+
* <p>The current status of encryption configuration.</p>
|
|
2026
|
+
* @public
|
|
2027
|
+
*/
|
|
2028
|
+
EncryptionStatus?: KmsKeyStatus | undefined;
|
|
2029
|
+
/**
|
|
2030
|
+
* <p>Provides additional context about the current encryption status. This field is particularly useful when the encryption status is UPDATE_FAILED. When encryption configuration update fails, this field contains information about the cause, which may include KMS key access issues, key not found errors, invalid key configuration, key in an invalid state, or a disabled key. </p>
|
|
2031
|
+
* @public
|
|
2032
|
+
*/
|
|
2033
|
+
EncryptionStatusReason?: string | undefined;
|
|
2034
|
+
}
|
|
1918
2035
|
/**
|
|
1919
2036
|
* @public
|
|
1920
2037
|
* @enum
|
|
1921
2038
|
*/
|
|
1922
2039
|
export declare const InstanceStatus: {
|
|
1923
2040
|
readonly ACTIVE: "ACTIVE";
|
|
2041
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
1924
2042
|
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
1925
2043
|
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
1926
2044
|
};
|
|
@@ -1962,6 +2080,16 @@ export interface DescribeInstanceResponse {
|
|
|
1962
2080
|
* @public
|
|
1963
2081
|
*/
|
|
1964
2082
|
Status?: InstanceStatus | undefined;
|
|
2083
|
+
/**
|
|
2084
|
+
* <p>Provides additional context about the current status of the IAM Identity Center instance. This field is particularly useful when an instance is in a non-ACTIVE state, such as CREATE_FAILED. When an instance fails to create or update, this field contains information about the cause, which may include issues with KMS key configuration, permission problems with the specified KMS key, or service-related errors. </p>
|
|
2085
|
+
* @public
|
|
2086
|
+
*/
|
|
2087
|
+
StatusReason?: string | undefined;
|
|
2088
|
+
/**
|
|
2089
|
+
* <p>Contains the encryption configuration for your IAM Identity Center instance, including the encryption status, KMS key type, and KMS key ARN.</p>
|
|
2090
|
+
* @public
|
|
2091
|
+
*/
|
|
2092
|
+
EncryptionConfigurationDetails?: EncryptionConfigurationDetails | undefined;
|
|
1965
2093
|
}
|
|
1966
2094
|
/**
|
|
1967
2095
|
* @public
|
|
@@ -2177,6 +2305,22 @@ export interface DetachManagedPolicyFromPermissionSetRequest {
|
|
|
2177
2305
|
*/
|
|
2178
2306
|
export interface DetachManagedPolicyFromPermissionSetResponse {
|
|
2179
2307
|
}
|
|
2308
|
+
/**
|
|
2309
|
+
* <p> A structure that specifies the KMS key type and KMS key ARN used to encrypt data in your IAM Identity Center instance.</p>
|
|
2310
|
+
* @public
|
|
2311
|
+
*/
|
|
2312
|
+
export interface EncryptionConfiguration {
|
|
2313
|
+
/**
|
|
2314
|
+
* <p>The type of KMS key used for encryption.</p>
|
|
2315
|
+
* @public
|
|
2316
|
+
*/
|
|
2317
|
+
KeyType: KmsKeyType | undefined;
|
|
2318
|
+
/**
|
|
2319
|
+
* <p>The ARN of the KMS key used to encrypt data. Required when KeyType is CUSTOMER_MANAGED_KEY. Cannot be specified when KeyType is AWS_OWNED_KMS_KEY.</p>
|
|
2320
|
+
* @public
|
|
2321
|
+
*/
|
|
2322
|
+
KmsKeyArn?: string | undefined;
|
|
2323
|
+
}
|
|
2180
2324
|
/**
|
|
2181
2325
|
* @public
|
|
2182
2326
|
*/
|
|
@@ -2330,6 +2474,11 @@ export interface InstanceMetadata {
|
|
|
2330
2474
|
* @public
|
|
2331
2475
|
*/
|
|
2332
2476
|
Status?: InstanceStatus | undefined;
|
|
2477
|
+
/**
|
|
2478
|
+
* <p>Provides additional context about the current status of the IAM Identity Center instance. This field is particularly useful when an instance is in a non-ACTIVE state, such as CREATE_FAILED. When an instance creation fails, this field contains information about the cause, which may include issues with KMS key configuration or insufficient permissions. </p>
|
|
2479
|
+
* @public
|
|
2480
|
+
*/
|
|
2481
|
+
StatusReason?: string | undefined;
|
|
2333
2482
|
}
|
|
2334
2483
|
/**
|
|
2335
2484
|
* <p>Filters the operation status list based on the passed attribute value.</p>
|
|
@@ -3371,12 +3520,17 @@ export interface UpdateInstanceRequest {
|
|
|
3371
3520
|
* <p>Updates the instance name.</p>
|
|
3372
3521
|
* @public
|
|
3373
3522
|
*/
|
|
3374
|
-
Name
|
|
3523
|
+
Name?: string | undefined;
|
|
3375
3524
|
/**
|
|
3376
3525
|
* <p>The ARN of the instance of IAM Identity Center under which the operation will run. For more information about ARNs, see <a href="/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
3377
3526
|
* @public
|
|
3378
3527
|
*/
|
|
3379
3528
|
InstanceArn: string | undefined;
|
|
3529
|
+
/**
|
|
3530
|
+
* <p>Specifies the encryption configuration for your IAM Identity Center instance. You can use this to configure customer managed KMS keys (CMK) or Amazon Web Services owned KMS keys for encrypting your instance data.</p>
|
|
3531
|
+
* @public
|
|
3532
|
+
*/
|
|
3533
|
+
EncryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
3380
3534
|
}
|
|
3381
3535
|
/**
|
|
3382
3536
|
* @public
|
|
@@ -8,10 +8,16 @@ export interface AccessControlAttribute {
|
|
|
8
8
|
Key: string | undefined;
|
|
9
9
|
Value: AccessControlAttributeValue | undefined;
|
|
10
10
|
}
|
|
11
|
+
export declare const AccessDeniedExceptionReason: {
|
|
12
|
+
readonly KMS_ACCESS_DENIED_EXCEPTION: "KMS_AccessDeniedException";
|
|
13
|
+
};
|
|
14
|
+
export type AccessDeniedExceptionReason =
|
|
15
|
+
(typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
|
|
11
16
|
export declare class AccessDeniedException extends __BaseException {
|
|
12
17
|
readonly name: "AccessDeniedException";
|
|
13
18
|
readonly $fault: "client";
|
|
14
19
|
Message?: string | undefined;
|
|
20
|
+
Reason?: AccessDeniedExceptionReason | undefined;
|
|
15
21
|
constructor(
|
|
16
22
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
17
23
|
);
|
|
@@ -113,26 +119,46 @@ export declare class InternalServerException extends __BaseException {
|
|
|
113
119
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
114
120
|
);
|
|
115
121
|
}
|
|
122
|
+
export declare const ResourceNotFoundExceptionReason: {
|
|
123
|
+
readonly KMS_NOT_FOUND_EXCEPTION: "KMS_NotFoundException";
|
|
124
|
+
};
|
|
125
|
+
export type ResourceNotFoundExceptionReason =
|
|
126
|
+
(typeof ResourceNotFoundExceptionReason)[keyof typeof ResourceNotFoundExceptionReason];
|
|
116
127
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
117
128
|
readonly name: "ResourceNotFoundException";
|
|
118
129
|
readonly $fault: "client";
|
|
119
130
|
Message?: string | undefined;
|
|
131
|
+
Reason?: ResourceNotFoundExceptionReason | undefined;
|
|
120
132
|
constructor(
|
|
121
133
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
122
134
|
);
|
|
123
135
|
}
|
|
136
|
+
export declare const ThrottlingExceptionReason: {
|
|
137
|
+
readonly KMS_THROTTLING_EXCEPTION: "KMS_ThrottlingException";
|
|
138
|
+
};
|
|
139
|
+
export type ThrottlingExceptionReason =
|
|
140
|
+
(typeof ThrottlingExceptionReason)[keyof typeof ThrottlingExceptionReason];
|
|
124
141
|
export declare class ThrottlingException extends __BaseException {
|
|
125
142
|
readonly name: "ThrottlingException";
|
|
126
143
|
readonly $fault: "client";
|
|
127
144
|
Message?: string | undefined;
|
|
145
|
+
Reason?: ThrottlingExceptionReason | undefined;
|
|
128
146
|
constructor(
|
|
129
147
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
130
148
|
);
|
|
131
149
|
}
|
|
150
|
+
export declare const ValidationExceptionReason: {
|
|
151
|
+
readonly KMS_DISABLED_EXCEPTION: "KMS_DisabledException";
|
|
152
|
+
readonly KMS_INVALID_KEY_USAGE_EXCEPTION: "KMS_InvalidKeyUsageException";
|
|
153
|
+
readonly KMS_INVALID_STATE_EXCEPTION: "KMS_InvalidStateException";
|
|
154
|
+
};
|
|
155
|
+
export type ValidationExceptionReason =
|
|
156
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
132
157
|
export declare class ValidationException extends __BaseException {
|
|
133
158
|
readonly name: "ValidationException";
|
|
134
159
|
readonly $fault: "client";
|
|
135
160
|
Message?: string | undefined;
|
|
161
|
+
Reason?: ValidationExceptionReason | undefined;
|
|
136
162
|
constructor(
|
|
137
163
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
138
164
|
);
|
|
@@ -602,8 +628,26 @@ export interface DescribeApplicationProviderResponse {
|
|
|
602
628
|
export interface DescribeInstanceRequest {
|
|
603
629
|
InstanceArn: string | undefined;
|
|
604
630
|
}
|
|
631
|
+
export declare const KmsKeyStatus: {
|
|
632
|
+
readonly ENABLED: "ENABLED";
|
|
633
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
634
|
+
readonly UPDATING: "UPDATING";
|
|
635
|
+
};
|
|
636
|
+
export type KmsKeyStatus = (typeof KmsKeyStatus)[keyof typeof KmsKeyStatus];
|
|
637
|
+
export declare const KmsKeyType: {
|
|
638
|
+
readonly AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY";
|
|
639
|
+
readonly CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY";
|
|
640
|
+
};
|
|
641
|
+
export type KmsKeyType = (typeof KmsKeyType)[keyof typeof KmsKeyType];
|
|
642
|
+
export interface EncryptionConfigurationDetails {
|
|
643
|
+
KeyType?: KmsKeyType | undefined;
|
|
644
|
+
KmsKeyArn?: string | undefined;
|
|
645
|
+
EncryptionStatus?: KmsKeyStatus | undefined;
|
|
646
|
+
EncryptionStatusReason?: string | undefined;
|
|
647
|
+
}
|
|
605
648
|
export declare const InstanceStatus: {
|
|
606
649
|
readonly ACTIVE: "ACTIVE";
|
|
650
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
607
651
|
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
608
652
|
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
609
653
|
};
|
|
@@ -616,6 +660,8 @@ export interface DescribeInstanceResponse {
|
|
|
616
660
|
Name?: string | undefined;
|
|
617
661
|
CreatedDate?: Date | undefined;
|
|
618
662
|
Status?: InstanceStatus | undefined;
|
|
663
|
+
StatusReason?: string | undefined;
|
|
664
|
+
EncryptionConfigurationDetails?: EncryptionConfigurationDetails | undefined;
|
|
619
665
|
}
|
|
620
666
|
export interface DescribeInstanceAccessControlAttributeConfigurationRequest {
|
|
621
667
|
InstanceArn: string | undefined;
|
|
@@ -677,6 +723,10 @@ export interface DetachManagedPolicyFromPermissionSetRequest {
|
|
|
677
723
|
ManagedPolicyArn: string | undefined;
|
|
678
724
|
}
|
|
679
725
|
export interface DetachManagedPolicyFromPermissionSetResponse {}
|
|
726
|
+
export interface EncryptionConfiguration {
|
|
727
|
+
KeyType: KmsKeyType | undefined;
|
|
728
|
+
KmsKeyArn?: string | undefined;
|
|
729
|
+
}
|
|
680
730
|
export interface GetApplicationAssignmentConfigurationRequest {
|
|
681
731
|
ApplicationArn: string | undefined;
|
|
682
732
|
}
|
|
@@ -722,6 +772,7 @@ export interface InstanceMetadata {
|
|
|
722
772
|
Name?: string | undefined;
|
|
723
773
|
CreatedDate?: Date | undefined;
|
|
724
774
|
Status?: InstanceStatus | undefined;
|
|
775
|
+
StatusReason?: string | undefined;
|
|
725
776
|
}
|
|
726
777
|
export interface OperationStatusFilter {
|
|
727
778
|
Status?: StatusValues | undefined;
|
|
@@ -997,8 +1048,9 @@ export interface UpdateApplicationRequest {
|
|
|
997
1048
|
}
|
|
998
1049
|
export interface UpdateApplicationResponse {}
|
|
999
1050
|
export interface UpdateInstanceRequest {
|
|
1000
|
-
Name
|
|
1051
|
+
Name?: string | undefined;
|
|
1001
1052
|
InstanceArn: string | undefined;
|
|
1053
|
+
EncryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
1002
1054
|
}
|
|
1003
1055
|
export interface UpdateInstanceResponse {}
|
|
1004
1056
|
export interface UpdateInstanceAccessControlAttributeConfigurationRequest {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso-admin",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Admin Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.896.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-sso-admin",
|
|
@@ -20,45 +20,44 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.896.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.896.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.893.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.896.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
30
30
|
"@aws-sdk/types": "3.893.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.895.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.896.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.2.2",
|
|
35
|
-
"@smithy/core": "^3.
|
|
35
|
+
"@smithy/core": "^3.12.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
37
37
|
"@smithy/hash-node": "^4.1.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.1.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.1.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.2.
|
|
41
|
-
"@smithy/middleware-retry": "^4.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.2.4",
|
|
41
|
+
"@smithy/middleware-retry": "^4.3.0",
|
|
42
42
|
"@smithy/middleware-serde": "^4.1.1",
|
|
43
43
|
"@smithy/middleware-stack": "^4.1.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.2.2",
|
|
45
45
|
"@smithy/node-http-handler": "^4.2.1",
|
|
46
46
|
"@smithy/protocol-http": "^5.2.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.6.
|
|
47
|
+
"@smithy/smithy-client": "^4.6.4",
|
|
48
48
|
"@smithy/types": "^4.5.0",
|
|
49
49
|
"@smithy/url-parser": "^4.1.1",
|
|
50
50
|
"@smithy/util-base64": "^4.1.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.1.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.1.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.1.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.1.4",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.1.4",
|
|
55
55
|
"@smithy/util-endpoints": "^3.1.2",
|
|
56
56
|
"@smithy/util-middleware": "^4.1.1",
|
|
57
57
|
"@smithy/util-retry": "^4.1.2",
|
|
58
58
|
"@smithy/util-utf8": "^4.1.0",
|
|
59
|
-
"@
|
|
60
|
-
"tslib": "^2.6.2"
|
|
61
|
-
"uuid": "^9.0.1"
|
|
59
|
+
"@smithy/uuid": "^1.0.0",
|
|
60
|
+
"tslib": "^2.6.2"
|
|
62
61
|
},
|
|
63
62
|
"devDependencies": {
|
|
64
63
|
"@tsconfig/node18": "18.2.4",
|