aws-sdk-rolesanywhere 1.1.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,25 +23,6 @@ module Aws::RolesAnywhere
23
23
  include Aws::Structure
24
24
  end
25
25
 
26
- # @note When making an API call, you may pass CreateProfileRequest
27
- # data as a hash:
28
- #
29
- # {
30
- # duration_seconds: 1,
31
- # enabled: false,
32
- # managed_policy_arns: ["ManagedPolicyListMemberString"],
33
- # name: "ResourceName", # required
34
- # require_instance_properties: false,
35
- # role_arns: ["RoleArn"], # required
36
- # session_policy: "String",
37
- # tags: [
38
- # {
39
- # key: "TagKey", # required
40
- # value: "TagValue", # required
41
- # },
42
- # ],
43
- # }
44
- #
45
26
  # @!attribute [rw] duration_seconds
46
27
  # The number of seconds the vended session credentials are valid for.
47
28
  # @return [Integer]
@@ -60,21 +41,13 @@ module Aws::RolesAnywhere
60
41
  # @return [String]
61
42
  #
62
43
  # @!attribute [rw] require_instance_properties
63
- # Specifies whether instance properties are required in
64
- # [CreateSession][1] requests with this profile.
65
- #
66
- #
67
- #
68
- # [1]: https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html
44
+ # Specifies whether instance properties are required in temporary
45
+ # credential requests with this profile.
69
46
  # @return [Boolean]
70
47
  #
71
48
  # @!attribute [rw] role_arns
72
- # A list of IAM roles that this profile can assume in a
73
- # [CreateSession][1] operation.
74
- #
75
- #
76
- #
77
- # [1]: https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html
49
+ # A list of IAM roles that this profile can assume in a temporary
50
+ # credential request.
78
51
  # @return [Array<String>]
79
52
  #
80
53
  # @!attribute [rw] session_policy
@@ -101,27 +74,6 @@ module Aws::RolesAnywhere
101
74
  include Aws::Structure
102
75
  end
103
76
 
104
- # @note When making an API call, you may pass CreateTrustAnchorRequest
105
- # data as a hash:
106
- #
107
- # {
108
- # enabled: false,
109
- # name: "ResourceName", # required
110
- # source: { # required
111
- # source_data: {
112
- # acm_pca_arn: "String",
113
- # x509_certificate_data: "String",
114
- # },
115
- # source_type: "AWS_ACM_PCA", # accepts AWS_ACM_PCA, CERTIFICATE_BUNDLE, SELF_SIGNED_REPOSITORY
116
- # },
117
- # tags: [
118
- # {
119
- # key: "TagKey", # required
120
- # value: "TagValue", # required
121
- # },
122
- # ],
123
- # }
124
- #
125
77
  # @!attribute [rw] enabled
126
78
  # Specifies whether the trust anchor is enabled.
127
79
  # @return [Boolean]
@@ -130,6 +82,11 @@ module Aws::RolesAnywhere
130
82
  # The name of the trust anchor.
131
83
  # @return [String]
132
84
  #
85
+ # @!attribute [rw] notification_settings
86
+ # A list of notification settings to be associated to the trust
87
+ # anchor.
88
+ # @return [Array<Types::NotificationSetting>]
89
+ #
133
90
  # @!attribute [rw] source
134
91
  # The trust anchor type and its related certificate data.
135
92
  # @return [Types::Source]
@@ -143,28 +100,22 @@ module Aws::RolesAnywhere
143
100
  class CreateTrustAnchorRequest < Struct.new(
144
101
  :enabled,
145
102
  :name,
103
+ :notification_settings,
146
104
  :source,
147
105
  :tags)
148
106
  SENSITIVE = []
149
107
  include Aws::Structure
150
108
  end
151
109
 
152
- # A record of a presented X509 credential to [CreateSession][1].
153
- #
154
- #
155
- #
156
- # [1]: https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html
110
+ # A record of a presented X509 credential from a temporary credential
111
+ # request.
157
112
  #
158
113
  # @!attribute [rw] enabled
159
114
  # Indicates whether the credential is enabled.
