aws-sdk-servicequotas 1.55.0 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-servicequotas/client.rb +26 -1
- data/lib/aws-sdk-servicequotas/client_api.rb +23 -0
- data/lib/aws-sdk-servicequotas/types.rb +17 -0
- data/lib/aws-sdk-servicequotas.rb +1 -1
- data/sig/client.rbs +9 -0
- data/sig/types.rbs +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e47f7858ff599d7d6215c131b60845ee7c7bdc0a75de10f6683a39997b78fa9
|
4
|
+
data.tar.gz: 8c0ad5cac82fb60dfffddb7c13cde2c96e0401198c40fae5a2a95d18a6ae960a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 976eb8d752664292d3b3df9c84810027223c236da0088fb27ef83b48e9e548a5551d4eab5d8dc5468a9dcd786f5482df9a2bfd2b7de3382f3008102de87ab4ec
|
7
|
+
data.tar.gz: 3599a8d082b0d19cf5b7946312b4a06a1b95d461edffdb327faf9741b13c48d2d0f1a63cac46e39e782e25b82443ce1bdf8b382bed4ba624585ec2624c9689ba
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.56.0
|
@@ -493,6 +493,31 @@ module Aws::ServiceQuotas
|
|
493
493
|
req.send_request(options)
|
494
494
|
end
|
495
495
|
|
496
|
+
# Creates a Support case for an existing quota increase request. This
|
497
|
+
# call only creates a Support case if the request has a `Pending`
|
498
|
+
# status.
|
499
|
+
#
|
500
|
+
# @option params [required, String] :request_id
|
501
|
+
# The ID of the pending quota increase request for which you want to
|
502
|
+
# open a Support case.
|
503
|
+
#
|
504
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
505
|
+
#
|
506
|
+
# @example Request syntax with placeholder values
|
507
|
+
#
|
508
|
+
# resp = client.create_support_case({
|
509
|
+
# request_id: "RequestId", # required
|
510
|
+
# })
|
511
|
+
#
|
512
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/CreateSupportCase AWS API Documentation
|
513
|
+
#
|
514
|
+
# @overload create_support_case(params = {})
|
515
|
+
# @param [Hash] params ({})
|
516
|
+
def create_support_case(params = {}, options = {})
|
517
|
+
req = build_request(:create_support_case, params)
|
518
|
+
req.send_request(options)
|
519
|
+
end
|
520
|
+
|
496
521
|
# Deletes the quota increase request for the specified quota from your
|
497
522
|
# quota request template.
|
498
523
|
#
|
@@ -1520,7 +1545,7 @@ module Aws::ServiceQuotas
|
|
1520
1545
|
tracer: tracer
|
1521
1546
|
)
|
1522
1547
|
context[:gem_name] = 'aws-sdk-servicequotas'
|
1523
|
-
context[:gem_version] = '1.
|
1548
|
+
context[:gem_version] = '1.56.0'
|
1524
1549
|
Seahorse::Client::Request.new(handlers, context)
|
1525
1550
|
end
|
1526
1551
|
|
@@ -21,6 +21,8 @@ module Aws::ServiceQuotas
|
|
21
21
|
AssociateServiceQuotaTemplateRequest = Shapes::StructureShape.new(name: 'AssociateServiceQuotaTemplateRequest')
|
22
22
|
AssociateServiceQuotaTemplateResponse = Shapes::StructureShape.new(name: 'AssociateServiceQuotaTemplateResponse')
|
23
23
|
AwsRegion = Shapes::StringShape.new(name: 'AwsRegion')
|
24
|
+
CreateSupportCaseRequest = Shapes::StructureShape.new(name: 'CreateSupportCaseRequest')
|
25
|
+
CreateSupportCaseResponse = Shapes::StructureShape.new(name: 'CreateSupportCaseResponse')
|
24
26
|
CustomerServiceEngagementId = Shapes::StringShape.new(name: 'CustomerServiceEngagementId')
|
25
27
|
DateTime = Shapes::TimestampShape.new(name: 'DateTime')
|
26
28
|
DeleteServiceQuotaIncreaseRequestFromTemplateRequest = Shapes::StructureShape.new(name: 'DeleteServiceQuotaIncreaseRequestFromTemplateRequest')
|
@@ -134,6 +136,11 @@ module Aws::ServiceQuotas
|
|
134
136
|
|
135
137
|
AssociateServiceQuotaTemplateResponse.struct_class = Types::AssociateServiceQuotaTemplateResponse
|
136
138
|
|
139
|
+
CreateSupportCaseRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, required: true, location_name: "RequestId"))
|
140
|
+
CreateSupportCaseRequest.struct_class = Types::CreateSupportCaseRequest
|
141
|
+
|
142
|
+
CreateSupportCaseResponse.struct_class = Types::CreateSupportCaseResponse
|
143
|
+
|
137
144
|
DeleteServiceQuotaIncreaseRequestFromTemplateRequest.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, required: true, location_name: "ServiceCode"))
|
138
145
|
DeleteServiceQuotaIncreaseRequestFromTemplateRequest.add_member(:quota_code, Shapes::ShapeRef.new(shape: QuotaCode, required: true, location_name: "QuotaCode"))
|
139
146
|
DeleteServiceQuotaIncreaseRequestFromTemplateRequest.add_member(:aws_region, Shapes::ShapeRef.new(shape: AwsRegion, required: true, location_name: "AwsRegion"))
|
@@ -447,6 +454,22 @@ module Aws::ServiceQuotas
|
|
447
454
|
o.errors << Shapes::ShapeRef.new(shape: NoAvailableOrganizationException)
|
448
455
|
end)
|
449
456
|
|
457
|
+
api.add_operation(:create_support_case, Seahorse::Model::Operation.new.tap do |o|
|
458
|
+
o.name = "CreateSupportCase"
|
459
|
+
o.http_method = "POST"
|
460
|
+
o.http_request_uri = "/"
|
461
|
+
o.input = Shapes::ShapeRef.new(shape: CreateSupportCaseRequest)
|
462
|
+
o.output = Shapes::ShapeRef.new(shape: CreateSupportCaseResponse)
|
463
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyAccessDeniedException)
|
464
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
465
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchResourceException)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
|
469
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
470
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
471
|
+
end)
|
472
|
+
|
450
473
|
api.add_operation(:delete_service_quota_increase_request_from_template, Seahorse::Model::Operation.new.tap do |o|
|
451
474
|
o.name = "DeleteServiceQuotaIncreaseRequestFromTemplate"
|
452
475
|
o.http_method = "POST"
|
@@ -47,6 +47,23 @@ module Aws::ServiceQuotas
|
|
47
47
|
#
|
48
48
|
class AssociateServiceQuotaTemplateResponse < Aws::EmptyStructure; end
|
49
49
|
|
50
|
+
# @!attribute [rw] request_id
|
51
|
+
# The ID of the pending quota increase request for which you want to
|
52
|
+
# open a Support case.
|
53
|
+
# @return [String]
|
54
|
+
#
|
55
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/CreateSupportCaseRequest AWS API Documentation
|
56
|
+
#
|
57
|
+
class CreateSupportCaseRequest < Struct.new(
|
58
|
+
:request_id)
|
59
|
+
SENSITIVE = []
|
60
|
+
include Aws::Structure
|
61
|
+
end
|
62
|
+
|
63
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/CreateSupportCaseResponse AWS API Documentation
|
64
|
+
#
|
65
|
+
class CreateSupportCaseResponse < Aws::EmptyStructure; end
|
66
|
+
|
50
67
|
# @!attribute [rw] service_code
|
51
68
|
# Specifies the service identifier. To find the service code value for
|
52
69
|
# an Amazon Web Services service, use the ListServices operation.
|
data/sig/client.rbs
CHANGED
@@ -86,6 +86,15 @@ module Aws
|
|
86
86
|
) -> _AssociateServiceQuotaTemplateResponseSuccess
|
87
87
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateServiceQuotaTemplateResponseSuccess
|
88
88
|
|
89
|
+
interface _CreateSupportCaseResponseSuccess
|
90
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSupportCaseResponse]
|
91
|
+
end
|
92
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceQuotas/Client.html#create_support_case-instance_method
|
93
|
+
def create_support_case: (
|
94
|
+
request_id: ::String
|
95
|
+
) -> _CreateSupportCaseResponseSuccess
|
96
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSupportCaseResponseSuccess
|
97
|
+
|
89
98
|
interface _DeleteServiceQuotaIncreaseRequestFromTemplateResponseSuccess
|
90
99
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteServiceQuotaIncreaseRequestFromTemplateResponse]
|
91
100
|
end
|
data/sig/types.rbs
CHANGED
@@ -24,6 +24,14 @@ module Aws::ServiceQuotas
|
|
24
24
|
class AssociateServiceQuotaTemplateResponse < Aws::EmptyStructure
|
25
25
|
end
|
26
26
|
|
27
|
+
class CreateSupportCaseRequest
|
28
|
+
attr_accessor request_id: ::String
|
29
|
+
SENSITIVE: []
|
30
|
+
end
|
31
|
+
|
32
|
+
class CreateSupportCaseResponse < Aws::EmptyStructure
|
33
|
+
end
|
34
|
+
|
27
35
|
class DeleteServiceQuotaIncreaseRequestFromTemplateRequest
|
28
36
|
attr_accessor service_code: ::String
|
29
37
|
attr_accessor quota_code: ::String
|