Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-ruby-automation committed Oct 25, 2024
1 parent bac3491 commit 86cccb9
Show file tree
Hide file tree
Showing 55 changed files with 1,057 additions and 166 deletions.
26 changes: 16 additions & 10 deletions apis/bedrock-agent/2023-06-05/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2525,6 +2525,12 @@
"members":{
}
},
"Document":{
"type":"structure",
"members":{
},
"document":true
},
"DraftVersion":{
"type":"string",
"max":5,
Expand Down Expand Up @@ -2663,8 +2669,7 @@
"members":{
"expression":{"shape":"FlowConditionExpression"},
"name":{"shape":"FlowConditionName"}
},
"sensitive":true
}
},
"FlowConditionExpression":{
"type":"string",
Expand All @@ -2687,8 +2692,7 @@
"type":"list",
"member":{"shape":"FlowCondition"},
"max":5,
"min":1,
"sensitive":true
"min":1
},
"FlowConnection":{
"type":"structure",
Expand Down Expand Up @@ -2747,7 +2751,8 @@
"members":{
"connections":{"shape":"FlowConnections"},
"nodes":{"shape":"FlowNodes"}
}
},
"sensitive":true
},
"FlowDescription":{
"type":"string",
Expand Down Expand Up @@ -2889,8 +2894,7 @@
"type":"list",
"member":{"shape":"FlowNode"},
"max":20,
"min":0,
"sensitive":true
"min":0
},
"FlowStatus":{
"type":"string",
Expand Down Expand Up @@ -3667,7 +3671,7 @@
"type":"string",
"max":2048,
"min":1,
"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-:.]+)$"
"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-:.]+)$"
},
"KnowledgeBaseRoleArn":{
"type":"string",
Expand Down Expand Up @@ -4104,7 +4108,7 @@
"type":"string",
"max":2048,
"min":1,
"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][_-]?)+)$"
"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})?$"
},
"MongoDbAtlasCollectionName":{
"type":"string",
Expand Down Expand Up @@ -4427,6 +4431,7 @@
"templateType"
],
"members":{
"additionalModelRequestFields":{"shape":"Document"},
"inferenceConfiguration":{"shape":"PromptInferenceConfiguration"},
"modelId":{"shape":"PromptModelIdentifier"},
"templateConfiguration":{"shape":"PromptTemplateConfiguration"},
Expand Down Expand Up @@ -4517,7 +4522,7 @@
"type":"string",
"max":2048,
"min":1,
"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-:.]+)$"
"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-:.]+)$"
},
"PromptModelInferenceConfiguration":{
"type":"structure",
Expand Down Expand Up @@ -4602,6 +4607,7 @@
"templateType"
],
"members":{
"additionalModelRequestFields":{"shape":"Document"},
"inferenceConfiguration":{"shape":"PromptInferenceConfiguration"},
"metadata":{"shape":"PromptMetadataList"},
"modelId":{"shape":"PromptModelIdentifier"},
Expand Down
17 changes: 12 additions & 5 deletions apis/bedrock-agent/2023-06-05/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,13 @@
"refs": {
}
},
"Document": {
"base": null,
"refs": {
"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>",
"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>"
}
},
"DraftVersion": {
"base": null,
"refs": {
Expand Down Expand Up @@ -1769,7 +1776,7 @@
}
},
"KnowledgeBaseModelIdentifier": {
"base": null,
"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>",
"refs": {
"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>"
}
Expand Down Expand Up @@ -2032,12 +2039,12 @@
}
},
"ModelIdentifier": {
"base": null,
"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>",
"refs": {
"Agent$foundationModel": "<p>The foundation model used for orchestration by the agent.</p>",
"AgentVersion$foundationModel": "<p>The foundation model that the version invokes.</p>",
"CreateAgentRequest$foundationModel": "<p>The Amazon Resource Name (ARN) of the foundation model to be used for orchestration by the agent you create.</p>",
"UpdateAgentRequest$foundationModel": "<p>Specifies a new foundation model to be used for orchestration by the agent.</p>"
"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>",
"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>"
}
},
"MongoDbAtlasCollectionName": {
Expand Down Expand Up @@ -2461,7 +2468,7 @@
}
},
"PromptModelIdentifier": {
"base": null,
"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>",
"refs": {
"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>",
"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>"
Expand Down
24 changes: 19 additions & 5 deletions apis/codebuild/2016-10-06/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,15 @@
"SECRETS_MANAGER"
]
},
"AutoRetryConfig":{
"type":"structure",
"members":{
"autoRetryLimit":{"shape":"WrapperInt"},
"autoRetryNumber":{"shape":"WrapperInt"},
"nextAutoRetry":{"shape":"String"},
"previousAutoRetry":{"shape":"String"}
}
},
"BatchDeleteBuildsInput":{
"type":"structure",
"required":["ids"],
Expand Down Expand Up @@ -843,7 +852,8 @@
"reportArns":{"shape":"BuildReportArns"},
"fileSystemLocations":{"shape":"ProjectFileSystemLocations"},
"debugSession":{"shape":"DebugSession"},
"buildBatchArn":{"shape":"String"}
"buildBatchArn":{"shape":"String"},
"autoRetryConfig":{"shape":"AutoRetryConfig"}
}
},
"BuildArtifacts":{
Expand Down Expand Up @@ -1172,7 +1182,8 @@
"logsConfig":{"shape":"LogsConfig"},
"fileSystemLocations":{"shape":"ProjectFileSystemLocations"},
"buildBatchConfig":{"shape":"ProjectBuildBatchConfig"},
"concurrentBuildLimit":{"shape":"WrapperInt"}
"concurrentBuildLimit":{"shape":"WrapperInt"},
"autoRetryLimit":{"shape":"WrapperInt"}
}
},
"CreateProjectOutput":{
Expand Down Expand Up @@ -2034,7 +2045,8 @@
"concurrentBuildLimit":{"shape":"WrapperInt"},
"projectVisibility":{"shape":"ProjectVisibilityType"},
"publicProjectAlias":{"shape":"NonEmptyString"},
"resourceAccessRole":{"shape":"NonEmptyString"}
"resourceAccessRole":{"shape":"NonEmptyString"},
"autoRetryLimit":{"shape":"WrapperInt"}
}
},
"ProjectArns":{
Expand Down Expand Up @@ -2674,7 +2686,8 @@
"registryCredentialOverride":{"shape":"RegistryCredential"},
"imagePullCredentialsTypeOverride":{"shape":"ImagePullCredentialsType"},
"debugSessionEnabled":{"shape":"WrapperBoolean"},
"fleetOverride":{"shape":"ProjectFleet"}
"fleetOverride":{"shape":"ProjectFleet"},
"autoRetryLimitOverride":{"shape":"WrapperInt"}
}
},
"StartBuildOutput":{
Expand Down Expand Up @@ -2840,7 +2853,8 @@
"logsConfig":{"shape":"LogsConfig"},
"fileSystemLocations":{"shape":"ProjectFileSystemLocations"},
"buildBatchConfig":{"shape":"ProjectBuildBatchConfig"},
"concurrentBuildLimit":{"shape":"WrapperInt"}
"concurrentBuildLimit":{"shape":"WrapperInt"},
"autoRetryLimit":{"shape":"WrapperInt"}
}
},
"UpdateProjectOutput":{
Expand Down
Loading

0 comments on commit 86cccb9

Please sign in to comment.