Skip to content

Commit 86cccb9

Browse files
Updated API models and rebuilt service gems.
1 parent bac3491 commit 86cccb9

File tree

55 files changed

+1057
-166
lines changed

Some content is hidden

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

55 files changed

+1057
-166
lines changed

apis/bedrock-agent/2023-06-05/api-2.json

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2525,6 +2525,12 @@
25252525
"members":{
25262526
}
25272527
},
2528+
"Document":{
2529+
"type":"structure",
2530+
"members":{
2531+
},
2532+
"document":true
2533+
},
25282534
"DraftVersion":{
25292535
"type":"string",
25302536
"max":5,
@@ -2663,8 +2669,7 @@
26632669
"members":{
26642670
"expression":{"shape":"FlowConditionExpression"},
26652671
"name":{"shape":"FlowConditionName"}
2666-
},
2667-
"sensitive":true
2672+
}
26682673
},
26692674
"FlowConditionExpression":{
26702675
"type":"string",
@@ -2687,8 +2692,7 @@
26872692
"type":"list",
26882693
"member":{"shape":"FlowCondition"},
26892694
"max":5,
2690-
"min":1,
2691-
"sensitive":true
2695+
"min":1
26922696
},
26932697
"FlowConnection":{
26942698
"type":"structure",
@@ -2747,7 +2751,8 @@
27472751
"members":{
27482752
"connections":{"shape":"FlowConnections"},
27492753
"nodes":{"shape":"FlowNodes"}
2750-
}
2754+
},
2755+
"sensitive":true
27512756
},
27522757
"FlowDescription":{
27532758
"type":"string",
@@ -2889,8 +2894,7 @@
28892894
"type":"list",
28902895
"member":{"shape":"FlowNode"},
28912896
"max":20,
2892-
"min":0,
2893-
"sensitive":true
2897+
"min":0
28942898
},
28952899
"FlowStatus":{
28962900
"type":"string",
@@ -3667,7 +3671,7 @@
36673671
"type":"string",
36683672
"max":2048,
36693673
"min":1,
3670-
"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][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(model-gateway|inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$"
3674+
"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})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$"
36713675
},
36723676
"KnowledgeBaseRoleArn":{
36733677
"type":"string",
@@ -4104,7 +4108,7 @@
41044108
"type":"string",
41054109
"max":2048,
41064110
"min":1,
4107-
"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-]{1,63}){0,2})?/[a-z0-9]{12})|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})))|(([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2}))|(([0-9a-zA-Z][_-]?)+)$"
4111+
"pattern":"^(arn:aws(-[^:]{1,12})?:(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})?$"
41084112
},
41094113
"MongoDbAtlasCollectionName":{
41104114
"type":"string",
@@ -4427,6 +4431,7 @@
44274431
"templateType"
44284432
],
44294433
"members":{
4434+
"additionalModelRequestFields":{"shape":"Document"},
44304435
"inferenceConfiguration":{"shape":"PromptInferenceConfiguration"},
44314436
"modelId":{"shape":"PromptModelIdentifier"},
44324437
"templateConfiguration":{"shape":"PromptTemplateConfiguration"},
@@ -4517,7 +4522,7 @@
45174522
"type":"string",
45184523
"max":2048,
45194524
"min":1,
4520-
"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][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(model-gateway|inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$"
4525+
"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})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$"
45214526
},
45224527
"PromptModelInferenceConfiguration":{
45234528
"type":"structure",
@@ -4602,6 +4607,7 @@
46024607
"templateType"
46034608
],
46044609
"members":{
4610+
"additionalModelRequestFields":{"shape":"Document"},
46054611
"inferenceConfiguration":{"shape":"PromptInferenceConfiguration"},
46064612
"metadata":{"shape":"PromptMetadataList"},
46074613
"modelId":{"shape":"PromptModelIdentifier"},

apis/bedrock-agent/2023-06-05/docs-2.json

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -838,6 +838,13 @@
838838
"refs": {
839839
}
840840
},
841+
"Document": {
842+
"base": null,
843+
"refs": {
844+
"PromptFlowNodeInlineConfiguration$additionalModelRequestFields": "<p>Contains model-specific inference configurations that aren't in the <code>inferenceConfiguration</code> field. To see model-specific inference parameters, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\">Inference request parameters and response fields for foundation models</a>.</p>",
845+
"PromptVariant$additionalModelRequestFields": "<p>Contains model-specific inference configurations that aren't in the <code>inferenceConfiguration</code> field. To see model-specific inference parameters, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\">Inference request parameters and response fields for foundation models</a>.</p>"
846+
}
847+
},
841848
"DraftVersion": {
842849
"base": null,
843850
"refs": {
@@ -1769,7 +1776,7 @@
17691776
}
17701777
},
17711778
"KnowledgeBaseModelIdentifier": {
1772-
"base": null,
1779+
"base": "<p>ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a jumpstart model or imported model, or a provisioned throughput ARN for custom models.</p>",
17731780
"refs": {
17741781
"KnowledgeBaseFlowNodeConfiguration$modelId": "<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 use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.</p>"
17751782
}
@@ -2032,12 +2039,12 @@
20322039
}
20332040
},
20342041
"ModelIdentifier": {
2035-
"base": null,
2042+
"base": "<p>ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a jumpstart model or imported model, or a provisioned throughput ARN for custom models.</p>",
20362043
"refs": {
20372044
"Agent$foundationModel": "<p>The foundation model used for orchestration by the agent.</p>",
20382045
"AgentVersion$foundationModel": "<p>The foundation model that the version invokes.</p>",
2039-
"CreateAgentRequest$foundationModel": "<p>The Amazon Resource Name (ARN) of the foundation model to be used for orchestration by the agent you create.</p>",
2040-
"UpdateAgentRequest$foundationModel": "<p>Specifies a new foundation model to be used for orchestration by the agent.</p>"
2046+
"CreateAgentRequest$foundationModel": "<p>The identifier for the model that you want to be used for orchestration by the agent you create.</p> <p>The <code>modelId</code> to provide depends on the type of model or throughput that you use:</p> <ul> <li> <p>If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns\">Amazon Bedrock base model IDs (on-demand throughput)</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use an inference profile, specify the inference profile ID or its ARN. For a list of inference profile IDs, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html\">Supported Regions and models for cross-region inference</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html\">Run inference using a Provisioned Throughput</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html\">Use a custom model in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use an <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html\">imported model</a>, specify the ARN of the imported model. You can get the model ARN from a successful call to <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelImportJob.html\">CreateModelImportJob</a> or from the Imported models page in the Amazon Bedrock console.</p> </li> </ul>",
2047+
"UpdateAgentRequest$foundationModel": "<p>The identifier for the model that you want to be used for orchestration by the agent you create.</p> <p>The <code>modelId</code> to provide depends on the type of model or throughput that you use:</p> <ul> <li> <p>If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns\">Amazon Bedrock base model IDs (on-demand throughput)</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use an inference profile, specify the inference profile ID or its ARN. For a list of inference profile IDs, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html\">Supported Regions and models for cross-region inference</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html\">Run inference using a Provisioned Throughput</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html\">Use a custom model in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use an <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html\">imported model</a>, specify the ARN of the imported model. You can get the model ARN from a successful call to <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelImportJob.html\">CreateModelImportJob</a> or from the Imported models page in the Amazon Bedrock console.</p> </li> </ul>"
20412048
}
20422049
},
20432050
"MongoDbAtlasCollectionName": {
@@ -2461,7 +2468,7 @@
24612468
}
24622469
},
24632470
"PromptModelIdentifier": {
2464-
"base": null,
2471+
"base": "<p>ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a jumpstart model or imported model, or a provisioned throughput ARN for custom models.</p>",
24652472
"refs": {
24662473
"PromptFlowNodeInlineConfiguration$modelId": "<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>",
24672474
"PromptVariant$modelId": "<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> with which to run inference on the prompt.</p>"

apis/codebuild/2016-10-06/api-2.json

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,15 @@
688688
"SECRETS_MANAGER"
689689
]
690690
},
691+
"AutoRetryConfig":{
692+
"type":"structure",
693+
"members":{
694+
"autoRetryLimit":{"shape":"WrapperInt"},
695+
"autoRetryNumber":{"shape":"WrapperInt"},
696+
"nextAutoRetry":{"shape":"String"},
697+
"previousAutoRetry":{"shape":"String"}
698+
}
699+
},
691700
"BatchDeleteBuildsInput":{
692701
"type":"structure",
693702
"required":["ids"],
@@ -843,7 +852,8 @@
843852
"reportArns":{"shape":"BuildReportArns"},
844853
"fileSystemLocations":{"shape":"ProjectFileSystemLocations"},
845854
"debugSession":{"shape":"DebugSession"},
846-
"buildBatchArn":{"shape":"String"}
855+
"buildBatchArn":{"shape":"String"},
856+
"autoRetryConfig":{"shape":"AutoRetryConfig"}
847857
}
848858
},
849859
"BuildArtifacts":{
@@ -1172,7 +1182,8 @@
11721182
"logsConfig":{"shape":"LogsConfig"},
11731183
"fileSystemLocations":{"shape":"ProjectFileSystemLocations"},
11741184
"buildBatchConfig":{"shape":"ProjectBuildBatchConfig"},
1175-
"concurrentBuildLimit":{"shape":"WrapperInt"}
1185+
"concurrentBuildLimit":{"shape":"WrapperInt"},
1186+
"autoRetryLimit":{"shape":"WrapperInt"}
11761187
}
11771188
},
11781189
"CreateProjectOutput":{
@@ -2034,7 +2045,8 @@
20342045
"concurrentBuildLimit":{"shape":"WrapperInt"},
20352046
"projectVisibility":{"shape":"ProjectVisibilityType"},
20362047
"publicProjectAlias":{"shape":"NonEmptyString"},
2037-
"resourceAccessRole":{"shape":"NonEmptyString"}
2048+
"resourceAccessRole":{"shape":"NonEmptyString"},
2049+
"autoRetryLimit":{"shape":"WrapperInt"}
20382050
}
20392051
},
20402052
"ProjectArns":{
@@ -2674,7 +2686,8 @@
26742686
"registryCredentialOverride":{"shape":"RegistryCredential"},
26752687
"imagePullCredentialsTypeOverride":{"shape":"ImagePullCredentialsType"},
26762688
"debugSessionEnabled":{"shape":"WrapperBoolean"},
2677-
"fleetOverride":{"shape":"ProjectFleet"}
2689+
"fleetOverride":{"shape":"ProjectFleet"},
2690+
"autoRetryLimitOverride":{"shape":"WrapperInt"}
26782691
}
26792692
},
26802693
"StartBuildOutput":{
@@ -2840,7 +2853,8 @@
28402853
"logsConfig":{"shape":"LogsConfig"},
28412854
"fileSystemLocations":{"shape":"ProjectFileSystemLocations"},
28422855
"buildBatchConfig":{"shape":"ProjectBuildBatchConfig"},
2843-
"concurrentBuildLimit":{"shape":"WrapperInt"}
2856+
"concurrentBuildLimit":{"shape":"WrapperInt"},
2857+
"autoRetryLimit":{"shape":"WrapperInt"}
28442858
}
28452859
},
28462860
"UpdateProjectOutput":{

0 commit comments

Comments
 (0)