aws-sdk-route53profiles 1.47.0 → 1.48.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-route53profiles/client.rb +207 -92
- data/lib/aws-sdk-route53profiles/client_api.rb +57 -27
- data/lib/aws-sdk-route53profiles/errors.rb +16 -4
- data/lib/aws-sdk-route53profiles/types.rb +202 -133
- data/lib/aws-sdk-route53profiles/waiters.rb +15 -0
- data/lib/aws-sdk-route53profiles.rb +2 -1
- data/sig/client.rbs +28 -14
- data/sig/errors.rbs +1 -1
- data/sig/types.rbs +38 -23
- metadata +6 -5
|
@@ -264,7 +264,8 @@ module Aws::Route53Profiles
|
|
|
264
264
|
# An integer representing the maximum number attempts that will be made for
|
|
265
265
|
# a single request, including the initial attempt. For example,
|
|
266
266
|
# setting this value to 5 will result in a request being retried up to
|
|
267
|
-
# 4 times. Used in `standard` and `adaptive` retry modes.
|
|
267
|
+
# 4 times. Used in `standard` and `adaptive` retry modes. Defaults to 3,
|
|
268
|
+
# except for DynamoDB and DynamoDB Streams, which default to 4.
|
|
268
269
|
#
|
|
269
270
|
# @option options [String] :profile ("default")
|
|
270
271
|
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
|
@@ -327,15 +328,15 @@ module Aws::Route53Profiles
|
|
|
327
328
|
# used by the default backoff function. This option is only used in the
|
|
328
329
|
# `legacy` retry mode.
|
|
329
330
|
#
|
|
330
|
-
# @option options [String] :retry_mode ("
|
|
331
|
+
# @option options [String] :retry_mode ("standard")
|
|
331
332
|
# Specifies which retry algorithm to use. Values are:
|
|
332
333
|
#
|
|
333
|
-
# * `legacy` - The pre-existing retry behavior.
|
|
334
|
-
# value if no retry mode is provided.
|
|
334
|
+
# * `legacy` - The pre-existing retry behavior.
|
|
335
335
|
#
|
|
336
336
|
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
|
337
337
|
# This includes support for retry quotas, which limit the number of
|
|
338
|
-
# unsuccessful retries a client can make.
|
|
338
|
+
# unsuccessful retries a client can make. This is the default value
|
|
339
|
+
# if no retry mode is provided.
|
|
339
340
|
#
|
|
340
341
|
# * `adaptive` - A retry mode that includes all the functionality of
|
|
341
342
|
# `standard` mode along with automatic client side throttling.
|
|
@@ -481,18 +482,39 @@ module Aws::Route53Profiles
|
|
|
481
482
|
|
|
482
483
|
# @!group API Operations
|
|
483
484
|
|
|
484
|
-
# Associates a Route 53 Profiles profile with a VPC. A VPC can have
|
|
485
|
-
#
|
|
486
|
-
#
|
|
487
|
-
# information, see
|
|
488
|
-
# [https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities][1].
|
|
485
|
+
# Associates a Route 53 Profiles profile with a VPC. A VPC can have up
|
|
486
|
+
# to two Profile associations. A Profile can be associated with up to
|
|
487
|
+
# 1,000 VPCs, and you can request a higher quota for the number of VPCs.
|
|
488
|
+
# For more information, see [Quotas on Route 53 Profiles][1].
|
|
489
489
|
#
|
|
490
|
+
# Route 53 VPC Resolver evaluates the Profile associations for a VPC in
|
|
491
|
+
# priority order, starting with the lowest `Priority` value. If the VPC
|
|
492
|
+
# has no other Profile associations, you can omit `Priority`, and the
|
|
493
|
+
# association gets priority 100. When the VPC already has a Profile
|
|
494
|
+
# association, you must specify a `Priority`, and each Profile
|
|
495
|
+
# association for the VPC must have a unique priority. To change the
|
|
496
|
+
# priority of an existing association, use `UpdateProfileAssociation`.
|
|
490
497
|
#
|
|
498
|
+
# The request fails with a `ValidationException` in these cases:
|
|
491
499
|
#
|
|
492
|
-
#
|
|
500
|
+
# * You omit `Priority`, and the VPC already has a Profile association.
|
|
501
|
+
#
|
|
502
|
+
# * Another Profile association for the VPC already uses the priority
|
|
503
|
+
# that you specify.
|
|
504
|
+
#
|
|
505
|
+
# * The priority is outside the range 100–9900.
|
|
506
|
+
#
|
|
507
|
+
# * The Profile is already associated with the VPC, and you specify a
|
|
508
|
+
# different `Name` or `Priority`. To change the priority, use
|
|
509
|
+
# [UpdateProfileAssociation][2].
|
|
510
|
+
#
|
|
511
|
+
# The request fails with a `LimitExceededException` if the VPC already
|
|
512
|
+
# has the maximum number of Profile associations.
|
|
493
513
|
#
|
|
494
|
-
#
|
|
495
|
-
#
|
|
514
|
+
#
|
|
515
|
+
#
|
|
516
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities-route53-profiles
|
|
517
|
+
# [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53profiles_UpdateProfileAssociation.html
|
|
496
518
|
#
|
|
497
519
|
# @option params [required, String] :profile_id
|
|
498
520
|
# ID of the Profile.
|
|
@@ -500,10 +522,23 @@ module Aws::Route53Profiles
|
|
|
500
522
|
# @option params [required, String] :resource_id
|
|
501
523
|
# The ID of the VPC.
|
|
502
524
|
#
|
|
525
|
+
# @option params [required, String] :name
|
|
526
|
+
# A name for the association.
|
|
527
|
+
#
|
|
503
528
|
# @option params [Array<Types::Tag>] :tags
|
|
504
529
|
# A list of the tag keys and values that you want to identify the
|
|
505
530
|
# Profile association.
|
|
506
531
|
#
|
|
532
|
+
# @option params [Integer] :priority
|
|
533
|
+
# The priority of the Profile association. Route 53 VPC Resolver
|
|
534
|
+
# evaluates the Profile associations for a VPC in priority order,
|
|
535
|
+
# starting with the lowest value.
|
|
536
|
+
#
|
|
537
|
+
# When the VPC already has a Profile association, you must specify a
|
|
538
|
+
# priority that no other Profile association for the VPC uses. If you
|
|
539
|
+
# omit the priority for the first association with a VPC, the
|
|
540
|
+
# association gets priority 100.
|
|
541
|
+
#
|
|
507
542
|
# @return [Types::AssociateProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
508
543
|
#
|
|
509
544
|
# * {Types::AssociateProfileResponse#profile_association #profile_association} => Types::ProfileAssociation
|
|
@@ -511,28 +546,30 @@ module Aws::Route53Profiles
|
|
|
511
546
|
# @example Request syntax with placeholder values
|
|
512
547
|
#
|
|
513
548
|
# resp = client.associate_profile({
|
|
514
|
-
# name: "Name", # required
|
|
515
549
|
# profile_id: "ResourceId", # required
|
|
516
550
|
# resource_id: "ResourceId", # required
|
|
551
|
+
# name: "Name", # required
|
|
517
552
|
# tags: [
|
|
518
553
|
# {
|
|
519
554
|
# key: "TagKey", # required
|
|
520
555
|
# value: "TagValue", # required
|
|
521
556
|
# },
|
|
522
557
|
# ],
|
|
558
|
+
# priority: 1,
|
|
523
559
|
# })
|
|
524
560
|
#
|
|
525
561
|
# @example Response structure
|
|
526
562
|
#
|
|
527
|
-
# resp.profile_association.creation_time #=> Time
|
|
528
563
|
# resp.profile_association.id #=> String
|
|
529
|
-
# resp.profile_association.modification_time #=> Time
|
|
530
564
|
# resp.profile_association.name #=> String
|
|
531
565
|
# resp.profile_association.owner_id #=> String
|
|
532
566
|
# resp.profile_association.profile_id #=> String
|
|
533
567
|
# resp.profile_association.resource_id #=> String
|
|
534
568
|
# resp.profile_association.status #=> String, one of "COMPLETE", "DELETING", "UPDATING", "CREATING", "DELETED", "FAILED"
|
|
535
569
|
# resp.profile_association.status_message #=> String
|
|
570
|
+
# resp.profile_association.creation_time #=> Time
|
|
571
|
+
# resp.profile_association.modification_time #=> Time
|
|
572
|
+
# resp.profile_association.priority #=> Integer
|
|
536
573
|
#
|
|
537
574
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53profiles-2018-05-10/AssociateProfile AWS API Documentation
|
|
538
575
|
#
|
|
@@ -543,16 +580,18 @@ module Aws::Route53Profiles
|
|
|
543
580
|
req.send_request(options)
|
|
544
581
|
end
|
|
545
582
|
|
|
546
|
-
# Associates a DNS
|
|
547
|
-
#
|
|
548
|
-
# @option params [required, String] :name
|
|
549
|
-
# Name for the resource association.
|
|
583
|
+
# Associates a DNS resource configuration to a Route 53 Profile.
|
|
550
584
|
#
|
|
551
585
|
# @option params [required, String] :profile_id
|
|
552
586
|
# ID of the Profile.
|
|
553
587
|
#
|
|
554
588
|
# @option params [required, String] :resource_arn
|
|
555
|
-
# Amazon resource number, ARN, of the
|
|
589
|
+
# Amazon resource number, ARN, of the resource to associate. Either a
|
|
590
|
+
# private hosted zone, DNS Firewall rule group, Resolver rule, or an
|
|
591
|
+
# interface VPC endpoint.
|
|
592
|
+
#
|
|
593
|
+
# @option params [required, String] :name
|
|
594
|
+
# Name for the resource association.
|
|
556
595
|
#
|
|
557
596
|
# @option params [String] :resource_properties
|
|
558
597
|
# If you are adding a DNS Firewall rule group, include also a priority.
|
|
@@ -568,25 +607,25 @@ module Aws::Route53Profiles
|
|
|
568
607
|
# @example Request syntax with placeholder values
|
|
569
608
|
#
|
|
570
609
|
# resp = client.associate_resource_to_profile({
|
|
571
|
-
# name: "Name", # required
|
|
572
610
|
# profile_id: "ResourceId", # required
|
|
573
611
|
# resource_arn: "Arn", # required
|
|
612
|
+
# name: "Name", # required
|
|
574
613
|
# resource_properties: "ResourceProperties",
|
|
575
614
|
# })
|
|
576
615
|
#
|
|
577
616
|
# @example Response structure
|
|
578
617
|
#
|
|
579
|
-
# resp.profile_resource_association.creation_time #=> Time
|
|
580
618
|
# resp.profile_resource_association.id #=> String
|
|
581
|
-
# resp.profile_resource_association.modification_time #=> Time
|
|
582
619
|
# resp.profile_resource_association.name #=> String
|
|
583
620
|
# resp.profile_resource_association.owner_id #=> String
|
|
584
621
|
# resp.profile_resource_association.profile_id #=> String
|
|
585
622
|
# resp.profile_resource_association.resource_arn #=> String
|
|
586
|
-
# resp.profile_resource_association.resource_properties #=> String
|
|
587
623
|
# resp.profile_resource_association.resource_type #=> String
|
|
624
|
+
# resp.profile_resource_association.resource_properties #=> String
|
|
588
625
|
# resp.profile_resource_association.status #=> String, one of "COMPLETE", "DELETING", "UPDATING", "CREATING", "DELETED", "FAILED"
|
|
589
626
|
# resp.profile_resource_association.status_message #=> String
|
|
627
|
+
# resp.profile_resource_association.creation_time #=> Time
|
|
628
|
+
# resp.profile_resource_association.modification_time #=> Time
|
|
590
629
|
#
|
|
591
630
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53profiles-2018-05-10/AssociateResourceToProfile AWS API Documentation
|
|
592
631
|
#
|
|
@@ -599,6 +638,9 @@ module Aws::Route53Profiles
|
|
|
599
638
|
|
|
600
639
|
# Creates an empty Route 53 Profile.
|
|
601
640
|
#
|
|
641
|
+
# @option params [required, String] :name
|
|
642
|
+
# A name for the Profile.
|
|
643
|
+
#
|
|
602
644
|
# @option params [required, String] :client_token
|
|
603
645
|
# `ClientToken` is an idempotency token that ensures a call to
|
|
604
646
|
# `CreateProfile` completes only once. You choose the value to pass. For
|
|
@@ -609,9 +651,6 @@ module Aws::Route53Profiles
|
|
|
609
651
|
# **A suitable default value is auto-generated.** You should normally
|
|
610
652
|
# not need to pass this option.**
|
|
611
653
|
#
|
|
612
|
-
# @option params [required, String] :name
|
|
613
|
-
# A name for the Profile.
|
|
614
|
-
#
|
|
615
654
|
# @option params [Array<Types::Tag>] :tags
|
|
616
655
|
# A list of the tag keys and values that you want to associate with the
|
|
617
656
|
# Route 53 Profile.
|
|
@@ -623,8 +662,8 @@ module Aws::Route53Profiles
|
|
|
623
662
|
# @example Request syntax with placeholder values
|
|
624
663
|
#
|
|
625
664
|
# resp = client.create_profile({
|
|
626
|
-
# client_token: "CreatorRequestId", # required
|
|
627
665
|
# name: "Name", # required
|
|
666
|
+
# client_token: "CreatorRequestId", # required
|
|
628
667
|
# tags: [
|
|
629
668
|
# {
|
|
630
669
|
# key: "TagKey", # required
|
|
@@ -635,16 +674,16 @@ module Aws::Route53Profiles
|
|
|
635
674
|
#
|
|
636
675
|
# @example Response structure
|
|
637
676
|
#
|
|
638
|
-
# resp.profile.arn #=> String
|
|
639
|
-
# resp.profile.client_token #=> String
|
|
640
|
-
# resp.profile.creation_time #=> Time
|
|
641
677
|
# resp.profile.id #=> String
|
|
642
|
-
# resp.profile.
|
|
678
|
+
# resp.profile.arn #=> String
|
|
643
679
|
# resp.profile.name #=> String
|
|
644
680
|
# resp.profile.owner_id #=> String
|
|
645
|
-
# resp.profile.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
|
646
681
|
# resp.profile.status #=> String, one of "COMPLETE", "DELETING", "UPDATING", "CREATING", "DELETED", "FAILED"
|
|
647
682
|
# resp.profile.status_message #=> String
|
|
683
|
+
# resp.profile.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
|
684
|
+
# resp.profile.creation_time #=> Time
|
|
685
|
+
# resp.profile.modification_time #=> Time
|
|
686
|
+
# resp.profile.client_token #=> String
|
|
648
687
|
#
|
|
649
688
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53profiles-2018-05-10/CreateProfile AWS API Documentation
|
|
650
689
|
#
|
|
@@ -673,16 +712,16 @@ module Aws::Route53Profiles
|
|
|
673
712
|
#
|
|
674
713
|
# @example Response structure
|
|
675
714
|
#
|
|
676
|
-
# resp.profile.arn #=> String
|
|
677
|
-
# resp.profile.client_token #=> String
|
|
678
|
-
# resp.profile.creation_time #=> Time
|
|
679
715
|
# resp.profile.id #=> String
|
|
680
|
-
# resp.profile.
|
|
716
|
+
# resp.profile.arn #=> String
|
|
681
717
|
# resp.profile.name #=> String
|
|
682
718
|
# resp.profile.owner_id #=> String
|
|
683
|
-
# resp.profile.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
|
684
719
|
# resp.profile.status #=> String, one of "COMPLETE", "DELETING", "UPDATING", "CREATING", "DELETED", "FAILED"
|
|
685
720
|
# resp.profile.status_message #=> String
|
|
721
|
+
# resp.profile.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
|
722
|
+
# resp.profile.creation_time #=> Time
|
|
723
|
+
# resp.profile.modification_time #=> Time
|
|
724
|
+
# resp.profile.client_token #=> String
|
|
686
725
|
#
|
|
687
726
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53profiles-2018-05-10/DeleteProfile AWS API Documentation
|
|
688
727
|
#
|
|
@@ -714,15 +753,16 @@ module Aws::Route53Profiles
|
|
|
714
753
|
#
|
|
715
754
|
# @example Response structure
|
|
716
755
|
#
|
|
717
|
-
# resp.profile_association.creation_time #=> Time
|
|
718
756
|
# resp.profile_association.id #=> String
|
|
719
|
-
# resp.profile_association.modification_time #=> Time
|
|
720
757
|
# resp.profile_association.name #=> String
|
|
721
758
|
# resp.profile_association.owner_id #=> String
|
|
722
759
|
# resp.profile_association.profile_id #=> String
|
|
723
760
|
# resp.profile_association.resource_id #=> String
|
|
724
761
|
# resp.profile_association.status #=> String, one of "COMPLETE", "DELETING", "UPDATING", "CREATING", "DELETED", "FAILED"
|
|
725
762
|
# resp.profile_association.status_message #=> String
|
|
763
|
+
# resp.profile_association.creation_time #=> Time
|
|
764
|
+
# resp.profile_association.modification_time #=> Time
|
|
765
|
+
# resp.profile_association.priority #=> Integer
|
|
726
766
|
#
|
|
727
767
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53profiles-2018-05-10/DisassociateProfile AWS API Documentation
|
|
728
768
|
#
|
|
@@ -754,17 +794,17 @@ module Aws::Route53Profiles
|
|
|
754
794
|
#
|
|
755
795
|
# @example Response structure
|
|
756
796
|
#
|
|
757
|
-
# resp.profile_resource_association.creation_time #=> Time
|
|
758
797
|
# resp.profile_resource_association.id #=> String
|
|
759
|
-
# resp.profile_resource_association.modification_time #=> Time
|
|
760
798
|
# resp.profile_resource_association.name #=> String
|
|
761
799
|
# resp.profile_resource_association.owner_id #=> String
|
|
762
800
|
# resp.profile_resource_association.profile_id #=> String
|
|
763
801
|
# resp.profile_resource_association.resource_arn #=> String
|
|
764
|
-
# resp.profile_resource_association.resource_properties #=> String
|
|
765
802
|
# resp.profile_resource_association.resource_type #=> String
|
|
803
|
+
# resp.profile_resource_association.resource_properties #=> String
|
|
766
804
|
# resp.profile_resource_association.status #=> String, one of "COMPLETE", "DELETING", "UPDATING", "CREATING", "DELETED", "FAILED"
|
|
767
805
|
# resp.profile_resource_association.status_message #=> String
|
|
806
|
+
# resp.profile_resource_association.creation_time #=> Time
|
|
807
|
+
# resp.profile_resource_association.modification_time #=> Time
|
|
768
808
|
#
|
|
769
809
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53profiles-2018-05-10/DisassociateResourceFromProfile AWS API Documentation
|
|
770
810
|
#
|
|
@@ -794,16 +834,16 @@ module Aws::Route53Profiles
|
|
|
794
834
|
#
|
|
795
835
|
# @example Response structure
|
|
796
836
|
#
|
|
797
|
-
# resp.profile.arn #=> String
|
|
798
|
-
# resp.profile.client_token #=> String
|
|
799
|
-
# resp.profile.creation_time #=> Time
|
|
800
837
|
# resp.profile.id #=> String
|
|
801
|
-
# resp.profile.
|
|
838
|
+
# resp.profile.arn #=> String
|
|
802
839
|
# resp.profile.name #=> String
|
|
803
840
|
# resp.profile.owner_id #=> String
|
|
804
|
-
# resp.profile.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
|
805
841
|
# resp.profile.status #=> String, one of "COMPLETE", "DELETING", "UPDATING", "CREATING", "DELETED", "FAILED"
|
|
806
842
|
# resp.profile.status_message #=> String
|
|
843
|
+
# resp.profile.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
|
844
|
+
# resp.profile.creation_time #=> Time
|
|
845
|
+
# resp.profile.modification_time #=> Time
|
|
846
|
+
# resp.profile.client_token #=> String
|
|
807
847
|
#
|
|
808
848
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53profiles-2018-05-10/GetProfile AWS API Documentation
|
|
809
849
|
#
|
|
@@ -814,9 +854,9 @@ module Aws::Route53Profiles
|
|
|
814
854
|
req.send_request(options)
|
|
815
855
|
end
|
|
816
856
|
|
|
817
|
-
# Retrieves a Route 53 Profile association for a VPC. A VPC can have
|
|
818
|
-
#
|
|
819
|
-
# to
|
|
857
|
+
# Retrieves a Route 53 Profile association for a VPC. A VPC can have up
|
|
858
|
+
# to two Profile associations, and a Profile can be associated with up
|
|
859
|
+
# to 1,000 VPCs.
|
|
820
860
|
#
|
|
821
861
|
# @option params [required, String] :profile_association_id
|
|
822
862
|
# The identifier of the association you want to get information about.
|
|
@@ -833,15 +873,16 @@ module Aws::Route53Profiles
|
|
|
833
873
|
#
|
|
834
874
|
# @example Response structure
|
|
835
875
|
#
|
|
836
|
-
# resp.profile_association.creation_time #=> Time
|
|
837
876
|
# resp.profile_association.id #=> String
|
|
838
|
-
# resp.profile_association.modification_time #=> Time
|
|
839
877
|
# resp.profile_association.name #=> String
|
|
840
878
|
# resp.profile_association.owner_id #=> String
|
|
841
879
|
# resp.profile_association.profile_id #=> String
|
|
842
880
|
# resp.profile_association.resource_id #=> String
|
|
843
881
|
# resp.profile_association.status #=> String, one of "COMPLETE", "DELETING", "UPDATING", "CREATING", "DELETED", "FAILED"
|
|
844
882
|
# resp.profile_association.status_message #=> String
|
|
883
|
+
# resp.profile_association.creation_time #=> Time
|
|
884
|
+
# resp.profile_association.modification_time #=> Time
|
|
885
|
+
# resp.profile_association.priority #=> Integer
|
|
845
886
|
#
|
|
846
887
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53profiles-2018-05-10/GetProfileAssociation AWS API Documentation
|
|
847
888
|
#
|
|
@@ -871,17 +912,17 @@ module Aws::Route53Profiles
|
|
|
871
912
|
#
|
|
872
913
|
# @example Response structure
|
|
873
914
|
#
|
|
874
|
-
# resp.profile_resource_association.creation_time #=> Time
|
|
875
915
|
# resp.profile_resource_association.id #=> String
|
|
876
|
-
# resp.profile_resource_association.modification_time #=> Time
|
|
877
916
|
# resp.profile_resource_association.name #=> String
|
|
878
917
|
# resp.profile_resource_association.owner_id #=> String
|
|
879
918
|
# resp.profile_resource_association.profile_id #=> String
|
|
880
919
|
# resp.profile_resource_association.resource_arn #=> String
|
|
881
|
-
# resp.profile_resource_association.resource_properties #=> String
|
|
882
920
|
# resp.profile_resource_association.resource_type #=> String
|
|
921
|
+
# resp.profile_resource_association.resource_properties #=> String
|
|
883
922
|
# resp.profile_resource_association.status #=> String, one of "COMPLETE", "DELETING", "UPDATING", "CREATING", "DELETED", "FAILED"
|
|
884
923
|
# resp.profile_resource_association.status_message #=> String
|
|
924
|
+
# resp.profile_resource_association.creation_time #=> Time
|
|
925
|
+
# resp.profile_resource_association.modification_time #=> Time
|
|
885
926
|
#
|
|
886
927
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53profiles-2018-05-10/GetProfileResourceAssociation AWS API Documentation
|
|
887
928
|
#
|
|
@@ -895,6 +936,12 @@ module Aws::Route53Profiles
|
|
|
895
936
|
# Lists all the VPCs that the specified Route 53 Profile is associated
|
|
896
937
|
# with.
|
|
897
938
|
#
|
|
939
|
+
# @option params [String] :resource_id
|
|
940
|
+
# ID of the VPC.
|
|
941
|
+
#
|
|
942
|
+
# @option params [String] :profile_id
|
|
943
|
+
# ID of the Profile.
|
|
944
|
+
#
|
|
898
945
|
# @option params [Integer] :max_results
|
|
899
946
|
# The maximum number of objects that you want to return for this
|
|
900
947
|
# request. If more objects are available, in the response, a `NextToken`
|
|
@@ -913,41 +960,36 @@ module Aws::Route53Profiles
|
|
|
913
960
|
# retrieve the next batch of objects, use the token that was returned
|
|
914
961
|
# for the prior request in your next request.
|
|
915
962
|
#
|
|
916
|
-
# @option params [String] :profile_id
|
|
917
|
-
# ID of the Profile.
|
|
918
|
-
#
|
|
919
|
-
# @option params [String] :resource_id
|
|
920
|
-
# ID of the VPC.
|
|
921
|
-
#
|
|
922
963
|
# @return [Types::ListProfileAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
923
964
|
#
|
|
924
|
-
# * {Types::ListProfileAssociationsResponse#next_token #next_token} => String
|
|
925
965
|
# * {Types::ListProfileAssociationsResponse#profile_associations #profile_associations} => Array<Types::ProfileAssociation>
|
|
966
|
+
# * {Types::ListProfileAssociationsResponse#next_token #next_token} => String
|
|
926
967
|
#
|
|
927
968
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
928
969
|
#
|
|
929
970
|
# @example Request syntax with placeholder values
|
|
930
971
|
#
|
|
931
972
|
# resp = client.list_profile_associations({
|
|
973
|
+
# resource_id: "ResourceId",
|
|
974
|
+
# profile_id: "ResourceId",
|
|
932
975
|
# max_results: 1,
|
|
933
976
|
# next_token: "NextToken",
|
|
934
|
-
# profile_id: "ResourceId",
|
|
935
|
-
# resource_id: "ResourceId",
|
|
936
977
|
# })
|
|
937
978
|
#
|
|
938
979
|
# @example Response structure
|
|
939
980
|
#
|
|
940
|
-
# resp.next_token #=> String
|
|
941
981
|
# resp.profile_associations #=> Array
|
|
942
|
-
# resp.profile_associations[0].creation_time #=> Time
|
|
943
982
|
# resp.profile_associations[0].id #=> String
|
|
944
|
-
# resp.profile_associations[0].modification_time #=> Time
|
|
945
983
|
# resp.profile_associations[0].name #=> String
|
|
946
984
|
# resp.profile_associations[0].owner_id #=> String
|
|
947
985
|
# resp.profile_associations[0].profile_id #=> String
|
|
948
986
|
# resp.profile_associations[0].resource_id #=> String
|
|
949
987
|
# resp.profile_associations[0].status #=> String, one of "COMPLETE", "DELETING", "UPDATING", "CREATING", "DELETED", "FAILED"
|
|
950
988
|
# resp.profile_associations[0].status_message #=> String
|
|
989
|
+
# resp.profile_associations[0].creation_time #=> Time
|
|
990
|
+
# resp.profile_associations[0].modification_time #=> Time
|
|
991
|
+
# resp.profile_associations[0].priority #=> Integer
|
|
992
|
+
# resp.next_token #=> String
|
|
951
993
|
#
|
|
952
994
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53profiles-2018-05-10/ListProfileAssociations AWS API Documentation
|
|
953
995
|
#
|
|
@@ -961,6 +1003,16 @@ module Aws::Route53Profiles
|
|
|
961
1003
|
# Lists all the resource associations for the specified Route 53
|
|
962
1004
|
# Profile.
|
|
963
1005
|
#
|
|
1006
|
+
# @option params [required, String] :profile_id
|
|
1007
|
+
# The ID of the Profile.
|
|
1008
|
+
#
|
|
1009
|
+
# @option params [String] :resource_type
|
|
1010
|
+
# ID of a resource if you want information on only one type.
|
|
1011
|
+
#
|
|
1012
|
+
# @option params [String] :resource_arn
|
|
1013
|
+
# The Amazon Resource Name (ARN) of a resource. If you specify this
|
|
1014
|
+
# parameter, only the association with that resource is returned.
|
|
1015
|
+
#
|
|
964
1016
|
# @option params [Integer] :max_results
|
|
965
1017
|
# The maximum number of objects that you want to return for this
|
|
966
1018
|
# request. If more objects are available, in the response, a `NextToken`
|
|
@@ -979,43 +1031,38 @@ module Aws::Route53Profiles
|
|
|
979
1031
|
# retrieve the next batch of objects, use the token that was returned
|
|
980
1032
|
# for the prior request in your next request.
|
|
981
1033
|
#
|
|
982
|
-
# @option params [required, String] :profile_id
|
|
983
|
-
# The ID of the Profile.
|
|
984
|
-
#
|
|
985
|
-
# @option params [String] :resource_type
|
|
986
|
-
# ID of a resource if you want information on only one type.
|
|
987
|
-
#
|
|
988
1034
|
# @return [Types::ListProfileResourceAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
989
1035
|
#
|
|
990
|
-
# * {Types::ListProfileResourceAssociationsResponse#next_token #next_token} => String
|
|
991
1036
|
# * {Types::ListProfileResourceAssociationsResponse#profile_resource_associations #profile_resource_associations} => Array<Types::ProfileResourceAssociation>
|
|
1037
|
+
# * {Types::ListProfileResourceAssociationsResponse#next_token #next_token} => String
|
|
992
1038
|
#
|
|
993
1039
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
994
1040
|
#
|
|
995
1041
|
# @example Request syntax with placeholder values
|
|
996
1042
|
#
|
|
997
1043
|
# resp = client.list_profile_resource_associations({
|
|
998
|
-
# max_results: 1,
|
|
999
|
-
# next_token: "NextToken",
|
|
1000
1044
|
# profile_id: "ResourceId", # required
|
|
1001
1045
|
# resource_type: "String",
|
|
1046
|
+
# resource_arn: "Arn",
|
|
1047
|
+
# max_results: 1,
|
|
1048
|
+
# next_token: "NextToken",
|
|
1002
1049
|
# })
|
|
1003
1050
|
#
|
|
1004
1051
|
# @example Response structure
|
|
1005
1052
|
#
|
|
1006
|
-
# resp.next_token #=> String
|
|
1007
1053
|
# resp.profile_resource_associations #=> Array
|
|
1008
|
-
# resp.profile_resource_associations[0].creation_time #=> Time
|
|
1009
1054
|
# resp.profile_resource_associations[0].id #=> String
|
|
1010
|
-
# resp.profile_resource_associations[0].modification_time #=> Time
|
|
1011
1055
|
# resp.profile_resource_associations[0].name #=> String
|
|
1012
1056
|
# resp.profile_resource_associations[0].owner_id #=> String
|
|
1013
1057
|
# resp.profile_resource_associations[0].profile_id #=> String
|
|
1014
1058
|
# resp.profile_resource_associations[0].resource_arn #=> String
|
|
1015
|
-
# resp.profile_resource_associations[0].resource_properties #=> String
|
|
1016
1059
|
# resp.profile_resource_associations[0].resource_type #=> String
|
|
1060
|
+
# resp.profile_resource_associations[0].resource_properties #=> String
|
|
1017
1061
|
# resp.profile_resource_associations[0].status #=> String, one of "COMPLETE", "DELETING", "UPDATING", "CREATING", "DELETED", "FAILED"
|
|
1018
1062
|
# resp.profile_resource_associations[0].status_message #=> String
|
|
1063
|
+
# resp.profile_resource_associations[0].creation_time #=> Time
|
|
1064
|
+
# resp.profile_resource_associations[0].modification_time #=> Time
|
|
1065
|
+
# resp.next_token #=> String
|
|
1019
1066
|
#
|
|
1020
1067
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53profiles-2018-05-10/ListProfileResourceAssociations AWS API Documentation
|
|
1021
1068
|
#
|
|
@@ -1049,8 +1096,8 @@ module Aws::Route53Profiles
|
|
|
1049
1096
|
#
|
|
1050
1097
|
# @return [Types::ListProfilesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1051
1098
|
#
|
|
1052
|
-
# * {Types::ListProfilesResponse#next_token #next_token} => String
|
|
1053
1099
|
# * {Types::ListProfilesResponse#profile_summaries #profile_summaries} => Array<Types::ProfileSummary>
|
|
1100
|
+
# * {Types::ListProfilesResponse#next_token #next_token} => String
|
|
1054
1101
|
#
|
|
1055
1102
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1056
1103
|
#
|
|
@@ -1063,12 +1110,12 @@ module Aws::Route53Profiles
|
|
|
1063
1110
|
#
|
|
1064
1111
|
# @example Response structure
|
|
1065
1112
|
#
|
|
1066
|
-
# resp.next_token #=> String
|
|
1067
1113
|
# resp.profile_summaries #=> Array
|
|
1068
|
-
# resp.profile_summaries[0].arn #=> String
|
|
1069
1114
|
# resp.profile_summaries[0].id #=> String
|
|
1115
|
+
# resp.profile_summaries[0].arn #=> String
|
|
1070
1116
|
# resp.profile_summaries[0].name #=> String
|
|
1071
1117
|
# resp.profile_summaries[0].share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
|
1118
|
+
# resp.next_token #=> String
|
|
1072
1119
|
#
|
|
1073
1120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53profiles-2018-05-10/ListProfiles AWS API Documentation
|
|
1074
1121
|
#
|
|
@@ -1165,14 +1212,82 @@ module Aws::Route53Profiles
|
|
|
1165
1212
|
req.send_request(options)
|
|
1166
1213
|
end
|
|
1167
1214
|
|
|
1168
|
-
# Updates the specified Route 53 Profile
|
|
1215
|
+
# Updates the name or priority of the specified Route 53 Profile
|
|
1216
|
+
# association with a VPC. Route 53 VPC Resolver evaluates the Profile
|
|
1217
|
+
# associations for a VPC in priority order, starting with the lowest
|
|
1218
|
+
# value. Only the account that created the association can update it.
|
|
1219
|
+
#
|
|
1220
|
+
# When you change the priority, the association status is `UPDATING`
|
|
1221
|
+
# until the change propagates, and then `COMPLETE`. While the status is
|
|
1222
|
+
# `UPDATING`, Route 53 VPC Resolver might still use the previous
|
|
1223
|
+
# priority for some queries. When the status is `COMPLETE`, the new
|
|
1224
|
+
# priority applies to all queries from the VPC.
|
|
1225
|
+
#
|
|
1226
|
+
# The request fails with a `ValidationException` if another Profile
|
|
1227
|
+
# association for the VPC already uses the priority that you specify, or
|
|
1228
|
+
# if the priority is outside the range 100–9900.
|
|
1229
|
+
#
|
|
1230
|
+
# You can update an association whose status is `CREATING`, `UPDATING`,
|
|
1231
|
+
# or `COMPLETE`. The request fails with a `ConflictException` if the
|
|
1232
|
+
# association status is `DELETING`, `DELETED`, or `FAILED`, or if the
|
|
1233
|
+
# account that owns the association is inactive.
|
|
1234
|
+
#
|
|
1235
|
+
# @option params [required, String] :profile_association_id
|
|
1236
|
+
# The ID of the Profile association to update.
|
|
1169
1237
|
#
|
|
1170
1238
|
# @option params [String] :name
|
|
1171
|
-
#
|
|
1239
|
+
# The name of the Profile association.
|
|
1240
|
+
#
|
|
1241
|
+
# @option params [Integer] :priority
|
|
1242
|
+
# The new priority of the Profile association. Route 53 VPC Resolver
|
|
1243
|
+
# evaluates the Profile associations for a VPC in priority order,
|
|
1244
|
+
# starting with the lowest value.
|
|
1245
|
+
#
|
|
1246
|
+
# The priority must be unique among the Profile associations for the
|
|
1247
|
+
# VPC.
|
|
1248
|
+
#
|
|
1249
|
+
# @return [Types::UpdateProfileAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1250
|
+
#
|
|
1251
|
+
# * {Types::UpdateProfileAssociationResponse#profile_association #profile_association} => Types::ProfileAssociation
|
|
1252
|
+
#
|
|
1253
|
+
# @example Request syntax with placeholder values
|
|
1254
|
+
#
|
|
1255
|
+
# resp = client.update_profile_association({
|
|
1256
|
+
# profile_association_id: "ResourceId", # required
|
|
1257
|
+
# name: "Name",
|
|
1258
|
+
# priority: 1,
|
|
1259
|
+
# })
|
|
1260
|
+
#
|
|
1261
|
+
# @example Response structure
|
|
1262
|
+
#
|
|
1263
|
+
# resp.profile_association.id #=> String
|
|
1264
|
+
# resp.profile_association.name #=> String
|
|
1265
|
+
# resp.profile_association.owner_id #=> String
|
|
1266
|
+
# resp.profile_association.profile_id #=> String
|
|
1267
|
+
# resp.profile_association.resource_id #=> String
|
|
1268
|
+
# resp.profile_association.status #=> String, one of "COMPLETE", "DELETING", "UPDATING", "CREATING", "DELETED", "FAILED"
|
|
1269
|
+
# resp.profile_association.status_message #=> String
|
|
1270
|
+
# resp.profile_association.creation_time #=> Time
|
|
1271
|
+
# resp.profile_association.modification_time #=> Time
|
|
1272
|
+
# resp.profile_association.priority #=> Integer
|
|
1273
|
+
#
|
|
1274
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53profiles-2018-05-10/UpdateProfileAssociation AWS API Documentation
|
|
1275
|
+
#
|
|
1276
|
+
# @overload update_profile_association(params = {})
|
|
1277
|
+
# @param [Hash] params ({})
|
|
1278
|
+
def update_profile_association(params = {}, options = {})
|
|
1279
|
+
req = build_request(:update_profile_association, params)
|
|
1280
|
+
req.send_request(options)
|
|
1281
|
+
end
|
|
1282
|
+
|
|
1283
|
+
# Updates the specified Route 53 Profile resourse association.
|
|
1172
1284
|
#
|
|
1173
1285
|
# @option params [required, String] :profile_resource_association_id
|
|
1174
1286
|
# ID of the resource association.
|
|
1175
1287
|
#
|
|
1288
|
+
# @option params [String] :name
|
|
1289
|
+
# Name of the resource association.
|
|
1290
|
+
#
|
|
1176
1291
|
# @option params [String] :resource_properties
|
|
1177
1292
|
# If you are adding a DNS Firewall rule group, include also a priority.
|
|
1178
1293
|
# The priority indicates the processing order for the rule groups,
|
|
@@ -1187,24 +1302,24 @@ module Aws::Route53Profiles
|
|
|
1187
1302
|
# @example Request syntax with placeholder values
|
|
1188
1303
|
#
|
|
1189
1304
|
# resp = client.update_profile_resource_association({
|
|
1190
|
-
# name: "Name",
|
|
1191
1305
|
# profile_resource_association_id: "ResourceId", # required
|
|
1306
|
+
# name: "Name",
|
|
1192
1307
|
# resource_properties: "ResourceProperties",
|
|
1193
1308
|
# })
|
|
1194
1309
|
#
|
|
1195
1310
|
# @example Response structure
|
|
1196
1311
|
#
|
|
1197
|
-
# resp.profile_resource_association.creation_time #=> Time
|
|
1198
1312
|
# resp.profile_resource_association.id #=> String
|
|
1199
|
-
# resp.profile_resource_association.modification_time #=> Time
|
|
1200
1313
|
# resp.profile_resource_association.name #=> String
|
|
1201
1314
|
# resp.profile_resource_association.owner_id #=> String
|
|
1202
1315
|
# resp.profile_resource_association.profile_id #=> String
|
|
1203
1316
|
# resp.profile_resource_association.resource_arn #=> String
|
|
1204
|
-
# resp.profile_resource_association.resource_properties #=> String
|
|
1205
1317
|
# resp.profile_resource_association.resource_type #=> String
|
|
1318
|
+
# resp.profile_resource_association.resource_properties #=> String
|
|
1206
1319
|
# resp.profile_resource_association.status #=> String, one of "COMPLETE", "DELETING", "UPDATING", "CREATING", "DELETED", "FAILED"
|
|
1207
1320
|
# resp.profile_resource_association.status_message #=> String
|
|
1321
|
+
# resp.profile_resource_association.creation_time #=> Time
|
|
1322
|
+
# resp.profile_resource_association.modification_time #=> Time
|
|
1208
1323
|
#
|
|
1209
1324
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53profiles-2018-05-10/UpdateProfileResourceAssociation AWS API Documentation
|
|
1210
1325
|
#
|
|
@@ -1233,7 +1348,7 @@ module Aws::Route53Profiles
|
|
|
1233
1348
|
tracer: tracer
|
|
1234
1349
|
)
|
|
1235
1350
|
context[:gem_name] = 'aws-sdk-route53profiles'
|
|
1236
|
-
context[:gem_version] = '1.
|
|
1351
|
+
context[:gem_version] = '1.48.0'
|
|
1237
1352
|
Seahorse::Client::Request.new(handlers, context)
|
|
1238
1353
|
end
|
|
1239
1354
|
|