aws-sdk-opensearchserverless 1.21.0 → 1.23.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: 76c6cfdc3360ac117d2878057ea1320d5f1455133f70714a9b8da6de916105f3
4
- data.tar.gz: 9ec83989569f6d23440ebf6a25b789e782986452ca42fe4257f3857622bd6bdc
3
+ metadata.gz: d0eb665e30a87d7c436e58adf3d74df453a07ece23008e0f30a71e7fbcc5d4e7
4
+ data.tar.gz: 3ee6bfe8782ad03494b9123aec9225bb8dad9f6b444ab8a09d008a83840c5d58
5
5
  SHA512:
6
- metadata.gz: dd87571b13d77e94d34327c601cbab613334289ad1df78864ed6bb0b139b1b6b5b8484610547ee7e8db4dad253dea59b1d0556e370fca8d1708c30b51b5b0456
7
- data.tar.gz: 26d40421bf08b1d213957bf44c5ebe9aa786741e982fe9cf986dcdf275fc3567505f35874f4134165624cfba62447281b8275d2bebacf0a0b687ab55d9331e9d
6
+ metadata.gz: 78ae91f2555d00f3785cdf146c7580e66c055d3e06bb6b292a0dd9ca39f7585afab631d2aefd636efb8b0637c4f6d9473a656d6337670c9814354d19ac614f65
7
+ data.tar.gz: c54029b10735133e633505617e124d1465720de4101ecee40ab2aaeaf520d5d5623cf33f9a3f6f4ba1f72dd6309dac1ec7904185ad906bed0fe4d4634058b516
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.23.0 (2024-09-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.22.0 (2024-08-20)
10
+ ------------------
11
+
12
+ * Feature - Added FailureCode and FailureMessage to BatchGetCollectionResponse for BatchGetVPCEResponse for non-Active Collection and VPCE.
13
+
4
14
  1.21.0 (2024-07-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.21.0
1
+ 1.23.0
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
32
  require 'aws-sdk-core/plugins/request_compression.rb'
33
33
  require 'aws-sdk-core/plugins/defaults_mode.rb'
34
34
  require 'aws-sdk-core/plugins/recursion_detection.rb'
35
+ require 'aws-sdk-core/plugins/telemetry.rb'
35
36
  require 'aws-sdk-core/plugins/sign.rb'
36
37
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
37
38
 
@@ -83,6 +84,7 @@ module Aws::OpenSearchServerless
83
84
  add_plugin(Aws::Plugins::RequestCompression)
84
85
  add_plugin(Aws::Plugins::DefaultsMode)
85
86
  add_plugin(Aws::Plugins::RecursionDetection)
87
+ add_plugin(Aws::Plugins::Telemetry)
86
88
  add_plugin(Aws::Plugins::Sign)
87
89
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
88
90
  add_plugin(Aws::OpenSearchServerless::Plugins::Endpoints)
@@ -337,6 +339,16 @@ module Aws::OpenSearchServerless
337
339
  # ** Please note ** When response stubbing is enabled, no HTTP
338
340
  # requests are made, and retries are disabled.
339
341
  #
342
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
343
+ # Allows you to provide a telemetry provider, which is used to
344
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
345
+ # will not record or emit any telemetry data. The SDK supports the
346
+ # following telemetry providers:
347
+ #
348
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
349
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
350
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
351
+ #
340
352
  # @option options [Aws::TokenProvider] :token_provider
341
353
  # A Bearer Token Provider. This can be an instance of any one of the
342
354
  # following classes:
@@ -474,6 +486,8 @@ module Aws::OpenSearchServerless
474
486
  # resp.collection_details[0].created_date #=> Integer
475
487
  # resp.collection_details[0].dashboard_endpoint #=> String
476
488
  # resp.collection_details[0].description #=> String
489
+ # resp.collection_details[0].failure_code #=> String
490
+ # resp.collection_details[0].failure_message #=> String
477
491
  # resp.collection_details[0].id #=> String
478
492
  # resp.collection_details[0].kms_key_arn #=> String
479
493
  # resp.collection_details[0].last_modified_date #=> Integer
@@ -624,6 +638,8 @@ module Aws::OpenSearchServerless
624
638
  #
625
639
  # resp.vpc_endpoint_details #=> Array
626
640
  # resp.vpc_endpoint_details[0].created_date #=> Integer
641
+ # resp.vpc_endpoint_details[0].failure_code #=> String
642
+ # resp.vpc_endpoint_details[0].failure_message #=> String
627
643
  # resp.vpc_endpoint_details[0].id #=> String
628
644
  # resp.vpc_endpoint_details[0].name #=> String
629
645
  # resp.vpc_endpoint_details[0].security_group_ids #=> Array
@@ -2348,14 +2364,19 @@ module Aws::OpenSearchServerless
2348
2364
  # @api private
2349
2365
  def build_request(operation_name, params = {})
2350
2366
  handlers = @handlers.for(operation_name)
2367
+ tracer = config.telemetry_provider.tracer_provider.tracer(
2368
+ Aws::Telemetry.module_to_tracer_name('Aws::OpenSearchServerless')
2369
+ )
2351
2370
  context = Seahorse::Client::RequestContext.new(
2352
2371
  operation_name: operation_name,
2353
2372
  operation: config.api.operation(operation_name),
2354
2373
  client: self,
2355
2374
  params: params,
2356
- config: config)
2375
+ config: config,
2376
+ tracer: tracer
2377
+ )
2357
2378
  context[:gem_name] = 'aws-sdk-opensearchserverless'
2358
- context[:gem_version] = '1.21.0'
2379
+ context[:gem_version] = '1.23.0'
2359
2380
  Seahorse::Client::Request.new(handlers, context)
2360
2381
  end
2361
2382
 
@@ -266,6 +266,8 @@ module Aws::OpenSearchServerless
266
266
  CollectionDetail.add_member(:created_date, Shapes::ShapeRef.new(shape: Long, location_name: "createdDate"))
267
267
  CollectionDetail.add_member(:dashboard_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "dashboardEndpoint"))
