Skip to content

Commit 4936528

Browse files
author
aws-sdk-cpp-automation
committed
AWS AppSync now supports a new authorization mode allowing you to define your own authorization logic using an AWS Lambda function.
Add support for KmsKeyIds in the ListSecretVersionIds API response API changes with respect to Lambda steps in model building pipelines. Adds several waiters to async Sagemaker Image APIs. Add more instance types to AppInstanceType field Client Port Preservation ALB Attribute Launch
1 parent 7384270 commit 4936528

File tree

57 files changed

+3148
-1871
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+3148
-1871
lines changed

aws-cpp-sdk-appsync/include/aws/appsync/AppSyncClient.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ namespace Model
263263
typedef std::function<void(const AppSyncClient*, const Model::UpdateTypeRequest&, const Model::UpdateTypeOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateTypeResponseReceivedHandler;
264264

265265
/**
266-
* <p>AWS AppSync provides API actions for creating and interacting with data
267-
* sources using GraphQL from your application.</p>
266+
* <p>AppSync provides API actions for creating and interacting with data sources
267+
* using GraphQL from your application.</p>
268268
*/
269269
class AWS_APPSYNC_API AppSyncClient : public Aws::Client::AWSJsonClient
270270
{

aws-cpp-sdk-appsync/include/aws/appsync/model/AdditionalAuthenticationProvider.h

Lines changed: 47 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <aws/appsync/model/AuthenticationType.h>
99
#include <aws/appsync/model/OpenIDConnectConfig.h>
1010
#include <aws/appsync/model/CognitoUserPoolConfig.h>
11+
#include <aws/appsync/model/LambdaAuthorizerConfig.h>
1112
#include <utility>
1213

1314
namespace Aws
@@ -41,38 +42,38 @@ namespace Model
4142

4243

4344
/**
44-
* <p>The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user
45-
* pools.</p>
45+
* <p>The authentication type: API key, Identity and Access Management, OIDC, or
46+
* Amazon Cognito user pools.</p>
4647
*/
4748
inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
4849

4950
/**
50-
* <p>The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user
51-
* pools.</p>
51+
* <p>The authentication type: API key, Identity and Access Management, OIDC, or
52+
* Amazon Cognito user pools.</p>
5253
*/
5354
inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
5455

5556
/**
56-
* <p>The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user
57-
* pools.</p>
57+
* <p>The authentication type: API key, Identity and Access Management, OIDC, or
58+
* Amazon Cognito user pools.</p>
5859
*/
5960
inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
6061

6162
/**
62-
* <p>The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user
63-
* pools.</p>
63+
* <p>The authentication type: API key, Identity and Access Management, OIDC, or
64+
* Amazon Cognito user pools.</p>
6465
*/
6566
inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
6667

6768
/**
68-
* <p>The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user
69-
* pools.</p>
69+
* <p>The authentication type: API key, Identity and Access Management, OIDC, or
70+
* Amazon Cognito user pools.</p>
7071
*/
7172
inline AdditionalAuthenticationProvider& WithAuthenticationType(const AuthenticationType& value) { SetAuthenticationType(value); return *this;}
7273

7374
/**
74-
* <p>The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user
75-
* pools.</p>
75+
* <p>The authentication type: API key, Identity and Access Management, OIDC, or
76+
* Amazon Cognito user pools.</p>
7677
*/
7778
inline AdditionalAuthenticationProvider& WithAuthenticationType(AuthenticationType&& value) { SetAuthenticationType(std::move(value)); return *this;}
7879

@@ -138,6 +139,37 @@ namespace Model
138139
*/
139140
inline AdditionalAuthenticationProvider& WithUserPoolConfig(CognitoUserPoolConfig&& value) { SetUserPoolConfig(std::move(value)); return *this;}
140141

142+
143+
/**
144+
* <p>Configuration for AWS Lambda function authorization.</p>
145+
*/
146+
inline const LambdaAuthorizerConfig& GetLambdaAuthorizerConfig() const{ return m_lambdaAuthorizerConfig; }
147+
148+
/**
149+
* <p>Configuration for AWS Lambda function authorization.</p>
150+
*/
151+
inline bool LambdaAuthorizerConfigHasBeenSet() const { return m_lambdaAuthorizerConfigHasBeenSet; }
152+
153+
/**
154+
* <p>Configuration for AWS Lambda function authorization.</p>
155+
*/
156+
inline void SetLambdaAuthorizerConfig(const LambdaAuthorizerConfig& value) { m_lambdaAuthorizerConfigHasBeenSet = true; m_lambdaAuthorizerConfig = value; }
157+
158+
/**
159+
* <p>Configuration for AWS Lambda function authorization.</p>
160+
*/
161+
inline void SetLambdaAuthorizerConfig(LambdaAuthorizerConfig&& value) { m_lambdaAuthorizerConfigHasBeenSet = true; m_lambdaAuthorizerConfig = std::move(value); }
162+
163+
/**
164+
* <p>Configuration for AWS Lambda function authorization.</p>
165+
*/
166+
inline AdditionalAuthenticationProvider& WithLambdaAuthorizerConfig(const LambdaAuthorizerConfig& value) { SetLambdaAuthorizerConfig(value); return *this;}
167+
168+
/**
169+
* <p>Configuration for AWS Lambda function authorization.</p>
170+
*/
171+
inline AdditionalAuthenticationProvider& WithLambdaAuthorizerConfig(LambdaAuthorizerConfig&& value) { SetLambdaAuthorizerConfig(std::move(value)); return *this;}
172+
141173
private:
142174

143175
AuthenticationType m_authenticationType;
@@ -148,6 +180,9 @@ namespace Model
148180

149181
CognitoUserPoolConfig m_userPoolConfig;
150182
bool m_userPoolConfigHasBeenSet;
183+
184+
LambdaAuthorizerConfig m_lambdaAuthorizerConfig;
185+
bool m_lambdaAuthorizerConfigHasBeenSet;
151186
};
152187

153188
} // namespace Model

