software.amazon.awssdk.services.elasticbeanstalk.waiters.internal.WaitersRuntime Maven / Gradle / Ivy
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package software.amazon.awssdk.services.elasticbeanstalk.waiters.internal;
import static java.util.stream.Collectors.toList;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.function.Function;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkInternalApi;
import software.amazon.awssdk.core.SdkPojo;
import software.amazon.awssdk.core.SdkResponse;
import software.amazon.awssdk.core.exception.SdkServiceException;
import software.amazon.awssdk.core.waiters.WaiterAcceptor;
import software.amazon.awssdk.core.waiters.WaiterState;
import software.amazon.awssdk.utils.ToString;
/**
* Contains classes used at runtime by the code generator classes for waiter acceptors generated from JMESPath
* expressions.
*/
@Generated("software.amazon.awssdk:codegen")
@SdkInternalApi
public final class WaitersRuntime {
/**
* The default acceptors that should be matched *last* in the list of acceptors used by the SDK client waiters.
*/
public static final List> DEFAULT_ACCEPTORS = Collections.unmodifiableList(defaultAcceptors());
private WaitersRuntime() {
}
private static List> defaultAcceptors() {
return Collections.singletonList(retryOnUnmatchedResponseWaiter());
}
private static WaiterAcceptor
© 2015 - 2025 Weber Informatics LLC | Privacy Policy