268
268
  CollectionDetail.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
269
+ CollectionDetail.add_member(:failure_code, Shapes::ShapeRef.new(shape: String, location_name: "failureCode"))
270
+ CollectionDetail.add_member(:failure_message, Shapes::ShapeRef.new(shape: String, location_name: "failureMessage"))
269
271
  CollectionDetail.add_member(:id, Shapes::ShapeRef.new(shape: CollectionId, location_name: "id"))
270
272
  CollectionDetail.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyArn"))
271
273
  CollectionDetail.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: Long, location_name: "lastModifiedDate"))
@@ -779,6 +781,8 @@ module Aws::OpenSearchServerless
779
781
  ValidationException.struct_class = Types::ValidationException
780
782
 
781
783
  VpcEndpointDetail.add_member(:created_date, Shapes::ShapeRef.new(shape: Long, location_name: "createdDate"))
784
+ VpcEndpointDetail.add_member(:failure_code, Shapes::ShapeRef.new(shape: String, location_name: "failureCode"))
785
+ VpcEndpointDetail.add_member(:failure_message, Shapes::ShapeRef.new(shape: String, location_name: "failureMessage"))
782
786
  VpcEndpointDetail.add_member(:id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "id"))
783
787
  VpcEndpointDetail.add_member(:name, Shapes::ShapeRef.new(shape: VpcEndpointName, location_name: "name"))
784
788
  VpcEndpointDetail.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "securityGroupIds"))
@@ -816,9 +820,11 @@ module Aws::OpenSearchServerless
816
820
 
