aws-sdk-apigateway 1.109.0 → 1.110.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,7 @@ module Aws::APIGateway
14
14
 
15
15
  include Seahorse::Model
16
16
 
17
+ AccessAssociationSourceType = Shapes::StringShape.new(name: 'AccessAssociationSourceType')
17
18
  AccessLogSettings = Shapes::StructureShape.new(name: 'AccessLogSettings')
18
19
  Account = Shapes::StructureShape.new(name: 'Account')
19
20
  ApiKey = Shapes::StructureShape.new(name: 'ApiKey')
@@ -44,6 +45,7 @@ module Aws::APIGateway
44
45
  CreateDeploymentRequest = Shapes::StructureShape.new(name: 'CreateDeploymentRequest')
45
46
  CreateDocumentationPartRequest = Shapes::StructureShape.new(name: 'CreateDocumentationPartRequest')
46
47
  CreateDocumentationVersionRequest = Shapes::StructureShape.new(name: 'CreateDocumentationVersionRequest')
48
+ CreateDomainNameAccessAssociationRequest = Shapes::StructureShape.new(name: 'CreateDomainNameAccessAssociationRequest')
47
49
  CreateDomainNameRequest = Shapes::StructureShape.new(name: 'CreateDomainNameRequest')
48
50
  CreateModelRequest = Shapes::StructureShape.new(name: 'CreateModelRequest')
49
51
  CreateRequestValidatorRequest = Shapes::StructureShape.new(name: 'CreateRequestValidatorRequest')
@@ -60,6 +62,7 @@ module Aws::APIGateway
60
62
  DeleteDeploymentRequest = Shapes::StructureShape.new(name: 'DeleteDeploymentRequest')
61
63
  DeleteDocumentationPartRequest = Shapes::StructureShape.new(name: 'DeleteDocumentationPartRequest')
62
64
  DeleteDocumentationVersionRequest = Shapes::StructureShape.new(name: 'DeleteDocumentationVersionRequest')
65
+ DeleteDomainNameAccessAssociationRequest = Shapes::StructureShape.new(name: 'DeleteDomainNameAccessAssociationRequest')
63
66
  DeleteDomainNameRequest = Shapes::StructureShape.new(name: 'DeleteDomainNameRequest')
64
67
  DeleteGatewayResponseRequest = Shapes::StructureShape.new(name: 'DeleteGatewayResponseRequest')
65
68
  DeleteIntegrationRequest = Shapes::StructureShape.new(name: 'DeleteIntegrationRequest')
@@ -86,6 +89,8 @@ module Aws::APIGateway
86
89
  DocumentationVersion = Shapes::StructureShape.new(name: 'DocumentationVersion')
87
90
  DocumentationVersions = Shapes::StructureShape.new(name: 'DocumentationVersions')
88
91
  DomainName = Shapes::StructureShape.new(name: 'DomainName')
92
+ DomainNameAccessAssociation = Shapes::StructureShape.new(name: 'DomainNameAccessAssociation')
93
+ DomainNameAccessAssociations = Shapes::StructureShape.new(name: 'DomainNameAccessAssociations')
89
94
  DomainNameStatus = Shapes::StringShape.new(name: 'DomainNameStatus')
90
95
  DomainNames = Shapes::StructureShape.new(name: 'DomainNames')
91
96
  Double = Shapes::FloatShape.new(name: 'Double')
@@ -113,6 +118,7 @@ module Aws::APIGateway
113
118
  GetDocumentationPartsRequest = Shapes::StructureShape.new(name: 'GetDocumentationPartsRequest')
114
119
  GetDocumentationVersionRequest = Shapes::StructureShape.new(name: 'GetDocumentationVersionRequest')
115
120
  GetDocumentationVersionsRequest = Shapes::StructureShape.new(name: 'GetDocumentationVersionsRequest')
121
+ GetDomainNameAccessAssociationsRequest = Shapes::StructureShape.new(name: 'GetDomainNameAccessAssociationsRequest')
116
122
  GetDomainNameRequest = Shapes::StructureShape.new(name: 'GetDomainNameRequest')
117
123
  GetDomainNamesRequest = Shapes::StructureShape.new(name: 'GetDomainNamesRequest')
118
124
  GetExportRequest = Shapes::StructureShape.new(name: 'GetExportRequest')
