aws-sdk-rolesanywhere 1.44.0 → 1.45.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rolesanywhere/client.rb +548 -365
- data/lib/aws-sdk-rolesanywhere/client_api.rb +62 -63
- data/lib/aws-sdk-rolesanywhere/types.rb +345 -343
- data/lib/aws-sdk-rolesanywhere/waiters.rb +15 -0
- data/lib/aws-sdk-rolesanywhere.rb +2 -1
- data/sig/client.rbs +46 -46
- data/sig/types.rbs +63 -63
- metadata +2 -1
|
@@ -482,9 +482,25 @@ module Aws::RolesAnywhere
|
|
|
482
482
|
#
|
|
483
483
|
# <b>Required permissions: </b> `rolesanywhere:CreateProfile`.
|
|
484
484
|
#
|
|
485
|
-
# @option params [
|
|
486
|
-
#
|
|
487
|
-
#
|
|
485
|
+
# @option params [required, String] :name
|
|
486
|
+
# The name of the profile.
|
|
487
|
+
#
|
|
488
|
+
# @option params [Boolean] :require_instance_properties
|
|
489
|
+
# Unused, saved for future use. Will likely specify whether instance
|
|
490
|
+
# properties are required in temporary credential requests with this
|
|
491
|
+
# profile.
|
|
492
|
+
#
|
|
493
|
+
# @option params [String] :session_policy
|
|
494
|
+
# A session policy that applies to the trust boundary of the vended
|
|
495
|
+
# session credentials.
|
|
496
|
+
#
|
|
497
|
+
# @option params [required, Array<String>] :role_arns
|
|
498
|
+
# A list of IAM roles that this profile can assume in a temporary
|
|
499
|
+
# credential request.
|
|
500
|
+
#
|
|
501
|
+
# @option params [Array<String>] :managed_policy_arns
|
|
502
|
+
# A list of managed policy ARNs that apply to the vended session
|
|
503
|
+
# credentials.
|
|
488
504
|
#
|
|
489
505
|
# @option params [Integer] :duration_seconds
|
|
490
506
|
# Used to determine how long sessions vended using this profile are
|
|
@@ -499,28 +515,13 @@ module Aws::RolesAnywhere
|
|
|
499
515
|
# @option params [Boolean] :enabled
|
|
500
516
|
# Specifies whether the profile is enabled.
|
|
501
517
|
#
|
|
502
|
-
# @option params [Array<String>] :managed_policy_arns
|
|
503
|
-
# A list of managed policy ARNs that apply to the vended session
|
|
504
|
-
# credentials.
|
|
505
|
-
#
|
|
506
|
-
# @option params [required, String] :name
|
|
507
|
-
# The name of the profile.
|
|
508
|
-
#
|
|
509
|
-
# @option params [Boolean] :require_instance_properties
|
|
510
|
-
# Specifies whether instance properties are required in temporary
|
|
511
|
-
# credential requests with this profile.
|
|
512
|
-
#
|
|
513
|
-
# @option params [required, Array<String>] :role_arns
|
|
514
|
-
# A list of IAM roles that this profile can assume in a temporary
|
|
515
|
-
# credential request.
|
|
516
|
-
#
|
|
517
|
-
# @option params [String] :session_policy
|
|
518
|
-
# A session policy that applies to the trust boundary of the vended
|
|
519
|
-
# session credentials.
|
|
520
|
-
#
|
|
521
518
|
# @option params [Array<Types::Tag>] :tags
|
|
522
519
|
# The tags to attach to the profile.
|
|
523
520
|
#
|
|
521
|
+
# @option params [Boolean] :accept_role_session_name
|
|
522
|
+
# Used to determine if a custom role session name will be accepted in a
|
|
523
|
+
# temporary credential request.
|
|
524
|
+
#
|
|
524
525
|
# @return [Types::ProfileDetailResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
525
526
|
#
|
|
526
527
|
# * {Types::ProfileDetailResponse#profile #profile} => Types::ProfileDetail
|
|
@@ -528,43 +529,43 @@ module Aws::RolesAnywhere
|
|
|
528
529
|
# @example Request syntax with placeholder values
|
|
529
530
|
#
|
|
530
531
|
# resp = client.create_profile({
|
|
531
|
-
# accept_role_session_name: false,
|
|
532
|
-
# duration_seconds: 1,
|
|
533
|
-
# enabled: false,
|
|
534
|
-
# managed_policy_arns: ["ManagedPolicyListMemberString"],
|
|
535
532
|
# name: "ResourceName", # required
|
|
536
533
|
# require_instance_properties: false,
|
|
537
|
-
# role_arns: ["RoleArn"], # required
|
|
538
534
|
# session_policy: "String",
|
|
535
|
+
# role_arns: ["RoleArn"], # required
|
|
536
|
+
# managed_policy_arns: ["ManagedPolicyListMemberString"],
|
|
537
|
+
# duration_seconds: 1,
|
|
538
|
+
# enabled: false,
|
|
539
539
|
# tags: [
|
|
540
540
|
# {
|
|
541
541
|
# key: "TagKey", # required
|
|
542
542
|
# value: "TagValue", # required
|
|
543
543
|
# },
|
|
544
544
|
# ],
|
|
545
|
+
# accept_role_session_name: false,
|
|
545
546
|
# })
|
|
546
547
|
#
|
|
547
548
|
# @example Response structure
|
|
548
549
|
#
|
|
549
|
-
# resp.profile.accept_role_session_name #=> Boolean
|
|
550
|
-
# resp.profile.attribute_mappings #=> Array
|
|
551
|
-
# resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
|
|
552
|
-
# resp.profile.attribute_mappings[0].mapping_rules #=> Array
|
|
553
|
-
# resp.profile.attribute_mappings[0].mapping_rules[0].specifier #=> String
|
|
554
|
-
# resp.profile.created_at #=> Time
|
|
555
|
-
# resp.profile.created_by #=> String
|
|
556
|
-
# resp.profile.duration_seconds #=> Integer
|
|
557
|
-
# resp.profile.enabled #=> Boolean
|
|
558
|
-
# resp.profile.managed_policy_arns #=> Array
|
|
559
|
-
# resp.profile.managed_policy_arns[0] #=> String
|
|
560
|
-
# resp.profile.name #=> String
|
|
561
|
-
# resp.profile.profile_arn #=> String
|
|
562
550
|
# resp.profile.profile_id #=> String
|
|
551
|
+
# resp.profile.profile_arn #=> String
|
|
552
|
+
# resp.profile.name #=> String
|
|
563
553
|
# resp.profile.require_instance_properties #=> Boolean
|
|
554
|
+
# resp.profile.enabled #=> Boolean
|
|
555
|
+
# resp.profile.created_by #=> String
|
|
556
|
+
# resp.profile.session_policy #=> String
|
|
564
557
|
# resp.profile.role_arns #=> Array
|
|
565
558
|
# resp.profile.role_arns[0] #=> String
|
|
566
|
-
# resp.profile.
|
|
559
|
+
# resp.profile.managed_policy_arns #=> Array
|
|
560
|
+
# resp.profile.managed_policy_arns[0] #=> String
|
|
561
|
+
# resp.profile.created_at #=> Time
|
|
567
562
|
# resp.profile.updated_at #=> Time
|
|
563
|
+
# resp.profile.duration_seconds #=> Integer
|
|
564
|
+
# resp.profile.accept_role_session_name #=> Boolean
|
|
565
|
+
# resp.profile.attribute_mappings #=> Array
|
|
566
|
+
# resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
|
|
567
|
+
# resp.profile.attribute_mappings[0].mapping_rules #=> Array
|
|
568
|
+
# resp.profile.attribute_mappings[0].mapping_rules[0].specifier #=> String
|
|
568
569
|
#
|
|
569
570
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/CreateProfile AWS API Documentation
|
|
570
571
|
#
|
|
@@ -584,21 +585,21 @@ module Aws::RolesAnywhere
|
|
|
584
585
|
#
|
|
585
586
|
# <b>Required permissions: </b> `rolesanywhere:CreateTrustAnchor`.
|
|
586
587
|
#
|
|
587
|
-
# @option params [Boolean] :enabled
|
|
588
|
-
# Specifies whether the trust anchor is enabled.
|
|
589
|
-
#
|
|
590
588
|
# @option params [required, String] :name
|
|
591
589
|
# The name of the trust anchor.
|
|
592
590
|
#
|
|
593
|
-
# @option params [Array<Types::NotificationSetting>] :notification_settings
|
|
594
|
-
# A list of notification settings to be associated to the trust anchor.
|
|
595
|
-
#
|
|
596
591
|
# @option params [required, Types::Source] :source
|
|
597
592
|
# The trust anchor type and its related certificate data.
|
|
598
593
|
#
|
|
594
|
+
# @option params [Boolean] :enabled
|
|
595
|
+
# Specifies whether the trust anchor is enabled.
|
|
596
|
+
#
|
|
599
597
|
# @option params [Array<Types::Tag>] :tags
|
|
600
598
|
# The tags to attach to the trust anchor.
|
|
601
599
|
#
|
|
600
|
+
# @option params [Array<Types::NotificationSetting>] :notification_settings
|
|
601
|
+
# A list of notification settings to be associated to the trust anchor.
|
|
602
|
+
#
|
|
602
603
|
# @return [Types::TrustAnchorDetailResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
603
604
|
#
|
|
604
605
|
# * {Types::TrustAnchorDetailResponse#trust_anchor #trust_anchor} => Types::TrustAnchorDetail
|
|
@@ -606,48 +607,48 @@ module Aws::RolesAnywhere
|
|
|
606
607
|
# @example Request syntax with placeholder values
|
|
607
608
|
#
|
|
608
609
|
# resp = client.create_trust_anchor({
|
|
609
|
-
# enabled: false,
|
|
610
610
|
# name: "ResourceName", # required
|
|
611
|
-
# notification_settings: [
|
|
612
|
-
# {
|
|
613
|
-
# channel: "ALL", # accepts ALL
|
|
614
|
-
# enabled: false, # required
|
|
615
|
-
# event: "CA_CERTIFICATE_EXPIRY", # required, accepts CA_CERTIFICATE_EXPIRY, END_ENTITY_CERTIFICATE_EXPIRY
|
|
616
|
-
# threshold: 1,
|
|
617
|
-
# },
|
|
618
|
-
# ],
|
|
619
611
|
# source: { # required
|
|
612
|
+
# source_type: "AWS_ACM_PCA", # accepts AWS_ACM_PCA, CERTIFICATE_BUNDLE, SELF_SIGNED_REPOSITORY
|
|
620
613
|
# source_data: {
|
|
621
|
-
# acm_pca_arn: "String",
|
|
622
614
|
# x509_certificate_data: "SourceDataX509CertificateDataString",
|
|
615
|
+
# acm_pca_arn: "String",
|
|
623
616
|
# },
|
|
624
|
-
# source_type: "AWS_ACM_PCA", # accepts AWS_ACM_PCA, CERTIFICATE_BUNDLE, SELF_SIGNED_REPOSITORY
|
|
625
617
|
# },
|
|
618
|
+
# enabled: false,
|
|
626
619
|
# tags: [
|
|
627
620
|
# {
|
|
628
621
|
# key: "TagKey", # required
|
|
629
622
|
# value: "TagValue", # required
|
|
630
623
|
# },
|
|
631
624
|
# ],
|
|
625
|
+
# notification_settings: [
|
|
626
|
+
# {
|
|
627
|
+
# enabled: false, # required
|
|
628
|
+
# event: "CA_CERTIFICATE_EXPIRY", # required, accepts CA_CERTIFICATE_EXPIRY, END_ENTITY_CERTIFICATE_EXPIRY
|
|
629
|
+
# threshold: 1,
|
|
630
|
+
# channel: "ALL", # accepts ALL
|
|
631
|
+
# },
|
|
632
|
+
# ],
|
|
632
633
|
# })
|
|
633
634
|
#
|
|
634
635
|
# @example Response structure
|
|
635
636
|
#
|
|
636
|
-
# resp.trust_anchor.
|
|
637
|
-
# resp.trust_anchor.
|
|
637
|
+
# resp.trust_anchor.trust_anchor_id #=> String
|
|
638
|
+
# resp.trust_anchor.trust_anchor_arn #=> String
|
|
638
639
|
# resp.trust_anchor.name #=> String
|
|
640
|
+
# resp.trust_anchor.source.source_type #=> String, one of "AWS_ACM_PCA", "CERTIFICATE_BUNDLE", "SELF_SIGNED_REPOSITORY"
|
|
641
|
+
# resp.trust_anchor.source.source_data.x509_certificate_data #=> String
|
|
642
|
+
# resp.trust_anchor.source.source_data.acm_pca_arn #=> String
|
|
643
|
+
# resp.trust_anchor.enabled #=> Boolean
|
|
644
|
+
# resp.trust_anchor.created_at #=> Time
|
|
645
|
+
# resp.trust_anchor.updated_at #=> Time
|
|
639
646
|
# resp.trust_anchor.notification_settings #=> Array
|
|
640
|
-
# resp.trust_anchor.notification_settings[0].channel #=> String, one of "ALL"
|
|
641
|
-
# resp.trust_anchor.notification_settings[0].configured_by #=> String
|
|
642
647
|
# resp.trust_anchor.notification_settings[0].enabled #=> Boolean
|
|
643
648
|
# resp.trust_anchor.notification_settings[0].event #=> String, one of "CA_CERTIFICATE_EXPIRY", "END_ENTITY_CERTIFICATE_EXPIRY"
|
|
644
649
|
# resp.trust_anchor.notification_settings[0].threshold #=> Integer
|
|
645
|
-
# resp.trust_anchor.
|
|
646
|
-
# resp.trust_anchor.
|
|
647
|
-
# resp.trust_anchor.source.source_type #=> String, one of "AWS_ACM_PCA", "CERTIFICATE_BUNDLE", "SELF_SIGNED_REPOSITORY"
|
|
648
|
-
# resp.trust_anchor.trust_anchor_arn #=> String
|
|
649
|
-
# resp.trust_anchor.trust_anchor_id #=> String
|
|
650
|
-
# resp.trust_anchor.updated_at #=> Time
|
|
650
|
+
# resp.trust_anchor.notification_settings[0].channel #=> String, one of "ALL"
|
|
651
|
+
# resp.trust_anchor.notification_settings[0].configured_by #=> String
|
|
651
652
|
#
|
|
652
653
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/CreateTrustAnchor AWS API Documentation
|
|
653
654
|
#
|
|
@@ -661,13 +662,13 @@ module Aws::RolesAnywhere
|
|
|
661
662
|
# Delete an entry from the attribute mapping rules enforced by a given
|
|
662
663
|
# profile.
|
|
663
664
|
#
|
|
665
|
+
# @option params [required, String] :profile_id
|
|
666
|
+
# The unique identifier of the profile.
|
|
667
|
+
#
|
|
664
668
|
# @option params [required, String] :certificate_field
|
|
665
669
|
# Fields (x509Subject, x509Issuer and x509SAN) within X.509
|
|
666
670
|
# certificates.
|
|
667
671
|
#
|
|
668
|
-
# @option params [required, String] :profile_id
|
|
669
|
-
# The unique identifier of the profile.
|
|
670
|
-
#
|
|
671
672
|
# @option params [Array<String>] :specifiers
|
|
672
673
|
# A list of specifiers of a certificate field; for example, CN, OU, UID
|
|
673
674
|
# from a Subject.
|
|
@@ -676,35 +677,78 @@ module Aws::RolesAnywhere
|
|
|
676
677
|
#
|
|
677
678
|
# * {Types::DeleteAttributeMappingResponse#profile #profile} => Types::ProfileDetail
|
|
678
679
|
#
|
|
680
|
+
#
|
|
681
|
+
# @example Example: DeleteAttributeMapping - Deletes a custom attribute mapping rule
|
|
682
|
+
#
|
|
683
|
+
# resp = client.delete_attribute_mapping({
|
|
684
|
+
# certificate_field: "x509Subject",
|
|
685
|
+
# profile_id: "00000000-0000-0000-0000-000000000000",
|
|
686
|
+
# specifiers: [
|
|
687
|
+
# "OU",
|
|
688
|
+
# ],
|
|
689
|
+
# })
|
|
690
|
+
#
|
|
691
|
+
# resp.to_h outputs the following:
|
|
692
|
+
# {
|
|
693
|
+
# profile: {
|
|
694
|
+
# name: "Dummy Profile",
|
|
695
|
+
# accept_role_session_name: false,
|
|
696
|
+
# attribute_mappings: [
|
|
697
|
+
# {
|
|
698
|
+
# certificate_field: "x509Subject",
|
|
699
|
+
# mapping_rules: [
|
|
700
|
+
# {
|
|
701
|
+
# specifier: "CN",
|
|
702
|
+
# },
|
|
703
|
+
# ],
|
|
704
|
+
# },
|
|
705
|
+
# ],
|
|
706
|
+
# created_at: Time.parse("2021-07-19T15:55:25.986591Z"),
|
|
707
|
+
# created_by: "arn:aws:sts::123456789012:assumed-role/Admin/DummyRole",
|
|
708
|
+
# duration_seconds: 3600,
|
|
709
|
+
# enabled: true,
|
|
710
|
+
# managed_policy_arns: [
|
|
711
|
+
# ],
|
|
712
|
+
# profile_arn: "arn:aws:rolesanywhere:us-east-1:123456789012:profile/00000000-0000-0000-0000-000000000000",
|
|
713
|
+
# profile_id: "00000000-0000-0000-0000-000000000000",
|
|
714
|
+
# require_instance_properties: false,
|
|
715
|
+
# role_arns: [
|
|
716
|
+
# "arn:aws:iam::123456789012:role/DummyRole",
|
|
717
|
+
# ],
|
|
718
|
+
# session_policy: "",
|
|
719
|
+
# updated_at: Time.parse("2021-07-19T15:55:25.986591Z"),
|
|
720
|
+
# },
|
|
721
|
+
# }
|
|
722
|
+
#
|
|
679
723
|
# @example Request syntax with placeholder values
|
|
680
724
|
#
|
|
681
725
|
# resp = client.delete_attribute_mapping({
|
|
682
|
-
# certificate_field: "x509Subject", # required, accepts x509Subject, x509Issuer, x509SAN
|
|
683
726
|
# profile_id: "Uuid", # required
|
|
727
|
+
# certificate_field: "x509Subject", # required, accepts x509Subject, x509Issuer, x509SAN
|
|
684
728
|
# specifiers: ["String"],
|
|
685
729
|
# })
|
|
686
730
|
#
|
|
687
731
|
# @example Response structure
|
|
688
732
|
#
|
|
689
|
-
# resp.profile.accept_role_session_name #=> Boolean
|
|
690
|
-
# resp.profile.attribute_mappings #=> Array
|
|
691
|
-
# resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
|
|
692
|
-
# resp.profile.attribute_mappings[0].mapping_rules #=> Array
|
|
693
|
-
# resp.profile.attribute_mappings[0].mapping_rules[0].specifier #=> String
|
|
694
|
-
# resp.profile.created_at #=> Time
|
|
695
|
-
# resp.profile.created_by #=> String
|
|
696
|
-
# resp.profile.duration_seconds #=> Integer
|
|
697
|
-
# resp.profile.enabled #=> Boolean
|
|
698
|
-
# resp.profile.managed_policy_arns #=> Array
|
|
699
|
-
# resp.profile.managed_policy_arns[0] #=> String
|
|
700
|
-
# resp.profile.name #=> String
|
|
701
|
-
# resp.profile.profile_arn #=> String
|
|
702
733
|
# resp.profile.profile_id #=> String
|
|
734
|
+
# resp.profile.profile_arn #=> String
|
|
735
|
+
# resp.profile.name #=> String
|
|
703
736
|
# resp.profile.require_instance_properties #=> Boolean
|
|
737
|
+
# resp.profile.enabled #=> Boolean
|
|
738
|
+
# resp.profile.created_by #=> String
|
|
739
|
+
# resp.profile.session_policy #=> String
|
|
704
740
|
# resp.profile.role_arns #=> Array
|
|
705
741
|
# resp.profile.role_arns[0] #=> String
|
|
706
|
-
# resp.profile.
|
|
742
|
+
# resp.profile.managed_policy_arns #=> Array
|
|
743
|
+
# resp.profile.managed_policy_arns[0] #=> String
|
|
744
|
+
# resp.profile.created_at #=> Time
|
|
707
745
|
# resp.profile.updated_at #=> Time
|
|
746
|
+
# resp.profile.duration_seconds #=> Integer
|
|
747
|
+
# resp.profile.accept_role_session_name #=> Boolean
|
|
748
|
+
# resp.profile.attribute_mappings #=> Array
|
|
749
|
+
# resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
|
|
750
|
+
# resp.profile.attribute_mappings[0].mapping_rules #=> Array
|
|
751
|
+
# resp.profile.attribute_mappings[0].mapping_rules[0].specifier #=> String
|
|
708
752
|
#
|
|
709
753
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DeleteAttributeMapping AWS API Documentation
|
|
710
754
|
#
|
|
@@ -734,13 +778,13 @@ module Aws::RolesAnywhere
|
|
|
734
778
|
#
|
|
735
779
|
# @example Response structure
|
|
736
780
|
#
|
|
737
|
-
# resp.crl.created_at #=> Time
|
|
738
|
-
# resp.crl.crl_arn #=> String
|
|
739
|
-
# resp.crl.crl_data #=> String
|
|
740
781
|
# resp.crl.crl_id #=> String
|
|
741
|
-
# resp.crl.
|
|
782
|
+
# resp.crl.crl_arn #=> String
|
|
742
783
|
# resp.crl.name #=> String
|
|
784
|
+
# resp.crl.enabled #=> Boolean
|
|
785
|
+
# resp.crl.crl_data #=> String
|
|
743
786
|
# resp.crl.trust_anchor_arn #=> String
|
|
787
|
+
# resp.crl.created_at #=> Time
|
|
744
788
|
# resp.crl.updated_at #=> Time
|
|
745
789
|
#
|
|
746
790
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DeleteCrl AWS API Documentation
|
|
@@ -771,25 +815,25 @@ module Aws::RolesAnywhere
|
|
|
771
815
|
#
|
|
772
816
|
# @example Response structure
|
|
773
817
|
#
|
|
774
|
-
# resp.profile.accept_role_session_name #=> Boolean
|
|
775
|
-
# resp.profile.attribute_mappings #=> Array
|
|
776
|
-
# resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
|
|
777
|
-
# resp.profile.attribute_mappings[0].mapping_rules #=> Array
|
|
778
|
-
# resp.profile.attribute_mappings[0].mapping_rules[0].specifier #=> String
|
|
779
|
-
# resp.profile.created_at #=> Time
|
|
780
|
-
# resp.profile.created_by #=> String
|
|
781
|
-
# resp.profile.duration_seconds #=> Integer
|
|
782
|
-
# resp.profile.enabled #=> Boolean
|
|
783
|
-
# resp.profile.managed_policy_arns #=> Array
|
|
784
|
-
# resp.profile.managed_policy_arns[0] #=> String
|
|
785
|
-
# resp.profile.name #=> String
|
|
786
|
-
# resp.profile.profile_arn #=> String
|
|
787
818
|
# resp.profile.profile_id #=> String
|
|
819
|
+
# resp.profile.profile_arn #=> String
|
|
820
|
+
# resp.profile.name #=> String
|
|
788
821
|
# resp.profile.require_instance_properties #=> Boolean
|
|
822
|
+
# resp.profile.enabled #=> Boolean
|
|
823
|
+
# resp.profile.created_by #=> String
|
|
824
|
+
# resp.profile.session_policy #=> String
|
|
789
825
|
# resp.profile.role_arns #=> Array
|
|
790
826
|
# resp.profile.role_arns[0] #=> String
|
|
791
|
-
# resp.profile.
|
|
827
|
+
# resp.profile.managed_policy_arns #=> Array
|
|
828
|
+
# resp.profile.managed_policy_arns[0] #=> String
|
|
829
|
+
# resp.profile.created_at #=> Time
|
|
792
830
|
# resp.profile.updated_at #=> Time
|
|
831
|
+
# resp.profile.duration_seconds #=> Integer
|
|
832
|
+
# resp.profile.accept_role_session_name #=> Boolean
|
|
833
|
+
# resp.profile.attribute_mappings #=> Array
|
|
834
|
+
# resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
|
|
835
|
+
# resp.profile.attribute_mappings[0].mapping_rules #=> Array
|
|
836
|
+
# resp.profile.attribute_mappings[0].mapping_rules[0].specifier #=> String
|
|
793
837
|
#
|
|
794
838
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DeleteProfile AWS API Documentation
|
|
795
839
|
#
|
|
@@ -819,21 +863,21 @@ module Aws::RolesAnywhere
|
|
|
819
863
|
#
|
|
820
864
|
# @example Response structure
|
|
821
865
|
#
|
|
822
|
-
# resp.trust_anchor.
|
|
823
|
-
# resp.trust_anchor.
|
|
866
|
+
# resp.trust_anchor.trust_anchor_id #=> String
|
|
867
|
+
# resp.trust_anchor.trust_anchor_arn #=> String
|
|
824
868
|
# resp.trust_anchor.name #=> String
|
|
869
|
+
# resp.trust_anchor.source.source_type #=> String, one of "AWS_ACM_PCA", "CERTIFICATE_BUNDLE", "SELF_SIGNED_REPOSITORY"
|
|
870
|
+
# resp.trust_anchor.source.source_data.x509_certificate_data #=> String
|
|
871
|
+
# resp.trust_anchor.source.source_data.acm_pca_arn #=> String
|
|
872
|
+
# resp.trust_anchor.enabled #=> Boolean
|
|
873
|
+
# resp.trust_anchor.created_at #=> Time
|
|
874
|
+
# resp.trust_anchor.updated_at #=> Time
|
|
825
875
|
# resp.trust_anchor.notification_settings #=> Array
|
|
826
|
-
# resp.trust_anchor.notification_settings[0].channel #=> String, one of "ALL"
|
|
827
|
-
# resp.trust_anchor.notification_settings[0].configured_by #=> String
|
|
828
876
|
# resp.trust_anchor.notification_settings[0].enabled #=> Boolean
|
|
829
877
|
# resp.trust_anchor.notification_settings[0].event #=> String, one of "CA_CERTIFICATE_EXPIRY", "END_ENTITY_CERTIFICATE_EXPIRY"
|
|
830
878
|
# resp.trust_anchor.notification_settings[0].threshold #=> Integer
|
|
831
|
-
# resp.trust_anchor.
|
|
832
|
-
# resp.trust_anchor.
|
|
833
|
-
# resp.trust_anchor.source.source_type #=> String, one of "AWS_ACM_PCA", "CERTIFICATE_BUNDLE", "SELF_SIGNED_REPOSITORY"
|
|
834
|
-
# resp.trust_anchor.trust_anchor_arn #=> String
|
|
835
|
-
# resp.trust_anchor.trust_anchor_id #=> String
|
|
836
|
-
# resp.trust_anchor.updated_at #=> Time
|
|
879
|
+
# resp.trust_anchor.notification_settings[0].channel #=> String, one of "ALL"
|
|
880
|
+
# resp.trust_anchor.notification_settings[0].configured_by #=> String
|
|
837
881
|
#
|
|
838
882
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DeleteTrustAnchor AWS API Documentation
|
|
839
883
|
#
|
|
@@ -863,13 +907,13 @@ module Aws::RolesAnywhere
|
|
|
863
907
|
#
|
|
864
908
|
# @example Response structure
|
|
865
909
|
#
|
|
866
|
-
# resp.crl.created_at #=> Time
|
|
867
|
-
# resp.crl.crl_arn #=> String
|
|
868
|
-
# resp.crl.crl_data #=> String
|
|
869
910
|
# resp.crl.crl_id #=> String
|
|
870
|
-
# resp.crl.
|
|
911
|
+
# resp.crl.crl_arn #=> String
|
|
871
912
|
# resp.crl.name #=> String
|
|
913
|
+
# resp.crl.enabled #=> Boolean
|
|
914
|
+
# resp.crl.crl_data #=> String
|
|
872
915
|
# resp.crl.trust_anchor_arn #=> String
|
|
916
|
+
# resp.crl.created_at #=> Time
|
|
873
917
|
# resp.crl.updated_at #=> Time
|
|
874
918
|
#
|
|
875
919
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DisableCrl AWS API Documentation
|
|
@@ -901,25 +945,25 @@ module Aws::RolesAnywhere
|
|
|
901
945
|
#
|
|
902
946
|
# @example Response structure
|
|
903
947
|
#
|
|
904
|
-
# resp.profile.accept_role_session_name #=> Boolean
|
|
905
|
-
# resp.profile.attribute_mappings #=> Array
|
|
906
|
-
# resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
|
|
907
|
-
# resp.profile.attribute_mappings[0].mapping_rules #=> Array
|
|
908
|
-
# resp.profile.attribute_mappings[0].mapping_rules[0].specifier #=> String
|
|
909
|
-
# resp.profile.created_at #=> Time
|
|
910
|
-
# resp.profile.created_by #=> String
|
|
911
|
-
# resp.profile.duration_seconds #=> Integer
|
|
912
|
-
# resp.profile.enabled #=> Boolean
|
|
913
|
-
# resp.profile.managed_policy_arns #=> Array
|
|
914
|
-
# resp.profile.managed_policy_arns[0] #=> String
|
|
915
|
-
# resp.profile.name #=> String
|
|
916
|
-
# resp.profile.profile_arn #=> String
|
|
917
948
|
# resp.profile.profile_id #=> String
|
|
949
|
+
# resp.profile.profile_arn #=> String
|
|
950
|
+
# resp.profile.name #=> String
|
|
918
951
|
# resp.profile.require_instance_properties #=> Boolean
|
|
952
|
+
# resp.profile.enabled #=> Boolean
|
|
953
|
+
# resp.profile.created_by #=> String
|
|
954
|
+
# resp.profile.session_policy #=> String
|
|
919
955
|
# resp.profile.role_arns #=> Array
|
|
920
956
|
# resp.profile.role_arns[0] #=> String
|
|
921
|
-
# resp.profile.
|
|
957
|
+
# resp.profile.managed_policy_arns #=> Array
|
|
958
|
+
# resp.profile.managed_policy_arns[0] #=> String
|
|
959
|
+
# resp.profile.created_at #=> Time
|
|
922
960
|
# resp.profile.updated_at #=> Time
|
|
961
|
+
# resp.profile.duration_seconds #=> Integer
|
|
962
|
+
# resp.profile.accept_role_session_name #=> Boolean
|
|
963
|
+
# resp.profile.attribute_mappings #=> Array
|
|
964
|
+
# resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
|
|
965
|
+
# resp.profile.attribute_mappings[0].mapping_rules #=> Array
|
|
966
|
+
# resp.profile.attribute_mappings[0].mapping_rules[0].specifier #=> String
|
|
923
967
|
#
|
|
924
968
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DisableProfile AWS API Documentation
|
|
925
969
|
#
|
|
@@ -950,21 +994,21 @@ module Aws::RolesAnywhere
|
|
|
950
994
|
#
|
|
951
995
|
# @example Response structure
|
|
952
996
|
#
|
|
953
|
-
# resp.trust_anchor.
|
|
954
|
-
# resp.trust_anchor.
|
|
997
|
+
# resp.trust_anchor.trust_anchor_id #=> String
|
|
998
|
+
# resp.trust_anchor.trust_anchor_arn #=> String
|
|
955
999
|
# resp.trust_anchor.name #=> String
|
|
1000
|
+
# resp.trust_anchor.source.source_type #=> String, one of "AWS_ACM_PCA", "CERTIFICATE_BUNDLE", "SELF_SIGNED_REPOSITORY"
|
|
1001
|
+
# resp.trust_anchor.source.source_data.x509_certificate_data #=> String
|
|
1002
|
+
# resp.trust_anchor.source.source_data.acm_pca_arn #=> String
|
|
1003
|
+
# resp.trust_anchor.enabled #=> Boolean
|
|
1004
|
+
# resp.trust_anchor.created_at #=> Time
|
|
1005
|
+
# resp.trust_anchor.updated_at #=> Time
|
|
956
1006
|
# resp.trust_anchor.notification_settings #=> Array
|
|
957
|
-
# resp.trust_anchor.notification_settings[0].channel #=> String, one of "ALL"
|
|
958
|
-
# resp.trust_anchor.notification_settings[0].configured_by #=> String
|
|
959
1007
|
# resp.trust_anchor.notification_settings[0].enabled #=> Boolean
|
|
960
1008
|
# resp.trust_anchor.notification_settings[0].event #=> String, one of "CA_CERTIFICATE_EXPIRY", "END_ENTITY_CERTIFICATE_EXPIRY"
|
|
961
1009
|
# resp.trust_anchor.notification_settings[0].threshold #=> Integer
|
|
962
|
-
# resp.trust_anchor.
|
|
963
|
-
# resp.trust_anchor.
|
|
964
|
-
# resp.trust_anchor.source.source_type #=> String, one of "AWS_ACM_PCA", "CERTIFICATE_BUNDLE", "SELF_SIGNED_REPOSITORY"
|
|
965
|
-
# resp.trust_anchor.trust_anchor_arn #=> String
|
|
966
|
-
# resp.trust_anchor.trust_anchor_id #=> String
|
|
967
|
-
# resp.trust_anchor.updated_at #=> Time
|
|
1010
|
+
# resp.trust_anchor.notification_settings[0].channel #=> String, one of "ALL"
|
|
1011
|
+
# resp.trust_anchor.notification_settings[0].configured_by #=> String
|
|
968
1012
|
#
|
|
969
1013
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DisableTrustAnchor AWS API Documentation
|
|
970
1014
|
#
|
|
@@ -996,13 +1040,13 @@ module Aws::RolesAnywhere
|
|
|
996
1040
|
#
|
|
997
1041
|
# @example Response structure
|
|
998
1042
|
#
|
|
999
|
-
# resp.crl.created_at #=> Time
|
|
1000
|
-
# resp.crl.crl_arn #=> String
|
|
1001
|
-
# resp.crl.crl_data #=> String
|
|
1002
1043
|
# resp.crl.crl_id #=> String
|
|
1003
|
-
# resp.crl.
|
|
1044
|
+
# resp.crl.crl_arn #=> String
|
|
1004
1045
|
# resp.crl.name #=> String
|
|
1046
|
+
# resp.crl.enabled #=> Boolean
|
|
1047
|
+
# resp.crl.crl_data #=> String
|
|
1005
1048
|
# resp.crl.trust_anchor_arn #=> String
|
|
1049
|
+
# resp.crl.created_at #=> Time
|
|
1006
1050
|
# resp.crl.updated_at #=> Time
|
|
1007
1051
|
#
|
|
1008
1052
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/EnableCrl AWS API Documentation
|
|
@@ -1033,25 +1077,25 @@ module Aws::RolesAnywhere
|
|
|
1033
1077
|
#
|
|
1034
1078
|
# @example Response structure
|
|
1035
1079
|
#
|
|
1036
|
-
# resp.profile.accept_role_session_name #=> Boolean
|
|
1037
|
-
# resp.profile.attribute_mappings #=> Array
|
|
1038
|
-
# resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
|
|
1039
|
-
# resp.profile.attribute_mappings[0].mapping_rules #=> Array
|
|
1040
|
-
# resp.profile.attribute_mappings[0].mapping_rules[0].specifier #=> String
|
|
1041
|
-
# resp.profile.created_at #=> Time
|
|
1042
|
-
# resp.profile.created_by #=> String
|
|
1043
|
-
# resp.profile.duration_seconds #=> Integer
|
|
1044
|
-
# resp.profile.enabled #=> Boolean
|
|
1045
|
-
# resp.profile.managed_policy_arns #=> Array
|
|
1046
|
-
# resp.profile.managed_policy_arns[0] #=> String
|
|
1047
|
-
# resp.profile.name #=> String
|
|
1048
|
-
# resp.profile.profile_arn #=> String
|
|
1049
1080
|
# resp.profile.profile_id #=> String
|
|
1081
|
+
# resp.profile.profile_arn #=> String
|
|
1082
|
+
# resp.profile.name #=> String
|
|
1050
1083
|
# resp.profile.require_instance_properties #=> Boolean
|
|
1084
|
+
# resp.profile.enabled #=> Boolean
|
|
1085
|
+
# resp.profile.created_by #=> String
|
|
1086
|
+
# resp.profile.session_policy #=> String
|
|
1051
1087
|
# resp.profile.role_arns #=> Array
|
|
1052
1088
|
# resp.profile.role_arns[0] #=> String
|
|
1053
|
-
# resp.profile.
|
|
1089
|
+
# resp.profile.managed_policy_arns #=> Array
|
|
1090
|
+
# resp.profile.managed_policy_arns[0] #=> String
|
|
1091
|
+
# resp.profile.created_at #=> Time
|
|
1054
1092
|
# resp.profile.updated_at #=> Time
|
|
1093
|
+
# resp.profile.duration_seconds #=> Integer
|
|
1094
|
+
# resp.profile.accept_role_session_name #=> Boolean
|
|
1095
|
+
# resp.profile.attribute_mappings #=> Array
|
|
1096
|
+
# resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
|
|
1097
|
+
# resp.profile.attribute_mappings[0].mapping_rules #=> Array
|
|
1098
|
+
# resp.profile.attribute_mappings[0].mapping_rules[0].specifier #=> String
|
|
1055
1099
|
#
|
|
1056
1100
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/EnableProfile AWS API Documentation
|
|
1057
1101
|
#
|
|
@@ -1082,21 +1126,21 @@ module Aws::RolesAnywhere
|
|
|
1082
1126
|
#
|
|
1083
1127
|
# @example Response structure
|
|
1084
1128
|
#
|
|
1085
|
-
# resp.trust_anchor.
|
|
1086
|
-
# resp.trust_anchor.
|
|
1129
|
+
# resp.trust_anchor.trust_anchor_id #=> String
|
|
1130
|
+
# resp.trust_anchor.trust_anchor_arn #=> String
|
|
1087
1131
|
# resp.trust_anchor.name #=> String
|
|
1132
|
+
# resp.trust_anchor.source.source_type #=> String, one of "AWS_ACM_PCA", "CERTIFICATE_BUNDLE", "SELF_SIGNED_REPOSITORY"
|
|
1133
|
+
# resp.trust_anchor.source.source_data.x509_certificate_data #=> String
|
|
1134
|
+
# resp.trust_anchor.source.source_data.acm_pca_arn #=> String
|
|
1135
|
+
# resp.trust_anchor.enabled #=> Boolean
|
|
1136
|
+
# resp.trust_anchor.created_at #=> Time
|
|
1137
|
+
# resp.trust_anchor.updated_at #=> Time
|
|
1088
1138
|
# resp.trust_anchor.notification_settings #=> Array
|
|
1089
|
-
# resp.trust_anchor.notification_settings[0].channel #=> String, one of "ALL"
|
|
1090
|
-
# resp.trust_anchor.notification_settings[0].configured_by #=> String
|
|
1091
1139
|
# resp.trust_anchor.notification_settings[0].enabled #=> Boolean
|
|
1092
1140
|
# resp.trust_anchor.notification_settings[0].event #=> String, one of "CA_CERTIFICATE_EXPIRY", "END_ENTITY_CERTIFICATE_EXPIRY"
|
|
1093
1141
|
# resp.trust_anchor.notification_settings[0].threshold #=> Integer
|
|
1094
|
-
# resp.trust_anchor.
|
|
1095
|
-
# resp.trust_anchor.
|
|
1096
|
-
# resp.trust_anchor.source.source_type #=> String, one of "AWS_ACM_PCA", "CERTIFICATE_BUNDLE", "SELF_SIGNED_REPOSITORY"
|
|
1097
|
-
# resp.trust_anchor.trust_anchor_arn #=> String
|
|
1098
|
-
# resp.trust_anchor.trust_anchor_id #=> String
|
|
1099
|
-
# resp.trust_anchor.updated_at #=> Time
|
|
1142
|
+
# resp.trust_anchor.notification_settings[0].channel #=> String, one of "ALL"
|
|
1143
|
+
# resp.trust_anchor.notification_settings[0].configured_by #=> String
|
|
1100
1144
|
#
|
|
1101
1145
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/EnableTrustAnchor AWS API Documentation
|
|
1102
1146
|
#
|
|
@@ -1126,13 +1170,13 @@ module Aws::RolesAnywhere
|
|
|
1126
1170
|
#
|
|
1127
1171
|
# @example Response structure
|
|
1128
1172
|
#
|
|
1129
|
-
# resp.crl.created_at #=> Time
|
|
1130
|
-
# resp.crl.crl_arn #=> String
|
|
1131
|
-
# resp.crl.crl_data #=> String
|
|
1132
1173
|
# resp.crl.crl_id #=> String
|
|
1133
|
-
# resp.crl.
|
|
1174
|
+
# resp.crl.crl_arn #=> String
|
|
1134
1175
|
# resp.crl.name #=> String
|
|
1176
|
+
# resp.crl.enabled #=> Boolean
|
|
1177
|
+
# resp.crl.crl_data #=> String
|
|
1135
1178
|
# resp.crl.trust_anchor_arn #=> String
|
|
1179
|
+
# resp.crl.created_at #=> Time
|
|
1136
1180
|
# resp.crl.updated_at #=> Time
|
|
1137
1181
|
#
|
|
1138
1182
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/GetCrl AWS API Documentation
|
|
@@ -1163,25 +1207,25 @@ module Aws::RolesAnywhere
|
|
|
1163
1207
|
#
|
|
1164
1208
|
# @example Response structure
|
|
1165
1209
|
#
|
|
1166
|
-
# resp.profile.accept_role_session_name #=> Boolean
|
|
1167
|
-
# resp.profile.attribute_mappings #=> Array
|
|
1168
|
-
# resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
|
|
1169
|
-
# resp.profile.attribute_mappings[0].mapping_rules #=> Array
|
|
1170
|
-
# resp.profile.attribute_mappings[0].mapping_rules[0].specifier #=> String
|
|
1171
|
-
# resp.profile.created_at #=> Time
|
|
1172
|
-
# resp.profile.created_by #=> String
|
|
1173
|
-
# resp.profile.duration_seconds #=> Integer
|
|
1174
|
-
# resp.profile.enabled #=> Boolean
|
|
1175
|
-
# resp.profile.managed_policy_arns #=> Array
|
|
1176
|
-
# resp.profile.managed_policy_arns[0] #=> String
|
|
1177
|
-
# resp.profile.name #=> String
|
|
1178
|
-
# resp.profile.profile_arn #=> String
|
|
1179
1210
|
# resp.profile.profile_id #=> String
|
|
1211
|
+
# resp.profile.profile_arn #=> String
|
|
1212
|
+
# resp.profile.name #=> String
|
|
1180
1213
|
# resp.profile.require_instance_properties #=> Boolean
|
|
1214
|
+
# resp.profile.enabled #=> Boolean
|
|
1215
|
+
# resp.profile.created_by #=> String
|
|
1216
|
+
# resp.profile.session_policy #=> String
|
|
1181
1217
|
# resp.profile.role_arns #=> Array
|
|
1182
1218
|
# resp.profile.role_arns[0] #=> String
|
|
1183
|
-
# resp.profile.
|
|
1219
|
+
# resp.profile.managed_policy_arns #=> Array
|
|
1220
|
+
# resp.profile.managed_policy_arns[0] #=> String
|
|
1221
|
+
# resp.profile.created_at #=> Time
|
|
1184
1222
|
# resp.profile.updated_at #=> Time
|
|
1223
|
+
# resp.profile.duration_seconds #=> Integer
|
|
1224
|
+
# resp.profile.accept_role_session_name #=> Boolean
|
|
1225
|
+
# resp.profile.attribute_mappings #=> Array
|
|
1226
|
+
# resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
|
|
1227
|
+
# resp.profile.attribute_mappings[0].mapping_rules #=> Array
|
|
1228
|
+
# resp.profile.attribute_mappings[0].mapping_rules[0].specifier #=> String
|
|
1185
1229
|
#
|
|
1186
1230
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/GetProfile AWS API Documentation
|
|
1187
1231
|
#
|
|
@@ -1215,25 +1259,25 @@ module Aws::RolesAnywhere
|
|
|
1215
1259
|
#
|
|
1216
1260
|
# @example Response structure
|
|
1217
1261
|
#
|
|
1262
|
+
# resp.subject.subject_arn #=> String
|
|
1263
|
+
# resp.subject.subject_id #=> String
|
|
1264
|
+
# resp.subject.enabled #=> Boolean
|
|
1265
|
+
# resp.subject.x509_subject #=> String
|
|
1266
|
+
# resp.subject.last_seen_at #=> Time
|
|
1218
1267
|
# resp.subject.created_at #=> Time
|
|
1268
|
+
# resp.subject.updated_at #=> Time
|
|
1219
1269
|
# resp.subject.credentials #=> Array
|
|
1220
|
-
# resp.subject.credentials[0].enabled #=> Boolean
|
|
1221
|
-
# resp.subject.credentials[0].failed #=> Boolean
|
|
1222
|
-
# resp.subject.credentials[0].issuer #=> String
|
|
1223
1270
|
# resp.subject.credentials[0].seen_at #=> Time
|
|
1224
1271
|
# resp.subject.credentials[0].serial_number #=> String
|
|
1272
|
+
# resp.subject.credentials[0].issuer #=> String
|
|
1273
|
+
# resp.subject.credentials[0].enabled #=> Boolean
|
|
1225
1274
|
# resp.subject.credentials[0].x509_certificate_data #=> String
|
|
1226
|
-
# resp.subject.
|
|
1275
|
+
# resp.subject.credentials[0].failed #=> Boolean
|
|
1227
1276
|
# resp.subject.instance_properties #=> Array
|
|
1228
|
-
# resp.subject.instance_properties[0].
|
|
1277
|
+
# resp.subject.instance_properties[0].seen_at #=> Time
|
|
1229
1278
|
# resp.subject.instance_properties[0].properties #=> Hash
|
|
1230
1279
|
# resp.subject.instance_properties[0].properties["InstancePropertyMapKeyString"] #=> String
|
|
1231
|
-
# resp.subject.instance_properties[0].
|
|
1232
|
-
# resp.subject.last_seen_at #=> Time
|
|
1233
|
-
# resp.subject.subject_arn #=> String
|
|
1234
|
-
# resp.subject.subject_id #=> String
|
|
1235
|
-
# resp.subject.updated_at #=> Time
|
|
1236
|
-
# resp.subject.x509_subject #=> String
|
|
1280
|
+
# resp.subject.instance_properties[0].failed #=> Boolean
|
|
1237
1281
|
#
|
|
1238
1282
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/GetSubject AWS API Documentation
|
|
1239
1283
|
#
|
|
@@ -1263,21 +1307,21 @@ module Aws::RolesAnywhere
|
|
|
1263
1307
|
#
|
|
1264
1308
|
# @example Response structure
|
|
1265
1309
|
#
|
|
1266
|
-
# resp.trust_anchor.
|
|
1267
|
-
# resp.trust_anchor.
|
|
1310
|
+
# resp.trust_anchor.trust_anchor_id #=> String
|
|
1311
|
+
# resp.trust_anchor.trust_anchor_arn #=> String
|
|
1268
1312
|
# resp.trust_anchor.name #=> String
|
|
1313
|
+
# resp.trust_anchor.source.source_type #=> String, one of "AWS_ACM_PCA", "CERTIFICATE_BUNDLE", "SELF_SIGNED_REPOSITORY"
|
|
1314
|
+
# resp.trust_anchor.source.source_data.x509_certificate_data #=> String
|
|
1315
|
+
# resp.trust_anchor.source.source_data.acm_pca_arn #=> String
|
|
1316
|
+
# resp.trust_anchor.enabled #=> Boolean
|
|
1317
|
+
# resp.trust_anchor.created_at #=> Time
|
|
1318
|
+
# resp.trust_anchor.updated_at #=> Time
|
|
1269
1319
|
# resp.trust_anchor.notification_settings #=> Array
|
|
1270
|
-
# resp.trust_anchor.notification_settings[0].channel #=> String, one of "ALL"
|
|
1271
|
-
# resp.trust_anchor.notification_settings[0].configured_by #=> String
|
|
1272
1320
|
# resp.trust_anchor.notification_settings[0].enabled #=> Boolean
|
|
1273
1321
|
# resp.trust_anchor.notification_settings[0].event #=> String, one of "CA_CERTIFICATE_EXPIRY", "END_ENTITY_CERTIFICATE_EXPIRY"
|
|
1274
1322
|
# resp.trust_anchor.notification_settings[0].threshold #=> Integer
|
|
1275
|
-
# resp.trust_anchor.
|
|
1276
|
-
# resp.trust_anchor.
|
|
1277
|
-
# resp.trust_anchor.source.source_type #=> String, one of "AWS_ACM_PCA", "CERTIFICATE_BUNDLE", "SELF_SIGNED_REPOSITORY"
|
|
1278
|
-
# resp.trust_anchor.trust_anchor_arn #=> String
|
|
1279
|
-
# resp.trust_anchor.trust_anchor_id #=> String
|
|
1280
|
-
# resp.trust_anchor.updated_at #=> Time
|
|
1323
|
+
# resp.trust_anchor.notification_settings[0].channel #=> String, one of "ALL"
|
|
1324
|
+
# resp.trust_anchor.notification_settings[0].configured_by #=> String
|
|
1281
1325
|
#
|
|
1282
1326
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/GetTrustAnchor AWS API Documentation
|
|
1283
1327
|
#
|
|
@@ -1296,15 +1340,15 @@ module Aws::RolesAnywhere
|
|
|
1296
1340
|
#
|
|
1297
1341
|
# <b>Required permissions: </b> `rolesanywhere:ImportCrl`.
|
|
1298
1342
|
#
|
|
1343
|
+
# @option params [required, String] :name
|
|
1344
|
+
# The name of the certificate revocation list (CRL).
|
|
1345
|
+
#
|
|
1299
1346
|
# @option params [required, String, StringIO, File] :crl_data
|
|
1300
1347
|
# The x509 v3 specified certificate revocation list (CRL).
|
|
1301
1348
|
#
|
|
1302
1349
|
# @option params [Boolean] :enabled
|
|
1303
1350
|
# Specifies whether the certificate revocation list (CRL) is enabled.
|
|
1304
1351
|
#
|
|
1305
|
-
# @option params [required, String] :name
|
|
1306
|
-
# The name of the certificate revocation list (CRL).
|
|
1307
|
-
#
|
|
1308
1352
|
# @option params [Array<Types::Tag>] :tags
|
|
1309
1353
|
# A list of tags to attach to the certificate revocation list (CRL).
|
|
1310
1354
|
#
|
|
@@ -1319,9 +1363,9 @@ module Aws::RolesAnywhere
|
|
|
1319
1363
|
# @example Request syntax with placeholder values
|
|
1320
1364
|
#
|
|
1321
1365
|
# resp = client.import_crl({
|
|
1366
|
+
# name: "ResourceName", # required
|
|
1322
1367
|
# crl_data: "data", # required
|
|
1323
1368
|
# enabled: false,
|
|
1324
|
-
# name: "ResourceName", # required
|
|
1325
1369
|
# tags: [
|
|
1326
1370
|
# {
|
|
1327
1371
|
# key: "TagKey", # required
|
|
@@ -1333,13 +1377,13 @@ module Aws::RolesAnywhere
|
|
|
1333
1377
|
#
|
|
1334
1378
|
# @example Response structure
|
|
1335
1379
|
#
|
|
1336
|
-
# resp.crl.created_at #=> Time
|
|
1337
|
-
# resp.crl.crl_arn #=> String
|
|
1338
|
-
# resp.crl.crl_data #=> String
|
|
1339
1380
|
# resp.crl.crl_id #=> String
|
|
1340
|
-
# resp.crl.
|
|
1381
|
+
# resp.crl.crl_arn #=> String
|
|
1341
1382
|
# resp.crl.name #=> String
|
|
1383
|
+
# resp.crl.enabled #=> Boolean
|
|
1384
|
+
# resp.crl.crl_data #=> String
|
|
1342
1385
|
# resp.crl.trust_anchor_arn #=> String
|
|
1386
|
+
# resp.crl.created_at #=> Time
|
|
1343
1387
|
# resp.crl.updated_at #=> Time
|
|
1344
1388
|
#
|
|
1345
1389
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ImportCrl AWS API Documentation
|
|
@@ -1366,8 +1410,8 @@ module Aws::RolesAnywhere
|
|
|
1366
1410
|
#
|
|
1367
1411
|
# @return [Types::ListCrlsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1368
1412
|
#
|
|
1369
|
-
# * {Types::ListCrlsResponse#crls #crls} => Array<Types::CrlDetail>
|
|
1370
1413
|
# * {Types::ListCrlsResponse#next_token #next_token} => String
|
|
1414
|
+
# * {Types::ListCrlsResponse#crls #crls} => Array<Types::CrlDetail>
|
|
1371
1415
|
#
|
|
1372
1416
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1373
1417
|
#
|
|
@@ -1380,16 +1424,16 @@ module Aws::RolesAnywhere
|
|
|
1380
1424
|
#
|
|
1381
1425
|
# @example Response structure
|
|
1382
1426
|
#
|
|
1427
|
+
# resp.next_token #=> String
|
|
1383
1428
|
# resp.crls #=> Array
|
|
1384
|
-
# resp.crls[0].created_at #=> Time
|
|
1385
|
-
# resp.crls[0].crl_arn #=> String
|
|
1386
|
-
# resp.crls[0].crl_data #=> String
|
|
1387
1429
|
# resp.crls[0].crl_id #=> String
|
|
1388
|
-
# resp.crls[0].
|
|
1430
|
+
# resp.crls[0].crl_arn #=> String
|
|
1389
1431
|
# resp.crls[0].name #=> String
|
|
1432
|
+
# resp.crls[0].enabled #=> Boolean
|
|
1433
|
+
# resp.crls[0].crl_data #=> String
|
|
1390
1434
|
# resp.crls[0].trust_anchor_arn #=> String
|
|
1435
|
+
# resp.crls[0].created_at #=> Time
|
|
1391
1436
|
# resp.crls[0].updated_at #=> Time
|
|
1392
|
-
# resp.next_token #=> String
|
|
1393
1437
|
#
|
|
1394
1438
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ListCrls AWS API Documentation
|
|
1395
1439
|
#
|
|
@@ -1431,25 +1475,25 @@ module Aws::RolesAnywhere
|
|
|
1431
1475
|
#
|
|
1432
1476
|
# resp.next_token #=> String
|
|
1433
1477
|
# resp.profiles #=> Array
|
|
1434
|
-
# resp.profiles[0].accept_role_session_name #=> Boolean
|
|
1435
|
-
# resp.profiles[0].attribute_mappings #=> Array
|
|
1436
|
-
# resp.profiles[0].attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
|
|
1437
|
-
# resp.profiles[0].attribute_mappings[0].mapping_rules #=> Array
|
|
1438
|
-
# resp.profiles[0].attribute_mappings[0].mapping_rules[0].specifier #=> String
|
|
1439
|
-
# resp.profiles[0].created_at #=> Time
|
|
1440
|
-
# resp.profiles[0].created_by #=> String
|
|
1441
|
-
# resp.profiles[0].duration_seconds #=> Integer
|
|
1442
|
-
# resp.profiles[0].enabled #=> Boolean
|
|
1443
|
-
# resp.profiles[0].managed_policy_arns #=> Array
|
|
1444
|
-
# resp.profiles[0].managed_policy_arns[0] #=> String
|
|
1445
|
-
# resp.profiles[0].name #=> String
|
|
1446
|
-
# resp.profiles[0].profile_arn #=> String
|
|
1447
1478
|
# resp.profiles[0].profile_id #=> String
|
|
1479
|
+
# resp.profiles[0].profile_arn #=> String
|
|
1480
|
+
# resp.profiles[0].name #=> String
|
|
1448
1481
|
# resp.profiles[0].require_instance_properties #=> Boolean
|
|
1482
|
+
# resp.profiles[0].enabled #=> Boolean
|
|
1483
|
+
# resp.profiles[0].created_by #=> String
|
|
1484
|
+
# resp.profiles[0].session_policy #=> String
|
|
1449
1485
|
# resp.profiles[0].role_arns #=> Array
|
|
1450
1486
|
# resp.profiles[0].role_arns[0] #=> String
|
|
1451
|
-
# resp.profiles[0].
|
|
1487
|
+
# resp.profiles[0].managed_policy_arns #=> Array
|
|
1488
|
+
# resp.profiles[0].managed_policy_arns[0] #=> String
|
|
1489
|
+
# resp.profiles[0].created_at #=> Time
|
|
1452
1490
|
# resp.profiles[0].updated_at #=> Time
|
|
1491
|
+
# resp.profiles[0].duration_seconds #=> Integer
|
|
1492
|
+
# resp.profiles[0].accept_role_session_name #=> Boolean
|
|
1493
|
+
# resp.profiles[0].attribute_mappings #=> Array
|
|
1494
|
+
# resp.profiles[0].attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
|
|
1495
|
+
# resp.profiles[0].attribute_mappings[0].mapping_rules #=> Array
|
|
1496
|
+
# resp.profiles[0].attribute_mappings[0].mapping_rules[0].specifier #=> String
|
|
1453
1497
|
#
|
|
1454
1498
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ListProfiles AWS API Documentation
|
|
1455
1499
|
#
|
|
@@ -1475,8 +1519,8 @@ module Aws::RolesAnywhere
|
|
|
1475
1519
|
#
|
|
1476
1520
|
# @return [Types::ListSubjectsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1477
1521
|
#
|
|
1478
|
-
# * {Types::ListSubjectsResponse#next_token #next_token} => String
|
|
1479
1522
|
# * {Types::ListSubjectsResponse#subjects #subjects} => Array<Types::SubjectSummary>
|
|
1523
|
+
# * {Types::ListSubjectsResponse#next_token #next_token} => String
|
|
1480
1524
|
#
|
|
1481
1525
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1482
1526
|
#
|
|
@@ -1489,15 +1533,15 @@ module Aws::RolesAnywhere
|
|
|
1489
1533
|
#
|
|
1490
1534
|
# @example Response structure
|
|
1491
1535
|
#
|
|
1492
|
-
# resp.next_token #=> String
|
|
1493
1536
|
# resp.subjects #=> Array
|
|
1494
|
-
# resp.subjects[0].created_at #=> Time
|
|
1495
|
-
# resp.subjects[0].enabled #=> Boolean
|
|
1496
|
-
# resp.subjects[0].last_seen_at #=> Time
|
|
1497
1537
|
# resp.subjects[0].subject_arn #=> String
|
|
1498
1538
|
# resp.subjects[0].subject_id #=> String
|
|
1499
|
-
# resp.subjects[0].
|
|
1539
|
+
# resp.subjects[0].enabled #=> Boolean
|
|
1500
1540
|
# resp.subjects[0].x509_subject #=> String
|
|
1541
|
+
# resp.subjects[0].last_seen_at #=> Time
|
|
1542
|
+
# resp.subjects[0].created_at #=> Time
|
|
1543
|
+
# resp.subjects[0].updated_at #=> Time
|
|
1544
|
+
# resp.next_token #=> String
|
|
1501
1545
|
#
|
|
1502
1546
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ListSubjects AWS API Documentation
|
|
1503
1547
|
#
|
|
@@ -1571,21 +1615,21 @@ module Aws::RolesAnywhere
|
|
|
1571
1615
|
#
|
|
1572
1616
|
# resp.next_token #=> String
|
|
1573
1617
|
# resp.trust_anchors #=> Array
|
|
1574
|
-
# resp.trust_anchors[0].
|
|
1575
|
-
# resp.trust_anchors[0].
|
|
1618
|
+
# resp.trust_anchors[0].trust_anchor_id #=> String
|
|
1619
|
+
# resp.trust_anchors[0].trust_anchor_arn #=> String
|
|
1576
1620
|
# resp.trust_anchors[0].name #=> String
|
|
1621
|
+
# resp.trust_anchors[0].source.source_type #=> String, one of "AWS_ACM_PCA", "CERTIFICATE_BUNDLE", "SELF_SIGNED_REPOSITORY"
|
|
1622
|
+
# resp.trust_anchors[0].source.source_data.x509_certificate_data #=> String
|
|
1623
|
+
# resp.trust_anchors[0].source.source_data.acm_pca_arn #=> String
|
|
1624
|
+
# resp.trust_anchors[0].enabled #=> Boolean
|
|
1625
|
+
# resp.trust_anchors[0].created_at #=> Time
|
|
1626
|
+
# resp.trust_anchors[0].updated_at #=> Time
|
|
1577
1627
|
# resp.trust_anchors[0].notification_settings #=> Array
|
|
1578
|
-
# resp.trust_anchors[0].notification_settings[0].channel #=> String, one of "ALL"
|
|
1579
|
-
# resp.trust_anchors[0].notification_settings[0].configured_by #=> String
|
|
1580
1628
|
# resp.trust_anchors[0].notification_settings[0].enabled #=> Boolean
|
|
1581
1629
|
# resp.trust_anchors[0].notification_settings[0].event #=> String, one of "CA_CERTIFICATE_EXPIRY", "END_ENTITY_CERTIFICATE_EXPIRY"
|
|
1582
1630
|
# resp.trust_anchors[0].notification_settings[0].threshold #=> Integer
|
|
1583
|
-
# resp.trust_anchors[0].
|
|
1584
|
-
# resp.trust_anchors[0].
|
|
1585
|
-
# resp.trust_anchors[0].source.source_type #=> String, one of "AWS_ACM_PCA", "CERTIFICATE_BUNDLE", "SELF_SIGNED_REPOSITORY"
|
|
1586
|
-
# resp.trust_anchors[0].trust_anchor_arn #=> String
|
|
1587
|
-
# resp.trust_anchors[0].trust_anchor_id #=> String
|
|
1588
|
-
# resp.trust_anchors[0].updated_at #=> Time
|
|
1631
|
+
# resp.trust_anchors[0].notification_settings[0].channel #=> String, one of "ALL"
|
|
1632
|
+
# resp.trust_anchors[0].notification_settings[0].configured_by #=> String
|
|
1589
1633
|
#
|
|
1590
1634
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ListTrustAnchors AWS API Documentation
|
|
1591
1635
|
#
|
|
@@ -1600,6 +1644,9 @@ module Aws::RolesAnywhere
|
|
|
1600
1644
|
# given profile. A mapping specifies a certificate field and one or more
|
|
1601
1645
|
# specifiers that have contextual meanings.
|
|
1602
1646
|
#
|
|
1647
|
+
# @option params [required, String] :profile_id
|
|
1648
|
+
# The unique identifier of the profile.
|
|
1649
|
+
#
|
|
1603
1650
|
# @option params [required, String] :certificate_field
|
|
1604
1651
|
# Fields (x509Subject, x509Issuer and x509SAN) within X.509
|
|
1605
1652
|
# certificates.
|
|
@@ -1607,46 +1654,88 @@ module Aws::RolesAnywhere
|
|
|
1607
1654
|
# @option params [required, Array<Types::MappingRule>] :mapping_rules
|
|
1608
1655
|
# A list of mapping entries for every supported specifier or sub-field.
|
|
1609
1656
|
#
|
|
1610
|
-
# @option params [required, String] :profile_id
|
|
1611
|
-
# The unique identifier of the profile.
|
|
1612
|
-
#
|
|
1613
1657
|
# @return [Types::PutAttributeMappingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1614
1658
|
#
|
|
1615
1659
|
# * {Types::PutAttributeMappingResponse#profile #profile} => Types::ProfileDetail
|
|
1616
1660
|
#
|
|
1661
|
+
#
|
|
1662
|
+
# @example Example: PutAttributeMapping - Adds a custom attribute mapping rule
|
|
1663
|
+
#
|
|
1664
|
+
# resp = client.put_attribute_mapping({
|
|
1665
|
+
# certificate_field: "x509Subject",
|
|
1666
|
+
# mapping_rules: [
|
|
1667
|
+
# {
|
|
1668
|
+
# specifier: "CN",
|
|
1669
|
+
# },
|
|
1670
|
+
# ],
|
|
1671
|
+
# profile_id: "00000000-0000-0000-0000-000000000000",
|
|
1672
|
+
# })
|
|
1673
|
+
#
|
|
1674
|
+
# resp.to_h outputs the following:
|
|
1675
|
+
# {
|
|
1676
|
+
# profile: {
|
|
1677
|
+
# name: "Dummy Profile",
|
|
1678
|
+
# accept_role_session_name: false,
|
|
1679
|
+
# attribute_mappings: [
|
|
1680
|
+
# {
|
|
1681
|
+
# certificate_field: "x509Subject",
|
|
1682
|
+
# mapping_rules: [
|
|
1683
|
+
# {
|
|
1684
|
+
# specifier: "CN",
|
|
1685
|
+
# },
|
|
1686
|
+
# ],
|
|
1687
|
+
# },
|
|
1688
|
+
# ],
|
|
1689
|
+
# created_at: Time.parse("2021-07-19T15:55:25.986591Z"),
|
|
1690
|
+
# created_by: "arn:aws:sts::123456789012:assumed-role/Admin/DummyRole",
|
|
1691
|
+
# duration_seconds: 3600,
|
|
1692
|
+
# enabled: true,
|
|
1693
|
+
# managed_policy_arns: [
|
|
1694
|
+
# ],
|
|
1695
|
+
# profile_arn: "arn:aws:rolesanywhere:us-east-1:123456789012:profile/00000000-0000-0000-0000-000000000000",
|
|
1696
|
+
# profile_id: "00000000-0000-0000-0000-000000000000",
|
|
1697
|
+
# require_instance_properties: false,
|
|
1698
|
+
# role_arns: [
|
|
1699
|
+
# "arn:aws:iam::123456789012:role/DummyRole",
|
|
1700
|
+
# ],
|
|
1701
|
+
# session_policy: "",
|
|
1702
|
+
# updated_at: Time.parse("2021-07-19T15:55:25.986591Z"),
|
|
1703
|
+
# },
|
|
1704
|
+
# }
|
|
1705
|
+
#
|
|
1617
1706
|
# @example Request syntax with placeholder values
|
|
1618
1707
|
#
|
|
1619
1708
|
# resp = client.put_attribute_mapping({
|
|
1709
|
+
# profile_id: "Uuid", # required
|
|
1620
1710
|
# certificate_field: "x509Subject", # required, accepts x509Subject, x509Issuer, x509SAN
|
|
1621
1711
|
# mapping_rules: [ # required
|
|
1622
1712
|
# {
|
|
1623
1713
|
# specifier: "MappingRuleSpecifierString", # required
|
|
1624
1714
|
# },
|
|
1625
1715
|
# ],
|
|
1626
|
-
# profile_id: "Uuid", # required
|
|
1627
1716
|
# })
|
|
1628
1717
|
#
|
|
1629
1718
|
# @example Response structure
|
|
1630
1719
|
#
|
|
1631
|
-
# resp.profile.accept_role_session_name #=> Boolean
|
|
1632
|
-
# resp.profile.attribute_mappings #=> Array
|
|
1633
|
-
# resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
|
|
1634
|
-
# resp.profile.attribute_mappings[0].mapping_rules #=> Array
|
|
1635
|
-
# resp.profile.attribute_mappings[0].mapping_rules[0].specifier #=> String
|
|
1636
|
-
# resp.profile.created_at #=> Time
|
|
1637
|
-
# resp.profile.created_by #=> String
|
|
1638
|
-
# resp.profile.duration_seconds #=> Integer
|
|
1639
|
-
# resp.profile.enabled #=> Boolean
|
|
1640
|
-
# resp.profile.managed_policy_arns #=> Array
|
|
1641
|
-
# resp.profile.managed_policy_arns[0] #=> String
|
|
1642
|
-
# resp.profile.name #=> String
|
|
1643
|
-
# resp.profile.profile_arn #=> String
|
|
1644
1720
|
# resp.profile.profile_id #=> String
|
|
1721
|
+
# resp.profile.profile_arn #=> String
|
|
1722
|
+
# resp.profile.name #=> String
|
|
1645
1723
|
# resp.profile.require_instance_properties #=> Boolean
|
|
1724
|
+
# resp.profile.enabled #=> Boolean
|
|
1725
|
+
# resp.profile.created_by #=> String
|
|
1726
|
+
# resp.profile.session_policy #=> String
|
|
1646
1727
|
# resp.profile.role_arns #=> Array
|
|
1647
1728
|
# resp.profile.role_arns[0] #=> String
|
|
1648
|
-
# resp.profile.
|
|
1729
|
+
# resp.profile.managed_policy_arns #=> Array
|
|
1730
|
+
# resp.profile.managed_policy_arns[0] #=> String
|
|
1731
|
+
# resp.profile.created_at #=> Time
|
|
1649
1732
|
# resp.profile.updated_at #=> Time
|
|
1733
|
+
# resp.profile.duration_seconds #=> Integer
|
|
1734
|
+
# resp.profile.accept_role_session_name #=> Boolean
|
|
1735
|
+
# resp.profile.attribute_mappings #=> Array
|
|
1736
|
+
# resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
|
|
1737
|
+
# resp.profile.attribute_mappings[0].mapping_rules #=> Array
|
|
1738
|
+
# resp.profile.attribute_mappings[0].mapping_rules[0].specifier #=> String
|
|
1650
1739
|
#
|
|
1651
1740
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/PutAttributeMapping AWS API Documentation
|
|
1652
1741
|
#
|
|
@@ -1665,47 +1754,95 @@ module Aws::RolesAnywhere
|
|
|
1665
1754
|
#
|
|
1666
1755
|
# <b>Required permissions: </b> `rolesanywhere:PutNotificationSettings`.
|
|
1667
1756
|
#
|
|
1668
|
-
# @option params [required, Array<Types::NotificationSetting>] :notification_settings
|
|
1669
|
-
# A list of notification settings to be associated to the trust anchor.
|
|
1670
|
-
#
|
|
1671
1757
|
# @option params [required, String] :trust_anchor_id
|
|
1672
1758
|
# The unique identifier of the trust anchor.
|
|
1673
1759
|
#
|
|
1760
|
+
# @option params [required, Array<Types::NotificationSetting>] :notification_settings
|
|
1761
|
+
# A list of notification settings to be associated to the trust anchor.
|
|
1762
|
+
#
|
|
1674
1763
|
# @return [Types::PutNotificationSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1675
1764
|
#
|
|
1676
1765
|
# * {Types::PutNotificationSettingsResponse#trust_anchor #trust_anchor} => Types::TrustAnchorDetail
|
|
1677
1766
|
#
|
|
1767
|
+
#
|
|
1768
|
+
# @example Example: PutNotificationSettings - Adds custom notification settings
|
|
1769
|
+
#
|
|
1770
|
+
# resp = client.put_notification_settings({
|
|
1771
|
+
# notification_settings: [
|
|
1772
|
+
# {
|
|
1773
|
+
# enabled: true,
|
|
1774
|
+
# event: "END_ENTITY_CERTIFICATE_EXPIRY",
|
|
1775
|
+
# threshold: 10,
|
|
1776
|
+
# },
|
|
1777
|
+
# ],
|
|
1778
|
+
# trust_anchor_id: "c2505e61-2fc1-4a18-9fcf-94e18a22928b",
|
|
1779
|
+
# })
|
|
1780
|
+
#
|
|
1781
|
+
# resp.to_h outputs the following:
|
|
1782
|
+
# {
|
|
1783
|
+
# trust_anchor: {
|
|
1784
|
+
# name: "PutNotificationSettings - TA with PCA - example",
|
|
1785
|
+
# created_at: Time.parse("2021-07-19T15:55:25.986591Z"),
|
|
1786
|
+
# enabled: true,
|
|
1787
|
+
# notification_settings: [
|
|
1788
|
+
# {
|
|
1789
|
+
# channel: "ALL",
|
|
1790
|
+
# configured_by: "rolesanywhere.amazonaws.com",
|
|
1791
|
+
# enabled: true,
|
|
1792
|
+
# event: "CA_CERTIFICATE_EXPIRY",
|
|
1793
|
+
# threshold: 45,
|
|
1794
|
+
# },
|
|
1795
|
+
# {
|
|
1796
|
+
# channel: "ALL",
|
|
1797
|
+
# configured_by: "123456789012",
|
|
1798
|
+
# enabled: true,
|
|
1799
|
+
# event: "END_ENTITY_CERTIFICATE_EXPIRY",
|
|
1800
|
+
# threshold: 10,
|
|
1801
|
+
# },
|
|
1802
|
+
# ],
|
|
1803
|
+
# source: {
|
|
1804
|
+
# source_data: {
|
|
1805
|
+
# acm_pca_arn: "arn:aws:acm-pca:us-west-2:123456789012:certificate-authority/123abc00-1233-12b3-1a33-54cb9c1ce2f3",
|
|
1806
|
+
# },
|
|
1807
|
+
# source_type: "AWS_ACM_PCA",
|
|
1808
|
+
# },
|
|
1809
|
+
# trust_anchor_arn: "arn:aws:rolesanywhere:us-west-2:123456789012:trust-anchor/c2505e61-2fc1-4a18-9fcf-94e18a22928b",
|
|
1810
|
+
# trust_anchor_id: "c2505e61-2fc1-4a18-9fcf-94e18a22928b",
|
|
1811
|
+
# updated_at: Time.parse("2021-07-19T15:55:25.986591Z"),
|
|
1812
|
+
# },
|
|
1813
|
+
# }
|
|
1814
|
+
#
|
|
1678
1815
|
# @example Request syntax with placeholder values
|
|
1679
1816
|
#
|
|
1680
1817
|
# resp = client.put_notification_settings({
|
|
1818
|
+
# trust_anchor_id: "Uuid", # required
|
|
1681
1819
|
# notification_settings: [ # required
|
|
1682
1820
|
# {
|
|
1683
|
-
# channel: "ALL", # accepts ALL
|
|
1684
1821
|
# enabled: false, # required
|
|
1685
1822
|
# event: "CA_CERTIFICATE_EXPIRY", # required, accepts CA_CERTIFICATE_EXPIRY, END_ENTITY_CERTIFICATE_EXPIRY
|
|
1686
1823
|
# threshold: 1,
|
|
1824
|
+
# channel: "ALL", # accepts ALL
|
|
1687
1825
|
# },
|
|
1688
1826
|
# ],
|
|
1689
|
-
# trust_anchor_id: "Uuid", # required
|
|
1690
1827
|
# })
|
|
1691
1828
|
#
|
|
1692
1829
|
# @example Response structure
|
|
1693
1830
|
#
|
|
1694
|
-
# resp.trust_anchor.
|
|
1695
|
-
# resp.trust_anchor.
|
|
1831
|
+
# resp.trust_anchor.trust_anchor_id #=> String
|
|
1832
|
+
# resp.trust_anchor.trust_anchor_arn #=> String
|
|
1696
1833
|
# resp.trust_anchor.name #=> String
|
|
1834
|
+
# resp.trust_anchor.source.source_type #=> String, one of "AWS_ACM_PCA", "CERTIFICATE_BUNDLE", "SELF_SIGNED_REPOSITORY"
|
|
1835
|
+
# resp.trust_anchor.source.source_data.x509_certificate_data #=> String
|
|
1836
|
+
# resp.trust_anchor.source.source_data.acm_pca_arn #=> String
|
|
1837
|
+
# resp.trust_anchor.enabled #=> Boolean
|
|
1838
|
+
# resp.trust_anchor.created_at #=> Time
|
|
1839
|
+
# resp.trust_anchor.updated_at #=> Time
|
|
1697
1840
|
# resp.trust_anchor.notification_settings #=> Array
|
|
1698
|
-
# resp.trust_anchor.notification_settings[0].channel #=> String, one of "ALL"
|
|
1699
|
-
# resp.trust_anchor.notification_settings[0].configured_by #=> String
|
|
1700
1841
|
# resp.trust_anchor.notification_settings[0].enabled #=> Boolean
|
|
1701
1842
|
# resp.trust_anchor.notification_settings[0].event #=> String, one of "CA_CERTIFICATE_EXPIRY", "END_ENTITY_CERTIFICATE_EXPIRY"
|
|
1702
1843
|
# resp.trust_anchor.notification_settings[0].threshold #=> Integer
|
|
1703
|
-
# resp.trust_anchor.
|
|
1704
|
-
# resp.trust_anchor.
|
|
1705
|
-
# resp.trust_anchor.source.source_type #=> String, one of "AWS_ACM_PCA", "CERTIFICATE_BUNDLE", "SELF_SIGNED_REPOSITORY"
|
|
1706
|
-
# resp.trust_anchor.trust_anchor_arn #=> String
|
|
1707
|
-
# resp.trust_anchor.trust_anchor_id #=> String
|
|
1708
|
-
# resp.trust_anchor.updated_at #=> Time
|
|
1844
|
+
# resp.trust_anchor.notification_settings[0].channel #=> String, one of "ALL"
|
|
1845
|
+
# resp.trust_anchor.notification_settings[0].configured_by #=> String
|
|
1709
1846
|
#
|
|
1710
1847
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/PutNotificationSettings AWS API Documentation
|
|
1711
1848
|
#
|
|
@@ -1722,46 +1859,92 @@ module Aws::RolesAnywhere
|
|
|
1722
1859
|
# <b>Required permissions: </b>
|
|
1723
1860
|
# `rolesanywhere:ResetNotificationSettings`.
|
|
1724
1861
|
#
|
|
1862
|
+
# @option params [required, String] :trust_anchor_id
|
|
1863
|
+
# The unique identifier of the trust anchor.
|
|
1864
|
+
#
|
|
1725
1865
|
# @option params [required, Array<Types::NotificationSettingKey>] :notification_setting_keys
|
|
1726
1866
|
# A list of notification setting keys to reset. A notification setting
|
|
1727
1867
|
# key includes the event and the channel.
|
|
1728
1868
|
#
|
|
1729
|
-
# @option params [required, String] :trust_anchor_id
|
|
1730
|
-
# The unique identifier of the trust anchor.
|
|
1731
|
-
#
|
|
1732
1869
|
# @return [Types::ResetNotificationSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1733
1870
|
#
|
|
1734
1871
|
# * {Types::ResetNotificationSettingsResponse#trust_anchor #trust_anchor} => Types::TrustAnchorDetail
|
|
1735
1872
|
#
|
|
1873
|
+
#
|
|
1874
|
+
# @example Example: ResetNotificationSettings - Resets to IAM Roles Anywhere defined default notification settings
|
|
1875
|
+
#
|
|
1876
|
+
# resp = client.reset_notification_settings({
|
|
1877
|
+
# notification_setting_keys: [
|
|
1878
|
+
# {
|
|
1879
|
+
# event: "END_ENTITY_CERTIFICATE_EXPIRY",
|
|
1880
|
+
# },
|
|
1881
|
+
# ],
|
|
1882
|
+
# trust_anchor_id: "c2505e61-2fc1-4a18-9fcf-94e18a22928b",
|
|
1883
|
+
# })
|
|
1884
|
+
#
|
|
1885
|
+
# resp.to_h outputs the following:
|
|
1886
|
+
# {
|
|
1887
|
+
# trust_anchor: {
|
|
1888
|
+
# name: "ResetNotificationSettings - TA with PCA - example",
|
|
1889
|
+
# created_at: Time.parse("2021-07-19T15:55:25.986591Z"),
|
|
1890
|
+
# enabled: true,
|
|
1891
|
+
# notification_settings: [
|
|
1892
|
+
# {
|
|
1893
|
+
# channel: "ALL",
|
|
1894
|
+
# configured_by: "rolesanywhere.amazonaws.com",
|
|
1895
|
+
# enabled: true,
|
|
1896
|
+
# event: "CA_CERTIFICATE_EXPIRY",
|
|
1897
|
+
# threshold: 45,
|
|
1898
|
+
# },
|
|
1899
|
+
# {
|
|
1900
|
+
# channel: "ALL",
|
|
1901
|
+
# configured_by: "123456789012",
|
|
1902
|
+
# enabled: true,
|
|
1903
|
+
# event: "END_ENTITY_CERTIFICATE_EXPIRY",
|
|
1904
|
+
# threshold: 45,
|
|
1905
|
+
# },
|
|
1906
|
+
# ],
|
|
1907
|
+
# source: {
|
|
1908
|
+
# source_data: {
|
|
1909
|
+
# acm_pca_arn: "arn:aws:acm-pca:us-west-2:123456789012:certificate-authority/123abc00-1233-12b3-1a33-54cb9c1ce2f3",
|
|
1910
|
+
# },
|
|
1911
|
+
# source_type: "AWS_ACM_PCA",
|
|
1912
|
+
# },
|
|
1913
|
+
# trust_anchor_arn: "arn:aws:rolesanywhere:us-west-2:123456789012:trust-anchor/c2505e61-2fc1-4a18-9fcf-94e18a22928b",
|
|
1914
|
+
# trust_anchor_id: "c2505e61-2fc1-4a18-9fcf-94e18a22928b",
|
|
1915
|
+
# updated_at: Time.parse("2021-07-19T15:55:25.986591Z"),
|
|
1916
|
+
# },
|
|
1917
|
+
# }
|
|
1918
|
+
#
|
|
1736
1919
|
# @example Request syntax with placeholder values
|
|
1737
1920
|
#
|
|
1738
1921
|
# resp = client.reset_notification_settings({
|
|
1922
|
+
# trust_anchor_id: "Uuid", # required
|
|
1739
1923
|
# notification_setting_keys: [ # required
|
|
1740
1924
|
# {
|
|
1741
|
-
# channel: "ALL", # accepts ALL
|
|
1742
1925
|
# event: "CA_CERTIFICATE_EXPIRY", # required, accepts CA_CERTIFICATE_EXPIRY, END_ENTITY_CERTIFICATE_EXPIRY
|
|
1926
|
+
# channel: "ALL", # accepts ALL
|
|
1743
1927
|
# },
|
|
1744
1928
|
# ],
|
|
1745
|
-
# trust_anchor_id: "Uuid", # required
|
|
1746
1929
|
# })
|
|
1747
1930
|
#
|
|
1748
1931
|
# @example Response structure
|
|
1749
1932
|
#
|
|
1750
|
-
# resp.trust_anchor.
|
|
1751
|
-
# resp.trust_anchor.
|
|
1933
|
+
# resp.trust_anchor.trust_anchor_id #=> String
|
|
1934
|
+
# resp.trust_anchor.trust_anchor_arn #=> String
|
|
1752
1935
|
# resp.trust_anchor.name #=> String
|
|
1936
|
+
# resp.trust_anchor.source.source_type #=> String, one of "AWS_ACM_PCA", "CERTIFICATE_BUNDLE", "SELF_SIGNED_REPOSITORY"
|
|
1937
|
+
# resp.trust_anchor.source.source_data.x509_certificate_data #=> String
|
|
1938
|
+
# resp.trust_anchor.source.source_data.acm_pca_arn #=> String
|
|
1939
|
+
# resp.trust_anchor.enabled #=> Boolean
|
|
1940
|
+
# resp.trust_anchor.created_at #=> Time
|
|
1941
|
+
# resp.trust_anchor.updated_at #=> Time
|
|
1753
1942
|
# resp.trust_anchor.notification_settings #=> Array
|
|
1754
|
-
# resp.trust_anchor.notification_settings[0].channel #=> String, one of "ALL"
|
|
1755
|
-
# resp.trust_anchor.notification_settings[0].configured_by #=> String
|
|
1756
1943
|
# resp.trust_anchor.notification_settings[0].enabled #=> Boolean
|
|
1757
1944
|
# resp.trust_anchor.notification_settings[0].event #=> String, one of "CA_CERTIFICATE_EXPIRY", "END_ENTITY_CERTIFICATE_EXPIRY"
|
|
1758
1945
|
# resp.trust_anchor.notification_settings[0].threshold #=> Integer
|
|
1759
|
-
# resp.trust_anchor.
|
|
1760
|
-
# resp.trust_anchor.
|
|
1761
|
-
# resp.trust_anchor.source.source_type #=> String, one of "AWS_ACM_PCA", "CERTIFICATE_BUNDLE", "SELF_SIGNED_REPOSITORY"
|
|
1762
|
-
# resp.trust_anchor.trust_anchor_arn #=> String
|
|
1763
|
-
# resp.trust_anchor.trust_anchor_id #=> String
|
|
1764
|
-
# resp.trust_anchor.updated_at #=> Time
|
|
1946
|
+
# resp.trust_anchor.notification_settings[0].channel #=> String, one of "ALL"
|
|
1947
|
+
# resp.trust_anchor.notification_settings[0].configured_by #=> String
|
|
1765
1948
|
#
|
|
1766
1949
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ResetNotificationSettings AWS API Documentation
|
|
1767
1950
|
#
|
|
@@ -1840,15 +2023,15 @@ module Aws::RolesAnywhere
|
|
|
1840
2023
|
#
|
|
1841
2024
|
# <b>Required permissions: </b> `rolesanywhere:UpdateCrl`.
|
|
1842
2025
|
#
|
|
1843
|
-
# @option params [String, StringIO, File] :crl_data
|
|
1844
|
-
# The x509 v3 specified certificate revocation list (CRL).
|
|
1845
|
-
#
|
|
1846
2026
|
# @option params [required, String] :crl_id
|
|
1847
2027
|
# The unique identifier of the certificate revocation list (CRL).
|
|
1848
2028
|
#
|
|
1849
2029
|
# @option params [String] :name
|
|
1850
2030
|
# The name of the Crl.
|
|
1851
2031
|
#
|
|
2032
|
+
# @option params [String, StringIO, File] :crl_data
|
|
2033
|
+
# The x509 v3 specified certificate revocation list (CRL).
|
|
2034
|
+
#
|
|
1852
2035
|
# @return [Types::CrlDetailResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1853
2036
|
#
|
|
1854
2037
|
# * {Types::CrlDetailResponse#crl #crl} => Types::CrlDetail
|
|
@@ -1856,20 +2039,20 @@ module Aws::RolesAnywhere
|
|
|
1856
2039
|
# @example Request syntax with placeholder values
|
|
1857
2040
|
#
|
|
1858
2041
|
# resp = client.update_crl({
|
|
1859
|
-
# crl_data: "data",
|
|
1860
2042
|
# crl_id: "Uuid", # required
|
|
1861
2043
|
# name: "ResourceName",
|
|
2044
|
+
# crl_data: "data",
|
|
1862
2045
|
# })
|
|
1863
2046
|
#
|
|
1864
2047
|
# @example Response structure
|
|
1865
2048
|
#
|
|
1866
|
-
# resp.crl.created_at #=> Time
|
|
1867
|
-
# resp.crl.crl_arn #=> String
|
|
1868
|
-
# resp.crl.crl_data #=> String
|
|
1869
2049
|
# resp.crl.crl_id #=> String
|
|
1870
|
-
# resp.crl.
|
|
2050
|
+
# resp.crl.crl_arn #=> String
|
|
1871
2051
|
# resp.crl.name #=> String
|
|
2052
|
+
# resp.crl.enabled #=> Boolean
|
|
2053
|
+
# resp.crl.crl_data #=> String
|
|
1872
2054
|
# resp.crl.trust_anchor_arn #=> String
|
|
2055
|
+
# resp.crl.created_at #=> Time
|
|
1873
2056
|
# resp.crl.updated_at #=> Time
|
|
1874
2057
|
#
|
|
1875
2058
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/UpdateCrl AWS API Documentation
|
|
@@ -1887,37 +2070,37 @@ module Aws::RolesAnywhere
|
|
|
1887
2070
|
#
|
|
1888
2071
|
# <b>Required permissions: </b> `rolesanywhere:UpdateProfile`.
|
|
1889
2072
|
#
|
|
1890
|
-
# @option params [
|
|
1891
|
-
#
|
|
1892
|
-
# temporary credential request.
|
|
1893
|
-
#
|
|
1894
|
-
# @option params [Integer] :duration_seconds
|
|
1895
|
-
# Used to determine how long sessions vended using this profile are
|
|
1896
|
-
# valid for. See the `Expiration` section of the [CreateSession API
|
|
1897
|
-
# documentation][1] page for more details. In requests, if this value is
|
|
1898
|
-
# not provided, the default value will be 3600.
|
|
2073
|
+
# @option params [required, String] :profile_id
|
|
2074
|
+
# The unique identifier of the profile.
|
|
1899
2075
|
#
|
|
2076
|
+
# @option params [String] :name
|
|
2077
|
+
# The name of the profile.
|
|
1900
2078
|
#
|
|
2079
|
+
# @option params [String] :session_policy
|
|
2080
|
+
# A session policy that applies to the trust boundary of the vended
|
|
2081
|
+
# session credentials.
|
|
1901
2082
|
#
|
|
1902
|
-
#
|
|
2083
|
+
# @option params [Array<String>] :role_arns
|
|
2084
|
+
# A list of IAM roles that this profile can assume in a temporary
|
|
2085
|
+
# credential request.
|
|
1903
2086
|
#
|
|
1904
2087
|
# @option params [Array<String>] :managed_policy_arns
|
|
1905
2088
|
# A list of managed policy ARNs that apply to the vended session
|
|
1906
2089
|
# credentials.
|
|
1907
2090
|
#
|
|
1908
|
-
# @option params [
|
|
1909
|
-
#
|
|
2091
|
+
# @option params [Integer] :duration_seconds
|
|
2092
|
+
# Used to determine how long sessions vended using this profile are
|
|
2093
|
+
# valid for. See the `Expiration` section of the [CreateSession API
|
|
2094
|
+
# documentation][1] page for more details. In requests, if this value is
|
|
2095
|
+
# not provided, the default value will be 3600.
|
|
1910
2096
|
#
|
|
1911
|
-
# @option params [required, String] :profile_id
|
|
1912
|
-
# The unique identifier of the profile.
|
|
1913
2097
|
#
|
|
1914
|
-
# @option params [Array<String>] :role_arns
|
|
1915
|
-
# A list of IAM roles that this profile can assume in a temporary
|
|
1916
|
-
# credential request.
|
|
1917
2098
|
#
|
|
1918
|
-
#
|
|
1919
|
-
#
|
|
1920
|
-
#
|
|
2099
|
+
# [1]: https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object
|
|
2100
|
+
#
|
|
2101
|
+
# @option params [Boolean] :accept_role_session_name
|
|
2102
|
+
# Used to determine if a custom role session name will be accepted in a
|
|
2103
|
+
# temporary credential request.
|
|
1921
2104
|
#
|
|
1922
2105
|
# @return [Types::ProfileDetailResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1923
2106
|
#
|
|
@@ -1926,36 +2109,36 @@ module Aws::RolesAnywhere
|
|
|
1926
2109
|
# @example Request syntax with placeholder values
|
|
1927
2110
|
#
|
|
1928
2111
|
# resp = client.update_profile({
|
|
1929
|
-
# accept_role_session_name: false,
|
|
1930
|
-
# duration_seconds: 1,
|
|
1931
|
-
# managed_policy_arns: ["ManagedPolicyListMemberString"],
|
|
1932
|
-
# name: "ResourceName",
|
|
1933
2112
|
# profile_id: "Uuid", # required
|
|
1934
|
-
#
|
|
2113
|
+
# name: "ResourceName",
|
|
1935
2114
|
# session_policy: "UpdateProfileRequestSessionPolicyString",
|
|
2115
|
+
# role_arns: ["RoleArn"],
|
|
2116
|
+
# managed_policy_arns: ["ManagedPolicyListMemberString"],
|
|
2117
|
+
# duration_seconds: 1,
|
|
2118
|
+
# accept_role_session_name: false,
|
|
1936
2119
|
# })
|
|
1937
2120
|
#
|
|
1938
2121
|
# @example Response structure
|
|
1939
2122
|
#
|
|
1940
|
-
# resp.profile.accept_role_session_name #=> Boolean
|
|
1941
|
-
# resp.profile.attribute_mappings #=> Array
|
|
1942
|
-
# resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
|
|
1943
|
-
# resp.profile.attribute_mappings[0].mapping_rules #=> Array
|
|
1944
|
-
# resp.profile.attribute_mappings[0].mapping_rules[0].specifier #=> String
|
|
1945
|
-
# resp.profile.created_at #=> Time
|
|
1946
|
-
# resp.profile.created_by #=> String
|
|
1947
|
-
# resp.profile.duration_seconds #=> Integer
|
|
1948
|
-
# resp.profile.enabled #=> Boolean
|
|
1949
|
-
# resp.profile.managed_policy_arns #=> Array
|
|
1950
|
-
# resp.profile.managed_policy_arns[0] #=> String
|
|
1951
|
-
# resp.profile.name #=> String
|
|
1952
|
-
# resp.profile.profile_arn #=> String
|
|
1953
2123
|
# resp.profile.profile_id #=> String
|
|
2124
|
+
# resp.profile.profile_arn #=> String
|
|
2125
|
+
# resp.profile.name #=> String
|
|
1954
2126
|
# resp.profile.require_instance_properties #=> Boolean
|
|
2127
|
+
# resp.profile.enabled #=> Boolean
|
|
2128
|
+
# resp.profile.created_by #=> String
|
|
2129
|
+
# resp.profile.session_policy #=> String
|
|
1955
2130
|
# resp.profile.role_arns #=> Array
|
|
1956
2131
|
# resp.profile.role_arns[0] #=> String
|
|
1957
|
-
# resp.profile.
|
|
2132
|
+
# resp.profile.managed_policy_arns #=> Array
|
|
2133
|
+
# resp.profile.managed_policy_arns[0] #=> String
|
|
2134
|
+
# resp.profile.created_at #=> Time
|
|
1958
2135
|
# resp.profile.updated_at #=> Time
|
|
2136
|
+
# resp.profile.duration_seconds #=> Integer
|
|
2137
|
+
# resp.profile.accept_role_session_name #=> Boolean
|
|
2138
|
+
# resp.profile.attribute_mappings #=> Array
|
|
2139
|
+
# resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
|
|
2140
|
+
# resp.profile.attribute_mappings[0].mapping_rules #=> Array
|
|
2141
|
+
# resp.profile.attribute_mappings[0].mapping_rules[0].specifier #=> String
|
|
1959
2142
|
#
|
|
1960
2143
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/UpdateProfile AWS API Documentation
|
|
1961
2144
|
#
|
|
@@ -1976,15 +2159,15 @@ module Aws::RolesAnywhere
|
|
|
1976
2159
|
#
|
|
1977
2160
|
# <b>Required permissions: </b> `rolesanywhere:UpdateTrustAnchor`.
|
|
1978
2161
|
#
|
|
2162
|
+
# @option params [required, String] :trust_anchor_id
|
|
2163
|
+
# The unique identifier of the trust anchor.
|
|
2164
|
+
#
|
|
1979
2165
|
# @option params [String] :name
|
|
1980
2166
|
# The name of the trust anchor.
|
|
1981
2167
|
#
|
|
1982
2168
|
# @option params [Types::Source] :source
|
|
1983
2169
|
# The trust anchor type and its related certificate data.
|
|
1984
2170
|
#
|
|
1985
|
-
# @option params [required, String] :trust_anchor_id
|
|
1986
|
-
# The unique identifier of the trust anchor.
|
|
1987
|
-
#
|
|
1988
2171
|
# @return [Types::TrustAnchorDetailResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1989
2172
|
#
|
|
1990
2173
|
# * {Types::TrustAnchorDetailResponse#trust_anchor #trust_anchor} => Types::TrustAnchorDetail
|
|
@@ -1992,34 +2175,34 @@ module Aws::RolesAnywhere
|
|
|
1992
2175
|
# @example Request syntax with placeholder values
|
|
1993
2176
|
#
|
|
1994
2177
|
# resp = client.update_trust_anchor({
|
|
2178
|
+
# trust_anchor_id: "Uuid", # required
|
|
1995
2179
|
# name: "ResourceName",
|
|
1996
2180
|
# source: {
|
|
2181
|
+
# source_type: "AWS_ACM_PCA", # accepts AWS_ACM_PCA, CERTIFICATE_BUNDLE, SELF_SIGNED_REPOSITORY
|
|
1997
2182
|
# source_data: {
|
|
1998
|
-
# acm_pca_arn: "String",
|
|
1999
2183
|
# x509_certificate_data: "SourceDataX509CertificateDataString",
|
|
2184
|
+
# acm_pca_arn: "String",
|
|
2000
2185
|
# },
|
|
2001
|
-
# source_type: "AWS_ACM_PCA", # accepts AWS_ACM_PCA, CERTIFICATE_BUNDLE, SELF_SIGNED_REPOSITORY
|
|
2002
2186
|
# },
|
|
2003
|
-
# trust_anchor_id: "Uuid", # required
|
|
2004
2187
|
# })
|
|
2005
2188
|
#
|
|
2006
2189
|
# @example Response structure
|
|
2007
2190
|
#
|
|
2008
|
-
# resp.trust_anchor.
|
|
2009
|
-
# resp.trust_anchor.
|
|
2191
|
+
# resp.trust_anchor.trust_anchor_id #=> String
|
|
2192
|
+
# resp.trust_anchor.trust_anchor_arn #=> String
|
|
2010
2193
|
# resp.trust_anchor.name #=> String
|
|
2194
|
+
# resp.trust_anchor.source.source_type #=> String, one of "AWS_ACM_PCA", "CERTIFICATE_BUNDLE", "SELF_SIGNED_REPOSITORY"
|
|
2195
|
+
# resp.trust_anchor.source.source_data.x509_certificate_data #=> String
|
|
2196
|
+
# resp.trust_anchor.source.source_data.acm_pca_arn #=> String
|
|
2197
|
+
# resp.trust_anchor.enabled #=> Boolean
|
|
2198
|
+
# resp.trust_anchor.created_at #=> Time
|
|
2199
|
+
# resp.trust_anchor.updated_at #=> Time
|
|
2011
2200
|
# resp.trust_anchor.notification_settings #=> Array
|
|
2012
|
-
# resp.trust_anchor.notification_settings[0].channel #=> String, one of "ALL"
|
|
2013
|
-
# resp.trust_anchor.notification_settings[0].configured_by #=> String
|
|
2014
2201
|
# resp.trust_anchor.notification_settings[0].enabled #=> Boolean
|
|
2015
2202
|
# resp.trust_anchor.notification_settings[0].event #=> String, one of "CA_CERTIFICATE_EXPIRY", "END_ENTITY_CERTIFICATE_EXPIRY"
|
|
2016
2203
|
# resp.trust_anchor.notification_settings[0].threshold #=> Integer
|
|
2017
|
-
# resp.trust_anchor.
|
|
2018
|
-
# resp.trust_anchor.
|
|
2019
|
-
# resp.trust_anchor.source.source_type #=> String, one of "AWS_ACM_PCA", "CERTIFICATE_BUNDLE", "SELF_SIGNED_REPOSITORY"
|
|
2020
|
-
# resp.trust_anchor.trust_anchor_arn #=> String
|
|
2021
|
-
# resp.trust_anchor.trust_anchor_id #=> String
|
|
2022
|
-
# resp.trust_anchor.updated_at #=> Time
|
|
2204
|
+
# resp.trust_anchor.notification_settings[0].channel #=> String, one of "ALL"
|
|
2205
|
+
# resp.trust_anchor.notification_settings[0].configured_by #=> String
|
|
2023
2206
|
#
|
|
2024
2207
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/UpdateTrustAnchor AWS API Documentation
|
|
2025
2208
|
#
|
|
@@ -2048,7 +2231,7 @@ module Aws::RolesAnywhere
|
|
|
2048
2231
|
tracer: tracer
|
|
2049
2232
|
)
|
|
2050
2233
|
context[:gem_name] = 'aws-sdk-rolesanywhere'
|
|
2051
|
-
context[:gem_version] = '1.
|
|
2234
|
+
context[:gem_version] = '1.45.0'
|
|
2052
2235
|
Seahorse::Client::Request.new(handlers, context)
|
|
2053
2236
|
end
|
|
2054
2237
|
|