aws-cpp-sdk-appsync/include/aws/appsync/model/ApiKey.h

Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -24,35 +24,34 @@ namespace Model
2424
{
2525

2626
/**
27-
* <p>Describes an API key.</p> <p>Customers invoke AWS AppSync GraphQL API
28-
* operations with API keys as an identity mechanism. There are two key
29-
* versions:</p> <p> <b>da1</b>: This version was introduced at launch in November
30-
* 2017. These keys always expire after 7 days. Key expiration is managed by Amazon
31-
* DynamoDB TTL. The keys ceased to be valid after February 21, 2018 and should not
32-
* be used after that date.</p> <ul> <li> <p> <code>ListApiKeys</code> returns the
33-
* expiration time in milliseconds.</p> </li> <li> <p> <code>CreateApiKey</code>
34-
* returns the expiration time in milliseconds.</p> </li> <li> <p>
35-
* <code>UpdateApiKey</code> is not available for this key version.</p> </li> <li>
36-
* <p> <code>DeleteApiKey</code> deletes the item from the table.</p> </li> <li>
37-
* <p>Expiration is stored in Amazon DynamoDB as milliseconds. This results in a
38-
* bug where keys are not automatically deleted because DynamoDB expects the TTL to
39-
* be stored in seconds. As a one-time action, we will delete these keys from the
40-
* table after February 21, 2018.</p> </li> </ul> <p> <b>da2</b>: This version was
41-
* introduced in February 2018 when AppSync added support to extend key
42-
* expiration.</p> <ul> <li> <p> <code>ListApiKeys</code> returns the expiration
43-
* time and deletion time in seconds.</p> </li> <li> <p> <code>CreateApiKey</code>
44-
* returns the expiration time and deletion time in seconds and accepts a
45-
* user-provided expiration time in seconds.</p> </li> <li> <p>
46-
* <code>UpdateApiKey</code> returns the expiration time and and deletion time in
47-
* seconds and accepts a user-provided expiration time in seconds. Expired API keys
48-
* are kept for 60 days after the expiration time. Key expiration time can be
49-
* updated while the key is not deleted. </p> </li> <li> <p>
50-
* <code>DeleteApiKey</code> deletes the item from the table.</p> </li> <li>
51-
* <p>Expiration is stored in Amazon DynamoDB as seconds. After the expiration
52-
* time, using the key to authenticate will fail. But the key can be reinstated
53-
* before deletion.</p> </li> <li> <p>Deletion is stored in Amazon DynamoDB as
54-
* seconds. The key will be deleted after deletion time. </p> </li> </ul><p><h3>See
55-
* Also:</h3> <a
27+
* <p>Describes an API key.</p> <p>Customers invoke AppSync GraphQL API operations
28+
* with API keys as an identity mechanism. There are two key versions:</p> <p>
29+
* <b>da1</b>: This version was introduced at launch in November 2017. These keys
30+
* always expire after 7 days. Key expiration is managed by Amazon DynamoDB TTL.
31+
* The keys ceased to be valid after February 21, 2018 and should not be used after
32+
* that date.</p> <ul> <li> <p> <code>ListApiKeys</code> returns the expiration
33+
* time in milliseconds.</p> </li> <li> <p> <code>CreateApiKey</code> returns the
34+
* expiration time in milliseconds.</p> </li> <li> <p> <code>UpdateApiKey</code> is
35+
* not available for this key version.</p> </li> <li> <p> <code>DeleteApiKey</code>
36+
* deletes the item from the table.</p> </li> <li> <p>Expiration is stored in
37+
* Amazon DynamoDB as milliseconds. This results in a bug where keys are not
38+
* automatically deleted because DynamoDB expects the TTL to be stored in seconds.
39+
* As a one-time action, we will delete these keys from the table after February
40+
* 21, 2018.</p> </li> </ul> <p> <b>da2</b>: This version was introduced in
41+
* February 2018 when AppSync added support to extend key expiration.</p> <ul> <li>
42+
* <p> <code>ListApiKeys</code> returns the expiration time and deletion time in
43+
* seconds.</p> </li> <li> <p> <code>CreateApiKey</code> returns the expiration
44+
* time and deletion time in seconds and accepts a user-provided expiration time in
45+
* seconds.</p> </li> <li> <p> <code>UpdateApiKey</code> returns the expiration
46+
* time and and deletion time in seconds and accepts a user-provided expiration
47+
* time in seconds. Expired API keys are kept for 60 days after the expiration
48+
* time. Key expiration time can be updated while the key is not deleted. </p>
49+
* </li> <li> <p> <code>DeleteApiKey</code> deletes the item from the table.</p>
50+
* </li> <li> <p>Expiration is stored in Amazon DynamoDB as seconds. After the
51+
* expiration time, using the key to authenticate will fail. But the key can be
52+
* reinstated before deletion.</p> </li> <li> <p>Deletion is stored in Amazon
53+
* DynamoDB as seconds. The key will be deleted after deletion time. </p> </li>
54+
* </ul><p><h3>See Also:</h3> <a
5655
* href="http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ApiKey">AWS API
5756
* Reference</a></p>
5857
*/

aws-cpp-sdk-appsync/include/aws/appsync/model/AuthenticationType.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ namespace Model
1919
API_KEY,
2020
AWS_IAM,
2121
AMAZON_COGNITO_USER_POOLS,
22-
OPENID_CONNECT
22+
OPENID_CONNECT,
23+
AWS_LAMBDA
2324
};
2425

