aws-sdk-opensearchserverless 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-opensearchserverless/client.rb +9 -7
- data/lib/aws-sdk-opensearchserverless/client_api.rb +20 -0
- data/lib/aws-sdk-opensearchserverless/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-opensearchserverless/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-opensearchserverless/errors.rb +52 -0
- data/lib/aws-sdk-opensearchserverless/types.rb +65 -14
- data/lib/aws-sdk-opensearchserverless.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a4532d16f0fa640be507c3312f0c389288991c5822fbeeab375c9d203cf8a77e
|
|
4
|
+
data.tar.gz: 836b572c18bea2a3d6a7241b0a462c79dd597546f4743d129a4c7d9cd438b672
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c9446b7cea7c37aeed064ece43f3c98271fbbc734dff3e29e6dfef3a7292bce45f73612c2f6e844e48aaf58bd5f584312e2b312fc6991124400802c78c2b6e50
|
|
7
|
+
data.tar.gz: e3aaf8659ced08c97fdf7f0264f3b731943ed6fd2fab9a8ce5819f0825b2ddf45b6a06f01ee87a4e8657d24bf22a7a711aac0a8af203ec33dced21931fc190f1
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.2.0
|
|
@@ -641,7 +641,8 @@ module Aws::OpenSearchServerless
|
|
|
641
641
|
# The name of the security configuration.
|
|
642
642
|
#
|
|
643
643
|
# @option params [Types::SamlConfigOptions] :saml_options
|
|
644
|
-
# Describes SAML options in in the form of a key-value map.
|
|
644
|
+
# Describes SAML options in in the form of a key-value map. This field
|
|
645
|
+
# is required if you specify `saml` for the `type` parameter.
|
|
645
646
|
#
|
|
646
647
|
# @option params [required, String] :type
|
|
647
648
|
# The type of security configuration.
|
|
@@ -1207,7 +1208,7 @@ module Aws::OpenSearchServerless
|
|
|
1207
1208
|
# page.
|
|
1208
1209
|
#
|
|
1209
1210
|
# @option params [Array<String>] :resource
|
|
1210
|
-
# Resource filters (can be
|
|
1211
|
+
# Resource filters (can be collections or indexes) that policies can
|
|
1211
1212
|
# apply to.
|
|
1212
1213
|
#
|
|
1213
1214
|
# @option params [required, String] :type
|
|
@@ -1657,21 +1658,22 @@ module Aws::OpenSearchServerless
|
|
|
1657
1658
|
end
|
|
1658
1659
|
|
|
1659
1660
|
# Update the OpenSearch Serverless settings for the current Amazon Web
|
|
1660
|
-
# Services account. For more information, see [
|
|
1661
|
+
# Services account. For more information, see [Managing capacity limits
|
|
1662
|
+
# for Amazon OpenSearch Serverless][1].
|
|
1661
1663
|
#
|
|
1662
1664
|
#
|
|
1663
1665
|
#
|
|
1664
|
-
# [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-
|
|
1666
|
+
# [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-scaling.html
|
|
1665
1667
|
#
|
|
1666
1668
|
# @option params [Types::CapacityLimits] :capacity_limits
|
|
1667
1669
|
# The maximum capacity limits for all OpenSearch Serverless collections,
|
|
1668
1670
|
# in OpenSearch Compute Units (OCUs). These limits are used to scale
|
|
1669
1671
|
# your collections based on the current workload. For more information,
|
|
1670
|
-
# see [
|
|
1672
|
+
# see [Managing capacity limits for Amazon OpenSearch Serverless][1].
|
|
1671
1673
|
#
|
|
1672
1674
|
#
|
|
1673
1675
|
#
|
|
1674
|
-
# [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-
|
|
1676
|
+
# [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-scaling.html
|
|
1675
1677
|
#
|
|
1676
1678
|
# @return [Types::UpdateAccountSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1677
1679
|
#
|
|
@@ -1965,7 +1967,7 @@ module Aws::OpenSearchServerless
|
|
|
1965
1967
|
params: params,
|
|
1966
1968
|
config: config)
|
|
1967
1969
|
context[:gem_name] = 'aws-sdk-opensearchserverless'
|
|
1968
|
-
context[:gem_version] = '1.
|
|
1970
|
+
context[:gem_version] = '1.2.0'
|
|
1969
1971
|
Seahorse::Client::Request.new(handlers, context)
|
|
1970
1972
|
end
|
|
1971
1973
|
|
|
@@ -100,6 +100,7 @@ module Aws::OpenSearchServerless
|
|
|
100
100
|
ListVpcEndpointsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListVpcEndpointsRequestMaxResultsInteger')
|
|
101
101
|
ListVpcEndpointsResponse = Shapes::StructureShape.new(name: 'ListVpcEndpointsResponse')
|
|
102
102
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
|
103
|
+
OcuLimitExceededException = Shapes::StructureShape.new(name: 'OcuLimitExceededException')
|
|
103
104
|
PolicyDescription = Shapes::StringShape.new(name: 'PolicyDescription')
|
|
104
105
|
PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
|
|
105
106
|
PolicyName = Shapes::StringShape.new(name: 'PolicyName')
|
|
@@ -122,6 +123,7 @@ module Aws::OpenSearchServerless
|
|
|
122
123
|
SecurityPolicySummaries = Shapes::ListShape.new(name: 'SecurityPolicySummaries')
|
|
123
124
|
SecurityPolicySummary = Shapes::StructureShape.new(name: 'SecurityPolicySummary')
|
|
124
125
|
SecurityPolicyType = Shapes::StringShape.new(name: 'SecurityPolicyType')
|
|
126
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
125
127
|
String = Shapes::StringShape.new(name: 'String')
|
|
126
128
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
|
127
129
|
SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
|
|
@@ -455,6 +457,9 @@ module Aws::OpenSearchServerless
|
|
|
455
457
|
ListVpcEndpointsResponse.add_member(:vpc_endpoint_summaries, Shapes::ShapeRef.new(shape: VpcEndpointSummaries, location_name: "vpcEndpointSummaries"))
|
|
456
458
|
ListVpcEndpointsResponse.struct_class = Types::ListVpcEndpointsResponse
|
|
457
459
|
|
|
460
|
+
OcuLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
461
|
+
OcuLimitExceededException.struct_class = Types::OcuLimitExceededException
|
|
462
|
+
|
|
458
463
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
459
464
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
460
465
|
|
|
@@ -511,6 +516,13 @@ module Aws::OpenSearchServerless
|
|
|
511
516
|
SecurityPolicySummary.add_member(:type, Shapes::ShapeRef.new(shape: SecurityPolicyType, location_name: "type"))
|
|
512
517
|
SecurityPolicySummary.struct_class = Types::SecurityPolicySummary
|
|
513
518
|
|
|
519
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
520
|
+
ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
|
|
521
|
+
ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
|
|
522
|
+
ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
|
523
|
+
ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceCode"))
|
|
524
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
|
525
|
+
|
|
514
526
|
SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
|
|
515
527
|
|
|
516
528
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
|
|
@@ -689,6 +701,7 @@ module Aws::OpenSearchServerless
|
|
|
689
701
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
690
702
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
691
703
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
704
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
692
705
|
end)
|
|
693
706
|
|
|
694
707
|
api.add_operation(:create_collection, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -697,9 +710,11 @@ module Aws::OpenSearchServerless
|
|
|
697
710
|
o.http_request_uri = "/"
|
|
698
711
|
o.input = Shapes::ShapeRef.new(shape: CreateCollectionRequest)
|
|
699
712
|
o.output = Shapes::ShapeRef.new(shape: CreateCollectionResponse)
|
|
713
|
+
o.errors << Shapes::ShapeRef.new(shape: OcuLimitExceededException)
|
|
700
714
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
701
715
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
702
716
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
717
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
703
718
|
end)
|
|
704
719
|
|
|
705
720
|
api.add_operation(:create_security_config, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -711,6 +726,7 @@ module Aws::OpenSearchServerless
|
|
|
711
726
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
712
727
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
713
728
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
729
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
714
730
|
end)
|
|
715
731
|
|
|
716
732
|
api.add_operation(:create_security_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -722,6 +738,7 @@ module Aws::OpenSearchServerless
|
|
|
722
738
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
723
739
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
724
740
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
741
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
725
742
|
end)
|
|
726
743
|
|
|
727
744
|
api.add_operation(:create_vpc_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -733,6 +750,7 @@ module Aws::OpenSearchServerless
|
|
|
733
750
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
734
751
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
735
752
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
753
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
736
754
|
end)
|
|
737
755
|
|
|
738
756
|
api.add_operation(:delete_access_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -948,6 +966,7 @@ module Aws::OpenSearchServerless
|
|
|
948
966
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
949
967
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
950
968
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
969
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
951
970
|
end)
|
|
952
971
|
|
|
953
972
|
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1017,6 +1036,7 @@ module Aws::OpenSearchServerless
|
|
|
1017
1036
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1018
1037
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1019
1038
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1039
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1020
1040
|
end)
|
|
1021
1041
|
|
|
1022
1042
|
api.add_operation(:update_vpc_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -50,9 +50,6 @@ module Aws::OpenSearchServerless
|
|
|
50
50
|
|
|
51
51
|
def initialize(options = {})
|
|
52
52
|
self[:region] = options[:region]
|
|
53
|
-
if self[:region].nil?
|
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
|
55
|
-
end
|
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
|
58
55
|
if self[:use_dual_stack].nil?
|
|
@@ -14,36 +14,39 @@ module Aws::OpenSearchServerless
|
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
|
15
15
|
use_fips = parameters.use_fips
|
|
16
16
|
endpoint = parameters.endpoint
|
|
17
|
-
if
|
|
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://aoss-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
|
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
34
|
-
|
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://aoss-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
36
|
-
end
|
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
|
38
20
|
end
|
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
40
|
-
|
|
41
|
-
|
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
|
23
|
+
end
|
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
|
25
|
+
end
|
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
29
|
+
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"))
|
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://aoss-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
31
|
+
end
|
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
|
33
|
+
end
|
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://aoss-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
37
|
+
end
|
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
39
|
+
end
|
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://aoss.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
43
|
+
end
|
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
|
42
45
|
end
|
|
43
|
-
|
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://aoss.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
44
47
|
end
|
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://aoss.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
46
48
|
end
|
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
|
48
51
|
|
|
49
52
|
end
|
|
@@ -29,7 +29,9 @@ module Aws::OpenSearchServerless
|
|
|
29
29
|
# ## Error Classes
|
|
30
30
|
# * {ConflictException}
|
|
31
31
|
# * {InternalServerException}
|
|
32
|
+
# * {OcuLimitExceededException}
|
|
32
33
|
# * {ResourceNotFoundException}
|
|
34
|
+
# * {ServiceQuotaExceededException}
|
|
33
35
|
# * {ValidationException}
|
|
34
36
|
#
|
|
35
37
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
|
@@ -68,6 +70,21 @@ module Aws::OpenSearchServerless
|
|
|
68
70
|
end
|
|
69
71
|
end
|
|
70
72
|
|
|
73
|
+
class OcuLimitExceededException < ServiceError
|
|
74
|
+
|
|
75
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
76
|
+
# @param [String] message
|
|
77
|
+
# @param [Aws::OpenSearchServerless::Types::OcuLimitExceededException] data
|
|
78
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
79
|
+
super(context, message, data)
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# @return [String]
|
|
83
|
+
def message
|
|
84
|
+
@message || @data[:message]
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
71
88
|
class ResourceNotFoundException < ServiceError
|
|
72
89
|
|
|
73
90
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -83,6 +100,41 @@ module Aws::OpenSearchServerless
|
|
|
83
100
|
end
|
|
84
101
|
end
|
|
85
102
|
|
|
103
|
+
class ServiceQuotaExceededException < ServiceError
|
|
104
|
+
|
|
105
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
106
|
+
# @param [String] message
|
|
107
|
+
# @param [Aws::OpenSearchServerless::Types::ServiceQuotaExceededException] data
|
|
108
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
109
|
+
super(context, message, data)
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# @return [String]
|
|
113
|
+
def message
|
|
114
|
+
@message || @data[:message]
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# @return [String]
|
|
118
|
+
def quota_code
|
|
119
|
+
@data[:quota_code]
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
# @return [String]
|
|
123
|
+
def resource_id
|
|
124
|
+
@data[:resource_id]
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# @return [String]
|
|
128
|
+
def resource_type
|
|
129
|
+
@data[:resource_type]
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# @return [String]
|
|
133
|
+
def service_code
|
|
134
|
+
@data[:service_code]
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
|
|
86
138
|
class ValidationException < ServiceError
|
|
87
139
|
|
|
88
140
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -114,11 +114,12 @@ module Aws::OpenSearchServerless
|
|
|
114
114
|
# The maximum capacity limits for all OpenSearch Serverless
|
|
115
115
|
# collections, in OpenSearch Compute Units (OCUs). These limits are
|
|
116
116
|
# used to scale your collections based on the current workload. For
|
|
117
|
-
# more information, see [
|
|
117
|
+
# more information, see [Managing capacity limits for Amazon
|
|
118
|
+
# OpenSearch Serverless][1].
|
|
118
119
|
#
|
|
119
120
|
#
|
|
120
121
|
#
|
|
121
|
-
# [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-
|
|
122
|
+
# [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-scaling.html
|
|
122
123
|
# @return [Types::CapacityLimits]
|
|
123
124
|
#
|
|
124
125
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/AccountSettingsDetail AWS API Documentation
|
|
@@ -202,11 +203,11 @@ module Aws::OpenSearchServerless
|
|
|
202
203
|
# The maximum capacity limits for all OpenSearch Serverless collections,
|
|
203
204
|
# in OpenSearch Compute Units (OCUs). These limits are used to scale
|
|
204
205
|
# your collections based on the current workload. For more information,
|
|
205
|
-
# see [
|
|
206
|
+
# see [Managing capacity limits for Amazon OpenSearch Serverless][1].
|
|
206
207
|
#
|
|
207
208
|
#
|
|
208
209
|
#
|
|
209
|
-
# [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-
|
|
210
|
+
# [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-scaling.html
|
|
210
211
|
#
|
|
211
212
|
# @!attribute [rw] max_indexing_capacity_in_ocu
|
|
212
213
|
# The maximum indexing capacity for collections.
|
|
@@ -373,9 +374,9 @@ module Aws::OpenSearchServerless
|
|
|
373
374
|
include Aws::Structure
|
|
374
375
|
end
|
|
375
376
|
|
|
376
|
-
# When creating a
|
|
377
|
-
#
|
|
378
|
-
#
|
|
377
|
+
# When creating a resource, thrown when a resource with the same name
|
|
378
|
+
# already exists or is being created. When deleting a resource, thrown
|
|
379
|
+
# when the resource is not in the ACTIVE or FAILED state.
|
|
379
380
|
#
|
|
380
381
|
# @!attribute [rw] message
|
|
381
382
|
# @return [String]
|
|
@@ -558,7 +559,8 @@ module Aws::OpenSearchServerless
|
|
|
558
559
|
# @return [String]
|
|
559
560
|
#
|
|
560
561
|
# @!attribute [rw] saml_options
|
|
561
|
-
# Describes SAML options in in the form of a key-value map.
|
|
562
|
+
# Describes SAML options in in the form of a key-value map. This field
|
|
563
|
+
# is required if you specify `saml` for the `type` parameter.
|
|
562
564
|
# @return [Types::SamlConfigOptions]
|
|
563
565
|
#
|
|
564
566
|
# @!attribute [rw] type
|
|
@@ -1089,7 +1091,7 @@ module Aws::OpenSearchServerless
|
|
|
1089
1091
|
# @return [String]
|
|
1090
1092
|
#
|
|
1091
1093
|
# @!attribute [rw] resource
|
|
1092
|
-
# Resource filters (can be
|
|
1094
|
+
# Resource filters (can be collections or indexes) that policies can
|
|
1093
1095
|
# apply to.
|
|
1094
1096
|
# @return [Array<String>]
|
|
1095
1097
|
#
|
|
@@ -1350,6 +1352,20 @@ module Aws::OpenSearchServerless
|
|
|
1350
1352
|
include Aws::Structure
|
|
1351
1353
|
end
|
|
1352
1354
|
|
|
1355
|
+
# OCU Limit Exceeded for service limits
|
|
1356
|
+
#
|
|
1357
|
+
# @!attribute [rw] message
|
|
1358
|
+
# Description of the error.
|
|
1359
|
+
# @return [String]
|
|
1360
|
+
#
|
|
1361
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/OcuLimitExceededException AWS API Documentation
|
|
1362
|
+
#
|
|
1363
|
+
class OcuLimitExceededException < Struct.new(
|
|
1364
|
+
:message)
|
|
1365
|
+
SENSITIVE = []
|
|
1366
|
+
include Aws::Structure
|
|
1367
|
+
end
|
|
1368
|
+
|
|
1353
1369
|
# Thrown when accessing or deleting a resource that does not exist.
|
|
1354
1370
|
#
|
|
1355
1371
|
# @!attribute [rw] message
|
|
@@ -1375,8 +1391,7 @@ module Aws::OpenSearchServerless
|
|
|
1375
1391
|
# @return [String]
|
|
1376
1392
|
#
|
|
1377
1393
|
# @!attribute [rw] session_timeout
|
|
1378
|
-
# The session timeout, in minutes.
|
|
1379
|
-
# is 1440 minutes (24 hours or 1 day). Default is 60 minutes.
|
|
1394
|
+
# The session timeout, in minutes. Default is 60 minutes (12 hours).
|
|
1380
1395
|
# @return [Integer]
|
|
1381
1396
|
#
|
|
1382
1397
|
# @!attribute [rw] user_attribute
|
|
@@ -1594,6 +1609,41 @@ module Aws::OpenSearchServerless
|
|
|
1594
1609
|
include Aws::Structure
|
|
1595
1610
|
end
|
|
1596
1611
|
|
|
1612
|
+
# Thrown when you attempt to create more resources than the service
|
|
1613
|
+
# allows based on service quotas.
|
|
1614
|
+
#
|
|
1615
|
+
# @!attribute [rw] message
|
|
1616
|
+
# Description of the error.
|
|
1617
|
+
# @return [String]
|
|
1618
|
+
#
|
|
1619
|
+
# @!attribute [rw] quota_code
|
|
1620
|
+
# Service Quotas requirement to identify originating quota.
|
|
1621
|
+
# @return [String]
|
|
1622
|
+
#
|
|
1623
|
+
# @!attribute [rw] resource_id
|
|
1624
|
+
# Identifier of the resource affected.
|
|
1625
|
+
# @return [String]
|
|
1626
|
+
#
|
|
1627
|
+
# @!attribute [rw] resource_type
|
|
1628
|
+
# Type of the resource affected.
|
|
1629
|
+
# @return [String]
|
|
1630
|
+
#
|
|
1631
|
+
# @!attribute [rw] service_code
|
|
1632
|
+
# Service Quotas requirement to identify originating service.
|
|
1633
|
+
# @return [String]
|
|
1634
|
+
#
|
|
1635
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/ServiceQuotaExceededException AWS API Documentation
|
|
1636
|
+
#
|
|
1637
|
+
class ServiceQuotaExceededException < Struct.new(
|
|
1638
|
+
:message,
|
|
1639
|
+
:quota_code,
|
|
1640
|
+
:resource_id,
|
|
1641
|
+
:resource_type,
|
|
1642
|
+
:service_code)
|
|
1643
|
+
SENSITIVE = []
|
|
1644
|
+
include Aws::Structure
|
|
1645
|
+
end
|
|
1646
|
+
|
|
1597
1647
|
# A map of key-value pairs associated to an OpenSearch Serverless
|
|
1598
1648
|
# resource.
|
|
1599
1649
|
#
|
|
@@ -1720,11 +1770,12 @@ module Aws::OpenSearchServerless
|
|
|
1720
1770
|
# The maximum capacity limits for all OpenSearch Serverless
|
|
1721
1771
|
# collections, in OpenSearch Compute Units (OCUs). These limits are
|
|
1722
1772
|
# used to scale your collections based on the current workload. For
|
|
1723
|
-
# more information, see [
|
|
1773
|
+
# more information, see [Managing capacity limits for Amazon
|
|
1774
|
+
# OpenSearch Serverless][1].
|
|
1724
1775
|
#
|
|
1725
1776
|
#
|
|
1726
1777
|
#
|
|
1727
|
-
# [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-
|
|
1778
|
+
# [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-scaling.html
|
|
1728
1779
|
# @return [Types::CapacityLimits]
|
|
1729
1780
|
#
|
|
1730
1781
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/UpdateAccountSettingsRequest AWS API Documentation
|
|
@@ -2082,7 +2133,7 @@ module Aws::OpenSearchServerless
|
|
|
2082
2133
|
# @return [Array<String>]
|
|
2083
2134
|
#
|
|
2084
2135
|
# @!attribute [rw] vpc_id
|
|
2085
|
-
# The ID of the VPC from which you access OpenSearch Serverless
|
|
2136
|
+
# The ID of the VPC from which you access OpenSearch Serverless.
|
|
2086
2137
|
# @return [String]
|
|
2087
2138
|
#
|
|
2088
2139
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/VpcEndpointDetail AWS API Documentation
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-opensearchserverless
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.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: 2023-
|
|
11
|
+
date: 2023-03-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|