Skip to content

Commit bafd583

Browse files
Update SDK models
1 parent 8abdd06 commit bafd583

File tree

70 files changed

+3837
-644
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+3837
-644
lines changed

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[workspace]
22
resolver = "2"
33
exclude = [
4+
"examples/webassembly",
5+
"examples/test-utils",
46
"examples/examples",
57
"examples/cross_service",
68
"examples/lambda",
7-
"examples/webassembly",
8-
"examples/test-utils",
9-
"tests/no-default-features",
109
"tests/webassembly",
11-
"tests/telemetry"
10+
"tests/telemetry",
11+
"tests/no-default-features"
1212
]
1313
members = [
1414
"sdk/accessanalyzer",

aws-models/amp.json

Lines changed: 298 additions & 1 deletion
Large diffs are not rendered by default.

aws-models/bedrock-agent.json

Lines changed: 105 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -995,8 +995,10 @@
995995
"type": "structure",
996996
"members": {
997997
"agentAliasArn": {
998-
"target": "com.amazonaws.bedrockagent#AgentAliasArn",
998+
"target": "com.amazonaws.bedrockagent#FlowAgentAliasArn",
999999
"traits": {
1000+
"smithy.api#addedDefault": {},
1001+
"smithy.api#default": "",
10001002
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the alias of the agent to invoke.</p>",
10011003
"smithy.api#required": {}
10021004
}
@@ -6647,6 +6649,15 @@
66476649
"smithy.api#documentation": "<p>Configurations for when you choose fixed-size chunking. If you set the <code>chunkingStrategy</code> as <code>NONE</code>, exclude this field.</p>"
66486650
}
66496651
},
6652+
"com.amazonaws.bedrockagent#FlowAgentAliasArn": {
6653+
"type": "string",
6654+
"traits": {
6655+
"smithy.api#length": {
6656+
"max": 2048
6657+
},
6658+
"smithy.api#pattern": "^$|^arn:aws(-cn|-us-gov|-eusc|-iso(-[b-f])?)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent-alias/[0-9a-zA-Z]{10}/[0-9a-zA-Z]{10}$"
6659+
}
6660+
},
66506661
"com.amazonaws.bedrockagent#FlowAliasArn": {
66516662
"type": "string",
66526663
"traits": {
@@ -7069,6 +7080,42 @@
70697080
"smithy.api#pattern": "^(arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:flow/[0-9a-zA-Z]{10})|([0-9a-zA-Z]{10})$"
70707081
}
70717082
},
7083+
"com.amazonaws.bedrockagent#FlowKnowledgeBaseId": {
7084+
"type": "string",
7085+
"traits": {
7086+
"smithy.api#length": {
7087+
"max": 10
7088+
},
7089+
"smithy.api#pattern": "^$|^[0-9a-zA-Z]+$"
7090+
}
7091+
},
7092+
"com.amazonaws.bedrockagent#FlowLambdaArn": {
7093+
"type": "string",
7094+
"traits": {
7095+
"smithy.api#length": {
7096+
"max": 2048
7097+
},
7098+
"smithy.api#pattern": "^$|^arn:aws(-cn|-us-gov|-eusc|-iso(-[b-f])?)?:lambda:([a-z]{2,}-){2,}\\d:\\d{12}:function:[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?$"
7099+
}
7100+
},
7101+
"com.amazonaws.bedrockagent#FlowLexBotAliasArn": {
7102+
"type": "string",
7103+
"traits": {
7104+
"smithy.api#length": {
7105+
"max": 78
7106+
},
7107+
"smithy.api#pattern": "^$|^arn:aws(-cn|-us-gov|-eusc|-iso(-[b-f])?)?:lex:([a-z]{2,}-){2,}\\d:\\d{12}:bot-alias/[0-9a-zA-Z]+/[0-9a-zA-Z]+$"
7108+
}
7109+
},
7110+
"com.amazonaws.bedrockagent#FlowLexBotLocaleId": {
7111+
"type": "string",
7112+
"traits": {
7113+
"smithy.api#length": {
7114+
"min": 0,
7115+
"max": 10
7116+
}
7117+
}
7118+
},
70727119
"com.amazonaws.bedrockagent#FlowName": {
70737120
"type": "string",
70747121
"traits": {
@@ -7496,6 +7543,22 @@
74967543
}
74977544
}
74987545
},
7546+
"com.amazonaws.bedrockagent#FlowPromptArn": {
7547+
"type": "string",
7548+
"traits": {
7549+
"smithy.api#pattern": "^$|^(arn:aws(-cn|-us-gov|-eusc|-iso(-[b-f])?)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10}(?::[0-9]{1,5})?)$"
7550+
}
7551+
},
7552+
"com.amazonaws.bedrockagent#FlowPromptModelIdentifier": {
7553+
"type": "string",
7554+
"traits": {
7555+
"smithy.api#length": {
7556+
"min": 0,
7557+
"max": 2048
7558+
},
7559+
"smithy.api#pattern": "^$|^(arn:aws(-cn|-us-gov|-eusc|-iso(-[b-f])?)?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$"
7560+
}
7561+
},
74997562
"com.amazonaws.bedrockagent#FlowResource": {
75007563
"type": "resource",
75017564
"identifiers": {
@@ -7537,6 +7600,16 @@
75377600
}
75387601
}
75397602
},
7603+
"com.amazonaws.bedrockagent#FlowS3BucketName": {
7604+
"type": "string",
7605+
"traits": {
7606+
"smithy.api#length": {
7607+
"min": 0,
7608+
"max": 63
7609+
},
7610+
"smithy.api#pattern": "^$|^[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]$"
7611+
}
7612+
},
75407613
"com.amazonaws.bedrockagent#FlowStatus": {
75417614
"type": "enum",
75427615
"members": {
@@ -10299,7 +10372,7 @@
1029910372
"type": "string",
1030010373
"traits": {
1030110374
"smithy.api#length": {
10302-
"min": 1,
10375+
"min": 0,
1030310376
"max": 5000000
1030410377
},
1030510378
"smithy.api#sensitive": {}
@@ -10311,13 +10384,17 @@
1031110384
"code": {
1031210385
"target": "com.amazonaws.bedrockagent#InlineCode",
1031310386
"traits": {
10387+
"smithy.api#addedDefault": {},
10388+
"smithy.api#default": "",
1031410389
"smithy.api#documentation": "<p>The code that's executed in your inline code node. The code can access input data from previous nodes in the flow, perform operations on that data, and produce output that can be used by other nodes in your flow.</p> <p>The code must be valid in the programming <code>language</code> that you specify.</p>",
1031510390
"smithy.api#required": {}
1031610391
}
1031710392
},
1031810393
"language": {
1031910394
"target": "com.amazonaws.bedrockagent#SupportedLanguages",
1032010395
"traits": {
10396+
"smithy.api#addedDefault": {},
10397+
"smithy.api#default": "Python_3",
1032110398
"smithy.api#documentation": "<p>The programming language used by your inline code node.</p> <p>The code must be valid in the programming <code>language</code> that you specify. Currently, only Python 3 (<code>Python_3</code>) is supported.</p>",
1032210399
"smithy.api#required": {}
1032310400
}
@@ -10725,8 +10802,10 @@
1072510802
"type": "structure",
1072610803
"members": {
1072710804
"knowledgeBaseId": {
10728-
"target": "com.amazonaws.bedrockagent#KnowledgeBaseId",
10805+
"target": "com.amazonaws.bedrockagent#FlowKnowledgeBaseId",
1072910806
"traits": {
10807+
"smithy.api#addedDefault": {},
10808+
"smithy.api#default": "",
1073010809
"smithy.api#documentation": "<p>The unique identifier of the knowledge base to query.</p>",
1073110810
"smithy.api#required": {}
1073210811
}
@@ -10782,15 +10861,6 @@
1078210861
"smithy.api#documentation": "<p>Contains configurations for a knowledge base node in a flow. This node takes a query as the input and returns, as the output, the retrieved responses directly (as an array) or a response generated based on the retrieved responses. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html\">Node types in a flow</a> in the Amazon Bedrock User Guide.</p>"
1078310862
}
1078410863
},
10785-
"com.amazonaws.bedrockagent#KnowledgeBaseId": {
10786-
"type": "string",
10787-
"traits": {
10788-
"smithy.api#length": {
10789-
"max": 10
10790-
},
10791-
"smithy.api#pattern": "^[0-9a-zA-Z]+$"
10792-
}
10793-
},
1079410864
"com.amazonaws.bedrockagent#KnowledgeBaseModelIdentifier": {
1079510865
"type": "string",
1079610866
"traits": {
@@ -11096,8 +11166,10 @@
1109611166
"type": "structure",
1109711167
"members": {
1109811168
"lambdaArn": {
11099-
"target": "com.amazonaws.bedrockagent#LambdaArn",
11169+
"target": "com.amazonaws.bedrockagent#FlowLambdaArn",
1110011170
"traits": {
11171+
"smithy.api#addedDefault": {},
11172+
"smithy.api#default": "",
1110111173
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Lambda function to invoke.</p>",
1110211174
"smithy.api#required": {}
1110311175
}
@@ -11107,37 +11179,23 @@
1110711179
"smithy.api#documentation": "<p>Contains configurations for a Lambda function node in the flow. You specify the Lambda function to invoke and the inputs into the function. The output is the response that is defined in the Lambda function. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html\">Node types in a flow</a> in the Amazon Bedrock User Guide.</p>"
1110811180
}
1110911181
},
11110-
"com.amazonaws.bedrockagent#LexBotAliasArn": {
11111-
"type": "string",
11112-
"traits": {
11113-
"smithy.api#length": {
11114-
"max": 78
11115-
},
11116-
"smithy.api#pattern": "^arn:aws(|-us-gov):lex:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:bot-alias/[0-9a-zA-Z]+/[0-9a-zA-Z]+$"
11117-
}
11118-
},
11119-
"com.amazonaws.bedrockagent#LexBotLocaleId": {
11120-
"type": "string",
11121-
"traits": {
11122-
"smithy.api#length": {
11123-
"min": 1,
11124-
"max": 10
11125-
}
11126-
}
11127-
},
1112811182
"com.amazonaws.bedrockagent#LexFlowNodeConfiguration": {
1112911183
"type": "structure",
1113011184
"members": {
1113111185
"botAliasArn": {
11132-
"target": "com.amazonaws.bedrockagent#LexBotAliasArn",
11186+
"target": "com.amazonaws.bedrockagent#FlowLexBotAliasArn",
1113311187
"traits": {
11188+
"smithy.api#addedDefault": {},
11189+
"smithy.api#default": "",
1113411190
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.</p>",
1113511191
"smithy.api#required": {}
1113611192
}
1113711193
},
1113811194
"localeId": {
11139-
"target": "com.amazonaws.bedrockagent#LexBotLocaleId",
11195+
"target": "com.amazonaws.bedrockagent#FlowLexBotLocaleId",
1114011196
"traits": {
11197+
"smithy.api#addedDefault": {},
11198+
"smithy.api#default": "",
1114111199
"smithy.api#documentation": "<p>The Region to invoke the Amazon Lex bot in.</p>",
1114211200
"smithy.api#required": {}
1114311201
}
@@ -14204,6 +14262,8 @@
1420414262
"templateType": {
1420514263
"target": "com.amazonaws.bedrockagent#PromptTemplateType",
1420614264
"traits": {
14265+
"smithy.api#addedDefault": {},
14266+
"smithy.api#default": "TEXT",
1420714267
"smithy.api#documentation": "<p>The type of prompt template.</p>",
1420814268
"smithy.api#required": {}
1420914269
}
@@ -14216,8 +14276,10 @@
1421614276
}
1421714277
},
1421814278
"modelId": {
14219-
"target": "com.amazonaws.bedrockagent#PromptModelIdentifier",
14279+
"target": "com.amazonaws.bedrockagent#FlowPromptModelIdentifier",
1422014280
"traits": {
14281+
"smithy.api#addedDefault": {},
14282+
"smithy.api#default": "",
1422114283
"smithy.api#documentation": "<p>The unique identifier of the model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a> to run inference with.</p>",
1422214284
"smithy.api#required": {}
1422314285
}
@@ -14243,8 +14305,10 @@
1424314305
"type": "structure",
1424414306
"members": {
1424514307
"promptArn": {
14246-
"target": "com.amazonaws.bedrockagent#PromptArn",
14308+
"target": "com.amazonaws.bedrockagent#FlowPromptArn",
1424714309
"traits": {
14310+
"smithy.api#addedDefault": {},
14311+
"smithy.api#default": "",
1424814312
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the prompt from Prompt management.</p>",
1424914313
"smithy.api#required": {}
1425014314
}
@@ -15528,8 +15592,10 @@
1552815592
"type": "structure",
1552915593
"members": {
1553015594
"bucketName": {
15531-
"target": "com.amazonaws.bedrockagent#S3BucketName",
15595+
"target": "com.amazonaws.bedrockagent#FlowS3BucketName",
1553215596
"traits": {
15597+
"smithy.api#addedDefault": {},
15598+
"smithy.api#default": "",
1553315599
"smithy.api#documentation": "<p>The name of the Amazon S3 bucket from which to retrieve data.</p>",
1553415600
"smithy.api#required": {}
1553515601
}
@@ -16420,8 +16486,10 @@
1642016486
"type": "structure",
1642116487
"members": {
1642216488
"bucketName": {
16423-
"target": "com.amazonaws.bedrockagent#S3BucketName",
16489+
"target": "com.amazonaws.bedrockagent#FlowS3BucketName",
1642416490
"traits": {
16491+
"smithy.api#addedDefault": {},
16492+
"smithy.api#default": "",
1642516493
"smithy.api#documentation": "<p>The name of the Amazon S3 bucket in which to store the input into the node.</p>",
1642616494
"smithy.api#required": {}
1642716495
}

aws-models/glue.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8785,6 +8785,9 @@
87858785
}
87868786
}
87878787
},
8788+
"com.amazonaws.glue#ContinuousSync": {
8789+
"type": "boolean"
8790+
},
87888791
"com.amazonaws.glue#Crawl": {
87898792
"type": "structure",
87908793
"members": {
@@ -27534,6 +27537,12 @@
2753427537
"traits": {
2753527538
"smithy.api#documentation": "<p>\n A collection of key-value pairs that specify additional properties for the integration source. These properties provide configuration options that \n can be used to customize the behavior of the ODB source during data integration operations.\n </p>"
2753627539
}
27540+
},
27541+
"ContinuousSync": {
27542+
"target": "com.amazonaws.glue#ContinuousSync",
27543+
"traits": {
27544+
"smithy.api#documentation": "<p>Enables continuous synchronization for on-demand data extractions from SaaS applications to Amazon Web Services data services like Amazon Redshift \n and Amazon S3.</p>"
27545+
}
2753727546
}
2753827547
},
2753927548
"traits": {
@@ -27658,7 +27667,7 @@
2765827667
"FunctionSpec": {
2765927668
"target": "com.amazonaws.glue#String128",
2766027669
"traits": {
27661-
"smithy.api#documentation": "<p>Specifies the function used to partition data on the target. The only accepted value for this parameter is `'identity'` (string). \n The `'identity'` function ensures that the data partitioning on the target follows the same scheme as the source. In other words, the partitioning \n structure of the source data is preserved in the target destination.</p>"
27670+
"smithy.api#documentation": "<p>Specifies the function used to partition data on the target. The accepted values for this parameter are:</p>\n <ul>\n <li>\n <p>\n <code>identity</code> - Uses source values directly without transformation</p>\n </li>\n <li>\n <p>\n <code>year</code> - Extracts the year from timestamp values (e.g., 2023)</p>\n </li>\n <li>\n <p>\n <code>month</code> - Extracts the month from timestamp values (e.g., 2023-01)</p>\n </li>\n <li>\n <p>\n <code>day</code> - Extracts the day from timestamp values (e.g., 2023-01-15)</p>\n </li>\n <li>\n <p>\n <code>hour</code> - Extracts the hour from timestamp values (e.g., 2023-01-15-14)</p>\n </li>\n </ul>"
2766227671
}
2766327672
},
2766427673
"ConversionSpec": {
@@ -32676,6 +32685,9 @@
3267632685
"smithy.api#documentation": "<p>Selects source tables for the integration using Maxwell filter syntax.</p>"
3267732686
}
3267832687
},
32688+
"IntegrationConfig": {
32689+
"target": "com.amazonaws.glue#IntegrationConfig"
32690+
},
3267932691
"IntegrationName": {
3268032692
"target": "com.amazonaws.glue#String128",
3268132693
"traits": {
@@ -32767,6 +32779,9 @@
3276732779
"traits": {
3276832780
"smithy.api#documentation": "<p>Selects source tables for the integration using Maxwell filter syntax.</p>"
3276932781
}
32782+
},
32783+
"IntegrationConfig": {
32784+
"target": "com.amazonaws.glue#IntegrationConfig"
3277032785
}
3277132786
},
3277232787
"traits": {

examples/examples/glue/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ secrecy = "0.8.0"
1919
futures = "0.3.25"
2020
tracing-bunyan-formatter = "0.3.4"
2121
aws-config= { version = "1.8.5", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
22-
aws-sdk-glue= { version = "1.115.0", path = "../../../sdk/glue" }
22+
aws-sdk-glue= { version = "1.116.0", path = "../../../sdk/glue" }
2323
aws-sdk-s3= { version = "1.103.0", path = "../../../sdk/s3" }
2424
aws-http= { version = "0.60.6", path = "../../../sdk/aws-http" }
2525
aws-smithy-types= { version = "1.3.2", path = "../../../sdk/aws-smithy-types" }

sdk/amp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
22
[package]
33
name = "aws-sdk-amp"
4-
version = "1.84.0"
4+
version = "1.85.0"
55
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
66
description = "AWS SDK for Amazon Prometheus Service"
77
edition = "2021"

sdk/amp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ your project, add the following to your **Cargo.toml** file:
2020
```toml
2121
[dependencies]
2222
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
23-
aws-sdk-amp = "1.84.0"
23+
aws-sdk-amp = "1.85.0"
2424
tokio = { version = "1", features = ["full"] }
2525
```
2626

0 commit comments

Comments
 (0)