160
115
  # @return [Boolean]
161
116
  #
162
117
  # @!attribute [rw] failed
163
- # Indicates whether the [CreateSession][1] operation was successful.
164
- #
165
- #
166
- #
167
- # [1]: https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html
118
+ # Indicates whether the temporary credential request was successful.
168
119
  # @return [Boolean]
169
120
  #
170
121
  # @!attribute [rw] issuer
@@ -174,11 +125,7 @@ module Aws::RolesAnywhere
174
125
  #
175
126
  # @!attribute [rw] seen_at
176
127
  # The ISO-8601 time stamp of when the certificate was last used in a
177
- # [CreateSession][1] operation.
178
- #
179
- #
180
- #
181
- # [1]: https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html
128
+ # temporary credential request.
182
129
  # @return [Time]
183
130
  #
184
131
  # @!attribute [rw] serial_number
@@ -269,24 +216,8 @@ module Aws::RolesAnywhere
269
216
  include Aws::Structure
270
217
  end
271
218
 
272
- # @note When making an API call, you may pass ImportCrlRequest
273
- # data as a hash:
274
- #
275
- # {
276
- # crl_data: "data", # required
277
- # enabled: false,
278
- # name: "ResourceName", # required
279
- # tags: [
280
- # {
281
- # key: "TagKey", # required
282
- # value: "TagValue", # required
283
- # },
284
- # ],
285
- # trust_anchor_arn: "TrustAnchorArn", # required
286
- # }
287
- #
288
219
  # @!attribute [rw] crl_data
289
- # The x509 v3 specified certificate revocation list
220
+ # The x509 v3 specified certificate revocation list (CRL).
290
221
  # @return [String]
291
222
  #
292
223
  # @!attribute [rw] enabled
@@ -322,11 +253,7 @@ module Aws::RolesAnywhere
322
253
  # authenticating instance.
323
254
  #
324
255
  # @!attribute [rw] failed
325
- # Indicates whether the [CreateSession][1] operation was successful.
326
- #
327
- #
328
- #
329
- # [1]: https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html
256
+ # Indicates whether the temporary credential request was successful.
330
257
  # @return [Boolean]
331
258
  #
332
259
  # @!attribute [rw] properties
@@ -335,11 +262,7 @@ module Aws::RolesAnywhere
335
262
  #
336
263
  # @!attribute [rw] seen_at
337
264
  # The ISO-8601 time stamp of when the certificate was last used in a
338
- # [CreateSession][1] operation.
339
- #
340
- #
341
- #
342
- # [1]: https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html
265
+ # temporary credential request.
343
266
  # @return [Time]
344
267
  #
345
268
  # @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/InstanceProperty AWS API Documentation
@@ -358,8 +281,8 @@ module Aws::RolesAnywhere
358
281
  #
359
282
  # @!attribute [rw] next_token
360
283
  # A token that indicates where the output should continue from, if a
361
- # previous operation did not show all results. To get the next
362
- # results, call the operation again with this value.
284
+ # previous request did not show all results. To get the next results,
285
+ # make the request again with this value.
363
286
  # @return [String]
364
287
  #
365
288
  # @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ListCrlsResponse AWS API Documentation
@@ -373,8 +296,8 @@ module Aws::RolesAnywhere
373
296
 
374
297
  # @!attribute [rw] next_token
375
298
  # A token that indicates where the output should continue from, if a
376
- # previous operation did not show all results. To get the next
377
- # results, call the operation again with this value.
299
+ # previous request did not show all results. To get the next results,
300
+ # make the request again with this value.
378
301
  # @return [String]
379
302
  #
380
303
  # @!attribute [rw] profiles
@@ -390,18 +313,10 @@ module Aws::RolesAnywhere
390
313
  include Aws::Structure
391
314
  end
392
315
 
393
- # @note When making an API call, you may pass ListRequest
394
- # data as a hash:
395
- #
396
- # {
397
- # next_token: "ListRequestNextTokenString",
398
- # page_size: 1,
399
- # }
400
- #
401
316
  # @!attribute [rw] next_token
