aws-sdk-appstream 1.79.0 → 1.80.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appstream/client.rb +40 -8
- data/lib/aws-sdk-appstream/client_api.rb +14 -4
- data/lib/aws-sdk-appstream/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-appstream/types.rb +86 -8
- data/lib/aws-sdk-appstream.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: ffabcf74f02d755d2b3ce4911b3d6f1473f592129b1a730c5a075fff1933e19b
|
4
|
+
data.tar.gz: cf7cacf05de9cd618d027a89af9bfbaf2709e944e765bfa66a221f731828a625
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 215dc0491c64a02e81773b9629de387eb29b44a518ea679d22b94a45555411f6749911ebbe7e5fb3cb7242ac88f84d071931351c6cfa36961aa0d81c6aeb8d68
|
7
|
+
data.tar.gz: d2545ba90605aa91215860c813e7c46c2e2a7bf159157cd9251e81a1089a8a4245d86a1436ebf98b1c7317a574837da9108d0175cf252635b1e0553a0f542158
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.80.0 (2023-10-26)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces multi-session fleets, allowing customers to provision more than one user session on a single fleet instance.
|
8
|
+
|
4
9
|
1.79.0 (2023-09-27)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.80.0
|
@@ -1304,7 +1304,7 @@ module Aws::AppStream
|
|
1304
1304
|
# open documents before being disconnected. After this time elapses, the
|
1305
1305
|
# instance is terminated and replaced by a new instance.
|
1306
1306
|
#
|
1307
|
-
# Specify a value between 600 and
|
1307
|
+
# Specify a value between 600 and 432000.
|
1308
1308
|
#
|
1309
1309
|
# @option params [Integer] :disconnect_timeout_in_seconds
|
1310
1310
|
# The amount of time that a streaming session remains active after users
|
@@ -1418,6 +1418,10 @@ module Aws::AppStream
|
|
1418
1418
|
# The S3 location of the session scripts configuration zip file. This
|
1419
1419
|
# only applies to Elastic fleets.
|
1420
1420
|
#
|
1421
|
+
# @option params [Integer] :max_sessions_per_instance
|
1422
|
+
# The maximum number of user sessions on an instance. This only applies
|
1423
|
+
# to multi-session fleets.
|
1424
|
+
#
|
1421
1425
|
# @return [Types::CreateFleetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1422
1426
|
#
|
1423
1427
|
# * {Types::CreateFleetResult#fleet #fleet} => Types::Fleet
|
@@ -1431,7 +1435,8 @@ module Aws::AppStream
|
|
1431
1435
|
# instance_type: "String", # required
|
1432
1436
|
# fleet_type: "ALWAYS_ON", # accepts ALWAYS_ON, ON_DEMAND, ELASTIC
|
1433
1437
|
# compute_capacity: {
|
1434
|
-
# desired_instances: 1,
|
1438
|
+
# desired_instances: 1,
|
1439
|
+
# desired_sessions: 1,
|
1435
1440
|
# },
|
1436
1441
|
# vpc_config: {
|
1437
1442
|
# subnet_ids: ["String"],
|
@@ -1459,6 +1464,7 @@ module Aws::AppStream
|
|
1459
1464
|
# s3_bucket: "S3Bucket", # required
|
1460
1465
|
# s3_key: "S3Key",
|
1461
1466
|
# },
|
1467
|
+
# max_sessions_per_instance: 1,
|
1462
1468
|
# })
|
1463
1469
|
#
|
1464
1470
|
# @example Response structure
|
@@ -1475,6 +1481,10 @@ module Aws::AppStream
|
|
1475
1481
|
# resp.fleet.compute_capacity_status.running #=> Integer
|
1476
1482
|
# resp.fleet.compute_capacity_status.in_use #=> Integer
|
1477
1483
|
# resp.fleet.compute_capacity_status.available #=> Integer
|
1484
|
+
# resp.fleet.compute_capacity_status.desired_user_sessions #=> Integer
|
1485
|
+
# resp.fleet.compute_capacity_status.available_user_sessions #=> Integer
|
1486
|
+
# resp.fleet.compute_capacity_status.active_user_sessions #=> Integer
|
1487
|
+
# resp.fleet.compute_capacity_status.actual_user_sessions #=> Integer
|
1478
1488
|
# resp.fleet.max_user_duration_in_seconds #=> Integer
|
1479
1489
|
# resp.fleet.disconnect_timeout_in_seconds #=> Integer
|
1480
1490
|
# resp.fleet.state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED"
|
@@ -1498,6 +1508,7 @@ module Aws::AppStream
|
|
1498
1508
|
# resp.fleet.usb_device_filter_strings[0] #=> String
|
1499
1509
|
# resp.fleet.session_script_s3_location.s3_bucket #=> String
|
1500
1510
|
# resp.fleet.session_script_s3_location.s3_key #=> String
|
1511
|
+
# resp.fleet.max_sessions_per_instance #=> Integer
|
1501
1512
|
#
|
1502
1513
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleet AWS API Documentation
|
1503
1514
|
#
|
@@ -2965,6 +2976,10 @@ module Aws::AppStream
|
|
2965
2976
|
# resp.fleets[0].compute_capacity_status.running #=> Integer
|
2966
2977
|
# resp.fleets[0].compute_capacity_status.in_use #=> Integer
|
2967
2978
|
# resp.fleets[0].compute_capacity_status.available #=> Integer
|
2979
|
+
# resp.fleets[0].compute_capacity_status.desired_user_sessions #=> Integer
|
2980
|
+
# resp.fleets[0].compute_capacity_status.available_user_sessions #=> Integer
|
2981
|
+
# resp.fleets[0].compute_capacity_status.active_user_sessions #=> Integer
|
2982
|
+
# resp.fleets[0].compute_capacity_status.actual_user_sessions #=> Integer
|
2968
2983
|
# resp.fleets[0].max_user_duration_in_seconds #=> Integer
|
2969
2984
|
# resp.fleets[0].disconnect_timeout_in_seconds #=> Integer
|
2970
2985
|
# resp.fleets[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED"
|
@@ -2988,6 +3003,7 @@ module Aws::AppStream
|
|
2988
3003
|
# resp.fleets[0].usb_device_filter_strings[0] #=> String
|
2989
3004
|
# resp.fleets[0].session_script_s3_location.s3_bucket #=> String
|
2990
3005
|
# resp.fleets[0].session_script_s3_location.s3_key #=> String
|
3006
|
+
# resp.fleets[0].max_sessions_per_instance #=> Integer
|
2991
3007
|
# resp.next_token #=> String
|
2992
3008
|
#
|
2993
3009
|
#
|
@@ -3249,6 +3265,9 @@ module Aws::AppStream
|
|
3249
3265
|
# using a streaming URL or `SAML` for a SAML federated user. The default
|
3250
3266
|
# is to authenticate users using a streaming URL.
|
3251
3267
|
#
|
3268
|
+
# @option params [String] :instance_id
|
3269
|
+
# The identifier for the instance hosting the session.
|
3270
|
+
#
|
3252
3271
|
# @return [Types::DescribeSessionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3253
3272
|
#
|
3254
3273
|
# * {Types::DescribeSessionsResult#sessions #sessions} => Array<Types::Session>
|
@@ -3257,12 +3276,13 @@ module Aws::AppStream
|
|
3257
3276
|
# @example Request syntax with placeholder values
|
3258
3277
|
#
|
3259
3278
|
# resp = client.describe_sessions({
|
3260
|
-
# stack_name: "
|
3261
|
-
# fleet_name: "
|
3279
|
+
# stack_name: "Name", # required
|
3280
|
+
# fleet_name: "Name", # required
|
3262
3281
|
# user_id: "UserId",
|
3263
3282
|
# next_token: "String",
|
3264
3283
|
# limit: 1,
|
3265
3284
|
# authentication_type: "API", # accepts API, SAML, USERPOOL, AWS_AD
|
3285
|
+
# instance_id: "String",
|
3266
3286
|
# })
|
3267
3287
|
#
|
3268
3288
|
# @example Response structure
|
@@ -3279,6 +3299,7 @@ module Aws::AppStream
|
|
3279
3299
|
# resp.sessions[0].authentication_type #=> String, one of "API", "SAML", "USERPOOL", "AWS_AD"
|
3280
3300
|
# resp.sessions[0].network_access_configuration.eni_private_ip_address #=> String
|
3281
3301
|
# resp.sessions[0].network_access_configuration.eni_id #=> String
|
3302
|
+
# resp.sessions[0].instance_id #=> String
|
3282
3303
|
# resp.next_token #=> String
|
3283
3304
|
#
|
3284
3305
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessions AWS API Documentation
|
@@ -4791,6 +4812,10 @@ module Aws::AppStream
|
|
4791
4812
|
# The S3 location of the session scripts configuration zip file. This
|
4792
4813
|
# only applies to Elastic fleets.
|
4793
4814
|
#
|
4815
|
+
# @option params [Integer] :max_sessions_per_instance
|
4816
|
+
# The maximum number of user sessions on an instance. This only applies
|
4817
|
+
# to multi-session fleets.
|
4818
|
+
#
|
4794
4819
|
# @return [Types::UpdateFleetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4795
4820
|
#
|
4796
4821
|
# * {Types::UpdateFleetResult#fleet #fleet} => Types::Fleet
|
@@ -4800,10 +4825,11 @@ module Aws::AppStream
|
|
4800
4825
|
# resp = client.update_fleet({
|
4801
4826
|
# image_name: "String",
|
4802
4827
|
# image_arn: "Arn",
|
4803
|
-
# name: "
|
4828
|
+
# name: "Name",
|
4804
4829
|
# instance_type: "String",
|
4805
4830
|
# compute_capacity: {
|
4806
|
-
# desired_instances: 1,
|
4831
|
+
# desired_instances: 1,
|
4832
|
+
# desired_sessions: 1,
|
4807
4833
|
# },
|
4808
4834
|
# vpc_config: {
|
4809
4835
|
# subnet_ids: ["String"],
|
@@ -4820,7 +4846,7 @@ module Aws::AppStream
|
|
4820
4846
|
# organizational_unit_distinguished_name: "OrganizationalUnitDistinguishedName",
|
4821
4847
|
# },
|
4822
4848
|
# idle_disconnect_timeout_in_seconds: 1,
|
4823
|
-
# attributes_to_delete: ["VPC_CONFIGURATION"], # accepts VPC_CONFIGURATION, VPC_CONFIGURATION_SECURITY_GROUP_IDS, DOMAIN_JOIN_INFO, IAM_ROLE_ARN, USB_DEVICE_FILTER_STRINGS, SESSION_SCRIPT_S3_LOCATION
|
4849
|
+
# attributes_to_delete: ["VPC_CONFIGURATION"], # accepts VPC_CONFIGURATION, VPC_CONFIGURATION_SECURITY_GROUP_IDS, DOMAIN_JOIN_INFO, IAM_ROLE_ARN, USB_DEVICE_FILTER_STRINGS, SESSION_SCRIPT_S3_LOCATION, MAX_SESSIONS_PER_INSTANCE
|
4824
4850
|
# iam_role_arn: "Arn",
|
4825
4851
|
# stream_view: "APP", # accepts APP, DESKTOP
|
4826
4852
|
# platform: "WINDOWS", # accepts WINDOWS, WINDOWS_SERVER_2016, WINDOWS_SERVER_2019, AMAZON_LINUX2
|
@@ -4830,6 +4856,7 @@ module Aws::AppStream
|
|
4830
4856
|
# s3_bucket: "S3Bucket", # required
|
4831
4857
|
# s3_key: "S3Key",
|
4832
4858
|
# },
|
4859
|
+
# max_sessions_per_instance: 1,
|
4833
4860
|
# })
|
4834
4861
|
#
|
4835
4862
|
# @example Response structure
|
@@ -4846,6 +4873,10 @@ module Aws::AppStream
|
|
4846
4873
|
# resp.fleet.compute_capacity_status.running #=> Integer
|
4847
4874
|
# resp.fleet.compute_capacity_status.in_use #=> Integer
|
4848
4875
|
# resp.fleet.compute_capacity_status.available #=> Integer
|
4876
|
+
# resp.fleet.compute_capacity_status.desired_user_sessions #=> Integer
|
4877
|
+
# resp.fleet.compute_capacity_status.available_user_sessions #=> Integer
|
4878
|
+
# resp.fleet.compute_capacity_status.active_user_sessions #=> Integer
|
4879
|
+
# resp.fleet.compute_capacity_status.actual_user_sessions #=> Integer
|
4849
4880
|
# resp.fleet.max_user_duration_in_seconds #=> Integer
|
4850
4881
|
# resp.fleet.disconnect_timeout_in_seconds #=> Integer
|
4851
4882
|
# resp.fleet.state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED"
|
@@ -4869,6 +4900,7 @@ module Aws::AppStream
|
|
4869
4900
|
# resp.fleet.usb_device_filter_strings[0] #=> String
|
4870
4901
|
# resp.fleet.session_script_s3_location.s3_bucket #=> String
|
4871
4902
|
# resp.fleet.session_script_s3_location.s3_key #=> String
|
4903
|
+
# resp.fleet.max_sessions_per_instance #=> Integer
|
4872
4904
|
#
|
4873
4905
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleet AWS API Documentation
|
4874
4906
|
#
|
@@ -5061,7 +5093,7 @@ module Aws::AppStream
|
|
5061
5093
|
params: params,
|
5062
5094
|
config: config)
|
5063
5095
|
context[:gem_name] = 'aws-sdk-appstream'
|
5064
|
-
context[:gem_version] = '1.
|
5096
|
+
context[:gem_version] = '1.80.0'
|
5065
5097
|
Seahorse::Client::Request.new(handlers, context)
|
5066
5098
|
end
|
5067
5099
|
|
@@ -469,13 +469,18 @@ module Aws::AppStream
|
|
469
469
|
CertificateBasedAuthProperties.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CertificateAuthorityArn"))
|
470
470
|
CertificateBasedAuthProperties.struct_class = Types::CertificateBasedAuthProperties
|
471
471
|
|
472
|
-
ComputeCapacity.add_member(:desired_instances, Shapes::ShapeRef.new(shape: Integer,
|
472
|
+
ComputeCapacity.add_member(:desired_instances, Shapes::ShapeRef.new(shape: Integer, location_name: "DesiredInstances"))
|
473
|
+
ComputeCapacity.add_member(:desired_sessions, Shapes::ShapeRef.new(shape: Integer, location_name: "DesiredSessions"))
|
473
474
|
ComputeCapacity.struct_class = Types::ComputeCapacity
|
474
475
|
|
475
476
|
ComputeCapacityStatus.add_member(:desired, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "Desired"))
|
476
477
|
ComputeCapacityStatus.add_member(:running, Shapes::ShapeRef.new(shape: Integer, location_name: "Running"))
|
477
478
|
ComputeCapacityStatus.add_member(:in_use, Shapes::ShapeRef.new(shape: Integer, location_name: "InUse"))
|
478
479
|
ComputeCapacityStatus.add_member(:available, Shapes::ShapeRef.new(shape: Integer, location_name: "Available"))
|
480
|
+
ComputeCapacityStatus.add_member(:desired_user_sessions, Shapes::ShapeRef.new(shape: Integer, location_name: "DesiredUserSessions"))
|
481
|
+
ComputeCapacityStatus.add_member(:available_user_sessions, Shapes::ShapeRef.new(shape: Integer, location_name: "AvailableUserSessions"))
|
482
|
+
ComputeCapacityStatus.add_member(:active_user_sessions, Shapes::ShapeRef.new(shape: Integer, location_name: "ActiveUserSessions"))
|
483
|
+
ComputeCapacityStatus.add_member(:actual_user_sessions, Shapes::ShapeRef.new(shape: Integer, location_name: "ActualUserSessions"))
|
479
484
|
ComputeCapacityStatus.struct_class = Types::ComputeCapacityStatus
|
480
485
|
|
481
486
|
ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
@@ -582,6 +587,7 @@ module Aws::AppStream
|
|
582
587
|
CreateFleetRequest.add_member(:max_concurrent_sessions, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxConcurrentSessions"))
|
583
588
|
CreateFleetRequest.add_member(:usb_device_filter_strings, Shapes::ShapeRef.new(shape: UsbDeviceFilterStrings, location_name: "UsbDeviceFilterStrings"))
|
584
589
|
CreateFleetRequest.add_member(:session_script_s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "SessionScriptS3Location"))
|
590
|
+
CreateFleetRequest.add_member(:max_sessions_per_instance, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxSessionsPerInstance"))
|
585
591
|
CreateFleetRequest.struct_class = Types::CreateFleetRequest
|
586
592
|
|
587
593
|
CreateFleetResult.add_member(:fleet, Shapes::ShapeRef.new(shape: Fleet, location_name: "Fleet"))
|
@@ -838,12 +844,13 @@ module Aws::AppStream
|
|
838
844
|
DescribeImagesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
839
845
|
DescribeImagesResult.struct_class = Types::DescribeImagesResult
|
840
846
|
|
841
|
-
DescribeSessionsRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape:
|
842
|
-
DescribeSessionsRequest.add_member(:fleet_name, Shapes::ShapeRef.new(shape:
|
847
|
+
DescribeSessionsRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "StackName"))
|
848
|
+
DescribeSessionsRequest.add_member(:fleet_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "FleetName"))
|
843
849
|
DescribeSessionsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "UserId"))
|
844
850
|
DescribeSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
845
851
|
DescribeSessionsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: Integer, location_name: "Limit"))
|
846
852
|
DescribeSessionsRequest.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AuthenticationType, location_name: "AuthenticationType"))
|
853
|
+
DescribeSessionsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "InstanceId"))
|
847
854
|
DescribeSessionsRequest.struct_class = Types::DescribeSessionsRequest
|
848
855
|
|
849
856
|
DescribeSessionsResult.add_member(:sessions, Shapes::ShapeRef.new(shape: SessionList, location_name: "Sessions"))
|
@@ -1005,6 +1012,7 @@ module Aws::AppStream
|
|
1005
1012
|
Fleet.add_member(:max_concurrent_sessions, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxConcurrentSessions"))
|
1006
1013
|
Fleet.add_member(:usb_device_filter_strings, Shapes::ShapeRef.new(shape: UsbDeviceFilterStrings, location_name: "UsbDeviceFilterStrings"))
|
1007
1014
|
Fleet.add_member(:session_script_s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "SessionScriptS3Location"))
|
1015
|
+
Fleet.add_member(:max_sessions_per_instance, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxSessionsPerInstance"))
|
1008
1016
|
Fleet.struct_class = Types::Fleet
|
1009
1017
|
|
1010
1018
|
FleetAttributes.member = Shapes::ShapeRef.new(shape: FleetAttribute)
|
@@ -1187,6 +1195,7 @@ module Aws::AppStream
|
|
1187
1195
|
Session.add_member(:max_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "MaxExpirationTime"))
|
1188
1196
|
Session.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AuthenticationType, location_name: "AuthenticationType"))
|
1189
1197
|
Session.add_member(:network_access_configuration, Shapes::ShapeRef.new(shape: NetworkAccessConfiguration, location_name: "NetworkAccessConfiguration"))
|
1198
|
+
Session.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "InstanceId"))
|
1190
1199
|
Session.struct_class = Types::Session
|
1191
1200
|
|
1192
1201
|
SessionList.member = Shapes::ShapeRef.new(shape: Session)
|
@@ -1339,7 +1348,7 @@ module Aws::AppStream
|
|
1339
1348
|
|
1340
1349
|
UpdateFleetRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: String, location_name: "ImageName"))
|
1341
1350
|
UpdateFleetRequest.add_member(:image_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ImageArn"))
|
1342
|
-
UpdateFleetRequest.add_member(:name, Shapes::ShapeRef.new(shape:
|
1351
|
+
UpdateFleetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
1343
1352
|
UpdateFleetRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "InstanceType"))
|
1344
1353
|
UpdateFleetRequest.add_member(:compute_capacity, Shapes::ShapeRef.new(shape: ComputeCapacity, location_name: "ComputeCapacity"))
|
1345
1354
|
UpdateFleetRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
@@ -1358,6 +1367,7 @@ module Aws::AppStream
|
|
1358
1367
|
UpdateFleetRequest.add_member(:max_concurrent_sessions, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxConcurrentSessions"))
|
1359
1368
|
UpdateFleetRequest.add_member(:usb_device_filter_strings, Shapes::ShapeRef.new(shape: UsbDeviceFilterStrings, location_name: "UsbDeviceFilterStrings"))
|
1360
1369
|
UpdateFleetRequest.add_member(:session_script_s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "SessionScriptS3Location"))
|
1370
|
+
UpdateFleetRequest.add_member(:max_sessions_per_instance, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxSessionsPerInstance"))
|
1361
1371
|
UpdateFleetRequest.struct_class = Types::UpdateFleetRequest
|
1362
1372
|
|
1363
1373
|
UpdateFleetResult.add_member(:fleet, Shapes::ShapeRef.new(shape: Fleet, location_name: "Fleet"))
|
@@ -32,7 +32,7 @@ module Aws::AppStream
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://appstream2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -589,10 +589,20 @@ module Aws::AppStream
|
|
589
589
|
# The desired number of streaming instances.
|
590
590
|
# @return [Integer]
|
591
591
|
#
|
592
|
+
# @!attribute [rw] desired_sessions
|
593
|
+
# The desired number of user sessions for a multi-session fleet. This
|
594
|
+
# is not allowed for single-session fleets.
|
595
|
+
#
|
596
|
+
# When you create a fleet, you must set either the DesiredSessions or
|
597
|
+
# DesiredInstances attribute, based on the type of fleet you create.
|
598
|
+
# You can’t define both attributes or leave both attributes blank.
|
599
|
+
# @return [Integer]
|
600
|
+
#
|
592
601
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ComputeCapacity AWS API Documentation
|
593
602
|
#
|
594
603
|
class ComputeCapacity < Struct.new(
|
595
|
-
:desired_instances
|
604
|
+
:desired_instances,
|
605
|
+
:desired_sessions)
|
596
606
|
SENSITIVE = []
|
597
607
|
include Aws::Structure
|
598
608
|
end
|
@@ -617,13 +627,53 @@ module Aws::AppStream
|
|
617
627
|
# stream sessions.
|
618
628
|
# @return [Integer]
|
619
629
|
#
|
630
|
+
# @!attribute [rw] desired_user_sessions
|
631
|
+
# The total number of sessions slots that are either running or
|
632
|
+
# pending. This represents the total number of concurrent streaming
|
633
|
+
# sessions your fleet can support in a steady state.
|
634
|
+
#
|
635
|
+
# DesiredUserSessionCapacity = ActualUserSessionCapacity +
|
636
|
+
# PendingUserSessionCapacity
|
637
|
+
#
|
638
|
+
# This only applies to multi-session fleets.
|
639
|
+
# @return [Integer]
|
640
|
+
#
|
641
|
+
# @!attribute [rw] available_user_sessions
|
642
|
+
# The number of idle session slots currently available for user
|
643
|
+
# sessions.
|
644
|
+
#
|
645
|
+
# AvailableUserSessionCapacity = ActualUserSessionCapacity -
|
646
|
+
# ActiveUserSessions
|
647
|
+
#
|
648
|
+
# This only applies to multi-session fleets.
|
649
|
+
# @return [Integer]
|
650
|
+
#
|
651
|
+
# @!attribute [rw] active_user_sessions
|
652
|
+
# The number of user sessions currently being used for streaming
|
653
|
+
# sessions. This only applies to multi-session fleets.
|
654
|
+
# @return [Integer]
|
655
|
+
#
|
656
|
+
# @!attribute [rw] actual_user_sessions
|
657
|
+
# The total number of session slots that are available for streaming
|
658
|
+
# or are currently streaming.
|
659
|
+
#
|
660
|
+
# ActualUserSessionCapacity = AvailableUserSessionCapacity +
|
661
|
+
# ActiveUserSessions
|
662
|
+
#
|
663
|
+
# This only applies to multi-session fleets.
|
664
|
+
# @return [Integer]
|
665
|
+
#
|
620
666
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ComputeCapacityStatus AWS API Documentation
|
621
667
|
#
|
622
668
|
class ComputeCapacityStatus < Struct.new(
|
623
669
|
:desired,
|
624
670
|
:running,
|
625
671
|
:in_use,
|
626
|
-
:available
|
672
|
+
:available,
|
673
|
+
:desired_user_sessions,
|
674
|
+
:available_user_sessions,
|
675
|
+
:active_user_sessions,
|
676
|
+
:actual_user_sessions)
|
627
677
|
SENSITIVE = []
|
628
678
|
include Aws::Structure
|
629
679
|
end
|
@@ -1210,7 +1260,7 @@ module Aws::AppStream
|
|
1210
1260
|
# this time elapses, the instance is terminated and replaced by a new
|
1211
1261
|
# instance.
|
1212
1262
|
#
|
1213
|
-
# Specify a value between 600 and
|
1263
|
+
# Specify a value between 600 and 432000.
|
1214
1264
|
# @return [Integer]
|
1215
1265
|
#
|
1216
1266
|
# @!attribute [rw] disconnect_timeout_in_seconds
|
@@ -1340,6 +1390,11 @@ module Aws::AppStream
|
|
1340
1390
|
# only applies to Elastic fleets.
|
1341
1391
|
# @return [Types::S3Location]
|
1342
1392
|
#
|
1393
|
+
# @!attribute [rw] max_sessions_per_instance
|
1394
|
+
# The maximum number of user sessions on an instance. This only
|
1395
|
+
# applies to multi-session fleets.
|
1396
|
+
# @return [Integer]
|
1397
|
+
#
|
1343
1398
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleetRequest AWS API Documentation
|
1344
1399
|
#
|
1345
1400
|
class CreateFleetRequest < Struct.new(
|
@@ -1363,7 +1418,8 @@ module Aws::AppStream
|
|
1363
1418
|
:platform,
|
1364
1419
|
:max_concurrent_sessions,
|
1365
1420
|
:usb_device_filter_strings,
|
1366
|
-
:session_script_s3_location
|
1421
|
+
:session_script_s3_location,
|
1422
|
+
:max_sessions_per_instance)
|
1367
1423
|
SENSITIVE = []
|
1368
1424
|
include Aws::Structure
|
1369
1425
|
end
|
@@ -2673,6 +2729,10 @@ module Aws::AppStream
|
|
2673
2729
|
# default is to authenticate users using a streaming URL.
|
2674
2730
|
# @return [String]
|
2675
2731
|
#
|
2732
|
+
# @!attribute [rw] instance_id
|
2733
|
+
# The identifier for the instance hosting the session.
|
2734
|
+
# @return [String]
|
2735
|
+
#
|
2676
2736
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessionsRequest AWS API Documentation
|
2677
2737
|
#
|
2678
2738
|
class DescribeSessionsRequest < Struct.new(
|
@@ -2681,7 +2741,8 @@ module Aws::AppStream
|
|
2681
2741
|
:user_id,
|
2682
2742
|
:next_token,
|
2683
2743
|
:limit,
|
2684
|
-
:authentication_type
|
2744
|
+
:authentication_type,
|
2745
|
+
:instance_id)
|
2685
2746
|
SENSITIVE = []
|
2686
2747
|
include Aws::Structure
|
2687
2748
|
end
|
@@ -3492,6 +3553,11 @@ module Aws::AppStream
|
|
3492
3553
|
# only applies to Elastic fleets.
|
3493
3554
|
# @return [Types::S3Location]
|
3494
3555
|
#
|
3556
|
+
# @!attribute [rw] max_sessions_per_instance
|
3557
|
+
# The maximum number of user sessions on an instance. This only
|
3558
|
+
# applies to multi-session fleets.
|
3559
|
+
# @return [Integer]
|
3560
|
+
#
|
3495
3561
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/Fleet AWS API Documentation
|
3496
3562
|
#
|
3497
3563
|
class Fleet < Struct.new(
|
@@ -3518,7 +3584,8 @@ module Aws::AppStream
|
|
3518
3584
|
:platform,
|
3519
3585
|
:max_concurrent_sessions,
|
3520
3586
|
:usb_device_filter_strings,
|
3521
|
-
:session_script_s3_location
|
3587
|
+
:session_script_s3_location,
|
3588
|
+
:max_sessions_per_instance)
|
3522
3589
|
SENSITIVE = []
|
3523
3590
|
include Aws::Structure
|
3524
3591
|
end
|
@@ -4393,6 +4460,10 @@ module Aws::AppStream
|
|
4393
4460
|
# The network details for the streaming session.
|
4394
4461
|
# @return [Types::NetworkAccessConfiguration]
|
4395
4462
|
#
|
4463
|
+
# @!attribute [rw] instance_id
|
4464
|
+
# The identifier for the instance hosting the session.
|
4465
|
+
# @return [String]
|
4466
|
+
#
|
4396
4467
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/Session AWS API Documentation
|
4397
4468
|
#
|
4398
4469
|
class Session < Struct.new(
|
@@ -4405,7 +4476,8 @@ module Aws::AppStream
|
|
4405
4476
|
:start_time,
|
4406
4477
|
:max_expiration_time,
|
4407
4478
|
:authentication_type,
|
4408
|
-
:network_access_configuration
|
4479
|
+
:network_access_configuration,
|
4480
|
+
:instance_id)
|
4409
4481
|
SENSITIVE = []
|
4410
4482
|
include Aws::Structure
|
4411
4483
|
end
|
@@ -5262,6 +5334,11 @@ module Aws::AppStream
|
|
5262
5334
|
# only applies to Elastic fleets.
|
5263
5335
|
# @return [Types::S3Location]
|
5264
5336
|
#
|
5337
|
+
# @!attribute [rw] max_sessions_per_instance
|
5338
|
+
# The maximum number of user sessions on an instance. This only
|
5339
|
+
# applies to multi-session fleets.
|
5340
|
+
# @return [Integer]
|
5341
|
+
#
|
5265
5342
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleetRequest AWS API Documentation
|
5266
5343
|
#
|
5267
5344
|
class UpdateFleetRequest < Struct.new(
|
@@ -5285,7 +5362,8 @@ module Aws::AppStream
|
|
5285
5362
|
:platform,
|
5286
5363
|
:max_concurrent_sessions,
|
5287
5364
|
:usb_device_filter_strings,
|
5288
|
-
:session_script_s3_location
|
5365
|
+
:session_script_s3_location,
|
5366
|
+
:max_sessions_per_instance)
|
5289
5367
|
SENSITIVE = []
|
5290
5368
|
include Aws::Structure
|
5291
5369
|
end
|
data/lib/aws-sdk-appstream.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-appstream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.80.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-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|