Class: Aws::SupportAuthZ::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::SupportAuthZ::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/client.rb
Overview
An API client for SupportAuthZ. To construct a client, you need to configure a :region and :credentials.
client = Aws::SupportAuthZ::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
-
#create_support_permit(params = {}) ⇒ Types::CreateSupportPermitOutput
Creates a support permit that authorizes an AWS support operator to perform specified actions on specified resources.
-
#delete_support_permit(params = {}) ⇒ Types::DeleteSupportPermitOutput
Deletes a support permit, revoking the authorization previously granted to the AWS support operator.
-
#get_action(params = {}) ⇒ Types::GetActionOutput
Retrieves the description of a specific support action.
-
#get_support_permit(params = {}) ⇒ Types::GetSupportPermitOutput
Retrieves the details of a support permit by its ARN or name.
-
#list_actions(params = {}) ⇒ Types::ListActionsOutput
Lists available support actions for a specified AWS service.
-
#list_support_permit_requests(params = {}) ⇒ Types::ListSupportPermitRequestsOutput
Lists permit requests from AWS support operators.
-
#list_support_permits(params = {}) ⇒ Types::ListSupportPermitsOutput
Lists all support permits in the caller's account.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Lists the tags associated with a support permit resource.
-
#reject_support_permit_request(params = {}) ⇒ Types::RejectSupportPermitRequestOutput
Rejects a permit request from an AWS support operator.
-
#tag_resource(params = {}) ⇒ Struct
Adds or overwrites one or more tags for a support permit resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from a support permit resource.
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.
471 472 473 |
# File 'gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/client.rb', line 471 def initialize(*args) super end |
Instance Method Details
#create_support_permit(params = {}) ⇒ Types::CreateSupportPermitOutput
Creates a support permit that authorizes an AWS support operator to perform specified actions on specified resources. The permit is cryptographically signed using a customer-managed AWS KMS key (ECC_NIST_P384, SIGN_VERIFY) to ensure non-repudiation.
582 583 584 585 |
# File 'gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/client.rb', line 582 def create_support_permit(params = {}, = {}) req = build_request(:create_support_permit, params) req.send_request() end |
#delete_support_permit(params = {}) ⇒ Types::DeleteSupportPermitOutput
Deletes a support permit, revoking the authorization previously granted to the AWS support operator.
632 633 634 635 |
# File 'gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/client.rb', line 632 def delete_support_permit(params = {}, = {}) req = build_request(:delete_support_permit, params) req.send_request() end |
#get_action(params = {}) ⇒ Types::GetActionOutput
Retrieves the description of a specific support action.
664 665 666 667 |
# File 'gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/client.rb', line 664 def get_action(params = {}, = {}) req = build_request(:get_action, params) req.send_request() end |
#get_support_permit(params = {}) ⇒ Types::GetSupportPermitOutput
Retrieves the details of a support permit by its ARN or name.
715 716 717 718 |
# File 'gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/client.rb', line 715 def get_support_permit(params = {}, = {}) req = build_request(:get_support_permit, params) req.send_request() end |
#list_actions(params = {}) ⇒ Types::ListActionsOutput
Lists available support actions for a specified AWS service. Use pagination to ensure that the operation returns quickly and successfully.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
762 763 764 765 |
# File 'gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/client.rb', line 762 def list_actions(params = {}, = {}) req = build_request(:list_actions, params) req.send_request() end |
#list_support_permit_requests(params = {}) ⇒ Types::ListSupportPermitRequestsOutput
Lists permit requests from AWS support operators. Use pagination to ensure that the operation returns quickly and successfully.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
816 817 818 819 |
# File 'gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/client.rb', line 816 def list_support_permit_requests(params = {}, = {}) req = build_request(:list_support_permit_requests, params) req.send_request() end |
#list_support_permits(params = {}) ⇒ Types::ListSupportPermitsOutput
Lists all support permits in the caller's account. Use pagination to ensure that the operation returns quickly and successfully.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
872 873 874 875 |
# File 'gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/client.rb', line 872 def list_support_permits(params = {}, = {}) req = build_request(:list_support_permits, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Lists the tags associated with a support permit resource.
901 902 903 904 |
# File 'gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/client.rb', line 901 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#reject_support_permit_request(params = {}) ⇒ Types::RejectSupportPermitRequestOutput
Rejects a permit request from an AWS support operator. The operator cannot proceed with the requested action.
930 931 932 933 |
# File 'gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/client.rb', line 930 def reject_support_permit_request(params = {}, = {}) req = build_request(:reject_support_permit_request, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds or overwrites one or more tags for a support permit resource.
958 959 960 961 |
# File 'gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/client.rb', line 958 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 support permit resource.
984 985 986 987 |
# File 'gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/client.rb', line 984 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |