aws-sdk-opensearchserverless 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a7fb78ea5e7a1db4f7e85f836a0056fa00c19c458d50ae3f198a281805b5b95
4
- data.tar.gz: a4128e14b61092793bb73af577122495c2fe22e4216dbeed58a34a207b882e58
3
+ metadata.gz: 85de0d963001b94a4b6aea34aa8f6a831ad1805bb71b07c9e394a5e0bb954704
4
+ data.tar.gz: 627a084a653d3addff4a7dd32a31a39741d1403166ec39d566f81d847d7b2574
5
5
  SHA512:
6
- metadata.gz: cbdeb2062fb96bd4a81f75d796cb51232697cb393b78afd6c900272304c937acacafb8ceb12003d470dbcbf2608971279664cabf008612529cc605ea8ad1344e
7
- data.tar.gz: 1d81ecec6e9d371babdffe085a5f95e96f3c1efedde7a7b71c22ff9bba1a6f5a1a2f89aec60b4c4f1114acbe12600b9f9ae6b673e17d4ab46da3f459012cb9ff
6
+ metadata.gz: 74969fe2927a251fddf6849f8fbdcfe21e00086c87b691bcc1846697295584e3332ee4b0a5a87d09e3969d7f4a5431f3d0871ef22cb50ce31c1ddb7e6c82b816
7
+ data.tar.gz: cf19e3b68e6792ce4b03b37bd546f99891bb407e669456401304ad19608d3d9467a6817e74c99c49c96bf51965608641c61c2dc69b5d2a0c09a4aa376ae1ec52
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.1.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.0.0 (2022-11-29)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.1.0
@@ -1965,7 +1965,7 @@ module Aws::OpenSearchServerless
1965
1965
  params: params,
1966
1966
  config: config)
1967
1967
  context[:gem_name] = 'aws-sdk-opensearchserverless'
1968
- context[:gem_version] = '1.0.0'
1968
+ context[:gem_version] = '1.1.0'
1969
1969
  Seahorse::Client::Request.new(handlers, context)
1970
1970
  end
1971
1971
 
@@ -9,102 +9,43 @@
9
9
 
10
10
  module Aws::OpenSearchServerless
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
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://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
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://aoss-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://aoss.#{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://aoss.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
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
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
- YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
- ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
- aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0c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aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBwb3J0IER1YWxT
103
- dGFjayIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25zIjpbXSwiZW5k
104
- cG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9hb3NzLntSZWdpb259LntQYXJ0aXRp
105
- b25SZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJz
106
- Ijp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
107
-
108
- JSON
109
50
  end
110
51
  end
@@ -129,14 +129,6 @@ module Aws::OpenSearchServerless
129
129
  include Aws::Structure
130
130
  end
131
131
 
132
- # @note When making an API call, you may pass BatchGetCollectionRequest
133
- # data as a hash:
134
- #
135
- # {
136
- # ids: ["CollectionId"],
137
- # names: ["CollectionName"],
138
- # }
139
- #
140
132
  # @!attribute [rw] ids
141
133
  # A list of collection IDs. You can't provide names and IDs in the
142
134
  # same request. The ID is part of the collection endpoint. You can
@@ -178,13 +170,6 @@ module Aws::OpenSearchServerless
178
170
  include Aws::Structure
179
171
  end
180
172
 
181
- # @note When making an API call, you may pass BatchGetVpcEndpointRequest
182
- # data as a hash:
183
- #
184
- # {
185
- # ids: ["VpcEndpointId"], # required
186
- # }
187
- #
188
173
  # @!attribute [rw] ids
189
174
  # A list of VPC endpoint identifiers.
190
175
  # @return [Array<String>]
@@ -223,14 +208,6 @@ module Aws::OpenSearchServerless
223
208
  #
224
209
  # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-overview.html#serverless-scaling
225
210
  #
226
- # @note When making an API call, you may pass CapacityLimits
227
- # data as a hash:
228
- #
229
- # {
230
- # max_indexing_capacity_in_ocu: 1,
231
- # max_search_capacity_in_ocu: 1,
232
- # }
233
- #
234
211
  # @!attribute [rw] max_indexing_capacity_in_ocu
235
212
  # The maximum indexing capacity for collections.
236
213
  # @return [Integer]