402
317
  # A token that indicates where the output should continue from, if a
403
- # previous operation did not show all results. To get the next
404
- # results, call the operation again with this value.
318
+ # previous request did not show all results. To get the next results,
319
+ # make the request again with this value.
405
320
  # @return [String]
406
321
  #
407
322
  # @!attribute [rw] page_size
@@ -419,8 +334,8 @@ module Aws::RolesAnywhere
419
334
 
420
335
  # @!attribute [rw] next_token
421
336
  # A token that indicates where the output should continue from, if a
422
- # previous operation did not show all results. To get the next
423
- # results, call the operation again with this value.
337
+ # previous request did not show all results. To get the next results,
338
+ # make the request again with this value.
424
339
  # @return [String]
425
340
  #
426
341
  # @!attribute [rw] subjects
@@ -436,13 +351,6 @@ module Aws::RolesAnywhere
436
351
  include Aws::Structure
437
352
  end
438
353
 
439
- # @note When making an API call, you may pass ListTagsForResourceRequest
440
- # data as a hash:
441
- #
442
- # {
443
- # resource_arn: "AmazonResourceName", # required
444
- # }
445
- #
446
354
  # @!attribute [rw] resource_arn
447
355
  # The ARN of the resource.
448
356
  # @return [String]
@@ -469,8 +377,8 @@ module Aws::RolesAnywhere
469
377
 
470
378
  # @!attribute [rw] next_token
471
379
  # A token that indicates where the output should continue from, if a
472
- # previous operation did not show all results. To get the next
473
- # results, call the operation again with this value.
380
+ # previous request did not show all results. To get the next results,
381
+ # make the request again with this value.
474
382
  # @return [String]
475
383
  #
476
384
  # @!attribute [rw] trust_anchors
@@ -486,6 +394,114 @@ module Aws::RolesAnywhere
486
394
  include Aws::Structure
487
395
  end
488
396
 
397
+ # Customizable notification settings that will be applied to
398
+ # notification events. IAM Roles Anywhere consumes these settings while
399
+ # notifying across multiple channels - CloudWatch metrics, EventBridge,
400
+ # and Health Dashboard.
401
+ #
402
+ # @!attribute [rw] channel
403
+ # The specified channel of notification. IAM Roles Anywhere uses
404
+ # CloudWatch metrics, EventBridge, and Health Dashboard to notify for
405
+ # an event.
406
+ #
407
+ # <note markdown="1"> In the absence of a specific channel, IAM Roles Anywhere applies
408
+ # this setting to 'ALL' channels.
409
+ #
410
+ # </note>
411
+ # @return [String]
412
+ #
413
+ # @!attribute [rw] enabled
414
+ # Indicates whether the notification setting is enabled.
415
+ # @return [Boolean]
416
+ #
417
+ # @!attribute [rw] event
418
+ # The event to which this notification setting is applied.
419
+ # @return [String]
420
+ #
421
+ # @!attribute [rw] threshold
422
+ # The number of days before a notification event. This value is
423
+ # required for a notification setting that is enabled.
424
+ # @return [Integer]
425
+ #
426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/NotificationSetting AWS API Documentation
427
+ #
428
+ class NotificationSetting < Struct.new(
429
+ :channel,
430
+ :enabled,
431
+ :event,
432
+ :threshold)
433
+ SENSITIVE = []
434
+ include Aws::Structure
435
+ end
436
+
437
+ # The state of a notification setting.
438
+ #
439
+ # A notification setting includes information such as event name,
440
+ # threshold, status of the notification setting, and the channel to
441
+ # notify.
442
+ #
443
+ # @!attribute [rw] channel
444
+ # The specified channel of notification. IAM Roles Anywhere uses
445
+ # CloudWatch metrics, EventBridge, and Health Dashboard to notify for
446
+ # an event.
447
+ #
448
+ # <note markdown="1"> In the absence of a specific channel, IAM Roles Anywhere applies
449
+ # this setting to 'ALL' channels.
450
+ #
451
+ # </note>
452
+ # @return [String]
453
+ #
454
+ # @!attribute [rw] configured_by
455
+ # The principal that configured the notification setting. For default
456
+ # settings configured by IAM Roles Anywhere, the value is
457
+ # `rolesanywhere.amazonaws.com`, and for customized notifications
458
+ # settings, it is the respective account ID.
459
+ # @return [String]
460
+ #
461
+ # @!attribute [rw] enabled
462
+ # Indicates whether the notification setting is enabled.
463
+ # @return [Boolean]
464
+ #
465
+ # @!attribute [rw] event
466
+ # The event to which this notification setting is applied.
467
+ # @return [String]
468
+ #
469
+ # @!attribute [rw] threshold
470
+ # The number of days before a notification event.
471
+ # @return [Integer]
472
+ #
473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/NotificationSettingDetail AWS API Documentation
474
+ #
475
+ class NotificationSettingDetail < Struct.new(
476
+ :channel,
477
+ :configured_by,
478
+ :enabled,
479
+ :event,
480
+ :threshold)
481
+ SENSITIVE = []
482
+ include Aws::Structure
483
+ end
484
+
485
+ # A notification setting key to reset. A notification setting key
486
+ # includes the event and the channel.
487
+ #
488
+ # @!attribute [rw] channel
489
+ # The specified channel of notification.
490
+ # @return [String]
491
+ #
492
+ # @!attribute [rw] event
493
+ # The notification setting event to reset.
494
+ # @return [String]
495
+ #
496
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/NotificationSettingKey AWS API Documentation
497
+ #
498
+ class NotificationSettingKey < Struct.new(
499
+ :channel,
500
+ :event)
501
+ SENSITIVE = []
502
+ include Aws::Structure
503
+ end
504
+
489
505
  # The state of the profile after a read or write operation.