2526
namespace AuthenticationTypeMapper

aws-cpp-sdk-appsync/include/aws/appsync/model/AuthorizationConfig.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,32 +77,32 @@ namespace Model
7777

7878

7979
/**
80-
* <p>The AWS IAM settings.</p>
80+
* <p>The Identity and Access Management settings.</p>
8181
*/
8282
inline const AwsIamConfig& GetAwsIamConfig() const{ return m_awsIamConfig; }
8383

8484
/**
85-
* <p>The AWS IAM settings.</p>
85+
* <p>The Identity and Access Management settings.</p>
8686
*/
8787
inline bool AwsIamConfigHasBeenSet() const { return m_awsIamConfigHasBeenSet; }
8888

8989
/**
90-
* <p>The AWS IAM settings.</p>
90+
* <p>The Identity and Access Management settings.</p>
9191
*/
9292
inline void SetAwsIamConfig(const AwsIamConfig& value) { m_awsIamConfigHasBeenSet = true; m_awsIamConfig = value; }
9393

9494
/**
95-
* <p>The AWS IAM settings.</p>
95+
* <p>The Identity and Access Management settings.</p>
9696
*/
9797
inline void SetAwsIamConfig(AwsIamConfig&& value) { m_awsIamConfigHasBeenSet = true; m_awsIamConfig = std::move(value); }
9898

