aws-sdk-cloudsearch 1.16.0 → 1.17.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/lib/aws-sdk-cloudsearch.rb +1 -1
- data/lib/aws-sdk-cloudsearch/client.rb +95 -1
- data/lib/aws-sdk-cloudsearch/client_api.rb +60 -0
- data/lib/aws-sdk-cloudsearch/types.rb +125 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0acf369288ac5287749d9937f1379d9e73da2f9
|
4
|
+
data.tar.gz: a3c9f84b060dd12d4fd982af61ccd856bb6fed22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ca5efa7f3de9a3959addea3b8864c6d6e8355bf4562ce0013d43c8af04942576409deef63bfefb436913522be7aa3c802fda6f8672f2ad88c6ea4264b51ea32
|
7
|
+
data.tar.gz: aaaf81aa043b3dfd9fce45453f71d54ba4536d91d8c4d9895072655fec89da03eb1edd799c78a9b80cc99ec0a79e371d5f82f4efbd9fc3f0bc6902384197145c
|
data/lib/aws-sdk-cloudsearch.rb
CHANGED
@@ -1106,6 +1106,51 @@ module Aws::CloudSearch
|
|
1106
1106
|
req.send_request(options)
|
1107
1107
|
end
|
1108
1108
|
|
1109
|
+
# Returns the domain's endpoint options, specifically whether all
|
1110
|
+
# requests to the domain must arrive over HTTPS. For more information,
|
1111
|
+
# see [Configuring Domain Endpoint Options][1] in the *Amazon
|
1112
|
+
# CloudSearch Developer Guide*.
|
1113
|
+
#
|
1114
|
+
#
|
1115
|
+
#
|
1116
|
+
# [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-domain-endpoint-options.html
|
1117
|
+
#
|
1118
|
+
# @option params [required, String] :domain_name
|
1119
|
+
# A string that represents the name of a domain.
|
1120
|
+
#
|
1121
|
+
# @option params [Boolean] :deployed
|
1122
|
+
# Whether to retrieve the latest configuration (which might be in a
|
1123
|
+
# Processing state) or the current, active configuration. Defaults to
|
1124
|
+
# `false`.
|
1125
|
+
#
|
1126
|
+
# @return [Types::DescribeDomainEndpointOptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1127
|
+
#
|
1128
|
+
# * {Types::DescribeDomainEndpointOptionsResponse#domain_endpoint_options #domain_endpoint_options} => Types::DomainEndpointOptionsStatus
|
1129
|
+
#
|
1130
|
+
# @example Request syntax with placeholder values
|
1131
|
+
#
|
1132
|
+
# resp = client.describe_domain_endpoint_options({
|
1133
|
+
# domain_name: "DomainName", # required
|
1134
|
+
# deployed: false,
|
1135
|
+
# })
|
1136
|
+
#
|
1137
|
+
# @example Response structure
|
1138
|
+
#
|
1139
|
+
# resp.domain_endpoint_options.options.enforce_https #=> Boolean
|
1140
|
+
# resp.domain_endpoint_options.options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
|
1141
|
+
# resp.domain_endpoint_options.status.creation_date #=> Time
|
1142
|
+
# resp.domain_endpoint_options.status.update_date #=> Time
|
1143
|
+
# resp.domain_endpoint_options.status.update_version #=> Integer
|
1144
|
+
# resp.domain_endpoint_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
|
1145
|
+
# resp.domain_endpoint_options.status.pending_deletion #=> Boolean
|
1146
|
+
#
|
1147
|
+
# @overload describe_domain_endpoint_options(params = {})
|
1148
|
+
# @param [Hash] params ({})
|
1149
|
+
def describe_domain_endpoint_options(params = {}, options = {})
|
1150
|
+
req = build_request(:describe_domain_endpoint_options, params)
|
1151
|
+
req.send_request(options)
|
1152
|
+
end
|
1153
|
+
|
1109
1154
|
# Gets information about the search domains owned by this account. Can
|
1110
1155
|
# be limited to specific domains. Shows all domains by default. To get
|
1111
1156
|
# the number of searchable documents in a domain, use the console or
|
@@ -1564,6 +1609,55 @@ module Aws::CloudSearch
|
|
1564
1609
|
req.send_request(options)
|
1565
1610
|
end
|
1566
1611
|
|
1612
|
+
# Updates the domain's endpoint options, specifically whether all
|
1613
|
+
# requests to the domain must arrive over HTTPS. For more information,
|
1614
|
+
# see [Configuring Domain Endpoint Options][1] in the *Amazon
|
1615
|
+
# CloudSearch Developer Guide*.
|
1616
|
+
#
|
1617
|
+
#
|
1618
|
+
#
|
1619
|
+
# [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-domain-endpoint-options.html
|
1620
|
+
#
|
1621
|
+
# @option params [required, String] :domain_name
|
1622
|
+
# A string that represents the name of a domain.
|
1623
|
+
#
|
1624
|
+
# @option params [required, Types::DomainEndpointOptions] :domain_endpoint_options
|
1625
|
+
# Whether to require that all requests to the domain arrive over HTTPS.
|
1626
|
+
# We recommend Policy-Min-TLS-1-2-2019-07 for TLSSecurityPolicy. For
|
1627
|
+
# compatibility with older clients, the default is
|
1628
|
+
# Policy-Min-TLS-1-0-2019-07.
|
1629
|
+
#
|
1630
|
+
# @return [Types::UpdateDomainEndpointOptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1631
|
+
#
|
1632
|
+
# * {Types::UpdateDomainEndpointOptionsResponse#domain_endpoint_options #domain_endpoint_options} => Types::DomainEndpointOptionsStatus
|
1633
|
+
#
|
1634
|
+
# @example Request syntax with placeholder values
|
1635
|
+
#
|
1636
|
+
# resp = client.update_domain_endpoint_options({
|
1637
|
+
# domain_name: "DomainName", # required
|
1638
|
+
# domain_endpoint_options: { # required
|
1639
|
+
# enforce_https: false,
|
1640
|
+
# tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
|
1641
|
+
# },
|
1642
|
+
# })
|
1643
|
+
#
|
1644
|
+
# @example Response structure
|
1645
|
+
#
|
1646
|
+
# resp.domain_endpoint_options.options.enforce_https #=> Boolean
|
1647
|
+
# resp.domain_endpoint_options.options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
|
1648
|
+
# resp.domain_endpoint_options.status.creation_date #=> Time
|
1649
|
+
# resp.domain_endpoint_options.status.update_date #=> Time
|
1650
|
+
# resp.domain_endpoint_options.status.update_version #=> Integer
|
1651
|
+
# resp.domain_endpoint_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
|
1652
|
+
# resp.domain_endpoint_options.status.pending_deletion #=> Boolean
|
1653
|
+
#
|
1654
|
+
# @overload update_domain_endpoint_options(params = {})
|
1655
|
+
# @param [Hash] params ({})
|
1656
|
+
def update_domain_endpoint_options(params = {}, options = {})
|
1657
|
+
req = build_request(:update_domain_endpoint_options, params)
|
1658
|
+
req.send_request(options)
|
1659
|
+
end
|
1660
|
+
|
1567
1661
|
# Configures scaling parameters for a domain. A domain's scaling
|
1568
1662
|
# parameters specify the desired search instance type and replication
|
1569
1663
|
# count. Amazon CloudSearch will still automatically scale your domain
|
@@ -1678,7 +1772,7 @@ module Aws::CloudSearch
|
|
1678
1772
|
params: params,
|
1679
1773
|
config: config)
|
1680
1774
|
context[:gem_name] = 'aws-sdk-cloudsearch'
|
1681
|
-
context[:gem_version] = '1.
|
1775
|
+
context[:gem_version] = '1.17.0'
|
1682
1776
|
Seahorse::Client::Request.new(handlers, context)
|
1683
1777
|
end
|
1684
1778
|
|
@@ -51,6 +51,8 @@ module Aws::CloudSearch
|
|
51
51
|
DescribeAnalysisSchemesResponse = Shapes::StructureShape.new(name: 'DescribeAnalysisSchemesResponse')
|
52
52
|
DescribeAvailabilityOptionsRequest = Shapes::StructureShape.new(name: 'DescribeAvailabilityOptionsRequest')
|
53
53
|
DescribeAvailabilityOptionsResponse = Shapes::StructureShape.new(name: 'DescribeAvailabilityOptionsResponse')
|
54
|
+
DescribeDomainEndpointOptionsRequest = Shapes::StructureShape.new(name: 'DescribeDomainEndpointOptionsRequest')
|
55
|
+
DescribeDomainEndpointOptionsResponse = Shapes::StructureShape.new(name: 'DescribeDomainEndpointOptionsResponse')
|
54
56
|
DescribeDomainsRequest = Shapes::StructureShape.new(name: 'DescribeDomainsRequest')
|
55
57
|
DescribeDomainsResponse = Shapes::StructureShape.new(name: 'DescribeDomainsResponse')
|
56
58
|
DescribeExpressionsRequest = Shapes::StructureShape.new(name: 'DescribeExpressionsRequest')
|
@@ -65,6 +67,8 @@ module Aws::CloudSearch
|
|
65
67
|
DescribeSuggestersResponse = Shapes::StructureShape.new(name: 'DescribeSuggestersResponse')
|
66
68
|
DisabledOperationException = Shapes::StructureShape.new(name: 'DisabledOperationException')
|
67
69
|
DocumentSuggesterOptions = Shapes::StructureShape.new(name: 'DocumentSuggesterOptions')
|
70
|
+
DomainEndpointOptions = Shapes::StructureShape.new(name: 'DomainEndpointOptions')
|
71
|
+
DomainEndpointOptionsStatus = Shapes::StructureShape.new(name: 'DomainEndpointOptionsStatus')
|
68
72
|
DomainId = Shapes::StringShape.new(name: 'DomainId')
|
69
73
|
DomainName = Shapes::StringShape.new(name: 'DomainName')
|
70
74
|
DomainNameList = Shapes::ListShape.new(name: 'DomainNameList')
|
@@ -125,16 +129,20 @@ module Aws::CloudSearch
|
|
125
129
|
SuggesterFuzzyMatching = Shapes::StringShape.new(name: 'SuggesterFuzzyMatching')
|
126
130
|
SuggesterStatus = Shapes::StructureShape.new(name: 'SuggesterStatus')
|
127
131
|
SuggesterStatusList = Shapes::ListShape.new(name: 'SuggesterStatusList')
|
132
|
+
TLSSecurityPolicy = Shapes::StringShape.new(name: 'TLSSecurityPolicy')
|
128
133
|
TextArrayOptions = Shapes::StructureShape.new(name: 'TextArrayOptions')
|
129
134
|
TextOptions = Shapes::StructureShape.new(name: 'TextOptions')
|
130
135
|
UIntValue = Shapes::IntegerShape.new(name: 'UIntValue')
|
131
136
|
UpdateAvailabilityOptionsRequest = Shapes::StructureShape.new(name: 'UpdateAvailabilityOptionsRequest')
|
132
137
|
UpdateAvailabilityOptionsResponse = Shapes::StructureShape.new(name: 'UpdateAvailabilityOptionsResponse')
|
138
|
+
UpdateDomainEndpointOptionsRequest = Shapes::StructureShape.new(name: 'UpdateDomainEndpointOptionsRequest')
|
139
|
+
UpdateDomainEndpointOptionsResponse = Shapes::StructureShape.new(name: 'UpdateDomainEndpointOptionsResponse')
|
133
140
|
UpdateScalingParametersRequest = Shapes::StructureShape.new(name: 'UpdateScalingParametersRequest')
|
134
141
|
UpdateScalingParametersResponse = Shapes::StructureShape.new(name: 'UpdateScalingParametersResponse')
|
135
142
|
UpdateServiceAccessPoliciesRequest = Shapes::StructureShape.new(name: 'UpdateServiceAccessPoliciesRequest')
|
136
143
|
UpdateServiceAccessPoliciesResponse = Shapes::StructureShape.new(name: 'UpdateServiceAccessPoliciesResponse')
|
137
144
|
UpdateTimestamp = Shapes::TimestampShape.new(name: 'UpdateTimestamp')
|
145
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
138
146
|
Word = Shapes::StringShape.new(name: 'Word')
|
139
147
|
|
140
148
|
AccessPoliciesStatus.add_member(:options, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "Options"))
|
@@ -271,6 +279,13 @@ module Aws::CloudSearch
|
|
271
279
|
DescribeAvailabilityOptionsResponse.add_member(:availability_options, Shapes::ShapeRef.new(shape: AvailabilityOptionsStatus, location_name: "AvailabilityOptions"))
|
272
280
|
DescribeAvailabilityOptionsResponse.struct_class = Types::DescribeAvailabilityOptionsResponse
|
273
281
|
|
282
|
+
DescribeDomainEndpointOptionsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
|
283
|
+
DescribeDomainEndpointOptionsRequest.add_member(:deployed, Shapes::ShapeRef.new(shape: Boolean, location_name: "Deployed"))
|
284
|
+
DescribeDomainEndpointOptionsRequest.struct_class = Types::DescribeDomainEndpointOptionsRequest
|
285
|
+
|
286
|
+
DescribeDomainEndpointOptionsResponse.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptionsStatus, location_name: "DomainEndpointOptions"))
|
287
|
+
DescribeDomainEndpointOptionsResponse.struct_class = Types::DescribeDomainEndpointOptionsResponse
|
288
|
+
|
274
289
|
DescribeDomainsRequest.add_member(:domain_names, Shapes::ShapeRef.new(shape: DomainNameList, location_name: "DomainNames"))
|
275
290
|
DescribeDomainsRequest.struct_class = Types::DescribeDomainsRequest
|
276
291
|
|
@@ -319,6 +334,14 @@ module Aws::CloudSearch
|
|
319
334
|
DocumentSuggesterOptions.add_member(:sort_expression, Shapes::ShapeRef.new(shape: String, location_name: "SortExpression"))
|
320
335
|
DocumentSuggesterOptions.struct_class = Types::DocumentSuggesterOptions
|
321
336
|
|
337
|
+
DomainEndpointOptions.add_member(:enforce_https, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnforceHTTPS"))
|
338
|
+
DomainEndpointOptions.add_member(:tls_security_policy, Shapes::ShapeRef.new(shape: TLSSecurityPolicy, location_name: "TLSSecurityPolicy"))
|
339
|
+
DomainEndpointOptions.struct_class = Types::DomainEndpointOptions
|
340
|
+
|
341
|
+
DomainEndpointOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, required: true, location_name: "Options"))
|
342
|
+
DomainEndpointOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
|
343
|
+
DomainEndpointOptionsStatus.struct_class = Types::DomainEndpointOptionsStatus
|
344
|
+
|
322
345
|
DomainNameList.member = Shapes::ShapeRef.new(shape: DomainName)
|
323
346
|
|
324
347
|
DomainNameMap.key = Shapes::ShapeRef.new(shape: DomainName)
|
@@ -495,6 +518,13 @@ module Aws::CloudSearch
|
|
495
518
|
UpdateAvailabilityOptionsResponse.add_member(:availability_options, Shapes::ShapeRef.new(shape: AvailabilityOptionsStatus, location_name: "AvailabilityOptions"))
|
496
519
|
UpdateAvailabilityOptionsResponse.struct_class = Types::UpdateAvailabilityOptionsResponse
|
497
520
|
|
521
|
+
UpdateDomainEndpointOptionsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
|
522
|
+
UpdateDomainEndpointOptionsRequest.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, required: true, location_name: "DomainEndpointOptions"))
|
523
|
+
UpdateDomainEndpointOptionsRequest.struct_class = Types::UpdateDomainEndpointOptionsRequest
|
524
|
+
|
525
|
+
UpdateDomainEndpointOptionsResponse.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptionsStatus, location_name: "DomainEndpointOptions"))
|
526
|
+
UpdateDomainEndpointOptionsResponse.struct_class = Types::UpdateDomainEndpointOptionsResponse
|
527
|
+
|
498
528
|
UpdateScalingParametersRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
|
499
529
|
UpdateScalingParametersRequest.add_member(:scaling_parameters, Shapes::ShapeRef.new(shape: ScalingParameters, required: true, location_name: "ScalingParameters"))
|
500
530
|
UpdateScalingParametersRequest.struct_class = Types::UpdateScalingParametersRequest
|
@@ -520,6 +550,7 @@ module Aws::CloudSearch
|
|
520
550
|
"endpointPrefix" => "cloudsearch",
|
521
551
|
"protocol" => "query",
|
522
552
|
"serviceFullName" => "Amazon CloudSearch",
|
553
|
+
"serviceId" => "CloudSearch",
|
523
554
|
"signatureVersion" => "v4",
|
524
555
|
"uid" => "cloudsearch-2013-01-01",
|
525
556
|
"xmlNamespace" => "http://cloudsearch.amazonaws.com/doc/2013-01-01/",
|
@@ -682,6 +713,19 @@ module Aws::CloudSearch
|
|
682
713
|
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
683
714
|
end)
|
684
715
|
|
716
|
+
api.add_operation(:describe_domain_endpoint_options, Seahorse::Model::Operation.new.tap do |o|
|
717
|
+
o.name = "DescribeDomainEndpointOptions"
|
718
|
+
o.http_method = "POST"
|
719
|
+
o.http_request_uri = "/"
|
720
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeDomainEndpointOptionsRequest)
|
721
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeDomainEndpointOptionsResponse)
|
722
|
+
o.errors << Shapes::ShapeRef.new(shape: BaseException)
|
723
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
724
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
725
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
726
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
727
|
+
end)
|
728
|
+
|
685
729
|
api.add_operation(:describe_domains, Seahorse::Model::Operation.new.tap do |o|
|
686
730
|
o.name = "DescribeDomains"
|
687
731
|
o.http_method = "POST"
|
@@ -779,6 +823,22 @@ module Aws::CloudSearch
|
|
779
823
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
780
824
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
781
825
|
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
826
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
827
|
+
end)
|
828
|
+
|
829
|
+
api.add_operation(:update_domain_endpoint_options, Seahorse::Model::Operation.new.tap do |o|
|
830
|
+
o.name = "UpdateDomainEndpointOptions"
|
831
|
+
o.http_method = "POST"
|
832
|
+
o.http_request_uri = "/"
|
833
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateDomainEndpointOptionsRequest)
|
834
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateDomainEndpointOptionsResponse)
|
835
|
+
o.errors << Shapes::ShapeRef.new(shape: BaseException)
|
836
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
837
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTypeException)
|
838
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
839
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
840
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
841
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
782
842
|
end)
|
783
843
|
|
784
844
|
api.add_operation(:update_scaling_parameters, Seahorse::Model::Operation.new.tap do |o|
|
@@ -953,6 +953,47 @@ module Aws::CloudSearch
|
|
953
953
|
include Aws::Structure
|
954
954
|
end
|
955
955
|
|
956
|
+
# Container for the parameters to the `DescribeDomainEndpointOptions`
|
957
|
+
# operation. Specify the name of the domain you want to describe. To
|
958
|
+
# show the active configuration and exclude any pending changes, set the
|
959
|
+
# Deployed option to `true`.
|
960
|
+
#
|
961
|
+
# @note When making an API call, you may pass DescribeDomainEndpointOptionsRequest
|
962
|
+
# data as a hash:
|
963
|
+
#
|
964
|
+
# {
|
965
|
+
# domain_name: "DomainName", # required
|
966
|
+
# deployed: false,
|
967
|
+
# }
|
968
|
+
#
|
969
|
+
# @!attribute [rw] domain_name
|
970
|
+
# A string that represents the name of a domain.
|
971
|
+
# @return [String]
|
972
|
+
#
|
973
|
+
# @!attribute [rw] deployed
|
974
|
+
# Whether to retrieve the latest configuration (which might be in a
|
975
|
+
# Processing state) or the current, active configuration. Defaults to
|
976
|
+
# `false`.
|
977
|
+
# @return [Boolean]
|
978
|
+
#
|
979
|
+
class DescribeDomainEndpointOptionsRequest < Struct.new(
|
980
|
+
:domain_name,
|
981
|
+
:deployed)
|
982
|
+
include Aws::Structure
|
983
|
+
end
|
984
|
+
|
985
|
+
# The result of a `DescribeDomainEndpointOptions` request. Contains the
|
986
|
+
# status and configuration of a search domain's endpoint options.
|
987
|
+
#
|
988
|
+
# @!attribute [rw] domain_endpoint_options
|
989
|
+
# The status and configuration of a search domain's endpoint options.
|
990
|
+
# @return [Types::DomainEndpointOptionsStatus]
|
991
|
+
#
|
992
|
+
class DescribeDomainEndpointOptionsResponse < Struct.new(
|
993
|
+
:domain_endpoint_options)
|
994
|
+
include Aws::Structure
|
995
|
+
end
|
996
|
+
|
956
997
|
# Container for the parameters to the `DescribeDomains` operation. By
|
957
998
|
# default shows the status of all domains. To restrict the response to
|
958
999
|
# particular domains, specify the names of the domains you want to
|
@@ -1243,6 +1284,46 @@ module Aws::CloudSearch
|
|
1243
1284
|
include Aws::Structure
|
1244
1285
|
end
|
1245
1286
|
|
1287
|
+
# The domain's endpoint options.
|
1288
|
+
#
|
1289
|
+
# @note When making an API call, you may pass DomainEndpointOptions
|
1290
|
+
# data as a hash:
|
1291
|
+
#
|
1292
|
+
# {
|
1293
|
+
# enforce_https: false,
|
1294
|
+
# tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
|
1295
|
+
# }
|
1296
|
+
#
|
1297
|
+
# @!attribute [rw] enforce_https
|
1298
|
+
# Whether the domain is HTTPS only enabled.
|
1299
|
+
# @return [Boolean]
|
1300
|
+
#
|
1301
|
+
# @!attribute [rw] tls_security_policy
|
1302
|
+
# The minimum required TLS version
|
1303
|
+
# @return [String]
|
1304
|
+
#
|
1305
|
+
class DomainEndpointOptions < Struct.new(
|
1306
|
+
:enforce_https,
|
1307
|
+
:tls_security_policy)
|
1308
|
+
include Aws::Structure
|
1309
|
+
end
|
1310
|
+
|
1311
|
+
# The configuration and status of the domain's endpoint options.
|
1312
|
+
#
|
1313
|
+
# @!attribute [rw] options
|
1314
|
+
# The domain endpoint options configured for the domain.
|
1315
|
+
# @return [Types::DomainEndpointOptions]
|
1316
|
+
#
|
1317
|
+
# @!attribute [rw] status
|
1318
|
+
# The status of the configured domain endpoint options.
|
1319
|
+
# @return [Types::OptionStatus]
|
1320
|
+
#
|
1321
|
+
class DomainEndpointOptionsStatus < Struct.new(
|
1322
|
+
:options,
|
1323
|
+
:status)
|
1324
|
+
include Aws::Structure
|
1325
|
+
end
|
1326
|
+
|
1246
1327
|
# The current status of the search domain.
|
1247
1328
|
#
|
1248
1329
|
# @!attribute [rw] domain_id
|
@@ -2369,6 +2450,50 @@ module Aws::CloudSearch
|
|
2369
2450
|
include Aws::Structure
|
2370
2451
|
end
|
2371
2452
|
|
2453
|
+
# Container for the parameters to the `UpdateDomainEndpointOptions`
|
2454
|
+
# operation. Specifies the name of the domain you want to update and the
|
2455
|
+
# domain endpoint options.
|
2456
|
+
#
|
2457
|
+
# @note When making an API call, you may pass UpdateDomainEndpointOptionsRequest
|
2458
|
+
# data as a hash:
|
2459
|
+
#
|
2460
|
+
# {
|
2461
|
+
# domain_name: "DomainName", # required
|
2462
|
+
# domain_endpoint_options: { # required
|
2463
|
+
# enforce_https: false,
|
2464
|
+
# tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
|
2465
|
+
# },
|
2466
|
+
# }
|
2467
|
+
#
|
2468
|
+
# @!attribute [rw] domain_name
|
2469
|
+
# A string that represents the name of a domain.
|
2470
|
+
# @return [String]
|
2471
|
+
#
|
2472
|
+
# @!attribute [rw] domain_endpoint_options
|
2473
|
+
# Whether to require that all requests to the domain arrive over
|
2474
|
+
# HTTPS. We recommend Policy-Min-TLS-1-2-2019-07 for
|
2475
|
+
# TLSSecurityPolicy. For compatibility with older clients, the default
|
2476
|
+
# is Policy-Min-TLS-1-0-2019-07.
|
2477
|
+
# @return [Types::DomainEndpointOptions]
|
2478
|
+
#
|
2479
|
+
class UpdateDomainEndpointOptionsRequest < Struct.new(
|
2480
|
+
:domain_name,
|
2481
|
+
:domain_endpoint_options)
|
2482
|
+
include Aws::Structure
|
2483
|
+
end
|
2484
|
+
|
2485
|
+
# The result of a `UpdateDomainEndpointOptions` request. Contains the
|
2486
|
+
# configuration and status of the domain's endpoint options.
|
2487
|
+
#
|
2488
|
+
# @!attribute [rw] domain_endpoint_options
|
2489
|
+
# The newly-configured domain endpoint options.
|
2490
|
+
# @return [Types::DomainEndpointOptionsStatus]
|
2491
|
+
#
|
2492
|
+
class UpdateDomainEndpointOptionsResponse < Struct.new(
|
2493
|
+
:domain_endpoint_options)
|
2494
|
+
include Aws::Structure
|
2495
|
+
end
|
2496
|
+
|
2372
2497
|
# Container for the parameters to the `UpdateScalingParameters`
|
2373
2498
|
# operation. Specifies the name of the domain you want to update and the
|
2374
2499
|
# scaling parameters you want to configure.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|