aws-sdk-appstream 1.73.0 → 1.75.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,6 +28,7 @@ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
+ require 'aws-sdk-core/plugins/request_compression.rb'
31
32
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
33
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
34
  require 'aws-sdk-core/plugins/sign.rb'
@@ -77,6 +78,7 @@ module Aws::AppStream
77
78
  add_plugin(Aws::Plugins::TransferEncoding)
78
79
  add_plugin(Aws::Plugins::HttpChecksum)
79
80
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
81
+ add_plugin(Aws::Plugins::RequestCompression)
80
82
  add_plugin(Aws::Plugins::DefaultsMode)
81
83
  add_plugin(Aws::Plugins::RecursionDetection)
82
84
  add_plugin(Aws::Plugins::Sign)
@@ -190,6 +192,10 @@ module Aws::AppStream
190
192
  # Set to true to disable SDK automatically adding host prefix
191
193
  # to default service endpoint when available.
192
194
  #
195
+ # @option options [Boolean] :disable_request_compression (false)
196
+ # When set to 'true' the request body will not be compressed
197
+ # for supported operations.
198
+ #
193
199
  # @option options [String] :endpoint
194
200
  # The client endpoint is normally constructed from the `:region`
195
201
  # option. You should only configure an `:endpoint` when connecting
@@ -230,6 +236,11 @@ module Aws::AppStream
230
236
  # Used when loading credentials from the shared credentials file
231
237
  # at HOME/.aws/credentials. When not specified, 'default' is used.
232
238
  #
239
+ # @option options [Integer] :request_min_compression_size_bytes (10240)
240
+ # The minimum size in bytes that triggers compression for request
241
+ # bodies. The value must be non-negative integer value between 0
242
+ # and 10485780 bytes inclusive.
243
+ #
233
244
  # @option options [Proc] :retry_backoff
234
245
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
235
246
  # This option is only used in the `legacy` retry mode.
@@ -383,6 +394,40 @@ module Aws::AppStream
383
394
 
384
395
  # @!group API Operations
385
396
 
397
+ # Associates the specified app block builder with the specified app
398
+ # block.
399
+ #
400
+ # @option params [required, String] :app_block_arn
401
+ # The ARN of the app block.
402
+ #
403
+ # @option params [required, String] :app_block_builder_name
404
+ # The name of the app block builder.
405
+ #
406
+ # @return [Types::AssociateAppBlockBuilderAppBlockResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
407
+ #
408
+ # * {Types::AssociateAppBlockBuilderAppBlockResult#app_block_builder_app_block_association #app_block_builder_app_block_association} => Types::AppBlockBuilderAppBlockAssociation
409
+ #
410
+ # @example Request syntax with placeholder values
411
+ #
412
+ # resp = client.associate_app_block_builder_app_block({
413
+ # app_block_arn: "Arn", # required
414
+ # app_block_builder_name: "Name", # required
415
+ # })
416
+ #
417
+ # @example Response structure
418
+ #
419
+ # resp.app_block_builder_app_block_association.app_block_arn #=> String
420
+ # resp.app_block_builder_app_block_association.app_block_builder_name #=> String
421
+ #
422
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateAppBlockBuilderAppBlock AWS API Documentation
423
+ #
424
+ # @overload associate_app_block_builder_app_block(params = {})
425
+ # @param [Hash] params ({})
426
+ def associate_app_block_builder_app_block(params = {}, options = {})
427
+ req = build_request(:associate_app_block_builder_app_block, params)
428
+ req.send_request(options)
429
+ end
430
+
386
431
  # Associates the specified application with the specified fleet. This is
387
432
  # only supported for Elastic fleets.
388
433
  #
@@ -626,12 +671,20 @@ module Aws::AppStream
626
671
  # @option params [required, Types::S3Location] :source_s3_location
627
672
  # The source S3 location of the app block.
628
673
  #
629
- # @option params [required, Types::ScriptDetails] :setup_script_details
630
- # The setup script details of the app block.
674
+ # @option params [Types::ScriptDetails] :setup_script_details
675
+ # The setup script details of the app block. This must be provided for
676
+ # the `CUSTOM` PackagingType.
631
677
  #
632
678
  # @option params [Hash<String,String>] :tags
633
679
  # The tags assigned to the app block.
634
680
  #
681
+ # @option params [Types::ScriptDetails] :post_setup_script_details
682
+ # The post setup script details of the app block. This can only be
683
+ # provided for the `APPSTREAM2` PackagingType.
684
+ #
685
+ # @option params [String] :packaging_type
686
+ # The packaging type of the app block.
687
+ #
635
688
  # @return [Types::CreateAppBlockResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
636
689
  #
637
690
  # * {Types::CreateAppBlockResult#app_block #app_block} => Types::AppBlock
@@ -644,12 +697,12 @@ module Aws::AppStream
644
697
  # display_name: "DisplayName",
645
698
  # source_s3_location: { # required
646
699
  # s3_bucket: "S3Bucket", # required
647
- # s3_key: "S3Key", # required
700
+ # s3_key: "S3Key",
648
701
  # },
649
- # setup_script_details: { # required
702
+ # setup_script_details: {
650
703
  # script_s3_location: { # required
651
704
  # s3_bucket: "S3Bucket", # required
652
- # s3_key: "S3Key", # required
705
+ # s3_key: "S3Key",
653
706
  # },
654
707
  # executable_path: "String", # required
655
708
  # executable_parameters: "String",
@@ -658,6 +711,16 @@ module Aws::AppStream
658
711
  # tags: {
659
712
  # "TagKey" => "TagValue",
660
713
  # },
714
+ # post_setup_script_details: {
715
+ # script_s3_location: { # required
716
+ # s3_bucket: "S3Bucket", # required
717
+ # s3_key: "S3Key",
718
+ # },
719
+ # executable_path: "String", # required
720
+ # executable_parameters: "String",
721
+ # timeout_in_seconds: 1, # required
722
+ # },
723
+ # packaging_type: "CUSTOM", # accepts CUSTOM, APPSTREAM2
661
724
  # })
