Skip to content

Commit c3b27fc

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent a75d769 commit c3b27fc

File tree

4 files changed

+937
-39
lines changed

4 files changed

+937
-39
lines changed

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

+14-9
Original file line numberDiff line numberDiff line change
@@ -4568,7 +4568,7 @@
45684568
}
45694569
],
45704570
"traits": {
4571-
"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>"
4571+
"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>"
45724572
}
45734573
},
45744574
"com.amazonaws.athena#ImportNotebookInput": {
@@ -4591,8 +4591,7 @@
45914591
"Payload": {
45924592
"target": "com.amazonaws.athena#Payload",
45934593
"traits": {
4594-
"smithy.api#documentation": "<p>The notebook content to be imported.</p>",
4595-
"smithy.api#required": {}
4594+
"smithy.api#documentation": "<p>The notebook content to be imported. The payload must be in <code>ipynb</code> format.</p>"
45964595
}
45974596
},
45984597
"Type": {
@@ -4602,6 +4601,12 @@
46024601
"smithy.api#required": {}
46034602
}
46044603
},
4604+
"NotebookS3LocationUri": {
4605+
"target": "com.amazonaws.athena#S3Uri",
4606+
"traits": {
4607+
"smithy.api#documentation": "<p>A URI that specifies the Amazon S3 location of a notebook file in <code>ipynb</code> format.</p>"
4608+
}
4609+
},
46054610
"ClientRequestToken": {
46064611
"target": "com.amazonaws.athena#ClientRequestToken",
46074612
"traits": {
@@ -4939,7 +4944,7 @@
49394944
"WorkGroup": {
49404945
"target": "com.amazonaws.athena#WorkGroupName",
49414946
"traits": {
4942-
"smithy.api#documentation": "<p>The name of the workgroup. Required if\n making an IAM Identity Center request.</p>"
4947+
"smithy.api#documentation": "<p>The name of the workgroup. Required if making an IAM Identity Center request.</p>"
49434948
}
49444949
}
49454950
},
@@ -6618,7 +6623,7 @@
66186623
"ServicePreProcessingTimeInMillis": {
66196624
"target": "com.amazonaws.athena#Long",
66206625
"traits": {
6621-
"smithy.api#documentation": "<p>The number of milliseconds that Athena took to preprocess the query before submitting the query to the query engine.</p>"
6626+
"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>"
66226627
}
66236628
},
66246629
"QueryPlanningTimeInMillis": {
@@ -6774,7 +6779,7 @@
67746779
"ServicePreProcessingTimeInMillis": {
67756780
"target": "com.amazonaws.athena#Long",
67766781
"traits": {
6777-
"smithy.api#documentation": "<p>\n The number of milliseconds that Athena spends on preprocessing before it submits the query to the engine.\n </p>"
6782+
"smithy.api#documentation": "<p> The number of milliseconds that Athena spends on preprocessing before it\n submits the query to the engine. </p>"
67786783
}
67796784
},
67806785
"QueryPlanningTimeInMillis": {
@@ -7185,7 +7190,7 @@
71857190
"ExecutionRole": {
71867191
"target": "com.amazonaws.athena#RoleArn",
71877192
"traits": {
7188-
"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>"
7193+
"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>"
71897194
}
71907195
},
71917196
"WorkingDirectory": {
@@ -8757,7 +8762,7 @@
87578762
"ExecutionRole": {
87588763
"target": "com.amazonaws.athena#RoleArn",
87598764
"traits": {
8760-
"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>"
8765+
"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>"
87618766
}
87628767
},
87638768
"CustomerContentEncryptionConfiguration": {
@@ -8849,7 +8854,7 @@
88498854
"ExecutionRole": {
88508855
"target": "com.amazonaws.athena#RoleArn",
88518856
"traits": {
8852-
"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>"
8857+
"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>"
88538858
}
88548859
},
88558860
"CustomerContentEncryptionConfiguration": {

0 commit comments

Comments
 (0)