Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Jan 19, 2024
1 parent a75d769 commit c3b27fc
Show file tree
Hide file tree
Showing 4 changed files with 937 additions and 39 deletions.
23 changes: 14 additions & 9 deletions codegen/sdk-codegen/aws-models/athena.json
Original file line number Diff line number Diff line change
Expand Up @@ -4568,7 +4568,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Imports a single <code>ipynb</code> file to a Spark enabled workgroup. The maximum\n file size that can be imported is 10 megabytes. If an <code>ipynb</code> file with the\n same name already exists in the workgroup, throws an error.</p>"
"smithy.api#documentation": "<p>Imports a single <code>ipynb</code> file to a Spark enabled workgroup. To import the\n notebook, the request must specify a value for either <code>Payload</code> or <code>NoteBookS3LocationUri</code>. If neither is specified or both are specified, an\n <code>InvalidRequestException</code> occurs. The maximum file size that can be imported is 10\n megabytes. If an <code>ipynb</code> file with the same name already exists in the\n workgroup, throws an error.</p>"
}
},
"com.amazonaws.athena#ImportNotebookInput": {
Expand All @@ -4591,8 +4591,7 @@
"Payload": {
"target": "com.amazonaws.athena#Payload",
"traits": {
"smithy.api#documentation": "<p>The notebook content to be imported.</p>",
"smithy.api#required": {}
"smithy.api#documentation": "<p>The notebook content to be imported. The payload must be in <code>ipynb</code> format.</p>"
}
},
"Type": {
Expand All @@ -4602,6 +4601,12 @@
"smithy.api#required": {}
}
},
"NotebookS3LocationUri": {
"target": "com.amazonaws.athena#S3Uri",
"traits": {
"smithy.api#documentation": "<p>A URI that specifies the Amazon S3 location of a notebook file in <code>ipynb</code> format.</p>"
}
},
"ClientRequestToken": {
"target": "com.amazonaws.athena#ClientRequestToken",
"traits": {
Expand Down Expand Up @@ -4939,7 +4944,7 @@
"WorkGroup": {
"target": "com.amazonaws.athena#WorkGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the workgroup. Required if\n making an IAM Identity Center request.</p>"
"smithy.api#documentation": "<p>The name of the workgroup. Required if making an IAM Identity Center request.</p>"
}
}
},
Expand Down Expand Up @@ -6618,7 +6623,7 @@
"ServicePreProcessingTimeInMillis": {
"target": "com.amazonaws.athena#Long",
"traits": {
"smithy.api#documentation": "<p>The number of milliseconds that Athena took to preprocess the query before submitting the query to the query engine.</p>"
"smithy.api#documentation": "<p>The number of milliseconds that Athena took to preprocess the query before\n submitting the query to the query engine.</p>"
}
},
"QueryPlanningTimeInMillis": {
Expand Down Expand Up @@ -6774,7 +6779,7 @@
"ServicePreProcessingTimeInMillis": {
"target": "com.amazonaws.athena#Long",
"traits": {
"smithy.api#documentation": "<p>\n The number of milliseconds that Athena spends on preprocessing before it submits the query to the engine.\n </p>"
"smithy.api#documentation": "<p> The number of milliseconds that Athena spends on preprocessing before it\n submits the query to the engine. </p>"
}
},
"QueryPlanningTimeInMillis": {
Expand Down Expand Up @@ -7185,7 +7190,7 @@
"ExecutionRole": {
"target": "com.amazonaws.athena#RoleArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the execution role used to access user resources for Spark sessions and Identity Center\n enabled workgroups. This property applies only to Spark enabled workgroups and Identity\n Center enabled workgroups.</p>"
"smithy.api#documentation": "<p>The ARN of the execution role used to access user resources for Spark sessions and\n Identity Center enabled workgroups. This property applies only to Spark enabled\n workgroups and Identity Center enabled workgroups.</p>"
}
},
"WorkingDirectory": {
Expand Down Expand Up @@ -8757,7 +8762,7 @@
"ExecutionRole": {
"target": "com.amazonaws.athena#RoleArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the execution role used to access user resources for Spark sessions and Identity Center\n enabled workgroups. This property applies only to Spark enabled workgroups and Identity\n Center enabled workgroups.</p>"
"smithy.api#documentation": "<p>The ARN of the execution role used to access user resources for Spark sessions and\n IAM Identity Center enabled workgroups. This property applies only to Spark enabled\n workgroups and IAM Identity Center enabled workgroups. The property is required for\n IAM Identity Center enabled workgroups.</p>"
}
},
"CustomerContentEncryptionConfiguration": {
Expand Down Expand Up @@ -8849,7 +8854,7 @@
"ExecutionRole": {
"target": "com.amazonaws.athena#RoleArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the execution role used to access user resources for Spark sessions and Identity Center\n enabled workgroups. This property applies only to Spark enabled workgroups and Identity\n Center enabled workgroups.</p>"
"smithy.api#documentation": "<p>The ARN of the execution role used to access user resources for Spark sessions and\n Identity Center enabled workgroups. This property applies only to Spark enabled\n workgroups and Identity Center enabled workgroups.</p>"
}
},
"CustomerContentEncryptionConfiguration": {
Expand Down
Loading

0 comments on commit c3b27fc

Please sign in to comment.