9999
/**
100-
* <p>The AWS IAM settings.</p>
100+
* <p>The Identity and Access Management settings.</p>
101101
*/
102102
inline AuthorizationConfig& WithAwsIamConfig(const AwsIamConfig& value) { SetAwsIamConfig(value); return *this;}
103103

104104
/**
105-
* <p>The AWS IAM settings.</p>
105+
* <p>The Identity and Access Management settings.</p>
106106
*/
107107
inline AuthorizationConfig& WithAwsIamConfig(AwsIamConfig&& value) { SetAwsIamConfig(std::move(value)); return *this;}
108108

aws-cpp-sdk-appsync/include/aws/appsync/model/AwsIamConfig.h

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ namespace Model
2424
{
2525

2626
/**
27-
* <p>The AWS IAM configuration.</p><p><h3>See Also:</h3> <a
27+
* <p>The Identity and Access Management configuration.</p><p><h3>See Also:</h3>
28+
* <a
2829
* href="http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AwsIamConfig">AWS
2930
* API Reference</a></p>
3031
*/
@@ -38,83 +39,91 @@ namespace Model
3839

3940

4041
/**
41-
* <p>The signing region for AWS IAM authorization.</p>
42+
* <p>The signing region for Identity and Access Management authorization.</p>
4243
*/
4344
inline const Aws::String& GetSigningRegion() const{ return m_signingRegion; }
4445

4546
/**
46-
* <p>The signing region for AWS IAM authorization.</p>
47+
* <p>The signing region for Identity and Access Management authorization.</p>
4748
*/
4849
inline bool SigningRegionHasBeenSet() const { return m_signingRegionHasBeenSet; }
4950

5051
/**
51-
* <p>The signing region for AWS IAM authorization.</p>
52+
* <p>The signing region for Identity and Access Management authorization.</p>
5253
*/
5354
inline void SetSigningRegion(const Aws::String& value) { m_signingRegionHasBeenSet = true; m_signingRegion = value; }
5455

5556
/**
56-
* <p>The signing region for AWS IAM authorization.</p>
57+
* <p>The signing region for Identity and Access Management authorization.</p>
5758
*/
5859
inline void SetSigningRegion(Aws::String&& value) { m_signingRegionHasBeenSet = true; m_signingRegion = std::move(value); }
5960

6061
/**
61-
* <p>The signing region for AWS IAM authorization.</p>
62+
* <p>The signing region for Identity and Access Management authorization.</p>
6263
*/
6364
inline void SetSigningRegion(const char* value) { m_signingRegionHasBeenSet = true; m_signingRegion.assign(value); }
6465

6566
/**
66-
* <p>The signing region for AWS IAM authorization.</p>
67+
* <p>The signing region for Identity and Access Management authorization.</p>
6768
*/
6869
inline AwsIamConfig& WithSigningRegion(const Aws::String& value) { SetSigningRegion(value); return *this;}
6970

7071
/**
71-
* <p>The signing region for AWS IAM authorization.</p>
72+
* <p>The signing region for Identity and Access Management authorization.</p>
7273
*/
7374
inline AwsIamConfig& WithSigningRegion(Aws::String&& value) { SetSigningRegion(std::move(value)); return *this;}
7475

7576
/**
76-
* <p>The signing region for AWS IAM authorization.</p>
77+
* <p>The signing region for Identity and Access Management authorization.</p>
7778
*/
7879
inline AwsIamConfig& WithSigningRegion(const char* value) { SetSigningRegion(value); return *this;}
7980

8081

8182
/**
82-
* <p>The signing service name for AWS IAM authorization.</p>
83+
* <p>The signing service name for Identity and Access Management
84+
* authorization.</p>
8385
*/
8486
inline const Aws::String& GetSigningServiceName() const{ return m_signingServiceName; }
8587

8688
/**
87-
* <p>The signing service name for AWS IAM authorization.</p>
89+
* <p>The signing service name for Identity and Access Management
90+
* authorization.</p>
8891
*/
8992
inline bool SigningServiceNameHasBeenSet() const { return m_signingServiceNameHasBeenSet; }
9093

9194
/**
92-
* <p>The signing service name for AWS IAM authorization.</p>
95+
* <p>The signing service name for Identity and Access Management
96+
* authorization.</p>
9397
*/
9498
inline void SetSigningServiceName(const Aws::String& value) { m_signingServiceNameHasBeenSet = true; m_signingServiceName = value; }
9599

96100
/**
97-
* <p>The signing service name for AWS IAM authorization.</p>
101+
* <p>The signing service name for Identity and Access Management
102+
* authorization.</p>
98103
*/
99104
inline void SetSigningServiceName(Aws::String&& value) { m_signingServiceNameHasBeenSet = true; m_signingServiceName = std::move(value); }
100105

101106
/**
102-
* <p>The signing service name for AWS IAM authorization.</p>
107+
* <p>The signing service name for Identity and Access Management
108+
* authorization.</p>
103109
*/
104110
inline void SetSigningServiceName(const char* value) { m_signingServiceNameHasBeenSet = true; m_signingServiceName.assign(value); }
105111

106112
/**
107-
* <p>The signing service name for AWS IAM authorization.</p>
113+
* <p>The signing service name for Identity and Access Management
114+
* authorization.</p>
108115
*/
109116
inline AwsIamConfig& WithSigningServiceName(const Aws::String& value) { SetSigningServiceName(value); return *this;}
110117

111118
/**
112-
* <p>The signing service name for AWS IAM authorization.</p>
119+
* <p>The signing service name for Identity and Access Management
120+
* authorization.</p>
113121
*/
114122
inline AwsIamConfig& WithSigningServiceName(Aws::String&& value) { SetSigningServiceName(std::move(value)); return *this;}
115123

116124
/**
117-
* <p>The signing service name for AWS IAM authorization.</p>
125+
* <p>The signing service name for Identity and Access Management
126+
* authorization.</p>
118127
*/
119128
inline AwsIamConfig& WithSigningServiceName(const char* value) { SetSigningServiceName(value); return *this;}
120129

aws-cpp-sdk-appsync/include/aws/appsync/model/CognitoUserPoolConfig.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,42 +80,42 @@ namespace Model
8080

8181

8282
/**
83-
* <p>The AWS Region in which the user pool was created.</p>
83+
* <p>The Amazon Web Services Region in which the user pool was created.</p>
8484
*/
8585
inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
8686

8787
/**
88-
* <p>The AWS Region in which the user pool was created.</p>
88+
* <p>The Amazon Web Services Region in which the user pool was created.</p>
8989
*/
9090
inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
9191

9292
/**
93-
* <p>The AWS Region in which the user pool was created.</p>
93+
* <p>The Amazon Web Services Region in which the user pool was created.</p>
9494
*/
9595
inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
9696

9797
/**
98-
* <p>The AWS Region in which the user pool was created.</p>
98+
* <p>The Amazon Web Services Region in which the user pool was created.</p>
9999
*/
100100
inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
101101

102102
/**
103-
* <p>The AWS Region in which the user pool was created.</p>
103+
* <p>The Amazon Web Services Region in which the user pool was created.</p>
104104
*/
105105
inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
106106

107107
/**
108-
* <p>The AWS Region in which the user pool was created.</p>
108+
* <p>The Amazon Web Services Region in which the user pool was created.</p>
109109
*/
110110
inline CognitoUserPoolConfig& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
111111

112112
/**
113-
* <p>The AWS Region in which the user pool was created.</p>
113+
* <p>The Amazon Web Services Region in which the user pool was created.</p>
114114
*/
115115
inline CognitoUserPoolConfig& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
116116

117117
/**
118-
* <p>The AWS Region in which the user pool was created.</p>
118+
* <p>The Amazon Web Services Region in which the user pool was created.</p>
119119
*/
120120
inline CognitoUserPoolConfig& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
121121

0 commit comments

Comments
 (0)