@@ -350,14 +327,6 @@ module Aws::OpenSearchServerless
350
327
  # List of filter keys that you can use for LIST, UPDATE, and DELETE
351
328
  # requests to OpenSearch Serverless collections.
352
329
  #
353
- # @note When making an API call, you may pass CollectionFilters
354
- # data as a hash:
355
- #
356
- # {
357
- # name: "CollectionName",
358
- # status: "CREATING", # accepts CREATING, DELETING, ACTIVE, FAILED
359
- # }
360
- #
361
330
  # @!attribute [rw] name
362
331
  # The name of the collection.
363
332
  # @return [String]
@@ -419,17 +388,6 @@ module Aws::OpenSearchServerless
419
388
  include Aws::Structure
420
389
  end
421
390
 
422
- # @note When making an API call, you may pass CreateAccessPolicyRequest
423
- # data as a hash:
424
- #
425
- # {
426
- # client_token: "ClientToken",
427
- # description: "PolicyDescription",
428
- # name: "PolicyName", # required
429
- # policy: "PolicyDocument", # required
430
- # type: "data", # required, accepts data
431
- # }
432
- #
433
391
  # @!attribute [rw] client_token
434
392
  # Unique, case-sensitive identifier to ensure idempotency of the
435
393
  # request.
@@ -534,22 +492,6 @@ module Aws::OpenSearchServerless
534
492
  include Aws::Structure
535
493
  end
536
494
 
537
- # @note When making an API call, you may pass CreateCollectionRequest
538
- # data as a hash:
539
- #
540
- # {
541
- # client_token: "ClientToken",
542
- # description: "CreateCollectionRequestDescriptionString",
543
- # name: "CollectionName", # required
544
- # tags: [
545
- # {
546
- # key: "TagKey", # required
547
- # value: "TagValue", # required
548
- # },
549
- # ],
550
- # type: "SEARCH", # accepts SEARCH, TIMESERIES
551
- # }
552
- #
553
495
  # @!attribute [rw] client_token
554
496
  # Unique, case-sensitive identifier to ensure idempotency of the
555
497
  # request.
@@ -599,22 +541,6 @@ module Aws::OpenSearchServerless
599
541
  include Aws::Structure
600
542
  end
601
543
 
602
- # @note When making an API call, you may pass CreateSecurityConfigRequest
603
- # data as a hash:
604
- #
605
- # {
606
- # client_token: "ClientToken",
607
- # description: "ConfigDescription",
608
- # name: "ConfigName", # required
609
- # saml_options: {
610
- # group_attribute: "samlGroupAttribute",
611
- # metadata: "samlMetadata", # required
612
- # session_timeout: 1,
613
- # user_attribute: "samlUserAttribute",
614
- # },
615
- # type: "saml", # required, accepts saml
616
- # }
617
- #
618
544
  # @!attribute [rw] client_token
619
545
  # Unique, case-sensitive identifier to ensure idempotency of the
620
546
  # request.
@@ -663,17 +589,6 @@ module Aws::OpenSearchServerless
663
589
  include Aws::Structure
664
590
  end
665
591
 
666
- # @note When making an API call, you may pass CreateSecurityPolicyRequest
667
- # data as a hash:
668
- #
669
- # {
670
- # client_token: "ClientToken",
671
- # description: "PolicyDescription",
672
- # name: "PolicyName", # required
673
- # policy: "PolicyDocument", # required
674
- # type: "encryption", # required, accepts encryption, network
675
- # }
676
- #
677
592
  # @!attribute [rw] client_token
678
593
  # Unique, case-sensitive identifier to ensure idempotency of the
679
594
  # request.
@@ -753,17 +668,6 @@ module Aws::OpenSearchServerless
753
668
  include Aws::Structure
754
669
  end
755
670
 
756
- # @note When making an API call, you may pass CreateVpcEndpointRequest
757
- # data as a hash:
758
- #
759
- # {
760
- # client_token: "ClientToken",
761
- # name: "VpcEndpointName", # required
762
- # security_group_ids: ["SecurityGroupId"],
763
- # subnet_ids: ["SubnetId"], # required
764
- # vpc_id: "VpcId", # required
765
- # }
766
- #
767
671
  # @!attribute [rw] client_token
768
672
  # Unique, case-sensitive identifier to ensure idempotency of the
769
673
  # request.
