Skip to content

Commit

Permalink
Update SDK models
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-rust-ci committed Dec 4, 2024
1 parent 6323ca4 commit ade5959
Show file tree
Hide file tree
Showing 905 changed files with 94,991 additions and 1,015 deletions.
8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[workspace]
resolver = "2"
exclude = [
"examples/cross_service",
"examples/lambda",
"examples/webassembly",
"examples/examples",
"examples/test-utils",
"examples/webassembly",
"examples/lambda",
"examples/cross_service",
"tests/no-default-features",
"tests/webassembly"
]
Expand Down Expand Up @@ -81,6 +81,8 @@ members = [
"sdk/bedrock",
"sdk/bedrockagent",
"sdk/bedrockagentruntime",
"sdk/bedrockdataautomation",
"sdk/bedrockdataautomationruntime",
"sdk/bedrockruntime",
"sdk/billing",
"sdk/billingconductor",
Expand Down
444 changes: 439 additions & 5 deletions aws-models/bedrock-agent-runtime.json

Large diffs are not rendered by default.

780 changes: 761 additions & 19 deletions aws-models/bedrock-agent.json

Large diffs are not rendered by default.

1,310 changes: 1,310 additions & 0 deletions aws-models/bedrock-data-automation-runtime.json

Large diffs are not rendered by default.

3,043 changes: 3,043 additions & 0 deletions aws-models/bedrock-data-automation.json

Large diffs are not rendered by default.

196 changes: 194 additions & 2 deletions aws-models/bedrock-runtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@
"min": 1,
"max": 2048
},
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|([a-zA-Z0-9-:.]+)|(^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10}(?::[0-9]{1,5})?))$"
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|([a-zA-Z0-9-:.]+)|(^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10}(?::[0-9]{1,5})?))$|(^arn:aws:sagemaker:[a-z0-9-]+:[0-9]{12}:endpoint/[a-zA-Z0-9-]+$)|(^arn:aws(-[^:]+)?:bedrock:([0-9a-z-]{1,20}):([0-9]{12}):default-prompt-router/[a-zA-Z0-9-:.]+$)$"
}
},
"com.amazonaws.bedrockruntime#Converse": {
Expand Down Expand Up @@ -1727,6 +1727,12 @@
"traits": {
"smithy.api#documentation": "<p>The guardrail trace object. </p>"
}
},
"promptRouter": {
"target": "com.amazonaws.bedrockruntime#PromptRouterTrace",
"traits": {
"smithy.api#documentation": "<p>The request's prompt router.</p>"
}
}
},
"traits": {
Expand All @@ -1741,6 +1747,12 @@
"traits": {
"smithy.api#documentation": "<p>The guardrail trace object. </p>"
}
},
"promptRouter": {
"target": "com.amazonaws.bedrockruntime#PromptRouterTrace",
"traits": {
"smithy.api#documentation": "<p>The request's prompt router.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -2093,6 +2105,12 @@
"traits": {
"smithy.api#documentation": "<p>Text within content block to be evaluated by the guardrail.</p>"
}
},
"image": {
"target": "com.amazonaws.bedrockruntime#GuardrailImageBlock",
"traits": {
"smithy.api#documentation": "<p>Image within guardrail content block to be evaluated by the guardrail.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -2429,6 +2447,12 @@
"traits": {
"smithy.api#documentation": "<p>The text to guard.</p>"
}
},
"image": {
"target": "com.amazonaws.bedrockruntime#GuardrailConverseImageBlock",
"traits": {
"smithy.api#documentation": "<p>Image within converse content block to be evaluated by the guardrail.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -2464,6 +2488,64 @@
"target": "com.amazonaws.bedrockruntime#GuardrailConverseContentQualifier"
}
},
"com.amazonaws.bedrockruntime#GuardrailConverseImageBlock": {
"type": "structure",
"members": {
"format": {
"target": "com.amazonaws.bedrockruntime#GuardrailConverseImageFormat",
"traits": {
"smithy.api#documentation": "<p>The format details for the image type of the guardrail converse image block.</p>",
"smithy.api#required": {}
}
},
"source": {
"target": "com.amazonaws.bedrockruntime#GuardrailConverseImageSource",
"traits": {
"smithy.api#documentation": "<p>The image source (image bytes) of the guardrail converse image block.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>An image block that contains images that you want to assess with a guardrail.</p>",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.bedrockruntime#GuardrailConverseImageFormat": {
"type": "enum",
"members": {
"PNG": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "png"
}
},
"JPEG": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "jpeg"
}
}
}
},
"com.amazonaws.bedrockruntime#GuardrailConverseImageSource": {
"type": "union",
"members": {
"bytes": {
"target": "smithy.api#Blob",
"traits": {
"smithy.api#documentation": "<p>The raw image bytes for the image.</p>",
"smithy.api#length": {
"min": 1
}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The image source (image bytes) of the guardrail converse image source.</p>",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.bedrockruntime#GuardrailConverseTextBlock": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -2493,6 +2575,12 @@
"traits": {
"smithy.api#documentation": "<p>The text characters of the guardrail coverage details.</p>"
}
},
"images": {
"target": "com.amazonaws.bedrockruntime#GuardrailImageCoverage",
"traits": {
"smithy.api#documentation": "<p>The guardrail coverage for images (the number of images that guardrails guarded).</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -2536,6 +2624,84 @@
"smithy.api#pattern": "^(([a-z0-9]+)|(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+))$"
}
},
"com.amazonaws.bedrockruntime#GuardrailImageBlock": {
"type": "structure",
"members": {
"format": {
"target": "com.amazonaws.bedrockruntime#GuardrailImageFormat",
"traits": {
"smithy.api#documentation": "<p>The format details for the file type of the image blocked by the guardrail.</p>",
"smithy.api#required": {}
}
},
"source": {
"target": "com.amazonaws.bedrockruntime#GuardrailImageSource",
"traits": {
"smithy.api#documentation": "<p>The image source (image bytes) details of the image blocked by the guardrail.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contain an image which user wants guarded. This block is accepted by the guardrails independent API.</p>",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.bedrockruntime#GuardrailImageCoverage": {
"type": "structure",
"members": {
"guarded": {
"target": "com.amazonaws.bedrockruntime#ImagesGuarded",
"traits": {
"smithy.api#documentation": "<p>The count (integer) of images guardrails guarded.</p>"
}
},
"total": {
"target": "com.amazonaws.bedrockruntime#ImagesTotal",
"traits": {
"smithy.api#documentation": "<p>Represents the total number of images (integer) that were in the request (guarded and unguarded).</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The details of the guardrail image coverage.</p>"
}
},
"com.amazonaws.bedrockruntime#GuardrailImageFormat": {
"type": "enum",
"members": {
"PNG": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "png"
}
},
"JPEG": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "jpeg"
}
}
}
},
"com.amazonaws.bedrockruntime#GuardrailImageSource": {
"type": "union",
"members": {
"bytes": {
"target": "smithy.api#Blob",
"traits": {
"smithy.api#documentation": "<p>The bytes details of the guardrail image source. Object used in independent api.</p>",
"smithy.api#length": {
"min": 1
}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The image source (image bytes) of the guardrail image source. Object used in independent api.</p>",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.bedrockruntime#GuardrailInvocationMetrics": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -3324,6 +3490,12 @@
"smithy.api#documentation": "<p>The source for an image.</p>"
}
},
"com.amazonaws.bedrockruntime#ImagesGuarded": {
"type": "integer"
},
"com.amazonaws.bedrockruntime#ImagesTotal": {
"type": "integer"
},
"com.amazonaws.bedrockruntime#InferenceConfiguration": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -3466,7 +3638,7 @@
"min": 1,
"max": 2048
},
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|([a-zA-Z0-9-:.]+)$|(^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10}(?::[0-9]{1,5})?))$"
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|([a-zA-Z0-9-:.]+)$|(^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10}(?::[0-9]{1,5})?))$|(^arn:aws:sagemaker:[a-z0-9-]+:[0-9]{12}:endpoint/[a-zA-Z0-9-]+$)|(^arn:aws(-[^:]+)?:bedrock:([0-9a-z-]{1,20}):([0-9]{12}):default-prompt-router/[a-zA-Z0-9-:.]+$)$"
}
},
"com.amazonaws.bedrockruntime#InvokeModelRequest": {
Expand Down Expand Up @@ -3715,6 +3887,12 @@
"smithy.api#output": {}
}
},
"com.amazonaws.bedrockruntime#InvokedModelId": {
"type": "string",
"traits": {
"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,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)$"
}
},
"com.amazonaws.bedrockruntime#KmsKeyId": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -4101,6 +4279,20 @@
"smithy.api#documentation": "<p>Performance settings for a model.</p>"
}
},
"com.amazonaws.bedrockruntime#PromptRouterTrace": {
"type": "structure",
"members": {
"invokedModelId": {
"target": "com.amazonaws.bedrockruntime#InvokedModelId",
"traits": {
"smithy.api#documentation": "<p>The ID of the invoked model.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A prompt router trace.</p>"
}
},
"com.amazonaws.bedrockruntime#PromptVariableMap": {
"type": "map",
"key": {
Expand Down
Loading

0 comments on commit ade5959

Please sign in to comment.