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.
434 435 436 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 434 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.
3959 3960 3961 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3959 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.
3962 3963 3964 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3962 def errors_module Errors end |
Instance Method Details
#accept_eulas(params = {}) ⇒ Types::AcceptEulasResponse
Accept EULAs.
482 483 484 485 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 482 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.
3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3797 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.35.0' Seahorse::Client::Request.new(handlers, context) end |
#create_launch_profile(params = {}) ⇒ Types::CreateLaunchProfileResponse
Create a launch profile.
620 621 622 623 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 620 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.
693 694 695 696 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 693 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.
789 790 791 792 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 789 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.
846 847 848 849 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 846 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.
959 960 961 962 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 959 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.
1125 1126 1127 1128 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1125 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.
1209 1210 1211 1212 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1209 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.
1251 1252 1253 1254 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1251 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.
1308 1309 1310 1311 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1308 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`.
1385 1386 1387 1388 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1385 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.
1440 1441 1442 1443 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1440 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.
1521 1522 1523 1524 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1521 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.
1558 1559 1560 1561 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1558 def delete_studio_member(params = {}, = {}) req = build_request(:delete_studio_member, params) req.send_request() end |
#get_eula(params = {}) ⇒ Types::GetEulaResponse
Get EULA.
1590 1591 1592 1593 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1590 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
1670 1671 1672 1673 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1670 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.
1777 1778 1779 1780 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1777 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.
1851 1852 1853 1854 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1851 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.
1892 1893 1894 1895 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1892 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
1945 1946 1947 1948 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 1945 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
2016 2017 2018 2019 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2016 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.
2061 2062 2063 2064 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2061 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
2116 2117 2118 2119 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2116 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
2167 2168 2169 2170 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2167 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
2244 2245 2246 2247 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2244 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.
2280 2281 2282 2283 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2280 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.
2326 2327 2328 2329 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2326 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.
2368 2369 2370 2371 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2368 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.
2418 2419 2420 2421 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2418 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.
2510 2511 2512 2513 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2510 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.
2570 2571 2572 2573 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2570 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.
2622 2623 2624 2625 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2622 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.
2701 2702 2703 2704 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2701 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.
2792 2793 2794 2795 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2792 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.
2841 2842 2843 2844 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2841 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.
2893 2894 2895 2896 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2893 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.
2929 2930 2931 2932 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2929 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.
2979 2980 2981 2982 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 2979 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.
3024 3025 3026 3027 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3024 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.
3101 3102 3103 3104 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3101 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.
3168 3169 3170 3171 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3168 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.
3246 3247 3248 3249 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3246 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.
3276 3277 3278 3279 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3276 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Deletes the tags for a resource.
3303 3304 3305 3306 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3303 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_launch_profile(params = {}) ⇒ Types::UpdateLaunchProfileResponse
Update a launch profile.
3433 3434 3435 3436 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3433 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.
3488 3489 3490 3491 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3488 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.
3553 3554 3555 3556 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3553 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.
3625 3626 3627 3628 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3625 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.
3788 3789 3790 3791 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3788 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 |
3914 3915 3916 3917 3918 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3914 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.
3922 3923 3924 |
# File 'lib/aws-sdk-nimblestudio/client.rb', line 3922 def waiter_names waiters.keys end |