aws-sdk-nimblestudio 1.0.0 → 1.4.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: 04a681b9b64e30ca4cfce21de71621dcffd85a547cb78a526947189b5f72159c
4
- data.tar.gz: d789fec02239be5335d7f2579d4e9a92bdf734f91ade12fd303fcaced1e48106
3
+ metadata.gz: 87780e6b892e198bd526256079fa48baaa393aa37c0f723a441538d97e190b85
4
+ data.tar.gz: e0a3a253ebcc7e94de3ee3d66dfc65307e17e3e9de6df0067b9a8f29d68fe72d
5
5
  SHA512:
6
- metadata.gz: 7772a4298e51a6936d6f86bfdcb33c1d30600f21bfdbace6665ee1cd8e6503b3af288baf5226892cac230f7d638fc5ca06c19511e35fb44cd6af7bec30478475
7
- data.tar.gz: 37279d7f4eef3a9031387cadb373d3f4be402b8660d19410567257002923575a491d2d636509eee3e863e7a2e315f95e208333908f57a2c59070ba5d3d0f39d8
6
+ metadata.gz: 740a2f9abdc720522e4fe9715553e1ce3919d9319ffd98cc98af16892fb89a3b65e81faf4cfffa2051f60185cdd41c4dc396ab3276893ec19bc5753f1adeba44
7
+ data.tar.gz: bd27b4b98e1fc685bee2bd3d4d368751a61e3f8447bd8c4df4f2b127a6b2663819fe5a0c2dad0d7a8a35750631d4944f72cae872f6d9f2d1c39c96bbf9da9016
data/CHANGELOG.md CHANGED
@@ -1,8 +1,29 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.0 (2021-08-11)
5
+ ------------------
6
+
7
+ * Feature - Add new attribute 'ownedBy' in Streaming Session APIs. 'ownedBy' represents the AWS SSO Identity Store User ID of the owner of the Streaming Session resource.
8
+
9
+ 1.3.0 (2021-07-30)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.2.0 (2021-07-28)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.1.0 (2021-05-05)
20
+ ------------------
21
+
22
+ * Feature - Documentation Updates for Amazon Nimble Studio.
23
+
24
+ * Issue - Add a `Content-Type` header to mitigate a service side issue.
25
+
4
26
  1.0.0 (2021-04-28)
5
27
  ------------------
6
28
 
7
29
  * Feature - Initial release of `aws-sdk-nimblestudio`.
8
-
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.4.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-nimblestudio/customizations'
48
48
  # @!group service
49
49
  module Aws::NimbleStudio
50
50
 
51
- GEM_VERSION = '1.0.0'
51
+ GEM_VERSION = '1.4.0'
52
52
 
53
53
  end
@@ -29,6 +29,7 @@ require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
31
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
+ require 'aws-sdk-nimblestudio/plugins/content_type.rb'
32
33
 
33
34
  Aws::Plugins::GlobalConfiguration.add_identifier(:nimblestudio)
34
35
 
@@ -75,6 +76,7 @@ module Aws::NimbleStudio
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
76
77
  add_plugin(Aws::Plugins::SignatureV4)
77
78
  add_plugin(Aws::Plugins::Protocols::RestJson)
79
+ add_plugin(Aws::NimbleStudio::Plugins::ContentType)
78
80
 
79
81
  # @overload initialize(options)
80
82
  # @param [Hash] options
@@ -527,6 +529,8 @@ module Aws::NimbleStudio
527
529
  #
528
530
  # @option params [String] :launch_profile_id
529
531
  #
532
+ # @option params [String] :owned_by
533
+ #
530
534
  # @option params [String] :streaming_image_id
531
535
  #
532
536
  # @option params [required, String] :studio_id
@@ -543,6 +547,7 @@ module Aws::NimbleStudio
543
547
  # client_token: "ClientToken",
544
548
  # ec2_instance_type: "g4dn.xlarge", # accepts g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge
545
549
  # launch_profile_id: "__string",
