aws-sdk-appstream 1.58.0 → 1.62.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.
@@ -44,6 +44,59 @@ module Aws::AppStream
44
44
  include Aws::Structure
45
45
  end
46
46
 
47
+ # Describes an app block.
48
+ #
49
+ # App blocks are an Amazon AppStream 2.0 resource that stores the
50
+ # details about the virtual hard disk in an S3 bucket. It also stores
51
+ # the setup script with details about how to mount the virtual hard
52
+ # disk. The virtual hard disk includes the application binaries and
53
+ # other files necessary to launch your applications. Multiple
54
+ # applications can be assigned to a single app block.
55
+ #
56
+ # This is only supported for Elastic fleets.
57
+ #
58
+ # @!attribute [rw] name
59
+ # The name of the app block.
60
+ # @return [String]
61
+ #
62
+ # @!attribute [rw] arn
63
+ # The ARN of the app block.
64
+ # @return [String]
65
+ #
66
+ # @!attribute [rw] description
67
+ # The description of the app block.
68
+ # @return [String]
69
+ #
70
+ # @!attribute [rw] display_name
71
+ # The display name of the app block.
72
+ # @return [String]
73
+ #
74
+ # @!attribute [rw] source_s3_location
75
+ # The source S3 location of the app block.
76
+ # @return [Types::S3Location]
77
+ #
78
+ # @!attribute [rw] setup_script_details
79
+ # The setup script details of the app block.
80
+ # @return [Types::ScriptDetails]
81
+ #
82
+ # @!attribute [rw] created_time
83
+ # The created time of the app block.
84
+ # @return [Time]
85
+ #
86
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AppBlock AWS API Documentation
87
+ #
88
+ class AppBlock < Struct.new(
89
+ :name,
90
+ :arn,
91
+ :description,
92
+ :display_name,
93
+ :source_s3_location,
94
+ :setup_script_details,
95
+ :created_time)
96
+ SENSITIVE = []
97
+ include Aws::Structure
98
+ end
99
+
47
100
  # Describes an application in the application catalog.
48
101
  #
49
102
  # @!attribute [rw] name
@@ -75,6 +128,38 @@ module Aws::AppStream
75
128
  # Additional attributes that describe the application.
76
129
  # @return [Hash<String,String>]
77
130
  #
131
+ # @!attribute [rw] working_directory
132
+ # The working directory for the application.
133
+ # @return [String]
134
+ #
135
+ # @!attribute [rw] description
136
+ # The description of the application.
137
+ # @return [String]
138
+ #
139
+ # @!attribute [rw] arn
140
+ # The ARN of the application.
141
+ # @return [String]
142
+ #
143
+ # @!attribute [rw] app_block_arn
144
+ # The app block ARN of the application.
145
+ # @return [String]
146
+ #
147
+ # @!attribute [rw] icon_s3_location
148
+ # The S3 location of the application icon.
149
+ # @return [Types::S3Location]
150
+ #
151
+ # @!attribute [rw] platforms
152
+ # The platforms on which the application can run.
153
+ # @return [Array<String>]
154
+ #
155
+ # @!attribute [rw] instance_families
156
+ # The instance families for the application.
157
+ # @return [Array<String>]
158
+ #
159
+ # @!attribute [rw] created_time
160
+ # The time at which the application was created within the app block.
161
+ # @return [Time]
162
+ #
78
163
  # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/Application AWS API Documentation
79
164
  #
80
165
  class Application < Struct.new(
@@ -84,7 +169,34 @@ module Aws::AppStream
84
169
  :launch_path,
85
170
  :launch_parameters,
86
171
  :enabled,
87
- :metadata)
172
+ :metadata,
173
+ :working_directory,
174
+ :description,
175
+ :arn,
176
+ :app_block_arn,
177
+ :icon_s3_location,
178
+ :platforms,
179
+ :instance_families,
180
+ :created_time)
181
+ SENSITIVE = []
182
+ include Aws::Structure
183
+ end
184
+
185
+ # Describes the application fleet association.
186
+ #
187
+ # @!attribute [rw] fleet_name
188
+ # The name of the fleet associated with the application.
189
+ # @return [String]
190
+ #
191
+ # @!attribute [rw] application_arn
192
+ # The ARN of the application associated with the fleet.
193
+ # @return [String]
194
+ #
195
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ApplicationFleetAssociation AWS API Documentation
196
+ #
197
+ class ApplicationFleetAssociation < Struct.new(
198
+ :fleet_name,
199
+ :application_arn)
88
200
  SENSITIVE = []
89
201
  include Aws::Structure
90
202
  end
@@ -149,6 +261,80 @@ module Aws::AppStream
149
261
  include Aws::Structure
150
262
  end
151
263
 
264
+ # @note When making an API call, you may pass AssociateApplicationFleetRequest
265
+ # data as a hash:
266
+ #
267
+ # {
268
+ # fleet_name: "Name", # required
269
+ # application_arn: "Arn", # required
270
+ # }
271
+ #
272
+ # @!attribute [rw] fleet_name
273
+ # The name of the fleet.
274
+ # @return [String]
275
+ #
276
+ # @!attribute [rw] application_arn
277
+ # The ARN of the application.
278
+ # @return [String]
279
+ #
280
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationFleetRequest AWS API Documentation
281
+ #
282
+ class AssociateApplicationFleetRequest < Struct.new(
283
+ :fleet_name,
284
+ :application_arn)
285
+ SENSITIVE = []
286
+ include Aws::Structure
287
+ end
288
+
289
+ # @!attribute [rw] application_fleet_association
290
+ # If fleet name is specified, this returns the list of applications
291
+ # that are associated to it. If application ARN is specified, this
292
+ # returns the list of fleets to which it is associated.
293
+ # @return [Types::ApplicationFleetAssociation]
294
+ #
295
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationFleetResult AWS API Documentation
296
+ #
297
+ class AssociateApplicationFleetResult < Struct.new(
298
+ :application_fleet_association)
299
+ SENSITIVE = []
300
+ include Aws::Structure
301
+ end
302
+
303
+ # @note When making an API call, you may pass AssociateApplicationToEntitlementRequest
304
+ # data as a hash:
305
+ #
306
+ # {
307
+ # stack_name: "Name", # required
308
+ # entitlement_name: "Name", # required
309
+ # application_identifier: "String", # required
310
+ # }
311
+ #
312
+ # @!attribute [rw] stack_name
313
+ # The name of the stack.
314
+ # @return [String]
315
+ #
316
+ # @!attribute [rw] entitlement_name
317
+ # The name of the entitlement.
318
+ # @return [String]
319
+ #
320
+ # @!attribute [rw] application_identifier
321
+ # The identifier of the application.
322
+ # @return [String]
323
+ #
324
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationToEntitlementRequest AWS API Documentation
325
+ #
326
+ class AssociateApplicationToEntitlementRequest < Struct.new(
327
+ :stack_name,
328
+ :entitlement_name,
329
+ :application_identifier)
330
+ SENSITIVE = []
331
+ include Aws::Structure
332
+ end
333
+
334
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationToEntitlementResult AWS API Documentation
335
+ #
336
+ class AssociateApplicationToEntitlementResult < Aws::EmptyStructure; end
337
+
152
338
  # @note When making an API call, you may pass AssociateFleetRequest
153
339
  # data as a hash:
154
340
  #
@@ -373,6 +559,181 @@ module Aws::AppStream
373
559
  include Aws::Structure
374
560
  end
375
561
 