@@ -815,15 +719,6 @@ module Aws::OpenSearchServerless
815
719
  include Aws::Structure
816
720
  end
817
721
 
818
- # @note When making an API call, you may pass DeleteAccessPolicyRequest
819
- # data as a hash:
820
- #
821
- # {
822
- # client_token: "ClientToken",
823
- # name: "PolicyName", # required
824
- # type: "data", # required, accepts data
825
- # }
826
- #
827
722
  # @!attribute [rw] client_token
828
723
  # Unique, case-sensitive identifier to ensure idempotency of the
829
724
  # request.
@@ -878,14 +773,6 @@ module Aws::OpenSearchServerless
878
773
  include Aws::Structure
879
774
  end
880
775
 
881
- # @note When making an API call, you may pass DeleteCollectionRequest
882
- # data as a hash:
883
- #
884
- # {
885
- # client_token: "ClientToken",
886
- # id: "CollectionId", # required
887
- # }
888
- #
889
776
  # @!attribute [rw] client_token
890
777
  # A unique, case-sensitive identifier to ensure idempotency of the
891
778
  # request.
@@ -925,14 +812,6 @@ module Aws::OpenSearchServerless
925
812
  include Aws::Structure
926
813
  end
927
814
 
928
- # @note When making an API call, you may pass DeleteSecurityConfigRequest
929
- # data as a hash:
930
- #
931
- # {
932
- # client_token: "ClientToken",
933
- # id: "SecurityConfigId", # required
934
- # }
935
- #
936
815
  # @!attribute [rw] client_token
937
816
  # Unique, case-sensitive identifier to ensure idempotency of the
938
817
  # request.
@@ -960,15 +839,6 @@ module Aws::OpenSearchServerless
960
839
  #
961
840
  class DeleteSecurityConfigResponse < Aws::EmptyStructure; end
962
841
 
963
- # @note When making an API call, you may pass DeleteSecurityPolicyRequest
964
- # data as a hash:
965
- #
966
- # {
967
- # client_token: "ClientToken",
968
- # name: "PolicyName", # required
969
- # type: "encryption", # required, accepts encryption, network
970
- # }
971
- #
972
842
  # @!attribute [rw] client_token
973
843
  # Unique, case-sensitive identifier to ensure idempotency of the
974
844
  # request.
@@ -1024,14 +894,6 @@ module Aws::OpenSearchServerless
1024
894
  include Aws::Structure
1025
895
  end
1026
896
 
1027
- # @note When making an API call, you may pass DeleteVpcEndpointRequest
1028
- # data as a hash:
1029
- #
1030
- # {
1031
- # client_token: "ClientToken",
1032
- # id: "VpcEndpointId", # required
1033
- # }
1034
- #
1035
897
  # @!attribute [rw] client_token
1036
898
  # Unique, case-sensitive identifier to ensure idempotency of the
1037
899
  # request.
@@ -1065,14 +927,6 @@ module Aws::OpenSearchServerless
1065
927
  include Aws::Structure
1066
928
  end
1067
929
 
1068
- # @note When making an API call, you may pass GetAccessPolicyRequest
1069
- # data as a hash:
1070
- #
1071
- # {
1072
- # name: "PolicyName", # required
1073
- # type: "data", # required, accepts data
1074
- # }
1075
- #
1076
930
  # @!attribute [rw] name
1077
931
  # The name of the access policy.
1078
932
  # @return [String]
@@ -1154,13 +1008,6 @@ module Aws::OpenSearchServerless
1154
1008
  include Aws::Structure
1155
1009
  end
1156
1010
 
1157
- # @note When making an API call, you may pass GetSecurityConfigRequest
1158
- # data as a hash:
1159
- #
1160
- # {
1161
- # id: "SecurityConfigId", # required
1162
- # }
1163
- #
1164
1011
  # @!attribute [rw] id
1165
1012
  # The unique identifier of the security configuration.
1166
1013
  # @return [String]
@@ -1185,14 +1032,6 @@ module Aws::OpenSearchServerless
1185
1032
  include Aws::Structure
1186
1033
  end
1187
1034
 
1188
- # @note When making an API call, you may pass GetSecurityPolicyRequest
1189
- # data as a hash:
1190
- #
1191
- # {
1192
- # name: "PolicyName", # required
1193
- # type: "encryption", # required, accepts encryption, network
1194
- # }
1195
- #
1196
1035
  # @!attribute [rw] name