662
725
  #
663
726
  # @example Response structure
@@ -674,6 +737,16 @@ module Aws::AppStream
674
737
  # resp.app_block.setup_script_details.executable_parameters #=> String
675
738
  # resp.app_block.setup_script_details.timeout_in_seconds #=> Integer
676
739
  # resp.app_block.created_time #=> Time
740
+ # resp.app_block.post_setup_script_details.script_s3_location.s3_bucket #=> String
741
+ # resp.app_block.post_setup_script_details.script_s3_location.s3_key #=> String
742
+ # resp.app_block.post_setup_script_details.executable_path #=> String
743
+ # resp.app_block.post_setup_script_details.executable_parameters #=> String
744
+ # resp.app_block.post_setup_script_details.timeout_in_seconds #=> Integer
745
+ # resp.app_block.packaging_type #=> String, one of "CUSTOM", "APPSTREAM2"
746
+ # resp.app_block.state #=> String, one of "INACTIVE", "ACTIVE"
747
+ # resp.app_block.app_block_errors #=> Array
748
+ # resp.app_block.app_block_errors[0].error_code #=> String
749
+ # resp.app_block.app_block_errors[0].error_message #=> String
677
750
  #
678
751
  # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlock AWS API Documentation
679
752
  #
@@ -684,6 +757,185 @@ module Aws::AppStream
684
757
  req.send_request(options)
685
758
  end
686
759
 