550
+ # owned_by: "__string",
546
551
  # streaming_image_id: "StreamingImageId",
547
552
  # studio_id: "__string", # required
548
553
  # tags: {
@@ -557,6 +562,7 @@ module Aws::NimbleStudio
557
562
  # resp.session.created_by #=> String
558
563
  # resp.session.ec2_instance_type #=> String
559
564
  # resp.session.launch_profile_id #=> String
565
+ # resp.session.owned_by #=> String
560
566
  # resp.session.session_id #=> String
561
567
  # resp.session.state #=> String, one of "CREATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "READY", "DELETED", "CREATE_FAILED", "DELETE_FAILED"
562
568
  # resp.session.status_code #=> String, one of "STREAMING_SESSION_READY", "STREAMING_SESSION_DELETED", "STREAMING_SESSION_CREATE_IN_PROGRESS", "STREAMING_SESSION_DELETE_IN_PROGRESS", "INTERNAL_ERROR", "INSUFFICIENT_CAPACITY", "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR", "NETWORK_CONNECTION_ERROR", "INITIALIZATION_SCRIPT_ERROR", "DECRYPT_STREAMING_IMAGE_ERROR", "NETWORK_INTERFACE_ERROR"
@@ -610,6 +616,7 @@ module Aws::NimbleStudio
610
616
  # resp.stream.created_at #=> Time
611
617
  # resp.stream.created_by #=> String
612
618
  # resp.stream.expires_at #=> Time
619
+ # resp.stream.owned_by #=> String
613
620
  # resp.stream.state #=> String, one of "READY", "CREATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "CREATE_FAILED", "DELETE_FAILED"
614
621
  # resp.stream.status_code #=> String, one of "STREAM_CREATE_IN_PROGRESS", "STREAM_READY", "STREAM_DELETE_IN_PROGRESS", "STREAM_DELETED", "INTERNAL_ERROR", "NETWORK_CONNECTION_ERROR"
615
622
  # resp.stream.stream_id #=> String
@@ -641,11 +648,11 @@ module Aws::NimbleStudio
641
648
  #
642
649
  # In Nimble Studio, resource names, descriptions, initialization
643
650
  # scripts, and other data you provide are always encrypted at rest using
644
- # an AWS KMS key. By default, this key is owned by AWS and managed on
645
- # your behalf. You may provide your own AWS KMS key when calling
651
+ # an KMS key. By default, this key is owned by Amazon Web Services and
652
+ # managed on your behalf. You may provide your own KMS key when calling
646
653
  # CreateStudio to encrypt this data using a key you own and manage.
647
654
  #
648
- # When providing an AWS KMS key during studio creation, Nimble Studio
655
+ # When providing an KMS key during studio creation, Nimble Studio
649
656
  # creates KMS grants in your account to provide your studio user and
650
657
  # admin roles access to these KMS keys.
651
658
  #
@@ -1035,6 +1042,7 @@ module Aws::NimbleStudio
1035
1042
  # resp.session.created_by #=> String
1036
1043
  # resp.session.ec2_instance_type #=> String
1037
1044
  # resp.session.launch_profile_id #=> String
1045
+ # resp.session.owned_by #=> String
1038
1046
  # resp.session.session_id #=> String
1039
1047
  # resp.session.state #=> String, one of "CREATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "READY", "DELETED", "CREATE_FAILED", "DELETE_FAILED"
1040
1048
  # resp.session.status_code #=> String, one of "STREAMING_SESSION_READY", "STREAMING_SESSION_DELETED", "STREAMING_SESSION_CREATE_IN_PROGRESS", "STREAMING_SESSION_DELETE_IN_PROGRESS", "INTERNAL_ERROR", "INSUFFICIENT_CAPACITY", "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR", "NETWORK_CONNECTION_ERROR", "INITIALIZATION_SCRIPT_ERROR", "DECRYPT_STREAMING_IMAGE_ERROR", "NETWORK_INTERFACE_ERROR"
@@ -1547,6 +1555,7 @@ module Aws::NimbleStudio
1547
1555
  # resp.session.created_by #=> String