562
+ # @note When making an API call, you may pass CreateAppBlockRequest
563
+ # data as a hash:
564
+ #
565
+ # {
566
+ # name: "Name", # required
567
+ # description: "Description",
568
+ # display_name: "DisplayName",
569
+ # source_s3_location: { # required
570
+ # s3_bucket: "S3Bucket", # required
571
+ # s3_key: "S3Key", # required
572
+ # },
573
+ # setup_script_details: { # required
574
+ # script_s3_location: { # required
575
+ # s3_bucket: "S3Bucket", # required
576
+ # s3_key: "S3Key", # required
577
+ # },
578
+ # executable_path: "String", # required
579
+ # executable_parameters: "String",
580
+ # timeout_in_seconds: 1, # required
581
+ # },
582
+ # tags: {
583
+ # "TagKey" => "TagValue",
584
+ # },
585
+ # }
586
+ #
587
+ # @!attribute [rw] name
588
+ # The name of the app block.
589
+ # @return [String]
590
+ #
591
+ # @!attribute [rw] description
592
+ # The description of the app block.
593
+ # @return [String]
594
+ #
595
+ # @!attribute [rw] display_name
596
+ # The display name of the app block. This is not displayed to the
597
+ # user.
598
+ # @return [String]
599
+ #
600
+ # @!attribute [rw] source_s3_location
601
+ # The source S3 location of the app block.
602
+ # @return [Types::S3Location]
603
+ #
604
+ # @!attribute [rw] setup_script_details
605
+ # The setup script details of the app block.
606
+ # @return [Types::ScriptDetails]
607
+ #
608
+ # @!attribute [rw] tags
609
+ # The tags assigned to the app block.
610
+ # @return [Hash<String,String>]
611
+ #
612
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockRequest AWS API Documentation
613
+ #
614
+ class CreateAppBlockRequest < Struct.new(
615
+ :name,
616
+ :description,
617
+ :display_name,
618
+ :source_s3_location,
619
+ :setup_script_details,
620
+ :tags)
621
+ SENSITIVE = []
622
+ include Aws::Structure
623
+ end
624
+
625
+ # @!attribute [rw] app_block
626
+ # The app block.
627
+ # @return [Types::AppBlock]
628
+ #
629
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockResult AWS API Documentation
630
+ #
631
+ class CreateAppBlockResult < Struct.new(
632
+ :app_block)
633
+ SENSITIVE = []
634
+ include Aws::Structure
635
+ end
636
+
637
+ # @note When making an API call, you may pass CreateApplicationRequest
638
+ # data as a hash:
639
+ #
640
+ # {
641
+ # name: "Name", # required
642
+ # display_name: "DisplayName",
643
+ # description: "Description",
644
+ # icon_s3_location: { # required
645
+ # s3_bucket: "S3Bucket", # required
646
+ # s3_key: "S3Key", # required
647
+ # },
648
+ # launch_path: "String", # required
649
+ # working_directory: "String",
650
+ # launch_parameters: "String",
651
+ # platforms: ["WINDOWS"], # required, accepts WINDOWS, WINDOWS_SERVER_2016, WINDOWS_SERVER_2019, AMAZON_LINUX2
652
+ # instance_families: ["String"], # required
653
+ # app_block_arn: "Arn", # required
654
+ # tags: {
655
+ # "TagKey" => "TagValue",
656
+ # },
657
+ # }
658
+ #
659
+ # @!attribute [rw] name
660
+ # The name of the application. This name is visible to users when
661
+ # display name is not specified.
662
+ # @return [String]
663
+ #
664
+ # @!attribute [rw] display_name
665
+ # The display name of the application. This name is visible to users
666
+ # in the application catalog.
667
+ # @return [String]
668
+ #
669
+ # @!attribute [rw] description
670
+ # The description of the application.
671
+ # @return [String]
672
+ #
673
+ # @!attribute [rw] icon_s3_location
674
+ # The location in S3 of the application icon.
675
+ # @return [Types::S3Location]
676
+ #
677
+ # @!attribute [rw] launch_path
678
+ # The launch path of the application.
679
+ # @return [String]
680
+ #
681
+ # @!attribute [rw] working_directory
682
+ # The working directory of the application.
683
+ # @return [String]
684
+ #
685
+ # @!attribute [rw] launch_parameters
686
+ # The launch parameters of the application.
687
+ # @return [String]
688
+ #
689
+ # @!attribute [rw] platforms
690
+ # The platforms the application supports. WINDOWS\_SERVER\_2019 and
691
+ # AMAZON\_LINUX2 are supported for Elastic fleets.
692
+ # @return [Array<String>]
693
+ #
694
+ # @!attribute [rw] instance_families
695
+ # The instance families the application supports. Valid values are
696
+ # GENERAL\_PURPOSE and GRAPHICS\_G4.
697
+ # @return [Array<String>]
698
+ #
699
+ # @!attribute [rw] app_block_arn
700
+ # The app block ARN to which the application should be associated
701
+ # @return [String]
702
+ #
703
+ # @!attribute [rw] tags
704
+ # The tags assigned to the application.
705
+ # @return [Hash<String,String>]
706
+ #
707
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateApplicationRequest AWS API Documentation
708
+ #
709
+ class CreateApplicationRequest < Struct.new(
710
+ :name,
711
+ :display_name,
712
+ :description,
713
+ :icon_s3_location,
714
+ :launch_path,
715
+ :working_directory,
716
+ :launch_parameters,
717
+ :platforms,
718
+ :instance_families,
719
+ :app_block_arn,
720
+ :tags)
721
+ SENSITIVE = []
722
+ include Aws::Structure
723
+ end
724
+
725
+ # @!attribute [rw] application
726
+ # Describes an application in the application catalog.
727
+ # @return [Types::Application]
728
+ #
729
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateApplicationResult AWS API Documentation
730
+ #
731
+ class CreateApplicationResult < Struct.new(
732
+ :application)
733
+ SENSITIVE = []
734
+ include Aws::Structure
735
+ end
736
+
376
737
  # @note When making an API call, you may pass CreateDirectoryConfigRequest
377
738
  # data as a hash:
378
739
  #
@@ -422,6 +783,66 @@ module Aws::AppStream
422
783
  include Aws::Structure
423
784
  end
424
785
 
786
+ # @note When making an API call, you may pass CreateEntitlementRequest
787
+ # data as a hash:
788
+ #
789
+ # {
790
+ # name: "Name", # required
791
+ # stack_name: "Name", # required
792
+ # description: "Description",
793
+ # app_visibility: "ALL", # required, accepts ALL, ASSOCIATED
794
+ # attributes: [ # required
795
+ # {
796
+ # name: "String", # required
797
+ # value: "String", # required
798
+ # },
799
+ # ],
800
+ # }
801
+ #
802
+ # @!attribute [rw] name
803
+ # The name of the entitlement.
804
+ # @return [String]
805
+ #
806
+ # @!attribute [rw] stack_name
807
+ # The name of the stack with which the entitlement is associated.
808
+ # @return [String]
809
+ #
810
+ # @!attribute [rw] description
811
+ # The description of the entitlement.
812
+ # @return [String]
813
+ #
814
+ # @!attribute [rw] app_visibility
815
+ # Specifies whether all or selected apps are entitled.
816
+ # @return [String]
817
+ #
818
+ # @!attribute [rw] attributes
819
+ # The attributes of the entitlement.
820
+ # @return [Array<Types::EntitlementAttribute>]
821
+ #
822
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateEntitlementRequest AWS API Documentation
823
+ #
824
+ class CreateEntitlementRequest < Struct.new(
825
+ :name,
826
+ :stack_name,
827
+ :description,
828
+ :app_visibility,
829
+ :attributes)
830
+ SENSITIVE = []
831
+ include Aws::Structure
832
+ end
833
+
834
+ # @!attribute [rw] entitlement
835
+ # The entitlement.
836
+ # @return [Types::Entitlement]
837
+ #
838
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateEntitlementResult AWS API Documentation
839
+ #
840
+ class CreateEntitlementResult < Struct.new(
841
+ :entitlement)
842
+ SENSITIVE = []
843
+ include Aws::Structure
844
+ end
845
+
425
846
  # @note When making an API call, you may pass CreateFleetRequest
