@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.
- package/dist-cjs/index.js +90 -89
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +89 -0
- package/dist-es/models/errors.js +107 -0
- package/dist-es/models/models_0.js +1 -196
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +265 -0
- package/dist-types/models/errors.d.ts +114 -0
- package/dist-types/models/models_0.d.ts +1 -378
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +126 -0
- package/dist-types/ts3.4/models/errors.d.ts +66 -0
- package/dist-types/ts3.4/models/models_0.d.ts +20 -186
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const AccessDeniedExceptionReason: {
|
|
6
|
+
readonly KMS_ACCESS_DENIED_EXCEPTION: "KMS_AccessDeniedException";
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export type AccessDeniedExceptionReason = (typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
* @enum
|
|
15
|
+
*/
|
|
16
|
+
export declare const PrincipalType: {
|
|
17
|
+
readonly GROUP: "GROUP";
|
|
18
|
+
readonly USER: "USER";
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export type PrincipalType = (typeof PrincipalType)[keyof typeof PrincipalType];
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* @enum
|
|
27
|
+
*/
|
|
28
|
+
export declare const StatusValues: {
|
|
29
|
+
readonly FAILED: "FAILED";
|
|
30
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
31
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export type StatusValues = (typeof StatusValues)[keyof typeof StatusValues];
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
* @enum
|
|
40
|
+
*/
|
|
41
|
+
export declare const TargetType: {
|
|
42
|
+
readonly AWS_ACCOUNT: "AWS_ACCOUNT";
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export type TargetType = (typeof TargetType)[keyof typeof TargetType];
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
* @enum
|
|
51
|
+
*/
|
|
52
|
+
export declare const SignInOrigin: {
|
|
53
|
+
readonly APPLICATION: "APPLICATION";
|
|
54
|
+
readonly IDENTITY_CENTER: "IDENTITY_CENTER";
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
export type SignInOrigin = (typeof SignInOrigin)[keyof typeof SignInOrigin];
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
* @enum
|
|
63
|
+
*/
|
|
64
|
+
export declare const ApplicationVisibility: {
|
|
65
|
+
readonly DISABLED: "DISABLED";
|
|
66
|
+
readonly ENABLED: "ENABLED";
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export type ApplicationVisibility = (typeof ApplicationVisibility)[keyof typeof ApplicationVisibility];
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
* @enum
|
|
75
|
+
*/
|
|
76
|
+
export declare const ApplicationStatus: {
|
|
77
|
+
readonly DISABLED: "DISABLED";
|
|
78
|
+
readonly ENABLED: "ENABLED";
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
* @enum
|
|
87
|
+
*/
|
|
88
|
+
export declare const ResourceNotFoundExceptionReason: {
|
|
89
|
+
readonly KMS_NOT_FOUND_EXCEPTION: "KMS_NotFoundException";
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export type ResourceNotFoundExceptionReason = (typeof ResourceNotFoundExceptionReason)[keyof typeof ResourceNotFoundExceptionReason];
|
|
95
|
+
/**
|
|
96
|
+
* @public
|
|
97
|
+
* @enum
|
|
98
|
+
*/
|
|
99
|
+
export declare const ThrottlingExceptionReason: {
|
|
100
|
+
readonly KMS_THROTTLING_EXCEPTION: "KMS_ThrottlingException";
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export type ThrottlingExceptionReason = (typeof ThrottlingExceptionReason)[keyof typeof ThrottlingExceptionReason];
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
* @enum
|
|
109
|
+
*/
|
|
110
|
+
export declare const ValidationExceptionReason: {
|
|
111
|
+
readonly KMS_DISABLED_EXCEPTION: "KMS_DisabledException";
|
|
112
|
+
readonly KMS_INVALID_KEY_USAGE_EXCEPTION: "KMS_InvalidKeyUsageException";
|
|
113
|
+
readonly KMS_INVALID_STATE_EXCEPTION: "KMS_InvalidStateException";
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
* @enum
|
|
122
|
+
*/
|
|
123
|
+
export declare const AuthenticationMethodType: {
|
|
124
|
+
readonly IAM: "IAM";
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
export type AuthenticationMethodType = (typeof AuthenticationMethodType)[keyof typeof AuthenticationMethodType];
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
* @enum
|
|
133
|
+
*/
|
|
134
|
+
export declare const GrantType: {
|
|
135
|
+
readonly AUTHORIZATION_CODE: "authorization_code";
|
|
136
|
+
readonly JWT_BEARER: "urn:ietf:params:oauth:grant-type:jwt-bearer";
|
|
137
|
+
readonly REFRESH_TOKEN: "refresh_token";
|
|
138
|
+
readonly TOKEN_EXCHANGE: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
export type GrantType = (typeof GrantType)[keyof typeof GrantType];
|
|
144
|
+
/**
|
|
145
|
+
* @public
|
|
146
|
+
* @enum
|
|
147
|
+
*/
|
|
148
|
+
export declare const FederationProtocol: {
|
|
149
|
+
readonly OAUTH: "OAUTH";
|
|
150
|
+
readonly SAML: "SAML";
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
export type FederationProtocol = (typeof FederationProtocol)[keyof typeof FederationProtocol];
|
|
156
|
+
/**
|
|
157
|
+
* @public
|
|
158
|
+
* @enum
|
|
159
|
+
*/
|
|
160
|
+
export declare const JwksRetrievalOption: {
|
|
161
|
+
readonly OPEN_ID_DISCOVERY: "OPEN_ID_DISCOVERY";
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
export type JwksRetrievalOption = (typeof JwksRetrievalOption)[keyof typeof JwksRetrievalOption];
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
* @enum
|
|
170
|
+
*/
|
|
171
|
+
export declare const TrustedTokenIssuerType: {
|
|
172
|
+
readonly OIDC_JWT: "OIDC_JWT";
|
|
173
|
+
};
|
|
174
|
+
/**
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
export type TrustedTokenIssuerType = (typeof TrustedTokenIssuerType)[keyof typeof TrustedTokenIssuerType];
|
|
178
|
+
/**
|
|
179
|
+
* @public
|
|
180
|
+
* @enum
|
|
181
|
+
*/
|
|
182
|
+
export declare const KmsKeyStatus: {
|
|
183
|
+
readonly ENABLED: "ENABLED";
|
|
184
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
185
|
+
readonly UPDATING: "UPDATING";
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
190
|
+
export type KmsKeyStatus = (typeof KmsKeyStatus)[keyof typeof KmsKeyStatus];
|
|
191
|
+
/**
|
|
192
|
+
* @public
|
|
193
|
+
* @enum
|
|
194
|
+
*/
|
|
195
|
+
export declare const KmsKeyType: {
|
|
196
|
+
readonly AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY";
|
|
197
|
+
readonly CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY";
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
export type KmsKeyType = (typeof KmsKeyType)[keyof typeof KmsKeyType];
|
|
203
|
+
/**
|
|
204
|
+
* @public
|
|
205
|
+
* @enum
|
|
206
|
+
*/
|
|
207
|
+
export declare const InstanceStatus: {
|
|
208
|
+
readonly ACTIVE: "ACTIVE";
|
|
209
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
210
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
211
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* @public
|
|
215
|
+
*/
|
|
216
|
+
export type InstanceStatus = (typeof InstanceStatus)[keyof typeof InstanceStatus];
|
|
217
|
+
/**
|
|
218
|
+
* @public
|
|
219
|
+
* @enum
|
|
220
|
+
*/
|
|
221
|
+
export declare const InstanceAccessControlAttributeConfigurationStatus: {
|
|
222
|
+
readonly CREATION_FAILED: "CREATION_FAILED";
|
|
223
|
+
readonly CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS";
|
|
224
|
+
readonly ENABLED: "ENABLED";
|
|
225
|
+
};
|
|
226
|
+
/**
|
|
227
|
+
* @public
|
|
228
|
+
*/
|
|
229
|
+
export type InstanceAccessControlAttributeConfigurationStatus = (typeof InstanceAccessControlAttributeConfigurationStatus)[keyof typeof InstanceAccessControlAttributeConfigurationStatus];
|
|
230
|
+
/**
|
|
231
|
+
* @public
|
|
232
|
+
* @enum
|
|
233
|
+
*/
|
|
234
|
+
export declare const UserBackgroundSessionApplicationStatus: {
|
|
235
|
+
readonly DISABLED: "DISABLED";
|
|
236
|
+
readonly ENABLED: "ENABLED";
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* @public
|
|
240
|
+
*/
|
|
241
|
+
export type UserBackgroundSessionApplicationStatus = (typeof UserBackgroundSessionApplicationStatus)[keyof typeof UserBackgroundSessionApplicationStatus];
|
|
242
|
+
/**
|
|
243
|
+
* @public
|
|
244
|
+
* @enum
|
|
245
|
+
*/
|
|
246
|
+
export declare const ProvisioningStatus: {
|
|
247
|
+
readonly LATEST_PERMISSION_SET_NOT_PROVISIONED: "LATEST_PERMISSION_SET_NOT_PROVISIONED";
|
|
248
|
+
readonly LATEST_PERMISSION_SET_PROVISIONED: "LATEST_PERMISSION_SET_PROVISIONED";
|
|
249
|
+
};
|
|
250
|
+
/**
|
|
251
|
+
* @public
|
|
252
|
+
*/
|
|
253
|
+
export type ProvisioningStatus = (typeof ProvisioningStatus)[keyof typeof ProvisioningStatus];
|
|
254
|
+
/**
|
|
255
|
+
* @public
|
|
256
|
+
* @enum
|
|
257
|
+
*/
|
|
258
|
+
export declare const ProvisionTargetType: {
|
|
259
|
+
readonly ALL_PROVISIONED_ACCOUNTS: "ALL_PROVISIONED_ACCOUNTS";
|
|
260
|
+
readonly AWS_ACCOUNT: "AWS_ACCOUNT";
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
265
|
+
export type ProvisionTargetType = (typeof ProvisionTargetType)[keyof typeof ProvisionTargetType];
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { AccessDeniedExceptionReason, ResourceNotFoundExceptionReason, ThrottlingExceptionReason, ValidationExceptionReason } from "./enums";
|
|
3
|
+
import { SSOAdminServiceException as __BaseException } from "./SSOAdminServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
Message?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The reason for the access denied exception.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
Reason?: AccessDeniedExceptionReason | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export declare class ConflictException extends __BaseException {
|
|
27
|
+
readonly name: "ConflictException";
|
|
28
|
+
readonly $fault: "client";
|
|
29
|
+
Message?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure with an internal server.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export declare class InternalServerException extends __BaseException {
|
|
40
|
+
readonly name: "InternalServerException";
|
|
41
|
+
readonly $fault: "server";
|
|
42
|
+
Message?: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* <p>Indicates that a requested resource is not found.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
53
|
+
readonly name: "ResourceNotFoundException";
|
|
54
|
+
readonly $fault: "client";
|
|
55
|
+
Message?: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* <p>The reason for the resource not found exception.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
Reason?: ResourceNotFoundExceptionReason | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* <p>Indicates that the principal has crossed the throttling limits of the API operations.</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class ThrottlingException extends __BaseException {
|
|
71
|
+
readonly name: "ThrottlingException";
|
|
72
|
+
readonly $fault: "client";
|
|
73
|
+
Message?: string | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* <p>The reason for the throttling exception.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
Reason?: ThrottlingExceptionReason | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* <p>The request failed because it contains a syntax error.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class ValidationException extends __BaseException {
|
|
89
|
+
readonly name: "ValidationException";
|
|
90
|
+
readonly $fault: "client";
|
|
91
|
+
Message?: string | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* <p>The reason for the validation exception.</p>
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
Reason?: ValidationExceptionReason | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* <p>Indicates that the principal has crossed the permitted number of resources that can be created.</p>
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
107
|
+
readonly name: "ServiceQuotaExceededException";
|
|
108
|
+
readonly $fault: "client";
|
|
109
|
+
Message?: string | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
114
|
+
}
|