@aws-sdk/client-sso-admin 3.934.0 → 3.935.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.
@@ -0,0 +1,66 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import {
3
+ AccessDeniedExceptionReason,
4
+ ResourceNotFoundExceptionReason,
5
+ ThrottlingExceptionReason,
6
+ ValidationExceptionReason,
7
+ } from "./enums";
8
+ import { SSOAdminServiceException as __BaseException } from "./SSOAdminServiceException";
9
+ export declare class AccessDeniedException extends __BaseException {
10
+ readonly name: "AccessDeniedException";
11
+ readonly $fault: "client";
12
+ Message?: string | undefined;
13
+ Reason?: AccessDeniedExceptionReason | undefined;
14
+ constructor(
15
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
16
+ );
17
+ }
18
+ export declare class ConflictException extends __BaseException {
19
+ readonly name: "ConflictException";
20
+ readonly $fault: "client";
21
+ Message?: string | undefined;
22
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
23
+ }
24
+ export declare class InternalServerException extends __BaseException {
25
+ readonly name: "InternalServerException";
26
+ readonly $fault: "server";
27
+ Message?: string | undefined;
28
+ constructor(
29
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
30
+ );
31
+ }
32
+ export declare class ResourceNotFoundException extends __BaseException {
33
+ readonly name: "ResourceNotFoundException";
34
+ readonly $fault: "client";
35
+ Message?: string | undefined;
36
+ Reason?: ResourceNotFoundExceptionReason | undefined;
37
+ constructor(
38
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
39
+ );
40
+ }
41
+ export declare class ThrottlingException extends __BaseException {
42
+ readonly name: "ThrottlingException";
43
+ readonly $fault: "client";
44
+ Message?: string | undefined;
45
+ Reason?: ThrottlingExceptionReason | undefined;
46
+ constructor(
47
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
48
+ );
49
+ }
50
+ export declare class ValidationException extends __BaseException {
51
+ readonly name: "ValidationException";
52
+ readonly $fault: "client";
53
+ Message?: string | undefined;
54
+ Reason?: ValidationExceptionReason | undefined;
55
+ constructor(
56
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
57
+ );
58
+ }
59
+ export declare class ServiceQuotaExceededException extends __BaseException {
60
+ readonly name: "ServiceQuotaExceededException";
61
+ readonly $fault: "client";
62
+ Message?: string | undefined;
63
+ constructor(
64
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
65
+ );
66
+ }
@@ -1,6 +1,24 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import { DocumentType as __DocumentType } from "@smithy/types";
3
- import { SSOAdminServiceException as __BaseException } from "./SSOAdminServiceException";
2
+ import {
3
+ ApplicationStatus,
4
+ ApplicationVisibility,
5
+ AuthenticationMethodType,
6
+ FederationProtocol,
7
+ GrantType,
8
+ InstanceAccessControlAttributeConfigurationStatus,
9
+ InstanceStatus,
10
+ JwksRetrievalOption,
11
+ KmsKeyStatus,
12
+ KmsKeyType,
13
+ PrincipalType,
14
+ ProvisioningStatus,
15
+ ProvisionTargetType,
16
+ SignInOrigin,
17
+ StatusValues,
18
+ TargetType,
19
+ TrustedTokenIssuerType,
20
+ UserBackgroundSessionApplicationStatus,
21
+ } from "./enums";
4
22
  export interface AccessControlAttributeValue {
5
23
  Source: string[] | undefined;
6
24
  }
@@ -8,25 +26,6 @@ export interface AccessControlAttribute {
8
26
  Key: string | undefined;
9
27
  Value: AccessControlAttributeValue | undefined;
10
28
  }