760
+ # Creates an app block builder.
761
+ #
762
+ # @option params [required, String] :name
763
+ # The unique name for the app block builder.
764
+ #
765
+ # @option params [String] :description
766
+ # The description of the app block builder.
767
+ #
768
+ # @option params [String] :display_name
769
+ # The display name of the app block builder.
770
+ #
771
+ # @option params [Hash<String,String>] :tags
772
+ # The tags to associate with the app block builder. A tag is a key-value
773
+ # pair, and the value is optional. For example, Environment=Test. If you
774
+ # do not specify a value, Environment=.
775
+ #
776
+ # If you do not specify a value, the value is set to an empty string.
777
+ #
778
+ # Generally allowed characters are: letters, numbers, and spaces
779
+ # representable in UTF-8, and the following special characters:
780
+ #
781
+ # \_ . : / = + \\ - @
782
+ #
783
+ # For more information, see [Tagging Your Resources][1] in the *Amazon
784
+ # AppStream 2.0 Administration Guide*.
785
+ #
786
+ #
787
+ #
788
+ # [1]: https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html
789
+ #
790
+ # @option params [required, String] :platform
791
+ # The platform of the app block builder.
792
+ #
793
+ # `WINDOWS_SERVER_2019` is the only valid value.
794
+ #
795
+ # @option params [required, String] :instance_type
796
+ # The instance type to use when launching the app block builder. The
797
+ # following instance types are available:
798
+ #
799
+ # * stream.standard.small
800
+ #
801
+ # * stream.standard.medium
802
+ #
803
+ # * stream.standard.large
804
+ #
805
+ # * stream.standard.xlarge
806
+ #
807
+ # * stream.standard.2xlarge
808
+ #
809
+ # @option params [required, Types::VpcConfig] :vpc_config
810
+ # The VPC configuration for the app block builder.
811
+ #
812
+ # App block builders require that you specify at least two subnets in
813
+ # different availability zones.
814
+ #
815
+ # @option params [Boolean] :enable_default_internet_access
816
+ # Enables or disables default internet access for the app block builder.
817
+ #
818
+ # @option params [String] :iam_role_arn
819
+ # The Amazon Resource Name (ARN) of the IAM role to apply to the app
820
+ # block builder. To assume a role, the app block builder calls the AWS
821
+ # Security Token Service (STS) `AssumeRole` API operation and passes the
822
+ # ARN of the role to use. The operation creates a new session with
823
+ # temporary credentials. AppStream 2.0 retrieves the temporary
824
+ # credentials and creates the **appstream\_machine\_role** credential
825
+ # profile on the instance.
826
+ #
827
+ # For more information, see [Using an IAM Role to Grant Permissions to
828
+ # Applications and Scripts Running on AppStream 2.0 Streaming
829
+ # Instances][1] in the *Amazon AppStream 2.0 Administration Guide*.
830
+ #
831
+ #
832
+ #
833
+ # [1]: https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html
834
+ #
835
+ # @option params [Array<Types::AccessEndpoint>] :access_endpoints
836
+ # The list of interface VPC endpoint (interface endpoint) objects.
837
+ # Administrators can connect to the app block builder only through the
838
+ # specified endpoints.
839
+ #
840
+ # @return [Types::CreateAppBlockBuilderResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
841
+ #
842
+ # * {Types::CreateAppBlockBuilderResult#app_block_builder #app_block_builder} => Types::AppBlockBuilder
843
+ #
844
+ # @example Request syntax with placeholder values
845
+ #
846
+ # resp = client.create_app_block_builder({
847
+ # name: "Name", # required
848
+ # description: "Description",
849
+ # display_name: "DisplayName",
850
+ # tags: {
851
+ # "TagKey" => "TagValue",
852
+ # },
853
+ # platform: "WINDOWS_SERVER_2019", # required, accepts WINDOWS_SERVER_2019
854
+ # instance_type: "String", # required
855
+ # vpc_config: { # required
856
+ # subnet_ids: ["String"],
857
+ # security_group_ids: ["String"],
858
+ # },
859
+ # enable_default_internet_access: false,
860
+ # iam_role_arn: "Arn",
861
+ # access_endpoints: [
862
+ # {
863
+ # endpoint_type: "STREAMING", # required, accepts STREAMING
864
+ # vpce_id: "String",
865
+ # },
866
+ # ],
867
+ # })
868
+ #
869
+ # @example Response structure
870
+ #
871
+ # resp.app_block_builder.arn #=> String
872
+ # resp.app_block_builder.name #=> String
873
+ # resp.app_block_builder.display_name #=> String
874
+ # resp.app_block_builder.description #=> String
875
+ # resp.app_block_builder.platform #=> String, one of "WINDOWS_SERVER_2019"
876
+ # resp.app_block_builder.instance_type #=> String
877
+ # resp.app_block_builder.enable_default_internet_access #=> Boolean
878
+ # resp.app_block_builder.iam_role_arn #=> String
879
+ # resp.app_block_builder.vpc_config.subnet_ids #=> Array
880
+ # resp.app_block_builder.vpc_config.subnet_ids[0] #=> String
881
+ # resp.app_block_builder.vpc_config.security_group_ids #=> Array
882
+ # resp.app_block_builder.vpc_config.security_group_ids[0] #=> String
883
+ # resp.app_block_builder.state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED"
884
+ # resp.app_block_builder.created_time #=> Time
885
+ # resp.app_block_builder.app_block_builder_errors #=> Array
886
+ # resp.app_block_builder.app_block_builder_errors[0].error_code #=> String, one of "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION", "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION", "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION", "NETWORK_INTERFACE_LIMIT_EXCEEDED", "INTERNAL_SERVICE_ERROR", "IAM_SERVICE_ROLE_IS_MISSING", "MACHINE_ROLE_IS_MISSING", "STS_DISABLED_IN_REGION", "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES", "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION", "SUBNET_NOT_FOUND", "IMAGE_NOT_FOUND", "INVALID_SUBNET_CONFIGURATION", "SECURITY_GROUPS_NOT_FOUND", "IGW_NOT_ATTACHED", "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION", "FLEET_STOPPED", "FLEET_INSTANCE_PROVISIONING_FAILURE", "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND", "DOMAIN_JOIN_ERROR_ACCESS_DENIED", "DOMAIN_JOIN_ERROR_LOGON_FAILURE", "DOMAIN_JOIN_ERROR_INVALID_PARAMETER", "DOMAIN_JOIN_ERROR_MORE_DATA", "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN", "DOMAIN_JOIN_ERROR_NOT_SUPPORTED", "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME", "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED", "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED", "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED", "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR"
887
+ # resp.app_block_builder.app_block_builder_errors[0].error_message #=> String
888
+ # resp.app_block_builder.app_block_builder_errors[0].error_timestamp #=> Time
889
+ # resp.app_block_builder.state_change_reason.code #=> String, one of "INTERNAL_ERROR"
890
+ # resp.app_block_builder.state_change_reason.message #=> String
891
+ # resp.app_block_builder.access_endpoints #=> Array
892
+ # resp.app_block_builder.access_endpoints[0].endpoint_type #=> String, one of "STREAMING"
893
+ # resp.app_block_builder.access_endpoints[0].vpce_id #=> String
894
+ #
895
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilder AWS API Documentation
896
+ #
897
+ # @overload create_app_block_builder(params = {})
898
+ # @param [Hash] params ({})
899
+ def create_app_block_builder(params = {}, options = {})
900
+ req = build_request(:create_app_block_builder, params)
901
+ req.send_request(options)
902
+ end
903
+
904
+ # Creates a URL to start a create app block builder streaming session.
905
+ #
906
+ # @option params [required, String] :app_block_builder_name
907
+ # The name of the app block builder.
908
+ #
909
+ # @option params [Integer] :validity
910
+ # The time that the streaming URL will be valid, in seconds. Specify a
911
+ # value between 1 and 604800 seconds. The default is 3600 seconds.
912
+ #
913
+ # @return [Types::CreateAppBlockBuilderStreamingURLResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
914
+ #
915
+ # * {Types::CreateAppBlockBuilderStreamingURLResult#streaming_url #streaming_url} => String
916
+ # * {Types::CreateAppBlockBuilderStreamingURLResult#expires #expires} => Time
917
+ #
918
+ # @example Request syntax with placeholder values
919
+ #
920
+ # resp = client.create_app_block_builder_streaming_url({
921
+ # app_block_builder_name: "Name", # required
922
+ # validity: 1,
923
+ # })
924
+ #
925
+ # @example Response structure
926
+ #
927
+ # resp.streaming_url #=> String
928
+ # resp.expires #=> Time
929
+ #
930
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilderStreamingURL AWS API Documentation
931
+ #
932
+ # @overload create_app_block_builder_streaming_url(params = {})
933
+ # @param [Hash] params ({})
934
+ def create_app_block_builder_streaming_url(params = {}, options = {})
935
+ req = build_request(:create_app_block_builder_streaming_url, params)
936
+ req.send_request(options)
937
+ end
938
+
687
939
  # Creates an application.
688
940
  #
689
941
  # Applications are an Amazon AppStream 2.0 resource that stores the
@@ -744,7 +996,7 @@ module Aws::AppStream
744
996
  # description: "Description",
745
997
  # icon_s3_location: { # required
746
998
  # s3_bucket: "S3Bucket", # required
747
- # s3_key: "S3Key", # required
999
+ # s3_key: "S3Key",
748
1000
  # },
749
1001
  # launch_path: "String", # required
750
1002
  # working_directory: "String",
@@ -1170,7 +1422,7 @@ module Aws::AppStream
1170
1422
  #
1171
1423
  # resp = client.create_fleet({
1172
1424
  # name: "Name", # required
1173
- # image_name: "String",
1425
+ # image_name: "Name",
1174
1426
  # image_arn: "Arn",
1175
1427
  # instance_type: "String", # required
1176
1428
  # fleet_type: "ALWAYS_ON", # accepts ALWAYS_ON, ON_DEMAND, ELASTIC
@@ -1201,7 +1453,7 @@ module Aws::AppStream
1201
1453
  # usb_device_filter_strings: ["UsbDeviceFilterString"],
1202
1454
  # session_script_s3_location: {
1203
1455
  # s3_bucket: "S3Bucket", # required
1204
- # s3_key: "S3Key", # required
1456
+ # s3_key: "S3Key",
1205
1457
  # },
