|
716 | 716 | "members":{
|
717 | 717 | "authenticationType":{
|
718 | 718 | "shape":"AuthenticationType",
|
719 |
| - "documentation":"<p>The authentication type: API key, Identity and Access Management, OIDC, or Amazon Cognito user pools.</p>" |
| 719 | + "documentation":"<p>The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.</p>" |
720 | 720 | },
|
721 | 721 | "openIDConnectConfig":{
|
722 | 722 | "shape":"OpenIDConnectConfig",
|
|
728 | 728 | },
|
729 | 729 | "lambdaAuthorizerConfig":{
|
730 | 730 | "shape":"LambdaAuthorizerConfig",
|
731 |
| - "documentation":"<p>Configuration for AWS Lambda function authorization.</p>" |
| 731 | + "documentation":"<p>Configuration for Amazon Web Services Lambda function authorization.</p>" |
732 | 732 | }
|
733 | 733 | },
|
734 | 734 | "documentation":"<p>Describes an additional authentication provider.</p>"
|
|
1094 | 1094 | },
|
1095 | 1095 | "elasticsearchConfig":{
|
1096 | 1096 | "shape":"ElasticsearchDataSourceConfig",
|
1097 |
| - "documentation":"<p>Amazon Elasticsearch Service settings.</p>" |
| 1097 | + "documentation":"<p>Amazon OpenSearch Service settings.</p> <p>As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use <a>CreateDataSourceRequest$openSearchServiceConfig</a> to create an OpenSearch data source.</p>" |
| 1098 | + }, |
| 1099 | + "openSearchServiceConfig":{ |
| 1100 | + "shape":"OpenSearchServiceDataSourceConfig", |
| 1101 | + "documentation":"<p>Amazon OpenSearch Service settings.</p>" |
1098 | 1102 | },
|
1099 | 1103 | "httpConfig":{
|
1100 | 1104 | "shape":"HttpDataSourceConfig",
|
|
1183 | 1187 | },
|
1184 | 1188 | "authenticationType":{
|
1185 | 1189 | "shape":"AuthenticationType",
|
1186 |
| - "documentation":"<p>The authentication type: API key, Identity and Access Management, OIDC, or Amazon Cognito user pools.</p>" |
| 1190 | + "documentation":"<p>The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.</p>" |
1187 | 1191 | },
|
1188 | 1192 | "userPoolConfig":{
|
1189 | 1193 | "shape":"UserPoolConfig",
|
|
1207 | 1211 | },
|
1208 | 1212 | "lambdaAuthorizerConfig":{
|
1209 | 1213 | "shape":"LambdaAuthorizerConfig",
|
1210 |
| - "documentation":"<p>Configuration for AWS Lambda function authorization.</p>" |
| 1214 | + "documentation":"<p>Configuration for Amazon Web Services Lambda function authorization.</p>" |
1211 | 1215 | }
|
1212 | 1216 | }
|
1213 | 1217 | },
|
|
1333 | 1337 | },
|
1334 | 1338 | "type":{
|
1335 | 1339 | "shape":"DataSourceType",
|
1336 |
| - "documentation":"<p>The type of the data source.</p> <ul> <li> <p> <b>AMAZON_DYNAMODB</b>: The data source is an Amazon DynamoDB table.</p> </li> <li> <p> <b>AMAZON_ELASTICSEARCH</b>: The data source is an Amazon Elasticsearch Service domain.</p> </li> <li> <p> <b>AWS_LAMBDA</b>: The data source is an Amazon Web Services Lambda function.</p> </li> <li> <p> <b>NONE</b>: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.</p> </li> <li> <p> <b>HTTP</b>: The data source is an HTTP endpoint.</p> </li> <li> <p> <b>RELATIONAL_DATABASE</b>: The data source is a relational database.</p> </li> </ul>" |
| 1340 | + "documentation":"<p>The type of the data source.</p> <ul> <li> <p> <b>AWS_LAMBDA</b>: The data source is an Amazon Web Services Lambda function.</p> </li> <li> <p> <b>AMAZON_DYNAMODB</b>: The data source is an Amazon DynamoDB table.</p> </li> <li> <p> <b>AMAZON_ELASTICSEARCH</b>: The data source is an Amazon OpenSearch Service domain.</p> </li> <li> <p> <b>AMAZON_OPENSEARCH_SERVICE</b>: The data source is an Amazon OpenSearch Service domain.</p> </li> <li> <p> <b>NONE</b>: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.</p> </li> <li> <p> <b>HTTP</b>: The data source is an HTTP endpoint.</p> </li> <li> <p> <b>RELATIONAL_DATABASE</b>: The data source is a relational database.</p> </li> </ul>" |
1337 | 1341 | },
|
1338 | 1342 | "serviceRoleArn":{
|
1339 | 1343 | "shape":"String",
|
|
1349 | 1353 | },
|
1350 | 1354 | "elasticsearchConfig":{
|
1351 | 1355 | "shape":"ElasticsearchDataSourceConfig",
|
1352 |
| - "documentation":"<p>Amazon Elasticsearch Service settings.</p>" |
| 1356 | + "documentation":"<p>Amazon OpenSearch Service settings.</p>" |
| 1357 | + }, |
| 1358 | + "openSearchServiceConfig":{ |
| 1359 | + "shape":"OpenSearchServiceDataSourceConfig", |
| 1360 | + "documentation":"<p>Amazon OpenSearch Service settings.</p>" |
1353 | 1361 | },
|
1354 | 1362 | "httpConfig":{
|
1355 | 1363 | "shape":"HttpDataSourceConfig",
|
|
1370 | 1378 | "AMAZON_ELASTICSEARCH",
|
1371 | 1379 | "NONE",
|
1372 | 1380 | "HTTP",
|
1373 |
| - "RELATIONAL_DATABASE" |
| 1381 | + "RELATIONAL_DATABASE", |
| 1382 | + "AMAZON_OPENSEARCH_SERVICE" |
1374 | 1383 | ]
|
1375 | 1384 | },
|
1376 | 1385 | "DataSources":{
|
|
1621 | 1630 | "documentation":"<p>The Amazon Web Services Region.</p>"
|
1622 | 1631 | }
|
1623 | 1632 | },
|
1624 |
| - "documentation":"<p>Describes an Elasticsearch data source configuration.</p>" |
| 1633 | + "documentation":"<p>Describes an OpenSearch data source configuration.</p> <p>As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use <a>OpenSearchServiceDataSourceConfig</a> to specify an OpenSearch data source.</p>" |
1625 | 1634 | },
|
1626 | 1635 | "ErrorMessage":{"type":"string"},
|
1627 | 1636 | "FieldLogLevel":{
|
|
2000 | 2009 | },
|
2001 | 2010 | "lambdaAuthorizerConfig":{
|
2002 | 2011 | "shape":"LambdaAuthorizerConfig",
|
2003 |
| - "documentation":"<p/> <p>Configuration for AWS Lambda function authorization.</p>" |
| 2012 | + "documentation":"<p>Configuration for Amazon Web Services Lambda function authorization.</p>" |
2004 | 2013 | }
|
2005 | 2014 | },
|
2006 | 2015 | "documentation":"<p>Describes a GraphQL API.</p>"
|
|
2043 | 2052 | },
|
2044 | 2053 | "authorizerUri":{
|
2045 | 2054 | "shape":"String",
|
2046 |
| - "documentation":"<p>The ARN of the lambda function to be called for authorization. This may be a standard Lambda ARN, a version ARN (<code>.../v3</code>) or alias ARN. </p> <p> <i>Note</i>: This Lambda function must have the following resource-based policy assigned to it. When configuring Lambda authorizers in the Console, this is done for you. To do so with the AWS CLI, run the following:</p> <p> <code>aws lambda add-permission --function-name \"arn:aws:lambda:us-east-2:111122223333:function:my-function\" --statement-id \"appsync\" --principal appsync.amazonaws.com --action lambda:InvokeFunction</code> </p>" |
| 2055 | + "documentation":"<p>The ARN of the Lambda function to be called for authorization. This may be a standard Lambda ARN, a version ARN (<code>.../v3</code>) or alias ARN. </p> <p> <i>Note</i>: This Lambda function must have the following resource-based policy assigned to it. When configuring Lambda authorizers in the Console, this is done for you. To do so with the Amazon Web Services CLI, run the following:</p> <p> <code>aws lambda add-permission --function-name \"arn:aws:lambda:us-east-2:111122223333:function:my-function\" --statement-id \"appsync\" --principal appsync.amazonaws.com --action lambda:InvokeFunction</code> </p>" |
2047 | 2056 | },
|
2048 | 2057 | "identityValidationExpression":{
|
2049 | 2058 | "shape":"String",
|
2050 |
| - "documentation":"<p>A regular expression for validation of tokens before the Lambda Function is called.</p>" |
| 2059 | + "documentation":"<p>A regular expression for validation of tokens before the Lambda function is called.</p>" |
2051 | 2060 | }
|
2052 | 2061 | },
|
2053 | 2062 | "documentation":"<p>A <code>LambdaAuthorizerConfig</code> holds configuration on how to authorize AppSync API access when using the <code>AWS_LAMBDA</code> authorizer mode. Be aware that an AppSync API may have only one Lambda authorizer configured at a time.</p>"
|
|
2452 | 2461 | },
|
2453 | 2462 | "documentation":"<p>Describes an OpenID Connect configuration.</p>"
|
2454 | 2463 | },
|
| 2464 | + "OpenSearchServiceDataSourceConfig":{ |
| 2465 | + "type":"structure", |
| 2466 | + "required":[ |
| 2467 | + "endpoint", |
| 2468 | + "awsRegion" |
| 2469 | + ], |
| 2470 | + "members":{ |
| 2471 | + "endpoint":{ |
| 2472 | + "shape":"String", |
| 2473 | + "documentation":"<p>The endpoint.</p>" |
| 2474 | + }, |
| 2475 | + "awsRegion":{ |
| 2476 | + "shape":"String", |
| 2477 | + "documentation":"<p>The Amazon Web Services Region.</p>" |
| 2478 | + } |
| 2479 | + }, |
| 2480 | + "documentation":"<p>Describes an OpenSearch data source configuration.</p>" |
| 2481 | + }, |
2455 | 2482 | "OutputType":{
|
2456 | 2483 | "type":"string",
|
2457 | 2484 | "enum":[
|
|
2893 | 2920 | },
|
2894 | 2921 | "elasticsearchConfig":{
|
2895 | 2922 | "shape":"ElasticsearchDataSourceConfig",
|
2896 |
| - "documentation":"<p>The new Elasticsearch Service configuration.</p>" |
| 2923 | + "documentation":"<p>The new OpenSearch configuration.</p> <p>As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. Instead, use <a>UpdateDataSourceRequest$openSearchServiceConfig</a> to update an OpenSearch data source.</p>" |
| 2924 | + }, |
| 2925 | + "openSearchServiceConfig":{ |
| 2926 | + "shape":"OpenSearchServiceDataSourceConfig", |
| 2927 | + "documentation":"<p>The new OpenSearch configuration.</p>" |
2897 | 2928 | },
|
2898 | 2929 | "httpConfig":{
|
2899 | 2930 | "shape":"HttpDataSourceConfig",
|
|
3015 | 3046 | },
|
3016 | 3047 | "lambdaAuthorizerConfig":{
|
3017 | 3048 | "shape":"LambdaAuthorizerConfig",
|
3018 |
| - "documentation":"<p>Configuration for AWS Lambda function authorization.</p>" |
| 3049 | + "documentation":"<p>Configuration for Amazon Web Services Lambda function authorization.</p>" |
3019 | 3050 | }
|
3020 | 3051 | }
|
3021 | 3052 | },
|
|
0 commit comments