Skip to content

Commit ca58d07

Browse files
authored
feat(aws-android-sdk-lambda): update models to latest (#2731)
1 parent 5537ae3 commit ca58d07

File tree

4 files changed

+249
-11
lines changed

4 files changed

+249
-11
lines changed

aws-android-sdk-lambda/src/main/java/com/amazonaws/services/lambda/AWSLambda.java

Lines changed: 105 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,112 @@
2525
* <b>Overview</b>
2626
* </p>
2727
* <p>
28-
* This is the <i>Lambda API Reference</i>. The Lambda Developer Guide provides
29-
* additional information. For the service overview, see <a
28+
* Lambda is a compute service that lets you run code without provisioning or
29+
* managing servers. Lambda runs your code on a high-availability compute
30+
* infrastructure and performs all of the administration of the compute
31+
* resources, including server and operating system maintenance, capacity
32+
* provisioning and automatic scaling, code monitoring and logging. With Lambda,
33+
* you can run code for virtually any type of application or backend service.
34+
* For more information about the Lambda service, see <a
3035
* href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is
31-
* Lambda</a>, and for information about how the service works, see <a href=
32-
* "https://docs.aws.amazon.com/lambda/latest/dg/lambda-introduction.html"
33-
* >Lambda: How it Works</a> in the <b>Lambda Developer Guide</b>.
36+
* Lambda</a> in the <b>Lambda Developer Guide</b>.
37+
* </p>
38+
* <p>
39+
* The <i>Lambda API Reference</i> provides information about each of the API
40+
* methods, including details about the parameters in each API request and
41+
* response.
42+
* </p>
43+
* <p/>
44+
* <p>
45+
* You can use Software Development Kits (SDKs), Integrated Development
46+
* Environment (IDE) Toolkits, and command line tools to access the API. For
47+
* installation instructions, see <a href="http://aws.amazon.com/tools/">Tools
48+
* for Amazon Web Services</a>.
49+
* </p>
50+
* <p>
51+
* For a list of Region-specific endpoints that Lambda supports, see <a
52+
* href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html/"
53+
* >Lambda endpoints and quotas </a> in the <i>Amazon Web Services General
54+
* Reference.</i>.
55+
* </p>
56+
* <p>
57+
* When making the API calls, you will need to authenticate your request by
58+
* providing a signature. Lambda supports signature version 4. For more
59+
* information, see <a href=
60+
* "https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html"
61+
* >Signature Version 4 signing process</a> in the <i>Amazon Web Services
62+
* General Reference.</i>.
63+
* </p>
64+
* <p>
65+
* <b>CA certificates</b>
66+
* </p>
67+
* <p>
68+
* Because Amazon Web Services SDKs use the CA certificates from your computer,
69+
* changes to the certificates on the Amazon Web Services servers can cause
70+
* connection failures when you attempt to use an SDK. You can prevent these
71+
* failures by keeping your computer's CA certificates and operating system
72+
* up-to-date. If you encounter this issue in a corporate environment and do not
73+
* manage your own computer, you might need to ask an administrator to assist
74+
* with the update process. The following list shows minimum operating system
75+
* and Java versions:
76+
* </p>
77+
* <ul>
78+
* <li>
79+
* <p>
80+
* Microsoft Windows versions that have updates from January 2005 or later
81+
* installed contain at least one of the required CAs in their trust list.
82+
* </p>
83+
* </li>
84+
* <li>
85+
* <p>
86+
* Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X
87+
* 10.5 (October 2007), and later versions contain at least one of the required
88+
* CAs in their trust list.
89+
* </p>
90+
* </li>
91+
* <li>
92+
* <p>
93+
* Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all
94+
* contain at least one of the required CAs in their default trusted CA list.
95+
* </p>
96+
* </li>
97+
* <li>
98+
* <p>
99+
* Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions,
100+
* including Java 6 (December 2006), 7, and 8, contain at least one of the
101+
* required CAs in their default trusted CA list.
102+
* </p>
103+
* </li>
104+
* </ul>
105+
* <p>
106+
* When accessing the Lambda management console or Lambda API endpoints, whether
107+
* through browsers or programmatically, you will need to ensure your client
108+
* machines support any of the following CAs:
109+
* </p>
110+
* <ul>
111+
* <li>
112+
* <p>
113+
* Amazon Root CA 1
114+
* </p>
115+
* </li>
116+
* <li>
117+
* <p>
118+
* Starfield Services Root Certificate Authority - G2
119+
* </p>
120+
* </li>
121+
* <li>
122+
* <p>
123+
* Starfield Class 2 Certification Authority
124+
* </p>
125+
* </li>
126+
* </ul>
127+
* <p>
128+
* Root certificates from the first two authorities are available from <a
129+
* href="https://www.amazontrust.com/repository/">Amazon trust services</a>, but
130+
* keeping your computer up-to-date is the more straightforward solution. To
131+
* learn more about ACM-provided certificates, see <a
132+
* href="http://aws.amazon.com/certificate-manager/faqs/#certificates">Amazon
133+
* Web Services Certificate Manager FAQs.</a>
34134
* </p>
35135
**/
36136
public interface AWSLambda {

aws-android-sdk-lambda/src/main/java/com/amazonaws/services/lambda/AWSLambdaClient.java

Lines changed: 105 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,112 @@
3939
* <b>Overview</b>
4040
* </p>
4141
* <p>
42-
* This is the <i>Lambda API Reference</i>. The Lambda Developer Guide provides
43-
* additional information. For the service overview, see <a
42+
* Lambda is a compute service that lets you run code without provisioning or
43+
* managing servers. Lambda runs your code on a high-availability compute
44+
* infrastructure and performs all of the administration of the compute
45+
* resources, including server and operating system maintenance, capacity
46+
* provisioning and automatic scaling, code monitoring and logging. With Lambda,
47+
* you can run code for virtually any type of application or backend service.
48+
* For more information about the Lambda service, see <a
4449
* href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is
45-
* Lambda</a>, and for information about how the service works, see <a href=
46-
* "https://docs.aws.amazon.com/lambda/latest/dg/lambda-introduction.html"
47-
* >Lambda: How it Works</a> in the <b>Lambda Developer Guide</b>.
50+
* Lambda</a> in the <b>Lambda Developer Guide</b>.
51+
* </p>
52+
* <p>
53+
* The <i>Lambda API Reference</i> provides information about each of the API
54+
* methods, including details about the parameters in each API request and
55+
* response.
56+
* </p>
57+
* <p/>
58+
* <p>
59+
* You can use Software Development Kits (SDKs), Integrated Development
60+
* Environment (IDE) Toolkits, and command line tools to access the API. For
61+
* installation instructions, see <a href="http://aws.amazon.com/tools/">Tools
62+
* for Amazon Web Services</a>.
63+
* </p>
64+
* <p>
65+
* For a list of Region-specific endpoints that Lambda supports, see <a
66+
* href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html/"
67+
* >Lambda endpoints and quotas </a> in the <i>Amazon Web Services General
68+
* Reference.</i>.
69+
* </p>
70+
* <p>
71+
* When making the API calls, you will need to authenticate your request by
72+
* providing a signature. Lambda supports signature version 4. For more
73+
* information, see <a href=
74+
* "https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html"
75+
* >Signature Version 4 signing process</a> in the <i>Amazon Web Services
76+
* General Reference.</i>.
77+
* </p>
78+
* <p>
79+
* <b>CA certificates</b>
80+
* </p>
81+
* <p>
82+
* Because Amazon Web Services SDKs use the CA certificates from your computer,
83+
* changes to the certificates on the Amazon Web Services servers can cause
84+
* connection failures when you attempt to use an SDK. You can prevent these
85+
* failures by keeping your computer's CA certificates and operating system
86+
* up-to-date. If you encounter this issue in a corporate environment and do not
87+
* manage your own computer, you might need to ask an administrator to assist
88+
* with the update process. The following list shows minimum operating system
89+
* and Java versions:
90+
* </p>
91+
* <ul>
92+
* <li>
93+
* <p>
94+
* Microsoft Windows versions that have updates from January 2005 or later
95+
* installed contain at least one of the required CAs in their trust list.
96+
* </p>
97+
* </li>
98+
* <li>
99+
* <p>
100+
* Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X
101+
* 10.5 (October 2007), and later versions contain at least one of the required
102+
* CAs in their trust list.
103+
* </p>
104+
* </li>
105+
* <li>
106+
* <p>
107+
* Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all
108+
* contain at least one of the required CAs in their default trusted CA list.
109+
* </p>
110+
* </li>
111+
* <li>
112+
* <p>
113+
* Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions,
114+
* including Java 6 (December 2006), 7, and 8, contain at least one of the
115+
* required CAs in their default trusted CA list.
116+
* </p>
117+
* </li>
118+
* </ul>
119+
* <p>
120+
* When accessing the Lambda management console or Lambda API endpoints, whether
121+
* through browsers or programmatically, you will need to ensure your client
122+
* machines support any of the following CAs:
123+
* </p>
124+
* <ul>
125+
* <li>
126+
* <p>
127+
* Amazon Root CA 1
128+
* </p>
129+
* </li>
130+
* <li>
131+
* <p>
132+
* Starfield Services Root Certificate Authority - G2
133+
* </p>
134+
* </li>
135+
* <li>
136+
* <p>
137+
* Starfield Class 2 Certification Authority
138+
* </p>
139+
* </li>
140+
* </ul>
141+
* <p>
142+
* Root certificates from the first two authorities are available from <a
143+
* href="https://www.amazontrust.com/repository/">Amazon trust services</a>, but
144+
* keeping your computer up-to-date is the more straightforward solution. To
145+
* learn more about ACM-provided certificates, see <a
146+
* href="http://aws.amazon.com/certificate-manager/faqs/#certificates">Amazon
147+
* Web Services Certificate Manager FAQs.</a>
48148
* </p>
49149
*/
50150
public class AWSLambdaClient extends AmazonWebServiceClient implements AWSLambda {

aws-android-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/InvokeRequest.java

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,11 @@ public class InvokeRequest extends AmazonWebServiceRequest implements Serializab
177177
* <p>
178178
* The JSON that you want to provide to your Lambda function as input.
179179
* </p>
180+
* <p>
181+
* You can enter the JSON directly. For example,
182+
* <code>--payload '{ "key": "value" }'</code>. You can also specify a file
183+
* path. For example, <code>--payload file://payload.json</code>.
184+
* </p>
180185
*/
181186
private java.nio.ByteBuffer payload;
182187

@@ -922,11 +927,22 @@ public InvokeRequest withClientContext(String clientContext) {
922927
* <p>
923928
* The JSON that you want to provide to your Lambda function as input.
924929
* </p>
930+
* <p>
931+
* You can enter the JSON directly. For example,
932+
* <code>--payload '{ "key": "value" }'</code>. You can also specify a file
933+
* path. For example, <code>--payload file://payload.json</code>.
934+
* </p>
925935
*
926936
* @return <p>
927937
* The JSON that you want to provide to your Lambda function as
928938
* input.
929939
* </p>
940+
* <p>
941+
* You can enter the JSON directly. For example,
942+
* <code>--payload '{ "key": "value" }'</code>. You can also specify
943+
* a file path. For example,
944+
* <code>--payload file://payload.json</code>.
945+
* </p>
930946
*/
931947
public java.nio.ByteBuffer getPayload() {
932948
return payload;
@@ -936,11 +952,22 @@ public java.nio.ByteBuffer getPayload() {
936952
* <p>
937953
* The JSON that you want to provide to your Lambda function as input.
938954
* </p>
955+
* <p>
956+
* You can enter the JSON directly. For example,
957+
* <code>--payload '{ "key": "value" }'</code>. You can also specify a file
958+
* path. For example, <code>--payload file://payload.json</code>.
959+
* </p>
939960
*
940961
* @param payload <p>
941962
* The JSON that you want to provide to your Lambda function as
942963
* input.
943964
* </p>
965+
* <p>
966+
* You can enter the JSON directly. For example,
967+
* <code>--payload '{ "key": "value" }'</code>. You can also
968+
* specify a file path. For example,
969+
* <code>--payload file://payload.json</code>.
970+
* </p>
944971
*/
945972
public void setPayload(java.nio.ByteBuffer payload) {
946973
this.payload = payload;
@@ -951,13 +978,24 @@ public void setPayload(java.nio.ByteBuffer payload) {
951978
* The JSON that you want to provide to your Lambda function as input.
952979
* </p>
953980
* <p>
981+
* You can enter the JSON directly. For example,
982+
* <code>--payload '{ "key": "value" }'</code>. You can also specify a file
983+
* path. For example, <code>--payload file://payload.json</code>.
984+
* </p>
985+
* <p>
954986
* Returns a reference to this object so that method calls can be chained
955987
* together.
956988
*
957989
* @param payload <p>
958990
* The JSON that you want to provide to your Lambda function as
959991
* input.
960992
* </p>
993+
* <p>
994+
* You can enter the JSON directly. For example,
995+
* <code>--payload '{ "key": "value" }'</code>. You can also
996+
* specify a file path. For example,
997+
* <code>--payload file://payload.json</code>.
998+
* </p>
961999
* @return A reference to this updated object so that method calls can be
9621000
* chained together.
9631001
*/

aws-android-sdk-lambda/src/main/java/com/amazonaws/services/lambda/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* <fullname>Lambda</fullname> <p> <b>Overview</b> </p> <p>This is the <i>Lambda API Reference</i>. The Lambda Developer Guide provides additional information. For the service overview, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is Lambda</a>, and for information about how the service works, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-introduction.html">Lambda: How it Works</a> in the <b>Lambda Developer Guide</b>.</p>
2+
* <fullname>Lambda</fullname> <p> <b>Overview</b> </p> <p>Lambda is a compute service that lets you run code without provisioning or managing servers. Lambda runs your code on a high-availability compute infrastructure and performs all of the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any type of application or backend service. For more information about the Lambda service, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is Lambda</a> in the <b>Lambda Developer Guide</b>.</p> <p>The <i>Lambda API Reference</i> provides information about each of the API methods, including details about the parameters in each API request and response. </p> <p/> <p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>. </p> <p>For a list of Region-specific endpoints that Lambda supports, see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html/">Lambda endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p> <p>When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the <i>Amazon Web Services General Reference.</i>. </p> <p> <b>CA certificates</b> </p> <p>Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate environment and do not manage your own computer, you might need to ask an administrator to assist with the update process. The following list shows minimum operating system and Java versions:</p> <ul> <li> <p>Microsoft Windows versions that have updates from January 2005 or later installed contain at least one of the required CAs in their trust list. </p> </li> <li> <p>Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and later versions contain at least one of the required CAs in their trust list. </p> </li> <li> <p>Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the required CAs in their default trusted CA list. </p> </li> <li> <p>Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list. </p> </li> </ul> <p>When accessing the Lambda management console or Lambda API endpoints, whether through browsers or programmatically, you will need to ensure your client machines support any of the following CAs: </p> <ul> <li> <p>Amazon Root CA 1</p> </li> <li> <p>Starfield Services Root Certificate Authority - G2</p> </li> <li> <p>Starfield Class 2 Certification Authority</p> </li> </ul> <p>Root certificates from the first two authorities are available from <a href="https://www.amazontrust.com/repository/">Amazon trust services</a>, but keeping your computer up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see <a href="http://aws.amazon.com/certificate-manager/faqs/#certificates">Amazon Web Services Certificate Manager FAQs.</a> </p>
33
*/
44

55
package com.amazonaws.services.lambda;

0 commit comments

Comments
 (0)