@aws-sdk/client-rolesanywhere 3.123.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.
Files changed (184) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +208 -0
  4. package/dist-cjs/RolesAnywhere.js +397 -0
  5. package/dist-cjs/RolesAnywhereClient.js +37 -0
  6. package/dist-cjs/commands/CreateProfileCommand.js +36 -0
  7. package/dist-cjs/commands/CreateTrustAnchorCommand.js +36 -0
  8. package/dist-cjs/commands/DeleteCrlCommand.js +36 -0
  9. package/dist-cjs/commands/DeleteProfileCommand.js +36 -0
  10. package/dist-cjs/commands/DeleteTrustAnchorCommand.js +36 -0
  11. package/dist-cjs/commands/DisableCrlCommand.js +36 -0
  12. package/dist-cjs/commands/DisableProfileCommand.js +36 -0
  13. package/dist-cjs/commands/DisableTrustAnchorCommand.js +36 -0
  14. package/dist-cjs/commands/EnableCrlCommand.js +36 -0
  15. package/dist-cjs/commands/EnableProfileCommand.js +36 -0
  16. package/dist-cjs/commands/EnableTrustAnchorCommand.js +36 -0
  17. package/dist-cjs/commands/GetCrlCommand.js +36 -0
  18. package/dist-cjs/commands/GetProfileCommand.js +36 -0
  19. package/dist-cjs/commands/GetSubjectCommand.js +36 -0
  20. package/dist-cjs/commands/GetTrustAnchorCommand.js +36 -0
  21. package/dist-cjs/commands/ImportCrlCommand.js +36 -0
  22. package/dist-cjs/commands/ListCrlsCommand.js +36 -0
  23. package/dist-cjs/commands/ListProfilesCommand.js +36 -0
  24. package/dist-cjs/commands/ListSubjectsCommand.js +36 -0
  25. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  26. package/dist-cjs/commands/ListTrustAnchorsCommand.js +36 -0
  27. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  28. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  29. package/dist-cjs/commands/UpdateCrlCommand.js +36 -0
  30. package/dist-cjs/commands/UpdateProfileCommand.js +36 -0
  31. package/dist-cjs/commands/UpdateTrustAnchorCommand.js +36 -0
  32. package/dist-cjs/commands/index.js +29 -0
  33. package/dist-cjs/endpoints.js +131 -0
  34. package/dist-cjs/index.js +11 -0
  35. package/dist-cjs/models/RolesAnywhereServiceException.js +11 -0
  36. package/dist-cjs/models/index.js +4 -0
  37. package/dist-cjs/models/models_0.js +301 -0
  38. package/dist-cjs/pagination/Interfaces.js +2 -0
  39. package/dist-cjs/pagination/ListCrlsPaginator.js +35 -0
  40. package/dist-cjs/pagination/ListProfilesPaginator.js +35 -0
  41. package/dist-cjs/pagination/ListSubjectsPaginator.js +35 -0
  42. package/dist-cjs/pagination/ListTrustAnchorsPaginator.js +35 -0
  43. package/dist-cjs/pagination/index.js +8 -0
  44. package/dist-cjs/protocols/Aws_restJson1.js +2195 -0
  45. package/dist-cjs/runtimeConfig.browser.js +45 -0
  46. package/dist-cjs/runtimeConfig.js +52 -0
  47. package/dist-cjs/runtimeConfig.native.js +16 -0
  48. package/dist-cjs/runtimeConfig.shared.js +17 -0
  49. package/dist-es/RolesAnywhere.js +400 -0
  50. package/dist-es/RolesAnywhereClient.js +39 -0
  51. package/dist-es/commands/CreateProfileCommand.js +39 -0
  52. package/dist-es/commands/CreateTrustAnchorCommand.js +39 -0
  53. package/dist-es/commands/DeleteCrlCommand.js +39 -0
  54. package/dist-es/commands/DeleteProfileCommand.js +39 -0
  55. package/dist-es/commands/DeleteTrustAnchorCommand.js +39 -0
  56. package/dist-es/commands/DisableCrlCommand.js +39 -0
  57. package/dist-es/commands/DisableProfileCommand.js +39 -0
  58. package/dist-es/commands/DisableTrustAnchorCommand.js +39 -0
  59. package/dist-es/commands/EnableCrlCommand.js +39 -0
  60. package/dist-es/commands/EnableProfileCommand.js +39 -0
  61. package/dist-es/commands/EnableTrustAnchorCommand.js +39 -0
  62. package/dist-es/commands/GetCrlCommand.js +39 -0
  63. package/dist-es/commands/GetProfileCommand.js +39 -0
  64. package/dist-es/commands/GetSubjectCommand.js +39 -0
  65. package/dist-es/commands/GetTrustAnchorCommand.js +39 -0
  66. package/dist-es/commands/ImportCrlCommand.js +39 -0
  67. package/dist-es/commands/ListCrlsCommand.js +39 -0
  68. package/dist-es/commands/ListProfilesCommand.js +39 -0
  69. package/dist-es/commands/ListSubjectsCommand.js +39 -0
  70. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  71. package/dist-es/commands/ListTrustAnchorsCommand.js +39 -0
  72. package/dist-es/commands/TagResourceCommand.js +39 -0
  73. package/dist-es/commands/UntagResourceCommand.js +39 -0
  74. package/dist-es/commands/UpdateCrlCommand.js +39 -0
  75. package/dist-es/commands/UpdateProfileCommand.js +39 -0
  76. package/dist-es/commands/UpdateTrustAnchorCommand.js +39 -0
  77. package/dist-es/commands/index.js +26 -0
  78. package/dist-es/endpoints.js +127 -0
  79. package/dist-es/index.js +6 -0
  80. package/dist-es/models/RolesAnywhereServiceException.js +12 -0
  81. package/dist-es/models/index.js +1 -0
  82. package/dist-es/models/models_0.js +214 -0
  83. package/dist-es/pagination/Interfaces.js +1 -0
  84. package/dist-es/pagination/ListCrlsPaginator.js +74 -0
  85. package/dist-es/pagination/ListProfilesPaginator.js +74 -0
  86. package/dist-es/pagination/ListSubjectsPaginator.js +74 -0
  87. package/dist-es/pagination/ListTrustAnchorsPaginator.js +74 -0
  88. package/dist-es/pagination/index.js +5 -0
  89. package/dist-es/protocols/Aws_restJson1.js +2793 -0
  90. package/dist-es/runtimeConfig.browser.js +26 -0
  91. package/dist-es/runtimeConfig.js +30 -0
  92. package/dist-es/runtimeConfig.native.js +8 -0
  93. package/dist-es/runtimeConfig.shared.js +13 -0
  94. package/dist-types/RolesAnywhere.d.ts +296 -0
  95. package/dist-types/RolesAnywhereClient.d.ts +173 -0
  96. package/dist-types/commands/CreateProfileCommand.d.ts +39 -0
  97. package/dist-types/commands/CreateTrustAnchorCommand.d.ts +39 -0
  98. package/dist-types/commands/DeleteCrlCommand.d.ts +39 -0
  99. package/dist-types/commands/DeleteProfileCommand.d.ts +39 -0
  100. package/dist-types/commands/DeleteTrustAnchorCommand.d.ts +39 -0
  101. package/dist-types/commands/DisableCrlCommand.d.ts +39 -0
  102. package/dist-types/commands/DisableProfileCommand.d.ts +39 -0
  103. package/dist-types/commands/DisableTrustAnchorCommand.d.ts +39 -0
  104. package/dist-types/commands/EnableCrlCommand.d.ts +39 -0
  105. package/dist-types/commands/EnableProfileCommand.d.ts +39 -0
  106. package/dist-types/commands/EnableTrustAnchorCommand.d.ts +39 -0
  107. package/dist-types/commands/GetCrlCommand.d.ts +39 -0
  108. package/dist-types/commands/GetProfileCommand.d.ts +39 -0
  109. package/dist-types/commands/GetSubjectCommand.d.ts +39 -0
  110. package/dist-types/commands/GetTrustAnchorCommand.d.ts +39 -0
  111. package/dist-types/commands/ImportCrlCommand.d.ts +39 -0
  112. package/dist-types/commands/ListCrlsCommand.d.ts +39 -0
  113. package/dist-types/commands/ListProfilesCommand.d.ts +39 -0
  114. package/dist-types/commands/ListSubjectsCommand.d.ts +39 -0
  115. package/dist-types/commands/ListTagsForResourceCommand.d.ts +39 -0
  116. package/dist-types/commands/ListTrustAnchorsCommand.d.ts +39 -0
  117. package/dist-types/commands/TagResourceCommand.d.ts +39 -0
  118. package/dist-types/commands/UntagResourceCommand.d.ts +39 -0
  119. package/dist-types/commands/UpdateCrlCommand.d.ts +39 -0
  120. package/dist-types/commands/UpdateProfileCommand.d.ts +39 -0
  121. package/dist-types/commands/UpdateTrustAnchorCommand.d.ts +39 -0
  122. package/dist-types/commands/index.d.ts +26 -0
  123. package/dist-types/endpoints.d.ts +2 -0
  124. package/dist-types/index.d.ts +6 -0
  125. package/dist-types/models/RolesAnywhereServiceException.d.ts +10 -0
  126. package/dist-types/models/index.d.ts +1 -0
  127. package/dist-types/models/models_0.d.ts +823 -0
  128. package/dist-types/pagination/Interfaces.d.ts +6 -0
  129. package/dist-types/pagination/ListCrlsPaginator.d.ts +4 -0
  130. package/dist-types/pagination/ListProfilesPaginator.d.ts +4 -0
  131. package/dist-types/pagination/ListSubjectsPaginator.d.ts +4 -0
  132. package/dist-types/pagination/ListTrustAnchorsPaginator.d.ts +4 -0
  133. package/dist-types/pagination/index.d.ts +5 -0
  134. package/dist-types/protocols/Aws_restJson1.d.ts +80 -0
  135. package/dist-types/runtimeConfig.browser.d.ts +40 -0
  136. package/dist-types/runtimeConfig.d.ts +40 -0
  137. package/dist-types/runtimeConfig.native.d.ts +39 -0
  138. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  139. package/dist-types/ts3.4/RolesAnywhere.d.ts +135 -0
  140. package/dist-types/ts3.4/RolesAnywhereClient.d.ts +99 -0
  141. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +17 -0
  142. package/dist-types/ts3.4/commands/CreateTrustAnchorCommand.d.ts +17 -0
  143. package/dist-types/ts3.4/commands/DeleteCrlCommand.d.ts +17 -0
  144. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/DeleteTrustAnchorCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/DisableCrlCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/DisableProfileCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/DisableTrustAnchorCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/EnableCrlCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/EnableProfileCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/EnableTrustAnchorCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/GetCrlCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/GetSubjectCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/GetTrustAnchorCommand.d.ts +17 -0
  156. package/dist-types/ts3.4/commands/ImportCrlCommand.d.ts +17 -0
  157. package/dist-types/ts3.4/commands/ListCrlsCommand.d.ts +17 -0
  158. package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +17 -0
  159. package/dist-types/ts3.4/commands/ListSubjectsCommand.d.ts +17 -0
  160. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  161. package/dist-types/ts3.4/commands/ListTrustAnchorsCommand.d.ts +17 -0
  162. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  163. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  164. package/dist-types/ts3.4/commands/UpdateCrlCommand.d.ts +17 -0
  165. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +17 -0
  166. package/dist-types/ts3.4/commands/UpdateTrustAnchorCommand.d.ts +17 -0
  167. package/dist-types/ts3.4/commands/index.d.ts +26 -0
  168. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  169. package/dist-types/ts3.4/index.d.ts +6 -0
  170. package/dist-types/ts3.4/models/RolesAnywhereServiceException.d.ts +6 -0
  171. package/dist-types/ts3.4/models/index.d.ts +1 -0
  172. package/dist-types/ts3.4/models/models_0.d.ts +498 -0
  173. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  174. package/dist-types/ts3.4/pagination/ListCrlsPaginator.d.ts +4 -0
  175. package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +4 -0
  176. package/dist-types/ts3.4/pagination/ListSubjectsPaginator.d.ts +4 -0
  177. package/dist-types/ts3.4/pagination/ListTrustAnchorsPaginator.d.ts +4 -0
  178. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  179. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +80 -0
  180. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  181. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  182. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  183. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  184. package/package.json +94 -0
