aws-sdk-workspaces 1.113.0 → 1.115.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f879b5a1e540ac7f31e7379a72f8ee61915ed684e8087abbaf8b44fcfcc27c8
4
- data.tar.gz: 2626cff6e1a095e7d06568fbfa46cac7ec30b730287c00f26139f99a967474e6
3
+ metadata.gz: 52b085b43f2a282bf16f85c9ea748f534072b0ad5d7a76d71b3e04d3e51ad5f8
4
+ data.tar.gz: 8b2aed7e3e8684fa5421ac2d407d3a41724a0a86202f4e7113bf057c6abfd959
5
5
  SHA512:
6
- metadata.gz: 1b5646cf450da343b0eef76d22cf0f50f26ce7d4dc6e5ecc043fdc230c8aad1ac9eb076612f227670391011ae4b8b1b727a915ec8ad7574e083167d41a5e9748
7
- data.tar.gz: 70a581a16085ce4d49df0245a9b9e00c0ecbecb57c4433909636b229e79193fd40bb1511d96780810207a40847e34a2c92945062556fbc1683562f7d0b3be6f0
6
+ metadata.gz: 967587ec3d7d55caa574ca1d28ca1ad92167e4976594be2f80364ed798ab23e0d33bbeb298ee89b419c4231715dbabaf0f9352b5b38f064e04fd7cec341df94f
7
+ data.tar.gz: 3932bd870ea90a286a71b8f70cec6fa81184f65f89e1c5ff68be27c1ba5084361c00500a1e64158558ae2de0ca418070d5f25922e970f7835642eb8582b573da
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.115.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.114.0 (2024-08-28)
10
+ ------------------
11
+
12
+ * Feature - Documentation-only update that clarifies the StartWorkspaces and StopWorkspaces actions, and a few other minor edits.
13
+
4
14
  1.113.0 (2024-08-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.113.0
1
+ 1.115.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::WorkSpaces
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::WorkSpaces::Plugins::Endpoints)
@@ -337,6 +339,16 @@ module Aws::WorkSpaces
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:
@@ -4221,7 +4233,7 @@ module Aws::WorkSpaces
4221
4233
  # Starts the specified WorkSpaces.
4222
4234
  #
4223
4235
  # You cannot start a WorkSpace unless it has a running mode of
4224
- # `AutoStop` and a state of `STOPPED`.
4236
+ # `AutoStop` or `Manual` and a state of `STOPPED`.
4225
4237
  #
4226
4238
  # @option params [required, Array<Types::StartRequest>] :start_workspace_requests
4227
4239
  # The WorkSpaces to start. You can specify up to 25 WorkSpaces.
@@ -4284,7 +4296,8 @@ module Aws::WorkSpaces
4284
4296
  # Stops the specified WorkSpaces.
4285
4297
  #
4286
4298
  # You cannot stop a WorkSpace unless it has a running mode of `AutoStop`
4287
- # and a state of `AVAILABLE`, `IMPAIRED`, `UNHEALTHY`, or `ERROR`.
4299
+ # or `Manual` and a state of `AVAILABLE`, `IMPAIRED`, `UNHEALTHY`, or
4300
+ # `ERROR`.
4288
4301
  #
4289
4302
  # @option params [required, Array<Types::StopRequest>] :stop_workspace_requests
4290
4303
  # The WorkSpaces to stop. You can specify up to 25 WorkSpaces.
@@ -4770,14 +4783,19 @@ module Aws::WorkSpaces
4770
4783
  # @api private
4771
4784
  def build_request(operation_name, params = {})
4772
4785
  handlers = @handlers.for(operation_name)
4786
+ tracer = config.telemetry_provider.tracer_provider.tracer(
4787
+ Aws::Telemetry.module_to_tracer_name('Aws::WorkSpaces')
4788
+ )
4773
4789
  context = Seahorse::Client::RequestContext.new(
4774
4790
  operation_name: operation_name,
4775
4791
  operation: config.api.operation(operation_name),
4776
4792
  client: self,
4777
4793
  params: params,
4778
- config: config)
4794
+ config: config,
4795
+ tracer: tracer
4796
+ )
4779
4797
  context[:gem_name] = 'aws-sdk-workspaces'
4780
- context[:gem_version] = '1.113.0'
4798
+ context[:gem_version] = '1.115.0'
4781
4799
  Seahorse::Client::Request.new(handlers, context)
4782
4800
  end
4783
4801
 
@@ -5931,6 +5931,12 @@ module Aws::WorkSpaces
5931
5931
  #
5932
5932
  # @!attribute [rw] workspace_name
5933
5933
  # The name of the user-decoupled WorkSpace.
5934
+ #
5935
+ # <note markdown="1"> `WorkspaceName` is required if `UserName` is `[UNDEFINED]` for
5936
+ # user-decoupled WorkSpaces. `WorkspaceName` is not applicable if
5937
+ # `UserName` is specified for user-assigned WorkSpaces.
5938
+ #
5939
+ # </note>
5934
5940
  # @return [String]
5935
5941
  #
5936
5942
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceRequest AWS API Documentation
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-workspaces/customizations'
52
52
  # @!group service
53
53
  module Aws::WorkSpaces
54
54
 
55
- GEM_VERSION = '1.113.0'
55
+ GEM_VERSION = '1.115.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,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-workspaces
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.113.0
4
+ version: 1.115.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-08-26 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,7 +29,7 @@ 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