@aws-sdk/client-rolesanywhere 3.332.0 → 3.335.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 (55) hide show
  1. package/README.md +30 -3
  2. package/dist-cjs/RolesAnywhere.js +4 -0
  3. package/dist-cjs/commands/PutNotificationSettingsCommand.js +45 -0
  4. package/dist-cjs/commands/ResetNotificationSettingsCommand.js +45 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/endpoint/ruleset.js +3 -3
  7. package/dist-cjs/models/models_0.js +8 -1
  8. package/dist-cjs/protocols/Aws_restJson1.js +129 -3
  9. package/dist-es/RolesAnywhere.js +4 -0
  10. package/dist-es/commands/PutNotificationSettingsCommand.js +41 -0
  11. package/dist-es/commands/ResetNotificationSettingsCommand.js +41 -0
  12. package/dist-es/commands/index.js +2 -0
  13. package/dist-es/endpoint/ruleset.js +3 -3
  14. package/dist-es/models/models_0.js +7 -0
  15. package/dist-es/protocols/Aws_restJson1.js +123 -1
  16. package/dist-types/RolesAnywhere.d.ts +29 -4
  17. package/dist-types/RolesAnywhereClient.d.ts +22 -8
  18. package/dist-types/commands/CreateProfileCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateTrustAnchorCommand.d.ts +20 -1
  20. package/dist-types/commands/DeleteTrustAnchorCommand.d.ts +9 -0
  21. package/dist-types/commands/DisableProfileCommand.d.ts +1 -1
  22. package/dist-types/commands/DisableTrustAnchorCommand.d.ts +10 -1
  23. package/dist-types/commands/EnableProfileCommand.d.ts +1 -1
  24. package/dist-types/commands/EnableTrustAnchorCommand.d.ts +9 -0
  25. package/dist-types/commands/GetSubjectCommand.d.ts +4 -1
  26. package/dist-types/commands/GetTrustAnchorCommand.d.ts +9 -0
  27. package/dist-types/commands/ImportCrlCommand.d.ts +3 -1
  28. package/dist-types/commands/ListCrlsCommand.d.ts +1 -1
  29. package/dist-types/commands/ListTrustAnchorsCommand.d.ts +9 -0
  30. package/dist-types/commands/PutNotificationSettingsCommand.d.ts +115 -0
  31. package/dist-types/commands/ResetNotificationSettingsCommand.d.ts +112 -0
  32. package/dist-types/commands/UpdateCrlCommand.d.ts +3 -1
  33. package/dist-types/commands/UpdateProfileCommand.d.ts +3 -1
  34. package/dist-types/commands/UpdateTrustAnchorCommand.d.ts +15 -1
  35. package/dist-types/commands/index.d.ts +2 -0
  36. package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
  37. package/dist-types/models/models_0.d.ts +185 -24
  38. package/dist-types/protocols/Aws_restJson1.d.ts +20 -2
  39. package/dist-types/runtimeConfig.browser.d.ts +12 -12
  40. package/dist-types/runtimeConfig.d.ts +9 -9
  41. package/dist-types/runtimeConfig.native.d.ts +13 -13
  42. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  43. package/dist-types/ts3.4/RolesAnywhere.d.ts +34 -0
  44. package/dist-types/ts3.4/RolesAnywhereClient.d.ts +19 -5
  45. package/dist-types/ts3.4/commands/PutNotificationSettingsCommand.d.ts +41 -0
  46. package/dist-types/ts3.4/commands/ResetNotificationSettingsCommand.d.ts +41 -0
  47. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  48. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
  49. package/dist-types/ts3.4/models/models_0.d.ts +44 -0
  50. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +26 -2
  51. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
  52. package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
  53. package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
  54. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  55. package/package.json +5 -4
@@ -0,0 +1,112 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ResetNotificationSettingsRequest, ResetNotificationSettingsResponse } from "../models/models_0";
5
+ import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ResetNotificationSettingsCommand}.
10
+ */
11
+ export interface ResetNotificationSettingsCommandInput extends ResetNotificationSettingsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ResetNotificationSettingsCommand}.
17
+ */
18
+ export interface ResetNotificationSettingsCommandOutput extends ResetNotificationSettingsResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Resets the <i>custom notification setting</i> to IAM Roles Anywhere default setting.
23
+ * </p>
24
+ * <p>
25
+ * <b>Required permissions: </b>
26
+ * <code>rolesanywhere:ResetNotificationSettings</code>.
27
+ * </p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { RolesAnywhereClient, ResetNotificationSettingsCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
32
+ * // const { RolesAnywhereClient, ResetNotificationSettingsCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
33
+ * const client = new RolesAnywhereClient(config);
34
+ * const input = { // ResetNotificationSettingsRequest
35
+ * trustAnchorId: "STRING_VALUE", // required
36
+ * notificationSettingKeys: [ // NotificationSettingKeys // required
37
+ * { // NotificationSettingKey
38
+ * event: "STRING_VALUE", // required
39
+ * channel: "STRING_VALUE",
40
+ * },
41
+ * ],
42
+ * };
43
+ * const command = new ResetNotificationSettingsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ResetNotificationSettingsResponse
46
+ * // trustAnchor: { // TrustAnchorDetail
47
+ * // trustAnchorId: "STRING_VALUE",
48
+ * // trustAnchorArn: "STRING_VALUE",
49
+ * // name: "STRING_VALUE",
50
+ * // source: { // Source
51
+ * // sourceType: "STRING_VALUE",
52
+ * // sourceData: { // SourceData Union: only one key present
53
+ * // x509CertificateData: "STRING_VALUE",
54
+ * // acmPcaArn: "STRING_VALUE",
55
+ * // },
56
+ * // },
57
+ * // enabled: true || false,
58
+ * // createdAt: new Date("TIMESTAMP"),
59
+ * // updatedAt: new Date("TIMESTAMP"),
60
+ * // notificationSettings: [ // NotificationSettingDetails
61
+ * // { // NotificationSettingDetail
62
+ * // enabled: true || false, // required
63
+ * // event: "STRING_VALUE", // required
64
+ * // threshold: Number("int"),
65
+ * // channel: "STRING_VALUE",
66
+ * // configuredBy: "STRING_VALUE",
67
+ * // },
68
+ * // ],
69
+ * // },
70
+ * // };
71
+ *
72
+ * ```
73
+ *
74
+ * @param ResetNotificationSettingsCommandInput - {@link ResetNotificationSettingsCommandInput}
75
+ * @returns {@link ResetNotificationSettingsCommandOutput}
76
+ * @see {@link ResetNotificationSettingsCommandInput} for command's `input` shape.
77
+ * @see {@link ResetNotificationSettingsCommandOutput} for command's `response` shape.
78
+ * @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape.
79
+ *
80
+ * @throws {@link AccessDeniedException} (client fault)
81
+ * <p>You do not have sufficient access to perform this action.</p>
82
+ *
83
+ * @throws {@link ResourceNotFoundException} (client fault)
84
+ * <p>The resource could not be found.</p>
85
+ *
86
+ * @throws {@link ValidationException} (client fault)
87
+ * <p>Validation exception error.</p>
88
+ *
89
+ * @throws {@link RolesAnywhereServiceException}
90
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
91
+ *
92
+ */
93
+ export declare class ResetNotificationSettingsCommand extends $Command<ResetNotificationSettingsCommandInput, ResetNotificationSettingsCommandOutput, RolesAnywhereClientResolvedConfig> {
94
+ readonly input: ResetNotificationSettingsCommandInput;
95
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
96
+ /**
97
+ * @public
98
+ */
99
+ constructor(input: ResetNotificationSettingsCommandInput);
100
+ /**
101
+ * @internal
102
+ */
103
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ResetNotificationSettingsCommandInput, ResetNotificationSettingsCommandOutput>;
104
+ /**
105
+ * @internal
106
+ */
107
+ private serialize;
108
+ /**
109
+ * @internal
110
+ */
111
+ private deserialize;
112
+ }
@@ -19,7 +19,9 @@ export interface UpdateCrlCommandOutput extends CrlDetailResponse, __MetadataBea
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Updates the certificate revocation list (CRL). CRl is a list of certificates that have been revoked by the issuing certificate Authority (CA). IAM Roles Anywhere validates against the crl list before issuing credentials.</p>
22
+ * <p>Updates the certificate revocation list (CRL). A CRL is a list of certificates that have
23
+ * been revoked by the issuing certificate authority (CA). IAM Roles Anywhere
24
+ * validates against the CRL before issuing credentials.</p>
23
25
  * <p>
24
26
  * <b>Required permissions: </b>
25
27
  * <code>rolesanywhere:UpdateCrl</code>.
@@ -19,7 +19,9 @@ export interface UpdateProfileCommandOutput extends ProfileDetailResponse, __Met
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Updates the profile. A profile is configuration resource to list the roles that RolesAnywhere service is trusted to assume. In addition, by applying a profile you can scope-down permissions with IAM managed policies.</p>
22
+ * <p>Updates a <i>profile</i>, a list of the roles that IAM
23
+ * Roles Anywhere service is trusted to assume. You use profiles to intersect permissions with
24
+ * IAM managed policies.</p>
23
25
  * <p>
24
26
  * <b>Required permissions: </b>
25
27
  * <code>rolesanywhere:UpdateProfile</code>.
@@ -19,7 +19,12 @@ export interface UpdateTrustAnchorCommandOutput extends TrustAnchorDetailRespons
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Updates the trust anchor.You establish trust between IAM Roles Anywhere and your certificate authority (CA) by configuring a trust anchor. A Trust Anchor is defined either as a reference to a AWS Certificate Manager Private Certificate Authority (ACM PCA), or by uploading a Certificate Authority (CA) certificate. Your AWS workloads can authenticate with the trust anchor using certificates issued by the trusted Certificate Authority (CA) in exchange for temporary AWS credentials.</p>
22
+ * <p>Updates a trust anchor. You establish trust between IAM Roles Anywhere
23
+ * and your certificate authority (CA) by configuring a trust anchor. You can define a trust
24
+ * anchor as a reference to an Private Certificate Authority (Private CA) or by uploading a
25
+ * CA certificate. Your Amazon Web Services workloads can authenticate with the trust anchor
26
+ * using certificates issued by the CA in exchange for temporary Amazon Web Services
27
+ * credentials.</p>
23
28
  * <p>
24
29
  * <b>Required permissions: </b>
25
30
  * <code>rolesanywhere:UpdateTrustAnchor</code>.
@@ -58,6 +63,15 @@ export interface UpdateTrustAnchorCommandOutput extends TrustAnchorDetailRespons
58
63
  * // enabled: true || false,
59
64
  * // createdAt: new Date("TIMESTAMP"),
60
65
  * // updatedAt: new Date("TIMESTAMP"),
66
+ * // notificationSettings: [ // NotificationSettingDetails
67
+ * // { // NotificationSettingDetail
68
+ * // enabled: true || false, // required
69
+ * // event: "STRING_VALUE", // required
70
+ * // threshold: Number("int"),
71
+ * // channel: "STRING_VALUE",
72
+ * // configuredBy: "STRING_VALUE",
73
+ * // },
74
+ * // ],
61
75
  * // },
62
76
  * // };
63
77
  *
@@ -19,6 +19,8 @@ export * from "./ListProfilesCommand";
19
19
  export * from "./ListSubjectsCommand";
20
20
  export * from "./ListTagsForResourceCommand";
21
21
  export * from "./ListTrustAnchorsCommand";
22
+ export * from "./PutNotificationSettingsCommand";
23
+ export * from "./ResetNotificationSettingsCommand";
22
24
  export * from "./TagResourceCommand";
23
25
  export * from "./UntagResourceCommand";
24
26
  export * from "./UpdateCrlCommand";
@@ -1,4 +1,5 @@
1
- import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@aws-sdk/types";
1
+ import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
2
+ import { Endpoint, Provider } from "@smithy/types";
2
3
  export interface ClientInputEndpointParameters {
3
4
  region?: string | Provider<string>;
4
5
  useDualstackEndpoint?: boolean | Provider<boolean>;
@@ -35,7 +35,7 @@ export interface CreateProfileRequest {
35
35
  */
36
36
  name: string | undefined;
37
37
  /**
38
- * <p>Specifies whether instance properties are required in <a href="https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html">CreateSession</a> requests with this profile. </p>
38
+ * <p>Specifies whether instance properties are required in temporary credential requests with this profile. </p>
39
39
  */
40
40
  requireInstanceProperties?: boolean;
41
41
  /**
@@ -43,7 +43,7 @@ export interface CreateProfileRequest {
43
43
  */
44
44
  sessionPolicy?: string;
45
45
  /**
46
- * <p>A list of IAM roles that this profile can assume in a <a href="https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html">CreateSession</a> operation.</p>
46
+ * <p>A list of IAM roles that this profile can assume in a temporary credential request.</p>
47
47
  */
48
48
  roleArns: string[] | undefined;
49
49
  /**
@@ -81,7 +81,7 @@ export interface ProfileDetail {
81
81
  */
82
82
  name?: string;
83
83
  /**
84
- * <p>Specifies whether instance properties are required in <a href="https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html">CreateSession</a> requests with this profile. </p>
84
+ * <p>Specifies whether instance properties are required in temporary credential requests with this profile. </p>
85
85
  */
86
86
  requireInstanceProperties?: boolean;
87
87
  /**
@@ -97,7 +97,7 @@ export interface ProfileDetail {
97
97
  */
98
98
  sessionPolicy?: string;
99
99
  /**
100
- * <p>A list of IAM roles that this profile can assume in a <a href="https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html">CreateSession</a> operation.</p>
100
+ * <p>A list of IAM roles that this profile can assume in a temporary credential request.</p>
101
101
  */
102
102
  roleArns?: string[];
103
103
  /**
@@ -138,6 +138,58 @@ export declare class ValidationException extends __BaseException {
138
138
  */
139
139
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
140
140
  }
141
+ /**
142
+ * @public
143
+ * @enum
144
+ */
145
+ export declare const NotificationChannel: {
146
+ readonly ALL: "ALL";
147
+ };
148
+ /**
149
+ * @public
150
+ */
151
+ export type NotificationChannel = (typeof NotificationChannel)[keyof typeof NotificationChannel];
152
+ /**
153
+ * @public
154
+ * @enum
155
+ */
156
+ export declare const NotificationEvent: {
157
+ readonly CA_CERTIFICATE_EXPIRY: "CA_CERTIFICATE_EXPIRY";
158
+ readonly END_ENTITY_CERTIFICATE_EXPIRY: "END_ENTITY_CERTIFICATE_EXPIRY";
159
+ };
160
+ /**
161
+ * @public
162
+ */
163
+ export type NotificationEvent = (typeof NotificationEvent)[keyof typeof NotificationEvent];
164
+ /**
165
+ * @public
166
+ * <p>
167
+ * Customizable notification settings that will be applied to notification events.
168
+ * IAM Roles Anywhere consumes these settings while notifying across multiple channels - CloudWatch metrics, EventBridge, and Health Dashboard.
169
+ * </p>
170
+ */
171
+ export interface NotificationSetting {
172
+ /**
173
+ * <p>Indicates whether the notification setting is enabled.</p>
174
+ */
175
+ enabled: boolean | undefined;
176
+ /**
177
+ * <p>The event to which this notification setting is applied.</p>
178
+ */
179
+ event: NotificationEvent | string | undefined;
180
+ /**
181
+ * <p>The number of days before a notification event. This value is required for a notification setting that is enabled.</p>
182
+ */
183
+ threshold?: number;
184
+ /**
185
+ * <p>The specified channel of notification.
186
+ * IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.</p>
187
+ * <note>
188
+ * <p>In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.</p>
189
+ * </note>
190
+ */
191
+ channel?: NotificationChannel | string;
192
+ }
141
193
  /**
142
194
  * @public
143
195
  * <p>The data field of the trust anchor depending on its type. </p>
@@ -156,7 +208,10 @@ export declare namespace SourceData {
156
208
  $unknown?: never;
157
209
  }
158
210
  /**
159
- * <p>The root certificate of the Certificate Manager Private Certificate Authority specified by this ARN is used in trust validation for <a href="https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html">CreateSession</a> operations. Included for trust anchors of type <code>AWS_ACM_PCA</code>. </p>
211
+ * <p>
212
+ * The root certificate of the Private Certificate Authority specified by this ARN is used in trust
213
+ * validation for temporary credential requests. Included for trust anchors of type <code>AWS_ACM_PCA</code>.
214
+ * </p>
160
215
  */
161
216
  interface AcmPcaArnMember {
162
217
  x509CertificateData?: never;
@@ -222,6 +277,46 @@ export interface CreateTrustAnchorRequest {
222
277
  * <p>The tags to attach to the trust anchor.</p>
223
278
  */
224
279
  tags?: Tag[];
280
+ /**
281
+ * <p>A list of notification settings to be associated to the trust anchor.</p>
282
+ */
283
+ notificationSettings?: NotificationSetting[];
284
+ }
285
+ /**
286
+ * @public
287
+ * <p>The state of a notification setting.</p>
288
+ * <p>A notification setting includes information such as event name, threshold, status of
289
+ * the notification setting, and the channel to notify.</p>
290
+ */
291
+ export interface NotificationSettingDetail {
292
+ /**
293
+ * <p>Indicates whether the notification setting is enabled.</p>
294
+ */
295
+ enabled: boolean | undefined;
296
+ /**
297
+ * <p>The event to which this notification setting is applied.</p>
298
+ */
299
+ event: NotificationEvent | string | undefined;
300
+ /**
301
+ * <p>The number of days before a notification event.</p>
302
+ */
303
+ threshold?: number;
304
+ /**
305
+ * <p>The specified channel of notification.
306
+ * IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.</p>
307
+ * <note>
308
+ * <p>In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.</p>
309
+ * </note>
310
+ */
311
+ channel?: NotificationChannel | string;
312
+ /**
313
+ * <p>The principal that configured the notification setting.
314
+ * For default settings configured by IAM Roles Anywhere,
315
+ * the value is <code>rolesanywhere.amazonaws.com</code>, and
316
+ * for customized notifications settings, it is the respective account ID.
317
+ * </p>
318
+ */
319
+ configuredBy?: string;
225
320
  }
226
321
  /**
227
322
  * @public
@@ -256,6 +351,10 @@ export interface TrustAnchorDetail {
256
351
  * <p>The ISO-8601 timestamp when the trust anchor was last updated. </p>
257
352
  */
258
353
  updatedAt?: Date;
354
+ /**
355
+ * <p>A list of notification settings to be associated to the trust anchor.</p>
356
+ */
357
+ notificationSettings?: NotificationSettingDetail[];
259
358
  }
260
359
  /**
261
360
  * @public
@@ -268,11 +367,11 @@ export interface TrustAnchorDetailResponse {
268
367
  }
269
368
  /**
270
369
  * @public
271
- * <p>A record of a presented X509 credential to <a href="https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html">CreateSession</a>. </p>
370
+ * <p>A record of a presented X509 credential from a temporary credential request. </p>
272
371
  */
273
372
  export interface CredentialSummary {
274
373
  /**
275
- * <p>The ISO-8601 time stamp of when the certificate was last used in a <a href="https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html">CreateSession</a> operation.</p>
374
+ * <p>The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.</p>
276
375
  */
277
376
  seenAt?: Date;
278
377
  /**
@@ -292,7 +391,7 @@ export interface CredentialSummary {
292
391
  */
293
392
  x509CertificateData?: string;
294
393
  /**
295
- * <p>Indicates whether the <a href="https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html">CreateSession</a> operation was successful. </p>
394
+ * <p>Indicates whether the temporary credential request was successful. </p>
296
395
  */
297
396
  failed?: boolean;
298
397
  }
@@ -373,7 +472,7 @@ export interface ImportCrlRequest {
373
472
  */
374
473
  name: string | undefined;
375
474
  /**
376
- * <p>The x509 v3 specified certificate revocation list</p>
475
+ * <p>The x509 v3 specified certificate revocation list (CRL).</p>
377
476
  */
378
477
  crlData: Uint8Array | undefined;
379
478
  /**
@@ -394,7 +493,7 @@ export interface ImportCrlRequest {
394
493
  */
395
494
  export interface ListCrlsResponse {
396
495
  /**
397
- * <p>A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.</p>
496
+ * <p>A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.</p>
398
497
  */
399
498
  nextToken?: string;
400
499
  /**
@@ -407,7 +506,7 @@ export interface ListCrlsResponse {
407
506
  */
408
507
  export interface ListRequest {
409
508
  /**
410
- * <p>A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.</p>
509
+ * <p>A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.</p>
411
510
  */
412
511
  nextToken?: string;
413
512
  /**
@@ -428,7 +527,7 @@ export interface UpdateCrlRequest {
428
527
  */
429
528
  name?: string;
430
529
  /**
431
- * <p>The x509 v3 specified certificate revocation list</p>
530
+ * <p>The x509 v3 specified certificate revocation list (CRL).</p>
432
531
  */
433
532
  crlData?: Uint8Array;
434
533
  }
@@ -465,7 +564,7 @@ export interface ScalarSubjectRequest {
465
564
  */
466
565
  export interface InstanceProperty {
467
566
  /**
468
- * <p>The ISO-8601 time stamp of when the certificate was last used in a <a href="https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html">CreateSession</a> operation.</p>
567
+ * <p>The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.</p>
469
568
  */
470
569
  seenAt?: Date;
471
570
  /**
@@ -473,7 +572,7 @@ export interface InstanceProperty {
473
572
  */
474
573
  properties?: Record<string, string>;
475
574
  /**
476
- * <p>Indicates whether the <a href="https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html">CreateSession</a> operation was successful. </p>
575
+ * <p>Indicates whether the temporary credential request was successful. </p>
477
576
  */
478
577
  failed?: boolean;
479
578
  }
@@ -499,7 +598,7 @@ export interface SubjectDetail {
499
598
  */
500
599
  x509Subject?: string;
501
600
  /**
502
- * <p>The ISO-8601 timestamp of the last time this Subject requested temporary session credentials.</p>
601
+ * <p>The ISO-8601 timestamp of the last time this subject requested temporary session credentials.</p>
503
602
  */
504
603
  lastSeenAt?: Date;
505
604
  /**
@@ -511,7 +610,7 @@ export interface SubjectDetail {
511
610
  */
512
611
  updatedAt?: Date;
513
612
  /**
514
- * <p>The temporary session credentials vended at the last authenticating call with this Subject.</p>
613
+ * <p>The temporary session credentials vended at the last authenticating call with this subject.</p>
515
614
  */
516
615
  credentials?: CredentialSummary[];
517
616
  /**
@@ -533,7 +632,7 @@ export interface SubjectDetailResponse {
533
632
  */
534
633
  export interface ListProfilesResponse {
535
634
  /**
536
- * <p>A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.</p>
635
+ * <p>A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.</p>
537
636
  */
538
637
  nextToken?: string;
539
638
  /**
@@ -543,7 +642,7 @@ export interface ListProfilesResponse {
543
642
  }
544
643
  /**
545
644
  * @public
546
- * <p>A summary representation of Subject resources returned in read operations; primarily ListSubjects.</p>
645
+ * <p>A summary representation of subjects.</p>
547
646
  */
548
647
  export interface SubjectSummary {
549
648
  /**
@@ -555,7 +654,7 @@ export interface SubjectSummary {
555
654
  */
556
655
  subjectId?: string;
557
656
  /**
558
- * <p>The enabled status of the Subject. </p>
657
+ * <p>The enabled status of the subject. </p>
559
658
  */
560
659
  enabled?: boolean;
561
660
  /**
@@ -563,11 +662,11 @@ export interface SubjectSummary {
563
662
  */
564
663
  x509Subject?: string;
565
664
  /**
566
- * <p>The ISO-8601 time stamp of when the certificate was last used in a <a href="https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html">CreateSession</a> operation.</p>
665
+ * <p>The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.</p>
567
666
  */
568
667
  lastSeenAt?: Date;
569
668
  /**
570
- * <p>The ISO-8601 time stamp of when the certificate was first used in a <a href="https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html">CreateSession</a> operation.</p>
669
+ * <p>The ISO-8601 time stamp of when the certificate was first used in a temporary credential request.</p>
571
670
  */
572
671
  createdAt?: Date;
573
672
  /**
@@ -584,7 +683,7 @@ export interface ListSubjectsResponse {
584
683
  */
585
684
  subjects?: SubjectSummary[];
586
685
  /**
587
- * <p>A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.</p>
686
+ * <p>A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.</p>
588
687
  */
589
688
  nextToken?: string;
590
689
  }
@@ -611,7 +710,7 @@ export interface ListTagsForResourceResponse {
611
710
  */
612
711
  export interface ListTrustAnchorsResponse {
613
712
  /**
614
- * <p>A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.</p>
713
+ * <p>A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.</p>
615
714
  */
616
715
  nextToken?: string;
617
716
  /**
@@ -619,6 +718,22 @@ export interface ListTrustAnchorsResponse {
619
718
  */
620
719
  trustAnchors?: TrustAnchorDetail[];
621
720
  }
721
+ /**
722
+ * @public
723
+ * <p>A notification setting key to reset.
724
+ * A notification setting key includes the event and the channel.
725
+ * </p>
726
+ */
727
+ export interface NotificationSettingKey {
728
+ /**
729
+ * <p>The notification setting event to reset.</p>
730
+ */
731
+ event: NotificationEvent | string | undefined;
732
+ /**
733
+ * <p>The specified channel of notification.</p>
734
+ */
735
+ channel?: NotificationChannel | string;
736
+ }
622
737
  /**
623
738
  * @public
624
739
  */
@@ -636,7 +751,7 @@ export interface UpdateProfileRequest {
636
751
  */
637
752
  sessionPolicy?: string;
638
753
  /**
639
- * <p>A list of IAM roles that this profile can assume in a <a href="https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html">CreateSession</a> operation.</p>
754
+ * <p>A list of IAM roles that this profile can assume in a temporary credential request.</p>
640
755
  */
641
756
  roleArns?: string[];
642
757
  /**
@@ -648,6 +763,52 @@ export interface UpdateProfileRequest {
648
763
  */
649
764
  durationSeconds?: number;
650
765
  }
766
+ /**
767
+ * @public
768
+ */
769
+ export interface PutNotificationSettingsRequest {
770
+ /**
771
+ * <p>The unique identifier of the trust anchor.</p>
772
+ */
773
+ trustAnchorId: string | undefined;
774
+ /**
775
+ * <p>A list of notification settings to be associated to the trust anchor.</p>
776
+ */
777
+ notificationSettings: NotificationSetting[] | undefined;
778
+ }
779
+ /**
780
+ * @public
781
+ */
782
+ export interface PutNotificationSettingsResponse {
783
+ /**
784
+ * <p>The state of the trust anchor after a read or write operation. </p>
785
+ */
786
+ trustAnchor: TrustAnchorDetail | undefined;
787
+ }
788
+ /**
789
+ * @public
790
+ */
791
+ export interface ResetNotificationSettingsRequest {
792
+ /**
793
+ * <p>The unique identifier of the trust anchor.</p>
794
+ */
795
+ trustAnchorId: string | undefined;
796
+ /**
797
+ * <p>A list of notification setting keys to reset.
798
+ * A notification setting key includes the event and the channel.
799
+ * </p>
800
+ */
801
+ notificationSettingKeys: NotificationSettingKey[] | undefined;
802
+ }
803
+ /**
804
+ * @public
805
+ */
806
+ export interface ResetNotificationSettingsResponse {
807
+ /**
808
+ * <p>The state of the trust anchor after a read or write operation. </p>
809
+ */
810
+ trustAnchor: TrustAnchorDetail | undefined;
811
+ }
651
812
  /**
652
813
  * @public
653
814
  */
@@ -1,5 +1,5 @@
1
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { CreateProfileCommandInput, CreateProfileCommandOutput } from "../commands/CreateProfileCommand";
4
4
  import { CreateTrustAnchorCommandInput, CreateTrustAnchorCommandOutput } from "../commands/CreateTrustAnchorCommand";
5
5
  import { DeleteCrlCommandInput, DeleteCrlCommandOutput } from "../commands/DeleteCrlCommand";
@@ -21,6 +21,8 @@ import { ListProfilesCommandInput, ListProfilesCommandOutput } from "../commands
21
21
  import { ListSubjectsCommandInput, ListSubjectsCommandOutput } from "../commands/ListSubjectsCommand";
22
22
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
23
23
  import { ListTrustAnchorsCommandInput, ListTrustAnchorsCommandOutput } from "../commands/ListTrustAnchorsCommand";
24
+ import { PutNotificationSettingsCommandInput, PutNotificationSettingsCommandOutput } from "../commands/PutNotificationSettingsCommand";
25
+ import { ResetNotificationSettingsCommandInput, ResetNotificationSettingsCommandOutput } from "../commands/ResetNotificationSettingsCommand";
24
26
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
25
27
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
26
28
  import { UpdateCrlCommandInput, UpdateCrlCommandOutput } from "../commands/UpdateCrlCommand";
@@ -110,6 +112,14 @@ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceC
110
112
  * serializeAws_restJson1ListTrustAnchorsCommand
111
113
  */
112
114
  export declare const se_ListTrustAnchorsCommand: (input: ListTrustAnchorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
115
+ /**
116
+ * serializeAws_restJson1PutNotificationSettingsCommand
117
+ */
118
+ export declare const se_PutNotificationSettingsCommand: (input: PutNotificationSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
119
+ /**
120
+ * serializeAws_restJson1ResetNotificationSettingsCommand
121
+ */
122
+ export declare const se_ResetNotificationSettingsCommand: (input: ResetNotificationSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
113
123
  /**
114
124
  * serializeAws_restJson1TagResourceCommand
115
125
  */
@@ -214,6 +224,14 @@ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, con
214
224
  * deserializeAws_restJson1ListTrustAnchorsCommand
215
225
  */
216
226
  export declare const de_ListTrustAnchorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTrustAnchorsCommandOutput>;
227
+ /**
228
+ * deserializeAws_restJson1PutNotificationSettingsCommand
229
+ */
230
+ export declare const de_PutNotificationSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutNotificationSettingsCommandOutput>;
231
+ /**
232
+ * deserializeAws_restJson1ResetNotificationSettingsCommand
233
+ */
234
+ export declare const de_ResetNotificationSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ResetNotificationSettingsCommandOutput>;
217
235
  /**
218
236
  * deserializeAws_restJson1TagResourceCommand
219
237
  */