426
847
  # data as a hash:
427
848
  #
@@ -430,8 +851,8 @@ module Aws::AppStream
430
851
  # image_name: "String",
431
852
  # image_arn: "Arn",
432
853
  # instance_type: "String", # required
433
- # fleet_type: "ALWAYS_ON", # accepts ALWAYS_ON, ON_DEMAND
434
- # compute_capacity: { # required
854
+ # fleet_type: "ALWAYS_ON", # accepts ALWAYS_ON, ON_DEMAND, ELASTIC
855
+ # compute_capacity: {
435
856
  # desired_instances: 1, # required
436
857
  # },
437
858
  # vpc_config: {
@@ -453,6 +874,9 @@ module Aws::AppStream
453
874
  # idle_disconnect_timeout_in_seconds: 1,
454
875
  # iam_role_arn: "Arn",
455
876
  # stream_view: "APP", # accepts APP, DESKTOP
877
+ # platform: "WINDOWS", # accepts WINDOWS, WINDOWS_SERVER_2016, WINDOWS_SERVER_2019, AMAZON_LINUX2
878
+ # max_concurrent_sessions: 1,
879
+ # usb_device_filter_strings: ["UsbDeviceFilterString"],
456
880
  # }
457
881
  #
458
882
  # @!attribute [rw] name
@@ -536,6 +960,12 @@ module Aws::AppStream
536
960
  # * stream.graphics-pro.8xlarge
537
961
  #
538
962
  # * stream.graphics-pro.16xlarge
963
+ #
964
+ # The following instance types are available for Elastic fleets:
965
+ #
966
+ # * stream.standard.small
967
+ #
968
+ # * stream.standard.medium
539
969
  # @return [String]
540
970
  #
541
971
  # @!attribute [rw] fleet_type
@@ -556,11 +986,15 @@ module Aws::AppStream
556
986
  # @return [String]
557
987
  #
558
988
  # @!attribute [rw] compute_capacity
559
- # The desired capacity for the fleet.
989
+ # The desired capacity for the fleet. This is not allowed for Elastic
990
+ # fleets. For Elastic fleets, specify MaxConcurrentSessions instead.
560
991
  # @return [Types::ComputeCapacity]
561
992
  #
562
993
  # @!attribute [rw] vpc_config
563
- # The VPC configuration for the fleet.
994
+ # The VPC configuration for the fleet. This is required for Elastic
995
+ # fleets, but not required for other fleet types. Elastic fleets
996
+ # require that you specify at least two subnets in different
997
+ # availability zones.
564
998
  # @return [Types::VpcConfig]
565
999
  #
566
1000
  # @!attribute [rw] max_user_duration_in_seconds
@@ -598,7 +1032,8 @@ module Aws::AppStream
598
1032
  #
599
1033
  # @!attribute [rw] domain_join_info
600
1034
  # The name of the directory and organizational unit (OU) to use to
601
- # join the fleet to a Microsoft Active Directory domain.
1035
+ # join the fleet to a Microsoft Active Directory domain. This is not
1036
+ # allowed for Elastic fleets.
602
1037
  # @return [Types::DomainJoinInfo]
603
1038
  #
604
1039
  # @!attribute [rw] tags
@@ -679,11 +1114,27 @@ module Aws::AppStream
679
1114
  # The default value is `APP`.
680
1115
  # @return [String]
681
1116
  #
682
- # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleetRequest AWS API Documentation
1117
+ # @!attribute [rw] platform
1118
+ # The fleet platform. WINDOWS\_SERVER\_2019 and AMAZON\_LINUX2 are
1119
+ # supported for Elastic fleets.
1120
+ # @return [String]
683
1121
  #
684
- class CreateFleetRequest < Struct.new(
685
- :name,
686
- :image_name,
1122
+ # @!attribute [rw] max_concurrent_sessions
1123
+ # The maximum concurrent sessions of the Elastic fleet. This is
1124
+ # required for Elastic fleets, and not allowed for other fleet types.
1125
+ # @return [Integer]
1126
+ #
1127
+ # @!attribute [rw] usb_device_filter_strings
1128
+ # The USB device filter strings that specify which USB devices a user
1129
+ # can redirect to the fleet streaming session, when using the Windows
1130
+ # native client. This is allowed but not required for Elastic fleets.
1131
+ # @return [Array<String>]
1132
+ #
1133
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleetRequest AWS API Documentation
1134
+ #
1135
+ class CreateFleetRequest < Struct.new(
1136
+ :name,
1137
+ :image_name,
687
1138
  :image_arn,
688
1139
  :instance_type,
689
1140
  :fleet_type,
@@ -698,7 +1149,10 @@ module Aws::AppStream
698
1149
  :tags,
699
1150
  :idle_disconnect_timeout_in_seconds,
700
1151
  :iam_role_arn,
701
- :stream_view)
1152
+ :stream_view,
1153
+ :platform,
1154
+ :max_concurrent_sessions,
1155
+ :usb_device_filter_strings)
702
1156
  SENSITIVE = []
703
1157
  include Aws::Structure
704
1158
  end
@@ -1380,6 +1834,52 @@ module Aws::AppStream
1380
1834
  #
1381
1835
  class CreateUserResult < Aws::EmptyStructure; end
1382
1836
 
1837
+ # @note When making an API call, you may pass DeleteAppBlockRequest
1838
+ # data as a hash:
1839
+ #
1840
+ # {
1841
+ # name: "Name", # required
1842
+ # }
1843
+ #
1844
+ # @!attribute [rw] name
1845
+ # The name of the app block.
1846
+ # @return [String]
1847
+ #
1848
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlockRequest AWS API Documentation
1849
+ #
1850
+ class DeleteAppBlockRequest < Struct.new(
1851
+ :name)
1852
+ SENSITIVE = []
1853
+ include Aws::Structure
1854
+ end
1855
+
1856
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlockResult AWS API Documentation
1857
+ #
1858
+ class DeleteAppBlockResult < Aws::EmptyStructure; end
1859
+
1860
+ # @note When making an API call, you may pass DeleteApplicationRequest
1861
+ # data as a hash:
1862
+ #
1863
+ # {
1864
+ # name: "Name", # required
1865
+ # }
1866
+ #
1867
+ # @!attribute [rw] name
1868
+ # The name of the application.
1869
+ # @return [String]
1870
+ #
1871
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteApplicationRequest AWS API Documentation
1872
+ #
1873
+ class DeleteApplicationRequest < Struct.new(
1874
+ :name)
1875
+ SENSITIVE = []
1876
+ include Aws::Structure
1877
+ end
1878
+
1879
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteApplicationResult AWS API Documentation
1880
+ #
1881
+ class DeleteApplicationResult < Aws::EmptyStructure; end
1882
+
1383
1883
  # @note When making an API call, you may pass DeleteDirectoryConfigRequest
1384
1884
  # data as a hash:
1385
1885
  #
@@ -1403,6 +1903,35 @@ module Aws::AppStream
1403
1903
  #
1404
1904
  class DeleteDirectoryConfigResult < Aws::EmptyStructure; end
1405
1905
 
1906
+ # @note When making an API call, you may pass DeleteEntitlementRequest
1907
+ # data as a hash:
1908
+ #
1909
+ # {
1910
+ # name: "Name", # required
1911
+ # stack_name: "Name", # required
1912
+ # }
1913
+ #
1914
+ # @!attribute [rw] name
1915
+ # The name of the entitlement.
1916
+ # @return [String]
1917
+ #
1918
+ # @!attribute [rw] stack_name
1919
+ # The name of the stack with which the entitlement is associated.
1920
+ # @return [String]
1921
+ #
1922
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteEntitlementRequest AWS API Documentation
1923
+ #
1924
+ class DeleteEntitlementRequest < Struct.new(
1925
+ :name,
1926
+ :stack_name)
1927
+ SENSITIVE = []
1928
+ include Aws::Structure
1929
+ end
1930
+
1931
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteEntitlementResult AWS API Documentation
1932
+ #
1933
+ class DeleteEntitlementResult < Aws::EmptyStructure; end
1934
+
1406
1935
  # @note When making an API call, you may pass DeleteFleetRequest
