Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Oct 21, 2024
1 parent 6a30b3f commit 12525ee
Show file tree
Hide file tree
Showing 9 changed files with 1,287 additions and 334 deletions.
130 changes: 97 additions & 33 deletions codegen/sdk-codegen/aws-models/application-insights.json

Large diffs are not rendered by default.

94 changes: 52 additions & 42 deletions codegen/sdk-codegen/aws-models/auto-scaling.json

Large diffs are not rendered by default.

45 changes: 37 additions & 8 deletions codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@
"min": 1,
"max": 2048
},
"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}))))|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$"
"smithy.api#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})?$"
}
},
"com.amazonaws.bedrockagentruntime#ByteContentBlob": {
Expand Down Expand Up @@ -4012,11 +4012,28 @@
"com.amazonaws.bedrockagentruntime#OrchestrationConfiguration": {
"type": "structure",
"members": {
"promptTemplate": {
"target": "com.amazonaws.bedrockagentruntime#PromptTemplate",
"traits": {
"smithy.api#documentation": "<p>Contains the template for the prompt that's sent to the model for response generation.</p>"
}
},
"inferenceConfig": {
"target": "com.amazonaws.bedrockagentruntime#InferenceConfig",
"traits": {
"smithy.api#documentation": "<p> Configuration settings for inference when using RetrieveAndGenerate to generate responses while using a knowledge base as a source. </p>"
}
},
"additionalModelRequestFields": {
"target": "com.amazonaws.bedrockagentruntime#AdditionalModelRequestFields",
"traits": {
"smithy.api#documentation": "<p> Additional model parameters and corresponding values not included in the textInferenceConfig structure for a knowledge base. This allows users to provide custom model parameters specific to the language model being used. </p>"
}
},
"queryTransformationConfiguration": {
"target": "com.amazonaws.bedrockagentruntime#QueryTransformationConfiguration",
"traits": {
"smithy.api#documentation": "<p>To split up the prompt and retrieve multiple sources, set the transformation type to\n <code>QUERY_DECOMPOSITION</code>.</p>",
"smithy.api#required": {}
"smithy.api#documentation": "<p>To split up the prompt and retrieve multiple sources, set the transformation type to\n <code>QUERY_DECOMPOSITION</code>.</p>"
}
}
},
Expand All @@ -4042,7 +4059,7 @@
"metadata": {
"target": "com.amazonaws.bedrockagentruntime#Metadata",
"traits": {
"smithy.api#documentation": "<p>Contains information about the foundation model output.</p>"
"smithy.api#documentation": "<p>Contains information about the foundation model output from the orchestration step.</p>"
}
}
},
Expand Down Expand Up @@ -4219,10 +4236,16 @@
}
},
"rawResponse": {
"target": "com.amazonaws.bedrockagentruntime#RawResponse"
"target": "com.amazonaws.bedrockagentruntime#RawResponse",
"traits": {
"smithy.api#documentation": "<p>\n Details of the raw response from the foundation model output.\n </p>"
}
},
"metadata": {
"target": "com.amazonaws.bedrockagentruntime#Metadata"
"target": "com.amazonaws.bedrockagentruntime#Metadata",
"traits": {
"smithy.api#documentation": "<p>\n Contains information about the foundation model output from the post-processing step.\n </p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -4282,10 +4305,16 @@
}
},
"rawResponse": {
"target": "com.amazonaws.bedrockagentruntime#RawResponse"
"target": "com.amazonaws.bedrockagentruntime#RawResponse",
"traits": {
"smithy.api#documentation": "<p>\n Details of the raw response from the foundation model output.\n </p>"
}
},
"metadata": {
"target": "com.amazonaws.bedrockagentruntime#Metadata"
"target": "com.amazonaws.bedrockagentruntime#Metadata",
"traits": {
"smithy.api#documentation": "<p>\n Contains information about the foundation model output from the pre-processing step.\n </p>"
}
}
},
"traits": {
Expand Down
74 changes: 74 additions & 0 deletions codegen/sdk-codegen/aws-models/database-migration-service.json
Original file line number Diff line number Diff line change
Expand Up @@ -4182,6 +4182,12 @@
"smithy.api#documentation": "<p>The IP addresses of the endpoints for the data migration.</p>"
}
},
"DataMigrationCidrBlocks": {
"target": "com.amazonaws.databasemigrationservice#DataMigrationCidrBlock",
"traits": {
"smithy.api#documentation": "<p>The CIDR blocks of the endpoints for the data migration.</p>"
}
},
"LastFailureMessage": {
"target": "com.amazonaws.databasemigrationservice#String",
"traits": {
Expand All @@ -4199,6 +4205,12 @@
"smithy.api#documentation": "<p>This object provides information about a DMS data migration.</p>"
}
},
"com.amazonaws.databasemigrationservice#DataMigrationCidrBlock": {
"type": "list",
"member": {
"target": "com.amazonaws.databasemigrationservice#String"
}
},
"com.amazonaws.databasemigrationservice#DataMigrationSettings": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -16772,6 +16784,19 @@
"traits": {
"smithy.api#documentation": "<p>Unique name of the assessment run.</p>"
}
},
"IsLatestTaskAssessmentRun": {
"target": "com.amazonaws.databasemigrationservice#Boolean",
"traits": {
"smithy.api#default": false,
"smithy.api#documentation": "<p>Indicates that the following PreflightAssessmentRun is the latest for the ReplicationTask. The status is either true or false.</p>"
}
},
"ResultStatistic": {
"target": "com.amazonaws.databasemigrationservice#ReplicationTaskAssessmentRunResultStatistic",
"traits": {
"smithy.api#documentation": "<p>\n Result statistics for a completed assessment run, showing aggregated statistics of IndividualAssessments for how many assessments were passed, failed, or encountered issues such as errors or warnings.\n </p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -16806,6 +16831,49 @@
"smithy.api#documentation": "<p>The progress values reported by the <code>AssessmentProgress</code> response\n element.</p>"
}
},
"com.amazonaws.databasemigrationservice#ReplicationTaskAssessmentRunResultStatistic": {
"type": "structure",
"members": {
"Passed": {
"target": "com.amazonaws.databasemigrationservice#Integer",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The number of individual assessments that successfully passed all checks in the assessment run.</p>"
}
},
"Failed": {
"target": "com.amazonaws.databasemigrationservice#Integer",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The number of individual assessments that failed to meet the criteria defined in the assessment run.</p>"
}
},
"Error": {
"target": "com.amazonaws.databasemigrationservice#Integer",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The number of individual assessments that encountered a critical error and could not complete properly.</p>"
}
},
"Warning": {
"target": "com.amazonaws.databasemigrationservice#Integer",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>Indicates that the recent completed AssessmentRun triggered a warning.</p>"
}
},
"Cancelled": {
"target": "com.amazonaws.databasemigrationservice#Integer",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>\n The number of individual assessments that were cancelled during the assessment run.\n </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The object containing the result statistics for a completed assessment run.</p>"
}
},
"com.amazonaws.databasemigrationservice#ReplicationTaskIndividualAssessment": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -18653,6 +18721,12 @@
"traits": {
"smithy.api#documentation": "<p>Space-separated list of names for specific individual assessments that you want to\n exclude. These names come from the default list of individual assessments that DMS\n supports for the associated migration task. This task is specified by\n <code>ReplicationTaskArn</code>.</p>\n <note>\n <p>You can't set a value for <code>Exclude</code> if you also set a value for\n <code>IncludeOnly</code> in the API operation.</p>\n <p>To identify the names of the default individual assessments that DMS\n supports for the associated migration task, run the\n <code>DescribeApplicableIndividualAssessments</code> operation using its own\n <code>ReplicationTaskArn</code> request parameter.</p>\n </note>"
}
},
"Tags": {
"target": "com.amazonaws.databasemigrationservice#TagList",
"traits": {
"smithy.api#documentation": "<p>One or more tags to be assigned to the premigration assessment run that you want to start.</p>"
}
}
},
"traits": {
Expand Down
Loading

0 comments on commit 12525ee

Please sign in to comment.