Skip to content

Commit db6c1ab

Browse files
Update API model
1 parent b8b9c74 commit db6c1ab

File tree

6 files changed

+2178
-1517
lines changed

6 files changed

+2178
-1517
lines changed

tools/code-generation/smithy/api-descriptions/bedrock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3534,7 +3534,7 @@
35343534
"min": 1,
35353535
"max": 2048
35363536
},
3537-
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:((:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:application-inference-profile/[a-z0-9]{12})|([0-9]{12}:inference-profile/(([a-z-]{2,8}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([0-9]{12}:default-prompt-router/[a-zA-Z0-9-:.]+)))|(([a-z]{2}[.]{1})([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|arn:aws(-[^:]+)?:sagemaker:[a-z0-9-]{1,20}:[0-9]{12}:endpoint/[a-z0-9-]{1,63}$"
3537+
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:((:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:application-inference-profile/[a-z0-9]{12})|([0-9]{12}:inference-profile/(([a-z-]{2,8}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([0-9]{12}:(default-prompt-router|prompt-router)/[a-zA-Z0-9-:.]+)))|(([a-z]{2}[.]{1})([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|arn:aws(-[^:]+)?:sagemaker:[a-z0-9-]{1,20}:[0-9]{12}:endpoint/[a-z0-9-]{1,63}$"
35383538
}
35393539
},
35403540
"com.amazonaws.bedrock#EvaluationModelIdentifiers": {

tools/code-generation/smithy/api-descriptions/ec2.json

Lines changed: 33 additions & 33 deletions
Large diffs are not rendered by default.

tools/code-generation/smithy/api-descriptions/lambda.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2784,7 +2784,7 @@
27842784
"ProvisionedPollerConfig": {
27852785
"target": "com.amazonaws.lambda#ProvisionedPollerConfig",
27862786
"traits": {
2787-
"smithy.api#documentation": "<p>(Amazon MSK and self-managed Apache Kafka only) The Provisioned Mode configuration for the event source.\n For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode\">Provisioned Mode</a>.</p>"
2787+
"smithy.api#documentation": "<p>(Amazon MSK and self-managed Apache Kafka only) The provisioned mode configuration for the event source.\n For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode\">provisioned mode</a>.</p>"
27882788
}
27892789
}
27902790
},
@@ -4357,7 +4357,7 @@
43574357
"ProvisionedPollerConfig": {
43584358
"target": "com.amazonaws.lambda#ProvisionedPollerConfig",
43594359
"traits": {
4360-
"smithy.api#documentation": "<p>(Amazon MSK and self-managed Apache Kafka only) The Provisioned Mode configuration for the event source.\n For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode\">Provisioned Mode</a>.</p>"
4360+
"smithy.api#documentation": "<p>(Amazon MSK and self-managed Apache Kafka only) The provisioned mode configuration for the event source.\n For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode\">provisioned mode</a>.</p>"
43614361
}
43624362
}
43634363
},
@@ -6885,7 +6885,7 @@
68856885
}
68866886
},
68876887
"traits": {
6888-
"smithy.api#documentation": "<p>The request body could not be parsed as JSON.</p>",
6888+
"smithy.api#documentation": "<p>The request body could not be parsed as JSON, or a request header is invalid. For example, the 'x-amzn-RequestId'\n header is not a valid UUID string.</p>",
68896889
"smithy.api#error": "client",
68906890
"smithy.api#httpError": 400
68916891
}
@@ -9940,7 +9940,7 @@
99409940
}
99419941
},
99429942
"traits": {
9943-
"smithy.api#documentation": "<p>The <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode\">\n Provisioned Mode</a> configuration for the event source. Use Provisioned Mode to customize the minimum and maximum number of event pollers\n for your event source. An event poller is a compute unit that provides approximately 5 MBps of throughput.</p>"
9943+
"smithy.api#documentation": "<p>The <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode\">\n provisioned mode</a> configuration for the event source. Use Provisioned Mode to customize the minimum and maximum number of event pollers\n for your event source. An event poller is a compute unit that provides approximately 5 MBps of throughput.</p>"
99449944
}
99459945
},
99469946
"com.amazonaws.lambda#PublishLayerVersion": {
@@ -11326,6 +11326,12 @@
1132611326
"smithy.api#enumValue": "ruby3.3"
1132711327
}
1132811328
},
11329+
"ruby34": {
11330+
"target": "smithy.api#Unit",
11331+
"traits": {
11332+
"smithy.api#enumValue": "ruby3.4"
11333+
}
11334+
},
1132911335
"python311": {
1133011336
"target": "smithy.api#Unit",
1133111337
"traits": {
@@ -12763,7 +12769,7 @@
1276312769
"ProvisionedPollerConfig": {
1276412770
"target": "com.amazonaws.lambda#ProvisionedPollerConfig",
1276512771
"traits": {
12766-
"smithy.api#documentation": "<p>(Amazon MSK and self-managed Apache Kafka only) The Provisioned Mode configuration for the event source.\n For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode\">Provisioned Mode</a>.</p>"
12772+
"smithy.api#documentation": "<p>(Amazon MSK and self-managed Apache Kafka only) The provisioned mode configuration for the event source.\n For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode\">provisioned mode</a>.</p>"
1276712773
}
1276812774
}
1276912775
},

0 commit comments

Comments
 (0)