Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lambda Update models to latest #3094

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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