817
821
  api.metadata = {
818
822
  "apiVersion" => "2021-11-01",
823
+ "auth" => ["aws.auth#sigv4"],
819
824
  "endpointPrefix" => "aoss",
820
825
  "jsonVersion" => "1.0",
821
826
  "protocol" => "json",
827
+ "protocols" => ["json"],
822
828
  "serviceFullName" => "OpenSearch Service Serverless",
823
829
  "serviceId" => "OpenSearchServerless",
824
830
  "signatureVersion" => "v4",
@@ -311,6 +311,14 @@ module Aws::OpenSearchServerless
311
311
  # A description of the collection.
312
312
  # @return [String]
313
313
  #
314
+ # @!attribute [rw] failure_code
315
+ # A failure code associated with the request.
316
+ # @return [String]
317
+ #
318
+ # @!attribute [rw] failure_message
319
+ # A message associated with the failure code.
320
+ # @return [String]
321
+ #
314
322
  # @!attribute [rw] id
315
323
  # A unique identifier for the collection.
316
324
  # @return [String]
@@ -348,6 +356,8 @@ module Aws::OpenSearchServerless
348
356
  :created_date,
349
357
  :dashboard_endpoint,
350
358
  :description,
359
+ :failure_code,
360
+ :failure_message,
351
361
  :id,
352
362
  :kms_key_arn,
353
363
  :last_modified_date,
@@ -2616,6 +2626,14 @@ module Aws::OpenSearchServerless
2616
2626
  # The date the endpoint was created.
2617
2627
  # @return [Integer]
2618
2628
  #
2629
+ # @!attribute [rw] failure_code
2630
+ # A failure code associated with the request.
2631
+ # @return [String]
2632
+ #
2633
+ # @!attribute [rw] failure_message
2634
+ # A message associated with the failure code.
2635
+ # @return [String]
2636
+ #
2619
2637
  # @!attribute [rw] id
2620
2638
  # The unique identifier of the endpoint.
2621
2639
  # @return [String]
@@ -2646,6 +2664,8 @@ module Aws::OpenSearchServerless
2646
2664
  #
2647
2665
  class VpcEndpointDetail < Struct.new(
2648
2666
  :created_date,
2667
+ :failure_code,
2668
+ :failure_message,
2649
2669
  :id,
2650
2670
  :name,
2651
2671
  :security_group_ids,
@@ -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.21.0'
55
+ GEM_VERSION = '1.23.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -51,6 +51,7 @@ module Aws
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?simple_json: bool,
53
53
  ?stub_responses: untyped,
54
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
54
55
  ?token_provider: untyped,
55
56
  ?use_dualstack_endpoint: bool,
56
57
  ?use_fips_endpoint: bool,
data/sig/resource.rbs CHANGED
@@ -51,6 +51,7 @@ module Aws
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?simple_json: bool,
53
53
  ?stub_responses: untyped,
54
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
54
55
  ?token_provider: untyped,
55
56
  ?use_dualstack_endpoint: bool,
56
57
  ?use_fips_endpoint: bool,
data/sig/types.rbs CHANGED
@@ -96,6 +96,8 @@ module Aws::OpenSearchServerless
96
96
  attr_accessor created_date: ::Integer
97
97
  attr_accessor dashboard_endpoint: ::String
98
98
  attr_accessor description: ::String
99
+ attr_accessor failure_code: ::String
100
+ attr_accessor failure_message: ::String
99
101
  attr_accessor id: ::String
100
102
  attr_accessor kms_key_arn: ::String
101
103
  attr_accessor last_modified_date: ::Integer
@@ -755,6 +757,8 @@ module Aws::OpenSearchServerless
755
757
 
756
758
  class VpcEndpointDetail
757
759
  attr_accessor created_date: ::Integer
760
+ attr_accessor failure_code: ::String
761
+ attr_accessor failure_message: ::String
758
762
  attr_accessor id: ::String
759
763
  attr_accessor name: ::String
760
764
  attr_accessor security_group_ids: ::Array[::String]
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.21.0
4
+ version: 1.23.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: 2024-07-02 00:00:00.000000000 Z
11
+ date: 2024-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.201.0
22
+ version: 3.203.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,21 +29,21 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.201.0
32
+ version: 3.203.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.1'
39
+ version: '1.5'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.1'
46
+ version: '1.5'
47
47
  description: Official AWS Ruby gem for OpenSearch Service Serverless. This gem is
48
48
  part of the AWS SDK for Ruby.
49
49
  email: