Skip to content

Commit

Permalink
feat(client-appsync): Modify UpdateGraphQLAPI operation and flag auth…
Browse files Browse the repository at this point in the history
…enticationType as required.
  • Loading branch information
awstools committed Jan 2, 2025
1 parent 08f266e commit 66363a2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface UpdateGraphqlApiCommandOutput extends UpdateGraphqlApiResponse,
* cloudWatchLogsRoleArn: "STRING_VALUE", // required
* excludeVerboseContent: true || false,
* },
* authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
* authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
* userPoolConfig: { // UserPoolConfig
* userPoolId: "STRING_VALUE", // required
* awsRegion: "STRING_VALUE", // required
Expand Down
2 changes: 1 addition & 1 deletion clients/client-appsync/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6112,7 +6112,7 @@ export interface UpdateGraphqlApiRequest {
* <p>The new authentication type for the <code>GraphqlApi</code> object.</p>
* @public
*/
authenticationType?: AuthenticationType | undefined;
authenticationType: AuthenticationType | undefined;

/**
* <p>The new Amazon Cognito user pool configuration for the <code>~GraphqlApi</code>
Expand Down
3 changes: 2 additions & 1 deletion codegen/sdk-codegen/aws-models/appsync.json
Original file line number Diff line number Diff line change
Expand Up @@ -10207,7 +10207,8 @@
"authenticationType": {
"target": "com.amazonaws.appsync#AuthenticationType",
"traits": {
"smithy.api#documentation": "<p>The new authentication type for the <code>GraphqlApi</code> object.</p>"
"smithy.api#documentation": "<p>The new authentication type for the <code>GraphqlApi</code> object.</p>",
"smithy.api#required": {}
}
},
"userPoolConfig": {
Expand Down

0 comments on commit 66363a2

Please sign in to comment.