1206
1458
  # })
1207
1459
  #
@@ -1945,6 +2197,31 @@ module Aws::AppStream
1945
2197
  req.send_request(options)
1946
2198
  end
1947
2199
 
2200
+ # Deletes an app block builder.
2201
+ #
2202
+ # An app block builder can only be deleted when it has no association
2203
+ # with an app block.
2204
+ #
2205
+ # @option params [required, String] :name
2206
+ # The name of the app block builder.
2207
+ #
2208
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2209
+ #
2210
+ # @example Request syntax with placeholder values
2211
+ #
2212
+ # resp = client.delete_app_block_builder({
2213
+ # name: "Name", # required
2214
+ # })
2215
+ #
2216
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlockBuilder AWS API Documentation
2217
+ #
2218
+ # @overload delete_app_block_builder(params = {})
2219
+ # @param [Hash] params ({})
2220
+ def delete_app_block_builder(params = {}, options = {})
2221
+ req = build_request(:delete_app_block_builder, params)
2222
+ req.send_request(options)
2223
+ end
2224
+
1948
2225
  # Deletes an application.
1949
2226
  #
1950
2227
  # @option params [required, String] :name
@@ -2262,6 +2539,118 @@ module Aws::AppStream
2262
2539
  req.send_request(options)
2263
2540
  end
2264
2541
 
2542
+ # Retrieves a list that describes one or more app block builder
2543
+ # associations.
2544
+ #
2545
+ # @option params [String] :app_block_arn
2546
+ # The ARN of the app block.
2547
+ #
2548
+ # @option params [String] :app_block_builder_name
2549
+ # The name of the app block builder.
2550
+ #
2551
+ # @option params [Integer] :max_results
2552
+ # The maximum size of each page of results.
2553
+ #
2554
+ # @option params [String] :next_token
2555
+ # The pagination token used to retrieve the next page of results for
2556
+ # this operation.
2557
+ #
2558
+ # @return [Types::DescribeAppBlockBuilderAppBlockAssociationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2559
+ #
2560
+ # * {Types::DescribeAppBlockBuilderAppBlockAssociationsResult#app_block_builder_app_block_associations #app_block_builder_app_block_associations} => Array&lt;Types::AppBlockBuilderAppBlockAssociation&gt;
2561
+ # * {Types::DescribeAppBlockBuilderAppBlockAssociationsResult#next_token #next_token} => String
2562
+ #
2563
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2564
+ #
2565
+ # @example Request syntax with placeholder values
2566
+ #
2567
+ # resp = client.describe_app_block_builder_app_block_associations({
2568
+ # app_block_arn: "Arn",
2569
+ # app_block_builder_name: "Name",
2570
+ # max_results: 1,
2571
+ # next_token: "String",
2572
+ # })
2573
+ #
2574
+ # @example Response structure
2575
+ #
2576
+ # resp.app_block_builder_app_block_associations #=> Array
2577
+ # resp.app_block_builder_app_block_associations[0].app_block_arn #=> String
2578
+ # resp.app_block_builder_app_block_associations[0].app_block_builder_name #=> String
2579
+ # resp.next_token #=> String
2580
+ #
2581
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilderAppBlockAssociations AWS API Documentation
2582
+ #
2583
+ # @overload describe_app_block_builder_app_block_associations(params = {})
2584
+ # @param [Hash] params ({})
2585
+ def describe_app_block_builder_app_block_associations(params = {}, options = {})
2586
+ req = build_request(:describe_app_block_builder_app_block_associations, params)
2587
+ req.send_request(options)
2588
+ end
2589
+
2590
+ # Retrieves a list that describes one or more app block builders.
2591
+ #
2592
+ # @option params [Array<String>] :names
2593
+ # The names of the app block builders.
2594
+ #
2595
+ # @option params [String] :next_token
2596
+ # The pagination token used to retrieve the next page of results for
2597
+ # this operation.
2598
+ #
2599
+ # @option params [Integer] :max_results
2600
+ # The maximum size of each page of results. The maximum value is 25.
2601
+ #
2602
+ # @return [Types::DescribeAppBlockBuildersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2603
+ #
2604
+ # * {Types::DescribeAppBlockBuildersResult#app_block_builders #app_block_builders} => Array&lt;Types::AppBlockBuilder&gt;
2605
+ # * {Types::DescribeAppBlockBuildersResult#next_token #next_token} => String
2606
+ #
2607
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2608
+ #
2609
+ # @example Request syntax with placeholder values
2610
+ #
2611
+ # resp = client.describe_app_block_builders({
2612
+ # names: ["String"],
2613
+ # next_token: "String",
2614
+ # max_results: 1,
2615
+ # })
2616
+ #
2617
+ # @example Response structure
2618
+ #
2619
+ # resp.app_block_builders #=> Array
2620
+ # resp.app_block_builders[0].arn #=> String
2621
+ # resp.app_block_builders[0].name #=> String
2622
+ # resp.app_block_builders[0].display_name #=> String
2623
+ # resp.app_block_builders[0].description #=> String
2624
+ # resp.app_block_builders[0].platform #=> String, one of "WINDOWS_SERVER_2019"
2625
+ # resp.app_block_builders[0].instance_type #=> String
2626
+ # resp.app_block_builders[0].enable_default_internet_access #=> Boolean
2627
+ # resp.app_block_builders[0].iam_role_arn #=> String
2628
+ # resp.app_block_builders[0].vpc_config.subnet_ids #=> Array
2629
+ # resp.app_block_builders[0].vpc_config.subnet_ids[0] #=> String
2630
+ # resp.app_block_builders[0].vpc_config.security_group_ids #=> Array
2631
+ # resp.app_block_builders[0].vpc_config.security_group_ids[0] #=> String
2632
+ # resp.app_block_builders[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED"
2633
+ # resp.app_block_builders[0].created_time #=> Time
2634
+ # resp.app_block_builders[0].app_block_builder_errors #=> Array
2635
+ # resp.app_block_builders[0].app_block_builder_errors[0].error_code #=> String, one of "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION", "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION", "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION", "NETWORK_INTERFACE_LIMIT_EXCEEDED", "INTERNAL_SERVICE_ERROR", "IAM_SERVICE_ROLE_IS_MISSING", "MACHINE_ROLE_IS_MISSING", "STS_DISABLED_IN_REGION", "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES", "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION", "SUBNET_NOT_FOUND", "IMAGE_NOT_FOUND", "INVALID_SUBNET_CONFIGURATION", "SECURITY_GROUPS_NOT_FOUND", "IGW_NOT_ATTACHED", "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION", "FLEET_STOPPED", "FLEET_INSTANCE_PROVISIONING_FAILURE", "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND", "DOMAIN_JOIN_ERROR_ACCESS_DENIED", "DOMAIN_JOIN_ERROR_LOGON_FAILURE", "DOMAIN_JOIN_ERROR_INVALID_PARAMETER", "DOMAIN_JOIN_ERROR_MORE_DATA", "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN", "DOMAIN_JOIN_ERROR_NOT_SUPPORTED", "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME", "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED", "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED", "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED", "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR"
2636
+ # resp.app_block_builders[0].app_block_builder_errors[0].error_message #=> String
2637
+ # resp.app_block_builders[0].app_block_builder_errors[0].error_timestamp #=> Time
2638
+ # resp.app_block_builders[0].state_change_reason.code #=> String, one of "INTERNAL_ERROR"
2639
+ # resp.app_block_builders[0].state_change_reason.message #=> String
2640
+ # resp.app_block_builders[0].access_endpoints #=> Array
2641
+ # resp.app_block_builders[0].access_endpoints[0].endpoint_type #=> String, one of "STREAMING"
2642
+ # resp.app_block_builders[0].access_endpoints[0].vpce_id #=> String
2643
+ # resp.next_token #=> String
2644
+ #
2645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilders AWS API Documentation
2646
+ #
2647
+ # @overload describe_app_block_builders(params = {})
2648
+ # @param [Hash] params ({})
2649
+ def describe_app_block_builders(params = {}, options = {})
2650
+ req = build_request(:describe_app_block_builders, params)
2651
+ req.send_request(options)
2652
+ end
2653
+
2265
2654
  # Retrieves a list that describes one or more app blocks.
