Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update models without serviceid, add config to manifest #2732

Merged
merged 3 commits into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions build/build-manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,14 @@

$manifest[$identifier]['versions'][$metadata['apiVersion']]
= $metadata['apiVersion'];

$config = isset($metadata['serviceId'])
? str_replace(' ', '_', strtolower($metadata['serviceId']))
: '';

if (!empty($config)) {
$manifest[$identifier]['config'] = $config;
}
}

foreach ($manifest as $identifier => &$metadata) {
Expand Down
1 change: 1 addition & 0 deletions src/data/cloudsearchdomain/2013-01-01/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"jsonVersion":"1.1",
"protocol":"rest-json",
"serviceFullName":"Amazon CloudSearch Domain",
"serviceId":"CloudSearch Domain",
"signatureVersion":"v4",
"signingName":"cloudsearch",
"uid":"cloudsearchdomain-2013-01-01"
Expand Down
1 change: 1 addition & 0 deletions src/data/entitlement.marketplace/2017-01-11/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"jsonVersion":"1.1",
"protocol":"json",
"serviceFullName":"AWS Marketplace Entitlement Service",
"serviceId":"Marketplace Entitlement Service",
"signatureVersion":"v4",
"signingName":"aws-marketplace",
"targetPrefix":"AWSMPEntitlementService",
Expand Down
Loading