1548
1556
  # resp.session.ec2_instance_type #=> String
1549
1557
  # resp.session.launch_profile_id #=> String
1558
+ # resp.session.owned_by #=> String
1550
1559
  # resp.session.session_id #=> String
1551
1560
  # resp.session.state #=> String, one of "CREATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "READY", "DELETED", "CREATE_FAILED", "DELETE_FAILED"
1552
1561
  # resp.session.status_code #=> String, one of "STREAMING_SESSION_READY", "STREAMING_SESSION_DELETED", "STREAMING_SESSION_CREATE_IN_PROGRESS", "STREAMING_SESSION_DELETE_IN_PROGRESS", "INTERNAL_ERROR", "INSUFFICIENT_CAPACITY", "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR", "NETWORK_CONNECTION_ERROR", "INITIALIZATION_SCRIPT_ERROR", "DECRYPT_STREAMING_IMAGE_ERROR", "NETWORK_INTERFACE_ERROR"
@@ -1599,6 +1608,7 @@ module Aws::NimbleStudio
1599
1608
  # resp.stream.created_at #=> Time
1600
1609
  # resp.stream.created_by #=> String
1601
1610
  # resp.stream.expires_at #=> Time
1611
+ # resp.stream.owned_by #=> String
1602
1612
  # resp.stream.state #=> String, one of "READY", "CREATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "CREATE_FAILED", "DELETE_FAILED"
1603
1613
  # resp.stream.status_code #=> String, one of "STREAM_CREATE_IN_PROGRESS", "STREAM_READY", "STREAM_DELETE_IN_PROGRESS", "STREAM_DELETED", "INTERNAL_ERROR", "NETWORK_CONNECTION_ERROR"
1604
1614
  # resp.stream.stream_id #=> String
@@ -1950,8 +1960,8 @@ module Aws::NimbleStudio
1950
1960
 
1951
1961
  # List the streaming image resources available to this studio.
1952
1962
  #
1953
- # This list will contain both images provided by AWS, as well as
1954
- # streaming images that you have created in your studio.
1963
+ # This list will contain both images provided by Amazon Web Services, as
1964
+ # well as streaming images that you have created in your studio.
1955
1965
  #
1956
1966
  # @option params [String] :next_token
1957
1967
  #
@@ -2010,6 +2020,8 @@ module Aws::NimbleStudio
2010
2020
  #
2011
2021
  # @option params [String] :next_token
2012
2022
  #
2023
+ # @option params [String] :owned_by
2024
+ #
2013
2025
  # @option params [String] :session_ids
2014
2026
  #
2015
2027
  # @option params [required, String] :studio_id
@@ -2026,6 +2038,7 @@ module Aws::NimbleStudio
2026
2038
  # resp = client.list_streaming_sessions({
2027
2039
  # created_by: "__string",
2028
2040
  # next_token: "__string",
2041
+ # owned_by: "__string",
2029
2042
  # session_ids: "__string",
2030
2043
  # studio_id: "__string", # required
2031
2044
  # })
@@ -2039,6 +2052,7 @@ module Aws::NimbleStudio
2039
2052
  # resp.sessions[0].created_by #=> String
2040
2053
  # resp.sessions[0].ec2_instance_type #=> String
2041
2054
  # resp.sessions[0].launch_profile_id #=> String
2055
+ # resp.sessions[0].owned_by #=> String
2042
2056
  # resp.sessions[0].session_id #=> String
2043
2057
  # resp.sessions[0].state #=> String, one of "CREATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "READY", "DELETED", "CREATE_FAILED", "DELETE_FAILED"
2044
2058
  # resp.sessions[0].status_code #=> String, one of "STREAMING_SESSION_READY", "STREAMING_SESSION_DELETED", "STREAMING_SESSION_CREATE_IN_PROGRESS", "STREAMING_SESSION_DELETE_IN_PROGRESS", "INTERNAL_ERROR", "INSUFFICIENT_CAPACITY", "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR", "NETWORK_CONNECTION_ERROR", "INITIALIZATION_SCRIPT_ERROR", "DECRYPT_STREAMING_IMAGE_ERROR", "NETWORK_INTERFACE_ERROR"
