Class: Aws::Route53Profiles::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Route53Profiles::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb
Overview
An API client for Route53Profiles. To construct a client, you need to configure a :region and :credentials.
client = Aws::Route53Profiles::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#associate_profile(params = {}) ⇒ Types::AssociateProfileResponse
Associates a Route 53 Profiles profile with a VPC.
-
#associate_resource_to_profile(params = {}) ⇒ Types::AssociateResourceToProfileResponse
Associates a DNS resource configuration to a Route 53 Profile.
-
#create_profile(params = {}) ⇒ Types::CreateProfileResponse
Creates an empty Route 53 Profile.
-
#delete_profile(params = {}) ⇒ Types::DeleteProfileResponse
Deletes the specified Route 53 Profile.
-
#disassociate_profile(params = {}) ⇒ Types::DisassociateProfileResponse
Dissociates a specified Route 53 Profile from the specified VPC.
-
#disassociate_resource_from_profile(params = {}) ⇒ Types::DisassociateResourceFromProfileResponse
Dissoaciated a specified resource, from the Route 53 Profile.
-
#get_profile(params = {}) ⇒ Types::GetProfileResponse
Returns information about a specified Route 53 Profile, such as whether whether the Profile is shared, and the current status of the Profile.
-
#get_profile_association(params = {}) ⇒ Types::GetProfileAssociationResponse
Retrieves a Route 53 Profile association for a VPC.
-
#get_profile_resource_association(params = {}) ⇒ Types::GetProfileResourceAssociationResponse
Returns information about a specified Route 53 Profile resource association.
-
#list_profile_associations(params = {}) ⇒ Types::ListProfileAssociationsResponse
Lists all the VPCs that the specified Route 53 Profile is associated with.
-
#list_profile_resource_associations(params = {}) ⇒ Types::ListProfileResourceAssociationsResponse
Lists all the resource associations for the specified Route 53 Profile.
-
#list_profiles(params = {}) ⇒ Types::ListProfilesResponse
Lists all the Route 53 Profiles associated with your Amazon Web Services account.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags that you associated with the specified resource.
-
#tag_resource(params = {}) ⇒ Struct
Adds one or more tags to a specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from a specified resource.
-
#update_profile_association(params = {}) ⇒ Types::UpdateProfileAssociationResponse
Updates the name or priority of the specified Route 53 Profile association with a VPC.
-
#update_profile_resource_association(params = {}) ⇒ Types::UpdateProfileResourceAssociationResponse
Updates the specified Route 53 Profile resourse association.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
479 480 481 |
# File 'gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb', line 479 def initialize(*args) super end |
Instance Method Details
#associate_profile(params = {}) ⇒ Types::AssociateProfileResponse
Associates a Route 53 Profiles profile with a VPC. A VPC can have up to two Profile associations. A Profile can be associated with up to 1,000 VPCs, and you can request a higher quota for the number of VPCs. For more information, see Quotas on Route 53 Profiles.
Route 53 VPC Resolver evaluates the Profile associations for a VPC in
priority order, starting with the lowest Priority value. If the VPC
has no other Profile associations, you can omit Priority, and the
association gets priority 100. When the VPC already has a Profile
association, you must specify a Priority, and each Profile
association for the VPC must have a unique priority. To change the
priority of an existing association, use UpdateProfileAssociation.
The request fails with a ValidationException in these cases:
You omit
Priority, and the VPC already has a Profile association.Another Profile association for the VPC already uses the priority that you specify.
The priority is outside the range 100–9900.
The Profile is already associated with the VPC, and you specify a different
NameorPriority. To change the priority, use UpdateProfileAssociation.
The request fails with a LimitExceededException if the VPC already
has the maximum number of Profile associations.
578 579 580 581 |
# File 'gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb', line 578 def associate_profile(params = {}, = {}) req = build_request(:associate_profile, params) req.send_request() end |
#associate_resource_to_profile(params = {}) ⇒ Types::AssociateResourceToProfileResponse
Associates a DNS resource configuration to a Route 53 Profile.
634 635 636 637 |
# File 'gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb', line 634 def associate_resource_to_profile(params = {}, = {}) req = build_request(:associate_resource_to_profile, params) req.send_request() end |
#create_profile(params = {}) ⇒ Types::CreateProfileResponse
Creates an empty Route 53 Profile.
692 693 694 695 |
# File 'gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb', line 692 def create_profile(params = {}, = {}) req = build_request(:create_profile, params) req.send_request() end |
#delete_profile(params = {}) ⇒ Types::DeleteProfileResponse
Deletes the specified Route 53 Profile. Before you can delete a profile, you must first disassociate it from all VPCs.
730 731 732 733 |
# File 'gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb', line 730 def delete_profile(params = {}, = {}) req = build_request(:delete_profile, params) req.send_request() end |
#disassociate_profile(params = {}) ⇒ Types::DisassociateProfileResponse
Dissociates a specified Route 53 Profile from the specified VPC.
771 772 773 774 |
# File 'gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb', line 771 def disassociate_profile(params = {}, = {}) req = build_request(:disassociate_profile, params) req.send_request() end |
#disassociate_resource_from_profile(params = {}) ⇒ Types::DisassociateResourceFromProfileResponse
Dissoaciated a specified resource, from the Route 53 Profile.
813 814 815 816 |
# File 'gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb', line 813 def disassociate_resource_from_profile(params = {}, = {}) req = build_request(:disassociate_resource_from_profile, params) req.send_request() end |
#get_profile(params = {}) ⇒ Types::GetProfileResponse
Returns information about a specified Route 53 Profile, such as whether whether the Profile is shared, and the current status of the Profile.
852 853 854 855 |
# File 'gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb', line 852 def get_profile(params = {}, = {}) req = build_request(:get_profile, params) req.send_request() end |
#get_profile_association(params = {}) ⇒ Types::GetProfileAssociationResponse
Retrieves a Route 53 Profile association for a VPC. A VPC can have up to two Profile associations, and a Profile can be associated with up to 1,000 VPCs.
891 892 893 894 |
# File 'gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb', line 891 def get_profile_association(params = {}, = {}) req = build_request(:get_profile_association, params) req.send_request() end |
#get_profile_resource_association(params = {}) ⇒ Types::GetProfileResourceAssociationResponse
Returns information about a specified Route 53 Profile resource association.
931 932 933 934 |
# File 'gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb', line 931 def get_profile_resource_association(params = {}, = {}) req = build_request(:get_profile_resource_association, params) req.send_request() end |
#list_profile_associations(params = {}) ⇒ Types::ListProfileAssociationsResponse
Lists all the VPCs that the specified Route 53 Profile is associated with.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
998 999 1000 1001 |
# File 'gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb', line 998 def list_profile_associations(params = {}, = {}) req = build_request(:list_profile_associations, params) req.send_request() end |
#list_profile_resource_associations(params = {}) ⇒ Types::ListProfileResourceAssociationsResponse
Lists all the resource associations for the specified Route 53 Profile.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1071 1072 1073 1074 |
# File 'gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb', line 1071 def list_profile_resource_associations(params = {}, = {}) req = build_request(:list_profile_resource_associations, params) req.send_request() end |
#list_profiles(params = {}) ⇒ Types::ListProfilesResponse
Lists all the Route 53 Profiles associated with your Amazon Web Services account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1124 1125 1126 1127 |
# File 'gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb', line 1124 def list_profiles(params = {}, = {}) req = build_request(:list_profiles, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags that you associated with the specified resource.
1154 1155 1156 1157 |
# File 'gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb', line 1154 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds one or more tags to a specified resource.
1183 1184 1185 1186 |
# File 'gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb', line 1183 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from a specified resource.
1210 1211 1212 1213 |
# File 'gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb', line 1210 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_profile_association(params = {}) ⇒ Types::UpdateProfileAssociationResponse
Updates the name or priority of the specified Route 53 Profile association with a VPC. Route 53 VPC Resolver evaluates the Profile associations for a VPC in priority order, starting with the lowest value. Only the account that created the association can update it.
When you change the priority, the association status is UPDATING
until the change propagates, and then COMPLETE. While the status is
UPDATING, Route 53 VPC Resolver might still use the previous
priority for some queries. When the status is COMPLETE, the new
priority applies to all queries from the VPC.
The request fails with a ValidationException if another Profile
association for the VPC already uses the priority that you specify, or
if the priority is outside the range 100–9900.
You can update an association whose status is CREATING, UPDATING,
or COMPLETE. The request fails with a ConflictException if the
association status is DELETING, DELETED, or FAILED, or if the
account that owns the association is inactive.
1278 1279 1280 1281 |
# File 'gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb', line 1278 def update_profile_association(params = {}, = {}) req = build_request(:update_profile_association, params) req.send_request() end |
#update_profile_resource_association(params = {}) ⇒ Types::UpdateProfileResourceAssociationResponse
Updates the specified Route 53 Profile resourse association.
1328 1329 1330 1331 |
# File 'gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb', line 1328 def update_profile_resource_association(params = {}, = {}) req = build_request(:update_profile_resource_association, params) req.send_request() end |