Skip to content

Commit 17f3365

Browse files
Updated API models and rebuilt service gems.
1 parent b9cc6c3 commit 17f3365

File tree

59 files changed

+887
-290
lines changed

Some content is hidden

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

59 files changed

+887
-290
lines changed

apis/amp/2020-08-01/api-2.json

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,7 @@
678678
"idempotencyToken":true
679679
},
680680
"destination":{"shape":"Destination"},
681+
"roleConfiguration":{"shape":"RoleConfiguration"},
681682
"scrapeConfiguration":{"shape":"ScrapeConfiguration"},
682683
"source":{"shape":"Source"},
683684
"tags":{"shape":"TagMap"}
@@ -973,7 +974,10 @@
973974
"configuration":{"shape":"Blob"}
974975
}
975976
},
976-
"IamRoleArn":{"type":"string"},
977+
"IamRoleArn":{
978+
"type":"string",
979+
"pattern":"^arn:aws[-a-z]*:iam::[0-9]{12}:role/.+$"
980+
},
977981
"IdempotencyToken":{
978982
"type":"string",
979983
"max":64,
@@ -1004,7 +1008,7 @@
10041008
"type":"string",
10051009
"max":2048,
10061010
"min":20,
1007-
"pattern":"^arn:aws:kms:[a-z0-9\\-]+:\\d+:key/[a-f0-9\\-]+$"
1011+
"pattern":"^arn:aws[-a-z]*:kms:[-a-z0-9]+:[0-9]{12}:key/[-a-f0-9]+$"
10081012
},
10091013
"ListRuleGroupsNamespacesRequest":{
10101014
"type":"structure",
@@ -1132,7 +1136,7 @@
11321136
},
11331137
"LogGroupArn":{
11341138
"type":"string",
1135-
"pattern":"^arn:aws[a-z0-9-]*:logs:[a-z0-9-]+:\\d{12}:log-group:[A-Za-z0-9\\.\\-\\_\\#/]{1,512}\\:\\*$"
1139+
"pattern":"^arn:aws[-a-z]*:logs:[-a-z0-9]+:[0-9]{12}:log-group:[A-Za-z0-9\\.\\-\\_\\#/]{1,512}\\:\\*$"
11361140
},
11371141
"LoggingConfigurationMetadata":{
11381142
"type":"structure",
@@ -1258,6 +1262,13 @@
12581262
},
12591263
"exception":true
12601264
},
1265+
"RoleConfiguration":{
1266+
"type":"structure",
1267+
"members":{
1268+
"sourceRoleArn":{"shape":"IamRoleArn"},
1269+
"targetRoleArn":{"shape":"IamRoleArn"}
1270+
}
1271+
},
12611272
"RuleGroupsNamespaceArn":{"type":"string"},
12621273
"RuleGroupsNamespaceData":{"type":"blob"},
12631274
"RuleGroupsNamespaceDescription":{
@@ -1361,6 +1372,7 @@
13611372
"destination":{"shape":"Destination"},
13621373
"lastModifiedAt":{"shape":"Timestamp"},
13631374
"roleArn":{"shape":"IamRoleArn"},
1375+
"roleConfiguration":{"shape":"RoleConfiguration"},
13641376
"scrapeConfiguration":{"shape":"ScrapeConfiguration"},
13651377
"scraperId":{"shape":"ScraperId"},
13661378
"source":{"shape":"Source"},
@@ -1420,6 +1432,7 @@
14201432
"destination":{"shape":"Destination"},
14211433
"lastModifiedAt":{"shape":"Timestamp"},
14221434
"roleArn":{"shape":"IamRoleArn"},
1435+
"roleConfiguration":{"shape":"RoleConfiguration"},
14231436
"scraperId":{"shape":"ScraperId"},
14241437
"source":{"shape":"Source"},
14251438
"status":{"shape":"ScraperStatus"},
@@ -1614,6 +1627,7 @@
16141627
"idempotencyToken":true
16151628
},
16161629
"destination":{"shape":"Destination"},
1630+
"roleConfiguration":{"shape":"RoleConfiguration"},
16171631
"scrapeConfiguration":{"shape":"ScrapeConfiguration"},
16181632
"scraperId":{
16191633
"shape":"ScraperId",

apis/amp/2020-08-01/docs-2.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,8 @@
264264
"IamRoleArn": {
265265
"base": "<p>An ARN identifying an IAM role used by the scraper.</p>",
266266
"refs": {
267+
"RoleConfiguration$sourceRoleArn": "<p>A ARN identifying the source role configuration.</p>",
268+
"RoleConfiguration$targetRoleArn": "<p>A ARN identifying the target role configuration.</p>",
267269
"ScraperDescription$roleArn": "<p>The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to discover and collect metrics on your behalf.</p> <p>For example, <code>arn:aws:iam::123456789012:role/service-role/AmazonGrafanaServiceRole-12example</code>.</p>",
268270
"ScraperSummary$roleArn": "<p>The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to discover and collect metrics on your behalf.</p>"
269271
}
@@ -431,6 +433,15 @@
431433
"refs": {
432434
}
433435
},
436+
"RoleConfiguration": {
437+
"base": "<p>To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.</p>",
438+
"refs": {
439+
"CreateScraperRequest$roleConfiguration": "<p>The scraper role configuration for the workspace.</p>",
440+
"ScraperDescription$roleConfiguration": null,
441+
"ScraperSummary$roleConfiguration": null,
442+
"UpdateScraperRequest$roleConfiguration": "<p>The scraper role configuration for the workspace.</p>"
443+
}
444+
},
434445
"RuleGroupsNamespaceArn": {
435446
"base": "<p>An ARN identifying a rule groups namespace.</p>",
436447
"refs": {

apis/bedrock-agent-runtime/2023-07-26/api-2.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,13 @@
602602
"CitationEvent":{
603603
"type":"structure",
604604
"members":{
605-
"citation":{"shape":"Citation"}
605+
"citation":{
606+
"shape":"Citation",
607+
"deprecated":true,
608+
"deprecatedMessage":"Citation is deprecated. Please use GeneratedResponsePart and RetrievedReferences for citation event."
609+
},
610+
"generatedResponsePart":{"shape":"GeneratedResponsePart"},
611+
"retrievedReferences":{"shape":"RetrievedReferences"}
606612
},
607613
"event":true
608614
},

apis/bedrock-agent-runtime/2023-07-26/docs-2.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,8 @@
896896
"GeneratedResponsePart": {
897897
"base": "<p>Contains metadata about a part of the generated response that is accompanied by a citation.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax\">InvokeAgent response</a> – in the <code>generatedResponsePart</code> field</p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax\">RetrieveAndGenerate response</a> – in the <code>generatedResponsePart</code> field</p> </li> </ul>",
898898
"refs": {
899-
"Citation$generatedResponsePart": "<p>Contains the generated response and metadata </p>"
899+
"Citation$generatedResponsePart": "<p>Contains the generated response and metadata </p>",
900+
"CitationEvent$generatedResponsePart": "<p>The generated response to the citation event.</p>"
900901
}
901902
},
902903
"GenerationConfiguration": {
@@ -2387,6 +2388,7 @@
23872388
"base": null,
23882389
"refs": {
23892390
"Citation$retrievedReferences": "<p>Contains metadata about the sources cited for the generated response.</p>",
2391+
"CitationEvent$retrievedReferences": "<p>The retrieved references of the citation event.</p>",
23902392
"KnowledgeBaseLookupOutput$retrievedReferences": "<p>Contains metadata about the sources cited for the generated response.</p>"
23912393
}
23922394
},

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2976,7 +2976,8 @@
29762976
"type":"string",
29772977
"enum":[
29782978
"BUILD",
2979-
"BUILD_BATCH"
2979+
"BUILD_BATCH",
2980+
"RUNNER_BUILDKITE_BUILD"
29802981
]
29812982
},
29822983
"WebhookFilter":{

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2126,15 +2126,15 @@
21262126
}
21272127
},
21282128
"WebhookFilter": {
2129-
"base": "<p> A filter used to determine which webhooks trigger a build. </p>",
2129+
"base": "<p>A filter used to determine which webhooks trigger a build. </p>",
21302130
"refs": {
21312131
"FilterGroup$member": null
21322132
}
21332133
},
21342134
"WebhookFilterType": {
21352135
"base": null,
21362136
"refs": {
2137-
"WebhookFilter$type": "<p> The type of webhook filter. There are nine webhook filter types: <code>EVENT</code>, <code>ACTOR_ACCOUNT_ID</code>, <code>HEAD_REF</code>, <code>BASE_REF</code>, <code>FILE_PATH</code>, <code>COMMIT_MESSAGE</code>, <code>TAG_NAME</code>, <code>RELEASE_NAME</code>, and <code>WORKFLOW_NAME</code>. </p> <ul> <li> <p> EVENT </p> <ul> <li> <p> A webhook event triggers a build when the provided <code>pattern</code> matches one of nine event types: <code>PUSH</code>, <code>PULL_REQUEST_CREATED</code>, <code>PULL_REQUEST_UPDATED</code>, <code>PULL_REQUEST_CLOSED</code>, <code>PULL_REQUEST_REOPENED</code>, <code>PULL_REQUEST_MERGED</code>, <code>RELEASED</code>, <code>PRERELEASED</code>, and <code>WORKFLOW_JOB_QUEUED</code>. The <code>EVENT</code> patterns are specified as a comma-separated string. For example, <code>PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED</code> filters all push, pull request created, and pull request updated events. </p> <note> <p> Types <code>PULL_REQUEST_REOPENED</code> and <code>WORKFLOW_JOB_QUEUED</code> work with GitHub and GitHub Enterprise only. Types <code>RELEASED</code> and <code>PRERELEASED</code> work with GitHub only.</p> </note> </li> </ul> </li> <li> <p>ACTOR_ACCOUNT_ID</p> <ul> <li> <p> A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression <code>pattern</code>. </p> </li> </ul> </li> <li> <p>HEAD_REF</p> <ul> <li> <p> A webhook event triggers a build when the head reference matches the regular expression <code>pattern</code>. For example, <code>refs/heads/branch-name</code> and <code>refs/tags/tag-name</code>. </p> <note> <p> Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events.</p> </note> </li> </ul> </li> <li> <p>BASE_REF</p> <ul> <li> <p> A webhook event triggers a build when the base reference matches the regular expression <code>pattern</code>. For example, <code>refs/heads/branch-name</code>. </p> <note> <p> Works with pull request events only. </p> </note> </li> </ul> </li> <li> <p>FILE_PATH</p> <ul> <li> <p> A webhook triggers a build when the path of a changed file matches the regular expression <code>pattern</code>. </p> <note> <p> Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. </p> </note> </li> </ul> </li> <li> <p>COMMIT_MESSAGE</p> <ul> <li> <p>A webhook triggers a build when the head commit message matches the regular expression <code>pattern</code>.</p> <note> <p> Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. </p> </note> </li> </ul> </li> <li> <p>TAG_NAME</p> <ul> <li> <p>A webhook triggers a build when the tag name of the release matches the regular expression <code>pattern</code>.</p> <note> <p> Works with <code>RELEASED</code> and <code>PRERELEASED</code> events only. </p> </note> </li> </ul> </li> <li> <p>RELEASE_NAME</p> <ul> <li> <p>A webhook triggers a build when the release name matches the regular expression <code>pattern</code>.</p> <note> <p> Works with <code>RELEASED</code> and <code>PRERELEASED</code> events only. </p> </note> </li> </ul> </li> <li> <p>REPOSITORY_NAME</p> <ul> <li> <p>A webhook triggers a build when the repository name matches the regular expression pattern.</p> <note> <p> Works with GitHub global or organization webhooks only. </p> </note> </li> </ul> </li> <li> <p>WORKFLOW_NAME</p> <ul> <li> <p>A webhook triggers a build when the workflow name matches the regular expression <code>pattern</code>.</p> <note> <p> Works with <code>WORKFLOW_JOB_QUEUED</code> events only. </p> </note> </li> </ul> </li> </ul>"
2137+
"WebhookFilter$type": "<p> The type of webhook filter. There are nine webhook filter types: <code>EVENT</code>, <code>ACTOR_ACCOUNT_ID</code>, <code>HEAD_REF</code>, <code>BASE_REF</code>, <code>FILE_PATH</code>, <code>COMMIT_MESSAGE</code>, <code>TAG_NAME</code>, <code>RELEASE_NAME</code>, and <code>WORKFLOW_NAME</code>. </p> <ul> <li> <p> EVENT </p> <ul> <li> <p> A webhook event triggers a build when the provided <code>pattern</code> matches one of nine event types: <code>PUSH</code>, <code>PULL_REQUEST_CREATED</code>, <code>PULL_REQUEST_UPDATED</code>, <code>PULL_REQUEST_CLOSED</code>, <code>PULL_REQUEST_REOPENED</code>, <code>PULL_REQUEST_MERGED</code>, <code>RELEASED</code>, <code>PRERELEASED</code>, and <code>WORKFLOW_JOB_QUEUED</code>. The <code>EVENT</code> patterns are specified as a comma-separated string. For example, <code>PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED</code> filters all push, pull request created, and pull request updated events. </p> <note> <p> Types <code>PULL_REQUEST_REOPENED</code> and <code>WORKFLOW_JOB_QUEUED</code> work with GitHub and GitHub Enterprise only. Types <code>RELEASED</code> and <code>PRERELEASED</code> work with GitHub only.</p> </note> </li> </ul> </li> <li> <p>ACTOR_ACCOUNT_ID</p> <ul> <li> <p> A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression <code>pattern</code>. </p> </li> </ul> </li> <li> <p>HEAD_REF</p> <ul> <li> <p> A webhook event triggers a build when the head reference matches the regular expression <code>pattern</code>. For example, <code>refs/heads/branch-name</code> and <code>refs/tags/tag-name</code>. </p> <note> <p> Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events.</p> </note> </li> </ul> </li> <li> <p>BASE_REF</p> <ul> <li> <p> A webhook event triggers a build when the base reference matches the regular expression <code>pattern</code>. For example, <code>refs/heads/branch-name</code>. </p> <note> <p> Works with pull request events only. </p> </note> </li> </ul> </li> <li> <p>FILE_PATH</p> <ul> <li> <p> A webhook triggers a build when the path of a changed file matches the regular expression <code>pattern</code>. </p> <note> <p> Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. </p> </note> </li> </ul> </li> <li> <p>COMMIT_MESSAGE</p> <ul> <li> <p>A webhook triggers a build when the head commit message matches the regular expression <code>pattern</code>.</p> <note> <p> Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. </p> </note> </li> </ul> </li> <li> <p>TAG_NAME</p> <ul> <li> <p>A webhook triggers a build when the tag name of the release matches the regular expression <code>pattern</code>.</p> <note> <p> Works with <code>RELEASED</code> and <code>PRERELEASED</code> events only. </p> </note> </li> </ul> </li> <li> <p>RELEASE_NAME</p> <ul> <li> <p>A webhook triggers a build when the release name matches the regular expression <code>pattern</code>.</p> <note> <p> Works with <code>RELEASED</code> and <code>PRERELEASED</code> events only. </p> </note> </li> </ul> </li> <li> <p>REPOSITORY_NAME</p> <ul> <li> <p>A webhook triggers a build when the repository name matches the regular expression pattern.</p> <note> <p> Works with GitHub global or organization webhooks only. </p> </note> </li> </ul> </li> <li> <p>WORKFLOW_NAME</p> <ul> <li> <p>A webhook triggers a build when the workflow name matches the regular expression <code>pattern</code>.</p> <note> <p> Works with <code>WORKFLOW_JOB_QUEUED</code> events only. </p> </note> <note> <p>For CodeBuild-hosted Buildkite runner builds, WORKFLOW_NAME filters will filter by pipeline name.</p> </note> </li> </ul> </li> </ul>"
21382138
}
21392139
},
21402140
"WebhookScopeType": {

apis/geo-routes/2020-11-19/api-2.json

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,11 @@
322322
},
323323
"sensitive":true
324324
},
325+
"ClusterIndex":{
326+
"type":"integer",
327+
"box":true,
328+
"min":0
329+
},
325330
"Corridor":{
326331
"type":"structure",
327332
"required":[
@@ -897,6 +902,7 @@
897902
"required":["Origin"],
898903
"members":{
899904
"Avoid":{"shape":"WaypointOptimizationAvoidanceOptions"},
905+
"Clustering":{"shape":"WaypointOptimizationClusteringOptions"},
900906
"DepartureTime":{"shape":"TimestampWithTimezoneOffset"},
901907
"Destination":{"shape":"Position"},
902908
"DestinationOptions":{"shape":"WaypointOptimizationDestinationOptions"},
@@ -1455,7 +1461,8 @@
14551461
"NoSchedule",
14561462
"Other",
14571463
"ViolatedAvoidFerry",
1458-
"ViolatedAvoidRailFerry"
1464+
"ViolatedAvoidRailFerry",
1465+
"SeasonalClosure"
14591466
]
14601467
},
14611468
"RouteFerryNoticeList":{
@@ -1645,7 +1652,8 @@
16451652
"Ferry",
16461653
"Pedestrian",
16471654
"Scooter",
1648-
"Truck"
1655+
"Truck",
1656+
"CarShuttleTrain"
16491657
]
16501658
},
16511659
"RouteLegType":{
@@ -3692,6 +3700,21 @@
36923700
"max":20,
36933701
"min":0
36943702
},
3703+
"WaypointOptimizationClusteringAlgorithm":{
3704+
"type":"string",
3705+
"enum":[
3706+
"DrivingDistance",
3707+
"TopologySegment"
3708+
]
3709+
},
3710+
"WaypointOptimizationClusteringOptions":{
3711+
"type":"structure",
3712+
"required":["Algorithm"],
3713+
"members":{
3714+
"Algorithm":{"shape":"WaypointOptimizationClusteringAlgorithm"},
3715+
"DrivingDistanceOptions":{"shape":"WaypointOptimizationDrivingDistanceOptions"}
3716+
}
3717+
},
36953718
"WaypointOptimizationConnection":{
36963719
"type":"structure",
36973720
"required":[
@@ -3745,6 +3768,13 @@
37453768
"TreatServiceTimeAs":{"shape":"WaypointOptimizationServiceTimeTreatment"}
37463769
}
37473770
},
3771+
"WaypointOptimizationDrivingDistanceOptions":{
3772+
"type":"structure",
3773+
"required":["DrivingDistance"],
3774+
"members":{
3775+
"DrivingDistance":{"shape":"DistanceMeters"}
3776+
}
3777+
},
37483778
"WaypointOptimizationExclusionOptions":{
37493779
"type":"structure",
37503780
"required":["Countries"],
@@ -3809,6 +3839,7 @@
38093839
],
38103840
"members":{
38113841
"ArrivalTime":{"shape":"TimestampWithTimezoneOffset"},
3842+
"ClusterIndex":{"shape":"ClusterIndex"},
38123843
"DepartureTime":{"shape":"TimestampWithTimezoneOffset"},
38133844
"Id":{"shape":"WaypointId"},
38143845
"Position":{"shape":"Position"}

0 commit comments

Comments
 (0)