@@ -2180,7 +2194,8 @@ module Aws::NimbleStudio
2180
2194
  req.send_request(options)
2181
2195
  end
2182
2196
 
2183
- # List studios in your AWS account in the requested AWS Region.
2197
+ # List studios in your Amazon Web Services account in the requested
2198
+ # Amazon Web Services Region.
2184
2199
  #
2185
2200
  # @option params [String] :next_token
2186
2201
  #
@@ -2342,15 +2357,18 @@ module Aws::NimbleStudio
2342
2357
 
2343
2358
  # Repairs the SSO configuration for a given studio.
2344
2359
  #
2345
- # If the studio has a valid AWS SSO configuration currently associated
2346
- # with it, this operation will fail with a validation error.
2360
+ # If the studio has a valid Amazon Web Services SSO configuration
2361
+ # currently associated with it, this operation will fail with a
2362
+ # validation error.
2347
2363
  #
2348
- # If the studio does not have a valid AWS SSO configuration currently
2349
- # associated with it, then a new AWS SSO application is created for the
2350
- # studio and the studio is changed to the READY state.
2364
+ # If the studio does not have a valid Amazon Web Services SSO
2365
+ # configuration currently associated with it, then a new Amazon Web
2366
+ # Services SSO application is created for the studio and the studio is
2367
+ # changed to the READY state.
2351
2368
  #
2352
- # After the AWS SSO application is repaired, you must use the Amazon
2353
- # Nimble Studio console to add administrators and users to your studio.
2369
+ # After the Amazon Web Services SSO application is repaired, you must
2370
+ # use the Amazon Nimble Studio console to add administrators and users
2371
+ # to your studio.
2354
2372
  #
2355
2373
  # @option params [String] :client_token
2356
2374
  # **A suitable default value is auto-generated.** You should normally
@@ -2837,7 +2855,7 @@ module Aws::NimbleStudio
2837
2855
  params: params,
2838
2856
  config: config)
2839
2857
  context[:gem_name] = 'aws-sdk-nimblestudio'
2840
- context[:gem_version] = '1.0.0'
2858
+ context[:gem_version] = '1.4.0'
2841
2859
  Seahorse::Client::Request.new(handlers, context)
2842
2860
  end
2843
2861
 
@@ -213,12 +213,12 @@ module Aws::NimbleStudio
213
213
  StreamingImageName = Shapes::StringShape.new(name: 'StreamingImageName')
214
214
  StreamingImageOwner = Shapes::StringShape.new(name: 'StreamingImageOwner')
215
215
  StreamingImagePlatform = Shapes::StringShape.new(name: 'StreamingImagePlatform')
216
- StreamingImageSessionId = Shapes::StringShape.new(name: 'StreamingImageSessionId')
217
216
  StreamingImageState = Shapes::StringShape.new(name: 'StreamingImageState')
218
217
  StreamingImageStatusCode = Shapes::StringShape.new(name: 'StreamingImageStatusCode')
219
218
  StreamingInstanceType = Shapes::StringShape.new(name: 'StreamingInstanceType')
220
219
  StreamingInstanceTypeList = Shapes::ListShape.new(name: 'StreamingInstanceTypeList')
221
220
  StreamingSession = Shapes::StructureShape.new(name: 'StreamingSession')
221
+ StreamingSessionId = Shapes::StringShape.new(name: 'StreamingSessionId')
222
222
  StreamingSessionList = Shapes::ListShape.new(name: 'StreamingSessionList')
223
223
  StreamingSessionState = Shapes::StringShape.new(name: 'StreamingSessionState')
224
224
  StreamingSessionStatusCode = Shapes::StringShape.new(name: 'StreamingSessionStatusCode')
