Skip to content

Commit 8630590

Browse files
Updated API models and rebuilt service gems.
1 parent 5e4bd60 commit 8630590

File tree

57 files changed

+2709
-128
lines changed

Some content is hidden

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

57 files changed

+2709
-128
lines changed

apis/amplify/2017-07-25/api-2.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2591,6 +2591,7 @@
25912591
"webhookArn":{"shape":"WebhookArn"},
25922592
"webhookId":{"shape":"WebhookId"},
25932593
"webhookUrl":{"shape":"WebhookUrl"},
2594+
"appId":{"shape":"AppId"},
25942595
"branchName":{"shape":"BranchName"},
25952596
"description":{"shape":"Description"},
25962597
"createTime":{"shape":"CreateTime"},

apis/amplify/2017-07-25/docs-2.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"GetJob": "<p> Returns a job for a branch of an Amplify app. </p>",
2424
"GetWebhook": "<p>Returns the webhook information that corresponds to a specified webhook ID. </p>",
2525
"ListApps": "<p>Returns a list of the existing Amplify apps. </p>",
26-
"ListArtifacts": "<p>Returns a list of artifacts for a specified app, branch, and job. </p>",
26+
"ListArtifacts": "<p>Returns a list of end-to-end testing artifacts for a specified app, branch, and job.</p> <p>To return the build artifacts, use the <a href=\"https://docs.aws.amazon.com/amplify/latest/APIReference/API_GetJob.html\">GetJob</a> API.</p> <p>For more information about Amplify testing support, see <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/running-tests.html\">Setting up end-to-end Cypress tests for your Amplify application</a> in the <i>Amplify Hosting User Guide</i>. </p>",
2727
"ListBackendEnvironments": "<p>Lists the backend environments for an Amplify app. </p> <p>This API is available only to Amplify Gen 1 applications where the backend is created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.</p>",
2828
"ListBranches": "<p> Lists the branches of an Amplify app. </p>",
2929
"ListDomainAssociations": "<p>Returns the domain associations for an Amplify app. </p>",
@@ -101,7 +101,8 @@
101101
"StopJobRequest$appId": "<p> The unique ID for an Amplify app. </p>",
102102
"UpdateAppRequest$appId": "<p>The unique ID for an Amplify app. </p>",
103103
"UpdateBranchRequest$appId": "<p> The unique ID for an Amplify app. </p>",
104-
"UpdateDomainAssociationRequest$appId": "<p> The unique ID for an Amplify app. </p>"
104+
"UpdateDomainAssociationRequest$appId": "<p> The unique ID for an Amplify app. </p>",
105+
"Webhook$appId": "<p>The unique ID of an Amplify app.</p>"
105106
}
106107
},
107108
"Apps": {
@@ -145,7 +146,7 @@
145146
"ArtifactsUrl": {
146147
"base": null,
147148
"refs": {
148-
"Step$artifactsUrl": "<p> The URL to the artifact for the execution step. </p>"
149+
"Step$artifactsUrl": "<p> The URL to the build artifact for the execution step. </p>"
149150
}
150151
},
151152
"AssociatedResource": {

apis/bedrock/2023-04-20/api-2.json

Lines changed: 109 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1811,15 +1811,33 @@
18111811
"max":20,
18121812
"min":0
18131813
},
1814+
"EvaluationBedrockKnowledgeBaseIdentifiers":{
1815+
"type":"list",
1816+
"member":{"shape":"KnowledgeBaseId"},
1817+
"max":1,
1818+
"min":0
1819+
},
18141820
"EvaluationBedrockModel":{
18151821
"type":"structure",
18161822
"required":["modelIdentifier"],
18171823
"members":{
1818-
"modelIdentifier":{"shape":"EvaluationModelIdentifier"},
1824+
"modelIdentifier":{"shape":"EvaluationBedrockModelIdentifier"},
18191825
"inferenceParams":{"shape":"EvaluationModelInferenceParams"},
18201826
"performanceConfig":{"shape":"PerformanceConfiguration"}
18211827
}
18221828
},
1829+
"EvaluationBedrockModelIdentifier":{
1830+
"type":"string",
1831+
"max":2048,
1832+
"min":1,
1833+
"pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:((: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})|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:application-inference-profile/[a-z0-9]{12})|([0-9]{12}:inference-profile/(([a-z-]{2,8}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([0-9]{12}:(default-prompt-router|prompt-router)/[a-zA-Z0-9-:.]+)))|(([a-z]{2}[.]{1})([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|arn:aws(-[^:]+)?:sagemaker:[a-z0-9-]{1,20}:[0-9]{12}:endpoint/[a-z0-9-]{1,63}"
1834+
},
1835+
"EvaluationBedrockModelIdentifiers":{
1836+
"type":"list",
1837+
"member":{"shape":"EvaluationBedrockModelIdentifier"},
1838+
"max":2,
1839+
"min":0
1840+
},
18231841
"EvaluationConfig":{
18241842
"type":"structure",
18251843
"members":{
@@ -1877,6 +1895,13 @@
18771895
},
18781896
"union":true
18791897
},
1898+
"EvaluationInferenceConfigSummary":{
1899+
"type":"structure",
1900+
"members":{
1901+
"modelConfigSummary":{"shape":"EvaluationModelConfigSummary"},
1902+
"ragConfigSummary":{"shape":"EvaluationRagConfigSummary"}
1903+
}
1904+
},
18801905
"EvaluationJobArn":{
18811906
"type":"string",
18821907
"max":1011,
@@ -1950,39 +1975,95 @@
19501975
"EvaluationModelConfig":{
19511976
"type":"structure",
19521977
"members":{
1953-
"bedrockModel":{"shape":"EvaluationBedrockModel"}
1978+
"bedrockModel":{"shape":"EvaluationBedrockModel"},
1979+
"precomputedInferenceSource":{"shape":"EvaluationPrecomputedInferenceSource"}
19541980
},
19551981
"union":true
19561982
},
1983+
"EvaluationModelConfigSummary":{
1984+
"type":"structure",
1985+
"members":{
1986+
"bedrockModelIdentifiers":{"shape":"EvaluationBedrockModelIdentifiers"},
1987+
"precomputedInferenceSourceIdentifiers":{"shape":"EvaluationPrecomputedInferenceSourceIdentifiers"}
1988+
}
1989+
},
19571990
"EvaluationModelConfigs":{
19581991
"type":"list",
19591992
"member":{"shape":"EvaluationModelConfig"},
19601993
"max":2,
19611994
"min":1
19621995
},
1963-
"EvaluationModelIdentifier":{
1996+
"EvaluationModelInferenceParams":{
19641997
"type":"string",
1965-
"max":2048,
1998+
"max":1023,
19661999
"min":1,
1967-
"pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:((: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})|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:application-inference-profile/[a-z0-9]{12})|([0-9]{12}:inference-profile/(([a-z-]{2,8}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([0-9]{12}:(default-prompt-router|prompt-router)/[a-zA-Z0-9-:.]+)))|(([a-z]{2}[.]{1})([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|arn:aws(-[^:]+)?:sagemaker:[a-z0-9-]{1,20}:[0-9]{12}:endpoint/[a-z0-9-]{1,63}"
2000+
"sensitive":true
2001+
},
2002+
"EvaluationOutputDataConfig":{
2003+
"type":"structure",
2004+
"required":["s3Uri"],
2005+
"members":{
2006+
"s3Uri":{"shape":"S3Uri"}
2007+
}
19682008
},
1969-
"EvaluationModelIdentifiers":{
2009+
"EvaluationPrecomputedInferenceSource":{
2010+
"type":"structure",
2011+
"required":["inferenceSourceIdentifier"],
2012+
"members":{
2013+
"inferenceSourceIdentifier":{"shape":"EvaluationPrecomputedInferenceSourceIdentifier"}
2014+
}
2015+
},
2016+
"EvaluationPrecomputedInferenceSourceIdentifier":{
2017+
"type":"string",
2018+
"max":256,
2019+
"min":1,
2020+
"pattern":"[a-zA-Z0-9]([a-zA-Z0-9._-]){0,255}"
2021+
},
2022+
"EvaluationPrecomputedInferenceSourceIdentifiers":{
19702023
"type":"list",
1971-
"member":{"shape":"EvaluationModelIdentifier"},
2024+
"member":{"shape":"EvaluationPrecomputedInferenceSourceIdentifier"},
19722025
"max":2,
19732026
"min":0
19742027
},
1975-
"EvaluationModelInferenceParams":{
2028+
"EvaluationPrecomputedRagSourceConfig":{
2029+
"type":"structure",
2030+
"members":{
2031+
"retrieveSourceConfig":{"shape":"EvaluationPrecomputedRetrieveSourceConfig"},
2032+
"retrieveAndGenerateSourceConfig":{"shape":"EvaluationPrecomputedRetrieveAndGenerateSourceConfig"}
2033+
},
2034+
"union":true
2035+
},
2036+
"EvaluationPrecomputedRagSourceIdentifier":{
19762037
"type":"string",
1977-
"max":1023,
2038+
"max":256,
19782039
"min":1,
1979-
"sensitive":true
2040+
"pattern":"[a-zA-Z0-9]([a-zA-Z0-9._-]){0,255}"
19802041
},
1981-
"EvaluationOutputDataConfig":{
2042+
"EvaluationPrecomputedRagSourceIdentifiers":{
2043+
"type":"list",
2044+
"member":{"shape":"EvaluationPrecomputedRagSourceIdentifier"},
2045+
"max":1,
2046+
"min":0
2047+
},
2048+
"EvaluationPrecomputedRetrieveAndGenerateSourceConfig":{
19822049
"type":"structure",
1983-
"required":["s3Uri"],
2050+
"required":["ragSourceIdentifier"],
19842051
"members":{
1985-
"s3Uri":{"shape":"S3Uri"}
2052+
"ragSourceIdentifier":{"shape":"EvaluationPrecomputedRagSourceIdentifier"}
2053+
}
2054+
},
2055+
"EvaluationPrecomputedRetrieveSourceConfig":{
2056+
"type":"structure",
2057+
"required":["ragSourceIdentifier"],
2058+
"members":{
2059+
"ragSourceIdentifier":{"shape":"EvaluationPrecomputedRagSourceIdentifier"}
2060+
}
2061+
},
2062+
"EvaluationRagConfigSummary":{
2063+
"type":"structure",
2064+
"members":{
2065+
"bedrockKnowledgeBaseIdentifiers":{"shape":"EvaluationBedrockKnowledgeBaseIdentifiers"},
2066+
"precomputedRagSourceIdentifiers":{"shape":"EvaluationPrecomputedRagSourceIdentifiers"}
19862067
}
19872068
},
19882069
"EvaluationRatingMethod":{
@@ -2014,9 +2095,18 @@
20142095
"creationTime":{"shape":"Timestamp"},
20152096
"jobType":{"shape":"EvaluationJobType"},
20162097
"evaluationTaskTypes":{"shape":"EvaluationTaskTypes"},
2017-
"modelIdentifiers":{"shape":"EvaluationModelIdentifiers"},
2018-
"ragIdentifiers":{"shape":"RAGIdentifiers"},
2098+
"modelIdentifiers":{
2099+
"shape":"EvaluationBedrockModelIdentifiers",
2100+
"deprecated":true,
2101+
"deprecatedMessage":"Inference identifiers should be retrieved from the inferenceConfigSummary"
2102+
},
2103+
"ragIdentifiers":{
2104+
"shape":"EvaluationBedrockKnowledgeBaseIdentifiers",
2105+
"deprecated":true,
2106+
"deprecatedMessage":"Inference identifiers should be retrieved from the inferenceConfigSummary"
2107+
},
20192108
"evaluatorModelIdentifiers":{"shape":"EvaluatorModelIdentifiers"},
2109+
"inferenceConfigSummary":{"shape":"EvaluationInferenceConfigSummary"},
20202110
"applicationType":{"shape":"ApplicationType"}
20212111
}
20222112
},
@@ -2050,7 +2140,7 @@
20502140
"type":"string",
20512141
"max":2048,
20522142
"min":1,
2053-
"pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}$|(^[a-z0-9-]+[.][a-z0-9-]+([.][a-z0-9-]+)*(:[a-z0-9-]+)?$)|^[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}(/[a-z0-9]{12}|)"
2143+
"pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:((:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:inference-profile/(([a-z-]{2,8}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))))$|(^[a-z0-9-]+[.][a-z0-9-]+([.][a-z0-9-]+)*(:[a-z0-9-]+)?$)|^[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}(/[a-z0-9]{12}|)"
20542144
},
20552145
"EvaluatorModelIdentifiers":{
20562146
"type":"list",
@@ -4386,7 +4476,7 @@
43864476
"type":"string",
43874477
"max":2048,
43884478
"min":1,
4389-
"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}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(([0-9a-zA-Z][_-]?)+)"
4479+
"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})([:][a-z0-9-]{1,63}){0,2})|(([0-9a-zA-Z][_-]?)+)$)|([0-9]{12}:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+$)))|([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][_-]?)+)"
43904480
},
43914481
"ModelIdentifier":{
43924482
"type":"string",
@@ -4780,16 +4870,11 @@
47804870
"RAGConfig":{
47814871
"type":"structure",
47824872
"members":{
4783-
"knowledgeBaseConfig":{"shape":"KnowledgeBaseConfig"}
4873+
"knowledgeBaseConfig":{"shape":"KnowledgeBaseConfig"},
4874+
"precomputedRagSourceConfig":{"shape":"EvaluationPrecomputedRagSourceConfig"}
47844875
},
47854876
"union":true
47864877
},
4787-
"RAGIdentifiers":{
4788-
"type":"list",
4789-
"member":{"shape":"KnowledgeBaseId"},
4790-
"max":1,
4791-
"min":0
4792-
},
47934878
"RAGStopSequences":{
47944879
"type":"list",
47954880
"member":{"shape":"RAGStopSequencesMemberString"},

0 commit comments

Comments
 (0)