1407
1936
  # data as a hash:
1408
1937
  #
@@ -1584,6 +2113,162 @@ module Aws::AppStream
1584
2113
  #
1585
2114
  class DeleteUserResult < Aws::EmptyStructure; end
1586
2115
 
2116
+ # @note When making an API call, you may pass DescribeAppBlocksRequest
2117
+ # data as a hash:
2118
+ #
2119
+ # {
2120
+ # arns: ["Arn"],
2121
+ # next_token: "String",
2122
+ # max_results: 1,
2123
+ # }
2124
+ #
2125
+ # @!attribute [rw] arns
2126
+ # The ARNs of the app blocks.
2127
+ # @return [Array<String>]
2128
+ #
2129
+ # @!attribute [rw] next_token
2130
+ # The pagination token used to retrieve the next page of results for
2131
+ # this operation.
2132
+ # @return [String]
2133
+ #
2134
+ # @!attribute [rw] max_results
2135
+ # The maximum size of each page of results.
2136
+ # @return [Integer]
2137
+ #
2138
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlocksRequest AWS API Documentation
2139
+ #
2140
+ class DescribeAppBlocksRequest < Struct.new(
2141
+ :arns,
2142
+ :next_token,
2143
+ :max_results)
2144
+ SENSITIVE = []
2145
+ include Aws::Structure
2146
+ end
2147
+
2148
+ # @!attribute [rw] app_blocks
2149
+ # The app blocks in the list.
2150
+ # @return [Array<Types::AppBlock>]
2151
+ #
2152
+ # @!attribute [rw] next_token
2153
+ # The pagination token used to retrieve the next page of results for
2154
+ # this operation.
2155
+ # @return [String]
2156
+ #
2157
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlocksResult AWS API Documentation
2158
+ #
2159
+ class DescribeAppBlocksResult < Struct.new(
2160
+ :app_blocks,
2161
+ :next_token)
2162
+ SENSITIVE = []
2163
+ include Aws::Structure
2164
+ end
2165
+
2166
+ # @note When making an API call, you may pass DescribeApplicationFleetAssociationsRequest
2167
+ # data as a hash:
2168
+ #
2169
+ # {
2170
+ # fleet_name: "Name",
2171
+ # application_arn: "Arn",
2172
+ # max_results: 1,
2173
+ # next_token: "String",
2174
+ # }
2175
+ #
2176
+ # @!attribute [rw] fleet_name
2177
+ # The name of the fleet.
2178
+ # @return [String]
2179
+ #
2180
+ # @!attribute [rw] application_arn
2181
+ # The ARN of the application.
2182
+ # @return [String]
2183
+ #
2184
+ # @!attribute [rw] max_results
2185
+ # The maximum size of each page of results.
2186
+ # @return [Integer]
2187
+ #
2188
+ # @!attribute [rw] next_token
2189
+ # The pagination token used to retrieve the next page of results for
2190
+ # this operation.
2191
+ # @return [String]
2192
+ #
2193
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationFleetAssociationsRequest AWS API Documentation
2194
+ #
2195
+ class DescribeApplicationFleetAssociationsRequest < Struct.new(
2196
+ :fleet_name,
2197
+ :application_arn,
2198
+ :max_results,
2199
+ :next_token)
2200
+ SENSITIVE = []
2201
+ include Aws::Structure
2202
+ end
2203
+
2204
+ # @!attribute [rw] application_fleet_associations
2205
+ # The application fleet associations in the list.
2206
+ # @return [Array<Types::ApplicationFleetAssociation>]
2207
+ #
2208
+ # @!attribute [rw] next_token
2209
+ # The pagination token used to retrieve the next page of results for
2210
+ # this operation.
2211
+ # @return [String]
2212
+ #
2213
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationFleetAssociationsResult AWS API Documentation
2214
+ #
2215
+ class DescribeApplicationFleetAssociationsResult < Struct.new(
2216
+ :application_fleet_associations,
2217
+ :next_token)
2218
+ SENSITIVE = []
2219
+ include Aws::Structure
2220
+ end
2221
+
2222
+ # @note When making an API call, you may pass DescribeApplicationsRequest
2223
+ # data as a hash:
2224
+ #
2225
+ # {
2226
+ # arns: ["Arn"],
2227
+ # next_token: "String",
2228
+ # max_results: 1,
2229
+ # }
2230
+ #
2231
+ # @!attribute [rw] arns
2232
+ # The ARNs for the applications.
2233
+ # @return [Array<String>]
2234
+ #
2235
+ # @!attribute [rw] next_token
2236
+ # The pagination token used to retrieve the next page of results for
2237
+ # this operation.
2238
+ # @return [String]
2239
+ #
2240
+ # @!attribute [rw] max_results
2241
+ # The maximum size of each page of results.
2242
+ # @return [Integer]
2243
+ #
2244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationsRequest AWS API Documentation
2245
+ #
2246
+ class DescribeApplicationsRequest < Struct.new(
2247
+ :arns,
2248
+ :next_token,
2249
+ :max_results)
2250
+ SENSITIVE = []
2251
+ include Aws::Structure
2252
+ end
2253
+
2254
+ # @!attribute [rw] applications
2255
+ # The applications in the list.
2256
+ # @return [Array<Types::Application>]
2257
+ #
2258
+ # @!attribute [rw] next_token
2259
+ # The pagination token used to retrieve the next page of results for
2260
+ # this operation.
2261
+ # @return [String]
2262
+ #
2263
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationsResult AWS API Documentation
2264
+ #
2265
+ class DescribeApplicationsResult < Struct.new(
2266
+ :applications,
2267
+ :next_token)
2268
+ SENSITIVE = []
2269
+ include Aws::Structure
2270
+ end
2271
+
1587
2272
  # @note When making an API call, you may pass DescribeDirectoryConfigsRequest
1588
2273
  # data as a hash:
1589
2274
  #
@@ -1636,6 +2321,62 @@ module Aws::AppStream
1636
2321
  include Aws::Structure
1637
2322
  end
1638
2323
 
2324
+ # @note When making an API call, you may pass DescribeEntitlementsRequest
2325
+ # data as a hash:
2326
+ #
2327
+ # {
2328
+ # name: "Name",
2329
+ # stack_name: "Name", # required
2330
+ # next_token: "String",
2331
+ # max_results: 1,
2332
+ # }
2333
+ #
2334
+ # @!attribute [rw] name
2335
+ # The name of the entitlement.
2336
+ # @return [String]
2337
+ #
2338
+ # @!attribute [rw] stack_name
2339
+ # The name of the stack with which the entitlement is associated.
2340
+ # @return [String]
2341
+ #
2342
+ # @!attribute [rw] next_token
2343
+ # The pagination token used to retrieve the next page of results for
2344
+ # this operation.
2345
+ # @return [String]
2346
+ #
2347
+ # @!attribute [rw] max_results
2348
+ # The maximum size of each page of results.
2349
+ # @return [Integer]
2350
+ #
2351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeEntitlementsRequest AWS API Documentation
2352
+ #
2353
+ class DescribeEntitlementsRequest < Struct.new(
2354
+ :name,
2355
+ :stack_name,
2356
+ :next_token,
2357
+ :max_results)
2358
+ SENSITIVE = []
2359
+ include Aws::Structure
2360
+ end
2361
+
2362
+ # @!attribute [rw] entitlements
2363
+ # The entitlements.
2364
+ # @return [Array<Types::Entitlement>]
2365
+ #
2366
+ # @!attribute [rw] next_token
2367
+ # The pagination token used to retrieve the next page of results for
2368
+ # this operation.
2369
+ # @return [String]
2370
+ #
2371
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeEntitlementsResult AWS API Documentation
2372
+ #
2373
+ class DescribeEntitlementsResult < Struct.new(
2374
+ :entitlements,
2375
+ :next_token)
2376
+ SENSITIVE = []
2377
+ include Aws::Structure
2378
+ end
2379
+
1639
2380
  # @note When making an API call, you may pass DescribeFleetsRequest