11
- export declare const AccessDeniedExceptionReason: {
12
- readonly KMS_ACCESS_DENIED_EXCEPTION: "KMS_AccessDeniedException";
13
- };
14
- export type AccessDeniedExceptionReason =
15
- (typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
16
- export declare class AccessDeniedException extends __BaseException {
17
- readonly name: "AccessDeniedException";
18
- readonly $fault: "client";
19
- Message?: string | undefined;
20
- Reason?: AccessDeniedExceptionReason | undefined;
21
- constructor(
22
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
23
- );
24
- }
25
- export declare const PrincipalType: {
26
- readonly GROUP: "GROUP";
27
- readonly USER: "USER";
28
- };
29
- export type PrincipalType = (typeof PrincipalType)[keyof typeof PrincipalType];
30
29
  export interface AccountAssignment {
31
30
  AccountId?: string | undefined;
32
31
  PermissionSetArn?: string | undefined;
@@ -39,16 +38,6 @@ export interface AccountAssignmentForPrincipal {
39
38
  PrincipalId?: string | undefined;
40
39
  PrincipalType?: PrincipalType | undefined;
41
40
  }
42
- export declare const StatusValues: {
43
- readonly FAILED: "FAILED";
44
- readonly IN_PROGRESS: "IN_PROGRESS";
45
- readonly SUCCEEDED: "SUCCEEDED";
46
- };
47
- export type StatusValues = (typeof StatusValues)[keyof typeof StatusValues];
48
- export declare const TargetType: {
49
- readonly AWS_ACCOUNT: "AWS_ACCOUNT";
50
- };
51
- export type TargetType = (typeof TargetType)[keyof typeof TargetType];
52
41
  export interface AccountAssignmentOperationStatus {
53
42
  Status?: StatusValues | undefined;
54
43
  RequestId?: string | undefined;
@@ -65,31 +54,14 @@ export interface AccountAssignmentOperationStatusMetadata {
65
54
  RequestId?: string | undefined;
66
55
  CreatedDate?: Date | undefined;
67
56
  }
68
- export declare const SignInOrigin: {
69
- readonly APPLICATION: "APPLICATION";
70
- readonly IDENTITY_CENTER: "IDENTITY_CENTER";
71
- };
72
- export type SignInOrigin = (typeof SignInOrigin)[keyof typeof SignInOrigin];
73
57
  export interface SignInOptions {
74
58
  Origin: SignInOrigin | undefined;
75
59
  ApplicationUrl?: string | undefined;
76
60
  }
77
- export declare const ApplicationVisibility: {
78
- readonly DISABLED: "DISABLED";
79
- readonly ENABLED: "ENABLED";
80
- };
81
- export type ApplicationVisibility =
82
- (typeof ApplicationVisibility)[keyof typeof ApplicationVisibility];
83
61
  export interface PortalOptions {
84
62
  SignInOptions?: SignInOptions | undefined;
85
63
  Visibility?: ApplicationVisibility | undefined;
86
64
  }
87
- export declare const ApplicationStatus: {
88
- readonly DISABLED: "DISABLED";
89
- readonly ENABLED: "ENABLED";
90
- };
91
- export type ApplicationStatus =
92
- (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
93
65
  export interface Application {
94
66
  ApplicationArn?: string | undefined;
95
67
  ApplicationProviderArn?: string | undefined;
@@ -101,68 +73,10 @@ export interface Application {
101
73
  Description?: string | undefined;
102
74
  CreatedDate?: Date | undefined;
103
75
  }
104
- export declare class ConflictException extends __BaseException {
105
- readonly name: "ConflictException";
106
- readonly $fault: "client";
107
- Message?: string | undefined;
108
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
109
- }
110
76
  export interface DeleteApplicationAccessScopeRequest {
111
77
  ApplicationArn: string | undefined;
112
78
  Scope: string | undefined;
113
79
  }
114
- export declare class InternalServerException extends __BaseException {
115
- readonly name: "InternalServerException";
116
- readonly $fault: "server";
117
- Message?: string | undefined;
118
- constructor(
119
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
120
- );
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];
127
- export declare class ResourceNotFoundException extends __BaseException {
128
- readonly name: "ResourceNotFoundException";
129
- readonly $fault: "client";
130
- Message?: string | undefined;
131
- Reason?: ResourceNotFoundExceptionReason | undefined;
132
- constructor(
133
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
134
- );
135
- }
136
- export declare const ThrottlingExceptionReason: {
137
- readonly KMS_THROTTLING_EXCEPTION: "KMS_ThrottlingException";
138
- };
139
- export type ThrottlingExceptionReason =
140
- (typeof ThrottlingExceptionReason)[keyof typeof ThrottlingExceptionReason];
141
- export declare class ThrottlingException extends __BaseException {
142
- readonly name: "ThrottlingException";
143
- readonly $fault: "client";
144
- Message?: string | undefined;
145
- Reason?: ThrottlingExceptionReason | undefined;
146
- constructor(
147
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
148
- );
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];
157
- export declare class ValidationException extends __BaseException {
158
- readonly name: "ValidationException";
159
- readonly $fault: "client";
160
- Message?: string | undefined;
161
- Reason?: ValidationExceptionReason | undefined;
162
- constructor(
163
- opts: __ExceptionOptionType<ValidationException, __BaseException>
164
- );
165
- }
166
80
  export interface GetApplicationAccessScopeRequest {
167
81
  ApplicationArn: string | undefined;
168
82
  Scope: string | undefined;
@@ -199,11 +113,6 @@ export interface ApplicationAssignmentForPrincipal {
199
113
  PrincipalId?: string | undefined;
200
114
  PrincipalType?: PrincipalType | undefined;
201
115
  }
202
- export declare const AuthenticationMethodType: {
203
- readonly IAM: "IAM";
204
- };
205
- export type AuthenticationMethodType =
206
- (typeof AuthenticationMethodType)[keyof typeof AuthenticationMethodType];
207
116
  export interface DeleteApplicationAuthenticationMethodRequest {
208
117
  ApplicationArn: string | undefined;
209
118
  AuthenticationMethodType: AuthenticationMethodType | undefined;
@@ -252,13 +161,6 @@ export interface PutApplicationAuthenticationMethodRequest {
252
161
  AuthenticationMethodType: AuthenticationMethodType | undefined;
253
162
  AuthenticationMethod: AuthenticationMethod | undefined;
254
163
  }
255
- export declare const GrantType: {
256
- readonly AUTHORIZATION_CODE: "authorization_code";
257
- readonly JWT_BEARER: "urn:ietf:params:oauth:grant-type:jwt-bearer";
258
- readonly REFRESH_TOKEN: "refresh_token";
259
- readonly TOKEN_EXCHANGE: "urn:ietf:params:oauth:grant-type:token-exchange";
260
- };
261
- export type GrantType = (typeof GrantType)[keyof typeof GrantType];
262
164
  export interface DeleteApplicationGrantRequest {
263
165
  ApplicationArn: string | undefined;
264
166
  GrantType: GrantType | undefined;
@@ -354,12 +256,6 @@ export interface DisplayData {
354
256
  IconUrl?: string | undefined;
355
257
  Description?: string | undefined;
356
258
  }
357
- export declare const FederationProtocol: {
358
- readonly OAUTH: "OAUTH";
359
- readonly SAML: "SAML";
360
- };
361
- export type FederationProtocol =
362
- (typeof FederationProtocol)[keyof typeof FederationProtocol];
363
259
  export interface ResourceServerScopeDetails {
364
260
  LongDescription?: string | undefined;
365
261
  DetailedTitle?: string | undefined;
@@ -383,14 +279,6 @@ export interface AttachCustomerManagedPolicyReferenceToPermissionSetRequest {
383
279
  CustomerManagedPolicyReference: CustomerManagedPolicyReference | undefined;
384
280
  }
385
281
  export interface AttachCustomerManagedPolicyReferenceToPermissionSetResponse {}
386
- export declare class ServiceQuotaExceededException extends __BaseException {
387
- readonly name: "ServiceQuotaExceededException";
388
- readonly $fault: "client";
389
- Message?: string | undefined;
390
- constructor(
391
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
392
- );
393
- }
394
282
  export interface AttachedManagedPolicy {
395
283
  Name?: string | undefined;
396
284
  Arn?: string | undefined;
@@ -474,11 +362,6 @@ export interface PermissionSet {
474
362
  export interface CreatePermissionSetResponse {
475
363
  PermissionSet?: PermissionSet | undefined;
476
364
  }
477
- export declare const JwksRetrievalOption: {
478
- readonly OPEN_ID_DISCOVERY: "OPEN_ID_DISCOVERY";
479
- };
480
- export type JwksRetrievalOption =
481
- (typeof JwksRetrievalOption)[keyof typeof JwksRetrievalOption];
482
365
  export interface OidcJwtConfiguration {
483
366
  IssuerUrl: string | undefined;
484
367
  ClaimAttributePath: string | undefined;
@@ -502,11 +385,6 @@ export declare namespace TrustedTokenIssuerConfiguration {
502
385
  _: (name: string, value: any) => T;
503
386
  }
504
387
  }
505
- export declare const TrustedTokenIssuerType: {
506
- readonly OIDC_JWT: "OIDC_JWT";
507
- };
508
- export type TrustedTokenIssuerType =
509
- (typeof TrustedTokenIssuerType)[keyof typeof TrustedTokenIssuerType];
510
388
  export interface CreateTrustedTokenIssuerRequest {
511
389
  InstanceArn: string | undefined;
512
390
  Name: string | undefined;
@@ -622,31 +500,12 @@ export interface DescribeApplicationProviderResponse {
622
500
  export interface DescribeInstanceRequest {
623
501
  InstanceArn: string | undefined;
624
502
  }
625
- export declare const KmsKeyStatus: {
626
- readonly ENABLED: "ENABLED";
627
- readonly UPDATE_FAILED: "UPDATE_FAILED";
628
- readonly UPDATING: "UPDATING";
629
- };
630
- export type KmsKeyStatus = (typeof KmsKeyStatus)[keyof typeof KmsKeyStatus];
631
- export declare const KmsKeyType: {
632
- readonly AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY";
633
- readonly CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY";
634
- };
635
- export type KmsKeyType = (typeof KmsKeyType)[keyof typeof KmsKeyType];
636
503
  export interface EncryptionConfigurationDetails {
637
504
  KeyType?: KmsKeyType | undefined;
638
505
  KmsKeyArn?: string | undefined;
639
506
  EncryptionStatus?: KmsKeyStatus | undefined;
640
507
  EncryptionStatusReason?: string | undefined;
641
508
  }
642
- export declare const InstanceStatus: {
643
- readonly ACTIVE: "ACTIVE";
644
- readonly CREATE_FAILED: "CREATE_FAILED";
645
- readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
646
- readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
647
- };
648
- export type InstanceStatus =
649
- (typeof InstanceStatus)[keyof typeof InstanceStatus];
650
509
  export interface DescribeInstanceResponse {
651
510
  InstanceArn?: string | undefined;
652
511
  IdentityStoreId?: string | undefined;
@@ -660,13 +519,6 @@ export interface DescribeInstanceResponse {
660
519
  export interface DescribeInstanceAccessControlAttributeConfigurationRequest {
661
520
  InstanceArn: string | undefined;
662
521
  }
663
- export declare const InstanceAccessControlAttributeConfigurationStatus: {
664
- readonly CREATION_FAILED: "CREATION_FAILED";
665
- readonly CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS";
666
- readonly ENABLED: "ENABLED";
667
- };
668
- export type InstanceAccessControlAttributeConfigurationStatus =
669
- (typeof InstanceAccessControlAttributeConfigurationStatus)[keyof typeof InstanceAccessControlAttributeConfigurationStatus];
670
522
  export interface DescribeInstanceAccessControlAttributeConfigurationResponse {
671
523
  Status?: InstanceAccessControlAttributeConfigurationStatus | undefined;
672
524
  StatusReason?: string | undefined;
@@ -730,12 +582,6 @@ export interface GetApplicationAssignmentConfigurationResponse {
730
582
  export interface GetApplicationSessionConfigurationRequest {
731
583
  ApplicationArn: string | undefined;
732
584
  }
733
- export declare const UserBackgroundSessionApplicationStatus: {
734
- readonly DISABLED: "DISABLED";
735
- readonly ENABLED: "ENABLED";
736
- };
737
- export type UserBackgroundSessionApplicationStatus =
738
- (typeof UserBackgroundSessionApplicationStatus)[keyof typeof UserBackgroundSessionApplicationStatus];
739
585
  export interface GetApplicationSessionConfigurationResponse {
740
586
  UserBackgroundSessionApplicationStatus?:
741
587
  | UserBackgroundSessionApplicationStatus
@@ -821,12 +667,6 @@ export interface ListAccountAssignmentsForPrincipalResponse {
821
667
  AccountAssignments?: AccountAssignmentForPrincipal[] | undefined;
822
668
  NextToken?: string | undefined;
823
669
  }
824
- export declare const ProvisioningStatus: {
825
- readonly LATEST_PERMISSION_SET_NOT_PROVISIONED: "LATEST_PERMISSION_SET_NOT_PROVISIONED";
826
- readonly LATEST_PERMISSION_SET_PROVISIONED: "LATEST_PERMISSION_SET_PROVISIONED";
827
- };
828
- export type ProvisioningStatus =
829
- (typeof ProvisioningStatus)[keyof typeof ProvisioningStatus];
830
670
  export interface ListAccountsForProvisionedPermissionSetRequest {
831
671
  InstanceArn: string | undefined;
832
672
  PermissionSetArn: string | undefined;
@@ -979,12 +819,6 @@ export interface OidcJwtUpdateConfiguration {
979
819
  IdentityStoreAttributePath?: string | undefined;
980
820
  JwksRetrievalOption?: JwksRetrievalOption | undefined;
981
821
  }
982
- export declare const ProvisionTargetType: {
983
- readonly ALL_PROVISIONED_ACCOUNTS: "ALL_PROVISIONED_ACCOUNTS";
984
- readonly AWS_ACCOUNT: "AWS_ACCOUNT";
985
- };
986
- export type ProvisionTargetType =
987
- (typeof ProvisionTargetType)[keyof typeof ProvisionTargetType];
988
822
  export interface ProvisionPermissionSetRequest {
989
823
  InstanceArn: string | undefined;
990
824
  PermissionSetArn: string | undefined;
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.934.0",
4
+ "version": "3.935.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,38 +20,38 @@
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.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";