Skip to content

Commit

Permalink
feat(aws-android-sdk-lambda): update models to latest (#3094)
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Roach <tjroach@amazon.com>
Co-authored-by: Thomas Leing <bluezebragames@gmail.com>
  • Loading branch information
3 people authored Dec 15, 2022
1 parent cd60e8d commit ae1f395
Show file tree
Hide file tree
Showing 26 changed files with 468 additions and 150 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ public interface AWSLambda {
* For example, if you invoke a function asynchronously and it returns an
* error, Lambda executes the function up to two more times. For more
* information, see <a href=
* "https://docs.aws.amazon.com/lambda/latest/dg/retries-on-errors.html"
* >Retry Behavior</a>.
* "https://docs.aws.amazon.com/lambda/latest/dg/invocation-retries.html"
* >Error handling and automatic retries in Lambda</a>.
* </p>
* <p>
* For <a href=
Expand All @@ -228,26 +228,26 @@ public interface AWSLambda {
* your function may receive the same event multiple times, even if no error
* occurs. To retain events that were not processed, configure your function
* with a <a href=
* "https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq"
* "https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq"
* >dead-letter queue</a>.
* </p>
* <p>
* The status code in the API response doesn't reflect function errors.
* Error codes are reserved for errors that prevent your function from
* executing, such as permissions errors, <a
* href="https://docs.aws.amazon.com/lambda/latest/dg/limits.html">limit
* errors</a>, or issues with your function's code and configuration. For
* example, Lambda returns <code>TooManyRequestsException</code> if
* executing the function would cause you to exceed a concurrency limit at
* executing, such as permissions errors, <a href=
* "https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html"
* >quota</a> errors, or issues with your function's code and configuration.
* For example, Lambda returns <code>TooManyRequestsException</code> if
* running the function would cause you to exceed a concurrency limit at
* either the account level (<code>ConcurrentInvocationLimitExceeded</code>)
* or function level (
* <code>ReservedFunctionConcurrentInvocationLimitExceeded</code>).
* </p>
* <p>
* For functions with a long timeout, your client might be disconnected
* during synchronous invocation while it waits for a response. Configure
* your HTTP client, SDK, firewall, proxy, or operating system to allow for
* long connections with timeout or keep-alive settings.
* For functions with a long timeout, your client might disconnect during
* synchronous invocation while it waits for a response. Configure your HTTP
* client, SDK, firewall, proxy, or operating system to allow for long
* connections with timeout or keep-alive settings.
* </p>
* <p>
* This operation requires permission for the <a href=
Expand Down Expand Up @@ -275,6 +275,9 @@ public interface AWSLambda {
* @throws EFSMountFailureException
* @throws EFSMountTimeoutException
* @throws EFSIOException
* @throws SnapStartException
* @throws SnapStartTimeoutException
* @throws SnapStartNotReadyException
* @throws EC2ThrottledException
* @throws EC2AccessDeniedException
* @throws InvalidSubnetIDException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,9 @@ private void init() {
jsonErrorUnmarshallers.add(new ResourceNotFoundExceptionUnmarshaller());
jsonErrorUnmarshallers.add(new ResourceNotReadyExceptionUnmarshaller());
jsonErrorUnmarshallers.add(new ServiceExceptionUnmarshaller());
jsonErrorUnmarshallers.add(new SnapStartExceptionUnmarshaller());
jsonErrorUnmarshallers.add(new SnapStartNotReadyExceptionUnmarshaller());
jsonErrorUnmarshallers.add(new SnapStartTimeoutExceptionUnmarshaller());
jsonErrorUnmarshallers.add(new SubnetIPAddressLimitReachedExceptionUnmarshaller());
jsonErrorUnmarshallers.add(new TooManyRequestsExceptionUnmarshaller());
jsonErrorUnmarshallers.add(new UnsupportedMediaTypeExceptionUnmarshaller());
Expand Down Expand Up @@ -499,8 +502,8 @@ private static ClientConfiguration adjustClientConfiguration(ClientConfiguration
* For example, if you invoke a function asynchronously and it returns an
* error, Lambda executes the function up to two more times. For more
* information, see <a href=
* "https://docs.aws.amazon.com/lambda/latest/dg/retries-on-errors.html"
* >Retry Behavior</a>.
* "https://docs.aws.amazon.com/lambda/latest/dg/invocation-retries.html"
* >Error handling and automatic retries in Lambda</a>.
* </p>
* <p>
* For <a href=
Expand All @@ -511,26 +514,26 @@ private static ClientConfiguration adjustClientConfiguration(ClientConfiguration
* your function may receive the same event multiple times, even if no error
* occurs. To retain events that were not processed, configure your function
* with a <a href=
* "https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq"
* "https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq"
* >dead-letter queue</a>.
* </p>
* <p>
* The status code in the API response doesn't reflect function errors.
* Error codes are reserved for errors that prevent your function from
* executing, such as permissions errors, <a
* href="https://docs.aws.amazon.com/lambda/latest/dg/limits.html">limit
* errors</a>, or issues with your function's code and configuration. For
* example, Lambda returns <code>TooManyRequestsException</code> if
* executing the function would cause you to exceed a concurrency limit at
* executing, such as permissions errors, <a href=
* "https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html"
* >quota</a> errors, or issues with your function's code and configuration.
* For example, Lambda returns <code>TooManyRequestsException</code> if
* running the function would cause you to exceed a concurrency limit at
* either the account level (<code>ConcurrentInvocationLimitExceeded</code>)
* or function level (
* <code>ReservedFunctionConcurrentInvocationLimitExceeded</code>).
* </p>
* <p>
* For functions with a long timeout, your client might be disconnected
* during synchronous invocation while it waits for a response. Configure
* your HTTP client, SDK, firewall, proxy, or operating system to allow for
* long connections with timeout or keep-alive settings.
* For functions with a long timeout, your client might disconnect during
* synchronous invocation while it waits for a response. Configure your HTTP
* client, SDK, firewall, proxy, or operating system to allow for long
* connections with timeout or keep-alive settings.
* </p>
* <p>
* This operation requires permission for the <a href=
Expand Down Expand Up @@ -558,6 +561,9 @@ private static ClientConfiguration adjustClientConfiguration(ClientConfiguration
* @throws EFSMountFailureException
* @throws EFSMountTimeoutException
* @throws EFSIOException
* @throws SnapStartException
* @throws SnapStartTimeoutException
* @throws SnapStartNotReadyException
* @throws EC2ThrottledException
* @throws EC2AccessDeniedException
* @throws InvalidSubnetIDException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

/**
* <p>
* Lambda was throttled by Amazon EC2 during Lambda function initialization
* using the execution role provided for the Lambda function.
* Amazon EC2 throttled Lambda during Lambda function initialization using the
* execution role provided for the function.
* </p>
*/
public class EC2ThrottledException extends AmazonServiceException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

/**
* <p>
* Lambda received an unexpected EC2 client exception while setting up for the
* Lambda function.
* Lambda received an unexpected Amazon EC2 client exception while setting up
* for the Lambda function.
* </p>
*/
public class EC2UnexpectedException extends AmazonServiceException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

/**
* <p>
* The function couldn't make a network connection to the configured file
* The Lambda function couldn't make a network connection to the configured file
* system.
* </p>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

/**
* <p>
* The function couldn't mount the configured file system due to a permission or
* configuration issue.
* The Lambda function couldn't mount the configured file system due to a
* permission or configuration issue.
* </p>
*/
public class EFSMountFailureException extends AmazonServiceException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

/**
* <p>
* The function was able to make a network connection to the configured file
* system, but the mount operation timed out.
* The Lambda function made a network connection to the configured file system,
* but the mount operation timed out.
* </p>
*/
public class EFSMountTimeoutException extends AmazonServiceException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@

/**
* <p>
* Lambda was not able to create an elastic network interface in the VPC,
* specified as part of Lambda function configuration, because the limit for
* network interfaces has been reached.
* Lambda couldn't create an elastic network interface in the VPC, specified as
* part of Lambda function configuration, because the limit for network
* interfaces has been reached. For more information, see <a href=
* "https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html"
* >Lambda quotas</a>.
* </p>
*/
public class ENILimitReachedException extends AmazonServiceException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

/**
* <p>
* One of the parameters in the request is invalid.
* One of the parameters in the request is not valid.
* </p>
*/
public class InvalidParameterValueException extends AmazonServiceException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

/**
* <p>
* The Security Group ID provided in the Lambda function VPC configuration is
* invalid.
* The security group ID provided in the Lambda function VPC configuration is
* not valid.
* </p>
*/
public class InvalidSecurityGroupIDException extends AmazonServiceException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

/**
* <p>
* The Subnet ID provided in the Lambda function VPC configuration is invalid.
* The subnet ID provided in the Lambda function VPC configuration is not valid.
* </p>
*/
public class InvalidSubnetIDException extends AmazonServiceException {
Expand Down
Loading

0 comments on commit ae1f395

Please sign in to comment.