1640
2381
  # data as a hash:
1641
2382
  #
@@ -2195,105 +2936,311 @@ module Aws::AppStream
2195
2936
  include Aws::Structure
2196
2937
  end
2197
2938
 
2198
- # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisableUserResult AWS API Documentation
2939
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisableUserResult AWS API Documentation
2940
+ #
2941
+ class DisableUserResult < Aws::EmptyStructure; end
2942
+
2943
+ # @note When making an API call, you may pass DisassociateApplicationFleetRequest
2944
+ # data as a hash:
2945
+ #
2946
+ # {
2947
+ # fleet_name: "Name", # required
2948
+ # application_arn: "Arn", # required
2949
+ # }
2950
+ #
2951
+ # @!attribute [rw] fleet_name
2952
+ # The name of the fleet.
2953
+ # @return [String]
2954
+ #
2955
+ # @!attribute [rw] application_arn
2956
+ # The ARN of the application.
2957
+ # @return [String]
2958
+ #
2959
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFleetRequest AWS API Documentation
2960
+ #
2961
+ class DisassociateApplicationFleetRequest < Struct.new(
2962
+ :fleet_name,
2963
+ :application_arn)
2964
+ SENSITIVE = []
2965
+ include Aws::Structure
2966
+ end
2967
+
2968
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFleetResult AWS API Documentation
2969
+ #
2970
+ class DisassociateApplicationFleetResult < Aws::EmptyStructure; end
2971
+
2972
+ # @note When making an API call, you may pass DisassociateApplicationFromEntitlementRequest
2973
+ # data as a hash:
2974
+ #
2975
+ # {
2976
+ # stack_name: "Name", # required
2977
+ # entitlement_name: "Name", # required
2978
+ # application_identifier: "String", # required
2979
+ # }
2980
+ #
2981
+ # @!attribute [rw] stack_name
2982
+ # The name of the stack with which the entitlement is associated.
2983
+ # @return [String]
2984
+ #
2985
+ # @!attribute [rw] entitlement_name
2986
+ # The name of the entitlement.
2987
+ # @return [String]
2988
+ #
2989
+ # @!attribute [rw] application_identifier
2990
+ # The identifier of the application to remove from the entitlement.
2991
+ # @return [String]
2992
+ #
2993
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFromEntitlementRequest AWS API Documentation
2994
+ #
2995
+ class DisassociateApplicationFromEntitlementRequest < Struct.new(
2996
+ :stack_name,
2997
+ :entitlement_name,
2998
+ :application_identifier)
2999
+ SENSITIVE = []
3000
+ include Aws::Structure
3001
+ end
3002
+
3003
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFromEntitlementResult AWS API Documentation
3004
+ #
3005
+ class DisassociateApplicationFromEntitlementResult < Aws::EmptyStructure; end
3006
+
3007
+ # @note When making an API call, you may pass DisassociateFleetRequest
3008
+ # data as a hash:
3009
+ #
3010
+ # {
3011
+ # fleet_name: "String", # required
3012
+ # stack_name: "String", # required
3013
+ # }
3014
+ #
3015
+ # @!attribute [rw] fleet_name
3016
+ # The name of the fleet.
3017
+ # @return [String]
3018
+ #
3019
+ # @!attribute [rw] stack_name
3020
+ # The name of the stack.
3021
+ # @return [String]
3022
+ #
3023
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleetRequest AWS API Documentation
3024
+ #
3025
+ class DisassociateFleetRequest < Struct.new(
3026
+ :fleet_name,
3027
+ :stack_name)
3028
+ SENSITIVE = []
3029
+ include Aws::Structure
3030
+ end
3031
+
3032
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleetResult AWS API Documentation
3033
+ #
3034
+ class DisassociateFleetResult < Aws::EmptyStructure; end
3035
+
3036
+ # Describes the configuration information required to join fleets and
3037
+ # image builders to Microsoft Active Directory domains.
3038
+ #
3039
+ # @note When making an API call, you may pass DomainJoinInfo
3040
+ # data as a hash:
3041
+ #
3042
+ # {
3043
+ # directory_name: "DirectoryName",
3044
+ # organizational_unit_distinguished_name: "OrganizationalUnitDistinguishedName",
3045
+ # }
3046
+ #
3047
+ # @!attribute [rw] directory_name
3048
+ # The fully qualified name of the directory (for example,
3049
+ # corp.example.com).
3050
+ # @return [String]
3051
+ #
3052
+ # @!attribute [rw] organizational_unit_distinguished_name
3053
+ # The distinguished name of the organizational unit for computer
3054
+ # accounts.
3055
+ # @return [String]
3056
+ #
3057
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DomainJoinInfo AWS API Documentation
3058
+ #
3059
+ class DomainJoinInfo < Struct.new(
3060
+ :directory_name,
3061
+ :organizational_unit_distinguished_name)
3062
+ SENSITIVE = []
3063
+ include Aws::Structure
3064
+ end
3065
+
3066
+ # @note When making an API call, you may pass EnableUserRequest
3067
+ # data as a hash:
3068
+ #
3069
+ # {
3070
+ # user_name: "Username", # required
3071
+ # authentication_type: "API", # required, accepts API, SAML, USERPOOL
3072
+ # }
3073
+ #
3074
+ # @!attribute [rw] user_name
3075
+ # The email address of the user.
3076
+ #
3077
+ # <note markdown="1"> Users' email addresses are case-sensitive. During login, if they
3078
+ # specify an email address that doesn't use the same capitalization
3079
+ # as the email address specified when their user pool account was
3080
+ # created, a "user does not exist" error message displays.
3081
+ #
3082
+ # </note>
3083
+ # @return [String]
3084
+ #
3085
+ # @!attribute [rw] authentication_type
3086
+ # The authentication type for the user. You must specify USERPOOL.
3087
+ # @return [String]
3088
+ #
3089
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUserRequest AWS API Documentation
3090
+ #
3091
+ class EnableUserRequest < Struct.new(
3092
+ :user_name,
3093
+ :authentication_type)
3094
+ SENSITIVE = [:user_name]
3095
+ include Aws::Structure
3096
+ end
3097
+
3098
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUserResult AWS API Documentation
3099
+ #
3100
+ class EnableUserResult < Aws::EmptyStructure; end
3101
+
3102
+ # The application associated to an entitlement. Access is controlled
3103
+ # based on user attributes.
3104
+ #
3105
+ # @!attribute [rw] application_identifier
3106
+ # The identifier of the application.
3107
+ # @return [String]
3108
+ #
3109
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EntitledApplication AWS API Documentation
3110
+ #
3111
+ class EntitledApplication < Struct.new(
3112
+ :application_identifier)
3113
+ SENSITIVE = []
3114
+ include Aws::Structure
3115
+ end
3116
+
3117
+ # Specifies an entitlement. Entitlements control access to specific
3118
+ # applications within a stack, based on user attributes. Entitlements
3119
+ # apply to SAML 2.0 federated user identities. Amazon AppStream 2.0 user
3120
+ # pool and streaming URL users are entitled to all applications in a
3121
+ # stack. Entitlements don't apply to the desktop stream view
3122
+ # application, or to applications managed by a dynamic app provider
3123
+ # using the Dynamic Application Framework.
3124
+ #
3125
+ # @!attribute [rw] name
3126
+ # The name of the entitlement.
3127
+ # @return [String]
3128
+ #
3129
+ # @!attribute [rw] stack_name
3130
+ # The name of the stack with which the entitlement is associated.
3131
+ # @return [String]
3132
+ #
3133
+ # @!attribute [rw] description
3134
+ # The description of the entitlement.
3135
+ # @return [String]
3136
+ #
3137
+ # @!attribute [rw] app_visibility
3138
+ # Specifies whether all or selected apps are entitled.
3139
+ # @return [String]
3140
+ #
3141
+ # @!attribute [rw] attributes
3142
+ # The attributes of the entitlement.
3143
+ # @return [Array<Types::EntitlementAttribute>]
3144
+ #
3145
+ # @!attribute [rw] created_time
3146
+ # The time when the entitlement was created.
3147
+ # @return [Time]
3148
+ #
3149
+ # @!attribute [rw] last_modified_time
3150
+ # The time when the entitlement was last modified.
3151
+ # @return [Time]
3152
+ #
3153
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/Entitlement AWS API Documentation
3154
+ #
3155
+ class Entitlement < Struct.new(
3156
+ :name,
3157
+ :stack_name,
3158
+ :description,
3159
+ :app_visibility,
3160
+ :attributes,
3161
+ :created_time,
3162
+ :last_modified_time)
3163
+ SENSITIVE = []
3164
+ include Aws::Structure
3165
+ end
3166
+
3167
+ # The entitlement already exists.
3168
+ #
3169
+ # @!attribute [rw] message
3170
+ # The error message in the exception.
3171
+ # @return [String]
3172
+ #
3173
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EntitlementAlreadyExistsException AWS API Documentation
3174
+ #
3175
+ class EntitlementAlreadyExistsException < Struct.new(
3176
+ :message)
3177
+ SENSITIVE = []
3178
+ include Aws::Structure
3179
+ end
3180
+
3181
+ # An attribute associated with an entitlement. Application entitlements
3182
+ # work by matching a supported SAML 2.0 attribute name to a value when a
3183
+ # user identity federates to an Amazon AppStream 2.0 SAML application.
2199
3184
  #
