Skip to content

Commit bb6e279

Browse files
Update API model
1 parent b445bbc commit bb6e279

6 files changed

+557
-54
lines changed

codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json

+244-35
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/bedrock-agent.json

+154
Original file line numberDiff line numberDiff line change
@@ -2478,6 +2478,28 @@
24782478
"smithy.api#documentation": "<p>Settings for a foundation model used to parse documents for a data source.</p>"
24792479
}
24802480
},
2481+
"com.amazonaws.bedrockagent#BedrockFoundationModelContextEnrichmentConfiguration": {
2482+
"type": "structure",
2483+
"members": {
2484+
"enrichmentStrategyConfiguration": {
2485+
"target": "com.amazonaws.bedrockagent#EnrichmentStrategyConfiguration",
2486+
"traits": {
2487+
"smithy.api#documentation": "<p>The enrichment stategy used to provide additional context. For example, Neptune GraphRAG uses\n Amazon Bedrock foundation models to perform chunk entity extraction.</p>",
2488+
"smithy.api#required": {}
2489+
}
2490+
},
2491+
"modelArn": {
2492+
"target": "com.amazonaws.bedrockagent#BedrockModelArn",
2493+
"traits": {
2494+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the foundation model used for context enrichment.</p>",
2495+
"smithy.api#required": {}
2496+
}
2497+
}
2498+
},
2499+
"traits": {
2500+
"smithy.api#documentation": "<p>Context enrichment configuration is used to provide additional context to the RAG application\n using Amazon Bedrock foundation models.</p>"
2501+
}
2502+
},
24812503
"com.amazonaws.bedrockagent#BedrockModelArn": {
24822504
"type": "string",
24832505
"traits": {
@@ -2860,6 +2882,38 @@
28602882
}
28612883
}
28622884
},
2885+
"com.amazonaws.bedrockagent#ContextEnrichmentConfiguration": {
2886+
"type": "structure",
2887+
"members": {
2888+
"type": {
2889+
"target": "com.amazonaws.bedrockagent#ContextEnrichmentType",
2890+
"traits": {
2891+
"smithy.api#documentation": "<p>The method used for context enrichment. It must be Amazon Bedrock foundation models.</p>",
2892+
"smithy.api#required": {}
2893+
}
2894+
},
2895+
"bedrockFoundationModelConfiguration": {
2896+
"target": "com.amazonaws.bedrockagent#BedrockFoundationModelContextEnrichmentConfiguration",
2897+
"traits": {
2898+
"smithy.api#documentation": "<p>The configuration of the Amazon Bedrock foundation model used for context enrichment.</p>"
2899+
}
2900+
}
2901+
},
2902+
"traits": {
2903+
"smithy.api#documentation": "<p>Context enrichment configuration is used to provide additional context to the RAG application.</p>"
2904+
}
2905+
},
2906+
"com.amazonaws.bedrockagent#ContextEnrichmentType": {
2907+
"type": "enum",
2908+
"members": {
2909+
"BEDROCK_FOUNDATION_MODEL": {
2910+
"target": "smithy.api#Unit",
2911+
"traits": {
2912+
"smithy.api#enumValue": "BEDROCK_FOUNDATION_MODEL"
2913+
}
2914+
}
2915+
}
2916+
},
28632917
"com.amazonaws.bedrockagent#ConversationRole": {
28642918
"type": "enum",
28652919
"members": {
@@ -6294,6 +6348,32 @@
62946348
}
62956349
}
62966350
},
6351+
"com.amazonaws.bedrockagent#EnrichmentStrategyConfiguration": {
6352+
"type": "structure",
6353+
"members": {
6354+
"method": {
6355+
"target": "com.amazonaws.bedrockagent#EnrichmentStrategyMethod",
6356+
"traits": {
6357+
"smithy.api#documentation": "<p>The method used for the context enrichment strategy.</p>",
6358+
"smithy.api#required": {}
6359+
}
6360+
}
6361+
},
6362+
"traits": {
6363+
"smithy.api#documentation": "<p>The strategy used for performing context enrichment.</p>"
6364+
}
6365+
},
6366+
"com.amazonaws.bedrockagent#EnrichmentStrategyMethod": {
6367+
"type": "enum",
6368+
"members": {
6369+
"CHUNK_ENTITY_EXTRACTION": {
6370+
"target": "smithy.api#Unit",
6371+
"traits": {
6372+
"smithy.api#enumValue": "CHUNK_ENTITY_EXTRACTION"
6373+
}
6374+
}
6375+
}
6376+
},
62976377
"com.amazonaws.bedrockagent#ErrorMessage": {
62986378
"type": "string",
62996379
"traits": {
@@ -9155,6 +9235,18 @@
91559235
"smithy.api#output": {}
91569236
}
91579237
},
9238+
"com.amazonaws.bedrockagent#GraphArn": {
9239+
"type": "string",
9240+
"traits": {
9241+
"smithy.api#documentation": "ARN for Neptune Analytics graph database",
9242+
"smithy.api#length": {
9243+
"min": 1,
9244+
"max": 255
9245+
},
9246+
"smithy.api#pattern": "^arn:aws(|-cn|-us-gov):neptune-graph:[a-zA-Z0-9-]*:[0-9]{12}:graph/g-[a-zA-Z0-9]{10}$",
9247+
"smithy.api#sensitive": {}
9248+
}
9249+
},
91589250
"com.amazonaws.bedrockagent#GuardrailConfiguration": {
91599251
"type": "structure",
91609252
"members": {
@@ -10341,6 +10433,12 @@
1034110433
"traits": {
1034210434
"smithy.api#enumValue": "MONGO_DB_ATLAS"
1034310435
}
10436+
},
10437+
"NEPTUNE_ANALYTICS": {
10438+
"target": "smithy.api#Unit",
10439+
"traits": {
10440+
"smithy.api#enumValue": "NEPTUNE_ANALYTICS"
10441+
}
1034410442
}
1034510443
}
1034610444
},
@@ -12491,6 +12589,50 @@
1249112589
}
1249212590
}
1249312591
},
12592+
"com.amazonaws.bedrockagent#NeptuneAnalyticsConfiguration": {
12593+
"type": "structure",
12594+
"members": {
12595+
"graphArn": {
12596+
"target": "com.amazonaws.bedrockagent#GraphArn",
12597+
"traits": {
12598+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Neptune Analytics vector store.</p>",
12599+
"smithy.api#required": {}
12600+
}
12601+
},
12602+
"fieldMapping": {
12603+
"target": "com.amazonaws.bedrockagent#NeptuneAnalyticsFieldMapping",
12604+
"traits": {
12605+
"smithy.api#documentation": "<p>Contains the names of the fields to which to map information about the vector store.</p>",
12606+
"smithy.api#required": {}
12607+
}
12608+
}
12609+
},
12610+
"traits": {
12611+
"smithy.api#documentation": "<p>Contains details about the storage configuration of the knowledge base in \n Amazon Neptune Analytics. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html\">Create a vector index \n in Amazon Neptune Analytics</a>.</p>"
12612+
}
12613+
},
12614+
"com.amazonaws.bedrockagent#NeptuneAnalyticsFieldMapping": {
12615+
"type": "structure",
12616+
"members": {
12617+
"textField": {
12618+
"target": "com.amazonaws.bedrockagent#FieldName",
12619+
"traits": {
12620+
"smithy.api#documentation": "<p>The name of the field in which Amazon Bedrock stores the raw text from your data. The text\n is split according to the chunking strategy you choose.</p>",
12621+
"smithy.api#required": {}
12622+
}
12623+
},
12624+
"metadataField": {
12625+
"target": "com.amazonaws.bedrockagent#FieldName",
12626+
"traits": {
12627+
"smithy.api#documentation": "<p>The name of the field in which Amazon Bedrock stores metadata about the vector store.</p>",
12628+
"smithy.api#required": {}
12629+
}
12630+
}
12631+
},
12632+
"traits": {
12633+
"smithy.api#documentation": "<p>Contains the names of the fields to which to map information about the vector store.</p>"
12634+
}
12635+
},
1249412636
"com.amazonaws.bedrockagent#NextToken": {
1249512637
"type": "string",
1249612638
"traits": {
@@ -15296,6 +15438,12 @@
1529615438
"traits": {
1529715439
"smithy.api#documentation": "<p>Contains the storage configuration of the knowledge base in MongoDB Atlas.</p>"
1529815440
}
15441+
},
15442+
"neptuneAnalyticsConfiguration": {
15443+
"target": "com.amazonaws.bedrockagent#NeptuneAnalyticsConfiguration",
15444+
"traits": {
15445+
"smithy.api#documentation": "<p>Contains details about the Neptune Analytics configuration of the knowledge base in Amazon Neptune. For more information, \n see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html\">Create a\n vector index in Amazon Neptune Analytics.</a>.</p>"
15446+
}
1529915447
}
1530015448
},
1530115449
"traits": {
@@ -17653,6 +17801,12 @@
1765317801
"traits": {
1765417802
"smithy.api#documentation": "<p>Configurations for a parser to use for parsing documents in your data source. If you exclude this field, the default parser will be used.</p>"
1765517803
}
17804+
},
17805+
"contextEnrichmentConfiguration": {
17806+
"target": "com.amazonaws.bedrockagent#ContextEnrichmentConfiguration",
17807+
"traits": {
17808+
"smithy.api#documentation": "<p>The context enrichment configuration used for ingestion of the data into the vector\n store.</p>"
17809+
}
1765617810
}
1765717811
},
1765817812
"traits": {

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
"ICPRecordalStatus": {
119119
"target": "com.amazonaws.cloudfront#ICPRecordalStatus",
120120
"traits": {
121-
"smithy.api#documentation": "<p>The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus\n\t\t\tis set to APPROVED for all CNAMEs (aliases) in regions outside of China.</p>\n <p>The status values returned are the following:</p>\n <ul>\n <li>\n <p>\n <b>APPROVED</b> indicates that the associated CNAME\n\t\t\t\t\thas a valid ICP recordal number. Multiple CNAMEs can be associated with a\n\t\t\t\t\tdistribution, and CNAMEs can correspond to different ICP recordals. To be marked\n\t\t\t\t\tas APPROVED, that is, valid to use with China region, a CNAME must have one ICP\n\t\t\t\t\trecordal number associated with it.</p>\n </li>\n <li>\n <p>\n <b>SUSPENDED</b> indicates that the associated CNAME\n\t\t\t\t\tdoes not have a valid ICP recordal number.</p>\n </li>\n <li>\n <p>\n <b>PENDING</b> indicates that CloudFront can't determine\n\t\t\t\t\tthe ICP recordal status of the CNAME associated with the distribution because\n\t\t\t\t\tthere was an error in trying to determine the status. You can try again to see\n\t\t\t\t\tif the error is resolved in which case CloudFront returns an APPROVED or SUSPENDED\n\t\t\t\t\tstatus.</p>\n </li>\n </ul>"
121+
"smithy.api#documentation": "<p>The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus\n\t\t\tis set to APPROVED for all CNAMEs (aliases) in Amazon Web Services Regions outside of China.</p>\n <p>The status values returned are the following:</p>\n <ul>\n <li>\n <p>\n <b>APPROVED</b> indicates that the associated CNAME\n\t\t\t\t\thas a valid ICP recordal number. Multiple CNAMEs can be associated with a\n\t\t\t\t\tdistribution, and CNAMEs can correspond to different ICP recordals. To be marked\n\t\t\t\t\tas APPROVED, that is, valid to use with the China Regions, a CNAME must have one ICP\n\t\t\t\t\trecordal number associated with it.</p>\n </li>\n <li>\n <p>\n <b>SUSPENDED</b> indicates that the associated CNAME\n\t\t\t\t\tdoes not have a valid ICP recordal number.</p>\n </li>\n <li>\n <p>\n <b>PENDING</b> indicates that CloudFront can't determine\n\t\t\t\t\tthe ICP recordal status of the CNAME associated with the distribution because\n\t\t\t\t\tthere was an error in trying to determine the status. You can try again to see\n\t\t\t\t\tif the error is resolved in which case CloudFront returns an APPROVED or SUSPENDED\n\t\t\t\t\tstatus.</p>\n </li>\n </ul>"
122122
}
123123
}
124124
},
@@ -4632,7 +4632,7 @@
46324632
}
46334633
],
46344634
"traits": {
4635-
"smithy.api#documentation": "<p>Enables additional CloudWatch metrics for the specified CloudFront distribution. The\n\t\t\tadditional metrics incur an additional cost.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/viewing-cloudfront-metrics.html#monitoring-console.distributions-additional\">Viewing additional CloudFront distribution metrics</a> in\n\t\t\tthe <i>Amazon CloudFront Developer Guide</i>.</p>",
4635+
"smithy.api#documentation": "<p>Enables or disables additional Amazon CloudWatch metrics for the specified CloudFront distribution. The\n\t\t\tadditional metrics incur an additional cost.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/viewing-cloudfront-metrics.html#monitoring-console.distributions-additional\">Viewing additional CloudFront distribution metrics</a> in\n\t\t\tthe <i>Amazon CloudFront Developer Guide</i>.</p>",
46364636
"smithy.api#http": {
46374637
"method": "POST",
46384638
"uri": "/2020-05-31/distributions/{DistributionId}/monitoring-subscription",
@@ -4654,7 +4654,7 @@
46544654
"MonitoringSubscription": {
46554655
"target": "com.amazonaws.cloudfront#MonitoringSubscription",
46564656
"traits": {
4657-
"smithy.api#documentation": "<p>A monitoring subscription. This structure contains information about whether\n\t\t\tadditional CloudWatch metrics are enabled for a given CloudFront distribution.</p>",
4657+
"smithy.api#documentation": "<p>A monitoring subscription. This structure contains information about whether additional CloudWatch\n\t\t\tmetrics are enabled for a given CloudFront distribution.</p>",
46584658
"smithy.api#httpPayload": {},
46594659
"smithy.api#required": {},
46604660
"smithy.api#xmlName": "MonitoringSubscription"
@@ -18134,7 +18134,7 @@
1813418134
}
1813518135
},
1813618136
"traits": {
18137-
"smithy.api#documentation": "<p>This operation is not supported in this region.</p>",
18137+
"smithy.api#documentation": "<p>This operation is not supported in this Amazon Web Services Region.</p>",
1813818138
"smithy.api#error": "client",
1813918139
"smithy.api#httpError": 400
1814018140
}

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

+26-1
Original file line numberDiff line numberDiff line change
@@ -1332,6 +1332,14 @@
13321332
"smithy.api#xmlName": "carrierIp"
13331333
}
13341334
},
1335+
"ServiceManaged": {
1336+
"target": "com.amazonaws.ec2#ServiceManaged",
1337+
"traits": {
1338+
"aws.protocols#ec2QueryName": "ServiceManaged",
1339+
"smithy.api#documentation": "<p>The service that manages the elastic IP address.</p>\n <note>\n <p>The only option supported today is <code>alb</code>.</p>\n </note>",
1340+
"smithy.api#xmlName": "serviceManaged"
1341+
}
1342+
},
13351343
"InstanceId": {
13361344
"target": "com.amazonaws.ec2#String",
13371345
"traits": {
@@ -19810,7 +19818,7 @@
1981019818
"target": "com.amazonaws.ec2#String",
1981119819
"traits": {
1981219820
"smithy.api#clientOptional": {},
19813-
"smithy.api#documentation": "<p>The name of the security group.</p>\n <p>Constraints: Up to 255 characters in length. Cannot start with <code>sg-</code>.</p>\n <p>Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*</p>",
19821+
"smithy.api#documentation": "<p>The name of the security group. Names are case-insensitive and must be unique within the VPC.</p>\n <p>Constraints: Up to 255 characters in length. Can't start with <code>sg-</code>.</p>\n <p>Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*</p>",
1981419822
"smithy.api#required": {}
1981519823
}
1981619824
},
@@ -100880,6 +100888,23 @@
100880100888
}
100881100889
}
100882100890
},
100891+
"com.amazonaws.ec2#ServiceManaged": {
100892+
"type": "enum",
100893+
"members": {
100894+
"alb": {
100895+
"target": "smithy.api#Unit",
100896+
"traits": {
100897+
"smithy.api#enumValue": "alb"
100898+
}
100899+
},
100900+
"nlb": {
100901+
"target": "smithy.api#Unit",
100902+
"traits": {
100903+
"smithy.api#enumValue": "nlb"
100904+
}
100905+
}
100906+
}
100907+
},
100883100908
"com.amazonaws.ec2#ServiceNetworkArn": {
100884100909
"type": "string"
100885100910
},

0 commit comments

Comments
 (0)