aws-sdk-appstream 1.56.0 → 1.60.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 +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appstream/client.rb +675 -28
- data/lib/aws-sdk-appstream/client_api.rb +290 -1
- data/lib/aws-sdk-appstream/types.rb +801 -12
- data/lib/aws-sdk-appstream.rb +2 -2
- metadata +4 -4
@@ -119,7 +119,9 @@ module Aws::AppStream
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
124
|
+
# to true.
|
123
125
|
#
|
124
126
|
# @option options [required, String] :region
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -285,6 +287,15 @@ module Aws::AppStream
|
|
285
287
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
286
288
|
# requests are made, and retries are disabled.
|
287
289
|
#
|
290
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
291
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
|
+
# will be used if available.
|
293
|
+
#
|
294
|
+
# @option options [Boolean] :use_fips_endpoint
|
295
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
296
|
+
# When a `fips` region is used, the region is normalized and this config
|
297
|
+
# is set to `true`.
|
298
|
+
#
|
288
299
|
# @option options [Boolean] :validate_params (true)
|
289
300
|
# When `true`, request parameters are validated before
|
290
301
|
# sending the request.
|
@@ -337,6 +348,40 @@ module Aws::AppStream
|
|
337
348
|
|
338
349
|
# @!group API Operations
|
339
350
|
|
351
|
+
# Associates the specified application with the specified fleet. This is
|
352
|
+
# only supported for Elastic fleets.
|
353
|
+
#
|
354
|
+
# @option params [required, String] :fleet_name
|
355
|
+
# The name of the fleet.
|
356
|
+
#
|
357
|
+
# @option params [required, String] :application_arn
|
358
|
+
# The ARN of the application.
|
359
|
+
#
|
360
|
+
# @return [Types::AssociateApplicationFleetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
361
|
+
#
|
362
|
+
# * {Types::AssociateApplicationFleetResult#application_fleet_association #application_fleet_association} => Types::ApplicationFleetAssociation
|
363
|
+
#
|
364
|
+
# @example Request syntax with placeholder values
|
365
|
+
#
|
366
|
+
# resp = client.associate_application_fleet({
|
367
|
+
# fleet_name: "Name", # required
|
368
|
+
# application_arn: "Arn", # required
|
369
|
+
# })
|
370
|
+
#
|
371
|
+
# @example Response structure
|
372
|
+
#
|
373
|
+
# resp.application_fleet_association.fleet_name #=> String
|
374
|
+
# resp.application_fleet_association.application_arn #=> String
|
375
|
+
#
|
376
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationFleet AWS API Documentation
|
377
|
+
#
|
378
|
+
# @overload associate_application_fleet(params = {})
|
379
|
+
# @param [Hash] params ({})
|
380
|
+
def associate_application_fleet(params = {}, options = {})
|
381
|
+
req = build_request(:associate_application_fleet, params)
|
382
|
+
req.send_request(options)
|
383
|
+
end
|
384
|
+
|
340
385
|
# Associates the specified fleet with the specified stack.
|
341
386
|
#
|
342
387
|
# @option params [required, String] :fleet_name
|
@@ -493,6 +538,191 @@ module Aws::AppStream
|
|
493
538
|
req.send_request(options)
|
494
539
|
end
|
495
540
|
|
541
|
+
# Creates an app block.
|
542
|
+
#
|
543
|
+
# App blocks are an Amazon AppStream 2.0 resource that stores the
|
544
|
+
# details about the virtual hard disk in an S3 bucket. It also stores
|
545
|
+
# the setup script with details about how to mount the virtual hard
|
546
|
+
# disk. The virtual hard disk includes the application binaries and
|
547
|
+
# other files necessary to launch your applications. Multiple
|
548
|
+
# applications can be assigned to a single app block.
|
549
|
+
#
|
550
|
+
# This is only supported for Elastic fleets.
|
551
|
+
#
|
552
|
+
# @option params [required, String] :name
|
553
|
+
# The name of the app block.
|
554
|
+
#
|
555
|
+
# @option params [String] :description
|
556
|
+
# The description of the app block.
|
557
|
+
#
|
558
|
+
# @option params [String] :display_name
|
559
|
+
# The display name of the app block. This is not displayed to the user.
|
560
|
+
#
|
561
|
+
# @option params [required, Types::S3Location] :source_s3_location
|
562
|
+
# The source S3 location of the app block.
|
563
|
+
#
|
564
|
+
# @option params [required, Types::ScriptDetails] :setup_script_details
|
565
|
+
# The setup script details of the app block.
|
566
|
+
#
|
567
|
+
# @option params [Hash<String,String>] :tags
|
568
|
+
# The tags assigned to the app block.
|
569
|
+
#
|
570
|
+
# @return [Types::CreateAppBlockResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
571
|
+
#
|
572
|
+
# * {Types::CreateAppBlockResult#app_block #app_block} => Types::AppBlock
|
573
|
+
#
|
574
|
+
# @example Request syntax with placeholder values
|
575
|
+
#
|
576
|
+
# resp = client.create_app_block({
|
577
|
+
# name: "Name", # required
|
578
|
+
# description: "Description",
|
579
|
+
# display_name: "DisplayName",
|
580
|
+
# source_s3_location: { # required
|
581
|
+
# s3_bucket: "S3Bucket", # required
|
582
|
+
# s3_key: "S3Key", # required
|
583
|
+
# },
|
584
|
+
# setup_script_details: { # required
|
585
|
+
# script_s3_location: { # required
|
586
|
+
# s3_bucket: "S3Bucket", # required
|
587
|
+
# s3_key: "S3Key", # required
|
588
|
+
# },
|
589
|
+
# executable_path: "String", # required
|
590
|
+
# executable_parameters: "String",
|
591
|
+
# timeout_in_seconds: 1, # required
|
592
|
+
# },
|
593
|
+
# tags: {
|
594
|
+
# "TagKey" => "TagValue",
|
595
|
+
# },
|
596
|
+
# })
|
597
|
+
#
|
598
|
+
# @example Response structure
|
599
|
+
#
|
600
|
+
# resp.app_block.name #=> String
|
601
|
+
# resp.app_block.arn #=> String
|
602
|
+
# resp.app_block.description #=> String
|
603
|
+
# resp.app_block.display_name #=> String
|
604
|
+
# resp.app_block.source_s3_location.s3_bucket #=> String
|
605
|
+
# resp.app_block.source_s3_location.s3_key #=> String
|
606
|
+
# resp.app_block.setup_script_details.script_s3_location.s3_bucket #=> String
|
607
|
+
# resp.app_block.setup_script_details.script_s3_location.s3_key #=> String
|
608
|
+
# resp.app_block.setup_script_details.executable_path #=> String
|
609
|
+
# resp.app_block.setup_script_details.executable_parameters #=> String
|
610
|
+
# resp.app_block.setup_script_details.timeout_in_seconds #=> Integer
|
611
|
+
# resp.app_block.created_time #=> Time
|
612
|
+
#
|
613
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlock AWS API Documentation
|
614
|
+
#
|
615
|
+
# @overload create_app_block(params = {})
|
616
|
+
# @param [Hash] params ({})
|
617
|
+
def create_app_block(params = {}, options = {})
|
618
|
+
req = build_request(:create_app_block, params)
|
619
|
+
req.send_request(options)
|
620
|
+
end
|
621
|
+
|
622
|
+
# Creates an application.
|
623
|
+
#
|
624
|
+
# Applications are an Amazon AppStream 2.0 resource that stores the
|
625
|
+
# details about how to launch applications on Elastic fleet streaming
|
626
|
+
# instances. An application consists of the launch details, icon, and
|
627
|
+
# display name. Applications are associated with an app block that
|
628
|
+
# contains the application binaries and other files. The applications
|
629
|
+
# assigned to an Elastic fleet are the applications users can launch.
|
630
|
+
#
|
631
|
+
# This is only supported for Elastic fleets.
|
632
|
+
#
|
633
|
+
# @option params [required, String] :name
|
634
|
+
# The name of the application. This name is visible to users when
|
635
|
+
# display name is not specified.
|
636
|
+
#
|
637
|
+
# @option params [String] :display_name
|
638
|
+
# The display name of the application. This name is visible to users in
|
639
|
+
# the application catalog.
|
640
|
+
#
|
641
|
+
# @option params [String] :description
|
642
|
+
# The description of the application.
|
643
|
+
#
|
644
|
+
# @option params [required, Types::S3Location] :icon_s3_location
|
645
|
+
# The location in S3 of the application icon.
|
646
|
+
#
|
647
|
+
# @option params [required, String] :launch_path
|
648
|
+
# The launch path of the application.
|
649
|
+
#
|
650
|
+
# @option params [String] :working_directory
|
651
|
+
# The working directory of the application.
|
652
|
+
#
|
653
|
+
# @option params [String] :launch_parameters
|
654
|
+
# The launch parameters of the application.
|
655
|
+
#
|
656
|
+
# @option params [required, Array<String>] :platforms
|
657
|
+
# The platforms the application supports. WINDOWS\_SERVER\_2019 and
|
658
|
+
# AMAZON\_LINUX2 are supported for Elastic fleets.
|
659
|
+
#
|
660
|
+
# @option params [required, Array<String>] :instance_families
|
661
|
+
# The instance families the application supports. Valid values are
|
662
|
+
# GENERAL\_PURPOSE and GRAPHICS\_G4.
|
663
|
+
#
|
664
|
+
# @option params [required, String] :app_block_arn
|
665
|
+
# The app block ARN to which the application should be associated
|
666
|
+
#
|
667
|
+
# @option params [Hash<String,String>] :tags
|
668
|
+
# The tags assigned to the application.
|
669
|
+
#
|
670
|
+
# @return [Types::CreateApplicationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
671
|
+
#
|
672
|
+
# * {Types::CreateApplicationResult#application #application} => Types::Application
|
673
|
+
#
|
674
|
+
# @example Request syntax with placeholder values
|
675
|
+
#
|
676
|
+
# resp = client.create_application({
|
677
|
+
# name: "Name", # required
|
678
|
+
# display_name: "DisplayName",
|
679
|
+
# description: "Description",
|
680
|
+
# icon_s3_location: { # required
|
681
|
+
# s3_bucket: "S3Bucket", # required
|
682
|
+
# s3_key: "S3Key", # required
|
683
|
+
# },
|
684
|
+
# launch_path: "String", # required
|
685
|
+
# working_directory: "String",
|
686
|
+
# launch_parameters: "String",
|
687
|
+
# platforms: ["WINDOWS"], # required, accepts WINDOWS, WINDOWS_SERVER_2016, WINDOWS_SERVER_2019, AMAZON_LINUX2
|
688
|
+
# instance_families: ["String"], # required
|
689
|
+
# app_block_arn: "Arn", # required
|
690
|
+
# tags: {
|
691
|
+
# "TagKey" => "TagValue",
|
692
|
+
# },
|
693
|
+
# })
|
694
|
+
#
|
695
|
+
# @example Response structure
|
696
|
+
#
|
697
|
+
# resp.application.name #=> String
|
698
|
+
# resp.application.display_name #=> String
|
699
|
+
# resp.application.icon_url #=> String
|
700
|
+
# resp.application.launch_path #=> String
|
701
|
+
# resp.application.launch_parameters #=> String
|
702
|
+
# resp.application.enabled #=> Boolean
|
703
|
+
# resp.application.metadata #=> Hash
|
704
|
+
# resp.application.metadata["String"] #=> String
|
705
|
+
# resp.application.working_directory #=> String
|
706
|
+
# resp.application.description #=> String
|
707
|
+
# resp.application.arn #=> String
|
708
|
+
# resp.application.app_block_arn #=> String
|
709
|
+
# resp.application.icon_s3_location.s3_bucket #=> String
|
710
|
+
# resp.application.icon_s3_location.s3_key #=> String
|
711
|
+
# resp.application.platforms #=> Array
|
712
|
+
# resp.application.platforms[0] #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "AMAZON_LINUX2"
|
713
|
+
# resp.application.instance_families #=> Array
|
714
|
+
# resp.application.instance_families[0] #=> String
|
715
|
+
# resp.application.created_time #=> Time
|
716
|
+
#
|
717
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateApplication AWS API Documentation
|
718
|
+
#
|
719
|
+
# @overload create_application(params = {})
|
720
|
+
# @param [Hash] params ({})
|
721
|
+
def create_application(params = {}, options = {})
|
722
|
+
req = build_request(:create_application, params)
|
723
|
+
req.send_request(options)
|
724
|
+
end
|
725
|
+
|
496
726
|
# Creates a Directory Config object in AppStream 2.0. This object
|
497
727
|
# includes the configuration information required to join fleets and
|
498
728
|
# image builders to Microsoft Active Directory domains.
|
@@ -543,7 +773,7 @@ module Aws::AppStream
|
|
543
773
|
end
|
544
774
|
|
545
775
|
# Creates a fleet. A fleet consists of streaming instances that run a
|
546
|
-
# specified image.
|
776
|
+
# specified image when using Always-On or On-Demand.
|
547
777
|
#
|
548
778
|
# @option params [required, String] :name
|
549
779
|
# A unique name for the fleet.
|
@@ -624,6 +854,12 @@ module Aws::AppStream
|
|
624
854
|
#
|
625
855
|
# * stream.graphics-pro.16xlarge
|
626
856
|
#
|
857
|
+
# The following instance types are available for Elastic fleets:
|
858
|
+
#
|
859
|
+
# * stream.standard.small
|
860
|
+
#
|
861
|
+
# * stream.standard.medium
|
862
|
+
#
|
627
863
|
# @option params [String] :fleet_type
|
628
864
|
# The fleet type.
|
629
865
|
#
|
@@ -640,11 +876,14 @@ module Aws::AppStream
|
|
640
876
|
# when users are connected and a small hourly fee for instances that
|
641
877
|
# are not streaming apps.
|
642
878
|
#
|
643
|
-
# @option params [
|
644
|
-
# The desired capacity for the fleet.
|
879
|
+
# @option params [Types::ComputeCapacity] :compute_capacity
|
880
|
+
# The desired capacity for the fleet. This is not allowed for Elastic
|
881
|
+
# fleets. For Elastic fleets, specify MaxConcurrentSessions instead.
|
645
882
|
#
|
646
883
|
# @option params [Types::VpcConfig] :vpc_config
|
647
|
-
# The VPC configuration for the fleet.
|
884
|
+
# The VPC configuration for the fleet. This is required for Elastic
|
885
|
+
# fleets, but not required for other fleet types. Elastic fleets require
|
886
|
+
# that you specify at least two subnets in different availability zones.
|
648
887
|
#
|
649
888
|
# @option params [Integer] :max_user_duration_in_seconds
|
650
889
|
# The maximum amount of time that a streaming session can remain active,
|
@@ -675,7 +914,8 @@ module Aws::AppStream
|
|
675
914
|
#
|
676
915
|
# @option params [Types::DomainJoinInfo] :domain_join_info
|
677
916
|
# The name of the directory and organizational unit (OU) to use to join
|
678
|
-
# the fleet to a Microsoft Active Directory domain.
|
917
|
+
# the fleet to a Microsoft Active Directory domain. This is not allowed
|
918
|
+
# for Elastic fleets.
|
679
919
|
#
|
680
920
|
# @option params [Hash<String,String>] :tags
|
681
921
|
# The tags to associate with the fleet. A tag is a key-value pair, and
|
@@ -749,6 +989,19 @@ module Aws::AppStream
|
|
749
989
|
#
|
750
990
|
# The default value is `APP`.
|
751
991
|
#
|
992
|
+
# @option params [String] :platform
|
993
|
+
# The fleet platform. WINDOWS\_SERVER\_2019 and AMAZON\_LINUX2 are
|
994
|
+
# supported for Elastic fleets.
|
995
|
+
#
|
996
|
+
# @option params [Integer] :max_concurrent_sessions
|
997
|
+
# The maximum concurrent sessions of the Elastic fleet. This is required
|
998
|
+
# for Elastic fleets, and not allowed for other fleet types.
|
999
|
+
#
|
1000
|
+
# @option params [Array<String>] :usb_device_filter_strings
|
1001
|
+
# The USB device filter strings that specify which USB devices a user
|
1002
|
+
# can redirect to the fleet streaming session, when using the Windows
|
1003
|
+
# native client. This is allowed but not required for Elastic fleets.
|
1004
|
+
#
|
752
1005
|
# @return [Types::CreateFleetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
753
1006
|
#
|
754
1007
|
# * {Types::CreateFleetResult#fleet #fleet} => Types::Fleet
|
@@ -760,8 +1013,8 @@ module Aws::AppStream
|
|
760
1013
|
# image_name: "String",
|
761
1014
|
# image_arn: "Arn",
|
762
1015
|
# instance_type: "String", # required
|
763
|
-
# fleet_type: "ALWAYS_ON", # accepts ALWAYS_ON, ON_DEMAND
|
764
|
-
# compute_capacity: {
|
1016
|
+
# fleet_type: "ALWAYS_ON", # accepts ALWAYS_ON, ON_DEMAND, ELASTIC
|
1017
|
+
# compute_capacity: {
|
765
1018
|
# desired_instances: 1, # required
|
766
1019
|
# },
|
767
1020
|
# vpc_config: {
|
@@ -783,6 +1036,9 @@ module Aws::AppStream
|
|
783
1036
|
# idle_disconnect_timeout_in_seconds: 1,
|
784
1037
|
# iam_role_arn: "Arn",
|
785
1038
|
# stream_view: "APP", # accepts APP, DESKTOP
|
1039
|
+
# platform: "WINDOWS", # accepts WINDOWS, WINDOWS_SERVER_2016, WINDOWS_SERVER_2019, AMAZON_LINUX2
|
1040
|
+
# max_concurrent_sessions: 1,
|
1041
|
+
# usb_device_filter_strings: ["UsbDeviceFilterString"],
|
786
1042
|
# })
|
787
1043
|
#
|
788
1044
|
# @example Response structure
|
@@ -794,7 +1050,7 @@ module Aws::AppStream
|
|
794
1050
|
# resp.fleet.image_name #=> String
|
795
1051
|
# resp.fleet.image_arn #=> String
|
796
1052
|
# resp.fleet.instance_type #=> String
|
797
|
-
# resp.fleet.fleet_type #=> String, one of "ALWAYS_ON", "ON_DEMAND"
|
1053
|
+
# resp.fleet.fleet_type #=> String, one of "ALWAYS_ON", "ON_DEMAND", "ELASTIC"
|
798
1054
|
# resp.fleet.compute_capacity_status.desired #=> Integer
|
799
1055
|
# resp.fleet.compute_capacity_status.running #=> Integer
|
800
1056
|
# resp.fleet.compute_capacity_status.in_use #=> Integer
|
@@ -816,6 +1072,10 @@ module Aws::AppStream
|
|
816
1072
|
# resp.fleet.idle_disconnect_timeout_in_seconds #=> Integer
|
817
1073
|
# resp.fleet.iam_role_arn #=> String
|
818
1074
|
# resp.fleet.stream_view #=> String, one of "APP", "DESKTOP"
|
1075
|
+
# resp.fleet.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "AMAZON_LINUX2"
|
1076
|
+
# resp.fleet.max_concurrent_sessions #=> Integer
|
1077
|
+
# resp.fleet.usb_device_filter_strings #=> Array
|
1078
|
+
# resp.fleet.usb_device_filter_strings[0] #=> String
|
819
1079
|
#
|
820
1080
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleet AWS API Documentation
|
821
1081
|
#
|
@@ -1021,7 +1281,7 @@ module Aws::AppStream
|
|
1021
1281
|
# resp.image_builder.vpc_config.security_group_ids #=> Array
|
1022
1282
|
# resp.image_builder.vpc_config.security_group_ids[0] #=> String
|
1023
1283
|
# resp.image_builder.instance_type #=> String
|
1024
|
-
# resp.image_builder.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019"
|
1284
|
+
# resp.image_builder.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "AMAZON_LINUX2"
|
1025
1285
|
# resp.image_builder.iam_role_arn #=> String
|
1026
1286
|
# resp.image_builder.state #=> String, one of "PENDING", "UPDATING_AGENT", "RUNNING", "STOPPING", "STOPPED", "REBOOTING", "SNAPSHOTTING", "DELETING", "FAILED", "UPDATING", "PENDING_QUALIFICATION"
|
1027
1287
|
# resp.image_builder.state_change_reason.code #=> String, one of "INTERNAL_ERROR", "IMAGE_UNAVAILABLE"
|
@@ -1369,7 +1629,7 @@ module Aws::AppStream
|
|
1369
1629
|
# resp.image.visibility #=> String, one of "PUBLIC", "PRIVATE", "SHARED"
|
1370
1630
|
# resp.image.image_builder_supported #=> Boolean
|
1371
1631
|
# resp.image.image_builder_name #=> String
|
1372
|
-
# resp.image.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019"
|
1632
|
+
# resp.image.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "AMAZON_LINUX2"
|
1373
1633
|
# resp.image.description #=> String
|
1374
1634
|
# resp.image.state_change_reason.code #=> String, one of "INTERNAL_ERROR", "IMAGE_BUILDER_NOT_AVAILABLE", "IMAGE_COPY_FAILURE"
|
1375
1635
|
# resp.image.state_change_reason.message #=> String
|
@@ -1382,6 +1642,17 @@ module Aws::AppStream
|
|
1382
1642
|
# resp.image.applications[0].enabled #=> Boolean
|
1383
1643
|
# resp.image.applications[0].metadata #=> Hash
|
1384
1644
|
# resp.image.applications[0].metadata["String"] #=> String
|
1645
|
+
# resp.image.applications[0].working_directory #=> String
|
1646
|
+
# resp.image.applications[0].description #=> String
|
1647
|
+
# resp.image.applications[0].arn #=> String
|
1648
|
+
# resp.image.applications[0].app_block_arn #=> String
|
1649
|
+
# resp.image.applications[0].icon_s3_location.s3_bucket #=> String
|
1650
|
+
# resp.image.applications[0].icon_s3_location.s3_key #=> String
|
1651
|
+
# resp.image.applications[0].platforms #=> Array
|
1652
|
+
# resp.image.applications[0].platforms[0] #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "AMAZON_LINUX2"
|
1653
|
+
# resp.image.applications[0].instance_families #=> Array
|
1654
|
+
# resp.image.applications[0].instance_families[0] #=> String
|
1655
|
+
# resp.image.applications[0].created_time #=> Time
|
1385
1656
|
# resp.image.created_time #=> Time
|
1386
1657
|
# resp.image.public_base_image_released_date #=> Time
|
1387
1658
|
# resp.image.appstream_agent_version #=> String
|
@@ -1478,6 +1749,50 @@ module Aws::AppStream
|
|
1478
1749
|
req.send_request(options)
|
1479
1750
|
end
|
1480
1751
|
|
1752
|
+
# Deletes an app block.
|
1753
|
+
#
|
1754
|
+
# @option params [required, String] :name
|
1755
|
+
# The name of the app block.
|
1756
|
+
#
|
1757
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1758
|
+
#
|
1759
|
+
# @example Request syntax with placeholder values
|
1760
|
+
#
|
1761
|
+
# resp = client.delete_app_block({
|
1762
|
+
# name: "Name", # required
|
1763
|
+
# })
|
1764
|
+
#
|
1765
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlock AWS API Documentation
|
1766
|
+
#
|
1767
|
+
# @overload delete_app_block(params = {})
|
1768
|
+
# @param [Hash] params ({})
|
1769
|
+
def delete_app_block(params = {}, options = {})
|
1770
|
+
req = build_request(:delete_app_block, params)
|
1771
|
+
req.send_request(options)
|
1772
|
+
end
|
1773
|
+
|
1774
|
+
# Deletes an application.
|
1775
|
+
#
|
1776
|
+
# @option params [required, String] :name
|
1777
|
+
# The name of the application.
|
1778
|
+
#
|
1779
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1780
|
+
#
|
1781
|
+
# @example Request syntax with placeholder values
|
1782
|
+
#
|
1783
|
+
# resp = client.delete_application({
|
1784
|
+
# name: "Name", # required
|
1785
|
+
# })
|
1786
|
+
#
|
1787
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteApplication AWS API Documentation
|
1788
|
+
#
|
1789
|
+
# @overload delete_application(params = {})
|
1790
|
+
# @param [Hash] params ({})
|
1791
|
+
def delete_application(params = {}, options = {})
|
1792
|
+
req = build_request(:delete_application, params)
|
1793
|
+
req.send_request(options)
|
1794
|
+
end
|
1795
|
+
|
1481
1796
|
# Deletes the specified Directory Config object from AppStream 2.0. This
|
1482
1797
|
# object includes the information required to join streaming instances
|
1483
1798
|
# to an Active Directory domain.
|
@@ -1551,7 +1866,7 @@ module Aws::AppStream
|
|
1551
1866
|
# resp.image.visibility #=> String, one of "PUBLIC", "PRIVATE", "SHARED"
|
1552
1867
|
# resp.image.image_builder_supported #=> Boolean
|
1553
1868
|
# resp.image.image_builder_name #=> String
|
1554
|
-
# resp.image.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019"
|
1869
|
+
# resp.image.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "AMAZON_LINUX2"
|
1555
1870
|
# resp.image.description #=> String
|
1556
1871
|
# resp.image.state_change_reason.code #=> String, one of "INTERNAL_ERROR", "IMAGE_BUILDER_NOT_AVAILABLE", "IMAGE_COPY_FAILURE"
|
1557
1872
|
# resp.image.state_change_reason.message #=> String
|
@@ -1564,6 +1879,17 @@ module Aws::AppStream
|
|
1564
1879
|
# resp.image.applications[0].enabled #=> Boolean
|
1565
1880
|
# resp.image.applications[0].metadata #=> Hash
|
1566
1881
|
# resp.image.applications[0].metadata["String"] #=> String
|
1882
|
+
# resp.image.applications[0].working_directory #=> String
|
1883
|
+
# resp.image.applications[0].description #=> String
|
1884
|
+
# resp.image.applications[0].arn #=> String
|
1885
|
+
# resp.image.applications[0].app_block_arn #=> String
|
1886
|
+
# resp.image.applications[0].icon_s3_location.s3_bucket #=> String
|
1887
|
+
# resp.image.applications[0].icon_s3_location.s3_key #=> String
|
1888
|
+
# resp.image.applications[0].platforms #=> Array
|
1889
|
+
# resp.image.applications[0].platforms[0] #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "AMAZON_LINUX2"
|
1890
|
+
# resp.image.applications[0].instance_families #=> Array
|
1891
|
+
# resp.image.applications[0].instance_families[0] #=> String
|
1892
|
+
# resp.image.applications[0].created_time #=> Time
|
1567
1893
|
# resp.image.created_time #=> Time
|
1568
1894
|
# resp.image.public_base_image_released_date #=> Time
|
1569
1895
|
# resp.image.appstream_agent_version #=> String
|
@@ -1610,7 +1936,7 @@ module Aws::AppStream
|
|
1610
1936
|
# resp.image_builder.vpc_config.security_group_ids #=> Array
|
1611
1937
|
# resp.image_builder.vpc_config.security_group_ids[0] #=> String
|
1612
1938
|
# resp.image_builder.instance_type #=> String
|
1613
|
-
# resp.image_builder.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019"
|
1939
|
+
# resp.image_builder.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "AMAZON_LINUX2"
|
1614
1940
|
# resp.image_builder.iam_role_arn #=> String
|
1615
1941
|
# resp.image_builder.state #=> String, one of "PENDING", "UPDATING_AGENT", "RUNNING", "STOPPING", "STOPPED", "REBOOTING", "SNAPSHOTTING", "DELETING", "FAILED", "UPDATING", "PENDING_QUALIFICATION"
|
1616
1942
|
# resp.image_builder.state_change_reason.code #=> String, one of "INTERNAL_ERROR", "IMAGE_UNAVAILABLE"
|
@@ -1736,6 +2062,161 @@ module Aws::AppStream
|
|
1736
2062
|
req.send_request(options)
|
1737
2063
|
end
|
1738
2064
|
|
2065
|
+
# Retrieves a list that describes one or more app blocks.
|
2066
|
+
#
|
2067
|
+
# @option params [Array<String>] :arns
|
2068
|
+
# The ARNs of the app blocks.
|
2069
|
+
#
|
2070
|
+
# @option params [String] :next_token
|
2071
|
+
# The pagination token used to retrieve the next page of results for
|
2072
|
+
# this operation.
|
2073
|
+
#
|
2074
|
+
# @option params [Integer] :max_results
|
2075
|
+
# The maximum size of each page of results.
|
2076
|
+
#
|
2077
|
+
# @return [Types::DescribeAppBlocksResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2078
|
+
#
|
2079
|
+
# * {Types::DescribeAppBlocksResult#app_blocks #app_blocks} => Array<Types::AppBlock>
|
2080
|
+
# * {Types::DescribeAppBlocksResult#next_token #next_token} => String
|
2081
|
+
#
|
2082
|
+
# @example Request syntax with placeholder values
|
2083
|
+
#
|
2084
|
+
# resp = client.describe_app_blocks({
|
2085
|
+
# arns: ["Arn"],
|
2086
|
+
# next_token: "String",
|
2087
|
+
# max_results: 1,
|
2088
|
+
# })
|
2089
|
+
#
|
2090
|
+
# @example Response structure
|
2091
|
+
#
|
2092
|
+
# resp.app_blocks #=> Array
|
2093
|
+
# resp.app_blocks[0].name #=> String
|
2094
|
+
# resp.app_blocks[0].arn #=> String
|
2095
|
+
# resp.app_blocks[0].description #=> String
|
2096
|
+
# resp.app_blocks[0].display_name #=> String
|
2097
|
+
# resp.app_blocks[0].source_s3_location.s3_bucket #=> String
|
2098
|
+
# resp.app_blocks[0].source_s3_location.s3_key #=> String
|
2099
|
+
# resp.app_blocks[0].setup_script_details.script_s3_location.s3_bucket #=> String
|
2100
|
+
# resp.app_blocks[0].setup_script_details.script_s3_location.s3_key #=> String
|
2101
|
+
# resp.app_blocks[0].setup_script_details.executable_path #=> String
|
2102
|
+
# resp.app_blocks[0].setup_script_details.executable_parameters #=> String
|
2103
|
+
# resp.app_blocks[0].setup_script_details.timeout_in_seconds #=> Integer
|
2104
|
+
# resp.app_blocks[0].created_time #=> Time
|
2105
|
+
# resp.next_token #=> String
|
2106
|
+
#
|
2107
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlocks AWS API Documentation
|
2108
|
+
#
|
2109
|
+
# @overload describe_app_blocks(params = {})
|
2110
|
+
# @param [Hash] params ({})
|
2111
|
+
def describe_app_blocks(params = {}, options = {})
|
2112
|
+
req = build_request(:describe_app_blocks, params)
|
2113
|
+
req.send_request(options)
|
2114
|
+
end
|
2115
|
+
|
2116
|
+
# Retrieves a list that describes one or more application fleet
|
2117
|
+
# associations. Either ApplicationArn or FleetName must be specified.
|
2118
|
+
#
|
2119
|
+
# @option params [String] :fleet_name
|
2120
|
+
# The name of the fleet.
|
2121
|
+
#
|
2122
|
+
# @option params [String] :application_arn
|
2123
|
+
# The ARN of the application.
|
2124
|
+
#
|
2125
|
+
# @option params [Integer] :max_results
|
2126
|
+
# The maximum size of each page of results.
|
2127
|
+
#
|
2128
|
+
# @option params [String] :next_token
|
2129
|
+
# The pagination token used to retrieve the next page of results for
|
2130
|
+
# this operation.
|
2131
|
+
#
|
2132
|
+
# @return [Types::DescribeApplicationFleetAssociationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2133
|
+
#
|
2134
|
+
# * {Types::DescribeApplicationFleetAssociationsResult#application_fleet_associations #application_fleet_associations} => Array<Types::ApplicationFleetAssociation>
|
2135
|
+
# * {Types::DescribeApplicationFleetAssociationsResult#next_token #next_token} => String
|
2136
|
+
#
|
2137
|
+
# @example Request syntax with placeholder values
|
2138
|
+
#
|
2139
|
+
# resp = client.describe_application_fleet_associations({
|
2140
|
+
# fleet_name: "Name",
|
2141
|
+
# application_arn: "Arn",
|
2142
|
+
# max_results: 1,
|
2143
|
+
# next_token: "String",
|
2144
|
+
# })
|
2145
|
+
#
|
2146
|
+
# @example Response structure
|
2147
|
+
#
|
2148
|
+
# resp.application_fleet_associations #=> Array
|
2149
|
+
# resp.application_fleet_associations[0].fleet_name #=> String
|
2150
|
+
# resp.application_fleet_associations[0].application_arn #=> String
|
2151
|
+
# resp.next_token #=> String
|
2152
|
+
#
|
2153
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationFleetAssociations AWS API Documentation
|
2154
|
+
#
|
2155
|
+
# @overload describe_application_fleet_associations(params = {})
|
2156
|
+
# @param [Hash] params ({})
|
2157
|
+
def describe_application_fleet_associations(params = {}, options = {})
|
2158
|
+
req = build_request(:describe_application_fleet_associations, params)
|
2159
|
+
req.send_request(options)
|
2160
|
+
end
|
2161
|
+
|
2162
|
+
# Retrieves a list that describes one or more applications.
|
2163
|
+
#
|
2164
|
+
# @option params [Array<String>] :arns
|
2165
|
+
# The ARNs for the applications.
|
2166
|
+
#
|
2167
|
+
# @option params [String] :next_token
|
2168
|
+
# The pagination token used to retrieve the next page of results for
|
2169
|
+
# this operation.
|
2170
|
+
#
|
2171
|
+
# @option params [Integer] :max_results
|
2172
|
+
# The maximum size of each page of results.
|
2173
|
+
#
|
2174
|
+
# @return [Types::DescribeApplicationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2175
|
+
#
|
2176
|
+
# * {Types::DescribeApplicationsResult#applications #applications} => Array<Types::Application>
|
2177
|
+
# * {Types::DescribeApplicationsResult#next_token #next_token} => String
|
2178
|
+
#
|
2179
|
+
# @example Request syntax with placeholder values
|
2180
|
+
#
|
2181
|
+
# resp = client.describe_applications({
|
2182
|
+
# arns: ["Arn"],
|
2183
|
+
# next_token: "String",
|
2184
|
+
# max_results: 1,
|
2185
|
+
# })
|
2186
|
+
#
|
2187
|
+
# @example Response structure
|
2188
|
+
#
|
2189
|
+
# resp.applications #=> Array
|
2190
|
+
# resp.applications[0].name #=> String
|
2191
|
+
# resp.applications[0].display_name #=> String
|
2192
|
+
# resp.applications[0].icon_url #=> String
|
2193
|
+
# resp.applications[0].launch_path #=> String
|
2194
|
+
# resp.applications[0].launch_parameters #=> String
|
2195
|
+
# resp.applications[0].enabled #=> Boolean
|
2196
|
+
# resp.applications[0].metadata #=> Hash
|
2197
|
+
# resp.applications[0].metadata["String"] #=> String
|
2198
|
+
# resp.applications[0].working_directory #=> String
|
2199
|
+
# resp.applications[0].description #=> String
|
2200
|
+
# resp.applications[0].arn #=> String
|
2201
|
+
# resp.applications[0].app_block_arn #=> String
|
2202
|
+
# resp.applications[0].icon_s3_location.s3_bucket #=> String
|
2203
|
+
# resp.applications[0].icon_s3_location.s3_key #=> String
|
2204
|
+
# resp.applications[0].platforms #=> Array
|
2205
|
+
# resp.applications[0].platforms[0] #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "AMAZON_LINUX2"
|
2206
|
+
# resp.applications[0].instance_families #=> Array
|
2207
|
+
# resp.applications[0].instance_families[0] #=> String
|
2208
|
+
# resp.applications[0].created_time #=> Time
|
2209
|
+
# resp.next_token #=> String
|
2210
|
+
#
|
2211
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplications AWS API Documentation
|
2212
|
+
#
|
2213
|
+
# @overload describe_applications(params = {})
|
2214
|
+
# @param [Hash] params ({})
|
2215
|
+
def describe_applications(params = {}, options = {})
|
2216
|
+
req = build_request(:describe_applications, params)
|
2217
|
+
req.send_request(options)
|
2218
|
+
end
|
2219
|
+
|
1739
2220
|
# Retrieves a list that describes one or more specified Directory Config
|
1740
2221
|
# objects for AppStream 2.0, if the names for these objects are
|
1741
2222
|
# provided. Otherwise, all Directory Config objects in the account are
|
@@ -1822,7 +2303,7 @@ module Aws::AppStream
|
|
1822
2303
|
# resp.fleets[0].image_name #=> String
|
1823
2304
|
# resp.fleets[0].image_arn #=> String
|
1824
2305
|
# resp.fleets[0].instance_type #=> String
|
1825
|
-
# resp.fleets[0].fleet_type #=> String, one of "ALWAYS_ON", "ON_DEMAND"
|
2306
|
+
# resp.fleets[0].fleet_type #=> String, one of "ALWAYS_ON", "ON_DEMAND", "ELASTIC"
|
1826
2307
|
# resp.fleets[0].compute_capacity_status.desired #=> Integer
|
1827
2308
|
# resp.fleets[0].compute_capacity_status.running #=> Integer
|
1828
2309
|
# resp.fleets[0].compute_capacity_status.in_use #=> Integer
|
@@ -1844,6 +2325,10 @@ module Aws::AppStream
|
|
1844
2325
|
# resp.fleets[0].idle_disconnect_timeout_in_seconds #=> Integer
|
1845
2326
|
# resp.fleets[0].iam_role_arn #=> String
|
1846
2327
|
# resp.fleets[0].stream_view #=> String, one of "APP", "DESKTOP"
|
2328
|
+
# resp.fleets[0].platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "AMAZON_LINUX2"
|
2329
|
+
# resp.fleets[0].max_concurrent_sessions #=> Integer
|
2330
|
+
# resp.fleets[0].usb_device_filter_strings #=> Array
|
2331
|
+
# resp.fleets[0].usb_device_filter_strings[0] #=> String
|
1847
2332
|
# resp.next_token #=> String
|
1848
2333
|
#
|
1849
2334
|
#
|
@@ -1901,7 +2386,7 @@ module Aws::AppStream
|
|
1901
2386
|
# resp.image_builders[0].vpc_config.security_group_ids #=> Array
|
1902
2387
|
# resp.image_builders[0].vpc_config.security_group_ids[0] #=> String
|
1903
2388
|
# resp.image_builders[0].instance_type #=> String
|
1904
|
-
# resp.image_builders[0].platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019"
|
2389
|
+
# resp.image_builders[0].platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "AMAZON_LINUX2"
|
1905
2390
|
# resp.image_builders[0].iam_role_arn #=> String
|
1906
2391
|
# resp.image_builders[0].state #=> String, one of "PENDING", "UPDATING_AGENT", "RUNNING", "STOPPING", "STOPPED", "REBOOTING", "SNAPSHOTTING", "DELETING", "FAILED", "UPDATING", "PENDING_QUALIFICATION"
|
1907
2392
|
# resp.image_builders[0].state_change_reason.code #=> String, one of "INTERNAL_ERROR", "IMAGE_UNAVAILABLE"
|
@@ -2032,7 +2517,7 @@ module Aws::AppStream
|
|
2032
2517
|
# resp.images[0].visibility #=> String, one of "PUBLIC", "PRIVATE", "SHARED"
|
2033
2518
|
# resp.images[0].image_builder_supported #=> Boolean
|
2034
2519
|
# resp.images[0].image_builder_name #=> String
|
2035
|
-
# resp.images[0].platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019"
|
2520
|
+
# resp.images[0].platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "AMAZON_LINUX2"
|
2036
2521
|
# resp.images[0].description #=> String
|
2037
2522
|
# resp.images[0].state_change_reason.code #=> String, one of "INTERNAL_ERROR", "IMAGE_BUILDER_NOT_AVAILABLE", "IMAGE_COPY_FAILURE"
|
2038
2523
|
# resp.images[0].state_change_reason.message #=> String
|
@@ -2045,6 +2530,17 @@ module Aws::AppStream
|
|
2045
2530
|
# resp.images[0].applications[0].enabled #=> Boolean
|
2046
2531
|
# resp.images[0].applications[0].metadata #=> Hash
|
2047
2532
|
# resp.images[0].applications[0].metadata["String"] #=> String
|
2533
|
+
# resp.images[0].applications[0].working_directory #=> String
|
2534
|
+
# resp.images[0].applications[0].description #=> String
|
2535
|
+
# resp.images[0].applications[0].arn #=> String
|
2536
|
+
# resp.images[0].applications[0].app_block_arn #=> String
|
2537
|
+
# resp.images[0].applications[0].icon_s3_location.s3_bucket #=> String
|
2538
|
+
# resp.images[0].applications[0].icon_s3_location.s3_key #=> String
|
2539
|
+
# resp.images[0].applications[0].platforms #=> Array
|
2540
|
+
# resp.images[0].applications[0].platforms[0] #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "AMAZON_LINUX2"
|
2541
|
+
# resp.images[0].applications[0].instance_families #=> Array
|
2542
|
+
# resp.images[0].applications[0].instance_families[0] #=> String
|
2543
|
+
# resp.images[0].applications[0].created_time #=> Time
|
2048
2544
|
# resp.images[0].created_time #=> Time
|
2049
2545
|
# resp.images[0].public_base_image_released_date #=> Time
|
2050
2546
|
# resp.images[0].appstream_agent_version #=> String
|
@@ -2383,6 +2879,32 @@ module Aws::AppStream
|
|
2383
2879
|
req.send_request(options)
|
2384
2880
|
end
|
2385
2881
|
|
2882
|
+
# Disassociates the specified application from the fleet.
|
2883
|
+
#
|
2884
|
+
# @option params [required, String] :fleet_name
|
2885
|
+
# The name of the fleet.
|
2886
|
+
#
|
2887
|
+
# @option params [required, String] :application_arn
|
2888
|
+
# The ARN of the application.
|
2889
|
+
#
|
2890
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2891
|
+
#
|
2892
|
+
# @example Request syntax with placeholder values
|
2893
|
+
#
|
2894
|
+
# resp = client.disassociate_application_fleet({
|
2895
|
+
# fleet_name: "Name", # required
|
2896
|
+
# application_arn: "Arn", # required
|
2897
|
+
# })
|
2898
|
+
#
|
2899
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFleet AWS API Documentation
|
2900
|
+
#
|
2901
|
+
# @overload disassociate_application_fleet(params = {})
|
2902
|
+
# @param [Hash] params ({})
|
2903
|
+
def disassociate_application_fleet(params = {}, options = {})
|
2904
|
+
req = build_request(:disassociate_application_fleet, params)
|
2905
|
+
req.send_request(options)
|
2906
|
+
end
|
2907
|
+
|
2386
2908
|
# Disassociates the specified fleet from the specified stack.
|
2387
2909
|
#
|
2388
2910
|
# @option params [required, String] :fleet_name
|
@@ -2632,7 +3154,7 @@ module Aws::AppStream
|
|
2632
3154
|
# resp.image_builder.vpc_config.security_group_ids #=> Array
|
2633
3155
|
# resp.image_builder.vpc_config.security_group_ids[0] #=> String
|
2634
3156
|
# resp.image_builder.instance_type #=> String
|
2635
|
-
# resp.image_builder.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019"
|
3157
|
+
# resp.image_builder.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "AMAZON_LINUX2"
|
2636
3158
|
# resp.image_builder.iam_role_arn #=> String
|
2637
3159
|
# resp.image_builder.state #=> String, one of "PENDING", "UPDATING_AGENT", "RUNNING", "STOPPING", "STOPPED", "REBOOTING", "SNAPSHOTTING", "DELETING", "FAILED", "UPDATING", "PENDING_QUALIFICATION"
|
2638
3160
|
# resp.image_builder.state_change_reason.code #=> String, one of "INTERNAL_ERROR", "IMAGE_UNAVAILABLE"
|
@@ -2710,7 +3232,7 @@ module Aws::AppStream
|
|
2710
3232
|
# resp.image_builder.vpc_config.security_group_ids #=> Array
|
2711
3233
|
# resp.image_builder.vpc_config.security_group_ids[0] #=> String
|
2712
3234
|
# resp.image_builder.instance_type #=> String
|
2713
|
-
# resp.image_builder.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019"
|
3235
|
+
# resp.image_builder.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "AMAZON_LINUX2"
|
2714
3236
|
# resp.image_builder.iam_role_arn #=> String
|
2715
3237
|
# resp.image_builder.state #=> String, one of "PENDING", "UPDATING_AGENT", "RUNNING", "STOPPING", "STOPPED", "REBOOTING", "SNAPSHOTTING", "DELETING", "FAILED", "UPDATING", "PENDING_QUALIFICATION"
|
2716
3238
|
# resp.image_builder.state_change_reason.code #=> String, one of "INTERNAL_ERROR", "IMAGE_UNAVAILABLE"
|
@@ -2827,6 +3349,89 @@ module Aws::AppStream
|
|
2827
3349
|
req.send_request(options)
|
2828
3350
|
end
|
2829
3351
|
|
3352
|
+
# Updates the specified application.
|
3353
|
+
#
|
3354
|
+
# @option params [required, String] :name
|
3355
|
+
# The name of the application. This name is visible to users when
|
3356
|
+
# display name is not specified.
|
3357
|
+
#
|
3358
|
+
# @option params [String] :display_name
|
3359
|
+
# The display name of the application. This name is visible to users in
|
3360
|
+
# the application catalog.
|
3361
|
+
#
|
3362
|
+
# @option params [String] :description
|
3363
|
+
# The description of the application.
|
3364
|
+
#
|
3365
|
+
# @option params [Types::S3Location] :icon_s3_location
|
3366
|
+
# The icon S3 location of the application.
|
3367
|
+
#
|
3368
|
+
# @option params [String] :launch_path
|
3369
|
+
# The launch path of the application.
|
3370
|
+
#
|
3371
|
+
# @option params [String] :working_directory
|
3372
|
+
# The working directory of the application.
|
3373
|
+
#
|
3374
|
+
# @option params [String] :launch_parameters
|
3375
|
+
# The launch parameters of the application.
|
3376
|
+
#
|
3377
|
+
# @option params [String] :app_block_arn
|
3378
|
+
# The ARN of the app block.
|
3379
|
+
#
|
3380
|
+
# @option params [Array<String>] :attributes_to_delete
|
3381
|
+
# The attributes to delete for an application.
|
3382
|
+
#
|
3383
|
+
# @return [Types::UpdateApplicationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3384
|
+
#
|
3385
|
+
# * {Types::UpdateApplicationResult#application #application} => Types::Application
|
3386
|
+
#
|
3387
|
+
# @example Request syntax with placeholder values
|
3388
|
+
#
|
3389
|
+
# resp = client.update_application({
|
3390
|
+
# name: "Name", # required
|
3391
|
+
# display_name: "DisplayName",
|
3392
|
+
# description: "Description",
|
3393
|
+
# icon_s3_location: {
|
3394
|
+
# s3_bucket: "S3Bucket", # required
|
3395
|
+
# s3_key: "S3Key", # required
|
3396
|
+
# },
|
3397
|
+
# launch_path: "String",
|
3398
|
+
# working_directory: "String",
|
3399
|
+
# launch_parameters: "String",
|
3400
|
+
# app_block_arn: "Arn",
|
3401
|
+
# attributes_to_delete: ["LAUNCH_PARAMETERS"], # accepts LAUNCH_PARAMETERS, WORKING_DIRECTORY
|
3402
|
+
# })
|
3403
|
+
#
|
3404
|
+
# @example Response structure
|
3405
|
+
#
|
3406
|
+
# resp.application.name #=> String
|
3407
|
+
# resp.application.display_name #=> String
|
3408
|
+
# resp.application.icon_url #=> String
|
3409
|
+
# resp.application.launch_path #=> String
|
3410
|
+
# resp.application.launch_parameters #=> String
|
3411
|
+
# resp.application.enabled #=> Boolean
|
3412
|
+
# resp.application.metadata #=> Hash
|
3413
|
+
# resp.application.metadata["String"] #=> String
|
3414
|
+
# resp.application.working_directory #=> String
|
3415
|
+
# resp.application.description #=> String
|
3416
|
+
# resp.application.arn #=> String
|
3417
|
+
# resp.application.app_block_arn #=> String
|
3418
|
+
# resp.application.icon_s3_location.s3_bucket #=> String
|
3419
|
+
# resp.application.icon_s3_location.s3_key #=> String
|
3420
|
+
# resp.application.platforms #=> Array
|
3421
|
+
# resp.application.platforms[0] #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "AMAZON_LINUX2"
|
3422
|
+
# resp.application.instance_families #=> Array
|
3423
|
+
# resp.application.instance_families[0] #=> String
|
3424
|
+
# resp.application.created_time #=> Time
|
3425
|
+
#
|
3426
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateApplication AWS API Documentation
|
3427
|
+
#
|
3428
|
+
# @overload update_application(params = {})
|
3429
|
+
# @param [Hash] params ({})
|
3430
|
+
def update_application(params = {}, options = {})
|
3431
|
+
req = build_request(:update_application, params)
|
3432
|
+
req.send_request(options)
|
3433
|
+
end
|
3434
|
+
|
2830
3435
|
# Updates the specified Directory Config object in AppStream 2.0. This
|
2831
3436
|
# object includes the configuration information required to join fleets
|
2832
3437
|
# and image builders to Microsoft Active Directory domains.
|
@@ -2878,11 +3483,25 @@ module Aws::AppStream
|
|
2878
3483
|
# Updates the specified fleet.
|
2879
3484
|
#
|
2880
3485
|
# If the fleet is in the `STOPPED` state, you can update any attribute
|
2881
|
-
# except the fleet name.
|
2882
|
-
#
|
2883
|
-
#
|
2884
|
-
#
|
2885
|
-
#
|
3486
|
+
# except the fleet name.
|
3487
|
+
#
|
3488
|
+
# If the fleet is in the `RUNNING` state, you can update the following
|
3489
|
+
# based on the fleet type:
|
3490
|
+
#
|
3491
|
+
# * Always-On and On-Demand fleet types
|
3492
|
+
#
|
3493
|
+
# You can update the `DisplayName`, `ComputeCapacity`, `ImageARN`,
|
3494
|
+
# `ImageName`, `IdleDisconnectTimeoutInSeconds`, and
|
3495
|
+
# `DisconnectTimeoutInSeconds` attributes.
|
3496
|
+
#
|
3497
|
+
# * Elastic fleet type
|
3498
|
+
#
|
3499
|
+
# You can update the `DisplayName`, `IdleDisconnectTimeoutInSeconds`,
|
3500
|
+
# `DisconnectTimeoutInSeconds`, `MaxConcurrentSessions`, and
|
3501
|
+
# `UsbDeviceFilterStrings` attributes.
|
3502
|
+
#
|
3503
|
+
# If the fleet is in the `STARTING` or `STOPPED` state, you can't
|
3504
|
+
# update it.
|
2886
3505
|
#
|
2887
3506
|
# @option params [String] :image_name
|
2888
3507
|
# The name of the image used to create the fleet.
|
@@ -2963,11 +3582,20 @@ module Aws::AppStream
|
|
2963
3582
|
#
|
2964
3583
|
# * stream.graphics-pro.16xlarge
|
2965
3584
|
#
|
3585
|
+
# The following instance types are available for Elastic fleets:
|
3586
|
+
#
|
3587
|
+
# * stream.standard.small
|
3588
|
+
#
|
3589
|
+
# * stream.standard.medium
|
3590
|
+
#
|
2966
3591
|
# @option params [Types::ComputeCapacity] :compute_capacity
|
2967
|
-
# The desired capacity for the fleet.
|
3592
|
+
# The desired capacity for the fleet. This is not allowed for Elastic
|
3593
|
+
# fleets.
|
2968
3594
|
#
|
2969
3595
|
# @option params [Types::VpcConfig] :vpc_config
|
2970
|
-
# The VPC configuration for the fleet.
|
3596
|
+
# The VPC configuration for the fleet. This is required for Elastic
|
3597
|
+
# fleets, but not required for other fleet types. Elastic fleets require
|
3598
|
+
# that you specify at least two subnets in different availability zones.
|
2971
3599
|
#
|
2972
3600
|
# @option params [Integer] :max_user_duration_in_seconds
|
2973
3601
|
# The maximum amount of time that a streaming session can remain active,
|
@@ -3059,6 +3687,18 @@ module Aws::AppStream
|
|
3059
3687
|
#
|
3060
3688
|
# The default value is `APP`.
|
3061
3689
|
#
|
3690
|
+
# @option params [String] :platform
|
3691
|
+
# The platform of the fleet. WINDOWS\_SERVER\_2019 and AMAZON\_LINUX2
|
3692
|
+
# are supported for Elastic fleets.
|
3693
|
+
#
|
3694
|
+
# @option params [Integer] :max_concurrent_sessions
|
3695
|
+
# The maximum number of concurrent sessions for a fleet.
|
3696
|
+
#
|
3697
|
+
# @option params [Array<String>] :usb_device_filter_strings
|
3698
|
+
# The USB device filter strings that specify which USB devices a user
|
3699
|
+
# can redirect to the fleet streaming session, when using the Windows
|
3700
|
+
# native client. This is allowed but not required for Elastic fleets.
|
3701
|
+
#
|
3062
3702
|
# @return [Types::UpdateFleetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3063
3703
|
#
|
3064
3704
|
# * {Types::UpdateFleetResult#fleet #fleet} => Types::Fleet
|
@@ -3088,9 +3728,12 @@ module Aws::AppStream
|
|
3088
3728
|
# organizational_unit_distinguished_name: "OrganizationalUnitDistinguishedName",
|
3089
3729
|
# },
|
3090
3730
|
# idle_disconnect_timeout_in_seconds: 1,
|
3091
|
-
# attributes_to_delete: ["VPC_CONFIGURATION"], # accepts VPC_CONFIGURATION, VPC_CONFIGURATION_SECURITY_GROUP_IDS, DOMAIN_JOIN_INFO, IAM_ROLE_ARN
|
3731
|
+
# attributes_to_delete: ["VPC_CONFIGURATION"], # accepts VPC_CONFIGURATION, VPC_CONFIGURATION_SECURITY_GROUP_IDS, DOMAIN_JOIN_INFO, IAM_ROLE_ARN, USB_DEVICE_FILTER_STRINGS
|
3092
3732
|
# iam_role_arn: "Arn",
|
3093
3733
|
# stream_view: "APP", # accepts APP, DESKTOP
|
3734
|
+
# platform: "WINDOWS", # accepts WINDOWS, WINDOWS_SERVER_2016, WINDOWS_SERVER_2019, AMAZON_LINUX2
|
3735
|
+
# max_concurrent_sessions: 1,
|
3736
|
+
# usb_device_filter_strings: ["UsbDeviceFilterString"],
|
3094
3737
|
# })
|
3095
3738
|
#
|
3096
3739
|
# @example Response structure
|
@@ -3102,7 +3745,7 @@ module Aws::AppStream
|
|
3102
3745
|
# resp.fleet.image_name #=> String
|
3103
3746
|
# resp.fleet.image_arn #=> String
|
3104
3747
|
# resp.fleet.instance_type #=> String
|
3105
|
-
# resp.fleet.fleet_type #=> String, one of "ALWAYS_ON", "ON_DEMAND"
|
3748
|
+
# resp.fleet.fleet_type #=> String, one of "ALWAYS_ON", "ON_DEMAND", "ELASTIC"
|
3106
3749
|
# resp.fleet.compute_capacity_status.desired #=> Integer
|
3107
3750
|
# resp.fleet.compute_capacity_status.running #=> Integer
|
3108
3751
|
# resp.fleet.compute_capacity_status.in_use #=> Integer
|
@@ -3124,6 +3767,10 @@ module Aws::AppStream
|
|
3124
3767
|
# resp.fleet.idle_disconnect_timeout_in_seconds #=> Integer
|
3125
3768
|
# resp.fleet.iam_role_arn #=> String
|
3126
3769
|
# resp.fleet.stream_view #=> String, one of "APP", "DESKTOP"
|
3770
|
+
# resp.fleet.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "AMAZON_LINUX2"
|
3771
|
+
# resp.fleet.max_concurrent_sessions #=> Integer
|
3772
|
+
# resp.fleet.usb_device_filter_strings #=> Array
|
3773
|
+
# resp.fleet.usb_device_filter_strings[0] #=> String
|
3127
3774
|
#
|
3128
3775
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleet AWS API Documentation
|
3129
3776
|
#
|
@@ -3308,7 +3955,7 @@ module Aws::AppStream
|
|
3308
3955
|
params: params,
|
3309
3956
|
config: config)
|
3310
3957
|
context[:gem_name] = 'aws-sdk-appstream'
|
3311
|
-
context[:gem_version] = '1.
|
3958
|
+
context[:gem_version] = '1.60.0'
|
3312
3959
|
Seahorse::Client::Request.new(handlers, context)
|
3313
3960
|
end
|
3314
3961
|
|