@@ -228,7 +228,7 @@ module Aws::NimbleStudio
228
228
  StreamingSessionStreamStatusCode = Shapes::StringShape.new(name: 'StreamingSessionStreamStatusCode')
229
229
  Studio = Shapes::StructureShape.new(name: 'Studio')
230
230
  StudioComponent = Shapes::StructureShape.new(name: 'StudioComponent')
231
- StudioComponentConfiguration = Shapes::StructureShape.new(name: 'StudioComponentConfiguration')
231
+ StudioComponentConfiguration = Shapes::UnionShape.new(name: 'StudioComponentConfiguration')
232
232
  StudioComponentDescription = Shapes::StringShape.new(name: 'StudioComponentDescription')
233
233
  StudioComponentId = Shapes::StringShape.new(name: 'StudioComponentId')
234
234
  StudioComponentInitializationScript = Shapes::StructureShape.new(name: 'StudioComponentInitializationScript')
@@ -384,6 +384,7 @@ module Aws::NimbleStudio
384
384
 
385
385
  CreateStreamingSessionInput.add_member(:ec2_instance_type, Shapes::ShapeRef.new(shape: StreamingInstanceType, location_name: "ec2InstanceType"))
386
386
  CreateStreamingSessionInput.add_member(:launch_profile_id, Shapes::ShapeRef.new(shape: __string, location_name: "launchProfileId"))
387
+ CreateStreamingSessionInput.add_member(:owned_by, Shapes::ShapeRef.new(shape: __string, location_name: "ownedBy"))
387
388
  CreateStreamingSessionInput.add_member(:streaming_image_id, Shapes::ShapeRef.new(shape: StreamingImageId, location_name: "streamingImageId"))
388
389
  CreateStreamingSessionInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
389
390
  CreateStreamingSessionInput.struct_class = Types::CreateStreamingSessionInput
@@ -394,6 +395,7 @@ module Aws::NimbleStudio
394
395
  CreateStreamingSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
395
396
  CreateStreamingSessionRequest.add_member(:ec2_instance_type, Shapes::ShapeRef.new(shape: StreamingInstanceType, location_name: "ec2InstanceType"))
396
397
  CreateStreamingSessionRequest.add_member(:launch_profile_id, Shapes::ShapeRef.new(shape: __string, location_name: "launchProfileId"))
398
+ CreateStreamingSessionRequest.add_member(:owned_by, Shapes::ShapeRef.new(shape: __string, location_name: "ownedBy"))
397
399
  CreateStreamingSessionRequest.add_member(:streaming_image_id, Shapes::ShapeRef.new(shape: StreamingImageId, location_name: "streamingImageId"))
398
400
  CreateStreamingSessionRequest.add_member(:studio_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "studioId"))
399
401
  CreateStreamingSessionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
@@ -833,6 +835,7 @@ module Aws::NimbleStudio
833
835
 
834
836
  ListStreamingSessionsRequest.add_member(:created_by, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "createdBy"))
835
837
  ListStreamingSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
838
+ ListStreamingSessionsRequest.add_member(:owned_by, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "ownedBy"))
836
839
  ListStreamingSessionsRequest.add_member(:session_ids, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "sessionIds"))
837
840
  ListStreamingSessionsRequest.add_member(:studio_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "studioId"))
838
841
  ListStreamingSessionsRequest.struct_class = Types::ListStreamingSessionsRequest
@@ -1001,7 +1004,8 @@ module Aws::NimbleStudio
1001
1004
  StreamingSession.add_member(:created_by, Shapes::ShapeRef.new(shape: __string, location_name: "createdBy"))
1002
1005
  StreamingSession.add_member(:ec2_instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "ec2InstanceType"))
1003
1006
  StreamingSession.add_member(:launch_profile_id, Shapes::ShapeRef.new(shape: __string, location_name: "launchProfileId"))
