aws-sdk-appstream 1.61.0 → 1.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appstream/client.rb +307 -1
- data/lib/aws-sdk-appstream/client_api.rb +196 -0
- data/lib/aws-sdk-appstream/errors.rb +32 -0
- data/lib/aws-sdk-appstream/types.rb +473 -0
- data/lib/aws-sdk-appstream.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72e26c96c04b24c665e63fffb9a02413d7dca14deca84762fcaf9426f215b52f
|
4
|
+
data.tar.gz: 8f64284dedd27653f50bb9bfc5c2726b767a7602178626715b3a02ea4ab08872
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68746d6529debb352692d5fbd4053512516556e683db7e786ba87a809810636eba2a56fb2d1329ec1b8915a7ee5c6a9c53f71a6b291ae612cdb0688348a787ce
|
7
|
+
data.tar.gz: 815233bb30f279e1393becad9a4a2b4a58158d25b14425a880431b2346268719bb37e81bfbbd8c50ce90da93ff2cb9fface7eff065635444074149ee82606de5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.64.0 (2022-02-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.63.0 (2022-02-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.62.0 (2022-01-05)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Includes APIs for App Entitlement management regarding entitlement and entitled application association.
|
18
|
+
|
4
19
|
1.61.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.64.0
|
@@ -27,7 +27,9 @@ 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/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::AppStream
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
80
84
|
|
@@ -391,6 +395,36 @@ module Aws::AppStream
|
|
391
395
|
req.send_request(options)
|
392
396
|
end
|
393
397
|
|
398
|
+
# Associates an application to entitle.
|
399
|
+
#
|
400
|
+
# @option params [required, String] :stack_name
|
401
|
+
# The name of the stack.
|
402
|
+
#
|
403
|
+
# @option params [required, String] :entitlement_name
|
404
|
+
# The name of the entitlement.
|
405
|
+
#
|
406
|
+
# @option params [required, String] :application_identifier
|
407
|
+
# The identifier of the application.
|
408
|
+
#
|
409
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
410
|
+
#
|
411
|
+
# @example Request syntax with placeholder values
|
412
|
+
#
|
413
|
+
# resp = client.associate_application_to_entitlement({
|
414
|
+
# stack_name: "Name", # required
|
415
|
+
# entitlement_name: "Name", # required
|
416
|
+
# application_identifier: "String", # required
|
417
|
+
# })
|
418
|
+
#
|
419
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationToEntitlement AWS API Documentation
|
420
|
+
#
|
421
|
+
# @overload associate_application_to_entitlement(params = {})
|
422
|
+
# @param [Hash] params ({})
|
423
|
+
def associate_application_to_entitlement(params = {}, options = {})
|
424
|
+
req = build_request(:associate_application_to_entitlement, params)
|
425
|
+
req.send_request(options)
|
426
|
+
end
|
427
|
+
|
394
428
|
# Associates the specified fleet with the specified stack.
|
395
429
|
#
|
396
430
|
# @option params [required, String] :fleet_name
|
@@ -781,6 +815,69 @@ module Aws::AppStream
|
|
781
815
|
req.send_request(options)
|
782
816
|
end
|
783
817
|
|
818
|
+
# Creates a new entitlement. Entitlements control access to specific
|
819
|
+
# applications within a stack, based on user attributes. Entitlements
|
820
|
+
# apply to SAML 2.0 federated user identities. Amazon AppStream 2.0 user
|
821
|
+
# pool and streaming URL users are entitled to all applications in a
|
822
|
+
# stack. Entitlements don't apply to the desktop stream view
|
823
|
+
# application, or to applications managed by a dynamic app provider
|
824
|
+
# using the Dynamic Application Framework.
|
825
|
+
#
|
826
|
+
# @option params [required, String] :name
|
827
|
+
# The name of the entitlement.
|
828
|
+
#
|
829
|
+
# @option params [required, String] :stack_name
|
830
|
+
# The name of the stack with which the entitlement is associated.
|
831
|
+
#
|
832
|
+
# @option params [String] :description
|
833
|
+
# The description of the entitlement.
|
834
|
+
#
|
835
|
+
# @option params [required, String] :app_visibility
|
836
|
+
# Specifies whether all or selected apps are entitled.
|
837
|
+
#
|
838
|
+
# @option params [required, Array<Types::EntitlementAttribute>] :attributes
|
839
|
+
# The attributes of the entitlement.
|
840
|
+
#
|
841
|
+
# @return [Types::CreateEntitlementResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
842
|
+
#
|
843
|
+
# * {Types::CreateEntitlementResult#entitlement #entitlement} => Types::Entitlement
|
844
|
+
#
|
845
|
+
# @example Request syntax with placeholder values
|
846
|
+
#
|
847
|
+
# resp = client.create_entitlement({
|
848
|
+
# name: "Name", # required
|
849
|
+
# stack_name: "Name", # required
|
850
|
+
# description: "Description",
|
851
|
+
# app_visibility: "ALL", # required, accepts ALL, ASSOCIATED
|
852
|
+
# attributes: [ # required
|
853
|
+
# {
|
854
|
+
# name: "String", # required
|
855
|
+
# value: "String", # required
|
856
|
+
# },
|
857
|
+
# ],
|
858
|
+
# })
|
859
|
+
#
|
860
|
+
# @example Response structure
|
861
|
+
#
|
862
|
+
# resp.entitlement.name #=> String
|
863
|
+
# resp.entitlement.stack_name #=> String
|
864
|
+
# resp.entitlement.description #=> String
|
865
|
+
# resp.entitlement.app_visibility #=> String, one of "ALL", "ASSOCIATED"
|
866
|
+
# resp.entitlement.attributes #=> Array
|
867
|
+
# resp.entitlement.attributes[0].name #=> String
|
868
|
+
# resp.entitlement.attributes[0].value #=> String
|
869
|
+
# resp.entitlement.created_time #=> Time
|
870
|
+
# resp.entitlement.last_modified_time #=> Time
|
871
|
+
#
|
872
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateEntitlement AWS API Documentation
|
873
|
+
#
|
874
|
+
# @overload create_entitlement(params = {})
|
875
|
+
# @param [Hash] params ({})
|
876
|
+
def create_entitlement(params = {}, options = {})
|
877
|
+
req = build_request(:create_entitlement, params)
|
878
|
+
req.send_request(options)
|
879
|
+
end
|
880
|
+
|
784
881
|
# Creates a fleet. A fleet consists of streaming instances that run a
|
785
882
|
# specified image when using Always-On or On-Demand.
|
786
883
|
#
|
@@ -1826,6 +1923,32 @@ module Aws::AppStream
|
|
1826
1923
|
req.send_request(options)
|
1827
1924
|
end
|
1828
1925
|
|
1926
|
+
# Deletes the specified entitlement.
|
1927
|
+
#
|
1928
|
+
# @option params [required, String] :name
|
1929
|
+
# The name of the entitlement.
|
1930
|
+
#
|
1931
|
+
# @option params [required, String] :stack_name
|
1932
|
+
# The name of the stack with which the entitlement is associated.
|
1933
|
+
#
|
1934
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1935
|
+
#
|
1936
|
+
# @example Request syntax with placeholder values
|
1937
|
+
#
|
1938
|
+
# resp = client.delete_entitlement({
|
1939
|
+
# name: "Name", # required
|
1940
|
+
# stack_name: "Name", # required
|
1941
|
+
# })
|
1942
|
+
#
|
1943
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteEntitlement AWS API Documentation
|
1944
|
+
#
|
1945
|
+
# @overload delete_entitlement(params = {})
|
1946
|
+
# @param [Hash] params ({})
|
1947
|
+
def delete_entitlement(params = {}, options = {})
|
1948
|
+
req = build_request(:delete_entitlement, params)
|
1949
|
+
req.send_request(options)
|
1950
|
+
end
|
1951
|
+
|
1829
1952
|
# Deletes the specified fleet.
|
1830
1953
|
#
|
1831
1954
|
# @option params [required, String] :name
|
@@ -2279,6 +2402,58 @@ module Aws::AppStream
|
|
2279
2402
|
req.send_request(options)
|
2280
2403
|
end
|
2281
2404
|
|
2405
|
+
# Retrieves a list that describes one of more entitlements.
|
2406
|
+
#
|
2407
|
+
# @option params [String] :name
|
2408
|
+
# The name of the entitlement.
|
2409
|
+
#
|
2410
|
+
# @option params [required, String] :stack_name
|
2411
|
+
# The name of the stack with which the entitlement is associated.
|
2412
|
+
#
|
2413
|
+
# @option params [String] :next_token
|
2414
|
+
# The pagination token used to retrieve the next page of results for
|
2415
|
+
# this operation.
|
2416
|
+
#
|
2417
|
+
# @option params [Integer] :max_results
|
2418
|
+
# The maximum size of each page of results.
|
2419
|
+
#
|
2420
|
+
# @return [Types::DescribeEntitlementsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2421
|
+
#
|
2422
|
+
# * {Types::DescribeEntitlementsResult#entitlements #entitlements} => Array<Types::Entitlement>
|
2423
|
+
# * {Types::DescribeEntitlementsResult#next_token #next_token} => String
|
2424
|
+
#
|
2425
|
+
# @example Request syntax with placeholder values
|
2426
|
+
#
|
2427
|
+
# resp = client.describe_entitlements({
|
2428
|
+
# name: "Name",
|
2429
|
+
# stack_name: "Name", # required
|
2430
|
+
# next_token: "String",
|
2431
|
+
# max_results: 1,
|
2432
|
+
# })
|
2433
|
+
#
|
2434
|
+
# @example Response structure
|
2435
|
+
#
|
2436
|
+
# resp.entitlements #=> Array
|
2437
|
+
# resp.entitlements[0].name #=> String
|
2438
|
+
# resp.entitlements[0].stack_name #=> String
|
2439
|
+
# resp.entitlements[0].description #=> String
|
2440
|
+
# resp.entitlements[0].app_visibility #=> String, one of "ALL", "ASSOCIATED"
|
2441
|
+
# resp.entitlements[0].attributes #=> Array
|
2442
|
+
# resp.entitlements[0].attributes[0].name #=> String
|
2443
|
+
# resp.entitlements[0].attributes[0].value #=> String
|
2444
|
+
# resp.entitlements[0].created_time #=> Time
|
2445
|
+
# resp.entitlements[0].last_modified_time #=> Time
|
2446
|
+
# resp.next_token #=> String
|
2447
|
+
#
|
2448
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeEntitlements AWS API Documentation
|
2449
|
+
#
|
2450
|
+
# @overload describe_entitlements(params = {})
|
2451
|
+
# @param [Hash] params ({})
|
2452
|
+
def describe_entitlements(params = {}, options = {})
|
2453
|
+
req = build_request(:describe_entitlements, params)
|
2454
|
+
req.send_request(options)
|
2455
|
+
end
|
2456
|
+
|
2282
2457
|
# Retrieves a list that describes one or more specified fleets, if the
|
2283
2458
|
# fleet names are provided. Otherwise, all fleets in the account are
|
2284
2459
|
# described.
|
@@ -2914,6 +3089,36 @@ module Aws::AppStream
|
|
2914
3089
|
req.send_request(options)
|
2915
3090
|
end
|
2916
3091
|
|
3092
|
+
# Deletes the specified application from the specified entitlement.
|
3093
|
+
#
|
3094
|
+
# @option params [required, String] :stack_name
|
3095
|
+
# The name of the stack with which the entitlement is associated.
|
3096
|
+
#
|
3097
|
+
# @option params [required, String] :entitlement_name
|
3098
|
+
# The name of the entitlement.
|
3099
|
+
#
|
3100
|
+
# @option params [required, String] :application_identifier
|
3101
|
+
# The identifier of the application to remove from the entitlement.
|
3102
|
+
#
|
3103
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3104
|
+
#
|
3105
|
+
# @example Request syntax with placeholder values
|
3106
|
+
#
|
3107
|
+
# resp = client.disassociate_application_from_entitlement({
|
3108
|
+
# stack_name: "Name", # required
|
3109
|
+
# entitlement_name: "Name", # required
|
3110
|
+
# application_identifier: "String", # required
|
3111
|
+
# })
|
3112
|
+
#
|
3113
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFromEntitlement AWS API Documentation
|
3114
|
+
#
|
3115
|
+
# @overload disassociate_application_from_entitlement(params = {})
|
3116
|
+
# @param [Hash] params ({})
|
3117
|
+
def disassociate_application_from_entitlement(params = {}, options = {})
|
3118
|
+
req = build_request(:disassociate_application_from_entitlement, params)
|
3119
|
+
req.send_request(options)
|
3120
|
+
end
|
3121
|
+
|
2917
3122
|
# Disassociates the specified fleet from the specified stack.
|
2918
3123
|
#
|
2919
3124
|
# @option params [required, String] :fleet_name
|
@@ -3071,6 +3276,50 @@ module Aws::AppStream
|
|
3071
3276
|
req.send_request(options)
|
3072
3277
|
end
|
3073
3278
|
|
3279
|
+
# Retrieves a list of entitled applications.
|
3280
|
+
#
|
3281
|
+
# @option params [required, String] :stack_name
|
3282
|
+
# The name of the stack with which the entitlement is associated.
|
3283
|
+
#
|
3284
|
+
# @option params [required, String] :entitlement_name
|
3285
|
+
# The name of the entitlement.
|
3286
|
+
#
|
3287
|
+
# @option params [String] :next_token
|
3288
|
+
# The pagination token used to retrieve the next page of results for
|
3289
|
+
# this operation.
|
3290
|
+
#
|
3291
|
+
# @option params [Integer] :max_results
|
3292
|
+
# The maximum size of each page of results.
|
3293
|
+
#
|
3294
|
+
# @return [Types::ListEntitledApplicationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3295
|
+
#
|
3296
|
+
# * {Types::ListEntitledApplicationsResult#entitled_applications #entitled_applications} => Array<Types::EntitledApplication>
|
3297
|
+
# * {Types::ListEntitledApplicationsResult#next_token #next_token} => String
|
3298
|
+
#
|
3299
|
+
# @example Request syntax with placeholder values
|
3300
|
+
#
|
3301
|
+
# resp = client.list_entitled_applications({
|
3302
|
+
# stack_name: "Name", # required
|
3303
|
+
# entitlement_name: "Name", # required
|
3304
|
+
# next_token: "String",
|
3305
|
+
# max_results: 1,
|
3306
|
+
# })
|
3307
|
+
#
|
3308
|
+
# @example Response structure
|
3309
|
+
#
|
3310
|
+
# resp.entitled_applications #=> Array
|
3311
|
+
# resp.entitled_applications[0].application_identifier #=> String
|
3312
|
+
# resp.next_token #=> String
|
3313
|
+
#
|
3314
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListEntitledApplications AWS API Documentation
|
3315
|
+
#
|
3316
|
+
# @overload list_entitled_applications(params = {})
|
3317
|
+
# @param [Hash] params ({})
|
3318
|
+
def list_entitled_applications(params = {}, options = {})
|
3319
|
+
req = build_request(:list_entitled_applications, params)
|
3320
|
+
req.send_request(options)
|
3321
|
+
end
|
3322
|
+
|
3074
3323
|
# Retrieves a list of all tags for the specified AppStream 2.0 resource.
|
3075
3324
|
# You can tag AppStream 2.0 image builders, images, fleets, and stacks.
|
3076
3325
|
#
|
@@ -3489,6 +3738,63 @@ module Aws::AppStream
|
|
3489
3738
|
req.send_request(options)
|
3490
3739
|
end
|
3491
3740
|
|
3741
|
+
# Updates the specified entitlement.
|
3742
|
+
#
|
3743
|
+
# @option params [required, String] :name
|
3744
|
+
# The name of the entitlement.
|
3745
|
+
#
|
3746
|
+
# @option params [required, String] :stack_name
|
3747
|
+
# The name of the stack with which the entitlement is associated.
|
3748
|
+
#
|
3749
|
+
# @option params [String] :description
|
3750
|
+
# The description of the entitlement.
|
3751
|
+
#
|
3752
|
+
# @option params [String] :app_visibility
|
3753
|
+
# Specifies whether all or only selected apps are entitled.
|
3754
|
+
#
|
3755
|
+
# @option params [Array<Types::EntitlementAttribute>] :attributes
|
3756
|
+
# The attributes of the entitlement.
|
3757
|
+
#
|
3758
|
+
# @return [Types::UpdateEntitlementResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3759
|
+
#
|
3760
|
+
# * {Types::UpdateEntitlementResult#entitlement #entitlement} => Types::Entitlement
|
3761
|
+
#
|
3762
|
+
# @example Request syntax with placeholder values
|
3763
|
+
#
|
3764
|
+
# resp = client.update_entitlement({
|
3765
|
+
# name: "Name", # required
|
3766
|
+
# stack_name: "Name", # required
|
3767
|
+
# description: "Description",
|
3768
|
+
# app_visibility: "ALL", # accepts ALL, ASSOCIATED
|
3769
|
+
# attributes: [
|
3770
|
+
# {
|
3771
|
+
# name: "String", # required
|
3772
|
+
# value: "String", # required
|
3773
|
+
# },
|
3774
|
+
# ],
|
3775
|
+
# })
|
3776
|
+
#
|
3777
|
+
# @example Response structure
|
3778
|
+
#
|
3779
|
+
# resp.entitlement.name #=> String
|
3780
|
+
# resp.entitlement.stack_name #=> String
|
3781
|
+
# resp.entitlement.description #=> String
|
3782
|
+
# resp.entitlement.app_visibility #=> String, one of "ALL", "ASSOCIATED"
|
3783
|
+
# resp.entitlement.attributes #=> Array
|
3784
|
+
# resp.entitlement.attributes[0].name #=> String
|
3785
|
+
# resp.entitlement.attributes[0].value #=> String
|
3786
|
+
# resp.entitlement.created_time #=> Time
|
3787
|
+
# resp.entitlement.last_modified_time #=> Time
|
3788
|
+
#
|
3789
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateEntitlement AWS API Documentation
|
3790
|
+
#
|
3791
|
+
# @overload update_entitlement(params = {})
|
3792
|
+
# @param [Hash] params ({})
|
3793
|
+
def update_entitlement(params = {}, options = {})
|
3794
|
+
req = build_request(:update_entitlement, params)
|
3795
|
+
req.send_request(options)
|
3796
|
+
end
|
3797
|
+
|
3492
3798
|
# Updates the specified fleet.
|
3493
3799
|
#
|
3494
3800
|
# If the fleet is in the `STOPPED` state, you can update any attribute
|
@@ -3964,7 +4270,7 @@ module Aws::AppStream
|
|
3964
4270
|
params: params,
|
3965
4271
|
config: config)
|
3966
4272
|
context[:gem_name] = 'aws-sdk-appstream'
|
3967
|
-
context[:gem_version] = '1.
|
4273
|
+
context[:gem_version] = '1.64.0'
|
3968
4274
|
Seahorse::Client::Request.new(handlers, context)
|
3969
4275
|
end
|
3970
4276
|
|