@@ -162,6 +168,7 @@ module Aws::APIGateway
162
168
  ListOfDocumentationPart = Shapes::ListShape.new(name: 'ListOfDocumentationPart')
163
169
  ListOfDocumentationVersion = Shapes::ListShape.new(name: 'ListOfDocumentationVersion')
164
170
  ListOfDomainName = Shapes::ListShape.new(name: 'ListOfDomainName')
171
+ ListOfDomainNameAccessAssociation = Shapes::ListShape.new(name: 'ListOfDomainNameAccessAssociation')
165
172
  ListOfEndpointType = Shapes::ListShape.new(name: 'ListOfEndpointType')
166
173
  ListOfGatewayResponse = Shapes::ListShape.new(name: 'ListOfGatewayResponse')
167
174
  ListOfLong = Shapes::ListShape.new(name: 'ListOfLong')
@@ -215,9 +222,11 @@ module Aws::APIGateway
215
222
  PutRestApiRequest = Shapes::StructureShape.new(name: 'PutRestApiRequest')
216
223
  QuotaPeriodType = Shapes::StringShape.new(name: 'QuotaPeriodType')
217
224
  QuotaSettings = Shapes::StructureShape.new(name: 'QuotaSettings')
225
+ RejectDomainNameAccessAssociationRequest = Shapes::StructureShape.new(name: 'RejectDomainNameAccessAssociationRequest')
218
226
  RequestValidator = Shapes::StructureShape.new(name: 'RequestValidator')
219
227
  RequestValidators = Shapes::StructureShape.new(name: 'RequestValidators')
220
228
  Resource = Shapes::StructureShape.new(name: 'Resource')
229
+ ResourceOwner = Shapes::StringShape.new(name: 'ResourceOwner')
221
230
  Resources = Shapes::StructureShape.new(name: 'Resources')
222
231
  RestApi = Shapes::StructureShape.new(name: 'RestApi')
223
232
  RestApis = Shapes::StructureShape.new(name: 'RestApis')
@@ -385,6 +394,7 @@ module Aws::APIGateway
385
394
  CreateAuthorizerRequest.struct_class = Types::CreateAuthorizerRequest
386
395
 
387
396
  CreateBasePathMappingRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "domain_name"))
397
+ CreateBasePathMappingRequest.add_member(:domain_name_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "domainNameId"))
388
398
  CreateBasePathMappingRequest.add_member(:base_path, Shapes::ShapeRef.new(shape: String, location_name: "basePath"))
389
399
  CreateBasePathMappingRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "restApiId"))
390
400
  CreateBasePathMappingRequest.add_member(:stage, Shapes::ShapeRef.new(shape: String, location_name: "stage"))
@@ -412,6 +422,12 @@ module Aws::APIGateway
412
422
  CreateDocumentationVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
413
423
  CreateDocumentationVersionRequest.struct_class = Types::CreateDocumentationVersionRequest
414
424
 
425
+ CreateDomainNameAccessAssociationRequest.add_member(:domain_name_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "domainNameArn"))
426
+ CreateDomainNameAccessAssociationRequest.add_member(:access_association_source_type, Shapes::ShapeRef.new(shape: AccessAssociationSourceType, required: true, location_name: "accessAssociationSourceType"))
427
+ CreateDomainNameAccessAssociationRequest.add_member(:access_association_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "accessAssociationSource"))
428
+ CreateDomainNameAccessAssociationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "tags"))
429
+ CreateDomainNameAccessAssociationRequest.struct_class = Types::CreateDomainNameAccessAssociationRequest
430
+
415
431
  CreateDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "domainName"))
416
432
  CreateDomainNameRequest.add_member(:certificate_name, Shapes::ShapeRef.new(shape: String, location_name: "certificateName"))
417
433
  CreateDomainNameRequest.add_member(:certificate_body, Shapes::ShapeRef.new(shape: String, location_name: "certificateBody"))
@@ -425,6 +441,7 @@ module Aws::APIGateway
425
441
  CreateDomainNameRequest.add_member(:security_policy, Shapes::ShapeRef.new(shape: SecurityPolicy, location_name: "securityPolicy"))
426
442
  CreateDomainNameRequest.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthenticationInput, location_name: "mutualTlsAuthentication"))
427
443
  CreateDomainNameRequest.add_member(:ownership_verification_certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "ownershipVerificationCertificateArn"))
444
+ CreateDomainNameRequest.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "policy"))
428
445
  CreateDomainNameRequest.struct_class = Types::CreateDomainNameRequest