2266
2655
  #
2267
2656
  # @option params [Array<String>] :arns
@@ -2302,6 +2691,16 @@ module Aws::AppStream
2302
2691
  # resp.app_blocks[0].setup_script_details.executable_parameters #=> String
2303
2692
  # resp.app_blocks[0].setup_script_details.timeout_in_seconds #=> Integer
2304
2693
  # resp.app_blocks[0].created_time #=> Time
2694
+ # resp.app_blocks[0].post_setup_script_details.script_s3_location.s3_bucket #=> String
2695
+ # resp.app_blocks[0].post_setup_script_details.script_s3_location.s3_key #=> String
2696
+ # resp.app_blocks[0].post_setup_script_details.executable_path #=> String
2697
+ # resp.app_blocks[0].post_setup_script_details.executable_parameters #=> String
2698
+ # resp.app_blocks[0].post_setup_script_details.timeout_in_seconds #=> Integer
2699
+ # resp.app_blocks[0].packaging_type #=> String, one of "CUSTOM", "APPSTREAM2"
2700
+ # resp.app_blocks[0].state #=> String, one of "INACTIVE", "ACTIVE"
2701
+ # resp.app_blocks[0].app_block_errors #=> Array
2702
+ # resp.app_blocks[0].app_block_errors[0].error_code #=> String
2703
+ # resp.app_blocks[0].app_block_errors[0].error_message #=> String
2305
2704
  # resp.next_token #=> String
2306
2705
  #
2307
2706
  # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlocks AWS API Documentation
@@ -3136,6 +3535,33 @@ module Aws::AppStream
3136
3535
  req.send_request(options)
3137
3536
  end
3138
3537
 
3538
+ # Disassociates a specified app block builder from a specified app
3539
+ # block.
3540
+ #
3541
+ # @option params [required, String] :app_block_arn
3542
+ # The ARN of the app block.
3543
+ #
3544
+ # @option params [required, String] :app_block_builder_name
3545
+ # The name of the app block builder.
3546
+ #
3547
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3548
+ #
3549
+ # @example Request syntax with placeholder values
3550
+ #
3551
+ # resp = client.disassociate_app_block_builder_app_block({
3552
+ # app_block_arn: "Arn", # required
3553
+ # app_block_builder_name: "Name", # required
3554
+ # })
3555
+ #
3556
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateAppBlockBuilderAppBlock AWS API Documentation
3557
+ #
3558
+ # @overload disassociate_app_block_builder_app_block(params = {})
3559
+ # @param [Hash] params ({})
3560
+ def disassociate_app_block_builder_app_block(params = {}, options = {})
3561
+ req = build_request(:disassociate_app_block_builder_app_block, params)
3562
+ req.send_request(options)
3563
+ end
3564
+
3139
3565
  # Disassociates the specified application from the fleet.
3140
3566
  #
3141
3567
  # @option params [required, String] :fleet_name
@@ -3430,6 +3856,63 @@ module Aws::AppStream
3430
3856
  req.send_request(options)
3431
3857
  end
3432
3858
 
