Skip to content

Commit f95c156

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 3c48189 commit f95c156

File tree

8 files changed

+1958
-182
lines changed

8 files changed

+1958
-182
lines changed

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

Lines changed: 52 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,6 @@
424424
]
425425
}
426426
],
427-
"type": "tree",
428427
"rules": [
429428
{
430429
"conditions": [
@@ -467,7 +466,8 @@
467466
},
468467
"type": "endpoint"
469468
}
470-
]
469+
],
470+
"type": "tree"
471471
},
472472
{
473473
"conditions": [
@@ -480,7 +480,6 @@
480480
]
481481
}
482482
],
483-
"type": "tree",
484483
"rules": [
485484
{
486485
"conditions": [
@@ -494,7 +493,6 @@
494493
"assign": "PartitionResult"
495494
}
496495
],
497-
"type": "tree",
498496
"rules": [
499497
{
500498
"conditions": [
@@ -517,7 +515,6 @@
517515
]
518516
}
519517
],
520-
"type": "tree",
521518
"rules": [
522519
{
523520
"conditions": [
@@ -552,7 +549,6 @@
552549
]
553550
}
554551
],
555-
"type": "tree",
556552
"rules": [
557553
{
558554
"conditions": [],
@@ -563,14 +559,16 @@
563559
},
564560
"type": "endpoint"
565561
}
566-
]
562+
],
563+
"type": "tree"
567564
},
568565
{
569566
"conditions": [],
570567
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
571568
"type": "error"
572569
}
573-
]
570+
],
571+
"type": "tree"
574572
},
575573
{
576574
"conditions": [
@@ -584,14 +582,12 @@
584582
]
585583
}
586584
],
587-
"type": "tree",
588585
"rules": [
589586
{
590587
"conditions": [
591588
{
592589
"fn": "booleanEquals",
593590
"argv": [
594-
true,
595591
{
596592
"fn": "getAttr",
597593
"argv": [
@@ -600,18 +596,17 @@
600596
},
601597
"supportsFIPS"
602598
]
603-
}
599+
},
600+
true
604601
]
605602
}
606603
],
607-
"type": "tree",
608604
"rules": [
609605
{
610606
"conditions": [
611607
{
612608
"fn": "stringEquals",
613609
"argv": [
614-
"aws-us-gov",
615610
{
616611
"fn": "getAttr",
617612
"argv": [
@@ -620,7 +615,8 @@
620615
},
621616
"name"
622617
]
623-
}
618+
},
619+
"aws-us-gov"
624620
]
625621
}
626622
],
@@ -640,14 +636,16 @@
640636
},
641637
"type": "endpoint"
642638
}
643-
]
639+
],
640+
"type": "tree"
644641
},
645642
{
646643
"conditions": [],
647644
"error": "FIPS is enabled but this partition does not support FIPS",
648645
"type": "error"
649646
}
650-
]
647+
],
648+
"type": "tree"
651649
},
652650
{
653651
"conditions": [
@@ -661,7 +659,6 @@
661659
]
662660
}
663661
],
664-
"type": "tree",
665662
"rules": [
666663
{
667664
"conditions": [
@@ -681,7 +678,6 @@
681678
]
682679
}
683680
],
684-
"type": "tree",
685681
"rules": [
686682
{
687683
"conditions": [],
@@ -692,14 +688,16 @@
692688
},
693689
"type": "endpoint"
694690
}
695-
]
691+
],
692+
"type": "tree"
696693
},
697694
{
698695
"conditions": [],
699696
"error": "DualStack is enabled but this partition does not support DualStack",
700697
"type": "error"
701698
}
702-
]
699+
],
700+
"type": "tree"
703701
},
704702
{
705703
"conditions": [],
@@ -710,9 +708,11 @@
710708
},
711709
"type": "endpoint"
712710
}
713-
]
711+
],
712+
"type": "tree"
714713
}
715-
]
714+
],
715+
"type": "tree"
716716
},
717717
{
718718
"conditions": [],
@@ -2291,7 +2291,22 @@
22912291
}
22922292
],
22932293
"traits": {
2294-
"smithy.api#documentation": "<p>Retrieves an Amazon-issued certificate and its certificate chain. The chain consists of\n the certificate of the issuing CA and the intermediate certificates of any other subordinate\n CAs. All of the certificates are base64 encoded. You can use <a href=\"https://wiki.openssl.org/index.php/Command_Line_Utilities\">OpenSSL</a> to decode\n the certificates and inspect individual fields.</p>"
2294+
"smithy.api#documentation": "<p>Retrieves an Amazon-issued certificate and its certificate chain. The chain consists of\n the certificate of the issuing CA and the intermediate certificates of any other subordinate\n CAs. All of the certificates are base64 encoded. You can use <a href=\"https://wiki.openssl.org/index.php/Command_Line_Utilities\">OpenSSL</a> to decode\n the certificates and inspect individual fields.</p>",
2295+
"smithy.test#smokeTests": [
2296+
{
2297+
"id": "GetCertificateFailure",
2298+
"params": {
2299+
"CertificateArn": "arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012"
2300+
},
2301+
"vendorParams": {
2302+
"region": "us-west-2"
2303+
},
2304+
"vendorParamsShape": "aws.test#AwsVendorParams",
2305+
"expect": {
2306+
"failure": {}
2307+
}
2308+
}
2309+
]
22952310
}
22962311
},
22972312
"com.amazonaws.acm#GetCertificateRequest": {
@@ -2697,7 +2712,20 @@
26972712
"outputToken": "NextToken",
26982713
"items": "CertificateSummaryList",
26992714
"pageSize": "MaxItems"
2700-
}
2715+
},
2716+
"smithy.test#smokeTests": [
2717+
{
2718+
"id": "ListCertificatesSuccess",
2719+
"params": {},
2720+
"vendorParams": {
2721+
"region": "us-west-2"
2722+
},
2723+
"vendorParamsShape": "aws.test#AwsVendorParams",
2724+
"expect": {
2725+
"success": {}
2726+
}
2727+
}
2728+
]
27012729
}
27022730
},
27032731
"com.amazonaws.acm#ListCertificatesRequest": {

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

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1968,6 +1968,20 @@
19681968
"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}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$"
19691969
}
19701970
},
1971+
"com.amazonaws.bedrockagent#BedrockEmbeddingModelConfiguration": {
1972+
"type": "structure",
1973+
"members": {
1974+
"dimensions": {
1975+
"target": "com.amazonaws.bedrockagent#Dimensions",
1976+
"traits": {
1977+
"smithy.api#documentation": "<p>The dimensions details for the vector configuration used on the Bedrock embeddings model.</p>"
1978+
}
1979+
}
1980+
},
1981+
"traits": {
1982+
"smithy.api#documentation": "<p>The vector configuration details for the Bedrock embeddings model.</p>"
1983+
}
1984+
},
19711985
"com.amazonaws.bedrockagent#BucketOwnerAccountId": {
19721986
"type": "string",
19731987
"traits": {
@@ -3469,6 +3483,15 @@
34693483
}
34703484
}
34713485
},
3486+
"com.amazonaws.bedrockagent#Dimensions": {
3487+
"type": "integer",
3488+
"traits": {
3489+
"smithy.api#range": {
3490+
"min": 0,
3491+
"max": 4096
3492+
}
3493+
}
3494+
},
34723495
"com.amazonaws.bedrockagent#DisassociateAgentKnowledgeBase": {
34733496
"type": "operation",
34743497
"input": {
@@ -3559,6 +3582,20 @@
35593582
"smithy.api#pattern": "^DRAFT$"
35603583
}
35613584
},
3585+
"com.amazonaws.bedrockagent#EmbeddingModelConfiguration": {
3586+
"type": "structure",
3587+
"members": {
3588+
"bedrockEmbeddingModelConfiguration": {
3589+
"target": "com.amazonaws.bedrockagent#BedrockEmbeddingModelConfiguration",
3590+
"traits": {
3591+
"smithy.api#documentation": "<p>The vector configuration details on the Bedrock embeddings model.</p>"
3592+
}
3593+
}
3594+
},
3595+
"traits": {
3596+
"smithy.api#documentation": "<p>The configuration details for the embeddings model.</p>"
3597+
}
3598+
},
35623599
"com.amazonaws.bedrockagent#FailureReason": {
35633600
"type": "string",
35643601
"traits": {
@@ -8090,6 +8127,12 @@
80908127
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.</p>",
80918128
"smithy.api#required": {}
80928129
}
8130+
},
8131+
"embeddingModelConfiguration": {
8132+
"target": "com.amazonaws.bedrockagent#EmbeddingModelConfiguration",
8133+
"traits": {
8134+
"smithy.api#documentation": "<p>The embeddings model configuration details for the vector model used in Knowledge Base.</p>"
8135+
}
80938136
}
80948137
},
80958138
"traits": {

0 commit comments

Comments
 (0)