429
446
 
430
447
  CreateModelRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
@@ -498,6 +515,7 @@ module Aws::APIGateway
498
515
  DeleteAuthorizerRequest.struct_class = Types::DeleteAuthorizerRequest
499
516
 
500
517
  DeleteBasePathMappingRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "domain_name"))
518
+ DeleteBasePathMappingRequest.add_member(:domain_name_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "domainNameId"))
501
519
  DeleteBasePathMappingRequest.add_member(:base_path, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "base_path"))
502
520
  DeleteBasePathMappingRequest.struct_class = Types::DeleteBasePathMappingRequest
503
521
 
@@ -516,7 +534,11 @@ module Aws::APIGateway
516
534
  DeleteDocumentationVersionRequest.add_member(:documentation_version, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "doc_version"))
517
535
  DeleteDocumentationVersionRequest.struct_class = Types::DeleteDocumentationVersionRequest
518
536
 
537
+ DeleteDomainNameAccessAssociationRequest.add_member(:domain_name_access_association_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "domain_name_access_association_arn"))
538
+ DeleteDomainNameAccessAssociationRequest.struct_class = Types::DeleteDomainNameAccessAssociationRequest
539
+
519
540
  DeleteDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "domain_name"))
541
+ DeleteDomainNameRequest.add_member(:domain_name_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "domainNameId"))
520
542
  DeleteDomainNameRequest.struct_class = Types::DeleteDomainNameRequest
521
543
 
522
544
  DeleteGatewayResponseRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
@@ -619,6 +641,8 @@ module Aws::APIGateway
619
641
  DocumentationVersions.struct_class = Types::DocumentationVersions
620
642
 
621
643
  DomainName.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, location_name: "domainName"))
644
+ DomainName.add_member(:domain_name_id, Shapes::ShapeRef.new(shape: String, location_name: "domainNameId"))
645
+ DomainName.add_member(:domain_name_arn, Shapes::ShapeRef.new(shape: String, location_name: "domainNameArn"))
622
646
  DomainName.add_member(:certificate_name, Shapes::ShapeRef.new(shape: String, location_name: "certificateName"))
623
647
  DomainName.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "certificateArn"))
624
648
  DomainName.add_member(:certificate_upload_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "certificateUploadDate"))
@@ -635,8 +659,21 @@ module Aws::APIGateway
635
659
  DomainName.add_member(:tags, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "tags"))
636
660
  DomainName.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthentication, location_name: "mutualTlsAuthentication"))
637
661
  DomainName.add_member(:ownership_verification_certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "ownershipVerificationCertificateArn"))
662
+ DomainName.add_member(:management_policy, Shapes::ShapeRef.new(shape: String, location_name: "managementPolicy"))
663
+ DomainName.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "policy"))
638
664
  DomainName.struct_class = Types::DomainName
639
665
 
666
+ DomainNameAccessAssociation.add_member(:domain_name_access_association_arn, Shapes::ShapeRef.new(shape: String, location_name: "domainNameAccessAssociationArn"))
667
+ DomainNameAccessAssociation.add_member(:domain_name_arn, Shapes::ShapeRef.new(shape: String, location_name: "domainNameArn"))
668
+ DomainNameAccessAssociation.add_member(:access_association_source_type, Shapes::ShapeRef.new(shape: AccessAssociationSourceType, location_name: "accessAssociationSourceType"))
669
+ DomainNameAccessAssociation.add_member(:access_association_source, Shapes::ShapeRef.new(shape: String, location_name: "accessAssociationSource"))
670
+ DomainNameAccessAssociation.add_member(:tags, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "tags"))
671
+ DomainNameAccessAssociation.struct_class = Types::DomainNameAccessAssociation
672
+
673
+ DomainNameAccessAssociations.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
674
+ DomainNameAccessAssociations.add_member(:items, Shapes::ShapeRef.new(shape: ListOfDomainNameAccessAssociation, location_name: "item"))
675
+ DomainNameAccessAssociations.struct_class = Types::DomainNameAccessAssociations
676
+
640
677
  DomainNames.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
641
678
  DomainNames.add_member(:items, Shapes::ShapeRef.new(shape: ListOfDomainName, location_name: "item"))
642
679
  DomainNames.struct_class = Types::DomainNames
