aws-sdk-opensearchservice 1.26.0 → 1.35.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 +45 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-opensearchservice/client.rb +437 -23
- data/lib/aws-sdk-opensearchservice/client_api.rb +271 -0
- data/lib/aws-sdk-opensearchservice/endpoint_provider.rb +10 -1
- data/lib/aws-sdk-opensearchservice/endpoints.rb +112 -0
- data/lib/aws-sdk-opensearchservice/plugins/endpoints.rb +19 -2
- data/lib/aws-sdk-opensearchservice/types.rb +591 -15
- data/lib/aws-sdk-opensearchservice.rb +1 -1
- metadata +5 -5
@@ -26,6 +26,20 @@ module Aws::OpenSearchService
|
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
+
class AddDataSource
|
30
|
+
def self.build(context)
|
31
|
+
unless context.config.regional_endpoint
|
32
|
+
endpoint = context.config.endpoint.to_s
|
33
|
+
end
|
34
|
+
Aws::OpenSearchService::EndpointParameters.new(
|
35
|
+
region: context.config.region,
|
36
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
37
|
+
use_fips: context.config.use_fips_endpoint,
|
38
|
+
endpoint: endpoint,
|
39
|
+
)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
29
43
|
class AddTags
|
30
44
|
def self.build(context)
|
31
45
|
unless context.config.regional_endpoint
|
@@ -138,6 +152,20 @@ module Aws::OpenSearchService
|
|
138
152
|
end
|
139
153
|
end
|
140
154
|
|
155
|
+
class DeleteDataSource
|
156
|
+
def self.build(context)
|
157
|
+
unless context.config.regional_endpoint
|
158
|
+
endpoint = context.config.endpoint.to_s
|
159
|
+
end
|
160
|
+
Aws::OpenSearchService::EndpointParameters.new(
|
161
|
+
region: context.config.region,
|
162
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
163
|
+
use_fips: context.config.use_fips_endpoint,
|
164
|
+
endpoint: endpoint,
|
165
|
+
)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
141
169
|
class DeleteDomain
|
142
170
|
def self.build(context)
|
143
171
|
unless context.config.regional_endpoint
|
@@ -446,6 +474,34 @@ module Aws::OpenSearchService
|
|
446
474
|
end
|
447
475
|
end
|
448
476
|
|
477
|
+
class GetDataSource
|
478
|
+
def self.build(context)
|
479
|
+
unless context.config.regional_endpoint
|
480
|
+
endpoint = context.config.endpoint.to_s
|
481
|
+
end
|
482
|
+
Aws::OpenSearchService::EndpointParameters.new(
|
483
|
+
region: context.config.region,
|
484
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
485
|
+
use_fips: context.config.use_fips_endpoint,
|
486
|
+
endpoint: endpoint,
|
487
|
+
)
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
491
|
+
class GetDomainMaintenanceStatus
|
492
|
+
def self.build(context)
|
493
|
+
unless context.config.regional_endpoint
|
494
|
+
endpoint = context.config.endpoint.to_s
|
495
|
+
end
|
496
|
+
Aws::OpenSearchService::EndpointParameters.new(
|
497
|
+
region: context.config.region,
|
498
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
499
|
+
use_fips: context.config.use_fips_endpoint,
|
500
|
+
endpoint: endpoint,
|
501
|
+
)
|
502
|
+
end
|
503
|
+
end
|
504
|
+
|
449
505
|
class GetPackageVersionHistory
|
450
506
|
def self.build(context)
|
451
507
|
unless context.config.regional_endpoint
|
@@ -488,6 +544,34 @@ module Aws::OpenSearchService
|
|
488
544
|
end
|
489
545
|
end
|
490
546
|
|
547
|
+
class ListDataSources
|
548
|
+
def self.build(context)
|
549
|
+
unless context.config.regional_endpoint
|
550
|
+
endpoint = context.config.endpoint.to_s
|
551
|
+
end
|
552
|
+
Aws::OpenSearchService::EndpointParameters.new(
|
553
|
+
region: context.config.region,
|
554
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
555
|
+
use_fips: context.config.use_fips_endpoint,
|
556
|
+
endpoint: endpoint,
|
557
|
+
)
|
558
|
+
end
|
559
|
+
end
|
560
|
+
|
561
|
+
class ListDomainMaintenances
|
562
|
+
def self.build(context)
|
563
|
+
unless context.config.regional_endpoint
|
564
|
+
endpoint = context.config.endpoint.to_s
|
565
|
+
end
|
566
|
+
Aws::OpenSearchService::EndpointParameters.new(
|
567
|
+
region: context.config.region,
|
568
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
569
|
+
use_fips: context.config.use_fips_endpoint,
|
570
|
+
endpoint: endpoint,
|
571
|
+
)
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
491
575
|
class ListDomainNames
|
492
576
|
def self.build(context)
|
493
577
|
unless context.config.regional_endpoint
|
@@ -684,6 +768,20 @@ module Aws::OpenSearchService
|
|
684
768
|
end
|
685
769
|
end
|
686
770
|
|
771
|
+
class StartDomainMaintenance
|
772
|
+
def self.build(context)
|
773
|
+
unless context.config.regional_endpoint
|
774
|
+
endpoint = context.config.endpoint.to_s
|
775
|
+
end
|
776
|
+
Aws::OpenSearchService::EndpointParameters.new(
|
777
|
+
region: context.config.region,
|
778
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
779
|
+
use_fips: context.config.use_fips_endpoint,
|
780
|
+
endpoint: endpoint,
|
781
|
+
)
|
782
|
+
end
|
783
|
+
end
|
784
|
+
|
687
785
|
class StartServiceSoftwareUpdate
|
688
786
|
def self.build(context)
|
689
787
|
unless context.config.regional_endpoint
|
@@ -698,6 +796,20 @@ module Aws::OpenSearchService
|
|
698
796
|
end
|
699
797
|
end
|
700
798
|
|
799
|
+
class UpdateDataSource
|
800
|
+
def self.build(context)
|
801
|
+
unless context.config.regional_endpoint
|
802
|
+
endpoint = context.config.endpoint.to_s
|
803
|
+
end
|
804
|
+
Aws::OpenSearchService::EndpointParameters.new(
|
805
|
+
region: context.config.region,
|
806
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
807
|
+
use_fips: context.config.use_fips_endpoint,
|
808
|
+
endpoint: endpoint,
|
809
|
+
)
|
810
|
+
end
|
811
|
+
end
|
812
|
+
|
701
813
|
class UpdateDomainConfig
|
702
814
|
def self.build(context)
|
703
815
|
unless context.config.regional_endpoint
|
@@ -25,16 +25,17 @@ module Aws::OpenSearchService
|
|
25
25
|
# @api private
|
26
26
|
class Handler < Seahorse::Client::Handler
|
27
27
|
def call(context)
|
28
|
-
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
28
|
unless context[:discovered_endpoint]
|
30
29
|
params = parameters_for_operation(context)
|
31
30
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
31
|
|
33
32
|
context.http_request.endpoint = endpoint.url
|
34
33
|
apply_endpoint_headers(context, endpoint.headers)
|
34
|
+
|
35
|
+
context[:endpoint_params] = params
|
36
|
+
context[:endpoint_properties] = endpoint.properties
|
35
37
|
end
|
36
38
|
|
37
|
-
context[:endpoint_params] = params
|
38
39
|
context[:auth_scheme] =
|
39
40
|
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
41
|
|
@@ -58,6 +59,8 @@ module Aws::OpenSearchService
|
|
58
59
|
case context.operation_name
|
59
60
|
when :accept_inbound_connection
|
60
61
|
Aws::OpenSearchService::Endpoints::AcceptInboundConnection.build(context)
|
62
|
+
when :add_data_source
|
63
|
+
Aws::OpenSearchService::Endpoints::AddDataSource.build(context)
|
61
64
|
when :add_tags
|
62
65
|
Aws::OpenSearchService::Endpoints::AddTags.build(context)
|
63
66
|
when :associate_package
|
@@ -74,6 +77,8 @@ module Aws::OpenSearchService
|
|
74
77
|
Aws::OpenSearchService::Endpoints::CreatePackage.build(context)
|
75
78
|
when :create_vpc_endpoint
|
76
79
|
Aws::OpenSearchService::Endpoints::CreateVpcEndpoint.build(context)
|
80
|
+
when :delete_data_source
|
81
|
+
Aws::OpenSearchService::Endpoints::DeleteDataSource.build(context)
|
77
82
|
when :delete_domain
|
78
83
|
Aws::OpenSearchService::Endpoints::DeleteDomain.build(context)
|
79
84
|
when :delete_inbound_connection
|
@@ -118,12 +123,20 @@ module Aws::OpenSearchService
|
|
118
123
|
Aws::OpenSearchService::Endpoints::DissociatePackage.build(context)
|
119
124
|
when :get_compatible_versions
|
120
125
|
Aws::OpenSearchService::Endpoints::GetCompatibleVersions.build(context)
|
126
|
+
when :get_data_source
|
127
|
+
Aws::OpenSearchService::Endpoints::GetDataSource.build(context)
|
128
|
+
when :get_domain_maintenance_status
|
129
|
+
Aws::OpenSearchService::Endpoints::GetDomainMaintenanceStatus.build(context)
|
121
130
|
when :get_package_version_history
|
122
131
|
Aws::OpenSearchService::Endpoints::GetPackageVersionHistory.build(context)
|
123
132
|
when :get_upgrade_history
|
124
133
|
Aws::OpenSearchService::Endpoints::GetUpgradeHistory.build(context)
|
125
134
|
when :get_upgrade_status
|
126
135
|
Aws::OpenSearchService::Endpoints::GetUpgradeStatus.build(context)
|
136
|
+
when :list_data_sources
|
137
|
+
Aws::OpenSearchService::Endpoints::ListDataSources.build(context)
|
138
|
+
when :list_domain_maintenances
|
139
|
+
Aws::OpenSearchService::Endpoints::ListDomainMaintenances.build(context)
|
127
140
|
when :list_domain_names
|
128
141
|
Aws::OpenSearchService::Endpoints::ListDomainNames.build(context)
|
129
142
|
when :list_domains_for_package
|
@@ -152,8 +165,12 @@ module Aws::OpenSearchService
|
|
152
165
|
Aws::OpenSearchService::Endpoints::RemoveTags.build(context)
|
153
166
|
when :revoke_vpc_endpoint_access
|
154
167
|
Aws::OpenSearchService::Endpoints::RevokeVpcEndpointAccess.build(context)
|
168
|
+
when :start_domain_maintenance
|
169
|
+
Aws::OpenSearchService::Endpoints::StartDomainMaintenance.build(context)
|
155
170
|
when :start_service_software_update
|
156
171
|
Aws::OpenSearchService::Endpoints::StartServiceSoftwareUpdate.build(context)
|
172
|
+
when :update_data_source
|
173
|
+
Aws::OpenSearchService::Endpoints::UpdateDataSource.build(context)
|
157
174
|
when :update_domain_config
|
158
175
|
Aws::OpenSearchService::Endpoints::UpdateDomainConfig.build(context)
|
159
176
|
when :update_package
|