3859
+ # Starts an app block builder.
3860
+ #
3861
+ # An app block builder can only be started when it's associated with an
3862
+ # app block.
3863
+ #
3864
+ # Starting an app block builder starts a new instance, which is
3865
+ # equivalent to an elastic fleet instance with application builder
3866
+ # assistance functionality.
3867
+ #
3868
+ # @option params [required, String] :name
3869
+ # The name of the app block builder.
3870
+ #
3871
+ # @return [Types::StartAppBlockBuilderResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3872
+ #
3873
+ # * {Types::StartAppBlockBuilderResult#app_block_builder #app_block_builder} => Types::AppBlockBuilder
3874
+ #
3875
+ # @example Request syntax with placeholder values
3876
+ #
3877
+ # resp = client.start_app_block_builder({
3878
+ # name: "Name", # required
3879
+ # })
3880
+ #
3881
+ # @example Response structure
3882
+ #
3883
+ # resp.app_block_builder.arn #=> String
3884
+ # resp.app_block_builder.name #=> String
3885
+ # resp.app_block_builder.display_name #=> String
3886
+ # resp.app_block_builder.description #=> String
3887
+ # resp.app_block_builder.platform #=> String, one of "WINDOWS_SERVER_2019"
3888
+ # resp.app_block_builder.instance_type #=> String
3889
+ # resp.app_block_builder.enable_default_internet_access #=> Boolean
3890
+ # resp.app_block_builder.iam_role_arn #=> String
3891
+ # resp.app_block_builder.vpc_config.subnet_ids #=> Array
3892
+ # resp.app_block_builder.vpc_config.subnet_ids[0] #=> String
3893
+ # resp.app_block_builder.vpc_config.security_group_ids #=> Array
3894
+ # resp.app_block_builder.vpc_config.security_group_ids[0] #=> String
3895
+ # resp.app_block_builder.state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED"
3896
+ # resp.app_block_builder.created_time #=> Time
3897
+ # resp.app_block_builder.app_block_builder_errors #=> Array
3898
+ # resp.app_block_builder.app_block_builder_errors[0].error_code #=> String, one of "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION", "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION", "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION", "NETWORK_INTERFACE_LIMIT_EXCEEDED", "INTERNAL_SERVICE_ERROR", "IAM_SERVICE_ROLE_IS_MISSING", "MACHINE_ROLE_IS_MISSING", "STS_DISABLED_IN_REGION", "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES", "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION", "SUBNET_NOT_FOUND", "IMAGE_NOT_FOUND", "INVALID_SUBNET_CONFIGURATION", "SECURITY_GROUPS_NOT_FOUND", "IGW_NOT_ATTACHED", "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION", "FLEET_STOPPED", "FLEET_INSTANCE_PROVISIONING_FAILURE", "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND", "DOMAIN_JOIN_ERROR_ACCESS_DENIED", "DOMAIN_JOIN_ERROR_LOGON_FAILURE", "DOMAIN_JOIN_ERROR_INVALID_PARAMETER", "DOMAIN_JOIN_ERROR_MORE_DATA", "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN", "DOMAIN_JOIN_ERROR_NOT_SUPPORTED", "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME", "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED", "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED", "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED", "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR"
3899
+ # resp.app_block_builder.app_block_builder_errors[0].error_message #=> String
3900
+ # resp.app_block_builder.app_block_builder_errors[0].error_timestamp #=> Time
3901
+ # resp.app_block_builder.state_change_reason.code #=> String, one of "INTERNAL_ERROR"
3902
+ # resp.app_block_builder.state_change_reason.message #=> String
3903
+ # resp.app_block_builder.access_endpoints #=> Array
3904
+ # resp.app_block_builder.access_endpoints[0].endpoint_type #=> String, one of "STREAMING"
3905
+ # resp.app_block_builder.access_endpoints[0].vpce_id #=> String
3906
+ #
3907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartAppBlockBuilder AWS API Documentation
3908
+ #
3909
+ # @overload start_app_block_builder(params = {})
3910
+ # @param [Hash] params ({})
3911
+ def start_app_block_builder(params = {}, options = {})
3912
+ req = build_request(:start_app_block_builder, params)
3913
+ req.send_request(options)
3914
+ end
3915
+
3433
3916
  # Starts the specified fleet.
3434
3917
  #
3435
3918
  # @option params [required, String] :name
@@ -3514,6 +3997,59 @@ module Aws::AppStream
3514
3997
  req.send_request(options)
3515
3998
  end
3516
3999
 
4000
+ # Stops an app block builder.
4001
+ #
4002
+ # Stopping an app block builder terminates the instance, and the
4003
+ # instance state is not persisted.
4004
+ #
4005
+ # @option params [required, String] :name
4006
+ # The name of the app block builder.
4007
+ #
4008
+ # @return [Types::StopAppBlockBuilderResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4009
+ #
4010
+ # * {Types::StopAppBlockBuilderResult#app_block_builder #app_block_builder} => Types::AppBlockBuilder
4011
+ #
4012
+ # @example Request syntax with placeholder values
4013
+ #
4014
+ # resp = client.stop_app_block_builder({
4015
+ # name: "Name", # required
4016
+ # })
4017
+ #
4018
+ # @example Response structure
4019
+ #
4020
+ # resp.app_block_builder.arn #=> String
4021
+ # resp.app_block_builder.name #=> String
4022
+ # resp.app_block_builder.display_name #=> String
4023
+ # resp.app_block_builder.description #=> String
4024
+ # resp.app_block_builder.platform #=> String, one of "WINDOWS_SERVER_2019"
4025
+ # resp.app_block_builder.instance_type #=> String
4026
+ # resp.app_block_builder.enable_default_internet_access #=> Boolean
4027
+ # resp.app_block_builder.iam_role_arn #=> String
4028
+ # resp.app_block_builder.vpc_config.subnet_ids #=> Array
4029
+ # resp.app_block_builder.vpc_config.subnet_ids[0] #=> String
4030
+ # resp.app_block_builder.vpc_config.security_group_ids #=> Array
4031
+ # resp.app_block_builder.vpc_config.security_group_ids[0] #=> String
4032
+ # resp.app_block_builder.state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED"
4033
+ # resp.app_block_builder.created_time #=> Time
4034
+ # resp.app_block_builder.app_block_builder_errors #=> Array
4035
+ # resp.app_block_builder.app_block_builder_errors[0].error_code #=> String, one of "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION", "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION", "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION", "NETWORK_INTERFACE_LIMIT_EXCEEDED", "INTERNAL_SERVICE_ERROR", "IAM_SERVICE_ROLE_IS_MISSING", "MACHINE_ROLE_IS_MISSING", "STS_DISABLED_IN_REGION", "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES", "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION", "SUBNET_NOT_FOUND", "IMAGE_NOT_FOUND", "INVALID_SUBNET_CONFIGURATION", "SECURITY_GROUPS_NOT_FOUND", "IGW_NOT_ATTACHED", "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION", "FLEET_STOPPED", "FLEET_INSTANCE_PROVISIONING_FAILURE", "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND", "DOMAIN_JOIN_ERROR_ACCESS_DENIED", "DOMAIN_JOIN_ERROR_LOGON_FAILURE", "DOMAIN_JOIN_ERROR_INVALID_PARAMETER", "DOMAIN_JOIN_ERROR_MORE_DATA", "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN", "DOMAIN_JOIN_ERROR_NOT_SUPPORTED", "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME", "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED", "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED", "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED", "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR"
4036
+ # resp.app_block_builder.app_block_builder_errors[0].error_message #=> String
4037
+ # resp.app_block_builder.app_block_builder_errors[0].error_timestamp #=> Time
4038
+ # resp.app_block_builder.state_change_reason.code #=> String, one of "INTERNAL_ERROR"
4039
+ # resp.app_block_builder.state_change_reason.message #=> String
4040
+ # resp.app_block_builder.access_endpoints #=> Array
4041
+ # resp.app_block_builder.access_endpoints[0].endpoint_type #=> String, one of "STREAMING"
4042
+ # resp.app_block_builder.access_endpoints[0].vpce_id #=> String
4043
+ #
4044
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopAppBlockBuilder AWS API Documentation
4045
+ #
4046
+ # @overload stop_app_block_builder(params = {})
4047
+ # @param [Hash] params ({})
4048
+ def stop_app_block_builder(params = {}, options = {})
4049
+ req = build_request(:stop_app_block_builder, params)
4050
+ req.send_request(options)
4051
+ end
4052
+
3517
4053
  # Stops the specified fleet.