@@ -0,0 +1,498 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { RolesAnywhereServiceException as __BaseException } from "./RolesAnywhereServiceException";
3
+
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+
8
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
+ }
10
+
11
+ export interface Tag {
12
+
13
+ key: string | undefined;
14
+
15
+ value: string | undefined;
16
+ }
17
+ export declare namespace Tag {
18
+
19
+ const filterSensitiveLog: (obj: Tag) => any;
20
+ }
21
+ export interface CreateProfileRequest {
22
+
23
+ name: string | undefined;
24
+
25
+ requireInstanceProperties?: boolean;
26
+
27
+ sessionPolicy?: string;
28
+
29
+ roleArns: string[] | undefined;
30
+
31
+ managedPolicyArns?: string[];
32
+
33
+ durationSeconds?: number;
34
+
35
+ enabled?: boolean;
36
+
37
+ tags?: Tag[];
38
+ }
39
+ export declare namespace CreateProfileRequest {
40
+
41
+ const filterSensitiveLog: (obj: CreateProfileRequest) => any;
42
+ }
43
+
44
+ export interface ProfileDetail {
45
+
46
+ profileId?: string;
47
+
48
+ profileArn?: string;
49
+
50
+ name?: string;
51
+
52
+ requireInstanceProperties?: boolean;
53
+
54
+ enabled?: boolean;
55
+
56
+ createdBy?: string;
57
+
58
+ sessionPolicy?: string;
59
+
60
+ roleArns?: string[];
61
+
62
+ managedPolicyArns?: string[];
63
+
64
+ createdAt?: Date;
65
+
66
+ updatedAt?: Date;
67
+
68
+ durationSeconds?: number;
69
+ }
70
+ export declare namespace ProfileDetail {
71
+
72
+ const filterSensitiveLog: (obj: ProfileDetail) => any;
73
+ }
74
+ export interface ProfileDetailResponse {
75
+
76
+ profile?: ProfileDetail;
77
+ }
78
+ export declare namespace ProfileDetailResponse {
79
+
80
+ const filterSensitiveLog: (obj: ProfileDetailResponse) => any;
81
+ }
82
+
83
+ export declare class ValidationException extends __BaseException {
84
+ readonly name: "ValidationException";
85
+ readonly $fault: "client";
86
+
87
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
88
+ }
89
+
90
+ export declare type SourceData = SourceData.AcmPcaArnMember | SourceData.X509CertificateDataMember | SourceData.$UnknownMember;
91
+ export declare namespace SourceData {
92
+
93
+ interface X509CertificateDataMember {
94
+ x509CertificateData: string;
95
+ acmPcaArn?: never;
96
+ $unknown?: never;
97
+ }
98
+
99
+ interface AcmPcaArnMember {
100
+ x509CertificateData?: never;
101
+ acmPcaArn: string;
102
+ $unknown?: never;
103
+ }
104
+ interface $UnknownMember {
105
+ x509CertificateData?: never;
106
+ acmPcaArn?: never;
107
+ $unknown: [
108
+ string,
109
+ any
110
+ ];
111
+ }
112
+ interface Visitor<T> {
113
+ x509CertificateData: (value: string) => T;
114
+ acmPcaArn: (value: string) => T;
115
+ _: (name: string, value: any) => T;
116
+ }
117
+ const visit: <T>(value: SourceData, visitor: Visitor<T>) => T;
118
+
119
+ const filterSensitiveLog: (obj: SourceData) => any;
120
+ }
121
+ export declare enum TrustAnchorType {
122
+ AWS_ACM_PCA = "AWS_ACM_PCA",
123
+ CERTIFICATE_BUNDLE = "CERTIFICATE_BUNDLE",
124
+ SELF_SIGNED_REPOSITORY = "SELF_SIGNED_REPOSITORY"
125
+ }
126
+
127
+ export interface Source {
128
+
129
+ sourceType?: TrustAnchorType | string;
130
+
131
+ sourceData?: SourceData;
132
+ }
133
+ export declare namespace Source {
134
+
135
+ const filterSensitiveLog: (obj: Source) => any;
136
+ }
137
+ export interface CreateTrustAnchorRequest {
138
+
139
+ name: string | undefined;
140
+
141
+ source: Source | undefined;
142
+
143
+ enabled?: boolean;
144
+
145
+ tags?: Tag[];
146
+ }
147
+ export declare namespace CreateTrustAnchorRequest {
148
+
149
+ const filterSensitiveLog: (obj: CreateTrustAnchorRequest) => any;
150
+ }
151
+
152
+ export interface TrustAnchorDetail {
153
+
154
+ trustAnchorId?: string;
155
+
156
+ trustAnchorArn?: string;
157
+
158
+ name?: string;
159
+
160
+ source?: Source;
161
+
162
+ enabled?: boolean;
163
+
164
+ createdAt?: Date;
165
+
166
+ updatedAt?: Date;
167
+ }
168
+ export declare namespace TrustAnchorDetail {
169
+
170
+ const filterSensitiveLog: (obj: TrustAnchorDetail) => any;
171
+ }
172
+ export interface TrustAnchorDetailResponse {
173
+
174
+ trustAnchor: TrustAnchorDetail | undefined;
175
+ }
176
+ export declare namespace TrustAnchorDetailResponse {
177
+
178
+ const filterSensitiveLog: (obj: TrustAnchorDetailResponse) => any;
179
+ }
180
+
181
+ export interface CredentialSummary {
182
+
183
+ seenAt?: Date;
184
+
185
+ serialNumber?: string;
186
+
187
+ issuer?: string;
188
+
189
+ enabled?: boolean;
190
+
191
+ x509CertificateData?: string;
192
+
193
+ failed?: boolean;
194
+ }
195
+ export declare namespace CredentialSummary {
196
+
197
+ const filterSensitiveLog: (obj: CredentialSummary) => any;
198
+ }
199
+
200
+ export interface CrlDetail {
201
+
202
+ crlId?: string;
203
+
204
+ crlArn?: string;
205
+
206
+ name?: string;
207
+
208
+ enabled?: boolean;
209
+
210
+ crlData?: Uint8Array;
211
+
212
+ trustAnchorArn?: string;
213
+
214
+ createdAt?: Date;
215
+
216
+ updatedAt?: Date;
217
+ }
218
+ export declare namespace CrlDetail {
219
+
220
+ const filterSensitiveLog: (obj: CrlDetail) => any;
221
+ }
222
+ export interface CrlDetailResponse {
223
+
224
+ crl: CrlDetail | undefined;
225
+ }
226
+ export declare namespace CrlDetailResponse {
227
+
228
+ const filterSensitiveLog: (obj: CrlDetailResponse) => any;
229
+ }
230
+
231
+ export declare class ResourceNotFoundException extends __BaseException {
232
+ readonly name: "ResourceNotFoundException";
233
+ readonly $fault: "client";
234
+
235
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
236
+ }
237
+ export interface ScalarCrlRequest {
238
+
239
+ crlId: string | undefined;
240
+ }
241
+ export declare namespace ScalarCrlRequest {
242
+
243
+ const filterSensitiveLog: (obj: ScalarCrlRequest) => any;
244
+ }
245
+ export interface ImportCrlRequest {
246
+
247
+ name: string | undefined;
248
+
249
+ crlData: Uint8Array | undefined;
250
+
251
+ enabled?: boolean;
252
+
253
+ tags?: Tag[];
254
+
255
+ trustAnchorArn: string | undefined;
256
+ }
257
+ export declare namespace ImportCrlRequest {
258
+
259
+ const filterSensitiveLog: (obj: ImportCrlRequest) => any;
260
+ }
261
+ export interface ListCrlsResponse {
262
+
263
+ nextToken?: string;
264
+
265
+ crls?: CrlDetail[];
266
+ }
267
+ export declare namespace ListCrlsResponse {
268
+
269
+ const filterSensitiveLog: (obj: ListCrlsResponse) => any;
270
+ }
271
+ export interface ListRequest {
272
+
273
+ nextToken?: string;
274
+
275
+ pageSize?: number;
276
+ }
277
+ export declare namespace ListRequest {
278
+
279
+ const filterSensitiveLog: (obj: ListRequest) => any;
280
+ }
281
+ export interface UpdateCrlRequest {
282
+
283
+ crlId: string | undefined;
284
+
285
+ name?: string;
286
+
287
+ crlData?: Uint8Array;
288
+ }
289
+ export declare namespace UpdateCrlRequest {
290
+
291
+ const filterSensitiveLog: (obj: UpdateCrlRequest) => any;
292
+ }
293
+ export interface ScalarProfileRequest {
294
+
295
+ profileId: string | undefined;
296
+ }
297
+ export declare namespace ScalarProfileRequest {
298
+
299
+ const filterSensitiveLog: (obj: ScalarProfileRequest) => any;
300
+ }
301
+ export interface ScalarTrustAnchorRequest {
302
+
303
+ trustAnchorId: string | undefined;
304
+ }
305
+ export declare namespace ScalarTrustAnchorRequest {
306
+
307
+ const filterSensitiveLog: (obj: ScalarTrustAnchorRequest) => any;
308
+ }
309
+ export interface ScalarSubjectRequest {
310
+
311
+ subjectId: string | undefined;
312
+ }
313
+ export declare namespace ScalarSubjectRequest {
314
+
315
+ const filterSensitiveLog: (obj: ScalarSubjectRequest) => any;
316
+ }
317
+
318
+ export interface InstanceProperty {
319
+
320
+ seenAt?: Date;
321
+
322
+ properties?: Record<string, string>;
323
+
324
+ failed?: boolean;
325
+ }
326
+ export declare namespace InstanceProperty {
327
+
328
+ const filterSensitiveLog: (obj: InstanceProperty) => any;
329
+ }
330
+
331
+ export interface SubjectDetail {
332
+
333
+ subjectArn?: string;
334
+
335
+ subjectId?: string;
336
+
337
+ enabled?: boolean;
338
+
339
+ x509Subject?: string;
340
+
341
+ lastSeenAt?: Date;
342
+
343
+ createdAt?: Date;
344
+
345
+ updatedAt?: Date;
346
+
347
+ credentials?: CredentialSummary[];
348
+
349
+ instanceProperties?: InstanceProperty[];
350
+ }
351
+ export declare namespace SubjectDetail {
352
+
353
+ const filterSensitiveLog: (obj: SubjectDetail) => any;
354
+ }
355
+ export interface SubjectDetailResponse {
356
+
357
+ subject?: SubjectDetail;
358
+ }
359
+ export declare namespace SubjectDetailResponse {
360
+
361
+ const filterSensitiveLog: (obj: SubjectDetailResponse) => any;
362
+ }
363
+ export interface ListProfilesResponse {
364
+
365
+ nextToken?: string;
366
+
367
+ profiles?: ProfileDetail[];
368
+ }
369
+ export declare namespace ListProfilesResponse {
370
+
371
+ const filterSensitiveLog: (obj: ListProfilesResponse) => any;
372
+ }
373
+
374
+ export interface SubjectSummary {
375
+
376
+ subjectArn?: string;
377
+
378
+ subjectId?: string;
379
+
380
+ enabled?: boolean;
381
+
382
+ x509Subject?: string;
383
+
384
+ lastSeenAt?: Date;
385
+
386
+ createdAt?: Date;
387
+
388
+ updatedAt?: Date;
389
+ }
390
+ export declare namespace SubjectSummary {
391
+
392
+ const filterSensitiveLog: (obj: SubjectSummary) => any;
393
+ }
394
+ export interface ListSubjectsResponse {
395
+
396
+ subjects?: SubjectSummary[];
397
+
398
+ nextToken?: string;
399
+ }
400
+ export declare namespace ListSubjectsResponse {
401
+
402
+ const filterSensitiveLog: (obj: ListSubjectsResponse) => any;
403
+ }
404
+ export interface ListTagsForResourceRequest {
405
+
406
+ resourceArn: string | undefined;
407
+ }
408
+ export declare namespace ListTagsForResourceRequest {
409
+
410
+ const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
411
+ }
412
+ export interface ListTagsForResourceResponse {
413
+
414
+ tags?: Tag[];
415
+ }
416
+ export declare namespace ListTagsForResourceResponse {
417
+
418
+ const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
419
+ }
420
+ export interface ListTrustAnchorsResponse {
421
+
422
+ nextToken?: string;
423
+
424
+ trustAnchors?: TrustAnchorDetail[];
425
+ }
426
+ export declare namespace ListTrustAnchorsResponse {
427
+
428
+ const filterSensitiveLog: (obj: ListTrustAnchorsResponse) => any;
429
+ }
430
+ export interface UpdateProfileRequest {
431
+
432
+ profileId: string | undefined;
433
+
434
+ name?: string;
435
+
436
+ sessionPolicy?: string;
437
+
438
+ roleArns?: string[];
439
+
440
+ managedPolicyArns?: string[];
441
+
442
+ durationSeconds?: number;
443
+ }
444
+ export declare namespace UpdateProfileRequest {
445
+
446
+ const filterSensitiveLog: (obj: UpdateProfileRequest) => any;
447
+ }
448
+ export interface TagResourceRequest {
449
+
450
+ resourceArn: string | undefined;
451
+
452
+ tags: Tag[] | undefined;
453
+ }
454
+ export declare namespace TagResourceRequest {
455
+
456
+ const filterSensitiveLog: (obj: TagResourceRequest) => any;
457
+ }
458
+ export interface TagResourceResponse {
459
+ }
460
+ export declare namespace TagResourceResponse {
461
+
462
+ const filterSensitiveLog: (obj: TagResourceResponse) => any;
463
+ }
464
+
465
+ export declare class TooManyTagsException extends __BaseException {
466
+ readonly name: "TooManyTagsException";
467
+ readonly $fault: "client";
468
+
469
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
470
+ }
471
+ export interface UpdateTrustAnchorRequest {
472
+
473
+ trustAnchorId: string | undefined;
474
+
475
+ name?: string;
476
+
477
+ source?: Source;
478
+ }
479
+ export declare namespace UpdateTrustAnchorRequest {
480
+
481
+ const filterSensitiveLog: (obj: UpdateTrustAnchorRequest) => any;
482
+ }
483
+ export interface UntagResourceRequest {
484
+
485
+ resourceArn: string | undefined;
486
+
487
+ tagKeys: string[] | undefined;
488
+ }
489
+ export declare namespace UntagResourceRequest {
490
+
491
+ const filterSensitiveLog: (obj: UntagResourceRequest) => any;
492
+ }
493
+ export interface UntagResourceResponse {
494
+ }
495
+ export declare namespace UntagResourceResponse {
496
+
497
+ const filterSensitiveLog: (obj: UntagResourceResponse) => any;
498
+ }
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+ import { RolesAnywhere } from "../RolesAnywhere";
3
+ import { RolesAnywhereClient } from "../RolesAnywhereClient";
4
+ export interface RolesAnywherePaginationConfiguration extends PaginationConfiguration {
5
+ client: RolesAnywhere | RolesAnywhereClient;
6
+ }
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListCrlsCommandInput, ListCrlsCommandOutput } from "../commands/ListCrlsCommand";
3
+ import { RolesAnywherePaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListCrls(config: RolesAnywherePaginationConfiguration, input: ListCrlsCommandInput, ...additionalArguments: any): Paginator<ListCrlsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListProfilesCommandInput, ListProfilesCommandOutput } from "../commands/ListProfilesCommand";
3
+ import { RolesAnywherePaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListProfiles(config: RolesAnywherePaginationConfiguration, input: ListProfilesCommandInput, ...additionalArguments: any): Paginator<ListProfilesCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListSubjectsCommandInput, ListSubjectsCommandOutput } from "../commands/ListSubjectsCommand";
3
+ import { RolesAnywherePaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListSubjects(config: RolesAnywherePaginationConfiguration, input: ListSubjectsCommandInput, ...additionalArguments: any): Paginator<ListSubjectsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListTrustAnchorsCommandInput, ListTrustAnchorsCommandOutput } from "../commands/ListTrustAnchorsCommand";
3
+ import { RolesAnywherePaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListTrustAnchors(config: RolesAnywherePaginationConfiguration, input: ListTrustAnchorsCommandInput, ...additionalArguments: any): Paginator<ListTrustAnchorsCommandOutput>;
@@ -0,0 +1,5 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListCrlsPaginator";
3
+ export * from "./ListProfilesPaginator";
4
+ export * from "./ListSubjectsPaginator";
5
+ export * from "./ListTrustAnchorsPaginator";
@@ -0,0 +1,80 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
+ import { CreateProfileCommandInput, CreateProfileCommandOutput } from "../commands/CreateProfileCommand";
4
+ import { CreateTrustAnchorCommandInput, CreateTrustAnchorCommandOutput } from "../commands/CreateTrustAnchorCommand";
5
+ import { DeleteCrlCommandInput, DeleteCrlCommandOutput } from "../commands/DeleteCrlCommand";
6
+ import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "../commands/DeleteProfileCommand";
7
+ import { DeleteTrustAnchorCommandInput, DeleteTrustAnchorCommandOutput } from "../commands/DeleteTrustAnchorCommand";
8
+ import { DisableCrlCommandInput, DisableCrlCommandOutput } from "../commands/DisableCrlCommand";
9
+ import { DisableProfileCommandInput, DisableProfileCommandOutput } from "../commands/DisableProfileCommand";
10
+ import { DisableTrustAnchorCommandInput, DisableTrustAnchorCommandOutput } from "../commands/DisableTrustAnchorCommand";
11
+ import { EnableCrlCommandInput, EnableCrlCommandOutput } from "../commands/EnableCrlCommand";
12
+ import { EnableProfileCommandInput, EnableProfileCommandOutput } from "../commands/EnableProfileCommand";
13
+ import { EnableTrustAnchorCommandInput, EnableTrustAnchorCommandOutput } from "../commands/EnableTrustAnchorCommand";
14
+ import { GetCrlCommandInput, GetCrlCommandOutput } from "../commands/GetCrlCommand";
15
+ import { GetProfileCommandInput, GetProfileCommandOutput } from "../commands/GetProfileCommand";
16
+ import { GetSubjectCommandInput, GetSubjectCommandOutput } from "../commands/GetSubjectCommand";
17
+ import { GetTrustAnchorCommandInput, GetTrustAnchorCommandOutput } from "../commands/GetTrustAnchorCommand";
18
+ import { ImportCrlCommandInput, ImportCrlCommandOutput } from "../commands/ImportCrlCommand";
19
+ import { ListCrlsCommandInput, ListCrlsCommandOutput } from "../commands/ListCrlsCommand";
20
+ import { ListProfilesCommandInput, ListProfilesCommandOutput } from "../commands/ListProfilesCommand";
21
+ import { ListSubjectsCommandInput, ListSubjectsCommandOutput } from "../commands/ListSubjectsCommand";
22
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
23
+ import { ListTrustAnchorsCommandInput, ListTrustAnchorsCommandOutput } from "../commands/ListTrustAnchorsCommand";
24
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
25
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
26
+ import { UpdateCrlCommandInput, UpdateCrlCommandOutput } from "../commands/UpdateCrlCommand";
27
+ import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "../commands/UpdateProfileCommand";
28
+ import { UpdateTrustAnchorCommandInput, UpdateTrustAnchorCommandOutput } from "../commands/UpdateTrustAnchorCommand";
29
+ export declare const serializeAws_restJson1CreateProfileCommand: (input: CreateProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
30
+ export declare const serializeAws_restJson1CreateTrustAnchorCommand: (input: CreateTrustAnchorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
31
+ export declare const serializeAws_restJson1DeleteCrlCommand: (input: DeleteCrlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
32
+ export declare const serializeAws_restJson1DeleteProfileCommand: (input: DeleteProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
+ export declare const serializeAws_restJson1DeleteTrustAnchorCommand: (input: DeleteTrustAnchorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
34
+ export declare const serializeAws_restJson1DisableCrlCommand: (input: DisableCrlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
+ export declare const serializeAws_restJson1DisableProfileCommand: (input: DisableProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
36
+ export declare const serializeAws_restJson1DisableTrustAnchorCommand: (input: DisableTrustAnchorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
+ export declare const serializeAws_restJson1EnableCrlCommand: (input: EnableCrlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
38
+ export declare const serializeAws_restJson1EnableProfileCommand: (input: EnableProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
+ export declare const serializeAws_restJson1EnableTrustAnchorCommand: (input: EnableTrustAnchorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
40
+ export declare const serializeAws_restJson1GetCrlCommand: (input: GetCrlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
41
+ export declare const serializeAws_restJson1GetProfileCommand: (input: GetProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
42
+ export declare const serializeAws_restJson1GetSubjectCommand: (input: GetSubjectCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
+ export declare const serializeAws_restJson1GetTrustAnchorCommand: (input: GetTrustAnchorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
+ export declare const serializeAws_restJson1ImportCrlCommand: (input: ImportCrlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
+ export declare const serializeAws_restJson1ListCrlsCommand: (input: ListCrlsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
+ export declare const serializeAws_restJson1ListProfilesCommand: (input: ListProfilesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
+ export declare const serializeAws_restJson1ListSubjectsCommand: (input: ListSubjectsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
+ export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
+ export declare const serializeAws_restJson1ListTrustAnchorsCommand: (input: ListTrustAnchorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
50
+ export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
51
+ export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
+ export declare const serializeAws_restJson1UpdateCrlCommand: (input: UpdateCrlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
+ export declare const serializeAws_restJson1UpdateProfileCommand: (input: UpdateProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
54
+ export declare const serializeAws_restJson1UpdateTrustAnchorCommand: (input: UpdateTrustAnchorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
55
+ export declare const deserializeAws_restJson1CreateProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateProfileCommandOutput>;
56
+ export declare const deserializeAws_restJson1CreateTrustAnchorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateTrustAnchorCommandOutput>;
57
+ export declare const deserializeAws_restJson1DeleteCrlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteCrlCommandOutput>;
58
+ export declare const deserializeAws_restJson1DeleteProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteProfileCommandOutput>;
59
+ export declare const deserializeAws_restJson1DeleteTrustAnchorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTrustAnchorCommandOutput>;
60
+ export declare const deserializeAws_restJson1DisableCrlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisableCrlCommandOutput>;
61
+ export declare const deserializeAws_restJson1DisableProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisableProfileCommandOutput>;
62
+ export declare const deserializeAws_restJson1DisableTrustAnchorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisableTrustAnchorCommandOutput>;
63
+ export declare const deserializeAws_restJson1EnableCrlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableCrlCommandOutput>;
64
+ export declare const deserializeAws_restJson1EnableProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableProfileCommandOutput>;
65
+ export declare const deserializeAws_restJson1EnableTrustAnchorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableTrustAnchorCommandOutput>;
66
+ export declare const deserializeAws_restJson1GetCrlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCrlCommandOutput>;
67
+ export declare const deserializeAws_restJson1GetProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetProfileCommandOutput>;
68
+ export declare const deserializeAws_restJson1GetSubjectCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSubjectCommandOutput>;
69
+ export declare const deserializeAws_restJson1GetTrustAnchorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTrustAnchorCommandOutput>;
70
+ export declare const deserializeAws_restJson1ImportCrlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportCrlCommandOutput>;
71
+ export declare const deserializeAws_restJson1ListCrlsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCrlsCommandOutput>;
72
+ export declare const deserializeAws_restJson1ListProfilesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListProfilesCommandOutput>;
73
+ export declare const deserializeAws_restJson1ListSubjectsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSubjectsCommandOutput>;
74
+ export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
75
+ export declare const deserializeAws_restJson1ListTrustAnchorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTrustAnchorsCommandOutput>;
76
+ export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
77
+ export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
78
+ export declare const deserializeAws_restJson1UpdateCrlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateCrlCommandOutput>;
79
+ export declare const deserializeAws_restJson1UpdateProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateProfileCommandOutput>;
80
+ export declare const deserializeAws_restJson1UpdateTrustAnchorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTrustAnchorCommandOutput>;
@@ -0,0 +1,38 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { RolesAnywhereClientConfig } from "./RolesAnywhereClient";
3
+
4
+ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
5
+ runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
+ base64Decoder: import("@aws-sdk/types").Decoder;
8
+ base64Encoder: import("@aws-sdk/types").Encoder;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
+ region: string | import("@aws-sdk/types").Provider<any>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
16
+ sha256: import("@aws-sdk/types").HashConstructor;
17
+ streamCollector: import("@aws-sdk/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ utf8Decoder: import("@aws-sdk/types").Decoder;
21
+ utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ apiVersion: string;
23
+ urlParser: import("@aws-sdk/types").UrlParser;
24
+ disableHostPrefix: boolean;
25
+ logger: import("@aws-sdk/types").Logger;
26
+ serviceId: string;
27
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
28
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ tls?: boolean | undefined;
30
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
31
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
32
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signingEscapePath?: boolean | undefined;
34
+ systemClockOffset?: number | undefined;
35
+ signingRegion?: string | undefined;
36
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
37
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
38
+ };