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 Nov 8, 2024
1 parent d2f9994 commit 0fc4c41
Show file tree
Hide file tree
Showing 93 changed files with 3,451 additions and 741 deletions.
16 changes: 15 additions & 1 deletion apis/batch/2016-08-10/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1597,9 +1597,23 @@
"members":{
"launchTemplateId":{"shape":"String"},
"launchTemplateName":{"shape":"String"},
"version":{"shape":"String"}
"version":{"shape":"String"},
"overrides":{"shape":"LaunchTemplateSpecificationOverrideList"}
}
},
"LaunchTemplateSpecificationOverride":{
"type":"structure",
"members":{
"launchTemplateId":{"shape":"String"},
"launchTemplateName":{"shape":"String"},
"version":{"shape":"String"},
"targetInstanceTypes":{"shape":"StringList"}
}
},
"LaunchTemplateSpecificationOverrideList":{
"type":"list",
"member":{"shape":"LaunchTemplateSpecificationOverride"}
},
"LinuxParameters":{
"type":"structure",
"members":{
Expand Down
18 changes: 17 additions & 1 deletion apis/batch/2016-08-10/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,18 @@
"ComputeResourceUpdate$launchTemplate": "<p>The updated launch template to use for your compute resources. You must specify either the launch template ID or launch template name in the request, but not both. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html\">Launch template support</a> in the <i>Batch User Guide</i>. To remove the custom launch template and use the default launch template, set <code>launchTemplateId</code> or <code>launchTemplateName</code> member of the launch template specification to an empty string. Removing the launch template from a compute environment will not remove the AMI specified in the launch template. In order to update the AMI specified in a launch template, the <code>updateToLatestImageVersion</code> parameter must be set to <code>true</code>.</p> <p>When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html\">Updating compute environments</a> in the <i>Batch User Guide</i>.</p> <note> <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.</p> </note>"
}
},
"LaunchTemplateSpecificationOverride": {
"base": "<p>An object that represents a launch template to use in place of the default launch template. You must specify either the launch template ID or launch template name in the request, but not both.</p> <p>If security groups are specified using both the <code>securityGroupIds</code> parameter of <code>CreateComputeEnvironment</code> and the launch template, the values in the <code>securityGroupIds</code> parameter of <code>CreateComputeEnvironment</code> will be used.</p> <p>You can define up to ten (10) overrides for each compute environment.</p> <note> <p>This object isn't applicable to jobs that are running on Fargate resources.</p> </note> <note> <p>To unset all override templates for a compute environment, you can pass an empty array to the <a href=\"https://docs.aws.amazon.com/batch/latest/APIReference/API_UpdateComputeEnvironment.html\">UpdateComputeEnvironment.overrides</a> parameter, or not include the <code>overrides</code> parameter when submitting the <code>UpdateComputeEnvironment</code> API operation.</p> </note>",
"refs": {
"LaunchTemplateSpecificationOverrideList$member": null
}
},
"LaunchTemplateSpecificationOverrideList": {
"base": null,
"refs": {
"LaunchTemplateSpecification$overrides": "<p>A launch template to use in place of the default launch template. You must specify either the launch template ID or launch template name in the request, but not both.</p> <p>You can specify up to ten (10) launch template overrides that are associated to unique instance types or families for each compute environment.</p> <note> <p>To unset all override templates for a compute environment, you can pass an empty array to the <a href=\"https://docs.aws.amazon.com/batch/latest/APIReference/API_UpdateComputeEnvironment.html\">UpdateComputeEnvironment.overrides</a> parameter, or not include the <code>overrides</code> parameter when submitting the <code>UpdateComputeEnvironment</code> API operation.</p> </note>"
}
},
"LinuxParameters": {
"base": "<p>Linux-specific modifications that are applied to the container, such as details for device mappings.</p>",
"refs": {
Expand Down Expand Up @@ -1558,7 +1570,10 @@
"KeyValuesPair$name": "<p>The name of the filter. Filter names are case sensitive.</p>",
"LaunchTemplateSpecification$launchTemplateId": "<p>The ID of the launch template.</p>",
"LaunchTemplateSpecification$launchTemplateName": "<p>The name of the launch template.</p>",
"LaunchTemplateSpecification$version": "<p>The version number of the launch template, <code>$Latest</code>, or <code>$Default</code>.</p> <p>If the value is <code>$Latest</code>, the latest version of the launch template is used. If the value is <code>$Default</code>, the default version of the launch template is used.</p> <important> <p>If the AMI ID that's used in a compute environment is from the launch template, the AMI isn't changed when the compute environment is updated. It's only changed if the <code>updateToLatestImageVersion</code> parameter for the compute environment is set to <code>true</code>. During an infrastructure update, if either <code>$Latest</code> or <code>$Default</code> is specified, Batch re-evaluates the launch template version, and it might use a different version of the launch template. This is the case even if the launch template isn't specified in the update. When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html\">Updating compute environments</a> in the <i>Batch User Guide</i>.</p> </important> <p>Default: <code>$Default</code>.</p>",
"LaunchTemplateSpecification$version": "<p>The version number of the launch template, <code>$Default</code>, or <code>$Latest</code>.</p> <p>If the value is <code>$Default</code>, the default version of the launch template is used. If the value is <code>$Latest</code>, the latest version of the launch template is used. </p> <important> <p>If the AMI ID that's used in a compute environment is from the launch template, the AMI isn't changed when the compute environment is updated. It's only changed if the <code>updateToLatestImageVersion</code> parameter for the compute environment is set to <code>true</code>. During an infrastructure update, if either <code>$Default</code> or <code>$Latest</code> is specified, Batch re-evaluates the launch template version, and it might use a different version of the launch template. This is the case even if the launch template isn't specified in the update. When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html\">Updating compute environments</a> in the <i>Batch User Guide</i>.</p> </important> <p>Default: <code>$Default</code> </p> <p>Latest: <code>$Latest</code> </p>",
"LaunchTemplateSpecificationOverride$launchTemplateId": "<p>The ID of the launch template.</p> <p> <b>Note:</b> If you specify the <code>launchTemplateId</code> you can't specify the <code>launchTemplateName</code> as well.</p>",
"LaunchTemplateSpecificationOverride$launchTemplateName": "<p>The name of the launch template.</p> <p> <b>Note:</b> If you specify the <code>launchTemplateName</code> you can't specify the <code>launchTemplateId</code> as well.</p>",
"LaunchTemplateSpecificationOverride$version": "<p>The version number of the launch template, <code>$Default</code>, or <code>$Latest</code>.</p> <p>If the value is <code>$Default</code>, the default version of the launch template is used. If the value is <code>$Latest</code>, the latest version of the launch template is used. </p> <important> <p>If the AMI ID that's used in a compute environment is from the launch template, the AMI isn't changed when the compute environment is updated. It's only changed if the <code>updateToLatestImageVersion</code> parameter for the compute environment is set to <code>true</code>. During an infrastructure update, if either <code>$Default</code> or <code>$Latest</code> is specified, Batch re-evaluates the launch template version, and it might use a different version of the launch template. This is the case even if the launch template isn't specified in the update. When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html\">Updating compute environments</a> in the <i>Batch User Guide</i>.</p> </important> <p>Default: <code>$Default</code> </p> <p>Latest: <code>$Latest</code> </p>",
"ListJobsRequest$jobQueue": "<p>The name or full Amazon Resource Name (ARN) of the job queue used to list jobs.</p>",
"ListJobsRequest$arrayJobId": "<p>The job ID for an array job. Specifying an array job ID with this parameter lists all child jobs from within the specified array.</p>",
"ListJobsRequest$multiNodeJobId": "<p>The job ID for a multi-node parallel job. Specifying a multi-node parallel job ID with this parameter lists all nodes that are associated with the specified job.</p>",
Expand Down Expand Up @@ -1656,6 +1671,7 @@
"EksContainerOverride$command": "<p>The command to send to the container that overrides the default command from the Docker image or the job definition.</p>",
"EksContainerOverride$args": "<p>The arguments to the entrypoint to send to the container that overrides the default arguments from the Docker image or the job definition. For more information, see <a href=\"https://docs.docker.com/engine/reference/builder/#cmd\">Dockerfile reference: CMD</a> and <a href=\"https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/\">Define a command an arguments for a pod</a> in the <i>Kubernetes documentation</i>.</p>",
"KeyValuesPair$values": "<p>The filter values.</p>",
"LaunchTemplateSpecificationOverride$targetInstanceTypes": "<p>The instance type or family that this this override launch template should be applied to.</p> <p>This parameter is required when defining a launch template override.</p> <p>Information included in this parameter must meet the following requirements:</p> <ul> <li> <p>Must be a valid Amazon EC2 instance type or family.</p> </li> <li> <p> <code>optimal</code> isn't allowed.</p> </li> <li> <p> <code>targetInstanceTypes</code> can target only instance types and families that are included within the <a href=\"https://docs.aws.amazon.com/batch/latest/APIReference/API_ComputeResource.html#Batch-Type-ComputeResource-instanceTypes\"> <code>ComputeResource.instanceTypes</code> </a> set. <code>targetInstanceTypes</code> doesn't need to include all of the instances from the <code>instanceType</code> set, but at least a subset. For example, if <code>ComputeResource.instanceTypes</code> includes <code>[m5, g5]</code>, <code>targetInstanceTypes</code> can include <code>[m5.2xlarge]</code> and <code>[m5.large]</code> but not <code>[c5.large]</code>.</p> </li> <li> <p> <code>targetInstanceTypes</code> included within the same launch template override or across launch template overrides can't overlap for the same compute environment. For example, you can't define one launch template override to target an instance family and another define an instance type within this same family.</p> </li> </ul>",
"NodePropertyOverride$instanceTypes": "<p>An object that contains the instance types that you want to replace for the existing resources of a job.</p>",
"NodeRangeProperty$instanceTypes": "<p>The instance types of the underlying host infrastructure of a multi-node parallel job.</p> <note> <p>This parameter isn't applicable to jobs that are running on Fargate resources.</p> <p>In addition, this list object is currently limited to one element.</p> </note>",
"TaskContainerDetails$command": "<p>The command that's passed to the container. This parameter maps to <code>Cmd</code> in the <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>COMMAND</code> parameter to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>. For more information, see <a href=\"https://docs.docker.com/engine/reference/builder/#cmd\">https://docs.docker.com/engine/reference/builder/#cmd</a>.</p>",
Expand Down
133 changes: 132 additions & 1 deletion apis/bedrock-agent-runtime/2023-07-26/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
"type":"string",
"max":2048,
"min":1,
"pattern":"^(arn:aws(-[^:]{1,10})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]{1,20}/)?)?([a-z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$"
"pattern":"^(arn:aws(-[^:]+)?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$"
},
"Boolean":{
"type":"boolean",
Expand Down Expand Up @@ -670,6 +670,7 @@
"dependencyFailedException":{"shape":"DependencyFailedException"},
"flowCompletionEvent":{"shape":"FlowCompletionEvent"},
"flowOutputEvent":{"shape":"FlowOutputEvent"},
"flowTraceEvent":{"shape":"FlowTraceEvent"},
"internalServerException":{"shape":"InternalServerException"},
"resourceNotFoundException":{"shape":"ResourceNotFoundException"},
"serviceQuotaExceededException":{"shape":"ServiceQuotaExceededException"},
Expand All @@ -678,6 +679,131 @@
},
"eventstream":true
},
"FlowTrace":{
"type":"structure",
"members":{
"conditionNodeResultTrace":{"shape":"FlowTraceConditionNodeResultEvent"},
"nodeInputTrace":{"shape":"FlowTraceNodeInputEvent"},
"nodeOutputTrace":{"shape":"FlowTraceNodeOutputEvent"}
},
"sensitive":true,
"union":true
},
"FlowTraceCondition":{
"type":"structure",
"required":["conditionName"],
"members":{
"conditionName":{"shape":"String"}
},
"sensitive":true
},
"FlowTraceConditionNodeResultEvent":{
"type":"structure",
"required":[
"nodeName",
"satisfiedConditions",
"timestamp"
],
"members":{
"nodeName":{"shape":"NodeName"},
"satisfiedConditions":{"shape":"FlowTraceConditions"},
"timestamp":{"shape":"DateTimestamp"}
},
"sensitive":true
},
"FlowTraceConditions":{
"type":"list",
"member":{"shape":"FlowTraceCondition"},
"max":5,
"min":1
},
"FlowTraceEvent":{
"type":"structure",
"required":["trace"],
"members":{
"trace":{"shape":"FlowTrace"}
},
"event":true
},
"FlowTraceNodeInputContent":{
"type":"structure",
"members":{
"document":{"shape":"Document"}
},
"sensitive":true,
"union":true
},
"FlowTraceNodeInputEvent":{
"type":"structure",
"required":[
"fields",
"nodeName",
"timestamp"
],
"members":{
"fields":{"shape":"FlowTraceNodeInputFields"},
"nodeName":{"shape":"NodeName"},
"timestamp":{"shape":"DateTimestamp"}
},
"sensitive":true
},
"FlowTraceNodeInputField":{
"type":"structure",
"required":[
"content",
"nodeInputName"
],
"members":{
"content":{"shape":"FlowTraceNodeInputContent"},
"nodeInputName":{"shape":"NodeInputName"}
},
"sensitive":true
},
"FlowTraceNodeInputFields":{
"type":"list",
"member":{"shape":"FlowTraceNodeInputField"},
"max":5,
"min":1
},
"FlowTraceNodeOutputContent":{
"type":"structure",
"members":{
"document":{"shape":"Document"}
},
"union":true
},
"FlowTraceNodeOutputEvent":{
"type":"structure",
"required":[
"fields",
"nodeName",
"timestamp"
],
"members":{
"fields":{"shape":"FlowTraceNodeOutputFields"},
"nodeName":{"shape":"NodeName"},
"timestamp":{"shape":"DateTimestamp"}
},
"sensitive":true
},
"FlowTraceNodeOutputField":{
"type":"structure",
"required":[
"content",
"nodeOutputName"
],
"members":{
"content":{"shape":"FlowTraceNodeOutputContent"},
"nodeOutputName":{"shape":"NodeOutputName"}
},
"sensitive":true
},
"FlowTraceNodeOutputFields":{
"type":"list",
"member":{"shape":"FlowTraceNodeOutputField"},
"max":2,
"min":1
},
"Function":{
"type":"string",
"sensitive":true
Expand Down Expand Up @@ -1201,6 +1327,7 @@
"inputs"
],
"members":{
"enableTrace":{"shape":"Boolean"},
"flowAliasIdentifier":{
"shape":"FlowAliasIdentifier",
"location":"uri",
Expand Down Expand Up @@ -1410,6 +1537,10 @@
"min":1,
"pattern":"^\\S*$"
},
"NodeInputName":{
"type":"string",
"pattern":"^[a-zA-Z]([_]?[0-9a-zA-Z]){0,99}$"
},
"NodeName":{
"type":"string",
"pattern":"^[a-zA-Z]([_]?[0-9a-zA-Z]){0,99}$"
Expand Down
Loading

0 comments on commit 0fc4c41

Please sign in to comment.