@@ -698,10 +735,12 @@ module Aws::APIGateway
698
735
  GetAuthorizersRequest.struct_class = Types::GetAuthorizersRequest
699
736
 
700
737
  GetBasePathMappingRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "domain_name"))
738
+ GetBasePathMappingRequest.add_member(:domain_name_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "domainNameId"))
701
739
  GetBasePathMappingRequest.add_member(:base_path, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "base_path"))
702
740
  GetBasePathMappingRequest.struct_class = Types::GetBasePathMappingRequest
703
741
 
704
742
  GetBasePathMappingsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "domain_name"))
743
+ GetBasePathMappingsRequest.add_member(:domain_name_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "domainNameId"))
705
744
  GetBasePathMappingsRequest.add_member(:position, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "position"))
706
745
  GetBasePathMappingsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: NullableInteger, location: "querystring", location_name: "limit"))
707
746
  GetBasePathMappingsRequest.struct_class = Types::GetBasePathMappingsRequest
@@ -745,11 +784,18 @@ module Aws::APIGateway
745
784
  GetDocumentationVersionsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: NullableInteger, location: "querystring", location_name: "limit"))
746
785
  GetDocumentationVersionsRequest.struct_class = Types::GetDocumentationVersionsRequest
747
786
 
787
+ GetDomainNameAccessAssociationsRequest.add_member(:position, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "position"))
788
+ GetDomainNameAccessAssociationsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: NullableInteger, location: "querystring", location_name: "limit"))
789
+ GetDomainNameAccessAssociationsRequest.add_member(:resource_owner, Shapes::ShapeRef.new(shape: ResourceOwner, location: "querystring", location_name: "resourceOwner"))
790
+ GetDomainNameAccessAssociationsRequest.struct_class = Types::GetDomainNameAccessAssociationsRequest
791
+
748
792
  GetDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "domain_name"))
793
+ GetDomainNameRequest.add_member(:domain_name_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "domainNameId"))
749
794
  GetDomainNameRequest.struct_class = Types::GetDomainNameRequest
750
795
 
751
796
  GetDomainNamesRequest.add_member(:position, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "position"))
752
797
  GetDomainNamesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: NullableInteger, location: "querystring", location_name: "limit"))
798
+ GetDomainNamesRequest.add_member(:resource_owner, Shapes::ShapeRef.new(shape: ResourceOwner, location: "querystring", location_name: "resourceOwner"))
753
799
  GetDomainNamesRequest.struct_class = Types::GetDomainNamesRequest
754
800
 
755
801
  GetExportRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
@@ -960,6 +1006,8 @@ module Aws::APIGateway
960
1006
 
961
1007
  ListOfDomainName.member = Shapes::ShapeRef.new(shape: DomainName)
962
1008
 
1009
+ ListOfDomainNameAccessAssociation.member = Shapes::ShapeRef.new(shape: DomainNameAccessAssociation)
1010
+
963
1011
  ListOfEndpointType.member = Shapes::ShapeRef.new(shape: EndpointType)
964
1012
 
965
1013
  ListOfGatewayResponse.member = Shapes::ShapeRef.new(shape: GatewayResponse)
@@ -1161,6 +1209,10 @@ module Aws::APIGateway
1161
1209
  QuotaSettings.add_member(:period, Shapes::ShapeRef.new(shape: QuotaPeriodType, location_name: "period"))
1162
1210
  QuotaSettings.struct_class = Types::QuotaSettings
1163
1211
 
1212
+ RejectDomainNameAccessAssociationRequest.add_member(:domain_name_access_association_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "querystring", location_name: "domainNameAccessAssociationArn"))
1213
+ RejectDomainNameAccessAssociationRequest.add_member(:domain_name_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "querystring", location_name: "domainNameArn"))
1214
+ RejectDomainNameAccessAssociationRequest.struct_class = Types::RejectDomainNameAccessAssociationRequest
1215
+
1164
1216
  RequestValidator.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
1165
1217
  RequestValidator.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
1166
1218
  RequestValidator.add_member(:validate_request_body, Shapes::ShapeRef.new(shape: Boolean, location_name: "validateRequestBody"))
@@ -1335,6 +1387,7 @@ module Aws::APIGateway
1335
1387
  UpdateAuthorizerRequest.struct_class = Types::UpdateAuthorizerRequest
1336
1388
 
1337
1389
  UpdateBasePathMappingRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "domain_name"))
