Class: Aws::Uxc::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Uxc::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-uxc/lib/aws-sdk-uxc/client.rb
Overview
An API client for Uxc. To construct a client, you need to configure a :region and :credentials.
client = Aws::Uxc::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
-
#get_account_customizations(params = {}) ⇒ Types::GetAccountCustomizationsOutput
Returns the current account customization settings, including account color, visible services, and visible Regions.
-
#list_services(params = {}) ⇒ Types::ListServicesOutput
Returns a paginated list of Amazon Web Services service identifiers that you can use as values for the
visibleServicessetting in [UpdateAccountCustomizations][1]. -
#update_account_customizations(params = {}) ⇒ Types::UpdateAccountCustomizationsOutput
Updates one or more account customization settings.
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.
473 474 475 |
# File 'gems/aws-sdk-uxc/lib/aws-sdk-uxc/client.rb', line 473 def initialize(*args) super end |
Instance Method Details
#get_account_customizations(params = {}) ⇒ Types::GetAccountCustomizationsOutput
Returns the current account customization settings, including account
color, visible services, and visible Regions. Settings that you have
not configured return their default values: visible Regions and
visible services return null, and account color returns none.
visibleServices and visibleRegions settings control only the
appearance of services and Regions in the Amazon Web Services
Management Console. They do not restrict access through the CLI, SDKs,
or other APIs.
530 531 532 533 |
# File 'gems/aws-sdk-uxc/lib/aws-sdk-uxc/client.rb', line 530 def get_account_customizations(params = {}, = {}) req = build_request(:get_account_customizations, params) req.send_request() end |
#list_services(params = {}) ⇒ Types::ListServicesOutput
Returns a paginated list of Amazon Web Services service identifiers
that you can use as values for the visibleServices setting in
UpdateAccountCustomizations. The available services vary by
Amazon Web Services partition. Use pagination to retrieve all results.
visibleServices setting controls only the appearance of services
in the Amazon Web Services Management Console. It does not restrict
access through the CLI, SDKs, or other APIs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
599 600 601 602 |
# File 'gems/aws-sdk-uxc/lib/aws-sdk-uxc/client.rb', line 599 def list_services(params = {}, = {}) req = build_request(:list_services, params) req.send_request() end |
#update_account_customizations(params = {}) ⇒ Types::UpdateAccountCustomizationsOutput
Updates one or more account customization settings. You can update
account color, visible services, and visible Regions in a single
request. Only the settings that you include in the request body are
modified. Omitted settings remain unchanged. To reset a setting to its
default behavior, set the value to null for visible Regions and
visible services, or none for account color. This operation is
idempotent.
visibleServices and visibleRegions settings control only the
appearance of services and Regions in the Amazon Web Services
Management Console. They do not restrict access through the CLI, SDKs,
or other APIs.
697 698 699 700 |
# File 'gems/aws-sdk-uxc/lib/aws-sdk-uxc/client.rb', line 697 def update_account_customizations(params = {}, = {}) req = build_request(:update_account_customizations, params) req.send_request() end |