2200
- class DisableUserResult < Aws::EmptyStructure; end
2201
-
2202
- # @note When making an API call, you may pass DisassociateFleetRequest
3185
+ # @note When making an API call, you may pass EntitlementAttribute
2203
3186
  # data as a hash:
2204
3187
  #
2205
3188
  # {
2206
- # fleet_name: "String", # required
2207
- # stack_name: "String", # required
3189
+ # name: "String", # required
3190
+ # value: "String", # required
2208
3191
  # }
2209
3192
  #
2210
- # @!attribute [rw] fleet_name
2211
- # The name of the fleet.
2212
- # @return [String]
3193
+ # @!attribute [rw] name
3194
+ # A supported AWS IAM SAML `PrincipalTag` attribute that is matched to
3195
+ # the associated value when a user identity federates into an Amazon
3196
+ # AppStream 2.0 SAML application.
2213
3197
  #
2214
- # @!attribute [rw] stack_name
2215
- # The name of the stack.
2216
- # @return [String]
3198
+ # The following are valid values:
2217
3199
  #
2218
- # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleetRequest AWS API Documentation
3200
+ # * roles
2219
3201
  #
2220
- class DisassociateFleetRequest < Struct.new(
2221
- :fleet_name,
2222
- :stack_name)
2223
- SENSITIVE = []
2224
- include Aws::Structure
2225
- end
2226
-
2227
- # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleetResult AWS API Documentation
3202
+ # * department
2228
3203
  #
2229
- class DisassociateFleetResult < Aws::EmptyStructure; end
2230
-
2231
- # Describes the configuration information required to join fleets and
2232
- # image builders to Microsoft Active Directory domains.
3204
+ # * organization
2233
3205
  #
2234
- # @note When making an API call, you may pass DomainJoinInfo
2235
- # data as a hash:
3206
+ # * groups
2236
3207
  #
2237
- # {
2238
- # directory_name: "DirectoryName",
2239
- # organizational_unit_distinguished_name: "OrganizationalUnitDistinguishedName",
2240
- # }
3208
+ # * title
2241
3209
  #
2242
- # @!attribute [rw] directory_name
2243
- # The fully qualified name of the directory (for example,
2244
- # corp.example.com).
3210
+ # * costCenter
3211
+ #
3212
+ # * userType
2245
3213
  # @return [String]
2246
3214
  #
2247
- # @!attribute [rw] organizational_unit_distinguished_name
2248
- # The distinguished name of the organizational unit for computer
2249
- # accounts.
3215
+ # @!attribute [rw] value
3216
+ # A value that is matched to a supported SAML attribute name when a
3217
+ # user identity federates into an Amazon AppStream 2.0 SAML
3218
+ # application.
2250
3219
  # @return [String]
2251
3220
  #
2252
- # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DomainJoinInfo AWS API Documentation
3221
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EntitlementAttribute AWS API Documentation
2253
3222
  #
2254
- class DomainJoinInfo < Struct.new(
2255
- :directory_name,
2256
- :organizational_unit_distinguished_name)
3223
+ class EntitlementAttribute < Struct.new(
3224
+ :name,
3225
+ :value)
2257
3226
  SENSITIVE = []
2258
3227
  include Aws::Structure
2259
3228
  end
2260
3229
 
2261
- # @note When making an API call, you may pass EnableUserRequest
2262
- # data as a hash:
2263
- #
2264
- # {
2265
- # user_name: "Username", # required
2266
- # authentication_type: "API", # required, accepts API, SAML, USERPOOL
2267
- # }
2268
- #
2269
- # @!attribute [rw] user_name
2270
- # The email address of the user.
2271
- #
2272
- # <note markdown="1"> Users' email addresses are case-sensitive. During login, if they
2273
- # specify an email address that doesn't use the same capitalization
2274
- # as the email address specified when their user pool account was
2275
- # created, a "user does not exist" error message displays.
2276
- #
2277
- # </note>
2278
- # @return [String]
3230
+ # The entitlement can't be found.
2279
3231
  #
2280
- # @!attribute [rw] authentication_type
2281
- # The authentication type for the user. You must specify USERPOOL.
3232
+ # @!attribute [rw] message
3233
+ # The error message in the exception.
2282
3234
  # @return [String]
2283
3235
  #
2284
- # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUserRequest AWS API Documentation
3236
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EntitlementNotFoundException AWS API Documentation
2285
3237
  #
2286
- class EnableUserRequest < Struct.new(
2287
- :user_name,
2288
- :authentication_type)
2289
- SENSITIVE = [:user_name]
3238
+ class EntitlementNotFoundException < Struct.new(
3239
+ :message)
3240
+ SENSITIVE = []
2290
3241
  include Aws::Structure
2291
3242
  end
2292
3243
 
2293
- # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUserResult AWS API Documentation
2294
- #
2295
- class EnableUserResult < Aws::EmptyStructure; end
2296
-
2297
3244
  # @note When making an API call, you may pass ExpireSessionRequest
2298
3245
  # data as a hash:
2299
3246
  #
@@ -2538,6 +3485,18 @@ module Aws::AppStream
2538
3485
  # The default value is `APP`.
2539
3486
  # @return [String]
2540
3487
  #
3488
+ # @!attribute [rw] platform
3489
+ # The platform of the fleet.
3490
+ # @return [String]
3491
+ #
3492
+ # @!attribute [rw] max_concurrent_sessions
3493
+ # The maximum number of concurrent sessions for the fleet.
3494
+ # @return [Integer]
3495
+ #
3496
+ # @!attribute [rw] usb_device_filter_strings
3497
+ # The USB device filter strings associated with the fleet.
3498
+ # @return [Array<String>]
3499
+ #
2541
3500
  # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/Fleet AWS API Documentation