1197
1036
  # The name of the security policy.
1198
1037
  # @return [String]
@@ -1236,16 +1075,6 @@ module Aws::OpenSearchServerless
1236
1075
  include Aws::Structure
1237
1076
  end
1238
1077
 
1239
- # @note When making an API call, you may pass ListAccessPoliciesRequest
1240
- # data as a hash:
1241
- #
1242
- # {
1243
- # max_results: 1,
1244
- # next_token: "String",
1245
- # resource: ["Resource"],
1246
- # type: "data", # required, accepts data
1247
- # }
1248
- #
1249
1078
  # @!attribute [rw] max_results
1250
1079
  # An optional parameter that specifies the maximum number of results
1251
1080
  # to return. You can use `nextToken` to get the next page of results.
@@ -1299,18 +1128,6 @@ module Aws::OpenSearchServerless
1299
1128
  include Aws::Structure
1300
1129
  end
1301
1130
 
1302
- # @note When making an API call, you may pass ListCollectionsRequest
1303
- # data as a hash:
1304
- #
1305
- # {
1306
- # collection_filters: {
1307
- # name: "CollectionName",
1308
- # status: "CREATING", # accepts CREATING, DELETING, ACTIVE, FAILED
1309
- # },
1310
- # max_results: 1,
1311
- # next_token: "String",
1312
- # }
1313
- #
1314
1131
  # @!attribute [rw] collection_filters
1315
1132
  # List of filter names and values that you can use for requests.
1316
1133
  # @return [Types::CollectionFilters]
@@ -1357,15 +1174,6 @@ module Aws::OpenSearchServerless
1357
1174
  include Aws::Structure
1358
1175
  end
1359
1176
 
1360
- # @note When making an API call, you may pass ListSecurityConfigsRequest
1361
- # data as a hash:
1362
- #
1363
- # {
1364
- # max_results: 1,
1365
- # next_token: "String",
1366
- # type: "saml", # required, accepts saml
1367
- # }
1368
- #
1369
1177
  # @!attribute [rw] max_results
1370
1178
  # An optional parameter that specifies the maximum number of results
1371
1179
  # to return. You can use `nextToken` to get the next page of results.
@@ -1413,16 +1221,6 @@ module Aws::OpenSearchServerless
1413
1221
  include Aws::Structure
1414
1222
  end
1415
1223
 
1416
- # @note When making an API call, you may pass ListSecurityPoliciesRequest
1417
- # data as a hash:
1418
- #
1419
- # {
1420
- # max_results: 1,
1421
- # next_token: "String",
1422
- # resource: ["Resource"],
1423
- # type: "encryption", # required, accepts encryption, network
1424
- # }
1425
- #
1426
1224
  # @!attribute [rw] max_results
1427
1225
  # An optional parameter that specifies the maximum number of results
1428
1226
  # to return. You can use `nextToken` to get the next page of results.
@@ -1476,13 +1274,6 @@ module Aws::OpenSearchServerless
1476
1274
  include Aws::Structure
1477
1275
  end
1478
1276
 
1479
- # @note When making an API call, you may pass ListTagsForResourceRequest
1480
- # data as a hash:
1481
- #
1482
- # {
1483
- # resource_arn: "Arn", # required
1484
- # }
1485
- #
1486
1277
  # @!attribute [rw] resource_arn
1487
1278
  # The Amazon Resource Name (ARN) of the resource. The resource must be
1488
1279
  # active (not in the `DELETING` state), and must be owned by the
@@ -1509,17 +1300,6 @@ module Aws::OpenSearchServerless
1509
1300
  include Aws::Structure
1510
1301
  end
1511
1302
 
1512
- # @note When making an API call, you may pass ListVpcEndpointsRequest
1513
- # data as a hash:
1514
- #
1515
- # {
1516
- # max_results: 1,
1517
- # next_token: "String",
1518
- # vpc_endpoint_filters: {
1519
- # status: "PENDING", # accepts PENDING, DELETING, ACTIVE, FAILED
1520
- # },
1521
- # }
1522
- #
1523
1303
  # @!attribute [rw] max_results
1524
1304
  # An optional parameter that specifies the maximum number of results
