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 Oct 17, 2024
1 parent ebfeafa commit fe3f6a3
Show file tree
Hide file tree
Showing 8 changed files with 1,502 additions and 182 deletions.
13 changes: 4 additions & 9 deletions codegen/sdk-codegen/aws-models/bedrock-agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -7154,7 +7154,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Gets information about a data ingestion job. Data sources are ingested into your knowledge base so that Large Lanaguage Models (LLMs) can use your data.</p>",
"smithy.api#documentation": "<p>Gets information about a data ingestion job. Data sources are ingested into your knowledge base so that Large Language Models (LLMs) can use your data.</p>",
"smithy.api#http": {
"code": 200,
"method": "GET",
Expand Down Expand Up @@ -10620,12 +10620,6 @@
"smithy.api#documentation": "<p>The percentage of most-likely candidates that the model considers for the next token.</p>"
}
},
"topK": {
"target": "com.amazonaws.bedrockagent#TopK",
"traits": {
"smithy.api#documentation": "<p>The number of most-likely candidates that the model considers for the next token during generation.</p>"
}
},
"maxTokens": {
"target": "com.amazonaws.bedrockagent#MaximumLength",
"traits": {
Expand Down Expand Up @@ -10862,7 +10856,8 @@
"templateConfiguration": {
"target": "com.amazonaws.bedrockagent#PromptTemplateConfiguration",
"traits": {
"smithy.api#documentation": "<p>Contains configurations for the prompt template.</p>"
"smithy.api#documentation": "<p>Contains configurations for the prompt template.</p>",
"smithy.api#required": {}
}
},
"modelId": {
Expand Down Expand Up @@ -10896,7 +10891,7 @@
},
"traits": {
"smithy.api#length": {
"max": 3
"max": 1
},
"smithy.api#sensitive": {}
}
Expand Down
1,430 changes: 1,313 additions & 117 deletions codegen/sdk-codegen/aws-models/dataexchange.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions codegen/sdk-codegen/aws-models/ecs.json
Original file line number Diff line number Diff line change
Expand Up @@ -9643,7 +9643,7 @@
"referenceId": {
"target": "com.amazonaws.ecs#String",
"traits": {
"smithy.api#documentation": "<p>The reference ID to use for the task. The reference ID can have a maximum length of\n\t\t\t1024 characters.</p>"
"smithy.api#documentation": "<p>This parameter is only used by Amazon ECS. It is not intended for use by customers.</p>"
}
},
"startedBy": {
Expand Down Expand Up @@ -10692,13 +10692,13 @@
"referenceId": {
"target": "com.amazonaws.ecs#String",
"traits": {
"smithy.api#documentation": "<p>The reference ID to use for the task.</p>"
"smithy.api#documentation": "<p>This parameter is only used by Amazon ECS. It is not intended for use by customers.</p>"
}
},
"startedBy": {
"target": "com.amazonaws.ecs#String",
"traits": {
"smithy.api#documentation": "<p>An optional tag specified when a task is started. For example, if you automatically\n\t\t\ttrigger a task to run a batch process job, you could apply a unique identifier for that\n\t\t\tjob to your task with the <code>startedBy</code> parameter. You can then identify which\n\t\t\ttasks belong to that job by filtering the results of a <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListTasks.html\">ListTasks</a> call with\n\t\t\tthe <code>startedBy</code> value. Up to 36 letters (uppercase and lowercase), numbers,\n\t\t\thyphens (-), forward slash (/), and underscores (_) are allowed.</p>\n <p>If a task is started by an Amazon ECS service, the <code>startedBy</code> parameter\n\t\t\tcontains the deployment ID of the service that starts it.</p>"
"smithy.api#documentation": "<p>An optional tag specified when a task is started. For example, if you automatically trigger\n\t\t\ta task to run a batch process job, you could apply a unique identifier for that job to\n\t\t\tyour task with the <code>startedBy</code> parameter. You can then identify which tasks\n\t\t\tbelong to that job by filtering the results of a <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListTasks.html\">ListTasks</a> call with\n\t\t\tthe <code>startedBy</code> value. Up to 36 letters (uppercase and lowercase), numbers,\n\t\t\thyphens (-), forward slash (/), and underscores (_) are allowed.</p>\n <p>If a task is started by an Amazon ECS service, the <code>startedBy</code> parameter\n\t\t\tcontains the deployment ID of the service that starts it.</p>"
}
},
"tags": {
Expand Down
22 changes: 17 additions & 5 deletions codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Create a new registration attachment to use for uploading a file or a URL to a file. The maximum file size is 1MiB and valid file extensions are PDF, JPEG and PNG. For example, many sender ID registrations require a signed “letter of authorization” (LOA) to be submitted.</p>"
"smithy.api#documentation": "<p>Create a new registration attachment to use for uploading a file or a URL to a file.\n The maximum file size is 500KB and valid file extensions are PDF, JPEG and PNG. For\n example, many sender ID registrations require a signed “letter of authorization” (LOA)\n to be submitted.</p>\n <p>Use either <code>AttachmentUrl</code> or <code>AttachmentBody</code> to upload your attachment. If both are specified then an exception is returned.</p>"
}
},
"com.amazonaws.pinpointsmsvoicev2#CreateRegistrationAttachmentRequest": {
Expand All @@ -1577,13 +1577,13 @@
"AttachmentBody": {
"target": "com.amazonaws.pinpointsmsvoicev2#AttachmentBody",
"traits": {
"smithy.api#documentation": "<p>The registration file to upload. The maximum file size is 1MiB and valid file extensions are PDF, JPEG and PNG.</p>"
"smithy.api#documentation": "<p>The registration file to upload. The maximum file size is 500KB and valid file extensions are PDF, JPEG and PNG.</p>"
}
},
"AttachmentUrl": {
"target": "com.amazonaws.pinpointsmsvoicev2#AttachmentUrl",
"traits": {
"smithy.api#documentation": "<p>A URL to the required registration file. For example, you can provide the S3 object URL.</p>"
"smithy.api#documentation": "<p>Registration files have to be stored in an Amazon S3 bucket. The URI to use when sending is in the format <code>s3://BucketName/FileName</code>.</p>"
}
},
"Tags": {
Expand Down Expand Up @@ -3826,7 +3826,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Describes the specified opted out destination numbers or all opted out destination\n numbers in an opt-out list.</p>\n <p>If you specify opted out numbers, the output includes information for only the\n specified opted out numbers. If you specify filters, the output includes information for\n only those opted out numbers that meet the filter criteria. If you don't specify opted\n out numbers or filters, the output includes information for all opted out destination\n numbers in your opt-out list.</p>\n <p>If you specify an opted out number that isn't valid, an error is returned.</p>",
"smithy.api#documentation": "<p>Describes the specified opted out destination numbers or all opted out destination\n numbers in an opt-out list.</p>\n <p>If you specify opted out numbers, the output includes information for only the\n specified opted out numbers. If you specify filters, the output includes information for\n only those opted out numbers that meet the filter criteria. If you don't specify opted\n out numbers or filters, the output includes information for all opted out destination\n numbers in your opt-out list.</p>\n <p>If you specify an opted out number that isn't valid, an exception is returned.</p>",
"smithy.api#paginated": {
"items": "OptedOutNumbers"
}
Expand All @@ -3845,7 +3845,7 @@
"OptedOutNumbers": {
"target": "com.amazonaws.pinpointsmsvoicev2#OptedOutNumberList",
"traits": {
"smithy.api#documentation": "<p>An array of phone numbers to search for in the OptOutList.</p>"
"smithy.api#documentation": "<p>An array of phone numbers to search for in the OptOutList.</p>\n <p>If you specify an opted out number that isn't valid, an exception is returned.</p>"
}
},
"Filters": {
Expand Down Expand Up @@ -9685,6 +9685,10 @@
"value": "REVIEWING",
"name": "REVIEWING"
},
{
"value": "REQUIRES_AUTHENTICATION",
"name": "REQUIRES_AUTHENTICATION"
},
{
"value": "PROVISIONING",
"name": "PROVISIONING"
Expand Down Expand Up @@ -9971,6 +9975,10 @@
"value": "REVIEWING",
"name": "REVIEWING"
},
{
"value": "REQUIRES_AUTHENTICATION",
"name": "REQUIRES_AUTHENTICATION"
},
{
"value": "APPROVED",
"name": "APPROVED"
Expand Down Expand Up @@ -13597,6 +13605,10 @@
"value": "VOICE_CAPABILITY_NOT_AVAILABLE",
"name": "VOICE_CAPABILITY_NOT_AVAILABLE"
},
{
"value": "UNSPECIFIED_PARAMETER_NOT_SUPPORTED",
"name": "UNSPECIFIED_PARAMETER_NOT_SUPPORTED"
},
{
"value": "OTHER",
"name": "OTHER"
Expand Down
Loading

0 comments on commit fe3f6a3

Please sign in to comment.