Class: Aws::NimbleStudio::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::NimbleStudio::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-nimblestudio/client.rb
Overview
An API client for NimbleStudio. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::NimbleStudio::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#accept_eulas(params = {}) ⇒ Types::AcceptEulasResponse
Accept EULAs.
-
#create_launch_profile(params = {}) ⇒ Types::CreateLaunchProfileResponse
Create a launch profile.
-
#create_streaming_image(params = {}) ⇒ Types::CreateStreamingImageResponse
Creates a streaming image resource in a studio.
-
#create_streaming_session(params = {}) ⇒ Types::CreateStreamingSessionResponse
Creates a streaming session in a studio.
-
#create_streaming_session_stream(params = {}) ⇒ Types::CreateStreamingSessionStreamResponse
Creates a streaming session stream for a streaming session.
-
#create_studio(params = {}) ⇒ Types::CreateStudioResponse
Create a new studio.
-
#create_studio_component(params = {}) ⇒ Types::CreateStudioComponentResponse
Creates a studio component resource.
-
#delete_launch_profile(params = {}) ⇒ Types::DeleteLaunchProfileResponse
Permanently delete a launch profile.
-
#delete_launch_profile_member(params = {}) ⇒ Struct
Delete a user from launch profile membership.
-
#delete_streaming_image(params = {}) ⇒ Types::DeleteStreamingImageResponse
Delete streaming image.
-
#delete_streaming_session(params = {}) ⇒ Types::DeleteStreamingSessionResponse
Deletes streaming session resource.
-
#delete_studio(params = {}) ⇒ Types::DeleteStudioResponse
Delete a studio resource.
-
#delete_studio_component(params = {}) ⇒ Types::DeleteStudioComponentResponse
Deletes a studio component resource.
-
#delete_studio_member(params = {}) ⇒ Struct
Delete a user from studio membership.
-
#get_eula(params = {}) ⇒ Types::GetEulaResponse
Get EULA.
-
#get_launch_profile(params = {}) ⇒ Types::GetLaunchProfileResponse
Get a launch profile.
-
#get_launch_profile_details(params = {}) ⇒ Types::GetLaunchProfileDetailsResponse
Launch profile details include the launch profile resource and summary information of resources that are used by, or available to, the launch profile.
-
#get_launch_profile_initialization(params = {}) ⇒ Types::GetLaunchProfileInitializationResponse
Get a launch profile initialization.
-
#get_launch_profile_member(params = {}) ⇒ Types::GetLaunchProfileMemberResponse
Get a user persona in launch profile membership.
-
#get_streaming_image(params = {}) ⇒ Types::GetStreamingImageResponse
Get streaming image.
-
#get_streaming_session(params = {}) ⇒ Types::GetStreamingSessionResponse
Gets StreamingSession resource.
-
#get_streaming_session_backup(params = {}) ⇒ Types::GetStreamingSessionBackupResponse
Gets ‘StreamingSessionBackup` resource.
-
#get_streaming_session_stream(params = {}) ⇒ Types::GetStreamingSessionStreamResponse
Gets a StreamingSessionStream for a streaming session.
-
#get_studio(params = {}) ⇒ Types::GetStudioResponse
Get a studio resource.
-
#get_studio_component(params = {}) ⇒ Types::GetStudioComponentResponse
Gets a studio component resource.
-
#get_studio_member(params = {}) ⇒ Types::GetStudioMemberResponse
Get a user’s membership in a studio.
-
#list_eula_acceptances(params = {}) ⇒ Types::ListEulaAcceptancesResponse
List EULA acceptances.
-
#list_eulas(params = {}) ⇒ Types::ListEulasResponse
List EULAs.
-
#list_launch_profile_members(params = {}) ⇒ Types::ListLaunchProfileMembersResponse
Get all users in a given launch profile membership.
-
#list_launch_profiles(params = {}) ⇒ Types::ListLaunchProfilesResponse
List all the launch profiles a studio.
-
#list_streaming_images(params = {}) ⇒ Types::ListStreamingImagesResponse
List the streaming image resources available to this studio.
-
#list_streaming_session_backups(params = {}) ⇒ Types::ListStreamingSessionBackupsResponse
Lists the backups of a streaming session in a studio.
-
#list_streaming_sessions(params = {}) ⇒ Types::ListStreamingSessionsResponse
Lists the streaming sessions in a studio.
-
#list_studio_components(params = {}) ⇒ Types::ListStudioComponentsResponse
Lists the ‘StudioComponents` in a studio.
-
#list_studio_members(params = {}) ⇒ Types::ListStudioMembersResponse
Get all users in a given studio membership.
-
#list_studios(params = {}) ⇒ Types::ListStudiosResponse
List studios in your Amazon Web Services accounts in the requested Amazon Web Services Region.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Gets the tags for a resource, given its Amazon Resource Names (ARN).
-
#put_launch_profile_members(params = {}) ⇒ Struct
Add/update users with given persona to launch profile membership.
-
#put_studio_members(params = {}) ⇒ Struct
Add/update users with given persona to studio membership.
-
#start_streaming_session(params = {}) ⇒ Types::StartStreamingSessionResponse
Transitions sessions from the ‘STOPPED` state into the `READY` state.
-
#start_studio_sso_configuration_repair(params = {}) ⇒ Types::StartStudioSSOConfigurationRepairResponse
Repairs the IAM Identity Center configuration for a given studio.
-
#stop_streaming_session(params = {}) ⇒ Types::StopStreamingSessionResponse
Transitions sessions from the ‘READY` state into the `STOPPED` state.
-
#tag_resource(params = {}) ⇒ Struct
Creates tags for a resource, given its ARN.
-
#untag_resource(params = {}) ⇒ Struct
Deletes the tags for a resource.
-
#update_launch_profile(params = {}) ⇒ Types::UpdateLaunchProfileResponse
Update a launch profile.
-
#update_launch_profile_member(params = {}) ⇒ Types::UpdateLaunchProfileMemberResponse
Update a user persona in launch profile membership.
-
#update_streaming_image(params = {}) ⇒ Types::UpdateStreamingImageResponse
Update streaming image.
-
#update_studio(params = {}) ⇒ Types::UpdateStudioResponse
Update a Studio resource.
-
#update_studio_component(params = {}) ⇒ Types::UpdateStudioComponentResponse
Updates a studio component resource.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
-
#wait_until(waiter_name, params = {}, options = {}) {|w.waiter| ... } ⇒ Boolean
Polls an API operation until a resource enters a desired state.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
444 445 446 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 444 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3969 3970 3971 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3969 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3972 3973 3974 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3972 def errors_module Errors end |
Instance Method Details
#accept_eulas(params = {}) ⇒ Types::AcceptEulasResponse
Accept EULAs.
492 493 494 495 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 492 def accept_eulas(params = {}, = {}) req = build_request(:accept_eulas, params) req.send_request() end |
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3807 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::NimbleStudio') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-nimblestudio' context[:gem_version] = '1.41.0' Seahorse::Client::Request.new(handlers, context) end |
#create_launch_profile(params = {}) ⇒ Types::CreateLaunchProfileResponse
Create a launch profile.
630 631 632 633 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 630 def create_launch_profile(params = {}, = {}) req = build_request(:create_launch_profile, params) req.send_request() end |
#create_streaming_image(params = {}) ⇒ Types::CreateStreamingImageResponse
Creates a streaming image resource in a studio.
703 704 705 706 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 703 def create_streaming_image(params = {}, = {}) req = build_request(:create_streaming_image, params) req.send_request() end |
#create_streaming_session(params = {}) ⇒ Types::CreateStreamingSessionResponse
Creates a streaming session in a studio.
After invoking this operation, you must poll GetStreamingSession until the streaming session is in the ‘READY` state.
799 800 801 802 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 799 def create_streaming_session(params = {}, = {}) req = build_request(:create_streaming_session, params) req.send_request() end |
#create_streaming_session_stream(params = {}) ⇒ Types::CreateStreamingSessionStreamResponse
Creates a streaming session stream for a streaming session.
After invoking this API, invoke GetStreamingSessionStream with the returned streamId to poll the resource until it is in the ‘READY` state.
856 857 858 859 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 856 def create_streaming_session_stream(params = {}, = {}) req = build_request(:create_streaming_session_stream, params) req.send_request() end |
#create_studio(params = {}) ⇒ Types::CreateStudioResponse
Create a new studio.
When creating a studio, two IAM roles must be provided: the admin role and the user role. These roles are assumed by your users when they log in to the Nimble Studio portal.
The user role must have the ‘AmazonNimbleStudio-StudioUser` managed policy attached for the portal to function properly.
The admin role must have the ‘AmazonNimbleStudio-StudioAdmin` managed policy attached for the portal to function properly.
You may optionally specify a KMS key in the ‘StudioEncryptionConfiguration`.
In Nimble Studio, resource names, descriptions, initialization scripts, and other data you provide are always encrypted at rest using an KMS key. By default, this key is owned by Amazon Web Services and managed on your behalf. You may provide your own KMS key when calling ‘CreateStudio` to encrypt this data using a key you own and manage.
When providing an KMS key during studio creation, Nimble Studio creates KMS grants in your account to provide your studio user and admin roles access to these KMS keys.
If you delete this grant, the studio will no longer be accessible to your portal users.
If you delete the studio KMS key, your studio will no longer be accessible.
969 970 971 972 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 969 def create_studio(params = {}, = {}) req = build_request(:create_studio, params) req.send_request() end |
#create_studio_component(params = {}) ⇒ Types::CreateStudioComponentResponse
Creates a studio component resource.
1135 1136 1137 1138 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1135 def create_studio_component(params = {}, = {}) req = build_request(:create_studio_component, params) req.send_request() end |
#delete_launch_profile(params = {}) ⇒ Types::DeleteLaunchProfileResponse
Permanently delete a launch profile.
1219 1220 1221 1222 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1219 def delete_launch_profile(params = {}, = {}) req = build_request(:delete_launch_profile, params) req.send_request() end |
#delete_launch_profile_member(params = {}) ⇒ Struct
Delete a user from launch profile membership.
1261 1262 1263 1264 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1261 def delete_launch_profile_member(params = {}, = {}) req = build_request(:delete_launch_profile_member, params) req.send_request() end |
#delete_streaming_image(params = {}) ⇒ Types::DeleteStreamingImageResponse
Delete streaming image.
1318 1319 1320 1321 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1318 def delete_streaming_image(params = {}, = {}) req = build_request(:delete_streaming_image, params) req.send_request() end |
#delete_streaming_session(params = {}) ⇒ Types::DeleteStreamingSessionResponse
Deletes streaming session resource.
After invoking this operation, use GetStreamingSession to poll the resource until it transitions to a ‘DELETED` state.
A streaming session will count against your streaming session quota until it is marked ‘DELETED`.
1395 1396 1397 1398 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1395 def delete_streaming_session(params = {}, = {}) req = build_request(:delete_streaming_session, params) req.send_request() end |
#delete_studio(params = {}) ⇒ Types::DeleteStudioResponse
Delete a studio resource.
1450 1451 1452 1453 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1450 def delete_studio(params = {}, = {}) req = build_request(:delete_studio, params) req.send_request() end |
#delete_studio_component(params = {}) ⇒ Types::DeleteStudioComponentResponse
Deletes a studio component resource.
1531 1532 1533 1534 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1531 def delete_studio_component(params = {}, = {}) req = build_request(:delete_studio_component, params) req.send_request() end |
#delete_studio_member(params = {}) ⇒ Struct
Delete a user from studio membership.
1568 1569 1570 1571 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1568 def delete_studio_member(params = {}, = {}) req = build_request(:delete_studio_member, params) req.send_request() end |
#get_eula(params = {}) ⇒ Types::GetEulaResponse
Get EULA.
1600 1601 1602 1603 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1600 def get_eula(params = {}, = {}) req = build_request(:get_eula, params) req.send_request() end |
#get_launch_profile(params = {}) ⇒ Types::GetLaunchProfileResponse
Get a launch profile.
The following waiters are defined for this operation (see #wait_until for detailed usage):
* launch_profile_deleted
* launch_profile_ready
1680 1681 1682 1683 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1680 def get_launch_profile(params = {}, = {}) req = build_request(:get_launch_profile, params) req.send_request() end |
#get_launch_profile_details(params = {}) ⇒ Types::GetLaunchProfileDetailsResponse
Launch profile details include the launch profile resource and summary information of resources that are used by, or available to, the launch profile. This includes the name and description of all studio components used by the launch profiles, and the name and description of streaming images that can be used with this launch profile.
1787 1788 1789 1790 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1787 def get_launch_profile_details(params = {}, = {}) req = build_request(:get_launch_profile_details, params) req.send_request() end |
#get_launch_profile_initialization(params = {}) ⇒ Types::GetLaunchProfileInitializationResponse
Get a launch profile initialization.
1861 1862 1863 1864 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1861 def get_launch_profile_initialization(params = {}, = {}) req = build_request(:get_launch_profile_initialization, params) req.send_request() end |
#get_launch_profile_member(params = {}) ⇒ Types::GetLaunchProfileMemberResponse
Get a user persona in launch profile membership.
1902 1903 1904 1905 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1902 def get_launch_profile_member(params = {}, = {}) req = build_request(:get_launch_profile_member, params) req.send_request() end |
#get_streaming_image(params = {}) ⇒ Types::GetStreamingImageResponse
Get streaming image.
The following waiters are defined for this operation (see #wait_until for detailed usage):
* streaming_image_deleted
* streaming_image_ready
1955 1956 1957 1958 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1955 def get_streaming_image(params = {}, = {}) req = build_request(:get_streaming_image, params) req.send_request() end |
#get_streaming_session(params = {}) ⇒ Types::GetStreamingSessionResponse
Gets StreamingSession resource.
Invoke this operation to poll for a streaming session state while creating or deleting a session.
The following waiters are defined for this operation (see #wait_until for detailed usage):
* streaming_session_deleted
* streaming_session_ready
* streaming_session_stopped
2026 2027 2028 2029 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2026 def get_streaming_session(params = {}, = {}) req = build_request(:get_streaming_session, params) req.send_request() end |
#get_streaming_session_backup(params = {}) ⇒ Types::GetStreamingSessionBackupResponse
Gets ‘StreamingSessionBackup` resource.
Invoke this operation to poll for a streaming session backup while stopping a streaming session.
2071 2072 2073 2074 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2071 def get_streaming_session_backup(params = {}, = {}) req = build_request(:get_streaming_session_backup, params) req.send_request() end |
#get_streaming_session_stream(params = {}) ⇒ Types::GetStreamingSessionStreamResponse
Gets a StreamingSessionStream for a streaming session.
Invoke this operation to poll the resource after invoking ‘CreateStreamingSessionStream`.
After the ‘StreamingSessionStream` changes to the `READY` state, the url property will contain a stream to be used with the DCV streaming client.
The following waiters are defined for this operation (see #wait_until for detailed usage):
* streaming_session_stream_ready
2126 2127 2128 2129 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2126 def get_streaming_session_stream(params = {}, = {}) req = build_request(:get_streaming_session_stream, params) req.send_request() end |
#get_studio(params = {}) ⇒ Types::GetStudioResponse
Get a studio resource.
The following waiters are defined for this operation (see #wait_until for detailed usage):
* studio_deleted
* studio_ready
2177 2178 2179 2180 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2177 def get_studio(params = {}, = {}) req = build_request(:get_studio, params) req.send_request() end |
#get_studio_component(params = {}) ⇒ Types::GetStudioComponentResponse
Gets a studio component resource.
The following waiters are defined for this operation (see #wait_until for detailed usage):
* studio_component_deleted
* studio_component_ready
2254 2255 2256 2257 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2254 def get_studio_component(params = {}, = {}) req = build_request(:get_studio_component, params) req.send_request() end |
#get_studio_member(params = {}) ⇒ Types::GetStudioMemberResponse
Get a user’s membership in a studio.
2290 2291 2292 2293 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2290 def get_studio_member(params = {}, = {}) req = build_request(:get_studio_member, params) req.send_request() end |
#list_eula_acceptances(params = {}) ⇒ Types::ListEulaAcceptancesResponse
List EULA acceptances.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2336 2337 2338 2339 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2336 def list_eula_acceptances(params = {}, = {}) req = build_request(:list_eula_acceptances, params) req.send_request() end |
#list_eulas(params = {}) ⇒ Types::ListEulasResponse
List EULAs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2378 2379 2380 2381 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2378 def list_eulas(params = {}, = {}) req = build_request(:list_eulas, params) req.send_request() end |
#list_launch_profile_members(params = {}) ⇒ Types::ListLaunchProfileMembersResponse
Get all users in a given launch profile membership.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2428 2429 2430 2431 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2428 def list_launch_profile_members(params = {}, = {}) req = build_request(:list_launch_profile_members, params) req.send_request() end |
#list_launch_profiles(params = {}) ⇒ Types::ListLaunchProfilesResponse
List all the launch profiles a studio.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2520 2521 2522 2523 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2520 def list_launch_profiles(params = {}, = {}) req = build_request(:list_launch_profiles, params) req.send_request() end |
#list_streaming_images(params = {}) ⇒ Types::ListStreamingImagesResponse
List the streaming image resources available to this studio.
This list will contain both images provided by Amazon Web Services, as well as streaming images that you have created in your studio.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2580 2581 2582 2583 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2580 def list_streaming_images(params = {}, = {}) req = build_request(:list_streaming_images, params) req.send_request() end |
#list_streaming_session_backups(params = {}) ⇒ Types::ListStreamingSessionBackupsResponse
Lists the backups of a streaming session in a studio.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2632 2633 2634 2635 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2632 def list_streaming_session_backups(params = {}, = {}) req = build_request(:list_streaming_session_backups, params) req.send_request() end |
#list_streaming_sessions(params = {}) ⇒ Types::ListStreamingSessionsResponse
Lists the streaming sessions in a studio.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2711 2712 2713 2714 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2711 def list_streaming_sessions(params = {}, = {}) req = build_request(:list_streaming_sessions, params) req.send_request() end |
#list_studio_components(params = {}) ⇒ Types::ListStudioComponentsResponse
Lists the ‘StudioComponents` in a studio.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2802 2803 2804 2805 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2802 def list_studio_components(params = {}, = {}) req = build_request(:list_studio_components, params) req.send_request() end |
#list_studio_members(params = {}) ⇒ Types::ListStudioMembersResponse
Get all users in a given studio membership.
<note markdown=“1”> ‘ListStudioMembers` only returns admin members.
</note>
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2851 2852 2853 2854 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2851 def list_studio_members(params = {}, = {}) req = build_request(:list_studio_members, params) req.send_request() end |
#list_studios(params = {}) ⇒ Types::ListStudiosResponse
List studios in your Amazon Web Services accounts in the requested Amazon Web Services Region.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2903 2904 2905 2906 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2903 def list_studios(params = {}, = {}) req = build_request(:list_studios, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Gets the tags for a resource, given its Amazon Resource Names (ARN).
This operation supports ARNs for all resource types in Nimble Studio that support tags, including studio, studio component, launch profile, streaming image, and streaming session. All resources that can be tagged will contain an ARN property, so you do not have to create this ARN yourself.
2939 2940 2941 2942 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2939 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#put_launch_profile_members(params = {}) ⇒ Struct
Add/update users with given persona to launch profile membership.
2989 2990 2991 2992 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2989 def put_launch_profile_members(params = {}, = {}) req = build_request(:put_launch_profile_members, params) req.send_request() end |
#put_studio_members(params = {}) ⇒ Struct
Add/update users with given persona to studio membership.
3034 3035 3036 3037 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3034 def put_studio_members(params = {}, = {}) req = build_request(:put_studio_members, params) req.send_request() end |
#start_streaming_session(params = {}) ⇒ Types::StartStreamingSessionResponse
Transitions sessions from the ‘STOPPED` state into the `READY` state. The `START_IN_PROGRESS` state is the intermediate state between the `STOPPED` and `READY` states.
3111 3112 3113 3114 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3111 def start_streaming_session(params = {}, = {}) req = build_request(:start_streaming_session, params) req.send_request() end |
#start_studio_sso_configuration_repair(params = {}) ⇒ Types::StartStudioSSOConfigurationRepairResponse
Repairs the IAM Identity Center configuration for a given studio.
If the studio has a valid IAM Identity Center configuration currently associated with it, this operation will fail with a validation error.
If the studio does not have a valid IAM Identity Center configuration currently associated with it, then a new IAM Identity Center application is created for the studio and the studio is changed to the ‘READY` state.
After the IAM Identity Center application is repaired, you must use the Amazon Nimble Studio console to add administrators and users to your studio.
3178 3179 3180 3181 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3178 def start_studio_sso_configuration_repair(params = {}, = {}) req = build_request(:start_studio_sso_configuration_repair, params) req.send_request() end |
#stop_streaming_session(params = {}) ⇒ Types::StopStreamingSessionResponse
Transitions sessions from the ‘READY` state into the `STOPPED` state. The `STOP_IN_PROGRESS` state is the intermediate state between the `READY` and `STOPPED` states.
3256 3257 3258 3259 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3256 def stop_streaming_session(params = {}, = {}) req = build_request(:stop_streaming_session, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Creates tags for a resource, given its ARN.
3286 3287 3288 3289 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3286 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Deletes the tags for a resource.
3313 3314 3315 3316 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3313 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_launch_profile(params = {}) ⇒ Types::UpdateLaunchProfileResponse
Update a launch profile.
3443 3444 3445 3446 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3443 def update_launch_profile(params = {}, = {}) req = build_request(:update_launch_profile, params) req.send_request() end |
#update_launch_profile_member(params = {}) ⇒ Types::UpdateLaunchProfileMemberResponse
Update a user persona in launch profile membership.
3498 3499 3500 3501 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3498 def update_launch_profile_member(params = {}, = {}) req = build_request(:update_launch_profile_member, params) req.send_request() end |
#update_streaming_image(params = {}) ⇒ Types::UpdateStreamingImageResponse
Update streaming image.
3563 3564 3565 3566 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3563 def update_streaming_image(params = {}, = {}) req = build_request(:update_streaming_image, params) req.send_request() end |
#update_studio(params = {}) ⇒ Types::UpdateStudioResponse
Update a Studio resource.
Currently, this operation only supports updating the displayName of your studio.
3635 3636 3637 3638 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3635 def update_studio(params = {}, = {}) req = build_request(:update_studio, params) req.send_request() end |
#update_studio_component(params = {}) ⇒ Types::UpdateStudioComponentResponse
Updates a studio component resource.
3798 3799 3800 3801 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3798 def update_studio_component(params = {}, = {}) req = build_request(:update_studio_component, params) req.send_request() end |
#wait_until(waiter_name, params = {}, options = {}) {|w.waiter| ... } ⇒ Boolean
Polls an API operation until a resource enters a desired state.
## Basic Usage
A waiter will call an API operation until:
-
It is successful
-
It enters a terminal state
-
It makes the maximum number of attempts
In between attempts, the waiter will sleep.
# polls in a loop, sleeping between attempts
client.wait_until(waiter_name, params)
## Configuration
You can configure the maximum number of polling attempts, and the delay (in seconds) between each polling attempt. You can pass configuration as the final arguments hash.
# poll for ~25 seconds
client.wait_until(waiter_name, params, {
max_attempts: 5,
delay: 5,
})
## Callbacks
You can be notified before each polling attempt and before each delay. If you throw ‘:success` or `:failure` from these callbacks, it will terminate the waiter.
started_at = Time.now
client.wait_until(waiter_name, params, {
# disable max attempts
max_attempts: nil,
# poll for 1 hour, instead of a number of attempts
before_wait: -> (attempts, response) do
throw :failure if Time.now - started_at > 3600
end
})
## Handling Errors
When a waiter is unsuccessful, it will raise an error. All of the failure errors extend from Waiters::Errors::WaiterFailed.
begin
client.wait_until(...)
rescue Aws::Waiters::Errors::WaiterFailed
# resource did not enter the desired state in time
end
## Valid Waiters
The following table lists the valid waiter names, the operations they call, and the default ‘:delay` and `:max_attempts` values.
| waiter_name | params | :delay | :max_attempts | | —————————— | ————————————- | ——– | ————- | | launch_profile_deleted | #get_launch_profile | 5 | 150 | | launch_profile_ready | #get_launch_profile | 5 | 150 | | streaming_image_deleted | #get_streaming_image | 2 | 60 | | streaming_image_ready | #get_streaming_image | 2 | 60 | | streaming_session_deleted | #get_streaming_session | 5 | 180 | | streaming_session_ready | #get_streaming_session | 10 | 180 | | streaming_session_stopped | #get_streaming_session | 5 | 180 | | streaming_session_stream_ready | #get_streaming_session_stream | 5 | 30 | | studio_component_deleted | #get_studio_component | 1 | 120 | | studio_component_ready | #get_studio_component | 2 | 60 | | studio_deleted | #get_studio | 2 | 60 | | studio_ready | #get_studio | 2 | 60 |
3924 3925 3926 3927 3928 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3924 def wait_until(waiter_name, params = {}, = {}) w = waiter(waiter_name, ) yield(w.waiter) if block_given? # deprecated w.wait(params) end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3932 3933 3934 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3932 def waiter_names waiters.keys end |