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 #3559

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down Expand Up @@ -196,8 +196,12 @@ public interface AWSLambda {
/**
* <p>
* Invokes a Lambda function. You can invoke a function synchronously (and
* wait for the response), or asynchronously. To invoke a function
* asynchronously, set <code>InvocationType</code> to <code>Event</code>.
* wait for the response), or asynchronously. By default, Lambda invokes
* your function synchronously (i.e. the<code>InvocationType</code> is
* <code>RequestResponse</code>). To invoke a function asynchronously, set
* <code>InvocationType</code> to <code>Event</code>. Lambda passes the
* <code>ClientContext</code> object to your function for synchronous
* invocations only.
* </p>
* <p>
* For <a href=
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down Expand Up @@ -483,8 +483,12 @@ private static ClientConfiguration adjustClientConfiguration(ClientConfiguration
/**
* <p>
* Invokes a Lambda function. You can invoke a function synchronously (and
* wait for the response), or asynchronously. To invoke a function
* asynchronously, set <code>InvocationType</code> to <code>Event</code>.
* wait for the response), or asynchronously. By default, Lambda invokes
* your function synchronously (i.e. the<code>InvocationType</code> is
* <code>RequestResponse</code>). To invoke a function asynchronously, set
* <code>InvocationType</code> to <code>Event</code>. Lambda passes the
* <code>ClientContext</code> object to your function for synchronous
* invocations only.
* </p>
* <p>
* For <a href=
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand All @@ -22,8 +22,12 @@
/**
* <p>
* Invokes a Lambda function. You can invoke a function synchronously (and wait
* for the response), or asynchronously. To invoke a function asynchronously,
* set <code>InvocationType</code> to <code>Event</code>.
* for the response), or asynchronously. By default, Lambda invokes your
* function synchronously (i.e. the<code>InvocationType</code> is
* <code>RequestResponse</code>). To invoke a function asynchronously, set
* <code>InvocationType</code> to <code>Event</code>. Lambda passes the
* <code>ClientContext</code> object to your function for synchronous
* invocations only.
* </p>
* <p>
* For <a
Expand Down Expand Up @@ -85,7 +89,7 @@
public class InvokeRequest extends AmazonWebServiceRequest implements Serializable {
/**
* <p>
* The name of the Lambda function, version, or alias.
* The name or ARN of the Lambda function, version, or alias.
* </p>
* <p class="title">
* <b>Name formats</b>
Expand Down Expand Up @@ -171,7 +175,9 @@ public class InvokeRequest extends AmazonWebServiceRequest implements Serializab
/**
* <p>
* Up to 3,583 bytes of base64-encoded data about the invoking client to
* pass to the function in the context object.
* pass to the function in the context object. Lambda passes the
* <code>ClientContext</code> object to your function for synchronous
* invocations only.
* </p>
*/
private String clientContext;
Expand Down Expand Up @@ -201,7 +207,7 @@ public class InvokeRequest extends AmazonWebServiceRequest implements Serializab

/**
* <p>
* The name of the Lambda function, version, or alias.
* The name or ARN of the Lambda function, version, or alias.
* </p>
* <p class="title">
* <b>Name formats</b>
Expand Down Expand Up @@ -239,7 +245,7 @@ public class InvokeRequest extends AmazonWebServiceRequest implements Serializab
* :)?(function:)?([a-zA-Z0-9-_\.]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?<br/>
*
* @return <p>
* The name of the Lambda function, version, or alias.
* The name or ARN of the Lambda function, version, or alias.
* </p>
* <p class="title">
* <b>Name formats</b>
Expand Down Expand Up @@ -278,7 +284,7 @@ public String getFunctionName() {

/**
* <p>
* The name of the Lambda function, version, or alias.
* The name or ARN of the Lambda function, version, or alias.
* </p>
* <p class="title">
* <b>Name formats</b>
Expand Down Expand Up @@ -316,7 +322,7 @@ public String getFunctionName() {
* :)?(function:)?([a-zA-Z0-9-_\.]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?<br/>
*
* @param functionName <p>
* The name of the Lambda function, version, or alias.
* The name or ARN of the Lambda function, version, or alias.
* </p>
* <p class="title">
* <b>Name formats</b>
Expand Down Expand Up @@ -355,7 +361,7 @@ public void setFunctionName(String functionName) {

/**
* <p>
* The name of the Lambda function, version, or alias.
* The name or ARN of the Lambda function, version, or alias.
* </p>
* <p class="title">
* <b>Name formats</b>
Expand Down Expand Up @@ -396,7 +402,7 @@ public void setFunctionName(String functionName) {
* :)?(function:)?([a-zA-Z0-9-_\.]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?<br/>
*
* @param functionName <p>
* The name of the Lambda function, version, or alias.
* The name or ARN of the Lambda function, version, or alias.
* </p>
* <p class="title">
* <b>Name formats</b>
Expand Down Expand Up @@ -878,12 +884,16 @@ public InvokeRequest withLogType(LogType logType) {
/**
* <p>
* Up to 3,583 bytes of base64-encoded data about the invoking client to
* pass to the function in the context object.
* pass to the function in the context object. Lambda passes the
* <code>ClientContext</code> object to your function for synchronous
* invocations only.
* </p>
*
* @return <p>
* Up to 3,583 bytes of base64-encoded data about the invoking
* client to pass to the function in the context object.
* client to pass to the function in the context object. Lambda
* passes the <code>ClientContext</code> object to your function for
* synchronous invocations only.
* </p>
*/
public String getClientContext() {
Expand All @@ -893,12 +903,16 @@ public String getClientContext() {
/**
* <p>
* Up to 3,583 bytes of base64-encoded data about the invoking client to
* pass to the function in the context object.
* pass to the function in the context object. Lambda passes the
* <code>ClientContext</code> object to your function for synchronous
* invocations only.
* </p>
*
* @param clientContext <p>
* Up to 3,583 bytes of base64-encoded data about the invoking
* client to pass to the function in the context object.
* client to pass to the function in the context object. Lambda
* passes the <code>ClientContext</code> object to your function
* for synchronous invocations only.
* </p>
*/
public void setClientContext(String clientContext) {
Expand All @@ -908,15 +922,19 @@ public void setClientContext(String clientContext) {
/**
* <p>
* Up to 3,583 bytes of base64-encoded data about the invoking client to
* pass to the function in the context object.
* pass to the function in the context object. Lambda passes the
* <code>ClientContext</code> object to your function for synchronous
* invocations only.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param clientContext <p>
* Up to 3,583 bytes of base64-encoded data about the invoking
* client to pass to the function in the context object.
* client to pass to the function in the context object. Lambda
* passes the <code>ClientContext</code> object to your function
* for synchronous invocations only.
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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.
Expand Down
Loading