1004
- StreamingSession.add_member(:session_id, Shapes::ShapeRef.new(shape: StreamingImageSessionId, location_name: "sessionId"))
1007
+ StreamingSession.add_member(:owned_by, Shapes::ShapeRef.new(shape: __string, location_name: "ownedBy"))
1008
+ StreamingSession.add_member(:session_id, Shapes::ShapeRef.new(shape: StreamingSessionId, location_name: "sessionId"))
1005
1009
  StreamingSession.add_member(:state, Shapes::ShapeRef.new(shape: StreamingSessionState, location_name: "state"))
1006
1010
  StreamingSession.add_member(:status_code, Shapes::ShapeRef.new(shape: StreamingSessionStatusCode, location_name: "statusCode"))
1007
1011
  StreamingSession.add_member(:status_message, Shapes::ShapeRef.new(shape: __string, location_name: "statusMessage"))
@@ -1017,6 +1021,7 @@ module Aws::NimbleStudio
1017
1021
  StreamingSessionStream.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
1018
1022
  StreamingSessionStream.add_member(:created_by, Shapes::ShapeRef.new(shape: __string, location_name: "createdBy"))
1019
1023
  StreamingSessionStream.add_member(:expires_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "expiresAt"))
1024
+ StreamingSessionStream.add_member(:owned_by, Shapes::ShapeRef.new(shape: __string, location_name: "ownedBy"))
1020
1025
  StreamingSessionStream.add_member(:state, Shapes::ShapeRef.new(shape: StreamingSessionStreamState, location_name: "state"))
1021
1026
  StreamingSessionStream.add_member(:status_code, Shapes::ShapeRef.new(shape: StreamingSessionStreamStatusCode, location_name: "statusCode"))
1022
1027
  StreamingSessionStream.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
@@ -1065,6 +1070,12 @@ module Aws::NimbleStudio
1065
1070
  StudioComponentConfiguration.add_member(:compute_farm_configuration, Shapes::ShapeRef.new(shape: ComputeFarmConfiguration, location_name: "computeFarmConfiguration"))
1066
1071
  StudioComponentConfiguration.add_member(:license_service_configuration, Shapes::ShapeRef.new(shape: LicenseServiceConfiguration, location_name: "licenseServiceConfiguration"))
1067
1072
  StudioComponentConfiguration.add_member(:shared_file_system_configuration, Shapes::ShapeRef.new(shape: SharedFileSystemConfiguration, location_name: "sharedFileSystemConfiguration"))
1073
+ StudioComponentConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1074
+ StudioComponentConfiguration.add_member_subclass(:active_directory_configuration, Types::StudioComponentConfiguration::ActiveDirectoryConfiguration)
1075
+ StudioComponentConfiguration.add_member_subclass(:compute_farm_configuration, Types::StudioComponentConfiguration::ComputeFarmConfiguration)
1076
+ StudioComponentConfiguration.add_member_subclass(:license_service_configuration, Types::StudioComponentConfiguration::LicenseServiceConfiguration)
1077
+ StudioComponentConfiguration.add_member_subclass(:shared_file_system_configuration, Types::StudioComponentConfiguration::SharedFileSystemConfiguration)
1078
+ StudioComponentConfiguration.add_member_subclass(:unknown, Types::StudioComponentConfiguration::Unknown)
1068
1079
  StudioComponentConfiguration.struct_class = Types::StudioComponentConfiguration
1069
1080
 
1070
1081
  StudioComponentInitializationScript.add_member(:launch_profile_protocol_version, Shapes::ShapeRef.new(shape: LaunchProfileProtocolVersion, location_name: "launchProfileProtocolVersion"))
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Aws
4
+ module NimbleStudio
5
+ module Plugins
6
+ class ContentType < Seahorse::Client::Plugin
7
+
8
+ def add_handlers(handlers, _config)
9
+ handlers.add(Handler)
10
+ end
11
+
12
+ class Handler < Seahorse::Client::Handler
13
+ def call(context)
14
+ # Some operations break when given an empty content-type header.
15
+ # The SDK adds this blank content-type header
16
+ # since Net::HTTP provides a default that can break services.
17
+ # We're setting one here even though it's not used or necessary.
18
+ context.http_request.headers['content-type'] = 'application/x-amz-json-1.1'
19
+ @handler.call(context)
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
@@ -447,6 +447,9 @@ module Aws::NimbleStudio
447
447
  # @!attribute [rw] launch_profile_id