3518
4054
  #
3519
4055
  # @option params [required, String] :name
@@ -3680,6 +4216,138 @@ module Aws::AppStream
3680
4216
  req.send_request(options)
3681
4217
  end
3682
4218
 
4219
+ # Updates an app block builder.
4220
+ #
4221
+ # If the app block builder is in the `STARTING` or `STOPPING` state, you
4222
+ # can't update it. If the app block builder is in the `RUNNING` state,
4223
+ # you can only update the DisplayName and Description. If the app block
4224
+ # builder is in the `STOPPED` state, you can update any attribute except
4225
+ # the Name.
4226
+ #
4227
+ # @option params [required, String] :name
4228
+ # The unique name for the app block builder.
4229
+ #
4230
+ # @option params [String] :description
4231
+ # The description of the app block builder.
4232
+ #
4233
+ # @option params [String] :display_name
4234
+ # The display name of the app block builder.
4235
+ #
4236
+ # @option params [String] :platform
4237
+ # The platform of the app block builder.
4238
+ #
4239
+ # `WINDOWS_SERVER_2019` is the only valid value.
4240
+ #
4241
+ # @option params [String] :instance_type
4242
+ # The instance type to use when launching the app block builder. The
4243
+ # following instance types are available:
4244
+ #
4245
+ # * stream.standard.small
4246
+ #
4247
+ # * stream.standard.medium
4248
+ #
4249
+ # * stream.standard.large
4250
+ #
4251
+ # * stream.standard.xlarge
4252
+ #
4253
+ # * stream.standard.2xlarge
4254
+ #
4255
+ # @option params [Types::VpcConfig] :vpc_config
4256
+ # The VPC configuration for the app block builder.
4257
+ #
4258
+ # App block builders require that you specify at least two subnets in
4259
+ # different availability zones.
4260
+ #
4261
+ # @option params [Boolean] :enable_default_internet_access
4262
+ # Enables or disables default internet access for the app block builder.
4263
+ #
4264
+ # @option params [String] :iam_role_arn
4265
+ # The Amazon Resource Name (ARN) of the IAM role to apply to the app
4266
+ # block builder. To assume a role, the app block builder calls the AWS
4267
+ # Security Token Service (STS) `AssumeRole` API operation and passes the
4268
+ # ARN of the role to use. The operation creates a new session with
4269
+ # temporary credentials. AppStream 2.0 retrieves the temporary
4270
+ # credentials and creates the **appstream\_machine\_role** credential
4271
+ # profile on the instance.
4272
+ #
4273
+ # For more information, see [Using an IAM Role to Grant Permissions to
4274
+ # Applications and Scripts Running on AppStream 2.0 Streaming
4275
+ # Instances][1] in the *Amazon AppStream 2.0 Administration Guide*.
4276
+ #
4277
+ #
4278
+ #
4279
+ # [1]: https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html
4280
+ #
4281
+ # @option params [Array<Types::AccessEndpoint>] :access_endpoints
4282
+ # The list of interface VPC endpoint (interface endpoint) objects.
4283
+ # Administrators can connect to the app block builder only through the
4284
+ # specified endpoints.
4285
+ #
4286
+ # @option params [Array<String>] :attributes_to_delete
4287
+ # The attributes to delete from the app block builder.
4288
+ #
4289
+ # @return [Types::UpdateAppBlockBuilderResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4290
+ #
4291
+ # * {Types::UpdateAppBlockBuilderResult#app_block_builder #app_block_builder} => Types::AppBlockBuilder
4292
+ #
4293
+ # @example Request syntax with placeholder values
4294
+ #
4295
+ # resp = client.update_app_block_builder({
4296
+ # name: "Name", # required
4297
+ # description: "Description",
4298
+ # display_name: "DisplayName",
4299
+ # platform: "WINDOWS", # accepts WINDOWS, WINDOWS_SERVER_2016, WINDOWS_SERVER_2019, AMAZON_LINUX2
4300
+ # instance_type: "String",
4301
+ # vpc_config: {
4302
+ # subnet_ids: ["String"],
4303
+ # security_group_ids: ["String"],
4304
+ # },
4305
+ # enable_default_internet_access: false,
4306
+ # iam_role_arn: "Arn",
4307
+ # access_endpoints: [
4308
+ # {
4309
+ # endpoint_type: "STREAMING", # required, accepts STREAMING
4310
+ # vpce_id: "String",
4311
+ # },
4312
+ # ],
4313
+ # attributes_to_delete: ["IAM_ROLE_ARN"], # accepts IAM_ROLE_ARN, ACCESS_ENDPOINTS, VPC_CONFIGURATION_SECURITY_GROUP_IDS
4314
+ # })
4315
+ #
4316
+ # @example Response structure
4317
+ #
4318
+ # resp.app_block_builder.arn #=> String
4319
+ # resp.app_block_builder.name #=> String
4320
+ # resp.app_block_builder.display_name #=> String
4321
+ # resp.app_block_builder.description #=> String
4322
+ # resp.app_block_builder.platform #=> String, one of "WINDOWS_SERVER_2019"
4323
+ # resp.app_block_builder.instance_type #=> String
4324
+ # resp.app_block_builder.enable_default_internet_access #=> Boolean
4325
+ # resp.app_block_builder.iam_role_arn #=> String
4326
+ # resp.app_block_builder.vpc_config.subnet_ids #=> Array
4327
+ # resp.app_block_builder.vpc_config.subnet_ids[0] #=> String
4328
+ # resp.app_block_builder.vpc_config.security_group_ids #=> Array
4329
+ # resp.app_block_builder.vpc_config.security_group_ids[0] #=> String
4330
+ # resp.app_block_builder.state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED"
4331
+ # resp.app_block_builder.created_time #=> Time
4332
+ # resp.app_block_builder.app_block_builder_errors #=> Array
4333
+ # resp.app_block_builder.app_block_builder_errors[0].error_code #=> String, one of "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION", "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION", "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION", "NETWORK_INTERFACE_LIMIT_EXCEEDED", "INTERNAL_SERVICE_ERROR", "IAM_SERVICE_ROLE_IS_MISSING", "MACHINE_ROLE_IS_MISSING", "STS_DISABLED_IN_REGION", "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES", "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION", "SUBNET_NOT_FOUND", "IMAGE_NOT_FOUND", "INVALID_SUBNET_CONFIGURATION", "SECURITY_GROUPS_NOT_FOUND", "IGW_NOT_ATTACHED", "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION", "FLEET_STOPPED", "FLEET_INSTANCE_PROVISIONING_FAILURE", "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND", "DOMAIN_JOIN_ERROR_ACCESS_DENIED", "DOMAIN_JOIN_ERROR_LOGON_FAILURE", "DOMAIN_JOIN_ERROR_INVALID_PARAMETER", "DOMAIN_JOIN_ERROR_MORE_DATA", "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN", "DOMAIN_JOIN_ERROR_NOT_SUPPORTED", "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME", "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED", "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED", "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED", "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR"
4334
+ # resp.app_block_builder.app_block_builder_errors[0].error_message #=> String
4335
+ # resp.app_block_builder.app_block_builder_errors[0].error_timestamp #=> Time
4336
+ # resp.app_block_builder.state_change_reason.code #=> String, one of "INTERNAL_ERROR"
4337
+ # resp.app_block_builder.state_change_reason.message #=> String
4338
+ # resp.app_block_builder.access_endpoints #=> Array
4339
+ # resp.app_block_builder.access_endpoints[0].endpoint_type #=> String, one of "STREAMING"
4340
+ # resp.app_block_builder.access_endpoints[0].vpce_id #=> String
4341
+ #
4342
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateAppBlockBuilder AWS API Documentation
4343
+ #
4344
+ # @overload update_app_block_builder(params = {})
4345
+ # @param [Hash] params ({})
4346
+ def update_app_block_builder(params = {}, options = {})
4347
+ req = build_request(:update_app_block_builder, params)
4348
+ req.send_request(options)
4349
+ end
4350
+
3683
4351
  # Updates the specified application.