1525
1305
  # to return. You can use `nextToken` to get the next page of results.
@@ -1586,16 +1366,6 @@ module Aws::OpenSearchServerless
1586
1366
  # Describes SAML options for an OpenSearch Serverless security
1587
1367
  # configuration in the form of a key-value map.
1588
1368
  #
1589
- # @note When making an API call, you may pass SamlConfigOptions
1590
- # data as a hash:
1591
- #
1592
- # {
1593
- # group_attribute: "samlGroupAttribute",
1594
- # metadata: "samlMetadata", # required
1595
- # session_timeout: 1,
1596
- # user_attribute: "samlUserAttribute",
1597
- # }
1598
- #
1599
1369
  # @!attribute [rw] group_attribute
1600
1370
  # The group attribute for this SAML integration.
1601
1371
  # @return [String]
@@ -1827,14 +1597,6 @@ module Aws::OpenSearchServerless
1827
1597
  # A map of key-value pairs associated to an OpenSearch Serverless
1828
1598
  # resource.
1829
1599
  #
1830
- # @note When making an API call, you may pass Tag
1831
- # data as a hash:
1832
- #
1833
- # {
1834
- # key: "TagKey", # required
1835
- # value: "TagValue", # required
1836
- # }
1837
- #
1838
1600
  # @!attribute [rw] key
1839
1601
  # The key to use in the tag.
1840
1602
  # @return [String]
@@ -1852,19 +1614,6 @@ module Aws::OpenSearchServerless
1852
1614
  include Aws::Structure
1853
1615
  end
1854
1616
 
1855
- # @note When making an API call, you may pass TagResourceRequest
1856
- # data as a hash:
1857
- #
1858
- # {
1859
- # resource_arn: "Arn", # required
1860
- # tags: [ # required
1861
- # {
1862
- # key: "TagKey", # required
1863
- # value: "TagValue", # required
1864
- # },
1865
- # ],
1866
- # }
1867
- #
1868
1617
  # @!attribute [rw] resource_arn
1869
1618
  # The Amazon Resource Name (ARN) of the resource. The resource must be
1870
1619
  # active (not in the `DELETING` state), and must be owned by the
@@ -1889,14 +1638,6 @@ module Aws::OpenSearchServerless
1889
1638
  #
1890
1639
  class TagResourceResponse < Aws::EmptyStructure; end
1891
1640
 
1892
- # @note When making an API call, you may pass UntagResourceRequest
1893
- # data as a hash:
1894
- #
1895
- # {
1896
- # resource_arn: "Arn", # required
1897
- # tag_keys: ["TagKey"], # required
1898
- # }
1899
- #
1900
1641
  # @!attribute [rw] resource_arn
1901
1642
  # The Amazon Resource Name (ARN) of the resource to remove tags from.
1902
1643
  # The resource must be active (not in the `DELETING` state), and must
@@ -1921,18 +1662,6 @@ module Aws::OpenSearchServerless
1921
1662
  #
1922
1663
  class UntagResourceResponse < Aws::EmptyStructure; end
1923
1664
 
1924
- # @note When making an API call, you may pass UpdateAccessPolicyRequest
1925
- # data as a hash:
1926
- #
1927
- # {
1928
- # client_token: "ClientToken",
1929
- # description: "PolicyDescription",
1930
- # name: "PolicyName", # required
1931
- # policy: "PolicyDocument",
1932
- # policy_version: "PolicyVersion", # required
1933
- # type: "data", # required, accepts data
1934
- # }
1935
- #
1936
1665
  # @!attribute [rw] client_token
1937
1666
  # Unique, case-sensitive identifier to ensure idempotency of the
1938
1667
  # request.
@@ -1987,16 +1716,6 @@ module Aws::OpenSearchServerless
1987
1716
  include Aws::Structure
1988
1717
  end
1989
1718
 
1990
- # @note When making an API call, you may pass UpdateAccountSettingsRequest
1991
- # data as a hash:
1992
- #
1993
- # {
1994
- # capacity_limits: {
1995
- # max_indexing_capacity_in_ocu: 1,
1996
- # max_search_capacity_in_ocu: 1,
1997
- # },
1998
- # }
1999
- #
2000
1719
  # @!attribute [rw] capacity_limits
2001
1720
  # The maximum capacity limits for all OpenSearch Serverless