2542
3501
  #
2543
3502
  class Fleet < Struct.new(
@@ -2560,7 +3519,10 @@ module Aws::AppStream
2560
3519
  :domain_join_info,
2561
3520
  :idle_disconnect_timeout_in_seconds,
2562
3521
  :iam_role_arn,
2563
- :stream_view)
3522
+ :stream_view,
3523
+ :platform,
3524
+ :max_concurrent_sessions,
3525
+ :usb_device_filter_strings)
2564
3526
  SENSITIVE = []
2565
3527
  include Aws::Structure
2566
3528
  end
@@ -3118,6 +4080,62 @@ module Aws::AppStream
3118
4080
  include Aws::Structure
3119
4081
  end
3120
4082
 
4083
+ # @note When making an API call, you may pass ListEntitledApplicationsRequest
4084
+ # data as a hash:
4085
+ #
4086
+ # {
4087
+ # stack_name: "Name", # required
4088
+ # entitlement_name: "Name", # required
4089
+ # next_token: "String",
4090
+ # max_results: 1,
4091
+ # }
4092
+ #
4093
+ # @!attribute [rw] stack_name
4094
+ # The name of the stack with which the entitlement is associated.
4095
+ # @return [String]
4096
+ #
4097
+ # @!attribute [rw] entitlement_name
4098
+ # The name of the entitlement.
4099
+ # @return [String]
4100
+ #
4101
+ # @!attribute [rw] next_token
4102
+ # The pagination token used to retrieve the next page of results for
4103
+ # this operation.
4104
+ # @return [String]
4105
+ #
4106
+ # @!attribute [rw] max_results
4107
+ # The maximum size of each page of results.
4108
+ # @return [Integer]
4109
+ #
4110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListEntitledApplicationsRequest AWS API Documentation
4111
+ #
4112
+ class ListEntitledApplicationsRequest < Struct.new(
4113
+ :stack_name,
4114
+ :entitlement_name,
4115
+ :next_token,
4116
+ :max_results)
4117
+ SENSITIVE = []
4118
+ include Aws::Structure
4119
+ end
4120
+
4121
+ # @!attribute [rw] entitled_applications
4122
+ # The entitled applications.
4123
+ # @return [Array<Types::EntitledApplication>]
4124
+ #
4125
+ # @!attribute [rw] next_token
4126
+ # The pagination token used to retrieve the next page of results for
4127
+ # this operation.
4128
+ # @return [String]
4129
+ #
4130
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListEntitledApplicationsResult AWS API Documentation
4131
+ #
4132
+ class ListEntitledApplicationsResult < Struct.new(
4133
+ :entitled_applications,
4134
+ :next_token)
4135
+ SENSITIVE = []
4136
+ include Aws::Structure
4137
+ end
4138
+
3121
4139
  # @note When making an API call, you may pass ListTagsForResourceRequest
3122
4140
  # data as a hash:
3123
4141
  #
@@ -3281,6 +4299,75 @@ module Aws::AppStream
3281
4299
  include Aws::Structure
3282
4300
  end
3283
4301
 
4302
+ # Describes the S3 location.
4303
+ #
4304
+ # @note When making an API call, you may pass S3Location
4305
+ # data as a hash:
4306
+ #
4307
+ # {
4308
+ # s3_bucket: "S3Bucket", # required
4309
+ # s3_key: "S3Key", # required
4310
+ # }
4311
+ #
4312
+ # @!attribute [rw] s3_bucket
4313
+ # The S3 bucket of the S3 object.
4314
+ # @return [String]
4315
+ #
4316
+ # @!attribute [rw] s3_key
4317
+ # The S3 key of the S3 object.
4318
+ # @return [String]
4319
+ #
4320
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/S3Location AWS API Documentation
4321
+ #
4322
+ class S3Location < Struct.new(
4323
+ :s3_bucket,
4324
+ :s3_key)
4325
+ SENSITIVE = []
4326
+ include Aws::Structure
4327
+ end
4328
+
4329
+ # Describes the details of the script.
4330
+ #
4331
+ # @note When making an API call, you may pass ScriptDetails
4332
+ # data as a hash:
4333
+ #
4334
+ # {
4335
+ # script_s3_location: { # required
4336
+ # s3_bucket: "S3Bucket", # required
4337
+ # s3_key: "S3Key", # required
4338
+ # },
4339
+ # executable_path: "String", # required
4340
+ # executable_parameters: "String",
4341
+ # timeout_in_seconds: 1, # required
4342
+ # }
4343
+ #
4344
+ # @!attribute [rw] script_s3_location
4345
+ # The S3 object location for the script.
4346
+ # @return [Types::S3Location]
4347
+ #
4348
+ # @!attribute [rw] executable_path
4349
+ # The run path for the script.
4350
+ # @return [String]
4351
+ #
4352
+ # @!attribute [rw] executable_parameters
4353
+ # The runtime parameters passed to the run path for the script.
4354
+ # @return [String]
4355
+ #
4356
+ # @!attribute [rw] timeout_in_seconds
4357
+ # The run timeout, in seconds, for the script.
4358
+ # @return [Integer]
4359
+ #
4360
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ScriptDetails AWS API Documentation
4361
+ #
4362
+ class ScriptDetails < Struct.new(
4363
+ :script_s3_location,
4364
+ :executable_path,
4365
+ :executable_parameters,
4366
+ :timeout_in_seconds)
4367
+ SENSITIVE = []
4368
+ include Aws::Structure
4369
+ end
4370
+
3284
4371
  # Describes the credentials for the service account used by the fleet or
3285
4372
  # image builder to connect to the directory.
3286
4373
  #
@@ -3720,6 +4807,90 @@ module Aws::AppStream
3720
4807
  #
3721
4808
  class UntagResourceResponse < Aws::EmptyStructure; end
3722
4809
 
4810
+ # @note When making an API call, you may pass UpdateApplicationRequest
4811
+ # data as a hash:
4812
+ #
4813
+ # {
4814
+ # name: "Name", # required
4815
+ # display_name: "DisplayName",
4816
+ # description: "Description",
4817
+ # icon_s3_location: {
4818
+ # s3_bucket: "S3Bucket", # required
4819
+ # s3_key: "S3Key", # required
4820
+ # },
4821
+ # launch_path: "String",
4822
+ # working_directory: "String",
4823
+ # launch_parameters: "String",
4824
+ # app_block_arn: "Arn",
4825
+ # attributes_to_delete: ["LAUNCH_PARAMETERS"], # accepts LAUNCH_PARAMETERS, WORKING_DIRECTORY
4826
+ # }
4827
+ #
4828
+ # @!attribute [rw] name
4829
+ # The name of the application. This name is visible to users when
4830
+ # display name is not specified.
4831
+ # @return [String]
4832
+ #
4833
+ # @!attribute [rw] display_name
4834
+ # The display name of the application. This name is visible to users
4835
+ # in the application catalog.
4836
+ # @return [String]
4837
+ #
4838
+ # @!attribute [rw] description
4839
+ # The description of the application.
4840
+ # @return [String]
4841
+ #
4842
+ # @!attribute [rw] icon_s3_location
4843
+ # The icon S3 location of the application.
4844
+ # @return [Types::S3Location]
4845
+ #
4846
+ # @!attribute [rw] launch_path
4847
+ # The launch path of the application.
4848
+ # @return [String]
4849
+ #
4850
+ # @!attribute [rw] working_directory
4851
+ # The working directory of the application.
4852
+ # @return [String]
4853
+ #
4854
+ # @!attribute [rw] launch_parameters
4855
+ # The launch parameters of the application.
4856
+ # @return [String]
4857
+ #
4858
+ # @!attribute [rw] app_block_arn
4859
+ # The ARN of the app block.
4860
+ # @return [String]
4861
+ #
4862
+ # @!attribute [rw] attributes_to_delete
4863
+ # The attributes to delete for an application.
4864
+ # @return [Array<String>]
4865
+ #
4866
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateApplicationRequest AWS API Documentation
4867
+ #
4868
+ class UpdateApplicationRequest < Struct.new(
4869
+ :name,
4870
+ :display_name,
4871
+ :description,
4872
+ :icon_s3_location,
4873
+ :launch_path,
4874
+ :working_directory,
4875
+ :launch_parameters,
4876
+ :app_block_arn,
4877
+ :attributes_to_delete)
4878
+ SENSITIVE = []
4879
+ include Aws::Structure
4880
+ end
4881
+
4882
+ # @!attribute [rw] application
4883
+ # Describes an application in the application catalog.
4884
+ # @return [Types::Application]
4885
+ #
4886
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateApplicationResult AWS API Documentation
4887
+ #
4888
+ class UpdateApplicationResult < Struct.new(
4889
+ :application)
4890
+ SENSITIVE = []
4891
+ include Aws::Structure
4892
+ end
4893
+
3723
4894
  # @note When making an API call, you may pass UpdateDirectoryConfigRequest