1390
+ UpdateBasePathMappingRequest.add_member(:domain_name_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "domainNameId"))
1338
1391
  UpdateBasePathMappingRequest.add_member(:base_path, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "base_path"))
1339
1392
  UpdateBasePathMappingRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
1340
1393
  UpdateBasePathMappingRequest.struct_class = Types::UpdateBasePathMappingRequest
@@ -1359,6 +1412,7 @@ module Aws::APIGateway
1359
1412
  UpdateDocumentationVersionRequest.struct_class = Types::UpdateDocumentationVersionRequest
1360
1413
 
1361
1414
  UpdateDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "domain_name"))
1415
+ UpdateDomainNameRequest.add_member(:domain_name_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "domainNameId"))
1362
1416
  UpdateDomainNameRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
1363
1417
  UpdateDomainNameRequest.struct_class = Types::UpdateDomainNameRequest
1364
1418
 
@@ -1590,6 +1644,19 @@ module Aws::APIGateway
1590
1644
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1591
1645
  end)
1592
1646
 
1647
+ api.add_operation(:create_domain_name_access_association, Seahorse::Model::Operation.new.tap do |o|
1648
+ o.name = "CreateDomainNameAccessAssociation"
1649
+ o.http_method = "POST"
1650
+ o.http_request_uri = "/domainnameaccessassociations"
1651
+ o.input = Shapes::ShapeRef.new(shape: CreateDomainNameAccessAssociationRequest)
1652
+ o.output = Shapes::ShapeRef.new(shape: DomainNameAccessAssociation)
1653
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1654
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1655
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1656
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1657
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1658
+ end)
1659
+
1593
1660
  api.add_operation(:create_model, Seahorse::Model::Operation.new.tap do |o|
1594
1661
  o.name = "CreateModel"
1595
1662
  o.http_method = "POST"
@@ -1805,6 +1872,19 @@ module Aws::APIGateway
1805
1872
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1806
1873
  end)
1807
1874
 
1875
+ api.add_operation(:delete_domain_name_access_association, Seahorse::Model::Operation.new.tap do |o|
1876
+ o.name = "DeleteDomainNameAccessAssociation"
1877
+ o.http_method = "DELETE"
1878
+ o.http_request_uri = "/domainnameaccessassociations/{domain_name_access_association_arn}"
1879
+ o.input = Shapes::ShapeRef.new(shape: DeleteDomainNameAccessAssociationRequest)
1880
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1881
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1882
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1883
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1884
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1885
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1886
+ end)
1887
+
1808
1888
  api.add_operation(:delete_gateway_response, Seahorse::Model::Operation.new.tap do |o|
1809
1889
  o.name = "DeleteGatewayResponse"
1810
1890
  o.http_method = "DELETE"
@@ -2232,6 +2312,18 @@ module Aws::APIGateway
2232
2312
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2233
2313
  end)
2234
2314
 
2315
+ api.add_operation(:get_domain_name_access_associations, Seahorse::Model::Operation.new.tap do |o|
2316
+ o.name = "GetDomainNameAccessAssociations"
2317
+ o.http_method = "GET"
2318
+ o.http_request_uri = "/domainnameaccessassociations"
2319
+ o.input = Shapes::ShapeRef.new(shape: GetDomainNameAccessAssociationsRequest)
2320
+ o.output = Shapes::ShapeRef.new(shape: DomainNameAccessAssociations)
2321
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2322
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2323
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2324
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2325
+ end)
2326
+
2235
2327
  api.add_operation(:get_domain_names, Seahorse::Model::Operation.new.tap do |o|
2236
2328
  o.name = "GetDomainNames"
2237
2329
  o.http_method = "GET"
@@ -2771,6 +2863,19 @@ module Aws::APIGateway
2771
2863
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2772
2864
  end)
2773
2865
 
2866
+ api.add_operation(:reject_domain_name_access_association, Seahorse::Model::Operation.new.tap do |o|
2867
+ o.name = "RejectDomainNameAccessAssociation"
2868
+ o.http_method = "POST"
2869
+ o.http_request_uri = "/rejectdomainnameaccessassociations"
2870
+ o.input = Shapes::ShapeRef.new(shape: RejectDomainNameAccessAssociationRequest)
2871
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2872
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2873
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2874
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2875
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2876
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2877
+ end)
2878
+
2774
2879
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
2775
2880
  o.name = "TagResource"
2776
2881
  o.http_method = "PUT"