Class: Aws::ServiceQuotas::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::ServiceQuotas::Client
- Includes:
- ClientStubs
- Defined in:
- 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](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#associate_service_quota_template(params = {}) ⇒ Struct
Associates your quota request template with your organization.
-
#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_aws_default_service_quota(params = {}) ⇒ Types::GetAWSDefaultServiceQuotaResponse
Retrieves the default value for the specified quota.
-
#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 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 Service.
-
#list_requested_service_quota_change_history(params = {}) ⇒ Types::ListRequestedServiceQuotaChangeHistoryResponse
Retrieves the quota increase requests for the specified Amazon Web 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 Service.
-
#list_services(params = {}) ⇒ Types::ListServicesResponse
Lists the names and codes for the Amazon Web 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.
-
#tag_resource(params = {}) ⇒ Struct
Adds tags to the specified applied quota.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from the specified applied quota.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
451 452 453 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 451 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1493 1494 1495 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 1493 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1496 1497 1498 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 1496 def errors_module Errors 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.
469 470 471 472 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 469 def associate_service_quota_template(params = {}, = {}) req = build_request(:associate_service_quota_template, params) req.send_request() end |
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 1466 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::ServiceQuotas') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-servicequotas' context[:gem_version] = '1.48.0' Seahorse::Client::Request.new(handlers, context) end |
#delete_service_quota_increase_request_from_template(params = {}) ⇒ Struct
Deletes the quota increase request for the specified quota from your quota request template.
504 505 506 507 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 504 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.
520 521 522 523 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 520 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.
597 598 599 600 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 597 def get_association_for_service_quota_template(params = {}, = {}) req = build_request(:get_association_for_service_quota_template, 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.
577 578 579 580 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 577 def get_aws_default_service_quota(params = {}, = {}) req = build_request(:get_aws_default_service_quota, params) req.send_request() end |
#get_requested_service_quota_change(params = {}) ⇒ Types::GetRequestedServiceQuotaChangeResponse
Retrieves information about the specified quota increase request.
642 643 644 645 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 642 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 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.
706 707 708 709 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 706 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.
754 755 756 757 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 754 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 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.
834 835 836 837 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 834 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 Service.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
920 921 922 923 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 920 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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1011 1012 1013 1014 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 1011 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.
1082 1083 1084 1085 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 1082 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 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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1174 1175 1176 1177 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 1174 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 integrated with Service Quotas.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1229 1230 1231 1232 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 1229 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.
1268 1269 1270 1271 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 1268 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.
1319 1320 1321 1322 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 1319 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.
1381 1382 1383 1384 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 1381 def request_service_quota_increase(params = {}, = {}) req = build_request(:request_service_quota_increase, 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.
1421 1422 1423 1424 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 1421 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.
1457 1458 1459 1460 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 1457 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1486 1487 1488 |
# File 'lib/aws-sdk-servicequotas/client.rb', line 1486 def waiter_names [] end |