448
448
  # @return [String]
449
449
  #
450
+ # @!attribute [rw] owned_by
451
+ # @return [String]
452
+ #
450
453
  # @!attribute [rw] streaming_image_id
451
454
  # @return [String]
452
455
  #
@@ -458,6 +461,7 @@ module Aws::NimbleStudio
458
461
  class CreateStreamingSessionInput < Struct.new(
459
462
  :ec2_instance_type,
460
463
  :launch_profile_id,
464
+ :owned_by,
461
465
  :streaming_image_id,
462
466
  :tags)
463
467
  SENSITIVE = []
@@ -482,6 +486,7 @@ module Aws::NimbleStudio
482
486
  # client_token: "ClientToken",
483
487
  # ec2_instance_type: "g4dn.xlarge", # accepts g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge
484
488
  # launch_profile_id: "__string",
489
+ # owned_by: "__string",
485
490
  # streaming_image_id: "StreamingImageId",
486
491
  # studio_id: "__string", # required
487
492
  # tags: {
@@ -500,6 +505,9 @@ module Aws::NimbleStudio
500
505
  # @!attribute [rw] launch_profile_id
501
506
  # @return [String]
502
507
  #
508
+ # @!attribute [rw] owned_by
509
+ # @return [String]
510
+ #
503
511
  # @!attribute [rw] streaming_image_id
504
512
  # @return [String]
505
513
  #
@@ -515,6 +523,7 @@ module Aws::NimbleStudio
515
523
  :client_token,
516
524
  :ec2_instance_type,
517
525
  :launch_profile_id,
526
+ :owned_by,
518
527
  :streaming_image_id,
519
528
  :studio_id,
520
529
  :tags)
@@ -2417,6 +2426,7 @@ module Aws::NimbleStudio
2417
2426
  # {
2418
2427
  # created_by: "__string",
2419
2428
  # next_token: "__string",
2429
+ # owned_by: "__string",
2420
2430
  # session_ids: "__string",
2421
2431
  # studio_id: "__string", # required
2422
2432
  # }
@@ -2427,6 +2437,9 @@ module Aws::NimbleStudio
2427
2437
  # @!attribute [rw] next_token
2428
2438
  # @return [String]
2429
2439
  #
2440
+ # @!attribute [rw] owned_by
2441
+ # @return [String]
2442
+ #
2430
2443
  # @!attribute [rw] session_ids
2431
2444
  # @return [String]
2432
2445
  #
@@ -2438,6 +2451,7 @@ module Aws::NimbleStudio
2438
2451
  class ListStreamingSessionsRequest < Struct.new(
2439
2452
  :created_by,
2440
2453
  :next_token,
2454
+ :owned_by,
2441
2455
  :session_ids,
2442
2456
  :studio_id)
2443
2457
  SENSITIVE = []
@@ -3179,8 +3193,10 @@ module Aws::NimbleStudio
3179
3193
  # @!attribute [rw] launch_profile_id
3180
3194
  # @return [String]
3181
3195
  #
3196
+ # @!attribute [rw] owned_by
3197
+ # @return [String]
3198
+ #
3182
3199
  # @!attribute [rw] session_id
3183
- # The streaming image session ID.
3184
3200
  # @return [String]
3185
3201
  #
3186
3202
  # @!attribute [rw] state
@@ -3216,6 +3232,7 @@ module Aws::NimbleStudio
3216
3232
  :created_by,
3217
3233
  :ec2_instance_type,
3218
3234
  :launch_profile_id,
3235
+ :owned_by,
3219
3236
  :session_id,
3220
3237
  :state,
3221
3238
  :status_code,
@@ -3238,6 +3255,9 @@ module Aws::NimbleStudio
3238
3255
  # @!attribute [rw] expires_at
3239
3256
  # @return [Time]