490
506
  #
491
507
  # @!attribute [rw] created_at
@@ -522,21 +538,13 @@ module Aws::RolesAnywhere
522
538
  # @return [String]
523
539
  #
524
540
  # @!attribute [rw] require_instance_properties
525
- # Specifies whether instance properties are required in
526
- # [CreateSession][1] requests with this profile.
527
- #
528
- #
529
- #
530
- # [1]: https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html
541
+ # Specifies whether instance properties are required in temporary
542
+ # credential requests with this profile.
531
543
  # @return [Boolean]
532
544
  #
533
545
  # @!attribute [rw] role_arns
534
- # A list of IAM roles that this profile can assume in a
535
- # [CreateSession][1] operation.
536
- #
537
- #
538
- #
539
- # [1]: https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html
546
+ # A list of IAM roles that this profile can assume in a temporary
547
+ # credential request.
540
548
  # @return [Array<String>]
541
549
  #
542
550
  # @!attribute [rw] session_policy
@@ -579,6 +587,66 @@ module Aws::RolesAnywhere
579
587
  include Aws::Structure
580
588
  end
581
589
 
590
+ # @!attribute [rw] notification_settings
591
+ # A list of notification settings to be associated to the trust
592
+ # anchor.
593
+ # @return [Array<Types::NotificationSetting>]
594
+ #
595
+ # @!attribute [rw] trust_anchor_id
596
+ # The unique identifier of the trust anchor.
597
+ # @return [String]
598
+ #
599
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/PutNotificationSettingsRequest AWS API Documentation
600
+ #
601
+ class PutNotificationSettingsRequest < Struct.new(
602
+ :notification_settings,
603
+ :trust_anchor_id)
604
+ SENSITIVE = []
605
+ include Aws::Structure
606
+ end
607
+
608
+ # @!attribute [rw] trust_anchor
609
+ # The state of the trust anchor after a read or write operation.
610
+ # @return [Types::TrustAnchorDetail]
611
+ #
612
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/PutNotificationSettingsResponse AWS API Documentation
613
+ #
614
+ class PutNotificationSettingsResponse < Struct.new(
615
+ :trust_anchor)
616
+ SENSITIVE = []
617
+ include Aws::Structure
618
+ end
619
+
620
+ # @!attribute [rw] notification_setting_keys
621
+ # A list of notification setting keys to reset. A notification setting
622
+ # key includes the event and the channel.
623
+ # @return [Array<Types::NotificationSettingKey>]
624
+ #
625
+ # @!attribute [rw] trust_anchor_id
626
+ # The unique identifier of the trust anchor.
627
+ # @return [String]
628
+ #
629
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ResetNotificationSettingsRequest AWS API Documentation
630
+ #
631
+ class ResetNotificationSettingsRequest < Struct.new(
632
+ :notification_setting_keys,
633
+ :trust_anchor_id)
634
+ SENSITIVE = []
635
+ include Aws::Structure
636
+ end
637
+
638
+ # @!attribute [rw] trust_anchor
639
+ # The state of the trust anchor after a read or write operation.
640
+ # @return [Types::TrustAnchorDetail]
641
+ #
642
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ResetNotificationSettingsResponse AWS API Documentation
643
+ #
644
+ class ResetNotificationSettingsResponse < Struct.new(
645
+ :trust_anchor)
646
+ SENSITIVE = []
647
+ include Aws::Structure
648
+ end
649
+
582
650
  # The resource could not be found.