2002
1721
  # collections, in OpenSearch Compute Units (OCUs). These limits are
@@ -2078,15 +1797,6 @@ module Aws::OpenSearchServerless
2078
1797
  include Aws::Structure
2079
1798
  end
2080
1799
 
2081
- # @note When making an API call, you may pass UpdateCollectionRequest
2082
- # data as a hash:
2083
- #
2084
- # {
2085
- # client_token: "ClientToken",
2086
- # description: "UpdateCollectionRequestDescriptionString",
2087
- # id: "CollectionId", # required
2088
- # }
2089
- #
2090
1800
  # @!attribute [rw] client_token
2091
1801
  # Unique, case-sensitive identifier to ensure idempotency of the
2092
1802
  # request.
@@ -2125,22 +1835,6 @@ module Aws::OpenSearchServerless
2125
1835
  include Aws::Structure
2126
1836
  end
2127
1837
 
2128
- # @note When making an API call, you may pass UpdateSecurityConfigRequest
2129
- # data as a hash:
2130
- #
2131
- # {
2132
- # client_token: "ClientToken",
2133
- # config_version: "PolicyVersion", # required
2134
- # description: "ConfigDescription",
2135
- # id: "SecurityConfigId", # required
2136
- # saml_options: {
2137
- # group_attribute: "samlGroupAttribute",
2138
- # metadata: "samlMetadata", # required
2139
- # session_timeout: 1,
2140
- # user_attribute: "samlUserAttribute",
2141
- # },
2142
- # }
2143
- #
2144
1838
  # @!attribute [rw] client_token
2145
1839
  # Unique, case-sensitive identifier to ensure idempotency of the
2146
1840
  # request.
@@ -2193,18 +1887,6 @@ module Aws::OpenSearchServerless
2193
1887
  include Aws::Structure
2194
1888
  end
2195
1889
 
2196
- # @note When making an API call, you may pass UpdateSecurityPolicyRequest
2197
- # data as a hash:
2198
- #
2199
- # {
2200
- # client_token: "ClientToken",
2201
- # description: "PolicyDescription",
2202
- # name: "PolicyName", # required
2203
- # policy: "PolicyDocument",
2204
- # policy_version: "PolicyVersion", # required
2205
- # type: "encryption", # required, accepts encryption, network
2206
- # }
2207
- #
2208
1890
  # @!attribute [rw] client_token
2209
1891
  # Unique, case-sensitive identifier to ensure idempotency of the
2210
1892
  # request.
@@ -2301,18 +1983,6 @@ module Aws::OpenSearchServerless
2301
1983
  include Aws::Structure
2302
1984
  end
2303
1985
 
2304
- # @note When making an API call, you may pass UpdateVpcEndpointRequest
2305
- # data as a hash:
2306
- #
2307
- # {
2308
- # add_security_group_ids: ["SecurityGroupId"],
2309
- # add_subnet_ids: ["SubnetId"],
2310
- # client_token: "ClientToken",
2311
- # id: "VpcEndpointId", # required
2312
- # remove_security_group_ids: ["SecurityGroupId"],
2313
- # remove_subnet_ids: ["SubnetId"],
2314
- # }
2315
- #
2316
1986
  # @!attribute [rw] add_security_group_ids
2317
1987
  # The unique identifiers of the security groups to add to the
2318
1988
  # endpoint. Security groups define the ports, protocols, and sources
@@ -2455,13 +2125,6 @@ module Aws::OpenSearchServerless
2455
2125
 
2456
2126
  # Filter the results of a `ListVpcEndpoints` request.
2457
2127
  #
2458
- # @note When making an API call, you may pass VpcEndpointFilters
2459
- # data as a hash:
2460
- #
2461
- # {
2462
- # status: "PENDING", # accepts PENDING, DELETING, ACTIVE, FAILED
2463
- # }
2464
- #
2465
2128
  # @!attribute [rw] status
2466
2129
  # The current status of the endpoint.
2467
2130
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-opensearchserverless/customizations'
52
52
  # @!group service
53
53
  module Aws::OpenSearchServerless
54
54
 
55
- GEM_VERSION = '1.0.0'
55
+ GEM_VERSION = '1.1.0'
56
56
 
57
57
  end
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.0.0
4
+ version: 1.1.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: 2022-11-29 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core