@Generated(value="software.amazon.awssdk:codegen") public interface IamAsyncWaiter extends SdkAutoCloseable
builder() method| Modifier and Type | Interface and Description |
|---|---|
static interface |
IamAsyncWaiter.Builder |
closedefault CompletableFuture<WaiterResponse<GetInstanceProfileResponse>> waitUntilInstanceProfileExists(GetInstanceProfileRequest getInstanceProfileRequest)
IamAsyncClient.getInstanceProfile(software.amazon.awssdk.services.iam.model.GetInstanceProfileRequest) API until the desired condition InstanceProfileExists is
met, or until it is determined that the resource will never enter into the desired stategetInstanceProfileRequest - the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetInstanceProfileResponse>> waitUntilInstanceProfileExists(Consumer<GetInstanceProfileRequest.Builder> getInstanceProfileRequest)
IamAsyncClient.getInstanceProfile(software.amazon.awssdk.services.iam.model.GetInstanceProfileRequest) API until the desired condition InstanceProfileExists is
met, or until it is determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder without the need to create one manually
using GetInstanceProfileRequest.builder()
getInstanceProfileRequest - The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetInstanceProfileResponse>> waitUntilInstanceProfileExists(GetInstanceProfileRequest getInstanceProfileRequest, WaiterOverrideConfiguration overrideConfig)
IamAsyncClient.getInstanceProfile(software.amazon.awssdk.services.iam.model.GetInstanceProfileRequest) API until the desired condition InstanceProfileExists is
met, or until it is determined that the resource will never enter into the desired stategetInstanceProfileRequest - The request to be used for pollingoverrideConfig - Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetInstanceProfileResponse>> waitUntilInstanceProfileExists(Consumer<GetInstanceProfileRequest.Builder> getInstanceProfileRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
IamAsyncClient.getInstanceProfile(software.amazon.awssdk.services.iam.model.GetInstanceProfileRequest) API until the desired condition InstanceProfileExists is
met, or until it is determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder and instance of the override config builder
getInstanceProfileRequest - The consumer that will configure the request to be used for pollingoverrideConfig - The consumer that will configure the per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetPolicyResponse>> waitUntilPolicyExists(GetPolicyRequest getPolicyRequest)
IamAsyncClient.getPolicy(software.amazon.awssdk.services.iam.model.GetPolicyRequest) API until the desired condition PolicyExists is met, or until it
is determined that the resource will never enter into the desired stategetPolicyRequest - the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetPolicyResponse>> waitUntilPolicyExists(Consumer<GetPolicyRequest.Builder> getPolicyRequest)
IamAsyncClient.getPolicy(software.amazon.awssdk.services.iam.model.GetPolicyRequest) API until the desired condition PolicyExists is met, or until it
is determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder without the need to create one manually
using GetPolicyRequest.builder()
getPolicyRequest - The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetPolicyResponse>> waitUntilPolicyExists(GetPolicyRequest getPolicyRequest, WaiterOverrideConfiguration overrideConfig)
IamAsyncClient.getPolicy(software.amazon.awssdk.services.iam.model.GetPolicyRequest) API until the desired condition PolicyExists is met, or until it
is determined that the resource will never enter into the desired stategetPolicyRequest - The request to be used for pollingoverrideConfig - Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetPolicyResponse>> waitUntilPolicyExists(Consumer<GetPolicyRequest.Builder> getPolicyRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
IamAsyncClient.getPolicy(software.amazon.awssdk.services.iam.model.GetPolicyRequest) API until the desired condition PolicyExists is met, or until it
is determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder and instance of the override config builder
getPolicyRequest - The consumer that will configure the request to be used for pollingoverrideConfig - The consumer that will configure the per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetRoleResponse>> waitUntilRoleExists(GetRoleRequest getRoleRequest)
IamAsyncClient.getRole(software.amazon.awssdk.services.iam.model.GetRoleRequest) API until the desired condition RoleExists is met, or until it is
determined that the resource will never enter into the desired stategetRoleRequest - the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetRoleResponse>> waitUntilRoleExists(Consumer<GetRoleRequest.Builder> getRoleRequest)
IamAsyncClient.getRole(software.amazon.awssdk.services.iam.model.GetRoleRequest) API until the desired condition RoleExists is met, or until it is
determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder without the need to create one manually
using GetRoleRequest.builder()
getRoleRequest - The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetRoleResponse>> waitUntilRoleExists(GetRoleRequest getRoleRequest, WaiterOverrideConfiguration overrideConfig)
IamAsyncClient.getRole(software.amazon.awssdk.services.iam.model.GetRoleRequest) API until the desired condition RoleExists is met, or until it is
determined that the resource will never enter into the desired stategetRoleRequest - The request to be used for pollingoverrideConfig - Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetRoleResponse>> waitUntilRoleExists(Consumer<GetRoleRequest.Builder> getRoleRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
IamAsyncClient.getRole(software.amazon.awssdk.services.iam.model.GetRoleRequest) API until the desired condition RoleExists is met, or until it is
determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder and instance of the override config builder
getRoleRequest - The consumer that will configure the request to be used for pollingoverrideConfig - The consumer that will configure the per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetUserResponse>> waitUntilUserExists(GetUserRequest getUserRequest)
IamAsyncClient.getUser(software.amazon.awssdk.services.iam.model.GetUserRequest) API until the desired condition UserExists is met, or until it is
determined that the resource will never enter into the desired stategetUserRequest - the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetUserResponse>> waitUntilUserExists(Consumer<GetUserRequest.Builder> getUserRequest)
IamAsyncClient.getUser(software.amazon.awssdk.services.iam.model.GetUserRequest) API until the desired condition UserExists is met, or until it is
determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder without the need to create one manually
using GetUserRequest.builder()
getUserRequest - The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetUserResponse>> waitUntilUserExists(GetUserRequest getUserRequest, WaiterOverrideConfiguration overrideConfig)
IamAsyncClient.getUser(software.amazon.awssdk.services.iam.model.GetUserRequest) API until the desired condition UserExists is met, or until it is
determined that the resource will never enter into the desired stategetUserRequest - The request to be used for pollingoverrideConfig - Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetUserResponse>> waitUntilUserExists(Consumer<GetUserRequest.Builder> getUserRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
IamAsyncClient.getUser(software.amazon.awssdk.services.iam.model.GetUserRequest) API until the desired condition UserExists is met, or until it is
determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder and instance of the override config builder
getUserRequest - The consumer that will configure the request to be used for pollingoverrideConfig - The consumer that will configure the per request override configuration for waitersstatic IamAsyncWaiter.Builder builder()
IamAsyncWaiter.static IamAsyncWaiter create()
IamAsyncWaiter with the default configuration.
A default IamAsyncClient will be created to poll resources. It is recommended to share a single
instance of the waiter created via this method. If it is not desirable to share a waiter instance, invoke
SdkAutoCloseable.close() to release the resources once the waiter is not needed.
IamAsyncWaiterCopyright © 2022. All rights reserved.