Class: Aws::ServiceQuotas::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::ServiceQuotas::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb
Overview
An API client for ServiceQuotas. To construct a client, you need to configure a :region and :credentials.
client = Aws::ServiceQuotas::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_service_quota_template(params = {}) ⇒ Struct
Associates your quota request template with your organization.
-
#create_support_case(params = {}) ⇒ Struct
Creates a Support case for an existing quota increase request.
-
#delete_service_quota_increase_request_from_template(params = {}) ⇒ Struct
Deletes the quota increase request for the specified quota from your quota request template.
-
#disassociate_service_quota_template(params = {}) ⇒ Struct
Disables your quota request template.
-
#get_association_for_service_quota_template(params = {}) ⇒ Types::GetAssociationForServiceQuotaTemplateResponse
Retrieves the status of the association for the quota request template.
-
#get_auto_management_configuration(params = {}) ⇒ Types::GetAutoManagementConfigurationResponse
Retrieves information about your [Service Quotas Automatic Management][1] configuration.
-
#get_aws_default_service_quota(params = {}) ⇒ Types::GetAWSDefaultServiceQuotaResponse
Retrieves the default value for the specified quota.
-
#get_quota_utilization_report(params = {}) ⇒ Types::GetQuotaUtilizationReportResponse
Retrieves the quota utilization report for your Amazon Web Services account.
-
#get_requested_service_quota_change(params = {}) ⇒ Types::GetRequestedServiceQuotaChangeResponse
Retrieves information about the specified quota increase request.
-
#get_service_quota(params = {}) ⇒ Types::GetServiceQuotaResponse
Retrieves the applied quota value for the specified account-level or resource-level quota.
-
#get_service_quota_increase_request_from_template(params = {}) ⇒ Types::GetServiceQuotaIncreaseRequestFromTemplateResponse
Retrieves information about the specified quota increase request in your quota request template.
-
#list_aws_default_service_quotas(params = {}) ⇒ Types::ListAWSDefaultServiceQuotasResponse
Lists the default values for the quotas for the specified Amazon Web Services service.
-
#list_requested_service_quota_change_history(params = {}) ⇒ Types::ListRequestedServiceQuotaChangeHistoryResponse
Retrieves the quota increase requests for the specified Amazon Web Services service.
-
#list_requested_service_quota_change_history_by_quota(params = {}) ⇒ Types::ListRequestedServiceQuotaChangeHistoryByQuotaResponse
Retrieves the quota increase requests for the specified quota.
-
#list_service_quota_increase_requests_in_template(params = {}) ⇒ Types::ListServiceQuotaIncreaseRequestsInTemplateResponse
Lists the quota increase requests in the specified quota request template.
-
#list_service_quotas(params = {}) ⇒ Types::ListServiceQuotasResponse
Lists the applied quota values for the specified Amazon Web Services service.
-
#list_services(params = {}) ⇒ Types::ListServicesResponse
Lists the names and codes for the Amazon Web Services services integrated with Service Quotas.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns a list of the tags assigned to the specified applied quota.
-
#put_service_quota_increase_request_into_template(params = {}) ⇒ Types::PutServiceQuotaIncreaseRequestIntoTemplateResponse
Adds a quota increase request to your quota request template.
-
#request_service_quota_increase(params = {}) ⇒ Types::RequestServiceQuotaIncreaseResponse
Submits a quota increase request for the specified quota at the account or resource level.
-
#start_auto_management(params = {}) ⇒ Struct
Starts [Service Quotas Automatic Management][1] for an Amazon Web Services account, including notification preferences and excluded quotas configurations.
-
#start_quota_utilization_report(params = {}) ⇒ Types::StartQuotaUtilizationReportResponse
Initiates the generation of a quota utilization report for your Amazon Web Services account.
-
#stop_auto_management(params = {}) ⇒ Struct
Stops [Service Quotas Automatic Management][1] for an Amazon Web Services account and removes all associated configurations.
-
#tag_resource(params = {}) ⇒ Struct
Adds tags to the specified applied quota.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from the specified applied quota.
-
#update_auto_management(params = {}) ⇒ Struct
Updates your [Service Quotas Automatic Management][1] configuration, including notification preferences and excluded quotas.
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.
480 481 482 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 480 def initialize(*args) super end |
Instance Method Details
#associate_service_quota_template(params = {}) ⇒ Struct
Associates your quota request template with your organization. When a new Amazon Web Services account is created in your organization, the quota increase requests in the template are automatically applied to the account. You can add a quota increase request for any adjustable quota to your template.
498 499 500 501 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 498 def associate_service_quota_template(params = {}, = {}) req = build_request(:associate_service_quota_template, params) req.send_request() end |
#create_support_case(params = {}) ⇒ Struct
Creates a Support case for an existing quota increase request. This
call only creates a Support case if the request has a Pending
status.
523 524 525 526 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 523 def create_support_case(params = {}, = {}) req = build_request(:create_support_case, params) req.send_request() end |
#delete_service_quota_increase_request_from_template(params = {}) ⇒ Struct
Deletes the quota increase request for the specified quota from your quota request template.
558 559 560 561 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 558 def delete_service_quota_increase_request_from_template(params = {}, = {}) req = build_request(:delete_service_quota_increase_request_from_template, params) req.send_request() end |
#disassociate_service_quota_template(params = {}) ⇒ Struct
Disables your quota request template. After a template is disabled, the quota increase requests in the template are not applied to new Amazon Web Services accounts in your organization. Disabling a quota request template does not apply its quota increase requests.
574 575 576 577 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 574 def disassociate_service_quota_template(params = {}, = {}) req = build_request(:disassociate_service_quota_template, params) req.send_request() end |
#get_association_for_service_quota_template(params = {}) ⇒ Types::GetAssociationForServiceQuotaTemplateResponse
Retrieves the status of the association for the quota request template.
652 653 654 655 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 652 def get_association_for_service_quota_template(params = {}, = {}) req = build_request(:get_association_for_service_quota_template, params) req.send_request() end |
#get_auto_management_configuration(params = {}) ⇒ Types::GetAutoManagementConfigurationResponse
Retrieves information about your Service Quotas Automatic Management configuration. Automatic Management monitors your Service Quotas utilization and notifies you before you run out of your allocated quotas.
689 690 691 692 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 689 def get_auto_management_configuration(params = {}, = {}) req = build_request(:get_auto_management_configuration, params) req.send_request() end |
#get_aws_default_service_quota(params = {}) ⇒ Types::GetAWSDefaultServiceQuotaResponse
Retrieves the default value for the specified quota. The default value does not reflect any quota increases.
632 633 634 635 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 632 def get_aws_default_service_quota(params = {}, = {}) req = build_request(:get_aws_default_service_quota, params) req.send_request() end |
#get_quota_utilization_report(params = {}) ⇒ Types::GetQuotaUtilizationReportResponse
Retrieves the quota utilization report for your Amazon Web Services account. This operation returns paginated results showing your quota usage across all Amazon Web Services services, sorted by utilization percentage in descending order (highest utilization first).
You must first initiate a report using the
StartQuotaUtilizationReport operation. The report generation process
is asynchronous and may take several seconds to complete. Poll this
operation periodically to check the status and retrieve results when
the report is ready.
Each report contains up to 1,000 quota records per page. Use the
NextToken parameter to retrieve additional pages of results. Reports
are automatically deleted after 15 minutes.
765 766 767 768 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 765 def get_quota_utilization_report(params = {}, = {}) req = build_request(:get_quota_utilization_report, params) req.send_request() end |
#get_requested_service_quota_change(params = {}) ⇒ Types::GetRequestedServiceQuotaChangeResponse
Retrieves information about the specified quota increase request.
811 812 813 814 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 811 def get_requested_service_quota_change(params = {}, = {}) req = build_request(:get_requested_service_quota_change, params) req.send_request() end |
#get_service_quota(params = {}) ⇒ Types::GetServiceQuotaResponse
Retrieves the applied quota value for the specified account-level or resource-level quota. For some quotas, only the default values are available. If the applied quota value is not available for a quota, the quota is not retrieved.
875 876 877 878 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 875 def get_service_quota(params = {}, = {}) req = build_request(:get_service_quota, params) req.send_request() end |
#get_service_quota_increase_request_from_template(params = {}) ⇒ Types::GetServiceQuotaIncreaseRequestFromTemplateResponse
Retrieves information about the specified quota increase request in your quota request template.
923 924 925 926 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 923 def get_service_quota_increase_request_from_template(params = {}, = {}) req = build_request(:get_service_quota_increase_request_from_template, params) req.send_request() end |
#list_aws_default_service_quotas(params = {}) ⇒ Types::ListAWSDefaultServiceQuotasResponse
Lists the default values for the quotas for the specified Amazon Web Services service. A default value does not reflect any quota increases.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1005 1006 1007 1008 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 1005 def list_aws_default_service_quotas(params = {}, = {}) req = build_request(:list_aws_default_service_quotas, params) req.send_request() end |
#list_requested_service_quota_change_history(params = {}) ⇒ Types::ListRequestedServiceQuotaChangeHistoryResponse
Retrieves the quota increase requests for the specified Amazon Web Services service. Filter responses to return quota requests at either the account level, resource level, or all levels. Responses include any open or closed requests within 90 days.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1094 1095 1096 1097 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 1094 def list_requested_service_quota_change_history(params = {}, = {}) req = build_request(:list_requested_service_quota_change_history, params) req.send_request() end |
#list_requested_service_quota_change_history_by_quota(params = {}) ⇒ Types::ListRequestedServiceQuotaChangeHistoryByQuotaResponse
Retrieves the quota increase requests for the specified quota. Filter responses to return quota requests at either the account level, resource level, or all levels.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1188 1189 1190 1191 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 1188 def list_requested_service_quota_change_history_by_quota(params = {}, = {}) req = build_request(:list_requested_service_quota_change_history_by_quota, params) req.send_request() end |
#list_service_quota_increase_requests_in_template(params = {}) ⇒ Types::ListServiceQuotaIncreaseRequestsInTemplateResponse
Lists the quota increase requests in the specified quota request template.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1259 1260 1261 1262 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 1259 def list_service_quota_increase_requests_in_template(params = {}, = {}) req = build_request(:list_service_quota_increase_requests_in_template, params) req.send_request() end |
#list_service_quotas(params = {}) ⇒ Types::ListServiceQuotasResponse
Lists the applied quota values for the specified Amazon Web Services service. For some quotas, only the default values are available. If the applied quota value is not available for a quota, the quota is not retrieved. Filter responses to return applied quota values at either the account level, resource level, or all levels.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1354 1355 1356 1357 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 1354 def list_service_quotas(params = {}, = {}) req = build_request(:list_service_quotas, params) req.send_request() end |
#list_services(params = {}) ⇒ Types::ListServicesResponse
Lists the names and codes for the Amazon Web Services services integrated with Service Quotas.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1409 1410 1411 1412 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 1409 def list_services(params = {}, = {}) req = build_request(:list_services, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns a list of the tags assigned to the specified applied quota.
1448 1449 1450 1451 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 1448 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#put_service_quota_increase_request_into_template(params = {}) ⇒ Types::PutServiceQuotaIncreaseRequestIntoTemplateResponse
Adds a quota increase request to your quota request template.
1499 1500 1501 1502 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 1499 def put_service_quota_increase_request_into_template(params = {}, = {}) req = build_request(:put_service_quota_increase_request_into_template, params) req.send_request() end |
#request_service_quota_increase(params = {}) ⇒ Types::RequestServiceQuotaIncreaseResponse
Submits a quota increase request for the specified quota at the account or resource level.
1573 1574 1575 1576 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 1573 def request_service_quota_increase(params = {}, = {}) req = build_request(:request_service_quota_increase, params) req.send_request() end |
#start_auto_management(params = {}) ⇒ Struct
Starts Service Quotas Automatic Management for an Amazon Web Services account, including notification preferences and excluded quotas configurations. Automatic Management monitors your Service Quotas utilization and notifies you before you run out of your allocated quotas.
1628 1629 1630 1631 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 1628 def start_auto_management(params = {}, = {}) req = build_request(:start_auto_management, params) req.send_request() end |
#start_quota_utilization_report(params = {}) ⇒ Types::StartQuotaUtilizationReportResponse
Initiates the generation of a quota utilization report for your Amazon Web Services account. This asynchronous operation analyzes your quota usage across all Amazon Web Services services and returns a unique report identifier that you can use to retrieve the results.
The report generation process may take several seconds to complete,
depending on the number of quotas in your account. Use the
GetQuotaUtilizationReport operation to check the status and retrieve
the results when the report is ready.
1659 1660 1661 1662 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 1659 def start_quota_utilization_report(params = {}, = {}) req = build_request(:start_quota_utilization_report, params) req.send_request() end |
#stop_auto_management(params = {}) ⇒ Struct
Stops Service Quotas Automatic Management for an Amazon Web Services account and removes all associated configurations. Automatic Management monitors your Service Quotas utilization and notifies you before you run out of your allocated quotas.
1679 1680 1681 1682 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 1679 def stop_auto_management(params = {}, = {}) req = build_request(:stop_auto_management, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds tags to the specified applied quota. You can include one or more tags to add to the quota.
1719 1720 1721 1722 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 1719 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from the specified applied quota. You can specify one or more tags to remove.
1755 1756 1757 1758 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 1755 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_auto_management(params = {}) ⇒ Struct
Updates your Service Quotas Automatic Management configuration, including notification preferences and excluded quotas. Automatic Management monitors your Service Quotas utilization and notifies you before you run out of your allocated quotas.
1804 1805 1806 1807 |
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb', line 1804 def update_auto_management(params = {}, = {}) req = build_request(:update_auto_management, params) req.send_request() end |