583
651
  #
584
652
  # @!attribute [rw] message
@@ -592,13 +660,6 @@ module Aws::RolesAnywhere
592
660
  include Aws::Structure
593
661
  end
594
662
 
595
- # @note When making an API call, you may pass ScalarCrlRequest
596
- # data as a hash:
597
- #
598
- # {
599
- # crl_id: "Uuid", # required
600
- # }
601
- #
602
663
  # @!attribute [rw] crl_id
603
664
  # The unique identifier of the certificate revocation list (CRL).
604
665
  # @return [String]
@@ -611,13 +672,6 @@ module Aws::RolesAnywhere
611
672
  include Aws::Structure
612
673
  end
613
674
 
614
- # @note When making an API call, you may pass ScalarProfileRequest
615
- # data as a hash:
616
- #
617
- # {
618
- # profile_id: "Uuid", # required
619
- # }
620
- #
621
675
  # @!attribute [rw] profile_id
622
676
  # The unique identifier of the profile.
623
677
  # @return [String]
@@ -630,13 +684,6 @@ module Aws::RolesAnywhere
630
684
  include Aws::Structure
631
685
  end
632
686
 
633
- # @note When making an API call, you may pass ScalarSubjectRequest
634
- # data as a hash:
635
- #
636
- # {
637
- # subject_id: "Uuid", # required
638
- # }
639
- #
640
687
  # @!attribute [rw] subject_id
641
688
  # The unique identifier of the subject.
642
689
  # @return [String]
@@ -649,13 +696,6 @@ module Aws::RolesAnywhere
649
696
  include Aws::Structure
650
697
  end
651
698
 
652
- # @note When making an API call, you may pass ScalarTrustAnchorRequest
653
- # data as a hash:
654
- #
655
- # {
656
- # trust_anchor_id: "Uuid", # required
657
- # }
658
- #
659
699
  # @!attribute [rw] trust_anchor_id
660
700
  # The unique identifier of the trust anchor.
661
701
  # @return [String]
@@ -670,17 +710,6 @@ module Aws::RolesAnywhere
670
710
 
671
711
  # The trust anchor type and its related certificate data.
672
712
  #
673
- # @note When making an API call, you may pass Source
674
- # data as a hash:
675
- #
676
- # {
677
- # source_data: {
678
- # acm_pca_arn: "String",
679
- # x509_certificate_data: "String",
680
- # },
681
- # source_type: "AWS_ACM_PCA", # accepts AWS_ACM_PCA, CERTIFICATE_BUNDLE, SELF_SIGNED_REPOSITORY
682
- # }
683
- #
684
713
  # @!attribute [rw] source_data
685
714
  # The data field of the trust anchor depending on its type.
686
715
  # @return [Types::SourceData]
@@ -705,14 +734,9 @@ module Aws::RolesAnywhere
705
734
  # @note SourceData is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SourceData corresponding to the set member.
706
735
  #
707
736
  # @!attribute [rw] acm_pca_arn
708
- # The root certificate of the Certificate Manager Private Certificate
709
- # Authority specified by this ARN is used in trust validation for
710
- # [CreateSession][1] operations. Included for trust anchors of type
711
- # `AWS_ACM_PCA`.
712
- #
713
- #
714
- #
715
- # [1]: https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html
737
+ # The root certificate of the Private Certificate Authority specified
738
+ # by this ARN is used in trust validation for temporary credential
739
+ # requests. Included for trust anchors of type `AWS_ACM_PCA`.
716
740
  # @return [String]
717
741
  #
718
742
  # @!attribute [rw] x509_certificate_data
@@ -743,7 +767,7 @@ module Aws::RolesAnywhere
743
767
  #
744
768
  # @!attribute [rw] credentials
745
769
  # The temporary session credentials vended at the last authenticating
746
- # call with this Subject.
770
+ # call with this subject.
747
771
  # @return [Array<Types::CredentialSummary>]
748
772
  #
749
773
  # @!attribute [rw] enabled
@@ -755,7 +779,7 @@ module Aws::RolesAnywhere
755
779
  # @return [Array<Types::InstanceProperty>]
756
780
  #
757
781
  # @!attribute [rw] last_seen_at
758
- # The ISO-8601 timestamp of the last time this Subject requested
782
+ # The ISO-8601 timestamp of the last time this subject requested
759
783
  # temporary session credentials.
760
784
  # @return [Time]
761
785
  #
@@ -803,29 +827,20 @@ module Aws::RolesAnywhere
803
827
  include Aws::Structure
804
828
  end
805
829
 
806
- # A summary representation of Subject resources returned in read
807
- # operations; primarily ListSubjects.
830
+ # A summary representation of subjects.
808
831
  #
809
832
  # @!attribute [rw] created_at
810
833
  # The ISO-8601 time stamp of when the certificate was first used in a
811
- # [CreateSession][1] operation.
812
- #
813
- #
814
- #
815
- # [1]: https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html
834
+ # temporary credential request.
816
835
  # @return [Time]
817
836
  #
818
837
  # @!attribute [rw] enabled
819
- # The enabled status of the Subject.
838
+ # The enabled status of the subject.
820
839
  # @return [Boolean]
821
840
  #
822
841
  # @!attribute [rw] last_seen_at
823
842
  # The ISO-8601 time stamp of when the certificate was last used in a
824
- # [CreateSession][1] operation.
825
- #
826
- #
827
- #
828
- # [1]: https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html
843
+ # temporary credential request.
829
844
  # @return [Time]
830
845
  #
831
846
  # @!attribute [rw] subject_arn
@@ -860,14 +875,6 @@ module Aws::RolesAnywhere
860
875
 
861
876
  # A label that consists of a key and value you define.
862
877
  #
863
- # @note When making an API call, you may pass Tag
864
- # data as a hash:
865
- #
866
- # {
867
- # key: "TagKey", # required
868
- # value: "TagValue", # required
869
- # }
870
- #
871
878
  # @!attribute [rw] key
872
879
  # The tag key.
873
880
  # @return [String]
@@ -885,19 +892,6 @@ module Aws::RolesAnywhere
885
892
  include Aws::Structure
886
893
  end
887
894
 
888
- # @note When making an API call, you may pass TagResourceRequest
889
- # data as a hash:
890
- #
891
- # {
892
- # resource_arn: "AmazonResourceName", # required
893
- # tags: [ # required
894
- # {
895
- # key: "TagKey", # required
896
- # value: "TagValue", # required
897
- # },
898
- # ],
899
- # }
900
- #
901
895
  # @!attribute [rw] resource_arn
902
896
  # The ARN of the resource.
903
897
  # @return [String]
@@ -946,6 +940,11 @@ module Aws::RolesAnywhere
946
940
  # The name of the trust anchor.
947
941
  # @return [String]
948
942
  #
943
+ # @!attribute [rw] notification_settings
944
+ # A list of notification settings to be associated to the trust
945
+ # anchor.
946
+ # @return [Array<Types::NotificationSettingDetail>]
947
+ #
949
948
  # @!attribute [rw] source
