Skip to content

Commit 66363a2

Browse files
author
awstools
committed
feat(client-appsync): Modify UpdateGraphQLAPI operation and flag authenticationType as required.
1 parent 08f266e commit 66363a2

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

clients/client-appsync/src/commands/UpdateGraphqlApiCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export interface UpdateGraphqlApiCommandOutput extends UpdateGraphqlApiResponse,
4343
* cloudWatchLogsRoleArn: "STRING_VALUE", // required
4444
* excludeVerboseContent: true || false,
4545
* },
46-
* authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
46+
* authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
4747
* userPoolConfig: { // UserPoolConfig
4848
* userPoolId: "STRING_VALUE", // required
4949
* awsRegion: "STRING_VALUE", // required

clients/client-appsync/src/models/models_0.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6112,7 +6112,7 @@ export interface UpdateGraphqlApiRequest {
61126112
* <p>The new authentication type for the <code>GraphqlApi</code> object.</p>
61136113
* @public
61146114
*/
6115-
authenticationType?: AuthenticationType | undefined;
6115+
authenticationType: AuthenticationType | undefined;
61166116

61176117
/**
61186118
* <p>The new Amazon Cognito user pool configuration for the <code>~GraphqlApi</code>

codegen/sdk-codegen/aws-models/appsync.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -10207,7 +10207,8 @@
1020710207
"authenticationType": {
1020810208
"target": "com.amazonaws.appsync#AuthenticationType",
1020910209
"traits": {
10210-
"smithy.api#documentation": "<p>The new authentication type for the <code>GraphqlApi</code> object.</p>"
10210+
"smithy.api#documentation": "<p>The new authentication type for the <code>GraphqlApi</code> object.</p>",
10211+
"smithy.api#required": {}
1021110212
}
1021210213
},
1021310214
"userPoolConfig": {

0 commit comments

Comments
 (0)