Uses of Class
codes.grow.packages.cloudwatchlogs.core.CloudWatchLogsException
Packages that use CloudWatchLogsException
Package
Description
Grow Codes SDK for Amazon CloudWatch Logs.
-
Uses of CloudWatchLogsException in codes.grow.packages.cloudwatchlogs
Methods in codes.grow.packages.cloudwatchlogs that return CloudWatchLogsExceptionModifier and TypeMethodDescriptionstatic CloudWatchLogsExceptionAwsErrors.map(String operation, Throwable error, Collection<String> knownSecrets) Maps any error of an AWS SDK call to aCloudWatchLogsException.Methods in codes.grow.packages.cloudwatchlogs that return types with arguments of type CloudWatchLogsExceptionModifier and TypeMethodDescriptionLiveTailHandle.error()Returns the error that ended the session, if any (also passed toonError).LiveTailOptions.onError()Returns the value of theonErrorrecord component.Method parameters in codes.grow.packages.cloudwatchlogs with type arguments of type CloudWatchLogsExceptionModifier and TypeMethodDescriptionLiveTailOptions.Builder.onError(Consumer<CloudWatchLogsException> value) Sets onError: called with the error that ends the session (mapped to the SDK exceptions).Constructor parameters in codes.grow.packages.cloudwatchlogs with type arguments of type CloudWatchLogsExceptionModifierConstructorDescriptionLiveTailOptions(Consumer<CloudWatchLogsException> onError, Consumer<LiveTailUpdate> onUpdate) Creates an instance of aLiveTailOptionsrecord class. -
Uses of CloudWatchLogsException in codes.grow.packages.cloudwatchlogs.core
Subclasses of CloudWatchLogsException in codes.grow.packages.cloudwatchlogs.coreModifier and TypeClassDescriptionclassMissing or invalid credentials (HTTP 401).classThe caller cancelled the operation (future cancelled, thread interrupted, client closed).classInvalid or missing configuration.classConflicting write or check-and-set mismatch (HTTP 409, 412).classThe record does not exist (HTTP 404).classThe credentials lack a permission (HTTP 403).classThe service rate-limited the call (HTTP 429); seeretryAfter().classA connect, request or total deadline was exceeded (or HTTP 408, 504).classNetwork error or HTTP 500, 502, 503.classThe service or deployment does not offer this capability (HTTP 501).classThe request or a value is invalid (HTTP 400, 413, 422, other 4xx).Methods in codes.grow.packages.cloudwatchlogs.core that return CloudWatchLogsExceptionModifier and TypeMethodDescriptionstatic CloudWatchLogsExceptionHttpTransport.asSdkException(Throwable t, String operation) Converts any throwable from a future into the matching SDK exception.Hooks.ErrorInfo.error()Returns the value of theerrorrecord component.ErrorMapper.map(TransportResponse resp, CloudWatchLogsException error) Maps a failed response.static CloudWatchLogsExceptionCloudWatchLogsException.of(ErrorCode code, String message, Integer httpStatus, String requestId, boolean retryable, Duration retryAfter, Throwable cause) Likeof(ErrorCode, String, Integer, String, Duration, Throwable)with an explicitretryableflag instead of the default of the code.static CloudWatchLogsExceptionCloudWatchLogsException.of(ErrorCode code, String message, Integer httpStatus, String requestId, Duration retryAfter, Throwable cause) Creates the subclass that matchescode.Methods in codes.grow.packages.cloudwatchlogs.core with parameters of type CloudWatchLogsExceptionModifier and TypeMethodDescriptionstatic HealthStatusHealthCheck.fromError(CloudWatchLogsException e) Maps a transport error tounreachable.ErrorMapper.map(TransportResponse resp, CloudWatchLogsException error) Maps a failed response.Constructors in codes.grow.packages.cloudwatchlogs.core with parameters of type CloudWatchLogsExceptionModifierConstructorDescriptionErrorInfo(String method, String url, CloudWatchLogsException error, int attempt, boolean willRetry) Creates an instance of aErrorInforecord class. -
Uses of CloudWatchLogsException in codes.grow.packages.cloudwatchlogs.logging
Methods in codes.grow.packages.cloudwatchlogs.logging that return types with arguments of type CloudWatchLogsExceptionModifier and TypeMethodDescriptionExportResult.error()Returns the value of theerrorrecord component.Methods in codes.grow.packages.cloudwatchlogs.logging with parameters of type CloudWatchLogsExceptionModifier and TypeMethodDescriptionstatic ExportResultExportResult.failure(int accepted, int rejected, CloudWatchLogsException e) Some or all records failed.Constructor parameters in codes.grow.packages.cloudwatchlogs.logging with type arguments of type CloudWatchLogsExceptionModifierConstructorDescriptionExportResult(int accepted, int rejected, Optional<CloudWatchLogsException> error) Validates the result.