3240
3257
  #
3258
+ # @!attribute [rw] owned_by
3259
+ # @return [String]
3260
+ #
3241
3261
  # @!attribute [rw] state
3242
3262
  # @return [String]
3243
3263
  #
@@ -3256,6 +3276,7 @@ module Aws::NimbleStudio
3256
3276
  :created_at,
3257
3277
  :created_by,
3258
3278
  :expires_at,
3279
+ :owned_by,
3259
3280
  :state,
3260
3281
  :status_code,
3261
3282
  :stream_id,
@@ -3461,35 +3482,9 @@ module Aws::NimbleStudio
3461
3482
 
3462
3483
  # The configuration of the studio component, based on component type.
3463
3484
  #
3464
- # @note When making an API call, you may pass StudioComponentConfiguration
3465
- # data as a hash:
3485
+ # @note StudioComponentConfiguration is a union - when making an API calls you must set exactly one of the members.
3466
3486
  #
3467
- # {
3468
- # active_directory_configuration: {
3469
- # computer_attributes: [
3470
- # {
3471
- # name: "ActiveDirectoryComputerAttributeName",
3472
- # value: "ActiveDirectoryComputerAttributeValue",
3473
- # },
3474
- # ],
3475
- # directory_id: "DirectoryId",
3476
- # organizational_unit_distinguished_name: "ActiveDirectoryOrganizationalUnitDistinguishedName",
3477
- # },
3478
- # compute_farm_configuration: {
3479
- # active_directory_user: "__string",
3480
- # endpoint: "__string",
3481
- # },
3482
- # license_service_configuration: {
3483
- # endpoint: "__string",
3484
- # },
3485
- # shared_file_system_configuration: {
3486
- # endpoint: "__string",
3487
- # file_system_id: "__string",
3488
- # linux_mount_point: "LinuxMountPoint",
3489
- # share_name: "__string",
3490
- # windows_mount_drive: "WindowsMountDrive",
3491
- # },
3492
- # }
3487
+ # @note StudioComponentConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of StudioComponentConfiguration corresponding to the set member.
3493
3488
  #
3494
3489
  # @!attribute [rw] active_directory_configuration
3495
3490
  # The configuration for a Microsoft Active Directory (Microsoft AD)
@@ -3517,9 +3512,17 @@ module Aws::NimbleStudio
3517
3512
  :active_directory_configuration,
3518
3513
  :compute_farm_configuration,
3519
3514
  :license_service_configuration,
3520
- :shared_file_system_configuration)
3515
+ :shared_file_system_configuration,
3516
+ :unknown)
3521
3517
  SENSITIVE = []
3522
3518
  include Aws::Structure
3519
+ include Aws::Structure::Union
3520
+
3521
+ class ActiveDirectoryConfiguration < StudioComponentConfiguration; end
3522
+ class ComputeFarmConfiguration < StudioComponentConfiguration; end
3523
+ class LicenseServiceConfiguration < StudioComponentConfiguration; end
3524
+ class SharedFileSystemConfiguration < StudioComponentConfiguration; end
3525
+ class Unknown < StudioComponentConfiguration; end
3523
3526
  end
3524
3527
 
3525
3528
  # Initialization scripts for studio components.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-nimblestudio
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.4.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: 2021-04-28 00:00:00.000000000 Z
11
+ date: 2021-08-11 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.112.0
22
+ version: 3.119.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.112.0
32
+ version: 3.119.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -60,6 +60,7 @@ files:
60
60
  - lib/aws-sdk-nimblestudio/client_api.rb
61
61
  - lib/aws-sdk-nimblestudio/customizations.rb
62
62
  - lib/aws-sdk-nimblestudio/errors.rb
63
+ - lib/aws-sdk-nimblestudio/plugins/content_type.rb
63
64
  - lib/aws-sdk-nimblestudio/resource.rb
64
65
  - lib/aws-sdk-nimblestudio/types.rb
65
66
  homepage: https://github.com/aws/aws-sdk-ruby