aws-sdk-appstream 1.59.0 → 1.63.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74a08f5a51a9b72488fe2d38128f16602d2e4ff27c146a4f7eaa492cd28a801d
4
- data.tar.gz: d2357f4d69138639db00d1e0fd350ec376727a09cb2fbf8d1cedf4b22cc323e9
3
+ metadata.gz: 6d16a5ee00fe0e3829cc0eed52454b1b7e86dd0ae7baf6d4c4170f07edd9e2ae
4
+ data.tar.gz: c70d207c31b630ff70e6a1348c029abe2a0b5467ba8fc586a2b91433f8b96551
5
5
  SHA512:
6
- metadata.gz: 4bfba42abcd3d653a04db785a132e7d34a8100da4903a9da05747a81d59c674ff68df9a76443fdc34cb014ce7d74720c4c9f50312752ede4adc60f7741c46e2d
7
- data.tar.gz: a438c038285a3b349b4ad05e0ed26b4b19a96de1cd3f8a2f88bf1d3a124369c662d2833e85ccc8628660c9952631e667c501be58c58480c1538a6fddd98e9426
6
+ metadata.gz: 02bcb466119a87866c425881487b387d18c2d097b2ca6428dbac3d3ea79c6fc178c009fc586dc33ece471af780bc808b39137c1dd000ca4adc6f219ce90fa0f2
7
+ data.tar.gz: '09b90d2d985d22b3c5a12ad646eaa0baadf18bbf8d665ccf74ce0404670d54f4ea9f5dfd35335874efcefe551aebffad24d5ea748126b8e3e14355efb4c3be3b'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.63.0 (2022-02-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.62.0 (2022-01-05)
10
+ ------------------
11
+
12
+ * Feature - Includes APIs for App Entitlement management regarding entitlement and entitled application association.
13
+
14
+ 1.61.0 (2021-12-21)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.60.0 (2021-11-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.59.0 (2021-11-19)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.59.0
1
+ 1.63.0
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  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
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
31
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
30
32
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
33
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
32
34
 
@@ -73,6 +75,8 @@ module Aws::AppStream
73
75
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
76
  add_plugin(Aws::Plugins::TransferEncoding)
75
77
  add_plugin(Aws::Plugins::HttpChecksum)
78
+ add_plugin(Aws::Plugins::DefaultsMode)
79
+ add_plugin(Aws::Plugins::RecursionDetection)
76
80
  add_plugin(Aws::Plugins::SignatureV4)
77
81
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
78
82
 
@@ -119,7 +123,9 @@ module Aws::AppStream
119
123
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
124
  # are very aggressive. Construct and pass an instance of
121
125
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
126
+ # enable retries and extended timeouts. Instance profile credential
127
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
128
+ # to true.
123
129
  #
124
130
  # @option options [required, String] :region
125
131
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +179,10 @@ module Aws::AppStream
173
179
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
180
  # a clock skew correction and retry requests with skewed client clocks.
175
181
  #
182
+ # @option options [String] :defaults_mode ("legacy")
183
+ # See {Aws::DefaultsModeConfiguration} for a list of the
184
+ # accepted modes and the configuration defaults that are included.
185
+ #
176
186
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
187
  # Set to true to disable SDK automatically adding host prefix
178
188
  # to default service endpoint when available.
@@ -305,7 +315,7 @@ module Aws::AppStream
305
315
  # seconds to wait when opening a HTTP session before raising a
306
316
  # `Timeout::Error`.
307
317
  #
308
- # @option options [Integer] :http_read_timeout (60) The default
318
+ # @option options [Float] :http_read_timeout (60) The default
309
319
  # number of seconds to wait for response data. This value can
310
320
  # safely be set per-request on the session.
311
321
  #
@@ -321,6 +331,9 @@ module Aws::AppStream
321
331
  # disables this behaviour. This value can safely be set per
322
332
  # request on the session.
323
333
  #
334
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
335
+ # in seconds.
336
+ #
324
337
  # @option options [Boolean] :http_wire_trace (false) When `true`,
325
338
  # HTTP debug output will be sent to the `:logger`.
326
339
  #
@@ -380,6 +393,36 @@ module Aws::AppStream
380
393
  req.send_request(options)
381
394
  end
382
395
 
396
+ # Associates an application to entitle.
397
+ #
398
+ # @option params [required, String] :stack_name
399
+ # The name of the stack.
400
+ #
401
+ # @option params [required, String] :entitlement_name
402
+ # The name of the entitlement.
403
+ #
404
+ # @option params [required, String] :application_identifier
405
+ # The identifier of the application.
406
+ #
407
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
408
+ #
409
+ # @example Request syntax with placeholder values
410
+ #
411
+ # resp = client.associate_application_to_entitlement({
412
+ # stack_name: "Name", # required
413
+ # entitlement_name: "Name", # required
414
+ # application_identifier: "String", # required
415
+ # })
416
+ #
417
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationToEntitlement AWS API Documentation
418
+ #
419
+ # @overload associate_application_to_entitlement(params = {})
420
+ # @param [Hash] params ({})
421
+ def associate_application_to_entitlement(params = {}, options = {})
422
+ req = build_request(:associate_application_to_entitlement, params)
423
+ req.send_request(options)
424
+ end
425
+
383
426
  # Associates the specified fleet with the specified stack.
384
427
  #
385
428
  # @option params [required, String] :fleet_name
@@ -770,6 +813,69 @@ module Aws::AppStream
770
813
  req.send_request(options)
771
814
  end
772
815
 
816
+ # Creates a new entitlement. Entitlements control access to specific
817
+ # applications within a stack, based on user attributes. Entitlements
818
+ # apply to SAML 2.0 federated user identities. Amazon AppStream 2.0 user
819
+ # pool and streaming URL users are entitled to all applications in a
820
+ # stack. Entitlements don't apply to the desktop stream view
821
+ # application, or to applications managed by a dynamic app provider
822
+ # using the Dynamic Application Framework.
823
+ #
824
+ # @option params [required, String] :name
825
+ # The name of the entitlement.
826
+ #
827
+ # @option params [required, String] :stack_name
828
+ # The name of the stack with which the entitlement is associated.
829
+ #
830
+ # @option params [String] :description
831
+ # The description of the entitlement.
832
+ #
833
+ # @option params [required, String] :app_visibility
834
+ # Specifies whether all or selected apps are entitled.
835
+ #
836
+ # @option params [required, Array<Types::EntitlementAttribute>] :attributes
837
+ # The attributes of the entitlement.
838
+ #
839
+ # @return [Types::CreateEntitlementResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
840
+ #
841
+ # * {Types::CreateEntitlementResult#entitlement #entitlement} => Types::Entitlement
842
+ #
843
+ # @example Request syntax with placeholder values
844
+ #
845
+ # resp = client.create_entitlement({
846
+ # name: "Name", # required
847
+ # stack_name: "Name", # required
848
+ # description: "Description",
849
+ # app_visibility: "ALL", # required, accepts ALL, ASSOCIATED
850
+ # attributes: [ # required
851
+ # {
852
+ # name: "String", # required
853
+ # value: "String", # required
854
+ # },
855
+ # ],
856
+ # })
857
+ #
858
+ # @example Response structure
859
+ #
860
+ # resp.entitlement.name #=> String
861
+ # resp.entitlement.stack_name #=> String
862
+ # resp.entitlement.description #=> String
863
+ # resp.entitlement.app_visibility #=> String, one of "ALL", "ASSOCIATED"
864
+ # resp.entitlement.attributes #=> Array
865
+ # resp.entitlement.attributes[0].name #=> String
866
+ # resp.entitlement.attributes[0].value #=> String
867
+ # resp.entitlement.created_time #=> Time
868
+ # resp.entitlement.last_modified_time #=> Time
869
+ #
870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateEntitlement AWS API Documentation
871
+ #
872
+ # @overload create_entitlement(params = {})
873
+ # @param [Hash] params ({})
874
+ def create_entitlement(params = {}, options = {})
875
+ req = build_request(:create_entitlement, params)
876
+ req.send_request(options)
877
+ end
878
+
773
879
  # Creates a fleet. A fleet consists of streaming instances that run a
774
880
  # specified image when using Always-On or On-Demand.
775
881
  #
@@ -1815,6 +1921,32 @@ module Aws::AppStream
1815
1921
  req.send_request(options)
1816
1922
  end
1817
1923
 
1924
+ # Deletes the specified entitlement.
1925
+ #
1926
+ # @option params [required, String] :name
1927
+ # The name of the entitlement.
1928
+ #
1929
+ # @option params [required, String] :stack_name
1930
+ # The name of the stack with which the entitlement is associated.
1931
+ #
1932
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1933
+ #
1934
+ # @example Request syntax with placeholder values
1935
+ #
1936
+ # resp = client.delete_entitlement({
1937
+ # name: "Name", # required
1938
+ # stack_name: "Name", # required
1939
+ # })
1940
+ #
1941
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteEntitlement AWS API Documentation
1942
+ #
1943
+ # @overload delete_entitlement(params = {})
1944
+ # @param [Hash] params ({})
1945
+ def delete_entitlement(params = {}, options = {})
1946
+ req = build_request(:delete_entitlement, params)
1947
+ req.send_request(options)
1948
+ end
1949
+
1818
1950
  # Deletes the specified fleet.
1819
1951
  #
1820
1952
  # @option params [required, String] :name
@@ -2268,6 +2400,58 @@ module Aws::AppStream
2268
2400
  req.send_request(options)
2269
2401
  end
2270
2402
 
2403
+ # Retrieves a list that describes one of more entitlements.
2404
+ #
2405
+ # @option params [String] :name
2406
+ # The name of the entitlement.
2407
+ #
2408
+ # @option params [required, String] :stack_name
2409
+ # The name of the stack with which the entitlement is associated.
2410
+ #
2411
+ # @option params [String] :next_token
2412
+ # The pagination token used to retrieve the next page of results for
2413
+ # this operation.
2414
+ #
2415
+ # @option params [Integer] :max_results
2416
+ # The maximum size of each page of results.
2417
+ #
2418
+ # @return [Types::DescribeEntitlementsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2419
+ #
2420
+ # * {Types::DescribeEntitlementsResult#entitlements #entitlements} => Array&lt;Types::Entitlement&gt;
2421
+ # * {Types::DescribeEntitlementsResult#next_token #next_token} => String
2422
+ #
2423
+ # @example Request syntax with placeholder values
2424
+ #
2425
+ # resp = client.describe_entitlements({
2426
+ # name: "Name",
2427
+ # stack_name: "Name", # required
2428
+ # next_token: "String",
2429
+ # max_results: 1,
2430
+ # })
2431
+ #
2432
+ # @example Response structure
2433
+ #
2434
+ # resp.entitlements #=> Array
2435
+ # resp.entitlements[0].name #=> String
2436
+ # resp.entitlements[0].stack_name #=> String
2437
+ # resp.entitlements[0].description #=> String
2438
+ # resp.entitlements[0].app_visibility #=> String, one of "ALL", "ASSOCIATED"
2439
+ # resp.entitlements[0].attributes #=> Array
2440
+ # resp.entitlements[0].attributes[0].name #=> String
2441
+ # resp.entitlements[0].attributes[0].value #=> String
2442
+ # resp.entitlements[0].created_time #=> Time
2443
+ # resp.entitlements[0].last_modified_time #=> Time
2444
+ # resp.next_token #=> String
2445
+ #
2446
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeEntitlements AWS API Documentation
2447
+ #
2448
+ # @overload describe_entitlements(params = {})
2449
+ # @param [Hash] params ({})
2450
+ def describe_entitlements(params = {}, options = {})
2451
+ req = build_request(:describe_entitlements, params)
2452
+ req.send_request(options)
2453
+ end
2454
+
2271
2455
  # Retrieves a list that describes one or more specified fleets, if the
2272
2456
  # fleet names are provided. Otherwise, all fleets in the account are
2273
2457
  # described.
@@ -2903,6 +3087,36 @@ module Aws::AppStream
2903
3087
  req.send_request(options)
2904
3088
  end
2905
3089
 
3090
+ # Deletes the specified application from the specified entitlement.
3091
+ #
3092
+ # @option params [required, String] :stack_name
3093
+ # The name of the stack with which the entitlement is associated.
3094
+ #
3095
+ # @option params [required, String] :entitlement_name
3096
+ # The name of the entitlement.
3097
+ #
3098
+ # @option params [required, String] :application_identifier
3099
+ # The identifier of the application to remove from the entitlement.
3100
+ #
3101
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3102
+ #
3103
+ # @example Request syntax with placeholder values
3104
+ #
3105
+ # resp = client.disassociate_application_from_entitlement({
3106
+ # stack_name: "Name", # required
3107
+ # entitlement_name: "Name", # required
3108
+ # application_identifier: "String", # required
3109
+ # })
3110
+ #
3111
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFromEntitlement AWS API Documentation
3112
+ #
3113
+ # @overload disassociate_application_from_entitlement(params = {})
3114
+ # @param [Hash] params ({})
3115
+ def disassociate_application_from_entitlement(params = {}, options = {})
3116
+ req = build_request(:disassociate_application_from_entitlement, params)
3117
+ req.send_request(options)
3118
+ end
3119
+
2906
3120
  # Disassociates the specified fleet from the specified stack.
2907
3121
  #
2908
3122
  # @option params [required, String] :fleet_name
@@ -3060,6 +3274,50 @@ module Aws::AppStream
3060
3274
  req.send_request(options)
3061
3275
  end
3062
3276
 
3277
+ # Retrieves a list of entitled applications.
3278
+ #
3279
+ # @option params [required, String] :stack_name
3280
+ # The name of the stack with which the entitlement is associated.
3281
+ #
3282
+ # @option params [required, String] :entitlement_name
3283
+ # The name of the entitlement.
3284
+ #
3285
+ # @option params [String] :next_token
3286
+ # The pagination token used to retrieve the next page of results for
3287
+ # this operation.
3288
+ #
3289
+ # @option params [Integer] :max_results
3290
+ # The maximum size of each page of results.
3291
+ #
3292
+ # @return [Types::ListEntitledApplicationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3293
+ #
3294
+ # * {Types::ListEntitledApplicationsResult#entitled_applications #entitled_applications} => Array&lt;Types::EntitledApplication&gt;
3295
+ # * {Types::ListEntitledApplicationsResult#next_token #next_token} => String
3296
+ #
3297
+ # @example Request syntax with placeholder values
3298
+ #
3299
+ # resp = client.list_entitled_applications({
3300
+ # stack_name: "Name", # required
3301
+ # entitlement_name: "Name", # required
3302
+ # next_token: "String",
3303
+ # max_results: 1,
3304
+ # })
3305
+ #
3306
+ # @example Response structure
3307
+ #
3308
+ # resp.entitled_applications #=> Array
3309
+ # resp.entitled_applications[0].application_identifier #=> String
3310
+ # resp.next_token #=> String
3311
+ #
3312
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListEntitledApplications AWS API Documentation
3313
+ #
3314
+ # @overload list_entitled_applications(params = {})
3315
+ # @param [Hash] params ({})
3316
+ def list_entitled_applications(params = {}, options = {})
3317
+ req = build_request(:list_entitled_applications, params)
3318
+ req.send_request(options)
3319
+ end
3320
+
3063
3321
  # Retrieves a list of all tags for the specified AppStream 2.0 resource.
3064
3322
  # You can tag AppStream 2.0 image builders, images, fleets, and stacks.
3065
3323
  #
@@ -3478,6 +3736,63 @@ module Aws::AppStream
3478
3736
  req.send_request(options)
3479
3737
  end
3480
3738
 
3739
+ # Updates the specified entitlement.
3740
+ #
3741
+ # @option params [required, String] :name
3742
+ # The name of the entitlement.
3743
+ #
3744
+ # @option params [required, String] :stack_name
3745
+ # The name of the stack with which the entitlement is associated.
3746
+ #
3747
+ # @option params [String] :description
3748
+ # The description of the entitlement.
3749
+ #
3750
+ # @option params [String] :app_visibility
3751
+ # Specifies whether all or only selected apps are entitled.
3752
+ #
3753
+ # @option params [Array<Types::EntitlementAttribute>] :attributes
3754
+ # The attributes of the entitlement.
3755
+ #
3756
+ # @return [Types::UpdateEntitlementResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3757
+ #
3758
+ # * {Types::UpdateEntitlementResult#entitlement #entitlement} => Types::Entitlement
3759
+ #
3760
+ # @example Request syntax with placeholder values
3761
+ #
3762
+ # resp = client.update_entitlement({
3763
+ # name: "Name", # required
3764
+ # stack_name: "Name", # required
3765
+ # description: "Description",
3766
+ # app_visibility: "ALL", # accepts ALL, ASSOCIATED
3767
+ # attributes: [
3768
+ # {
3769
+ # name: "String", # required
3770
+ # value: "String", # required
3771
+ # },
3772
+ # ],
3773
+ # })
3774
+ #
3775
+ # @example Response structure
3776
+ #
3777
+ # resp.entitlement.name #=> String
3778
+ # resp.entitlement.stack_name #=> String
3779
+ # resp.entitlement.description #=> String
3780
+ # resp.entitlement.app_visibility #=> String, one of "ALL", "ASSOCIATED"
3781
+ # resp.entitlement.attributes #=> Array
3782
+ # resp.entitlement.attributes[0].name #=> String
3783
+ # resp.entitlement.attributes[0].value #=> String
3784
+ # resp.entitlement.created_time #=> Time
3785
+ # resp.entitlement.last_modified_time #=> Time
3786
+ #
3787
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateEntitlement AWS API Documentation
3788
+ #
3789
+ # @overload update_entitlement(params = {})
3790
+ # @param [Hash] params ({})
3791
+ def update_entitlement(params = {}, options = {})
3792
+ req = build_request(:update_entitlement, params)
3793
+ req.send_request(options)
3794
+ end
3795
+
3481
3796
  # Updates the specified fleet.
3482
3797
  #
3483
3798
  # If the fleet is in the `STOPPED` state, you can update any attribute
@@ -3953,7 +4268,7 @@ module Aws::AppStream
3953
4268
  params: params,
3954
4269
  config: config)
3955
4270
  context[:gem_name] = 'aws-sdk-appstream'
3956
- context[:gem_version] = '1.59.0'
4271
+ context[:gem_version] = '1.63.0'
3957
4272
  Seahorse::Client::Request.new(handlers, context)
3958
4273
  end
3959
4274