3724
4895
  # data as a hash:
3725
4896
  #
@@ -3768,6 +4939,66 @@ module Aws::AppStream
3768
4939
  include Aws::Structure
3769
4940
  end
3770
4941
 
4942
+ # @note When making an API call, you may pass UpdateEntitlementRequest
4943
+ # data as a hash:
4944
+ #
4945
+ # {
4946
+ # name: "Name", # required
4947
+ # stack_name: "Name", # required
4948
+ # description: "Description",
4949
+ # app_visibility: "ALL", # accepts ALL, ASSOCIATED
4950
+ # attributes: [
4951
+ # {
4952
+ # name: "String", # required
4953
+ # value: "String", # required
4954
+ # },
4955
+ # ],
4956
+ # }
4957
+ #
4958
+ # @!attribute [rw] name
4959
+ # The name of the entitlement.
4960
+ # @return [String]
4961
+ #
4962
+ # @!attribute [rw] stack_name
4963
+ # The name of the stack with which the entitlement is associated.
4964
+ # @return [String]
4965
+ #
4966
+ # @!attribute [rw] description
4967
+ # The description of the entitlement.
4968
+ # @return [String]
4969
+ #
4970
+ # @!attribute [rw] app_visibility
4971
+ # Specifies whether all or only selected apps are entitled.
4972
+ # @return [String]
4973
+ #
4974
+ # @!attribute [rw] attributes
4975
+ # The attributes of the entitlement.
4976
+ # @return [Array<Types::EntitlementAttribute>]
4977
+ #
4978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateEntitlementRequest AWS API Documentation
4979
+ #
4980
+ class UpdateEntitlementRequest < Struct.new(
4981
+ :name,
4982
+ :stack_name,
4983
+ :description,
4984
+ :app_visibility,
4985
+ :attributes)
4986
+ SENSITIVE = []
4987
+ include Aws::Structure
4988
+ end
4989
+
4990
+ # @!attribute [rw] entitlement
4991
+ # The entitlement.
4992
+ # @return [Types::Entitlement]
4993
+ #
4994
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateEntitlementResult AWS API Documentation
4995
+ #
4996
+ class UpdateEntitlementResult < Struct.new(
4997
+ :entitlement)
4998
+ SENSITIVE = []
4999
+ include Aws::Structure
5000
+ end
5001
+
3771
5002
  # @note When making an API call, you may pass UpdateFleetRequest
3772
5003
  # data as a hash:
3773
5004
  #
@@ -3794,9 +5025,12 @@ module Aws::AppStream
3794
5025
  # organizational_unit_distinguished_name: "OrganizationalUnitDistinguishedName",
3795
5026
  # },
3796
5027
  # idle_disconnect_timeout_in_seconds: 1,
3797
- # attributes_to_delete: ["VPC_CONFIGURATION"], # accepts VPC_CONFIGURATION, VPC_CONFIGURATION_SECURITY_GROUP_IDS, DOMAIN_JOIN_INFO, IAM_ROLE_ARN
5028
+ # attributes_to_delete: ["VPC_CONFIGURATION"], # accepts VPC_CONFIGURATION, VPC_CONFIGURATION_SECURITY_GROUP_IDS, DOMAIN_JOIN_INFO, IAM_ROLE_ARN, USB_DEVICE_FILTER_STRINGS
3798
5029
  # iam_role_arn: "Arn",
3799
5030
  # stream_view: "APP", # accepts APP, DESKTOP
5031
+ # platform: "WINDOWS", # accepts WINDOWS, WINDOWS_SERVER_2016, WINDOWS_SERVER_2019, AMAZON_LINUX2
5032
+ # max_concurrent_sessions: 1,
5033
+ # usb_device_filter_strings: ["UsbDeviceFilterString"],
3800
5034
  # }
3801
5035
  #
3802
5036
  # @!attribute [rw] image_name
@@ -3880,14 +5114,24 @@ module Aws::AppStream
3880
5114
  # * stream.graphics-pro.8xlarge
3881
5115
  #
3882
5116
  # * stream.graphics-pro.16xlarge
5117
+ #
5118
+ # The following instance types are available for Elastic fleets:
5119
+ #
5120
+ # * stream.standard.small
5121
+ #
5122
+ # * stream.standard.medium
3883
5123
  # @return [String]
3884
5124
  #
3885
5125
  # @!attribute [rw] compute_capacity
3886
- # The desired capacity for the fleet.
5126
+ # The desired capacity for the fleet. This is not allowed for Elastic
5127
+ # fleets.
3887
5128
  # @return [Types::ComputeCapacity]
3888
5129
  #
3889
5130
  # @!attribute [rw] vpc_config
3890
- # The VPC configuration for the fleet.
5131
+ # The VPC configuration for the fleet. This is required for Elastic
5132
+ # fleets, but not required for other fleet types. Elastic fleets
5133
+ # require that you specify at least two subnets in different
5134
+ # availability zones.
3891
5135
  # @return [Types::VpcConfig]
3892
5136
  #
3893
5137
  # @!attribute [rw] max_user_duration_in_seconds
@@ -3994,6 +5238,21 @@ module Aws::AppStream
3994
5238
  # The default value is `APP`.
3995
5239
  # @return [String]
3996
5240
  #
5241
+ # @!attribute [rw] platform
5242
+ # The platform of the fleet. WINDOWS\_SERVER\_2019 and AMAZON\_LINUX2
5243
+ # are supported for Elastic fleets.
5244
+ # @return [String]
5245
+ #
5246
+ # @!attribute [rw] max_concurrent_sessions
5247
+ # The maximum number of concurrent sessions for a fleet.
5248
+ # @return [Integer]
5249
+ #
5250
+ # @!attribute [rw] usb_device_filter_strings
5251
+ # The USB device filter strings that specify which USB devices a user
5252
+ # can redirect to the fleet streaming session, when using the Windows
5253
+ # native client. This is allowed but not required for Elastic fleets.
5254
+ # @return [Array<String>]
5255
+ #
3997
5256
  # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleetRequest AWS API Documentation
3998
5257
  #
3999
5258
  class UpdateFleetRequest < Struct.new(
@@ -4013,7 +5272,10 @@ module Aws::AppStream
4013
5272
  :idle_disconnect_timeout_in_seconds,
4014
5273
  :attributes_to_delete,
4015
5274
  :iam_role_arn,
4016
- :stream_view)
5275
+ :stream_view,
5276
+ :platform,
5277
+ :max_concurrent_sessions,
5278
+ :usb_device_filter_strings)
4017
5279
  SENSITIVE = []
4018
5280
  include Aws::Structure
4019
5281
  end