aws-sdk-elasticsearchservice 1.67.0 → 1.69.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 +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-elasticsearchservice/client.rb +330 -1
- data/lib/aws-sdk-elasticsearchservice/client_api.rb +246 -0
- data/lib/aws-sdk-elasticsearchservice/endpoint_provider.rb +35 -95
- data/lib/aws-sdk-elasticsearchservice/endpoints.rb +126 -0
- data/lib/aws-sdk-elasticsearchservice/plugins/endpoints.rb +18 -0
- data/lib/aws-sdk-elasticsearchservice/types.rb +404 -817
- data/lib/aws-sdk-elasticsearchservice.rb +1 -1
- metadata +2 -2
@@ -14,6 +14,7 @@ module Aws::ElasticsearchService
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
ARN = Shapes::StringShape.new(name: 'ARN')
|
17
|
+
AWSAccount = Shapes::StringShape.new(name: 'AWSAccount')
|
17
18
|
AcceptInboundCrossClusterSearchConnectionRequest = Shapes::StructureShape.new(name: 'AcceptInboundCrossClusterSearchConnectionRequest')
|
18
19
|
AcceptInboundCrossClusterSearchConnectionResponse = Shapes::StructureShape.new(name: 'AcceptInboundCrossClusterSearchConnectionResponse')
|
19
20
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
@@ -28,6 +29,10 @@ module Aws::ElasticsearchService
|
|
28
29
|
AdvancedSecurityOptionsStatus = Shapes::StructureShape.new(name: 'AdvancedSecurityOptionsStatus')
|
29
30
|
AssociatePackageRequest = Shapes::StructureShape.new(name: 'AssociatePackageRequest')
|
30
31
|
AssociatePackageResponse = Shapes::StructureShape.new(name: 'AssociatePackageResponse')
|
32
|
+
AuthorizeVpcEndpointAccessRequest = Shapes::StructureShape.new(name: 'AuthorizeVpcEndpointAccessRequest')
|
33
|
+
AuthorizeVpcEndpointAccessResponse = Shapes::StructureShape.new(name: 'AuthorizeVpcEndpointAccessResponse')
|
34
|
+
AuthorizedPrincipal = Shapes::StructureShape.new(name: 'AuthorizedPrincipal')
|
35
|
+
AuthorizedPrincipalList = Shapes::ListShape.new(name: 'AuthorizedPrincipalList')
|
31
36
|
AutoTune = Shapes::StructureShape.new(name: 'AutoTune')
|
32
37
|
AutoTuneDate = Shapes::TimestampShape.new(name: 'AutoTuneDate')
|
33
38
|
AutoTuneDesiredState = Shapes::StringShape.new(name: 'AutoTuneDesiredState')
|
@@ -53,6 +58,7 @@ module Aws::ElasticsearchService
|
|
53
58
|
ChangeProgressStageName = Shapes::StringShape.new(name: 'ChangeProgressStageName')
|
54
59
|
ChangeProgressStageStatus = Shapes::StringShape.new(name: 'ChangeProgressStageStatus')
|
55
60
|
ChangeProgressStatusDetails = Shapes::StructureShape.new(name: 'ChangeProgressStatusDetails')
|
61
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
56
62
|
CloudWatchLogsLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogsLogGroupArn')
|
57
63
|
CognitoOptions = Shapes::StructureShape.new(name: 'CognitoOptions')
|
58
64
|
CognitoOptionsStatus = Shapes::StructureShape.new(name: 'CognitoOptionsStatus')
|
@@ -68,6 +74,8 @@ module Aws::ElasticsearchService
|
|
68
74
|
CreateOutboundCrossClusterSearchConnectionResponse = Shapes::StructureShape.new(name: 'CreateOutboundCrossClusterSearchConnectionResponse')
|
69
75
|
CreatePackageRequest = Shapes::StructureShape.new(name: 'CreatePackageRequest')
|
70
76
|
CreatePackageResponse = Shapes::StructureShape.new(name: 'CreatePackageResponse')
|
77
|
+
CreateVpcEndpointRequest = Shapes::StructureShape.new(name: 'CreateVpcEndpointRequest')
|
78
|
+
CreateVpcEndpointResponse = Shapes::StructureShape.new(name: 'CreateVpcEndpointResponse')
|
71
79
|
CreatedAt = Shapes::TimestampShape.new(name: 'CreatedAt')
|
72
80
|
CrossClusterSearchConnectionId = Shapes::StringShape.new(name: 'CrossClusterSearchConnectionId')
|
73
81
|
CrossClusterSearchConnectionStatusMessage = Shapes::StringShape.new(name: 'CrossClusterSearchConnectionStatusMessage')
|
@@ -79,6 +87,8 @@ module Aws::ElasticsearchService
|
|
79
87
|
DeleteOutboundCrossClusterSearchConnectionResponse = Shapes::StructureShape.new(name: 'DeleteOutboundCrossClusterSearchConnectionResponse')
|
80
88
|
DeletePackageRequest = Shapes::StructureShape.new(name: 'DeletePackageRequest')
|
81
89
|
DeletePackageResponse = Shapes::StructureShape.new(name: 'DeletePackageResponse')
|
90
|
+
DeleteVpcEndpointRequest = Shapes::StructureShape.new(name: 'DeleteVpcEndpointRequest')
|
91
|
+
DeleteVpcEndpointResponse = Shapes::StructureShape.new(name: 'DeleteVpcEndpointResponse')
|
82
92
|
DeploymentCloseDateTimeStamp = Shapes::TimestampShape.new(name: 'DeploymentCloseDateTimeStamp')
|
83
93
|
DeploymentStatus = Shapes::StringShape.new(name: 'DeploymentStatus')
|
84
94
|
DeploymentType = Shapes::StringShape.new(name: 'DeploymentType')
|
@@ -109,11 +119,14 @@ module Aws::ElasticsearchService
|
|
109
119
|
DescribeReservedElasticsearchInstanceOfferingsResponse = Shapes::StructureShape.new(name: 'DescribeReservedElasticsearchInstanceOfferingsResponse')
|
110
120
|
DescribeReservedElasticsearchInstancesRequest = Shapes::StructureShape.new(name: 'DescribeReservedElasticsearchInstancesRequest')
|
111
121
|
DescribeReservedElasticsearchInstancesResponse = Shapes::StructureShape.new(name: 'DescribeReservedElasticsearchInstancesResponse')
|
122
|
+
DescribeVpcEndpointsRequest = Shapes::StructureShape.new(name: 'DescribeVpcEndpointsRequest')
|
123
|
+
DescribeVpcEndpointsResponse = Shapes::StructureShape.new(name: 'DescribeVpcEndpointsResponse')
|
112
124
|
Description = Shapes::StringShape.new(name: 'Description')
|
113
125
|
DisableTimestamp = Shapes::TimestampShape.new(name: 'DisableTimestamp')
|
114
126
|
DisabledOperationException = Shapes::StructureShape.new(name: 'DisabledOperationException')
|
115
127
|
DissociatePackageRequest = Shapes::StructureShape.new(name: 'DissociatePackageRequest')
|
116
128
|
DissociatePackageResponse = Shapes::StructureShape.new(name: 'DissociatePackageResponse')
|
129
|
+
DomainArn = Shapes::StringShape.new(name: 'DomainArn')
|
117
130
|
DomainEndpointOptions = Shapes::StructureShape.new(name: 'DomainEndpointOptions')
|
118
131
|
DomainEndpointOptionsStatus = Shapes::StructureShape.new(name: 'DomainEndpointOptionsStatus')
|
119
132
|
DomainId = Shapes::StringShape.new(name: 'DomainId')
|
@@ -146,6 +159,7 @@ module Aws::ElasticsearchService
|
|
146
159
|
ElasticsearchVersionString = Shapes::StringShape.new(name: 'ElasticsearchVersionString')
|
147
160
|
EncryptionAtRestOptions = Shapes::StructureShape.new(name: 'EncryptionAtRestOptions')
|
148
161
|
EncryptionAtRestOptionsStatus = Shapes::StructureShape.new(name: 'EncryptionAtRestOptionsStatus')
|
162
|
+
Endpoint = Shapes::StringShape.new(name: 'Endpoint')
|
149
163
|
EndpointsMap = Shapes::MapShape.new(name: 'EndpointsMap')
|
150
164
|
EngineType = Shapes::StringShape.new(name: 'EngineType')
|
151
165
|
ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
|
@@ -198,6 +212,12 @@ module Aws::ElasticsearchService
|
|
198
212
|
ListPackagesForDomainResponse = Shapes::StructureShape.new(name: 'ListPackagesForDomainResponse')
|
199
213
|
ListTagsRequest = Shapes::StructureShape.new(name: 'ListTagsRequest')
|
200
214
|
ListTagsResponse = Shapes::StructureShape.new(name: 'ListTagsResponse')
|
215
|
+
ListVpcEndpointAccessRequest = Shapes::StructureShape.new(name: 'ListVpcEndpointAccessRequest')
|
216
|
+
ListVpcEndpointAccessResponse = Shapes::StructureShape.new(name: 'ListVpcEndpointAccessResponse')
|
217
|
+
ListVpcEndpointsForDomainRequest = Shapes::StructureShape.new(name: 'ListVpcEndpointsForDomainRequest')
|
218
|
+
ListVpcEndpointsForDomainResponse = Shapes::StructureShape.new(name: 'ListVpcEndpointsForDomainResponse')
|
219
|
+
ListVpcEndpointsRequest = Shapes::StructureShape.new(name: 'ListVpcEndpointsRequest')
|
220
|
+
ListVpcEndpointsResponse = Shapes::StructureShape.new(name: 'ListVpcEndpointsResponse')
|
201
221
|
LogPublishingOption = Shapes::StructureShape.new(name: 'LogPublishingOption')
|
202
222
|
LogPublishingOptions = Shapes::MapShape.new(name: 'LogPublishingOptions')
|
203
223
|
LogPublishingOptionsStatus = Shapes::StructureShape.new(name: 'LogPublishingOptionsStatus')
|
@@ -232,6 +252,7 @@ module Aws::ElasticsearchService
|
|
232
252
|
PackageVersionHistoryList = Shapes::ListShape.new(name: 'PackageVersionHistoryList')
|
233
253
|
Password = Shapes::StringShape.new(name: 'Password')
|
234
254
|
PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
|
255
|
+
PrincipalType = Shapes::StringShape.new(name: 'PrincipalType')
|
235
256
|
PurchaseReservedElasticsearchInstanceOfferingRequest = Shapes::StructureShape.new(name: 'PurchaseReservedElasticsearchInstanceOfferingRequest')
|
236
257
|
PurchaseReservedElasticsearchInstanceOfferingResponse = Shapes::StructureShape.new(name: 'PurchaseReservedElasticsearchInstanceOfferingResponse')
|
237
258
|
RecurringCharge = Shapes::StructureShape.new(name: 'RecurringCharge')
|
@@ -249,6 +270,8 @@ module Aws::ElasticsearchService
|
|
249
270
|
ReservedElasticsearchInstancePaymentOption = Shapes::StringShape.new(name: 'ReservedElasticsearchInstancePaymentOption')
|
250
271
|
ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
|
251
272
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
273
|
+
RevokeVpcEndpointAccessRequest = Shapes::StructureShape.new(name: 'RevokeVpcEndpointAccessRequest')
|
274
|
+
RevokeVpcEndpointAccessResponse = Shapes::StructureShape.new(name: 'RevokeVpcEndpointAccessResponse')
|
252
275
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
253
276
|
RollbackOnDisable = Shapes::StringShape.new(name: 'RollbackOnDisable')
|
254
277
|
S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
|
@@ -291,6 +314,8 @@ module Aws::ElasticsearchService
|
|
291
314
|
UpdatePackageRequest = Shapes::StructureShape.new(name: 'UpdatePackageRequest')
|
292
315
|
UpdatePackageResponse = Shapes::StructureShape.new(name: 'UpdatePackageResponse')
|
293
316
|
UpdateTimestamp = Shapes::TimestampShape.new(name: 'UpdateTimestamp')
|
317
|
+
UpdateVpcEndpointRequest = Shapes::StructureShape.new(name: 'UpdateVpcEndpointRequest')
|
318
|
+
UpdateVpcEndpointResponse = Shapes::StructureShape.new(name: 'UpdateVpcEndpointResponse')
|
294
319
|
UpgradeElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'UpgradeElasticsearchDomainRequest')
|
295
320
|
UpgradeElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'UpgradeElasticsearchDomainResponse')
|
296
321
|
UpgradeHistory = Shapes::StructureShape.new(name: 'UpgradeHistory')
|
@@ -308,6 +333,16 @@ module Aws::ElasticsearchService
|
|
308
333
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
309
334
|
ValueStringList = Shapes::ListShape.new(name: 'ValueStringList')
|
310
335
|
VolumeType = Shapes::StringShape.new(name: 'VolumeType')
|
336
|
+
VpcEndpoint = Shapes::StructureShape.new(name: 'VpcEndpoint')
|
337
|
+
VpcEndpointError = Shapes::StructureShape.new(name: 'VpcEndpointError')
|
338
|
+
VpcEndpointErrorCode = Shapes::StringShape.new(name: 'VpcEndpointErrorCode')
|
339
|
+
VpcEndpointErrorList = Shapes::ListShape.new(name: 'VpcEndpointErrorList')
|
340
|
+
VpcEndpointId = Shapes::StringShape.new(name: 'VpcEndpointId')
|
341
|
+
VpcEndpointIdList = Shapes::ListShape.new(name: 'VpcEndpointIdList')
|
342
|
+
VpcEndpointStatus = Shapes::StringShape.new(name: 'VpcEndpointStatus')
|
343
|
+
VpcEndpointSummary = Shapes::StructureShape.new(name: 'VpcEndpointSummary')
|
344
|
+
VpcEndpointSummaryList = Shapes::ListShape.new(name: 'VpcEndpointSummaryList')
|
345
|
+
VpcEndpoints = Shapes::ListShape.new(name: 'VpcEndpoints')
|
311
346
|
ZoneAwarenessConfig = Shapes::StructureShape.new(name: 'ZoneAwarenessConfig')
|
312
347
|
|
313
348
|
AcceptInboundCrossClusterSearchConnectionRequest.add_member(:cross_cluster_search_connection_id, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionId, required: true, location: "uri", location_name: "ConnectionId"))
|
@@ -364,6 +399,19 @@ module Aws::ElasticsearchService
|
|
364
399
|
AssociatePackageResponse.add_member(:domain_package_details, Shapes::ShapeRef.new(shape: DomainPackageDetails, location_name: "DomainPackageDetails"))
|
365
400
|
AssociatePackageResponse.struct_class = Types::AssociatePackageResponse
|
366
401
|
|
402
|
+
AuthorizeVpcEndpointAccessRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
|
403
|
+
AuthorizeVpcEndpointAccessRequest.add_member(:account, Shapes::ShapeRef.new(shape: AWSAccount, required: true, location_name: "Account"))
|
404
|
+
AuthorizeVpcEndpointAccessRequest.struct_class = Types::AuthorizeVpcEndpointAccessRequest
|
405
|
+
|
406
|
+
AuthorizeVpcEndpointAccessResponse.add_member(:authorized_principal, Shapes::ShapeRef.new(shape: AuthorizedPrincipal, required: true, location_name: "AuthorizedPrincipal"))
|
407
|
+
AuthorizeVpcEndpointAccessResponse.struct_class = Types::AuthorizeVpcEndpointAccessResponse
|
408
|
+
|
409
|
+
AuthorizedPrincipal.add_member(:principal_type, Shapes::ShapeRef.new(shape: PrincipalType, location_name: "PrincipalType"))
|
410
|
+
AuthorizedPrincipal.add_member(:principal, Shapes::ShapeRef.new(shape: String, location_name: "Principal"))
|
411
|
+
AuthorizedPrincipal.struct_class = Types::AuthorizedPrincipal
|
412
|
+
|
413
|
+
AuthorizedPrincipalList.member = Shapes::ShapeRef.new(shape: AuthorizedPrincipal)
|
414
|
+
|
367
415
|
AutoTune.add_member(:auto_tune_type, Shapes::ShapeRef.new(shape: AutoTuneType, location_name: "AutoTuneType"))
|
368
416
|
AutoTune.add_member(:auto_tune_details, Shapes::ShapeRef.new(shape: AutoTuneDetails, location_name: "AutoTuneDetails"))
|
369
417
|
AutoTune.struct_class = Types::AutoTune
|
@@ -498,6 +546,14 @@ module Aws::ElasticsearchService
|
|
498
546
|
CreatePackageResponse.add_member(:package_details, Shapes::ShapeRef.new(shape: PackageDetails, location_name: "PackageDetails"))
|
499
547
|
CreatePackageResponse.struct_class = Types::CreatePackageResponse
|
500
548
|
|
549
|
+
CreateVpcEndpointRequest.add_member(:domain_arn, Shapes::ShapeRef.new(shape: DomainArn, required: true, location_name: "DomainArn"))
|
550
|
+
CreateVpcEndpointRequest.add_member(:vpc_options, Shapes::ShapeRef.new(shape: VPCOptions, required: true, location_name: "VpcOptions"))
|
551
|
+
CreateVpcEndpointRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken"))
|
552
|
+
CreateVpcEndpointRequest.struct_class = Types::CreateVpcEndpointRequest
|
553
|
+
|
554
|
+
CreateVpcEndpointResponse.add_member(:vpc_endpoint, Shapes::ShapeRef.new(shape: VpcEndpoint, required: true, location_name: "VpcEndpoint"))
|
555
|
+
CreateVpcEndpointResponse.struct_class = Types::CreateVpcEndpointResponse
|
556
|
+
|
501
557
|
DeleteElasticsearchDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
|
502
558
|
DeleteElasticsearchDomainRequest.struct_class = Types::DeleteElasticsearchDomainRequest
|
503
559
|
|
@@ -522,6 +578,12 @@ module Aws::ElasticsearchService
|
|
522
578
|
DeletePackageResponse.add_member(:package_details, Shapes::ShapeRef.new(shape: PackageDetails, location_name: "PackageDetails"))
|
523
579
|
DeletePackageResponse.struct_class = Types::DeletePackageResponse
|
524
580
|
|
581
|
+
DeleteVpcEndpointRequest.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, required: true, location: "uri", location_name: "VpcEndpointId"))
|
582
|
+
DeleteVpcEndpointRequest.struct_class = Types::DeleteVpcEndpointRequest
|
583
|
+
|
584
|
+
DeleteVpcEndpointResponse.add_member(:vpc_endpoint_summary, Shapes::ShapeRef.new(shape: VpcEndpointSummary, required: true, location_name: "VpcEndpointSummary"))
|
585
|
+
DeleteVpcEndpointResponse.struct_class = Types::DeleteVpcEndpointResponse
|
586
|
+
|
525
587
|
DescribeDomainAutoTunesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
|
526
588
|
DescribeDomainAutoTunesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
527
589
|
DescribeDomainAutoTunesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
@@ -617,6 +679,13 @@ module Aws::ElasticsearchService
|
|
617
679
|
DescribeReservedElasticsearchInstancesResponse.add_member(:reserved_elasticsearch_instances, Shapes::ShapeRef.new(shape: ReservedElasticsearchInstanceList, location_name: "ReservedElasticsearchInstances"))
|
618
680
|
DescribeReservedElasticsearchInstancesResponse.struct_class = Types::DescribeReservedElasticsearchInstancesResponse
|
619
681
|
|
682
|
+
DescribeVpcEndpointsRequest.add_member(:vpc_endpoint_ids, Shapes::ShapeRef.new(shape: VpcEndpointIdList, required: true, location_name: "VpcEndpointIds"))
|
683
|
+
DescribeVpcEndpointsRequest.struct_class = Types::DescribeVpcEndpointsRequest
|
684
|
+
|
685
|
+
DescribeVpcEndpointsResponse.add_member(:vpc_endpoints, Shapes::ShapeRef.new(shape: VpcEndpoints, required: true, location_name: "VpcEndpoints"))
|
686
|
+
DescribeVpcEndpointsResponse.add_member(:vpc_endpoint_errors, Shapes::ShapeRef.new(shape: VpcEndpointErrorList, required: true, location_name: "VpcEndpointErrors"))
|
687
|
+
DescribeVpcEndpointsResponse.struct_class = Types::DescribeVpcEndpointsResponse
|
688
|
+
|
620
689
|
DisabledOperationException.struct_class = Types::DisabledOperationException
|
621
690
|
|
622
691
|
DissociatePackageRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
|
@@ -894,6 +963,29 @@ module Aws::ElasticsearchService
|
|
894
963
|
ListTagsResponse.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
|
895
964
|
ListTagsResponse.struct_class = Types::ListTagsResponse
|
896
965
|
|
966
|
+
ListVpcEndpointAccessRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
|
967
|
+
ListVpcEndpointAccessRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
968
|
+
ListVpcEndpointAccessRequest.struct_class = Types::ListVpcEndpointAccessRequest
|
969
|
+
|
970
|
+
ListVpcEndpointAccessResponse.add_member(:authorized_principal_list, Shapes::ShapeRef.new(shape: AuthorizedPrincipalList, required: true, location_name: "AuthorizedPrincipalList"))
|
971
|
+
ListVpcEndpointAccessResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, required: true, location_name: "NextToken"))
|
972
|
+
ListVpcEndpointAccessResponse.struct_class = Types::ListVpcEndpointAccessResponse
|
973
|
+
|
974
|
+
ListVpcEndpointsForDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
|
975
|
+
ListVpcEndpointsForDomainRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
976
|
+
ListVpcEndpointsForDomainRequest.struct_class = Types::ListVpcEndpointsForDomainRequest
|
977
|
+
|
978
|
+
ListVpcEndpointsForDomainResponse.add_member(:vpc_endpoint_summary_list, Shapes::ShapeRef.new(shape: VpcEndpointSummaryList, required: true, location_name: "VpcEndpointSummaryList"))
|
979
|
+
ListVpcEndpointsForDomainResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, required: true, location_name: "NextToken"))
|
980
|
+
ListVpcEndpointsForDomainResponse.struct_class = Types::ListVpcEndpointsForDomainResponse
|
981
|
+
|
982
|
+
ListVpcEndpointsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
983
|
+
ListVpcEndpointsRequest.struct_class = Types::ListVpcEndpointsRequest
|
984
|
+
|
985
|
+
ListVpcEndpointsResponse.add_member(:vpc_endpoint_summary_list, Shapes::ShapeRef.new(shape: VpcEndpointSummaryList, required: true, location_name: "VpcEndpointSummaryList"))
|
986
|
+
ListVpcEndpointsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, required: true, location_name: "NextToken"))
|
987
|
+
ListVpcEndpointsResponse.struct_class = Types::ListVpcEndpointsResponse
|
988
|
+
|
897
989
|
LogPublishingOption.add_member(:cloud_watch_logs_log_group_arn, Shapes::ShapeRef.new(shape: CloudWatchLogsLogGroupArn, location_name: "CloudWatchLogsLogGroupArn"))
|
898
990
|
LogPublishingOption.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
|
899
991
|
LogPublishingOption.struct_class = Types::LogPublishingOption
|
@@ -1019,6 +1111,12 @@ module Aws::ElasticsearchService
|
|
1019
1111
|
|
1020
1112
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
1021
1113
|
|
1114
|
+
RevokeVpcEndpointAccessRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
|
1115
|
+
RevokeVpcEndpointAccessRequest.add_member(:account, Shapes::ShapeRef.new(shape: AWSAccount, required: true, location_name: "Account"))
|
1116
|
+
RevokeVpcEndpointAccessRequest.struct_class = Types::RevokeVpcEndpointAccessRequest
|
1117
|
+
|
1118
|
+
RevokeVpcEndpointAccessResponse.struct_class = Types::RevokeVpcEndpointAccessResponse
|
1119
|
+
|
1022
1120
|
SAMLIdp.add_member(:metadata_content, Shapes::ShapeRef.new(shape: SAMLMetadata, required: true, location_name: "MetadataContent"))
|
1023
1121
|
SAMLIdp.add_member(:entity_id, Shapes::ShapeRef.new(shape: SAMLEntityId, required: true, location_name: "EntityId"))
|
1024
1122
|
SAMLIdp.struct_class = Types::SAMLIdp
|
@@ -1119,6 +1217,13 @@ module Aws::ElasticsearchService
|
|
1119
1217
|
UpdatePackageResponse.add_member(:package_details, Shapes::ShapeRef.new(shape: PackageDetails, location_name: "PackageDetails"))
|
1120
1218
|
UpdatePackageResponse.struct_class = Types::UpdatePackageResponse
|
1121
1219
|
|
1220
|
+
UpdateVpcEndpointRequest.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, required: true, location_name: "VpcEndpointId"))
|
1221
|
+
UpdateVpcEndpointRequest.add_member(:vpc_options, Shapes::ShapeRef.new(shape: VPCOptions, required: true, location_name: "VpcOptions"))
|
1222
|
+
UpdateVpcEndpointRequest.struct_class = Types::UpdateVpcEndpointRequest
|
1223
|
+
|
1224
|
+
UpdateVpcEndpointResponse.add_member(:vpc_endpoint, Shapes::ShapeRef.new(shape: VpcEndpoint, required: true, location_name: "VpcEndpoint"))
|
1225
|
+
UpdateVpcEndpointResponse.struct_class = Types::UpdateVpcEndpointResponse
|
1226
|
+
|
1122
1227
|
UpgradeElasticsearchDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
|
1123
1228
|
UpgradeElasticsearchDomainRequest.add_member(:target_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, required: true, location_name: "TargetVersion"))
|
1124
1229
|
UpgradeElasticsearchDomainRequest.add_member(:perform_check_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformCheckOnly"))
|
@@ -1164,6 +1269,33 @@ module Aws::ElasticsearchService
|
|
1164
1269
|
|
1165
1270
|
ValueStringList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
1166
1271
|
|
1272
|
+
VpcEndpoint.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "VpcEndpointId"))
|
1273
|
+
VpcEndpoint.add_member(:vpc_endpoint_owner, Shapes::ShapeRef.new(shape: AWSAccount, location_name: "VpcEndpointOwner"))
|
1274
|
+
VpcEndpoint.add_member(:domain_arn, Shapes::ShapeRef.new(shape: DomainArn, location_name: "DomainArn"))
|
1275
|
+
VpcEndpoint.add_member(:vpc_options, Shapes::ShapeRef.new(shape: VPCDerivedInfo, location_name: "VpcOptions"))
|
1276
|
+
VpcEndpoint.add_member(:status, Shapes::ShapeRef.new(shape: VpcEndpointStatus, location_name: "Status"))
|
1277
|
+
VpcEndpoint.add_member(:endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "Endpoint"))
|
1278
|
+
VpcEndpoint.struct_class = Types::VpcEndpoint
|
1279
|
+
|
1280
|
+
VpcEndpointError.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "VpcEndpointId"))
|
1281
|
+
VpcEndpointError.add_member(:error_code, Shapes::ShapeRef.new(shape: VpcEndpointErrorCode, location_name: "ErrorCode"))
|
1282
|
+
VpcEndpointError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
|
1283
|
+
VpcEndpointError.struct_class = Types::VpcEndpointError
|
1284
|
+
|
1285
|
+
VpcEndpointErrorList.member = Shapes::ShapeRef.new(shape: VpcEndpointError)
|
1286
|
+
|
1287
|
+
VpcEndpointIdList.member = Shapes::ShapeRef.new(shape: VpcEndpointId)
|
1288
|
+
|
1289
|
+
VpcEndpointSummary.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "VpcEndpointId"))
|
1290
|
+
VpcEndpointSummary.add_member(:vpc_endpoint_owner, Shapes::ShapeRef.new(shape: String, location_name: "VpcEndpointOwner"))
|
1291
|
+
VpcEndpointSummary.add_member(:domain_arn, Shapes::ShapeRef.new(shape: DomainArn, location_name: "DomainArn"))
|
1292
|
+
VpcEndpointSummary.add_member(:status, Shapes::ShapeRef.new(shape: VpcEndpointStatus, location_name: "Status"))
|
1293
|
+
VpcEndpointSummary.struct_class = Types::VpcEndpointSummary
|
1294
|
+
|
1295
|
+
VpcEndpointSummaryList.member = Shapes::ShapeRef.new(shape: VpcEndpointSummary)
|
1296
|
+
|
1297
|
+
VpcEndpoints.member = Shapes::ShapeRef.new(shape: VpcEndpoint)
|
1298
|
+
|
1167
1299
|
ZoneAwarenessConfig.add_member(:availability_zone_count, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "AvailabilityZoneCount"))
|
1168
1300
|
ZoneAwarenessConfig.struct_class = Types::ZoneAwarenessConfig
|
1169
1301
|
|
@@ -1220,6 +1352,20 @@ module Aws::ElasticsearchService
|
|
1220
1352
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1221
1353
|
end)
|
1222
1354
|
|
1355
|
+
api.add_operation(:authorize_vpc_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
|
1356
|
+
o.name = "AuthorizeVpcEndpointAccess"
|
1357
|
+
o.http_method = "POST"
|
1358
|
+
o.http_request_uri = "/2015-01-01/es/domain/{DomainName}/authorizeVpcEndpointAccess"
|
1359
|
+
o.input = Shapes::ShapeRef.new(shape: AuthorizeVpcEndpointAccessRequest)
|
1360
|
+
o.output = Shapes::ShapeRef.new(shape: AuthorizeVpcEndpointAccessResponse)
|
1361
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1362
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
1363
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1364
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1365
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1366
|
+
o.errors << Shapes::ShapeRef.new(shape: BaseException)
|
1367
|
+
end)
|
1368
|
+
|
1223
1369
|
api.add_operation(:cancel_elasticsearch_service_software_update, Seahorse::Model::Operation.new.tap do |o|
|
1224
1370
|
o.name = "CancelElasticsearchServiceSoftwareUpdate"
|
1225
1371
|
o.http_method = "POST"
|
@@ -1274,6 +1420,20 @@ module Aws::ElasticsearchService
|
|
1274
1420
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1275
1421
|
end)
|
1276
1422
|
|
1423
|
+
api.add_operation(:create_vpc_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
1424
|
+
o.name = "CreateVpcEndpoint"
|
1425
|
+
o.http_method = "POST"
|
1426
|
+
o.http_request_uri = "/2015-01-01/es/vpcEndpoints"
|
1427
|
+
o.input = Shapes::ShapeRef.new(shape: CreateVpcEndpointRequest)
|
1428
|
+
o.output = Shapes::ShapeRef.new(shape: CreateVpcEndpointResponse)
|
1429
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1430
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1431
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1432
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1433
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
1434
|
+
o.errors << Shapes::ShapeRef.new(shape: BaseException)
|
1435
|
+
end)
|
1436
|
+
|
1277
1437
|
api.add_operation(:delete_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
|
1278
1438
|
o.name = "DeleteElasticsearchDomain"
|
1279
1439
|
o.http_method = "DELETE"
|
@@ -1331,6 +1491,18 @@ module Aws::ElasticsearchService
|
|
1331
1491
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1332
1492
|
end)
|
1333
1493
|
|
1494
|
+
api.add_operation(:delete_vpc_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
1495
|
+
o.name = "DeleteVpcEndpoint"
|
1496
|
+
o.http_method = "DELETE"
|
1497
|
+
o.http_request_uri = "/2015-01-01/es/vpcEndpoints/{VpcEndpointId}"
|
1498
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteVpcEndpointRequest)
|
1499
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteVpcEndpointResponse)
|
1500
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1501
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
1502
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1503
|
+
o.errors << Shapes::ShapeRef.new(shape: BaseException)
|
1504
|
+
end)
|
1505
|
+
|
1334
1506
|
api.add_operation(:describe_domain_auto_tunes, Seahorse::Model::Operation.new.tap do |o|
|
1335
1507
|
o.name = "DescribeDomainAutoTunes"
|
1336
1508
|
o.http_method = "GET"
|
@@ -1497,6 +1669,18 @@ module Aws::ElasticsearchService
|
|
1497
1669
|
)
|
1498
1670
|
end)
|
1499
1671
|
|
1672
|
+
api.add_operation(:describe_vpc_endpoints, Seahorse::Model::Operation.new.tap do |o|
|
1673
|
+
o.name = "DescribeVpcEndpoints"
|
1674
|
+
o.http_method = "POST"
|
1675
|
+
o.http_request_uri = "/2015-01-01/es/vpcEndpoints/describe"
|
1676
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeVpcEndpointsRequest)
|
1677
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeVpcEndpointsResponse)
|
1678
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1679
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1680
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
1681
|
+
o.errors << Shapes::ShapeRef.new(shape: BaseException)
|
1682
|
+
end)
|
1683
|
+
|
1500
1684
|
api.add_operation(:dissociate_package, Seahorse::Model::Operation.new.tap do |o|
|
1501
1685
|
o.name = "DissociatePackage"
|
1502
1686
|
o.http_method = "POST"
|
@@ -1671,6 +1855,41 @@ module Aws::ElasticsearchService
|
|
1671
1855
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1672
1856
|
end)
|
1673
1857
|
|
1858
|
+
api.add_operation(:list_vpc_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
|
1859
|
+
o.name = "ListVpcEndpointAccess"
|
1860
|
+
o.http_method = "GET"
|
1861
|
+
o.http_request_uri = "/2015-01-01/es/domain/{DomainName}/listVpcEndpointAccess"
|
1862
|
+
o.input = Shapes::ShapeRef.new(shape: ListVpcEndpointAccessRequest)
|
1863
|
+
o.output = Shapes::ShapeRef.new(shape: ListVpcEndpointAccessResponse)
|
1864
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1865
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
1866
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1867
|
+
o.errors << Shapes::ShapeRef.new(shape: BaseException)
|
1868
|
+
end)
|
1869
|
+
|
1870
|
+
api.add_operation(:list_vpc_endpoints, Seahorse::Model::Operation.new.tap do |o|
|
1871
|
+
o.name = "ListVpcEndpoints"
|
1872
|
+
o.http_method = "GET"
|
1873
|
+
o.http_request_uri = "/2015-01-01/es/vpcEndpoints"
|
1874
|
+
o.input = Shapes::ShapeRef.new(shape: ListVpcEndpointsRequest)
|
1875
|
+
o.output = Shapes::ShapeRef.new(shape: ListVpcEndpointsResponse)
|
1876
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1877
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
1878
|
+
o.errors << Shapes::ShapeRef.new(shape: BaseException)
|
1879
|
+
end)
|
1880
|
+
|
1881
|
+
api.add_operation(:list_vpc_endpoints_for_domain, Seahorse::Model::Operation.new.tap do |o|
|
1882
|
+
o.name = "ListVpcEndpointsForDomain"
|
1883
|
+
o.http_method = "GET"
|
1884
|
+
o.http_request_uri = "/2015-01-01/es/domain/{DomainName}/vpcEndpoints"
|
1885
|
+
o.input = Shapes::ShapeRef.new(shape: ListVpcEndpointsForDomainRequest)
|
1886
|
+
o.output = Shapes::ShapeRef.new(shape: ListVpcEndpointsForDomainResponse)
|
1887
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1888
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
1889
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1890
|
+
o.errors << Shapes::ShapeRef.new(shape: BaseException)
|
1891
|
+
end)
|
1892
|
+
|
1674
1893
|
api.add_operation(:purchase_reserved_elasticsearch_instance_offering, Seahorse::Model::Operation.new.tap do |o|
|
1675
1894
|
o.name = "PurchaseReservedElasticsearchInstanceOffering"
|
1676
1895
|
o.http_method = "POST"
|
@@ -1706,6 +1925,19 @@ module Aws::ElasticsearchService
|
|
1706
1925
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1707
1926
|
end)
|
1708
1927
|
|
1928
|
+
api.add_operation(:revoke_vpc_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
|
1929
|
+
o.name = "RevokeVpcEndpointAccess"
|
1930
|
+
o.http_method = "POST"
|
1931
|
+
o.http_request_uri = "/2015-01-01/es/domain/{DomainName}/revokeVpcEndpointAccess"
|
1932
|
+
o.input = Shapes::ShapeRef.new(shape: RevokeVpcEndpointAccessRequest)
|
1933
|
+
o.output = Shapes::ShapeRef.new(shape: RevokeVpcEndpointAccessResponse)
|
1934
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1935
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1936
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
1937
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1938
|
+
o.errors << Shapes::ShapeRef.new(shape: BaseException)
|
1939
|
+
end)
|
1940
|
+
|
1709
1941
|
api.add_operation(:start_elasticsearch_service_software_update, Seahorse::Model::Operation.new.tap do |o|
|
1710
1942
|
o.name = "StartElasticsearchServiceSoftwareUpdate"
|
1711
1943
|
o.http_method = "POST"
|
@@ -1746,6 +1978,20 @@ module Aws::ElasticsearchService
|
|
1746
1978
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1747
1979
|
end)
|
1748
1980
|
|
1981
|
+
api.add_operation(:update_vpc_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
1982
|
+
o.name = "UpdateVpcEndpoint"
|
1983
|
+
o.http_method = "POST"
|
1984
|
+
o.http_request_uri = "/2015-01-01/es/vpcEndpoints/update"
|
1985
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateVpcEndpointRequest)
|
1986
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateVpcEndpointResponse)
|
1987
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1988
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
1989
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1990
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1991
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1992
|
+
o.errors << Shapes::ShapeRef.new(shape: BaseException)
|
1993
|
+
end)
|
1994
|
+
|
1749
1995
|
api.add_operation(:upgrade_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
|
1750
1996
|
o.name = "UpgradeElasticsearchDomain"
|
1751
1997
|
o.http_method = "POST"
|
@@ -9,103 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::ElasticsearchService
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://es-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://es-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://es.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://es.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
39
|
-
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
|
40
|
-
OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
|
41
|
-
UyIsInJlcX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