950
949
  # The trust anchor type and its related certificate data.
951
950
  # @return [Types::Source]
@@ -968,6 +967,7 @@ module Aws::RolesAnywhere
968
967
  :created_at,
969
968
  :enabled,
970
969
  :name,
970
+ :notification_settings,
971
971
  :source,
972
972
  :trust_anchor_arn,
973
973
  :trust_anchor_id,
@@ -988,14 +988,6 @@ module Aws::RolesAnywhere
988
988
  include Aws::Structure
989
989
  end
990
990
 
991
- # @note When making an API call, you may pass UntagResourceRequest
992
- # data as a hash:
993
- #
994
- # {
995
- # resource_arn: "AmazonResourceName", # required
996
- # tag_keys: ["TagKey"], # required
997
- # }
998
- #
999
991
  # @!attribute [rw] resource_arn
1000
992
  # The ARN of the resource.
1001
993
  # @return [String]
@@ -1017,17 +1009,8 @@ module Aws::RolesAnywhere
1017
1009
  #
1018
1010
  class UntagResourceResponse < Aws::EmptyStructure; end
1019
1011
 
1020
- # @note When making an API call, you may pass UpdateCrlRequest
1021
- # data as a hash:
1022
- #
1023
- # {
1024
- # crl_data: "data",
1025
- # crl_id: "Uuid", # required
1026
- # name: "ResourceName",
1027
- # }
1028
- #
1029
1012
  # @!attribute [rw] crl_data
1030
- # The x509 v3 specified certificate revocation list
1013
+ # The x509 v3 specified certificate revocation list (CRL).
1031
1014
  # @return [String]
1032
1015
  #
1033
1016
  # @!attribute [rw] crl_id
@@ -1048,18 +1031,6 @@ module Aws::RolesAnywhere
1048
1031
  include Aws::Structure
1049
1032
  end
1050
1033
 
1051
- # @note When making an API call, you may pass UpdateProfileRequest
1052
- # data as a hash:
1053
- #
1054
- # {
1055
- # duration_seconds: 1,
1056
- # managed_policy_arns: ["ManagedPolicyListMemberString"],
1057
- # name: "ResourceName",
1058
- # profile_id: "Uuid", # required
1059
- # role_arns: ["RoleArn"],
1060
- # session_policy: "UpdateProfileRequestSessionPolicyString",
1061
- # }
1062
- #
1063
1034
  # @!attribute [rw] duration_seconds
1064
1035
  # The number of seconds the vended session credentials are valid for.
1065
1036
  # @return [Integer]
@@ -1078,12 +1049,8 @@ module Aws::RolesAnywhere
1078
1049
  # @return [String]
1079
1050
  #
1080
1051
  # @!attribute [rw] role_arns
1081
- # A list of IAM roles that this profile can assume in a
1082
- # [CreateSession][1] operation.
1083
- #
1084
- #
1085
- #
1086
- # [1]: https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html
1052
+ # A list of IAM roles that this profile can assume in a temporary
1053
+ # credential request.
1087
1054
  # @return [Array<String>]
1088
1055
  #
1089
1056
  # @!attribute [rw] session_policy
@@ -1104,21 +1071,6 @@ module Aws::RolesAnywhere
1104
1071
  include Aws::Structure
1105
1072
  end
1106
1073
 
1107
- # @note When making an API call, you may pass UpdateTrustAnchorRequest
1108
- # data as a hash:
1109
- #
1110
- # {
1111
- # name: "ResourceName",
1112
- # source: {
1113
- # source_data: {
1114
- # acm_pca_arn: "String",
1115
- # x509_certificate_data: "String",
1116
- # },
1117
- # source_type: "AWS_ACM_PCA", # accepts AWS_ACM_PCA, CERTIFICATE_BUNDLE, SELF_SIGNED_REPOSITORY
1118
- # },
1119
- # trust_anchor_id: "Uuid", # required
1120
- # }
1121
- #
1122
1074
  # @!attribute [rw] name
1123
1075
  # The name of the trust anchor.
1124
1076
  # @return [String]