3684
4352
  #
3685
4353
  # @option params [required, String] :name
@@ -3723,7 +4391,7 @@ module Aws::AppStream
3723
4391
  # description: "Description",
3724
4392
  # icon_s3_location: {
3725
4393
  # s3_bucket: "S3Bucket", # required
3726
- # s3_key: "S3Key", # required
4394
+ # s3_key: "S3Key",
3727
4395
  # },
3728
4396
  # launch_path: "String",
3729
4397
  # working_directory: "String",
@@ -4020,7 +4688,7 @@ module Aws::AppStream
4020
4688
  # open documents before being disconnected. After this time elapses, the
4021
4689
  # instance is terminated and replaced by a new instance.
4022
4690
  #
4023
- # Specify a value between 600 and 360000.
4691
+ # Specify a value between 600 and 432000.
4024
4692
  #
4025
4693
  # @option params [Integer] :disconnect_timeout_in_seconds
4026
4694
  # The amount of time that a streaming session remains active after users
@@ -4156,7 +4824,7 @@ module Aws::AppStream
4156
4824
  # usb_device_filter_strings: ["UsbDeviceFilterString"],
4157
4825
  # session_script_s3_location: {
4158
4826
  # s3_bucket: "S3Bucket", # required
4159
- # s3_key: "S3Key", # required
4827
+ # s3_key: "S3Key",
4160
4828
  # },
4161
4829
  # })
4162
4830
  #
@@ -4389,7 +5057,7 @@ module Aws::AppStream
4389
5057
  params: params,
4390
5058
  config: config)
4391
5059
  context[:gem_name] = 'aws-sdk-appstream'
4392
- context[:gem_version] = '1.73.0'
5060
+ context[:gem_version] = '1.75.0'
4393
5061
  Seahorse::Client::Request.new(handlers, context)
4394
5062
  end
4395
5063