parent
af72a4507e
commit
eb6a2b8e9b
|
@ -1 +0,0 @@
|
|||
.env
|
31
README.md
31
README.md
|
@ -1,7 +1,7 @@
|
|||
# greenlock-storage-s3
|
||||
S3 backed storage strategy for greenlock-express.js (and greenlock.js)
|
||||
|
||||
### Requirements
|
||||
## Requirements
|
||||
|
||||
- AWS Account
|
||||
- S3 Bucket
|
||||
|
@ -9,33 +9,6 @@ S3 backed storage strategy for greenlock-express.js (and greenlock.js)
|
|||
|
||||
For more information see https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html
|
||||
|
||||
### Get started
|
||||
|
||||
Please look at the file `test.js` for an example.
|
||||
|
||||
#### Example using greenlock.
|
||||
|
||||
```nodejs
|
||||
|
||||
var store = require('greenlock-storage-s3').create({
|
||||
debug: false
|
||||
, accessKeyId: // fill-in
|
||||
, secretAccessKey: // fill-in
|
||||
, bucketName: // fill-in
|
||||
, bucketRegion: // fill-in
|
||||
, configDir: 'acme/' // recommended
|
||||
, accountDir: 'accounts/' // recommended
|
||||
})
|
||||
|
||||
var Greenlock = require("greenlock");
|
||||
|
||||
var greenlock = Greenlock.create({
|
||||
// Other options
|
||||
, store: store
|
||||
// Other options
|
||||
});
|
||||
```
|
||||
|
||||
### License
|
||||
## License
|
||||
|
||||
ISC
|
37
cleanup.js
37
cleanup.js
|
@ -1,37 +0,0 @@
|
|||
require('dotenv').config();
|
||||
|
||||
let accessKeyId = process.env.AWS_ACCESS_KEY_ID
|
||||
secretAccessKey = process.env.AWS_SECRET_ACCESS_KEY
|
||||
bucketName = process.env.AWS_BUCKET_NAME
|
||||
bucketRegion = process.env.AWS_BUCKET_REGION
|
||||
|
||||
var AWS = require('aws-sdk');
|
||||
AWS.config.setPromisesDependency(Promise);
|
||||
AWS.config.update({ region: bucketRegion, credentials: new AWS.Credentials({ accessKeyId: accessKeyId, secretAccessKey: secretAccessKey }) });
|
||||
const s3 = new AWS.S3({ apiVersion: '2006-03-01' });
|
||||
|
||||
s3.listObjects({ Bucket: bucketName }).promise().then(function(data){
|
||||
console.log("Retieved list of object keys");
|
||||
if (data.Contents.length <= 0) {
|
||||
console.log('The bucket is already empty :)');
|
||||
return
|
||||
}
|
||||
|
||||
var objectKeys = [];
|
||||
|
||||
for(let i = 0; i < data.Contents.length; i++){
|
||||
objectKeys.push({
|
||||
Key: data.Contents[i].Key
|
||||
})
|
||||
}
|
||||
|
||||
s3.deleteObjects({ Delete: { Objects: objectKeys }, Bucket: bucketName }).promise().then(function (data) {
|
||||
console.log("Clean up successful.");
|
||||
}).catch( function(err) {
|
||||
console.error(err.message);
|
||||
throw err;
|
||||
});
|
||||
}).catch( function(err) {
|
||||
console.error(err.message);
|
||||
throw err;
|
||||
});
|
235
index.js
235
index.js
|
@ -1,235 +0,0 @@
|
|||
const fileNames = {
|
||||
privkey: {
|
||||
pem: 'privkey.pem'
|
||||
, jwk: 'privkey.jwk'
|
||||
}
|
||||
, cert: 'cert.pem'
|
||||
, chain: 'chain.pem'
|
||||
, fullchain: 'fullchain.pem'
|
||||
, bundle: 'bundle.pem'
|
||||
}
|
||||
|
||||
var path = require('path');
|
||||
var Promise = require('bluebird')
|
||||
|
||||
const AWS = require('aws-sdk');
|
||||
AWS.config.setPromisesDependency(Promise);
|
||||
|
||||
const defaultOptions = {
|
||||
apiVersion: '2006-03-01'
|
||||
, accessKeyId: null
|
||||
, secretAccessKey: null
|
||||
, bucketName: null
|
||||
, bucketRegion: null
|
||||
, accountsDir: 'accounts/'
|
||||
, configDir: 'acme/'
|
||||
}
|
||||
|
||||
const s3 = new AWS.S3({ apiVersion: '2006-03-01' });
|
||||
|
||||
module.exports.create = function (createOptions) {
|
||||
|
||||
const options = Object.assign({}, defaultOptions, createOptions);
|
||||
|
||||
AWS.config.update({ region: options.bucketRegion, credentials: new AWS.Credentials({ accessKeyId: options.accessKeyId, secretAccessKey: options.secretAccessKey }) });
|
||||
|
||||
const handlers = {
|
||||
getOptions: () => options,
|
||||
|
||||
certificates: {
|
||||
check: (opts) => {
|
||||
|
||||
var id = opts.certificate && opts.certificate.id || opts.subject;
|
||||
console.log('certificates.check for', opts.subject);
|
||||
|
||||
var privkeyPath = certificatesPath(options, id, fileNames.privkey.pem);
|
||||
var certPath = certificatesPath(options, id, fileNames.cert);
|
||||
var chainPath = certificatesPath(options, id, fileNames.chain);
|
||||
|
||||
return Promise.all([
|
||||
s3.getObject({ Key: privkeyPath, Bucket: options.bucketName }).promise().then(function (data) {
|
||||
console.log('Successfully retrieved certificate privkey.pem');
|
||||
return data.Body.toString();
|
||||
}).catch(function (err) {
|
||||
console.error('There was an error retrieving your certificate privkey.pem:', err.message);
|
||||
throw err;
|
||||
}),
|
||||
s3.getObject({ Key: certPath, Bucket: options.bucketName }).promise().then(function (data) {
|
||||
console.log('Successfully retrieved certificate cert.pem');
|
||||
return data.Body.toString();
|
||||
}).catch(function (err) {
|
||||
console.error('There was an error retrieving your certificate cert.pem:', err.message);
|
||||
throw err;
|
||||
}),
|
||||
s3.getObject({ Key: chainPath, Bucket: options.bucketName }).promise().then(function (data) {
|
||||
console.log('Successfully retrieved certificate chain.pem');
|
||||
return data.Body.toString();
|
||||
}).catch(function (err) {
|
||||
console.error('There was an error retrieving your certificate chain.pem:', err.message);
|
||||
throw err;
|
||||
})
|
||||
]).then(function (values) {
|
||||
// console.log('Promise.all(values):', values);
|
||||
|
||||
return {
|
||||
privkey: values[0]
|
||||
, cert: values[1]
|
||||
, chain: values[2]
|
||||
}
|
||||
}).catch(function (err) {
|
||||
console.error('There was an error checking the ceritifcates:', err.message);
|
||||
return null;
|
||||
});
|
||||
},
|
||||
checkKeypair: (opts) => {
|
||||
console.log('certificates.checkKeypair for', opts.subject);
|
||||
|
||||
id = opts.certificate.kid || opts.certificate.id || opts.subject;
|
||||
|
||||
pemKeyPath = certificatesPath(options, id, fileNames.privkey.pem);
|
||||
jwkKeyPath = certificatesPath(options, id, fileNames.privkey.jwk);
|
||||
|
||||
return s3.getObject({ Key: pemKeyPath, Bucket: options.bucketName }).promise().then(function (data) {
|
||||
console.log('Successfully retrieved certificate PEM keypair.');
|
||||
return {
|
||||
privateKeyPem: data.Body.toString()
|
||||
}
|
||||
}).catch(function (err) {
|
||||
console.error('There was an error retrieving your certificate PEM keypair:', err.message);
|
||||
return null
|
||||
});
|
||||
|
||||
},
|
||||
setKeypair: (opts) => {
|
||||
id = opts.certificate.kid || opts.certificate.id || opts.subject;
|
||||
console.log('certificates.setKeypair for', id);
|
||||
|
||||
pemKeyPath = certificatesPath(options, id, fileNames.privkey.pem);
|
||||
jwkKeyPath = certificatesPath(options, id, fileNames.privkey.jwk);
|
||||
|
||||
return s3.putObject({ Key: pemKeyPath, Body: opts.keypair.privateKeyPem, Bucket: options.bucketName }).promise().then(function (data) {
|
||||
console.log('Successfully set the PEM privateKey.');
|
||||
return null;
|
||||
}).catch(function (err) {
|
||||
console.error('There was an error setting your PEM privateKey:', err.message);
|
||||
throw err;
|
||||
});
|
||||
},
|
||||
set: (opts) => {
|
||||
console.log('certificates.set for ', opts.subject);
|
||||
|
||||
var pems = {
|
||||
cert: opts.pems.cert
|
||||
, chain: opts.pems.chain
|
||||
, privkey: opts.pems.privkey
|
||||
}
|
||||
|
||||
var certPath = certificatesPath(options, opts.subject, fileNames.cert);
|
||||
var chainPath = certificatesPath(options, opts.subject, fileNames.chain);
|
||||
var fullchainPath = certificatesPath(options, opts.subject, fileNames.fullchain);
|
||||
var bundlePath = certificatesPath(options, opts.subject, fileNames.bundle);
|
||||
|
||||
var fullchainPem = [pems.cert, pems.chain].join('\n'); // for Apache, Nginx, etc
|
||||
var bundlePem = [pems.privkey, pems.cert, pems.chain].join('\n'); // for HAProxy
|
||||
|
||||
return Promise.all([
|
||||
s3.putObject({ Key: certPath, Body: pems.cert, Bucket: options.bucketName }).promise().then(function (data) {
|
||||
console.log('Successfully set', certPath);
|
||||
}).catch(function (err) {
|
||||
console.error('There was an error setting cert.pem:', err.message);
|
||||
throw err;
|
||||
}),
|
||||
s3.putObject({ Key: chainPath, Body: pems.chain, Bucket: options.bucketName }).promise().then(function (data) {
|
||||
console.log('Successfully set', chainPath);
|
||||
}).catch(function (err) {
|
||||
console.error('There was an error setting chain.pem:', err.message);
|
||||
throw err;
|
||||
}),
|
||||
s3.putObject({ Key: fullchainPath, Body: fullchainPem, Bucket: options.bucketName }).promise().then(function (data) {
|
||||
console.log('Successfully set', fullchainPath);
|
||||
}).catch(function (err) {
|
||||
console.error('There was an error setting fullchain.pem:', err.message);
|
||||
throw err;
|
||||
}),
|
||||
s3.putObject({ Key: bundlePath, Body: bundlePem, Bucket: options.bucketName }).promise().then(function (data) {
|
||||
console.log('Successfully set', bundlePath);
|
||||
}).catch(function (err) {
|
||||
console.error('There was an error setting bundle.pem:', err.message);
|
||||
throw err;
|
||||
})
|
||||
]).then(function (values) {
|
||||
return null;
|
||||
}).catch(function(err) {
|
||||
console.error('There was an error setting the certificates:', err.message);
|
||||
throw err;
|
||||
});
|
||||
}
|
||||
},
|
||||
accounts: {
|
||||
check: (opts) => {
|
||||
console.log("accounts.check", opts.account.id);
|
||||
// console.log(opts);
|
||||
},
|
||||
checkKeypair: (opts) => {
|
||||
var id = opts.account.id || opts.email || 'single-user';
|
||||
console.log('accounts.checkKeypair for', id);
|
||||
|
||||
key = accountsPath(options, id)
|
||||
|
||||
return s3.getObject({ Key: key, Bucket: options.bucketName }).promise().then(function (data) {
|
||||
console.log('Successfully retrieved account keypair.');
|
||||
var keypair = JSON.parse(data.Body.toString());
|
||||
return {
|
||||
privateKeyPem: keypair.privateKeyPem // string PEM private key
|
||||
, privateKeyJwk: keypair.privateKeyJwk // object JWK private key
|
||||
};
|
||||
}).catch(function (err) {
|
||||
console.error('There was an error retrieving your account keypair:', err.message);
|
||||
return null;
|
||||
});
|
||||
|
||||
},
|
||||
setKeypair: (opts) => {
|
||||
console.log('accounts.setKeypair for', opts.account);
|
||||
|
||||
var id = opts.account.id || opts.email || 'single-user';
|
||||
key = accountsPath(options, id)
|
||||
|
||||
var body = JSON.stringify({
|
||||
privateKeyPem: opts.keypair.privateKeyPem // string PEM
|
||||
, privateKeyJwk: opts.keypair.privateKeyJwk // object JWK
|
||||
});
|
||||
|
||||
return s3.putObject({ Key: key, Body: body, Bucket: options.bucketName }).promise().then(function (data) {
|
||||
console.log('Successfully created account keypair.');
|
||||
return null;
|
||||
}).catch(function (err) {
|
||||
console.error('There was an error creating account keypair:', err.message);
|
||||
return null;
|
||||
});
|
||||
|
||||
},
|
||||
set: (opts) => {
|
||||
console.log("accounts.set");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return handlers;
|
||||
}
|
||||
|
||||
function certificatesPath(options, id, fileName) {
|
||||
var filePath = path.join(options.configDir, 'live', tameWild(id), fileName);
|
||||
console.log('filePath:', filePath);
|
||||
return filePath;
|
||||
}
|
||||
|
||||
function accountsPath(options, id) {
|
||||
var filePath = path.join(options.configDir, options.accountsDir, tameWild(id) + '.json');
|
||||
console.log('filePath:', filePath);
|
||||
return filePath;
|
||||
}
|
||||
|
||||
function tameWild(wild) {
|
||||
return wild.replace(/\*/g, '_');
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
../uuid/bin/uuid
|
|
@ -1,3 +0,0 @@
|
|||
dist/*
|
||||
test/browser/**/*
|
||||
test/configuration.js
|
File diff suppressed because it is too large
Load Diff
|
@ -1,202 +0,0 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
|
@ -1,5 +0,0 @@
|
|||
AWS SDK for JavaScript
|
||||
Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
|
||||
This product includes software developed at
|
||||
Amazon Web Services, Inc. (http://aws.amazon.com/).
|
|
@ -1,180 +0,0 @@
|
|||
# AWS SDK for JavaScript
|
||||
|
||||
[![NPM](https://nodei.co/npm/aws-sdk.svg?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/aws-sdk/)
|
||||
|
||||
[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.svg)](https://gitter.im/aws/aws-sdk-js)
|
||||
|
||||
[![Version](https://badge.fury.io/js/aws-sdk.svg)](http://badge.fury.io/js/aws-sdk) [![Build Status](https://travis-ci.org/aws/aws-sdk-js.svg?branch=master)](https://travis-ci.org/aws/aws-sdk-js) [![Coverage Status](https://coveralls.io/repos/aws/aws-sdk-js/badge.svg?branch=master)](https://coveralls.io/r/aws/aws-sdk-js?branch=master)
|
||||
|
||||
The official AWS SDK for JavaScript, available for browsers and mobile devices,
|
||||
or Node.js backends
|
||||
|
||||
For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md). Prior to v2.4.8, release notes can be found at https://aws.amazon.com/releasenotes/?tag=releasenotes%23keywords%23javascript
|
||||
|
||||
If you are upgrading from 1.x to 2.0 of the SDK, please see the
|
||||
[upgrading notes](https://github.com/aws/aws-sdk-js/blob/master/UPGRADING.md)
|
||||
for information on how to migrate existing code to work with the new major
|
||||
version.
|
||||
|
||||
## Installing
|
||||
|
||||
### In the Browser
|
||||
|
||||
To use the SDK in the browser, simply add the following script tag to your
|
||||
HTML pages:
|
||||
|
||||
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.451.0.min.js"></script>
|
||||
|
||||
You can also build a custom browser SDK with your specified set of AWS services.
|
||||
This can allow you to reduce the SDK's size, specify different API versions of
|
||||
services, or use AWS services that don't currently support CORS if you are
|
||||
working in an environment that does not enforce CORS. To get started:
|
||||
|
||||
http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/building-sdk-for-browsers.html
|
||||
|
||||
The AWS SDK is also compatible with [browserify](http://browserify.org).
|
||||
|
||||
For browser-based web, mobile and hybrid apps, you can use [AWS Amplify Library](https://aws.github.io/aws-amplify/?utm_source=aws-js-sdk&utm_campaign=browser) which extends the AWS SDK and provides an easier and declarative interface.
|
||||
|
||||
### In Node.js
|
||||
|
||||
The preferred way to install the AWS SDK for Node.js is to use the
|
||||
[npm](http://npmjs.org) package manager for Node.js. Simply type the following
|
||||
into a terminal window:
|
||||
|
||||
```sh
|
||||
npm install aws-sdk
|
||||
```
|
||||
|
||||
### In React Native
|
||||
To use the SDK in a react native project, first install the SDK using npm:
|
||||
|
||||
```sh
|
||||
npm install aws-sdk
|
||||
```
|
||||
|
||||
Then within your application, you can reference the react native compatible version of the SDK with the following:
|
||||
|
||||
```javascript
|
||||
var AWS = require('aws-sdk/dist/aws-sdk-react-native');
|
||||
```
|
||||
|
||||
Alternatively, you can use [AWS Amplify Library](https://aws.github.io/aws-amplify/media/react_native_guide?utm_source=aws-js-sdk&utm_campaign=react-native) which extends AWS SDK and provides React Native UI components and CLI support to work with AWS services.
|
||||
|
||||
### Using Bower
|
||||
|
||||
You can also use [Bower](http://bower.io) to install the SDK by typing the
|
||||
following into a terminal window:
|
||||
|
||||
```sh
|
||||
bower install aws-sdk-js
|
||||
```
|
||||
|
||||
## Usage and Getting Started
|
||||
|
||||
You can find a getting started guide at:
|
||||
|
||||
http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide
|
||||
|
||||
## Usage with TypeScript
|
||||
The AWS SDK for JavaScript bundles TypeScript definition files for use in TypeScript projects and to support tools that can read `.d.ts` files.
|
||||
Our goal is to keep these TypeScript definition files updated with each release for any public api.
|
||||
|
||||
### Pre-requisites
|
||||
Before you can begin using these TypeScript definitions with your project, you need to make sure your project meets a few of these requirements:
|
||||
|
||||
* Use TypeScript v2.x
|
||||
* Includes the TypeScript definitions for node. You can use npm to install this by typing the following into a terminal window:
|
||||
|
||||
```sh
|
||||
npm install --save-dev @types/node
|
||||
```
|
||||
|
||||
* If you are targeting at es5 or older ECMA standards, your `tsconfig.json` has to include `'es5'` and `'es2015.promise'` under `compilerOptions.lib`.
|
||||
See [tsconfig.json](https://github.com/aws/aws-sdk-js/blob/master/ts/tsconfig.json) for an example.
|
||||
|
||||
### In the Browser
|
||||
To use the TypeScript definition files with the global `AWS` object in a front-end project, add the following line to the top of your JavaScript file:
|
||||
|
||||
```javascript
|
||||
/// <reference types="aws-sdk" />
|
||||
```
|
||||
|
||||
This will provide support for the global `AWS` object.
|
||||
|
||||
### In Node.js
|
||||
To use the TypeScript definition files within a Node.js project, simply import `aws-sdk` as you normally would.
|
||||
|
||||
In a TypeScript file:
|
||||
|
||||
```javascript
|
||||
// import entire SDK
|
||||
import AWS from 'aws-sdk';
|
||||
// import AWS object without services
|
||||
import AWS from 'aws-sdk/global';
|
||||
// import individual service
|
||||
import S3 from 'aws-sdk/clients/s3';
|
||||
```
|
||||
|
||||
In a JavaScript file:
|
||||
|
||||
```javascript
|
||||
// import entire SDK
|
||||
var AWS = require('aws-sdk');
|
||||
// import AWS object without services
|
||||
var AWS = require('aws-sdk/global');
|
||||
// import individual service
|
||||
var S3 = require('aws-sdk/clients/s3');
|
||||
```
|
||||
|
||||
### With React
|
||||
|
||||
To create React applications with AWS SDK, you can use [AWS Amplify Library](https://aws.github.io/aws-amplify/media/react_guide?utm_source=aws-js-sdk&utm_campaign=react) which provides React components and CLI support to work with AWS services.
|
||||
|
||||
### With Angular
|
||||
Due to the SDK's reliance on node.js typings, you may encounter compilation
|
||||
[issues](https://github.com/aws/aws-sdk-js/issues/1271) when using the
|
||||
typings provided by the SDK in an Angular project created using the Angular CLI.
|
||||
|
||||
To resolve these issues, either add `"types": ["node"]` to the project's `tsconfig.app.json`
|
||||
file, or remove the `"types"` field entirely.
|
||||
|
||||
[AWS Amplify Library](https://aws.github.io/aws-amplify/media/angular_guide?utm_source=aws-js-sdk&utm_campaign=angular) provides Angular components and CLI support to work with AWS services.
|
||||
|
||||
### Known Limitations
|
||||
There are a few known limitations with the bundled TypeScript definitions at this time:
|
||||
|
||||
* Service client typings reflect the latest `apiVersion`, regardless of which `apiVersion` is specified when creating a client.
|
||||
* Service-bound parameters use the `any` type.
|
||||
|
||||
## Getting Help
|
||||
Please use these community resources for getting help. We use the GitHub issues for tracking bugs and feature requests and have limited bandwidth to address them.
|
||||
|
||||
* Ask a question on [StackOverflow](https://stackoverflow.com/) and tag it with `aws-sdk-js`
|
||||
* Come join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js?source=orgpage)
|
||||
* Open a support ticket with [AWS Support](https://console.aws.amazon.com/support/home#/)
|
||||
* If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js/issues/new)
|
||||
|
||||
## Opening Issues
|
||||
If you encounter a bug with the AWS SDK for JavaScript we would like to hear
|
||||
about it. Search the [existing issues](https://github.com/aws/aws-sdk-js/issues)
|
||||
and try to make sure your problem doesn’t already exist before opening a new
|
||||
issue. It’s helpful if you include the version of the SDK, Node.js or browser
|
||||
environment and OS you’re using. Please include a stack trace and reduced repro
|
||||
case when appropriate, too.
|
||||
|
||||
The GitHub issues are intended for bug reports and feature requests. For help
|
||||
and questions with using the AWS SDK for JavaScript please make use of the
|
||||
resources listed in the [Getting Help](https://github.com/aws/aws-sdk-js#getting-help)
|
||||
section. There are limited resources available for handling issues and by
|
||||
keeping the list of open issues lean we can respond in a timely manner.
|
||||
|
||||
## Supported Services
|
||||
|
||||
Please see [SERVICES.md](https://github.com/aws/aws-sdk-js/blob/master/SERVICES.md) for a list of supported services.
|
||||
|
||||
## License
|
||||
|
||||
This SDK is distributed under the
|
||||
[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),
|
||||
see LICENSE.txt and NOTICE.txt for more information.
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
|
@ -1,466 +0,0 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"metadata": {
|
||||
"apiVersion": "2017-05-31",
|
||||
"endpointPrefix": "mgh",
|
||||
"jsonVersion": "1.1",
|
||||
"protocol": "json",
|
||||
"serviceFullName": "AWS Migration Hub",
|
||||
"serviceId": "Migration Hub",
|
||||
"signatureVersion": "v4",
|
||||
"targetPrefix": "AWSMigrationHub",
|
||||
"uid": "AWSMigrationHub-2017-05-31"
|
||||
},
|
||||
"operations": {
|
||||
"AssociateCreatedArtifact": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ProgressUpdateStream",
|
||||
"MigrationTaskName",
|
||||
"CreatedArtifact"
|
||||
],
|
||||
"members": {
|
||||
"ProgressUpdateStream": {},
|
||||
"MigrationTaskName": {},
|
||||
"CreatedArtifact": {
|
||||
"shape": "S4"
|
||||
},
|
||||
"DryRun": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"AssociateDiscoveredResource": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ProgressUpdateStream",
|
||||
"MigrationTaskName",
|
||||
"DiscoveredResource"
|
||||
],
|
||||
"members": {
|
||||
"ProgressUpdateStream": {},
|
||||
"MigrationTaskName": {},
|
||||
"DiscoveredResource": {
|
||||
"shape": "Sa"
|
||||
},
|
||||
"DryRun": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"CreateProgressUpdateStream": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ProgressUpdateStreamName"
|
||||
],
|
||||
"members": {
|
||||
"ProgressUpdateStreamName": {},
|
||||
"DryRun": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"DeleteProgressUpdateStream": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ProgressUpdateStreamName"
|
||||
],
|
||||
"members": {
|
||||
"ProgressUpdateStreamName": {},
|
||||
"DryRun": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"DescribeApplicationState": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ApplicationId"
|
||||
],
|
||||
"members": {
|
||||
"ApplicationId": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"ApplicationStatus": {},
|
||||
"LastUpdatedTime": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DescribeMigrationTask": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ProgressUpdateStream",
|
||||
"MigrationTaskName"
|
||||
],
|
||||
"members": {
|
||||
"ProgressUpdateStream": {},
|
||||
"MigrationTaskName": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"MigrationTask": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"ProgressUpdateStream": {},
|
||||
"MigrationTaskName": {},
|
||||
"Task": {
|
||||
"shape": "Sq"
|
||||
},
|
||||
"UpdateDateTime": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"ResourceAttributeList": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"shape": "Sv"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DisassociateCreatedArtifact": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ProgressUpdateStream",
|
||||
"MigrationTaskName",
|
||||
"CreatedArtifactName"
|
||||
],
|
||||
"members": {
|
||||
"ProgressUpdateStream": {},
|
||||
"MigrationTaskName": {},
|
||||
"CreatedArtifactName": {},
|
||||
"DryRun": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"DisassociateDiscoveredResource": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ProgressUpdateStream",
|
||||
"MigrationTaskName",
|
||||
"ConfigurationId"
|
||||
],
|
||||
"members": {
|
||||
"ProgressUpdateStream": {},
|
||||
"MigrationTaskName": {},
|
||||
"ConfigurationId": {},
|
||||
"DryRun": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"ImportMigrationTask": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ProgressUpdateStream",
|
||||
"MigrationTaskName"
|
||||
],
|
||||
"members": {
|
||||
"ProgressUpdateStream": {},
|
||||
"MigrationTaskName": {},
|
||||
"DryRun": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"ListCreatedArtifacts": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ProgressUpdateStream",
|
||||
"MigrationTaskName"
|
||||
],
|
||||
"members": {
|
||||
"ProgressUpdateStream": {},
|
||||
"MigrationTaskName": {},
|
||||
"NextToken": {},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"NextToken": {},
|
||||
"CreatedArtifactList": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"shape": "S4"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListDiscoveredResources": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ProgressUpdateStream",
|
||||
"MigrationTaskName"
|
||||
],
|
||||
"members": {
|
||||
"ProgressUpdateStream": {},
|
||||
"MigrationTaskName": {},
|
||||
"NextToken": {},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"NextToken": {},
|
||||
"DiscoveredResourceList": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"shape": "Sa"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListMigrationTasks": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"NextToken": {},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
},
|
||||
"ResourceName": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"NextToken": {},
|
||||
"MigrationTaskSummaryList": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"ProgressUpdateStream": {},
|
||||
"MigrationTaskName": {},
|
||||
"Status": {},
|
||||
"ProgressPercent": {
|
||||
"type": "integer"
|
||||
},
|
||||
"StatusDetail": {},
|
||||
"UpdateDateTime": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListProgressUpdateStreams": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"NextToken": {},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"ProgressUpdateStreamSummaryList": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"ProgressUpdateStreamName": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"NotifyApplicationState": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ApplicationId",
|
||||
"Status"
|
||||
],
|
||||
"members": {
|
||||
"ApplicationId": {},
|
||||
"Status": {},
|
||||
"DryRun": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"NotifyMigrationTaskState": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ProgressUpdateStream",
|
||||
"MigrationTaskName",
|
||||
"Task",
|
||||
"UpdateDateTime",
|
||||
"NextUpdateSeconds"
|
||||
],
|
||||
"members": {
|
||||
"ProgressUpdateStream": {},
|
||||
"MigrationTaskName": {},
|
||||
"Task": {
|
||||
"shape": "Sq"
|
||||
},
|
||||
"UpdateDateTime": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"NextUpdateSeconds": {
|
||||
"type": "integer"
|
||||
},
|
||||
"DryRun": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"PutResourceAttributes": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ProgressUpdateStream",
|
||||
"MigrationTaskName",
|
||||
"ResourceAttributeList"
|
||||
],
|
||||
"members": {
|
||||
"ProgressUpdateStream": {},
|
||||
"MigrationTaskName": {},
|
||||
"ResourceAttributeList": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"shape": "Sv"
|
||||
}
|
||||
},
|
||||
"DryRun": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"shapes": {
|
||||
"S4": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Name"
|
||||
],
|
||||
"members": {
|
||||
"Name": {},
|
||||
"Description": {}
|
||||
}
|
||||
},
|
||||
"Sa": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ConfigurationId"
|
||||
],
|
||||
"members": {
|
||||
"ConfigurationId": {},
|
||||
"Description": {}
|
||||
}
|
||||
},
|
||||
"Sq": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Status"
|
||||
],
|
||||
"members": {
|
||||
"Status": {},
|
||||
"StatusDetail": {},
|
||||
"ProgressPercent": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Sv": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Type",
|
||||
"Value"
|
||||
],
|
||||
"members": {
|
||||
"Type": {},
|
||||
"Value": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
|
@ -1,438 +0,0 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"metadata": {
|
||||
"apiVersion": "2015-12-08",
|
||||
"endpointPrefix": "acm",
|
||||
"jsonVersion": "1.1",
|
||||
"protocol": "json",
|
||||
"serviceAbbreviation": "ACM",
|
||||
"serviceFullName": "AWS Certificate Manager",
|
||||
"serviceId": "ACM",
|
||||
"signatureVersion": "v4",
|
||||
"targetPrefix": "CertificateManager",
|
||||
"uid": "acm-2015-12-08"
|
||||
},
|
||||
"operations": {
|
||||
"AddTagsToCertificate": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateArn",
|
||||
"Tags"
|
||||
],
|
||||
"members": {
|
||||
"CertificateArn": {},
|
||||
"Tags": {
|
||||
"shape": "S3"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DeleteCertificate": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateArn"
|
||||
],
|
||||
"members": {
|
||||
"CertificateArn": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DescribeCertificate": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateArn"
|
||||
],
|
||||
"members": {
|
||||
"CertificateArn": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Certificate": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"CertificateArn": {},
|
||||
"DomainName": {},
|
||||
"SubjectAlternativeNames": {
|
||||
"shape": "Sc"
|
||||
},
|
||||
"DomainValidationOptions": {
|
||||
"shape": "Sd"
|
||||
},
|
||||
"Serial": {},
|
||||
"Subject": {},
|
||||
"Issuer": {},
|
||||
"CreatedAt": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"IssuedAt": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"ImportedAt": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"Status": {},
|
||||
"RevokedAt": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"RevocationReason": {},
|
||||
"NotBefore": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"NotAfter": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"KeyAlgorithm": {},
|
||||
"SignatureAlgorithm": {},
|
||||
"InUseBy": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
},
|
||||
"FailureReason": {},
|
||||
"Type": {},
|
||||
"RenewalSummary": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"RenewalStatus",
|
||||
"DomainValidationOptions",
|
||||
"UpdatedAt"
|
||||
],
|
||||
"members": {
|
||||
"RenewalStatus": {},
|
||||
"DomainValidationOptions": {
|
||||
"shape": "Sd"
|
||||
},
|
||||
"RenewalStatusReason": {},
|
||||
"UpdatedAt": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
}
|
||||
},
|
||||
"KeyUsages": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Name": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ExtendedKeyUsages": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Name": {},
|
||||
"OID": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"CertificateAuthorityArn": {},
|
||||
"RenewalEligibility": {},
|
||||
"Options": {
|
||||
"shape": "S11"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ExportCertificate": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateArn",
|
||||
"Passphrase"
|
||||
],
|
||||
"members": {
|
||||
"CertificateArn": {},
|
||||
"Passphrase": {
|
||||
"type": "blob",
|
||||
"sensitive": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Certificate": {},
|
||||
"CertificateChain": {},
|
||||
"PrivateKey": {
|
||||
"type": "string",
|
||||
"sensitive": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetCertificate": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateArn"
|
||||
],
|
||||
"members": {
|
||||
"CertificateArn": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Certificate": {},
|
||||
"CertificateChain": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ImportCertificate": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Certificate",
|
||||
"PrivateKey"
|
||||
],
|
||||
"members": {
|
||||
"CertificateArn": {},
|
||||
"Certificate": {
|
||||
"type": "blob"
|
||||
},
|
||||
"PrivateKey": {
|
||||
"type": "blob",
|
||||
"sensitive": true
|
||||
},
|
||||
"CertificateChain": {
|
||||
"type": "blob"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"CertificateArn": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListCertificates": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"CertificateStatuses": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
},
|
||||
"Includes": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"extendedKeyUsage": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
},
|
||||
"keyUsage": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
},
|
||||
"keyTypes": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"NextToken": {},
|
||||
"MaxItems": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"NextToken": {},
|
||||
"CertificateSummaryList": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"CertificateArn": {},
|
||||
"DomainName": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListTagsForCertificate": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateArn"
|
||||
],
|
||||
"members": {
|
||||
"CertificateArn": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Tags": {
|
||||
"shape": "S3"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"RemoveTagsFromCertificate": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateArn",
|
||||
"Tags"
|
||||
],
|
||||
"members": {
|
||||
"CertificateArn": {},
|
||||
"Tags": {
|
||||
"shape": "S3"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"RenewCertificate": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateArn"
|
||||
],
|
||||
"members": {
|
||||
"CertificateArn": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"RequestCertificate": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"DomainName"
|
||||
],
|
||||
"members": {
|
||||
"DomainName": {},
|
||||
"ValidationMethod": {},
|
||||
"SubjectAlternativeNames": {
|
||||
"shape": "Sc"
|
||||
},
|
||||
"IdempotencyToken": {},
|
||||
"DomainValidationOptions": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"DomainName",
|
||||
"ValidationDomain"
|
||||
],
|
||||
"members": {
|
||||
"DomainName": {},
|
||||
"ValidationDomain": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Options": {
|
||||
"shape": "S11"
|
||||
},
|
||||
"CertificateAuthorityArn": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"CertificateArn": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ResendValidationEmail": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateArn",
|
||||
"Domain",
|
||||
"ValidationDomain"
|
||||
],
|
||||
"members": {
|
||||
"CertificateArn": {},
|
||||
"Domain": {},
|
||||
"ValidationDomain": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"UpdateCertificateOptions": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateArn",
|
||||
"Options"
|
||||
],
|
||||
"members": {
|
||||
"CertificateArn": {},
|
||||
"Options": {
|
||||
"shape": "S11"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"shapes": {
|
||||
"S3": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Key"
|
||||
],
|
||||
"members": {
|
||||
"Key": {},
|
||||
"Value": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Sc": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
},
|
||||
"Sd": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"DomainName"
|
||||
],
|
||||
"members": {
|
||||
"DomainName": {},
|
||||
"ValidationEmails": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
},
|
||||
"ValidationDomain": {},
|
||||
"ValidationStatus": {},
|
||||
"ResourceRecord": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Name",
|
||||
"Type",
|
||||
"Value"
|
||||
],
|
||||
"members": {
|
||||
"Name": {},
|
||||
"Type": {},
|
||||
"Value": {}
|
||||
}
|
||||
},
|
||||
"ValidationMethod": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"S11": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"CertificateTransparencyLoggingPreference": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"ListCertificates": {
|
||||
"input_token": "NextToken",
|
||||
"limit_key": "MaxItems",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "CertificateSummaryList"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,35 +0,0 @@
|
|||
{
|
||||
"version": 2,
|
||||
"waiters": {
|
||||
"CertificateValidated": {
|
||||
"delay": 60,
|
||||
"maxAttempts": 40,
|
||||
"operation": "DescribeCertificate",
|
||||
"acceptors": [
|
||||
{
|
||||
"matcher": "pathAll",
|
||||
"expected": "SUCCESS",
|
||||
"argument": "Certificate.DomainValidationOptions[].ValidationStatus",
|
||||
"state": "success"
|
||||
},
|
||||
{
|
||||
"matcher": "pathAny",
|
||||
"expected": "PENDING_VALIDATION",
|
||||
"argument": "Certificate.DomainValidationOptions[].ValidationStatus",
|
||||
"state": "retry"
|
||||
},
|
||||
{
|
||||
"matcher": "path",
|
||||
"expected": "FAILED",
|
||||
"argument": "Certificate.Status",
|
||||
"state": "failure"
|
||||
},
|
||||
{
|
||||
"matcher": "error",
|
||||
"expected": "ResourceNotFoundException",
|
||||
"state": "failure"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
|
@ -1,530 +0,0 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"metadata": {
|
||||
"apiVersion": "2017-08-22",
|
||||
"endpointPrefix": "acm-pca",
|
||||
"jsonVersion": "1.1",
|
||||
"protocol": "json",
|
||||
"serviceAbbreviation": "ACM-PCA",
|
||||
"serviceFullName": "AWS Certificate Manager Private Certificate Authority",
|
||||
"serviceId": "ACM PCA",
|
||||
"signatureVersion": "v4",
|
||||
"targetPrefix": "ACMPrivateCA",
|
||||
"uid": "acm-pca-2017-08-22"
|
||||
},
|
||||
"operations": {
|
||||
"CreateCertificateAuthority": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityConfiguration",
|
||||
"CertificateAuthorityType"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityConfiguration": {
|
||||
"shape": "S2"
|
||||
},
|
||||
"RevocationConfiguration": {
|
||||
"shape": "Se"
|
||||
},
|
||||
"CertificateAuthorityType": {},
|
||||
"IdempotencyToken": {},
|
||||
"Tags": {
|
||||
"shape": "Sm"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {}
|
||||
}
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"CreateCertificateAuthorityAuditReport": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityArn",
|
||||
"S3BucketName",
|
||||
"AuditReportResponseFormat"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {},
|
||||
"S3BucketName": {},
|
||||
"AuditReportResponseFormat": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"AuditReportId": {},
|
||||
"S3Key": {}
|
||||
}
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"CreatePermission": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityArn",
|
||||
"Principal",
|
||||
"Actions"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {},
|
||||
"Principal": {},
|
||||
"SourceAccount": {},
|
||||
"Actions": {
|
||||
"shape": "S10"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DeleteCertificateAuthority": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityArn"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {},
|
||||
"PermanentDeletionTimeInDays": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DeletePermission": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityArn",
|
||||
"Principal"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {},
|
||||
"Principal": {},
|
||||
"SourceAccount": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DescribeCertificateAuthority": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityArn"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"CertificateAuthority": {
|
||||
"shape": "S17"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DescribeCertificateAuthorityAuditReport": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityArn",
|
||||
"AuditReportId"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {},
|
||||
"AuditReportId": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"AuditReportStatus": {},
|
||||
"S3BucketName": {},
|
||||
"S3Key": {},
|
||||
"CreatedAt": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetCertificate": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityArn",
|
||||
"CertificateArn"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {},
|
||||
"CertificateArn": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Certificate": {},
|
||||
"CertificateChain": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetCertificateAuthorityCertificate": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityArn"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Certificate": {},
|
||||
"CertificateChain": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetCertificateAuthorityCsr": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityArn"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Csr": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ImportCertificateAuthorityCertificate": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityArn",
|
||||
"Certificate",
|
||||
"CertificateChain"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {},
|
||||
"Certificate": {
|
||||
"type": "blob"
|
||||
},
|
||||
"CertificateChain": {
|
||||
"type": "blob"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"IssueCertificate": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityArn",
|
||||
"Csr",
|
||||
"SigningAlgorithm",
|
||||
"Validity"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {},
|
||||
"Csr": {
|
||||
"type": "blob"
|
||||
},
|
||||
"SigningAlgorithm": {},
|
||||
"Validity": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Value",
|
||||
"Type"
|
||||
],
|
||||
"members": {
|
||||
"Value": {
|
||||
"type": "long"
|
||||
},
|
||||
"Type": {}
|
||||
}
|
||||
},
|
||||
"IdempotencyToken": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"CertificateArn": {}
|
||||
}
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"ListCertificateAuthorities": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"NextToken": {},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"CertificateAuthorities": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"shape": "S17"
|
||||
}
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListPermissions": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityArn"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {},
|
||||
"NextToken": {},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Permissions": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {},
|
||||
"CreatedAt": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"Principal": {},
|
||||
"SourceAccount": {},
|
||||
"Actions": {
|
||||
"shape": "S10"
|
||||
},
|
||||
"Policy": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListTags": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityArn"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {},
|
||||
"NextToken": {},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Tags": {
|
||||
"shape": "Sm"
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"RestoreCertificateAuthority": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityArn"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"RevokeCertificate": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityArn",
|
||||
"CertificateSerial",
|
||||
"RevocationReason"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {},
|
||||
"CertificateSerial": {},
|
||||
"RevocationReason": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"TagCertificateAuthority": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityArn",
|
||||
"Tags"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {},
|
||||
"Tags": {
|
||||
"shape": "Sm"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"UntagCertificateAuthority": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityArn",
|
||||
"Tags"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {},
|
||||
"Tags": {
|
||||
"shape": "Sm"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"UpdateCertificateAuthority": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CertificateAuthorityArn"
|
||||
],
|
||||
"members": {
|
||||
"CertificateAuthorityArn": {},
|
||||
"RevocationConfiguration": {
|
||||
"shape": "Se"
|
||||
},
|
||||
"Status": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"shapes": {
|
||||
"S2": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"KeyAlgorithm",
|
||||
"SigningAlgorithm",
|
||||
"Subject"
|
||||
],
|
||||
"members": {
|
||||
"KeyAlgorithm": {},
|
||||
"SigningAlgorithm": {},
|
||||
"Subject": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Country": {},
|
||||
"Organization": {},
|
||||
"OrganizationalUnit": {},
|
||||
"DistinguishedNameQualifier": {},
|
||||
"State": {},
|
||||
"CommonName": {},
|
||||
"SerialNumber": {},
|
||||
"Locality": {},
|
||||
"Title": {},
|
||||
"Surname": {},
|
||||
"GivenName": {},
|
||||
"Initials": {},
|
||||
"Pseudonym": {},
|
||||
"GenerationQualifier": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Se": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"CrlConfiguration": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Enabled"
|
||||
],
|
||||
"members": {
|
||||
"Enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"ExpirationInDays": {
|
||||
"type": "integer"
|
||||
},
|
||||
"CustomCname": {},
|
||||
"S3BucketName": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Sm": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Key"
|
||||
],
|
||||
"members": {
|
||||
"Key": {},
|
||||
"Value": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"S10": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
},
|
||||
"S17": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Arn": {},
|
||||
"CreatedAt": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"LastStateChangeAt": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"Type": {},
|
||||
"Serial": {},
|
||||
"Status": {},
|
||||
"NotBefore": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"NotAfter": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"FailureReason": {},
|
||||
"CertificateAuthorityConfiguration": {
|
||||
"shape": "S2"
|
||||
},
|
||||
"RevocationConfiguration": {
|
||||
"shape": "Se"
|
||||
},
|
||||
"RestorableUntil": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"ListCertificateAuthorities": {
|
||||
"input_token": "NextToken",
|
||||
"limit_key": "MaxResults",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "CertificateAuthorities"
|
||||
},
|
||||
"ListPermissions": {
|
||||
"input_token": "NextToken",
|
||||
"limit_key": "MaxResults",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "Permissions"
|
||||
},
|
||||
"ListTags": {
|
||||
"input_token": "NextToken",
|
||||
"limit_key": "MaxResults",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "Tags"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,61 +0,0 @@
|
|||
{
|
||||
"version": 2,
|
||||
"waiters": {
|
||||
"CertificateAuthorityCSRCreated": {
|
||||
"description": "Wait until a Certificate Authority CSR is created",
|
||||
"operation": "GetCertificateAuthorityCsr",
|
||||
"delay": 3,
|
||||
"maxAttempts": 60,
|
||||
"acceptors": [
|
||||
{
|
||||
"state": "success",
|
||||
"matcher": "status",
|
||||
"expected": 200
|
||||
},
|
||||
{
|
||||
"state": "retry",
|
||||
"matcher": "error",
|
||||
"expected": "RequestInProgressException"
|
||||
}
|
||||
]
|
||||
},
|
||||
"CertificateIssued": {
|
||||
"description": "Wait until a certificate is issued",
|
||||
"operation": "GetCertificate",
|
||||
"delay": 3,
|
||||
"maxAttempts": 60,
|
||||
"acceptors": [
|
||||
{
|
||||
"state": "success",
|
||||
"matcher": "status",
|
||||
"expected": 200
|
||||
},
|
||||
{
|
||||
"state": "retry",
|
||||
"matcher": "error",
|
||||
"expected": "RequestInProgressException"
|
||||
}
|
||||
]
|
||||
},
|
||||
"AuditReportCreated": {
|
||||
"description": "Wait until a Audit Report is created",
|
||||
"operation": "DescribeCertificateAuthorityAuditReport",
|
||||
"delay": 3,
|
||||
"maxAttempts": 60,
|
||||
"acceptors": [
|
||||
{
|
||||
"state": "success",
|
||||
"matcher": "path",
|
||||
"argument": "AuditReportStatus",
|
||||
"expected": "SUCCESS"
|
||||
},
|
||||
{
|
||||
"state": "failure",
|
||||
"matcher": "path",
|
||||
"argument": "AuditReportStatus",
|
||||
"expected": "FAILED"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,89 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"ListBusinessReportSchedules": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListConferenceProviders": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListDeviceEvents": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListGatewayGroups": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListGateways": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListSkills": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListSkillsStoreCategories": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListSkillsStoreSkillsByCategory": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListSmartHomeAppliances": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListTags": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"SearchAddressBooks": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"SearchContacts": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"SearchDevices": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"SearchProfiles": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"SearchRooms": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"SearchSkillGroups": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"SearchUsers": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,76 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"GetApiKeys": {
|
||||
"input_token": "position",
|
||||
"limit_key": "limit",
|
||||
"output_token": "position",
|
||||
"result_key": "items"
|
||||
},
|
||||
"GetBasePathMappings": {
|
||||
"input_token": "position",
|
||||
"limit_key": "limit",
|
||||
"output_token": "position",
|
||||
"result_key": "items"
|
||||
},
|
||||
"GetClientCertificates": {
|
||||
"input_token": "position",
|
||||
"limit_key": "limit",
|
||||
"output_token": "position",
|
||||
"result_key": "items"
|
||||
},
|
||||
"GetDeployments": {
|
||||
"input_token": "position",
|
||||
"limit_key": "limit",
|
||||
"output_token": "position",
|
||||
"result_key": "items"
|
||||
},
|
||||
"GetDomainNames": {
|
||||
"input_token": "position",
|
||||
"limit_key": "limit",
|
||||
"output_token": "position",
|
||||
"result_key": "items"
|
||||
},
|
||||
"GetModels": {
|
||||
"input_token": "position",
|
||||
"limit_key": "limit",
|
||||
"output_token": "position",
|
||||
"result_key": "items"
|
||||
},
|
||||
"GetResources": {
|
||||
"input_token": "position",
|
||||
"limit_key": "limit",
|
||||
"output_token": "position",
|
||||
"result_key": "items"
|
||||
},
|
||||
"GetRestApis": {
|
||||
"input_token": "position",
|
||||
"limit_key": "limit",
|
||||
"output_token": "position",
|
||||
"result_key": "items"
|
||||
},
|
||||
"GetUsage": {
|
||||
"input_token": "position",
|
||||
"limit_key": "limit",
|
||||
"output_token": "position",
|
||||
"result_key": "items"
|
||||
},
|
||||
"GetUsagePlanKeys": {
|
||||
"input_token": "position",
|
||||
"limit_key": "limit",
|
||||
"output_token": "position",
|
||||
"result_key": "items"
|
||||
},
|
||||
"GetUsagePlans": {
|
||||
"input_token": "position",
|
||||
"limit_key": "limit",
|
||||
"output_token": "position",
|
||||
"result_key": "items"
|
||||
},
|
||||
"GetVpcLinks": {
|
||||
"input_token": "position",
|
||||
"limit_key": "limit",
|
||||
"output_token": "position",
|
||||
"result_key": "items"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
{
|
||||
"metadata": {
|
||||
"apiVersion": "2018-11-29",
|
||||
"endpointPrefix": "execute-api",
|
||||
"signingName": "execute-api",
|
||||
"serviceFullName": "AmazonApiGatewayManagementApi",
|
||||
"serviceId": "ApiGatewayManagementApi",
|
||||
"protocol": "rest-json",
|
||||
"jsonVersion": "1.1",
|
||||
"uid": "apigatewaymanagementapi-2018-11-29",
|
||||
"signatureVersion": "v4"
|
||||
},
|
||||
"operations": {
|
||||
"PostToConnection": {
|
||||
"http": {
|
||||
"requestUri": "/@connections/{connectionId}",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Data": {
|
||||
"type": "blob"
|
||||
},
|
||||
"ConnectionId": {
|
||||
"location": "uri",
|
||||
"locationName": "connectionId"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"ConnectionId",
|
||||
"Data"
|
||||
],
|
||||
"payload": "Data"
|
||||
}
|
||||
}
|
||||
},
|
||||
"shapes": {}
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"pagination" : { }
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"pagination" : { }
|
||||
}
|
|
@ -1,257 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
"DeleteScalingPolicy": [
|
||||
{
|
||||
"input": {
|
||||
"PolicyName": "web-app-cpu-lt-25",
|
||||
"ResourceId": "service/default/web-app",
|
||||
"ScalableDimension": "ecs:service:DesiredCount",
|
||||
"ServiceNamespace": "ecs"
|
||||
},
|
||||
"output": {
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example deletes a scaling policy for the Amazon ECS service called web-app, which is running in the default cluster.",
|
||||
"id": "to-delete-a-scaling-policy-1470863892689",
|
||||
"title": "To delete a scaling policy"
|
||||
}
|
||||
],
|
||||
"DeregisterScalableTarget": [
|
||||
{
|
||||
"input": {
|
||||
"ResourceId": "service/default/web-app",
|
||||
"ScalableDimension": "ecs:service:DesiredCount",
|
||||
"ServiceNamespace": "ecs"
|
||||
},
|
||||
"output": {
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example deregisters a scalable target for an Amazon ECS service called web-app that is running in the default cluster.",
|
||||
"id": "to-deregister-a-scalable-target-1470864164895",
|
||||
"title": "To deregister a scalable target"
|
||||
}
|
||||
],
|
||||
"DescribeScalableTargets": [
|
||||
{
|
||||
"input": {
|
||||
"ServiceNamespace": "ecs"
|
||||
},
|
||||
"output": {
|
||||
"ScalableTargets": [
|
||||
{
|
||||
"CreationTime": "2016-05-06T11:21:46.199Z",
|
||||
"MaxCapacity": 10,
|
||||
"MinCapacity": 1,
|
||||
"ResourceId": "service/default/web-app",
|
||||
"RoleARN": "arn:aws:iam::012345678910:role/ApplicationAutoscalingECSRole",
|
||||
"ScalableDimension": "ecs:service:DesiredCount",
|
||||
"ServiceNamespace": "ecs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example describes the scalable targets for the ecs service namespace.",
|
||||
"id": "to-describe-scalable-targets-1470864286961",
|
||||
"title": "To describe scalable targets"
|
||||
}
|
||||
],
|
||||
"DescribeScalingActivities": [
|
||||
{
|
||||
"input": {
|
||||
"ResourceId": "service/default/web-app",
|
||||
"ScalableDimension": "ecs:service:DesiredCount",
|
||||
"ServiceNamespace": "ecs"
|
||||
},
|
||||
"output": {
|
||||
"ScalingActivities": [
|
||||
{
|
||||
"ActivityId": "e6c5f7d1-dbbb-4a3f-89b2-51f33e766399",
|
||||
"Cause": "monitor alarm web-app-cpu-lt-25 in state ALARM triggered policy web-app-cpu-lt-25",
|
||||
"Description": "Setting desired count to 1.",
|
||||
"EndTime": "2016-05-06T16:04:32.111Z",
|
||||
"ResourceId": "service/default/web-app",
|
||||
"ScalableDimension": "ecs:service:DesiredCount",
|
||||
"ServiceNamespace": "ecs",
|
||||
"StartTime": "2016-05-06T16:03:58.171Z",
|
||||
"StatusCode": "Successful",
|
||||
"StatusMessage": "Successfully set desired count to 1. Change successfully fulfilled by ecs."
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example describes the scaling activities for an Amazon ECS service called web-app that is running in the default cluster.",
|
||||
"id": "to-describe-scaling-activities-for-a-scalable-target-1470864398629",
|
||||
"title": "To describe scaling activities for a scalable target"
|
||||
}
|
||||
],
|
||||
"DescribeScalingPolicies": [
|
||||
{
|
||||
"input": {
|
||||
"ServiceNamespace": "ecs"
|
||||
},
|
||||
"output": {
|
||||
"NextToken": "",
|
||||
"ScalingPolicies": [
|
||||
{
|
||||
"Alarms": [
|
||||
{
|
||||
"AlarmARN": "arn:aws:cloudwatch:us-west-2:012345678910:alarm:web-app-cpu-gt-75",
|
||||
"AlarmName": "web-app-cpu-gt-75"
|
||||
}
|
||||
],
|
||||
"CreationTime": "2016-05-06T12:11:39.230Z",
|
||||
"PolicyARN": "arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/web-app-cpu-gt-75",
|
||||
"PolicyName": "web-app-cpu-gt-75",
|
||||
"PolicyType": "StepScaling",
|
||||
"ResourceId": "service/default/web-app",
|
||||
"ScalableDimension": "ecs:service:DesiredCount",
|
||||
"ServiceNamespace": "ecs",
|
||||
"StepScalingPolicyConfiguration": {
|
||||
"AdjustmentType": "PercentChangeInCapacity",
|
||||
"Cooldown": 60,
|
||||
"StepAdjustments": [
|
||||
{
|
||||
"MetricIntervalLowerBound": 0,
|
||||
"ScalingAdjustment": 200
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example describes the scaling policies for the ecs service namespace.",
|
||||
"id": "to-describe-scaling-policies-1470864609734",
|
||||
"title": "To describe scaling policies"
|
||||
}
|
||||
],
|
||||
"PutScalingPolicy": [
|
||||
{
|
||||
"input": {
|
||||
"PolicyName": "web-app-cpu-gt-75",
|
||||
"PolicyType": "StepScaling",
|
||||
"ResourceId": "service/default/web-app",
|
||||
"ScalableDimension": "ecs:service:DesiredCount",
|
||||
"ServiceNamespace": "ecs",
|
||||
"StepScalingPolicyConfiguration": {
|
||||
"AdjustmentType": "PercentChangeInCapacity",
|
||||
"Cooldown": 60,
|
||||
"StepAdjustments": [
|
||||
{
|
||||
"MetricIntervalLowerBound": 0,
|
||||
"ScalingAdjustment": 200
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"PolicyARN": "arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/web-app-cpu-gt-75"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example applies a scaling policy to an Amazon ECS service called web-app in the default cluster. The policy increases the desired count of the service by 200%, with a cool down period of 60 seconds.",
|
||||
"id": "to-apply-a-scaling-policy-to-an-amazon-ecs-service-1470864779862",
|
||||
"title": "To apply a scaling policy to an Amazon ECS service"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"PolicyName": "fleet-cpu-gt-75",
|
||||
"PolicyType": "StepScaling",
|
||||
"ResourceId": "spot-fleet-request/sfr-45e69d8a-be48-4539-bbf3-3464e99c50c3",
|
||||
"ScalableDimension": "ec2:spot-fleet-request:TargetCapacity",
|
||||
"ServiceNamespace": "ec2",
|
||||
"StepScalingPolicyConfiguration": {
|
||||
"AdjustmentType": "PercentChangeInCapacity",
|
||||
"Cooldown": 180,
|
||||
"StepAdjustments": [
|
||||
{
|
||||
"MetricIntervalLowerBound": 0,
|
||||
"ScalingAdjustment": 200
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"PolicyARN": "arn:aws:autoscaling:us-east-1:012345678910:scalingPolicy:89406401-0cb7-4130-b770-d97cca0e446b:resource/ec2/spot-fleet-request/sfr-45e69d8a-be48-4539-bbf3-3464e99c50c3:policyName/fleet-cpu-gt-75"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example applies a scaling policy to an Amazon EC2 Spot fleet. The policy increases the target capacity of the spot fleet by 200%, with a cool down period of 180 seconds.\",\n ",
|
||||
"id": "to-apply-a-scaling-policy-to-an-amazon-ec2-spot-fleet-1472073278469",
|
||||
"title": "To apply a scaling policy to an Amazon EC2 Spot fleet"
|
||||
}
|
||||
],
|
||||
"RegisterScalableTarget": [
|
||||
{
|
||||
"input": {
|
||||
"MaxCapacity": 10,
|
||||
"MinCapacity": 1,
|
||||
"ResourceId": "service/default/web-app",
|
||||
"RoleARN": "arn:aws:iam::012345678910:role/ApplicationAutoscalingECSRole",
|
||||
"ScalableDimension": "ecs:service:DesiredCount",
|
||||
"ServiceNamespace": "ecs"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example registers a scalable target from an Amazon ECS service called web-app that is running on the default cluster, with a minimum desired count of 1 task and a maximum desired count of 10 tasks.",
|
||||
"id": "to-register-a-new-scalable-target-1470864910380",
|
||||
"title": "To register an ECS service as a scalable target"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"MaxCapacity": 10,
|
||||
"MinCapacity": 1,
|
||||
"ResourceId": "spot-fleet-request/sfr-45e69d8a-be48-4539-bbf3-3464e99c50c3",
|
||||
"RoleARN": "arn:aws:iam::012345678910:role/ApplicationAutoscalingSpotRole",
|
||||
"ScalableDimension": "ec2:spot-fleet-request:TargetCapacity",
|
||||
"ServiceNamespace": "ec2"
|
||||
},
|
||||
"output": {
|
||||
},
|
||||
"comments": {
|
||||
},
|
||||
"description": "This example registers a scalable target from an Amazon EC2 Spot fleet with a minimum target capacity of 1 and a maximum of 10.",
|
||||
"id": "to-register-an-ec2-spot-fleet-as-a-scalable-target-1472072899649",
|
||||
"title": "To register an EC2 Spot fleet as a scalable target"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -1,525 +0,0 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"metadata": {
|
||||
"apiVersion": "2016-02-06",
|
||||
"endpointPrefix": "autoscaling",
|
||||
"jsonVersion": "1.1",
|
||||
"protocol": "json",
|
||||
"serviceFullName": "Application Auto Scaling",
|
||||
"serviceId": "Application Auto Scaling",
|
||||
"signatureVersion": "v4",
|
||||
"signingName": "application-autoscaling",
|
||||
"targetPrefix": "AnyScaleFrontendService",
|
||||
"uid": "application-autoscaling-2016-02-06"
|
||||
},
|
||||
"operations": {
|
||||
"DeleteScalingPolicy": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"PolicyName",
|
||||
"ServiceNamespace",
|
||||
"ResourceId",
|
||||
"ScalableDimension"
|
||||
],
|
||||
"members": {
|
||||
"PolicyName": {},
|
||||
"ServiceNamespace": {},
|
||||
"ResourceId": {},
|
||||
"ScalableDimension": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"DeleteScheduledAction": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ServiceNamespace",
|
||||
"ScheduledActionName",
|
||||
"ResourceId",
|
||||
"ScalableDimension"
|
||||
],
|
||||
"members": {
|
||||
"ServiceNamespace": {},
|
||||
"ScheduledActionName": {},
|
||||
"ResourceId": {},
|
||||
"ScalableDimension": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"DeregisterScalableTarget": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ServiceNamespace",
|
||||
"ResourceId",
|
||||
"ScalableDimension"
|
||||
],
|
||||
"members": {
|
||||
"ServiceNamespace": {},
|
||||
"ResourceId": {},
|
||||
"ScalableDimension": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"DescribeScalableTargets": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ServiceNamespace"
|
||||
],
|
||||
"members": {
|
||||
"ServiceNamespace": {},
|
||||
"ResourceIds": {
|
||||
"shape": "Sb"
|
||||
},
|
||||
"ScalableDimension": {},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"ScalableTargets": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ServiceNamespace",
|
||||
"ResourceId",
|
||||
"ScalableDimension",
|
||||
"MinCapacity",
|
||||
"MaxCapacity",
|
||||
"RoleARN",
|
||||
"CreationTime"
|
||||
],
|
||||
"members": {
|
||||
"ServiceNamespace": {},
|
||||
"ResourceId": {},
|
||||
"ScalableDimension": {},
|
||||
"MinCapacity": {
|
||||
"type": "integer"
|
||||
},
|
||||
"MaxCapacity": {
|
||||
"type": "integer"
|
||||
},
|
||||
"RoleARN": {},
|
||||
"CreationTime": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DescribeScalingActivities": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ServiceNamespace"
|
||||
],
|
||||
"members": {
|
||||
"ServiceNamespace": {},
|
||||
"ResourceId": {},
|
||||
"ScalableDimension": {},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"ScalingActivities": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ActivityId",
|
||||
"ServiceNamespace",
|
||||
"ResourceId",
|
||||
"ScalableDimension",
|
||||
"Description",
|
||||
"Cause",
|
||||
"StartTime",
|
||||
"StatusCode"
|
||||
],
|
||||
"members": {
|
||||
"ActivityId": {},
|
||||
"ServiceNamespace": {},
|
||||
"ResourceId": {},
|
||||
"ScalableDimension": {},
|
||||
"Description": {},
|
||||
"Cause": {},
|
||||
"StartTime": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"EndTime": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"StatusCode": {},
|
||||
"StatusMessage": {},
|
||||
"Details": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DescribeScalingPolicies": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ServiceNamespace"
|
||||
],
|
||||
"members": {
|
||||
"PolicyNames": {
|
||||
"shape": "Sb"
|
||||
},
|
||||
"ServiceNamespace": {},
|
||||
"ResourceId": {},
|
||||
"ScalableDimension": {},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"ScalingPolicies": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"PolicyARN",
|
||||
"PolicyName",
|
||||
"ServiceNamespace",
|
||||
"ResourceId",
|
||||
"ScalableDimension",
|
||||
"PolicyType",
|
||||
"CreationTime"
|
||||
],
|
||||
"members": {
|
||||
"PolicyARN": {},
|
||||
"PolicyName": {},
|
||||
"ServiceNamespace": {},
|
||||
"ResourceId": {},
|
||||
"ScalableDimension": {},
|
||||
"PolicyType": {},
|
||||
"StepScalingPolicyConfiguration": {
|
||||
"shape": "Sv"
|
||||
},
|
||||
"TargetTrackingScalingPolicyConfiguration": {
|
||||
"shape": "S14"
|
||||
},
|
||||
"Alarms": {
|
||||
"shape": "S1i"
|
||||
},
|
||||
"CreationTime": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DescribeScheduledActions": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ServiceNamespace"
|
||||
],
|
||||
"members": {
|
||||
"ScheduledActionNames": {
|
||||
"shape": "Sb"
|
||||
},
|
||||
"ServiceNamespace": {},
|
||||
"ResourceId": {},
|
||||
"ScalableDimension": {},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"ScheduledActions": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ScheduledActionName",
|
||||
"ScheduledActionARN",
|
||||
"ServiceNamespace",
|
||||
"Schedule",
|
||||
"ResourceId",
|
||||
"CreationTime"
|
||||
],
|
||||
"members": {
|
||||
"ScheduledActionName": {},
|
||||
"ScheduledActionARN": {},
|
||||
"ServiceNamespace": {},
|
||||
"Schedule": {},
|
||||
"ResourceId": {},
|
||||
"ScalableDimension": {},
|
||||
"StartTime": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"EndTime": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"ScalableTargetAction": {
|
||||
"shape": "S1p"
|
||||
},
|
||||
"CreationTime": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"PutScalingPolicy": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"PolicyName",
|
||||
"ServiceNamespace",
|
||||
"ResourceId",
|
||||
"ScalableDimension"
|
||||
],
|
||||
"members": {
|
||||
"PolicyName": {},
|
||||
"ServiceNamespace": {},
|
||||
"ResourceId": {},
|
||||
"ScalableDimension": {},
|
||||
"PolicyType": {},
|
||||
"StepScalingPolicyConfiguration": {
|
||||
"shape": "Sv"
|
||||
},
|
||||
"TargetTrackingScalingPolicyConfiguration": {
|
||||
"shape": "S14"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"PolicyARN"
|
||||
],
|
||||
"members": {
|
||||
"PolicyARN": {},
|
||||
"Alarms": {
|
||||
"shape": "S1i"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"PutScheduledAction": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ServiceNamespace",
|
||||
"ScheduledActionName",
|
||||
"ResourceId",
|
||||
"ScalableDimension"
|
||||
],
|
||||
"members": {
|
||||
"ServiceNamespace": {},
|
||||
"Schedule": {},
|
||||
"ScheduledActionName": {},
|
||||
"ResourceId": {},
|
||||
"ScalableDimension": {},
|
||||
"StartTime": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"EndTime": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"ScalableTargetAction": {
|
||||
"shape": "S1p"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"RegisterScalableTarget": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ServiceNamespace",
|
||||
"ResourceId",
|
||||
"ScalableDimension"
|
||||
],
|
||||
"members": {
|
||||
"ServiceNamespace": {},
|
||||
"ResourceId": {},
|
||||
"ScalableDimension": {},
|
||||
"MinCapacity": {
|
||||
"type": "integer"
|
||||
},
|
||||
"MaxCapacity": {
|
||||
"type": "integer"
|
||||
},
|
||||
"RoleARN": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"shapes": {
|
||||
"Sb": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
},
|
||||
"Sv": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"AdjustmentType": {},
|
||||
"StepAdjustments": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ScalingAdjustment"
|
||||
],
|
||||
"members": {
|
||||
"MetricIntervalLowerBound": {
|
||||
"type": "double"
|
||||
},
|
||||
"MetricIntervalUpperBound": {
|
||||
"type": "double"
|
||||
},
|
||||
"ScalingAdjustment": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"MinAdjustmentMagnitude": {
|
||||
"type": "integer"
|
||||
},
|
||||
"Cooldown": {
|
||||
"type": "integer"
|
||||
},
|
||||
"MetricAggregationType": {}
|
||||
}
|
||||
},
|
||||
"S14": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"TargetValue"
|
||||
],
|
||||
"members": {
|
||||
"TargetValue": {
|
||||
"type": "double"
|
||||
},
|
||||
"PredefinedMetricSpecification": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"PredefinedMetricType"
|
||||
],
|
||||
"members": {
|
||||
"PredefinedMetricType": {},
|
||||
"ResourceLabel": {}
|
||||
}
|
||||
},
|
||||
"CustomizedMetricSpecification": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"MetricName",
|
||||
"Namespace",
|
||||
"Statistic"
|
||||
],
|
||||
"members": {
|
||||
"MetricName": {},
|
||||
"Namespace": {},
|
||||
"Dimensions": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Name",
|
||||
"Value"
|
||||
],
|
||||
"members": {
|
||||
"Name": {},
|
||||
"Value": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Statistic": {},
|
||||
"Unit": {}
|
||||
}
|
||||
},
|
||||
"ScaleOutCooldown": {
|
||||
"type": "integer"
|
||||
},
|
||||
"ScaleInCooldown": {
|
||||
"type": "integer"
|
||||
},
|
||||
"DisableScaleIn": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"S1i": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"AlarmName",
|
||||
"AlarmARN"
|
||||
],
|
||||
"members": {
|
||||
"AlarmName": {},
|
||||
"AlarmARN": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"S1p": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"MinCapacity": {
|
||||
"type": "integer"
|
||||
},
|
||||
"MaxCapacity": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"DescribeScalableTargets": {
|
||||
"input_token": "NextToken",
|
||||
"limit_key": "MaxResults",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "ScalableTargets"
|
||||
},
|
||||
"DescribeScalingActivities": {
|
||||
"input_token": "NextToken",
|
||||
"limit_key": "MaxResults",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "ScalingActivities"
|
||||
},
|
||||
"DescribeScalingPolicies": {
|
||||
"input_token": "NextToken",
|
||||
"limit_key": "MaxResults",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "ScalingPolicies"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": { }
|
||||
}
|
|
@ -1,966 +0,0 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"metadata": {
|
||||
"apiVersion": "2018-10-01",
|
||||
"endpointPrefix": "appmesh",
|
||||
"jsonVersion": "1.1",
|
||||
"protocol": "rest-json",
|
||||
"serviceFullName": "AWS App Mesh",
|
||||
"serviceId": "App Mesh",
|
||||
"signatureVersion": "v4",
|
||||
"signingName": "appmesh",
|
||||
"uid": "appmesh-2018-10-01"
|
||||
},
|
||||
"operations": {
|
||||
"CreateMesh": {
|
||||
"http": {
|
||||
"method": "PUT",
|
||||
"requestUri": "/meshes",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName"
|
||||
],
|
||||
"members": {
|
||||
"clientToken": {
|
||||
"idempotencyToken": true
|
||||
},
|
||||
"meshName": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"mesh": {
|
||||
"shape": "S5"
|
||||
}
|
||||
},
|
||||
"payload": "mesh"
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"CreateRoute": {
|
||||
"http": {
|
||||
"method": "PUT",
|
||||
"requestUri": "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName",
|
||||
"routeName",
|
||||
"spec",
|
||||
"virtualRouterName"
|
||||
],
|
||||
"members": {
|
||||
"clientToken": {
|
||||
"idempotencyToken": true
|
||||
},
|
||||
"meshName": {
|
||||
"location": "uri",
|
||||
"locationName": "meshName"
|
||||
},
|
||||
"routeName": {},
|
||||
"spec": {
|
||||
"shape": "Sd"
|
||||
},
|
||||
"virtualRouterName": {
|
||||
"location": "uri",
|
||||
"locationName": "virtualRouterName"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"route": {
|
||||
"shape": "Sl"
|
||||
}
|
||||
},
|
||||
"payload": "route"
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"CreateVirtualNode": {
|
||||
"http": {
|
||||
"method": "PUT",
|
||||
"requestUri": "/meshes/{meshName}/virtualNodes",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName",
|
||||
"spec",
|
||||
"virtualNodeName"
|
||||
],
|
||||
"members": {
|
||||
"clientToken": {
|
||||
"idempotencyToken": true
|
||||
},
|
||||
"meshName": {
|
||||
"location": "uri",
|
||||
"locationName": "meshName"
|
||||
},
|
||||
"spec": {
|
||||
"shape": "Sp"
|
||||
},
|
||||
"virtualNodeName": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"virtualNode": {
|
||||
"shape": "S14"
|
||||
}
|
||||
},
|
||||
"payload": "virtualNode"
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"CreateVirtualRouter": {
|
||||
"http": {
|
||||
"method": "PUT",
|
||||
"requestUri": "/meshes/{meshName}/virtualRouters",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName",
|
||||
"spec",
|
||||
"virtualRouterName"
|
||||
],
|
||||
"members": {
|
||||
"clientToken": {
|
||||
"idempotencyToken": true
|
||||
},
|
||||
"meshName": {
|
||||
"location": "uri",
|
||||
"locationName": "meshName"
|
||||
},
|
||||
"spec": {
|
||||
"shape": "S18"
|
||||
},
|
||||
"virtualRouterName": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"virtualRouter": {
|
||||
"shape": "S1b"
|
||||
}
|
||||
},
|
||||
"payload": "virtualRouter"
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"DeleteMesh": {
|
||||
"http": {
|
||||
"method": "DELETE",
|
||||
"requestUri": "/meshes/{meshName}",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName"
|
||||
],
|
||||
"members": {
|
||||
"meshName": {
|
||||
"location": "uri",
|
||||
"locationName": "meshName"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"mesh": {
|
||||
"shape": "S5"
|
||||
}
|
||||
},
|
||||
"payload": "mesh"
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"DeleteRoute": {
|
||||
"http": {
|
||||
"method": "DELETE",
|
||||
"requestUri": "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName",
|
||||
"routeName",
|
||||
"virtualRouterName"
|
||||
],
|
||||
"members": {
|
||||
"meshName": {
|
||||
"location": "uri",
|
||||
"locationName": "meshName"
|
||||
},
|
||||
"routeName": {
|
||||
"location": "uri",
|
||||
"locationName": "routeName"
|
||||
},
|
||||
"virtualRouterName": {
|
||||
"location": "uri",
|
||||
"locationName": "virtualRouterName"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"route": {
|
||||
"shape": "Sl"
|
||||
}
|
||||
},
|
||||
"payload": "route"
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"DeleteVirtualNode": {
|
||||
"http": {
|
||||
"method": "DELETE",
|
||||
"requestUri": "/meshes/{meshName}/virtualNodes/{virtualNodeName}",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName",
|
||||
"virtualNodeName"
|
||||
],
|
||||
"members": {
|
||||
"meshName": {
|
||||
"location": "uri",
|
||||
"locationName": "meshName"
|
||||
},
|
||||
"virtualNodeName": {
|
||||
"location": "uri",
|
||||
"locationName": "virtualNodeName"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"virtualNode": {
|
||||
"shape": "S14"
|
||||
}
|
||||
},
|
||||
"payload": "virtualNode"
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"DeleteVirtualRouter": {
|
||||
"http": {
|
||||
"method": "DELETE",
|
||||
"requestUri": "/meshes/{meshName}/virtualRouters/{virtualRouterName}",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName",
|
||||
"virtualRouterName"
|
||||
],
|
||||
"members": {
|
||||
"meshName": {
|
||||
"location": "uri",
|
||||
"locationName": "meshName"
|
||||
},
|
||||
"virtualRouterName": {
|
||||
"location": "uri",
|
||||
"locationName": "virtualRouterName"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"virtualRouter": {
|
||||
"shape": "S1b"
|
||||
}
|
||||
},
|
||||
"payload": "virtualRouter"
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"DescribeMesh": {
|
||||
"http": {
|
||||
"method": "GET",
|
||||
"requestUri": "/meshes/{meshName}",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName"
|
||||
],
|
||||
"members": {
|
||||
"meshName": {
|
||||
"location": "uri",
|
||||
"locationName": "meshName"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"mesh": {
|
||||
"shape": "S5"
|
||||
}
|
||||
},
|
||||
"payload": "mesh"
|
||||
}
|
||||
},
|
||||
"DescribeRoute": {
|
||||
"http": {
|
||||
"method": "GET",
|
||||
"requestUri": "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName",
|
||||
"routeName",
|
||||
"virtualRouterName"
|
||||
],
|
||||
"members": {
|
||||
"meshName": {
|
||||
"location": "uri",
|
||||
"locationName": "meshName"
|
||||
},
|
||||
"routeName": {
|
||||
"location": "uri",
|
||||
"locationName": "routeName"
|
||||
},
|
||||
"virtualRouterName": {
|
||||
"location": "uri",
|
||||
"locationName": "virtualRouterName"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"route": {
|
||||
"shape": "Sl"
|
||||
}
|
||||
},
|
||||
"payload": "route"
|
||||
}
|
||||
},
|
||||
"DescribeVirtualNode": {
|
||||
"http": {
|
||||
"method": "GET",
|
||||
"requestUri": "/meshes/{meshName}/virtualNodes/{virtualNodeName}",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName",
|
||||
"virtualNodeName"
|
||||
],
|
||||
"members": {
|
||||
"meshName": {
|
||||
"location": "uri",
|
||||
"locationName": "meshName"
|
||||
},
|
||||
"virtualNodeName": {
|
||||
"location": "uri",
|
||||
"locationName": "virtualNodeName"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"virtualNode": {
|
||||
"shape": "S14"
|
||||
}
|
||||
},
|
||||
"payload": "virtualNode"
|
||||
}
|
||||
},
|
||||
"DescribeVirtualRouter": {
|
||||
"http": {
|
||||
"method": "GET",
|
||||
"requestUri": "/meshes/{meshName}/virtualRouters/{virtualRouterName}",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName",
|
||||
"virtualRouterName"
|
||||
],
|
||||
"members": {
|
||||
"meshName": {
|
||||
"location": "uri",
|
||||
"locationName": "meshName"
|
||||
},
|
||||
"virtualRouterName": {
|
||||
"location": "uri",
|
||||
"locationName": "virtualRouterName"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"virtualRouter": {
|
||||
"shape": "S1b"
|
||||
}
|
||||
},
|
||||
"payload": "virtualRouter"
|
||||
}
|
||||
},
|
||||
"ListMeshes": {
|
||||
"http": {
|
||||
"method": "GET",
|
||||
"requestUri": "/meshes",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"limit": {
|
||||
"location": "querystring",
|
||||
"locationName": "limit",
|
||||
"type": "integer"
|
||||
},
|
||||
"nextToken": {
|
||||
"location": "querystring",
|
||||
"locationName": "nextToken"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshes"
|
||||
],
|
||||
"members": {
|
||||
"meshes": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"arn": {},
|
||||
"meshName": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"nextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListRoutes": {
|
||||
"http": {
|
||||
"method": "GET",
|
||||
"requestUri": "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName",
|
||||
"virtualRouterName"
|
||||
],
|
||||
"members": {
|
||||
"limit": {
|
||||
"location": "querystring",
|
||||
"locationName": "limit",
|
||||
"type": "integer"
|
||||
},
|
||||
"meshName": {
|
||||
"location": "uri",
|
||||
"locationName": "meshName"
|
||||
},
|
||||
"nextToken": {
|
||||
"location": "querystring",
|
||||
"locationName": "nextToken"
|
||||
},
|
||||
"virtualRouterName": {
|
||||
"location": "uri",
|
||||
"locationName": "virtualRouterName"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"routes"
|
||||
],
|
||||
"members": {
|
||||
"nextToken": {},
|
||||
"routes": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"arn": {},
|
||||
"meshName": {},
|
||||
"routeName": {},
|
||||
"virtualRouterName": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListVirtualNodes": {
|
||||
"http": {
|
||||
"method": "GET",
|
||||
"requestUri": "/meshes/{meshName}/virtualNodes",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName"
|
||||
],
|
||||
"members": {
|
||||
"limit": {
|
||||
"location": "querystring",
|
||||
"locationName": "limit",
|
||||
"type": "integer"
|
||||
},
|
||||
"meshName": {
|
||||
"location": "uri",
|
||||
"locationName": "meshName"
|
||||
},
|
||||
"nextToken": {
|
||||
"location": "querystring",
|
||||
"locationName": "nextToken"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"virtualNodes"
|
||||
],
|
||||
"members": {
|
||||
"nextToken": {},
|
||||
"virtualNodes": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"arn": {},
|
||||
"meshName": {},
|
||||
"virtualNodeName": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListVirtualRouters": {
|
||||
"http": {
|
||||
"method": "GET",
|
||||
"requestUri": "/meshes/{meshName}/virtualRouters",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName"
|
||||
],
|
||||
"members": {
|
||||
"limit": {
|
||||
"location": "querystring",
|
||||
"locationName": "limit",
|
||||
"type": "integer"
|
||||
},
|
||||
"meshName": {
|
||||
"location": "uri",
|
||||
"locationName": "meshName"
|
||||
},
|
||||
"nextToken": {
|
||||
"location": "querystring",
|
||||
"locationName": "nextToken"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"virtualRouters"
|
||||
],
|
||||
"members": {
|
||||
"nextToken": {},
|
||||
"virtualRouters": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"arn": {},
|
||||
"meshName": {},
|
||||
"virtualRouterName": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"UpdateRoute": {
|
||||
"http": {
|
||||
"method": "PUT",
|
||||
"requestUri": "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName",
|
||||
"routeName",
|
||||
"spec",
|
||||
"virtualRouterName"
|
||||
],
|
||||
"members": {
|
||||
"clientToken": {
|
||||
"idempotencyToken": true
|
||||
},
|
||||
"meshName": {
|
||||
"location": "uri",
|
||||
"locationName": "meshName"
|
||||
},
|
||||
"routeName": {
|
||||
"location": "uri",
|
||||
"locationName": "routeName"
|
||||
},
|
||||
"spec": {
|
||||
"shape": "Sd"
|
||||
},
|
||||
"virtualRouterName": {
|
||||
"location": "uri",
|
||||
"locationName": "virtualRouterName"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"route": {
|
||||
"shape": "Sl"
|
||||
}
|
||||
},
|
||||
"payload": "route"
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"UpdateVirtualNode": {
|
||||
"http": {
|
||||
"method": "PUT",
|
||||
"requestUri": "/meshes/{meshName}/virtualNodes/{virtualNodeName}",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName",
|
||||
"spec",
|
||||
"virtualNodeName"
|
||||
],
|
||||
"members": {
|
||||
"clientToken": {
|
||||
"idempotencyToken": true
|
||||
},
|
||||
"meshName": {
|
||||
"location": "uri",
|
||||
"locationName": "meshName"
|
||||
},
|
||||
"spec": {
|
||||
"shape": "Sp"
|
||||
},
|
||||
"virtualNodeName": {
|
||||
"location": "uri",
|
||||
"locationName": "virtualNodeName"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"virtualNode": {
|
||||
"shape": "S14"
|
||||
}
|
||||
},
|
||||
"payload": "virtualNode"
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"UpdateVirtualRouter": {
|
||||
"http": {
|
||||
"method": "PUT",
|
||||
"requestUri": "/meshes/{meshName}/virtualRouters/{virtualRouterName}",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName",
|
||||
"spec",
|
||||
"virtualRouterName"
|
||||
],
|
||||
"members": {
|
||||
"clientToken": {
|
||||
"idempotencyToken": true
|
||||
},
|
||||
"meshName": {
|
||||
"location": "uri",
|
||||
"locationName": "meshName"
|
||||
},
|
||||
"spec": {
|
||||
"shape": "S18"
|
||||
},
|
||||
"virtualRouterName": {
|
||||
"location": "uri",
|
||||
"locationName": "virtualRouterName"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"virtualRouter": {
|
||||
"shape": "S1b"
|
||||
}
|
||||
},
|
||||
"payload": "virtualRouter"
|
||||
},
|
||||
"idempotent": true
|
||||
}
|
||||
},
|
||||
"shapes": {
|
||||
"S5": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName",
|
||||
"metadata"
|
||||
],
|
||||
"members": {
|
||||
"meshName": {},
|
||||
"metadata": {
|
||||
"shape": "S6"
|
||||
},
|
||||
"status": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"status": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"S6": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"arn": {},
|
||||
"createdAt": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"lastUpdatedAt": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"uid": {},
|
||||
"version": {
|
||||
"type": "long"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Sd": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"httpRoute": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"action": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"weightedTargets": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"virtualNode": {},
|
||||
"weight": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"match": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"prefix": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Sl": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName",
|
||||
"routeName",
|
||||
"virtualRouterName"
|
||||
],
|
||||
"members": {
|
||||
"meshName": {},
|
||||
"metadata": {
|
||||
"shape": "S6"
|
||||
},
|
||||
"routeName": {},
|
||||
"spec": {
|
||||
"shape": "Sd"
|
||||
},
|
||||
"status": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"status": {}
|
||||
}
|
||||
},
|
||||
"virtualRouterName": {}
|
||||
}
|
||||
},
|
||||
"Sp": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"backends": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
},
|
||||
"listeners": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"healthCheck": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"healthyThreshold",
|
||||
"intervalMillis",
|
||||
"protocol",
|
||||
"timeoutMillis",
|
||||
"unhealthyThreshold"
|
||||
],
|
||||
"members": {
|
||||
"healthyThreshold": {
|
||||
"type": "integer"
|
||||
},
|
||||
"intervalMillis": {
|
||||
"type": "long"
|
||||
},
|
||||
"path": {},
|
||||
"port": {
|
||||
"type": "integer"
|
||||
},
|
||||
"protocol": {},
|
||||
"timeoutMillis": {
|
||||
"type": "long"
|
||||
},
|
||||
"unhealthyThreshold": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"portMapping": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"port": {
|
||||
"type": "integer"
|
||||
},
|
||||
"protocol": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"serviceDiscovery": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"dns": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"serviceName": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"S14": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName",
|
||||
"virtualNodeName"
|
||||
],
|
||||
"members": {
|
||||
"meshName": {},
|
||||
"metadata": {
|
||||
"shape": "S6"
|
||||
},
|
||||
"spec": {
|
||||
"shape": "Sp"
|
||||
},
|
||||
"status": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"status": {}
|
||||
}
|
||||
},
|
||||
"virtualNodeName": {}
|
||||
}
|
||||
},
|
||||
"S18": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"serviceNames": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"S1b": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"meshName",
|
||||
"virtualRouterName"
|
||||
],
|
||||
"members": {
|
||||
"meshName": {},
|
||||
"metadata": {
|
||||
"shape": "S6"
|
||||
},
|
||||
"spec": {
|
||||
"shape": "S18"
|
||||
},
|
||||
"status": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"status": {}
|
||||
}
|
||||
},
|
||||
"virtualRouterName": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"ListMeshes": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "limit",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "meshes"
|
||||
},
|
||||
"ListRoutes": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "limit",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "routes"
|
||||
},
|
||||
"ListVirtualNodes": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "limit",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "virtualNodes"
|
||||
},
|
||||
"ListVirtualRouters": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "limit",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "virtualRouters"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": { }
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,40 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"ListMeshes": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "limit",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "meshes"
|
||||
},
|
||||
"ListRoutes": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "limit",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "routes"
|
||||
},
|
||||
"ListTagsForResource": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "limit",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "tags"
|
||||
},
|
||||
"ListVirtualNodes": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "limit",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "virtualNodes"
|
||||
},
|
||||
"ListVirtualRouters": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "limit",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "virtualRouters"
|
||||
},
|
||||
"ListVirtualServices": {
|
||||
"input_token": "nextToken",
|
||||
"limit_key": "limit",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "virtualServices"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,14 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"DescribeImagePermissions": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"DescribeImages": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,55 +0,0 @@
|
|||
{
|
||||
"version": 2,
|
||||
"waiters": {
|
||||
"FleetStarted": {
|
||||
"delay": 30,
|
||||
"maxAttempts": 40,
|
||||
"operation": "DescribeFleets",
|
||||
"acceptors": [
|
||||
{
|
||||
"state": "success",
|
||||
"matcher": "pathAll",
|
||||
"argument": "Fleets[].State",
|
||||
"expected": "ACTIVE"
|
||||
},
|
||||
{
|
||||
"state": "failure",
|
||||
"matcher": "pathAny",
|
||||
"argument": "Fleets[].State",
|
||||
"expected": "PENDING_DEACTIVATE"
|
||||
},
|
||||
{
|
||||
"state": "failure",
|
||||
"matcher": "pathAny",
|
||||
"argument": "Fleets[].State",
|
||||
"expected": "INACTIVE"
|
||||
}
|
||||
]
|
||||
},
|
||||
"FleetStopped": {
|
||||
"delay": 30,
|
||||
"maxAttempts": 40,
|
||||
"operation": "DescribeFleets",
|
||||
"acceptors": [
|
||||
{
|
||||
"state": "success",
|
||||
"matcher": "pathAll",
|
||||
"argument": "Fleets[].State",
|
||||
"expected": "INACTIVE"
|
||||
},
|
||||
{
|
||||
"state": "failure",
|
||||
"matcher": "pathAny",
|
||||
"argument": "Fleets[].State",
|
||||
"expected": "PENDING_ACTIVATE"
|
||||
},
|
||||
{
|
||||
"state": "failure",
|
||||
"matcher": "pathAny",
|
||||
"argument": "Fleets[].State",
|
||||
"expected": "ACTIVE"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
|
@ -1,670 +0,0 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"metadata": {
|
||||
"apiVersion": "2017-05-18",
|
||||
"endpointPrefix": "athena",
|
||||
"jsonVersion": "1.1",
|
||||
"protocol": "json",
|
||||
"serviceFullName": "Amazon Athena",
|
||||
"serviceId": "Athena",
|
||||
"signatureVersion": "v4",
|
||||
"targetPrefix": "AmazonAthena",
|
||||
"uid": "athena-2017-05-18"
|
||||
},
|
||||
"operations": {
|
||||
"BatchGetNamedQuery": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"NamedQueryIds"
|
||||
],
|
||||
"members": {
|
||||
"NamedQueryIds": {
|
||||
"shape": "S2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"NamedQueries": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"shape": "S6"
|
||||
}
|
||||
},
|
||||
"UnprocessedNamedQueryIds": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"NamedQueryId": {},
|
||||
"ErrorCode": {},
|
||||
"ErrorMessage": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"BatchGetQueryExecution": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"QueryExecutionIds"
|
||||
],
|
||||
"members": {
|
||||
"QueryExecutionIds": {
|
||||
"shape": "Sh"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"QueryExecutions": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"shape": "Sl"
|
||||
}
|
||||
},
|
||||
"UnprocessedQueryExecutionIds": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"QueryExecutionId": {},
|
||||
"ErrorCode": {},
|
||||
"ErrorMessage": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"CreateNamedQuery": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Name",
|
||||
"Database",
|
||||
"QueryString"
|
||||
],
|
||||
"members": {
|
||||
"Name": {},
|
||||
"Description": {},
|
||||
"Database": {},
|
||||
"QueryString": {},
|
||||
"ClientRequestToken": {
|
||||
"idempotencyToken": true
|
||||
},
|
||||
"WorkGroup": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"NamedQueryId": {}
|
||||
}
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"CreateWorkGroup": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Name"
|
||||
],
|
||||
"members": {
|
||||
"Name": {},
|
||||
"Configuration": {
|
||||
"shape": "S13"
|
||||
},
|
||||
"Description": {},
|
||||
"Tags": {
|
||||
"shape": "S17"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"DeleteNamedQuery": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"NamedQueryId"
|
||||
],
|
||||
"members": {
|
||||
"NamedQueryId": {
|
||||
"idempotencyToken": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"DeleteWorkGroup": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"WorkGroup"
|
||||
],
|
||||
"members": {
|
||||
"WorkGroup": {},
|
||||
"RecursiveDeleteOption": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"GetNamedQuery": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"NamedQueryId"
|
||||
],
|
||||
"members": {
|
||||
"NamedQueryId": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"NamedQuery": {
|
||||
"shape": "S6"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetQueryExecution": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"QueryExecutionId"
|
||||
],
|
||||
"members": {
|
||||
"QueryExecutionId": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"QueryExecution": {
|
||||
"shape": "Sl"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetQueryResults": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"QueryExecutionId"
|
||||
],
|
||||
"members": {
|
||||
"QueryExecutionId": {},
|
||||
"NextToken": {},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"UpdateCount": {
|
||||
"type": "long"
|
||||
},
|
||||
"ResultSet": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Rows": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Data": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"VarCharValue": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ResultSetMetadata": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"ColumnInfo": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Name",
|
||||
"Type"
|
||||
],
|
||||
"members": {
|
||||
"CatalogName": {},
|
||||
"SchemaName": {},
|
||||
"TableName": {},
|
||||
"Name": {},
|
||||
"Label": {},
|
||||
"Type": {},
|
||||
"Precision": {
|
||||
"type": "integer"
|
||||
},
|
||||
"Scale": {
|
||||
"type": "integer"
|
||||
},
|
||||
"Nullable": {},
|
||||
"CaseSensitive": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetWorkGroup": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"WorkGroup"
|
||||
],
|
||||
"members": {
|
||||
"WorkGroup": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"WorkGroup": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Name"
|
||||
],
|
||||
"members": {
|
||||
"Name": {},
|
||||
"State": {},
|
||||
"Configuration": {
|
||||
"shape": "S13"
|
||||
},
|
||||
"Description": {},
|
||||
"CreationTime": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListNamedQueries": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"NextToken": {},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
},
|
||||
"WorkGroup": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"NamedQueryIds": {
|
||||
"shape": "S2"
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListQueryExecutions": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"NextToken": {},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
},
|
||||
"WorkGroup": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"QueryExecutionIds": {
|
||||
"shape": "Sh"
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListTagsForResource": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ResourceARN"
|
||||
],
|
||||
"members": {
|
||||
"ResourceARN": {},
|
||||
"NextToken": {},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Tags": {
|
||||
"shape": "S17"
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListWorkGroups": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"NextToken": {},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"WorkGroups": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Name": {},
|
||||
"State": {},
|
||||
"Description": {},
|
||||
"CreationTime": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"StartQueryExecution": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"QueryString"
|
||||
],
|
||||
"members": {
|
||||
"QueryString": {},
|
||||
"ClientRequestToken": {
|
||||
"idempotencyToken": true
|
||||
},
|
||||
"QueryExecutionContext": {
|
||||
"shape": "Sr"
|
||||
},
|
||||
"ResultConfiguration": {
|
||||
"shape": "Sn"
|
||||
},
|
||||
"WorkGroup": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"QueryExecutionId": {}
|
||||
}
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"StopQueryExecution": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"QueryExecutionId"
|
||||
],
|
||||
"members": {
|
||||
"QueryExecutionId": {
|
||||
"idempotencyToken": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"TagResource": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ResourceARN",
|
||||
"Tags"
|
||||
],
|
||||
"members": {
|
||||
"ResourceARN": {},
|
||||
"Tags": {
|
||||
"shape": "S17"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"UntagResource": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ResourceARN",
|
||||
"TagKeys"
|
||||
],
|
||||
"members": {
|
||||
"ResourceARN": {},
|
||||
"TagKeys": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"UpdateWorkGroup": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"WorkGroup"
|
||||
],
|
||||
"members": {
|
||||
"WorkGroup": {},
|
||||
"Description": {},
|
||||
"ConfigurationUpdates": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"EnforceWorkGroupConfiguration": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"ResultConfigurationUpdates": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"OutputLocation": {},
|
||||
"RemoveOutputLocation": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"EncryptionConfiguration": {
|
||||
"shape": "Sp"
|
||||
},
|
||||
"RemoveEncryptionConfiguration": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"PublishCloudWatchMetricsEnabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"BytesScannedCutoffPerQuery": {
|
||||
"type": "long"
|
||||
},
|
||||
"RemoveBytesScannedCutoffPerQuery": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"State": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"shapes": {
|
||||
"S2": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
},
|
||||
"S6": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Name",
|
||||
"Database",
|
||||
"QueryString"
|
||||
],
|
||||
"members": {
|
||||
"Name": {},
|
||||
"Description": {},
|
||||
"Database": {},
|
||||
"QueryString": {},
|
||||
"NamedQueryId": {},
|
||||
"WorkGroup": {}
|
||||
}
|
||||
},
|
||||
"Sh": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
},
|
||||
"Sl": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"QueryExecutionId": {},
|
||||
"Query": {},
|
||||
"StatementType": {},
|
||||
"ResultConfiguration": {
|
||||
"shape": "Sn"
|
||||
},
|
||||
"QueryExecutionContext": {
|
||||
"shape": "Sr"
|
||||
},
|
||||
"Status": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"State": {},
|
||||
"StateChangeReason": {},
|
||||
"SubmissionDateTime": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"CompletionDateTime": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Statistics": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"EngineExecutionTimeInMillis": {
|
||||
"type": "long"
|
||||
},
|
||||
"DataScannedInBytes": {
|
||||
"type": "long"
|
||||
}
|
||||
}
|
||||
},
|
||||
"WorkGroup": {}
|
||||
}
|
||||
},
|
||||
"Sn": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"OutputLocation": {},
|
||||
"EncryptionConfiguration": {
|
||||
"shape": "Sp"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Sp": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"EncryptionOption"
|
||||
],
|
||||
"members": {
|
||||
"EncryptionOption": {},
|
||||
"KmsKey": {}
|
||||
}
|
||||
},
|
||||
"Sr": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Database": {}
|
||||
}
|
||||
},
|
||||
"S13": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"ResultConfiguration": {
|
||||
"shape": "Sn"
|
||||
},
|
||||
"EnforceWorkGroupConfiguration": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"PublishCloudWatchMetricsEnabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"BytesScannedCutoffPerQuery": {
|
||||
"type": "long"
|
||||
}
|
||||
}
|
||||
},
|
||||
"S17": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Key": {},
|
||||
"Value": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"GetQueryResults": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListNamedQueries": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListQueryExecutions": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListWorkGroups": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,52 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"DescribeAutoScalingGroups": {
|
||||
"input_token": "NextToken",
|
||||
"limit_key": "MaxRecords",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "AutoScalingGroups"
|
||||
},
|
||||
"DescribeAutoScalingInstances": {
|
||||
"input_token": "NextToken",
|
||||
"limit_key": "MaxRecords",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "AutoScalingInstances"
|
||||
},
|
||||
"DescribeLaunchConfigurations": {
|
||||
"input_token": "NextToken",
|
||||
"limit_key": "MaxRecords",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "LaunchConfigurations"
|
||||
},
|
||||
"DescribeNotificationConfigurations": {
|
||||
"input_token": "NextToken",
|
||||
"limit_key": "MaxRecords",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "NotificationConfigurations"
|
||||
},
|
||||
"DescribePolicies": {
|
||||
"input_token": "NextToken",
|
||||
"limit_key": "MaxRecords",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "ScalingPolicies"
|
||||
},
|
||||
"DescribeScalingActivities": {
|
||||
"input_token": "NextToken",
|
||||
"limit_key": "MaxRecords",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "Activities"
|
||||
},
|
||||
"DescribeScheduledActions": {
|
||||
"input_token": "NextToken",
|
||||
"limit_key": "MaxRecords",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "ScheduledUpdateGroupActions"
|
||||
},
|
||||
"DescribeTags": {
|
||||
"input_token": "NextToken",
|
||||
"limit_key": "MaxRecords",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "Tags"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
|
@ -1,429 +0,0 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"metadata": {
|
||||
"apiVersion": "2018-01-06",
|
||||
"endpointPrefix": "autoscaling",
|
||||
"jsonVersion": "1.1",
|
||||
"protocol": "json",
|
||||
"serviceFullName": "AWS Auto Scaling Plans",
|
||||
"serviceId": "Auto Scaling Plans",
|
||||
"signatureVersion": "v4",
|
||||
"signingName": "autoscaling-plans",
|
||||
"targetPrefix": "AnyScaleScalingPlannerFrontendService",
|
||||
"uid": "autoscaling-plans-2018-01-06"
|
||||
},
|
||||
"operations": {
|
||||
"CreateScalingPlan": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ScalingPlanName",
|
||||
"ApplicationSource",
|
||||
"ScalingInstructions"
|
||||
],
|
||||
"members": {
|
||||
"ScalingPlanName": {},
|
||||
"ApplicationSource": {
|
||||
"shape": "S3"
|
||||
},
|
||||
"ScalingInstructions": {
|
||||
"shape": "Sa"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ScalingPlanVersion"
|
||||
],
|
||||
"members": {
|
||||
"ScalingPlanVersion": {
|
||||
"type": "long"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DeleteScalingPlan": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ScalingPlanName",
|
||||
"ScalingPlanVersion"
|
||||
],
|
||||
"members": {
|
||||
"ScalingPlanName": {},
|
||||
"ScalingPlanVersion": {
|
||||
"type": "long"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"DescribeScalingPlanResources": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ScalingPlanName",
|
||||
"ScalingPlanVersion"
|
||||
],
|
||||
"members": {
|
||||
"ScalingPlanName": {},
|
||||
"ScalingPlanVersion": {
|
||||
"type": "long"
|
||||
},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"ScalingPlanResources": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ScalingPlanName",
|
||||
"ScalingPlanVersion",
|
||||
"ServiceNamespace",
|
||||
"ResourceId",
|
||||
"ScalableDimension",
|
||||
"ScalingStatusCode"
|
||||
],
|
||||
"members": {
|
||||
"ScalingPlanName": {},
|
||||
"ScalingPlanVersion": {
|
||||
"type": "long"
|
||||
},
|
||||
"ServiceNamespace": {},
|
||||
"ResourceId": {},
|
||||
"ScalableDimension": {},
|
||||
"ScalingPolicies": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"PolicyName",
|
||||
"PolicyType"
|
||||
],
|
||||
"members": {
|
||||
"PolicyName": {},
|
||||
"PolicyType": {},
|
||||
"TargetTrackingConfiguration": {
|
||||
"shape": "Sh"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ScalingStatusCode": {},
|
||||
"ScalingStatusMessage": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DescribeScalingPlans": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"ScalingPlanNames": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
},
|
||||
"ScalingPlanVersion": {
|
||||
"type": "long"
|
||||
},
|
||||
"ApplicationSources": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"shape": "S3"
|
||||
}
|
||||
},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"ScalingPlans": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ScalingPlanName",
|
||||
"ScalingPlanVersion",
|
||||
"ApplicationSource",
|
||||
"ScalingInstructions",
|
||||
"StatusCode"
|
||||
],
|
||||
"members": {
|
||||
"ScalingPlanName": {},
|
||||
"ScalingPlanVersion": {
|
||||
"type": "long"
|
||||
},
|
||||
"ApplicationSource": {
|
||||
"shape": "S3"
|
||||
},
|
||||
"ScalingInstructions": {
|
||||
"shape": "Sa"
|
||||
},
|
||||
"StatusCode": {},
|
||||
"StatusMessage": {},
|
||||
"StatusStartTime": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"CreationTime": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetScalingPlanResourceForecastData": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ScalingPlanName",
|
||||
"ScalingPlanVersion",
|
||||
"ServiceNamespace",
|
||||
"ResourceId",
|
||||
"ScalableDimension",
|
||||
"ForecastDataType",
|
||||
"StartTime",
|
||||
"EndTime"
|
||||
],
|
||||
"members": {
|
||||
"ScalingPlanName": {},
|
||||
"ScalingPlanVersion": {
|
||||
"type": "long"
|
||||
},
|
||||
"ServiceNamespace": {},
|
||||
"ResourceId": {},
|
||||
"ScalableDimension": {},
|
||||
"ForecastDataType": {},
|
||||
"StartTime": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"EndTime": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Datapoints"
|
||||
],
|
||||
"members": {
|
||||
"Datapoints": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Timestamp": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"Value": {
|
||||
"type": "double"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"UpdateScalingPlan": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ScalingPlanName",
|
||||
"ScalingPlanVersion"
|
||||
],
|
||||
"members": {
|
||||
"ScalingPlanName": {},
|
||||
"ScalingPlanVersion": {
|
||||
"type": "long"
|
||||
},
|
||||
"ApplicationSource": {
|
||||
"shape": "S3"
|
||||
},
|
||||
"ScalingInstructions": {
|
||||
"shape": "Sa"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"shapes": {
|
||||
"S3": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"CloudFormationStackARN": {},
|
||||
"TagFilters": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Key": {},
|
||||
"Values": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Sa": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ServiceNamespace",
|
||||
"ResourceId",
|
||||
"ScalableDimension",
|
||||
"MinCapacity",
|
||||
"MaxCapacity",
|
||||
"TargetTrackingConfigurations"
|
||||
],
|
||||
"members": {
|
||||
"ServiceNamespace": {},
|
||||
"ResourceId": {},
|
||||
"ScalableDimension": {},
|
||||
"MinCapacity": {
|
||||
"type": "integer"
|
||||
},
|
||||
"MaxCapacity": {
|
||||
"type": "integer"
|
||||
},
|
||||
"TargetTrackingConfigurations": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"shape": "Sh"
|
||||
}
|
||||
},
|
||||
"PredefinedLoadMetricSpecification": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"PredefinedLoadMetricType"
|
||||
],
|
||||
"members": {
|
||||
"PredefinedLoadMetricType": {},
|
||||
"ResourceLabel": {}
|
||||
}
|
||||
},
|
||||
"CustomizedLoadMetricSpecification": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"MetricName",
|
||||
"Namespace",
|
||||
"Statistic"
|
||||
],
|
||||
"members": {
|
||||
"MetricName": {},
|
||||
"Namespace": {},
|
||||
"Dimensions": {
|
||||
"shape": "So"
|
||||
},
|
||||
"Statistic": {},
|
||||
"Unit": {}
|
||||
}
|
||||
},
|
||||
"ScheduledActionBufferTime": {
|
||||
"type": "integer"
|
||||
},
|
||||
"PredictiveScalingMaxCapacityBehavior": {},
|
||||
"PredictiveScalingMaxCapacityBuffer": {
|
||||
"type": "integer"
|
||||
},
|
||||
"PredictiveScalingMode": {},
|
||||
"ScalingPolicyUpdateBehavior": {},
|
||||
"DisableDynamicScaling": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Sh": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"TargetValue"
|
||||
],
|
||||
"members": {
|
||||
"PredefinedScalingMetricSpecification": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"PredefinedScalingMetricType"
|
||||
],
|
||||
"members": {
|
||||
"PredefinedScalingMetricType": {},
|
||||
"ResourceLabel": {}
|
||||
}
|
||||
},
|
||||
"CustomizedScalingMetricSpecification": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"MetricName",
|
||||
"Namespace",
|
||||
"Statistic"
|
||||
],
|
||||
"members": {
|
||||
"MetricName": {},
|
||||
"Namespace": {},
|
||||
"Dimensions": {
|
||||
"shape": "So"
|
||||
},
|
||||
"Statistic": {},
|
||||
"Unit": {}
|
||||
}
|
||||
},
|
||||
"TargetValue": {
|
||||
"type": "double"
|
||||
},
|
||||
"DisableScaleIn": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"ScaleOutCooldown": {
|
||||
"type": "integer"
|
||||
},
|
||||
"ScaleInCooldown": {
|
||||
"type": "integer"
|
||||
},
|
||||
"EstimatedInstanceWarmup": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"So": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Name",
|
||||
"Value"
|
||||
],
|
||||
"members": {
|
||||
"Name": {},
|
||||
"Value": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,59 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"ListBackupJobs": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListBackupPlanTemplates": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListBackupPlanVersions": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListBackupPlans": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListBackupSelections": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListBackupVaults": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListProtectedResources": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListRecoveryPointsByBackupVault": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListRecoveryPointsByResource": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListRestoreJobs": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListTags": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,589 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
"CancelJob": [
|
||||
{
|
||||
"input": {
|
||||
"jobId": "1d828f65-7a4d-42e8-996d-3b900ed59dc4",
|
||||
"reason": "Cancelling job."
|
||||
},
|
||||
"output": {
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example cancels a job with the specified job ID.",
|
||||
"id": "to-cancel-a-job-1481152314733",
|
||||
"title": "To cancel a job"
|
||||
}
|
||||
],
|
||||
"CreateComputeEnvironment": [
|
||||
{
|
||||
"input": {
|
||||
"type": "MANAGED",
|
||||
"computeEnvironmentName": "C4OnDemand",
|
||||
"computeResources": {
|
||||
"type": "EC2",
|
||||
"desiredvCpus": 48,
|
||||
"ec2KeyPair": "id_rsa",
|
||||
"instanceRole": "ecsInstanceRole",
|
||||
"instanceTypes": [
|
||||
"c4.large",
|
||||
"c4.xlarge",
|
||||
"c4.2xlarge",
|
||||
"c4.4xlarge",
|
||||
"c4.8xlarge"
|
||||
],
|
||||
"maxvCpus": 128,
|
||||
"minvCpus": 0,
|
||||
"securityGroupIds": [
|
||||
"sg-cf5093b2"
|
||||
],
|
||||
"subnets": [
|
||||
"subnet-220c0e0a",
|
||||
"subnet-1a95556d",
|
||||
"subnet-978f6dce"
|
||||
],
|
||||
"tags": {
|
||||
"Name": "Batch Instance - C4OnDemand"
|
||||
}
|
||||
},
|
||||
"serviceRole": "arn:aws:iam::012345678910:role/AWSBatchServiceRole",
|
||||
"state": "ENABLED"
|
||||
},
|
||||
"output": {
|
||||
"computeEnvironmentArn": "arn:aws:batch:us-east-1:012345678910:compute-environment/C4OnDemand",
|
||||
"computeEnvironmentName": "C4OnDemand"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example creates a managed compute environment with specific C4 instance types that are launched on demand. The compute environment is called C4OnDemand.",
|
||||
"id": "to-create-a-managed-ec2-compute-environment-1481152600017",
|
||||
"title": "To create a managed EC2 compute environment"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"type": "MANAGED",
|
||||
"computeEnvironmentName": "M4Spot",
|
||||
"computeResources": {
|
||||
"type": "SPOT",
|
||||
"bidPercentage": 20,
|
||||
"desiredvCpus": 4,
|
||||
"ec2KeyPair": "id_rsa",
|
||||
"instanceRole": "ecsInstanceRole",
|
||||
"instanceTypes": [
|
||||
"m4"
|
||||
],
|
||||
"maxvCpus": 128,
|
||||
"minvCpus": 0,
|
||||
"securityGroupIds": [
|
||||
"sg-cf5093b2"
|
||||
],
|
||||
"spotIamFleetRole": "arn:aws:iam::012345678910:role/aws-ec2-spot-fleet-role",
|
||||
"subnets": [
|
||||
"subnet-220c0e0a",
|
||||
"subnet-1a95556d",
|
||||
"subnet-978f6dce"
|
||||
],
|
||||
"tags": {
|
||||
"Name": "Batch Instance - M4Spot"
|
||||
}
|
||||
},
|
||||
"serviceRole": "arn:aws:iam::012345678910:role/AWSBatchServiceRole",
|
||||
"state": "ENABLED"
|
||||
},
|
||||
"output": {
|
||||
"computeEnvironmentArn": "arn:aws:batch:us-east-1:012345678910:compute-environment/M4Spot",
|
||||
"computeEnvironmentName": "M4Spot"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example creates a managed compute environment with the M4 instance type that is launched when the Spot bid price is at or below 20% of the On-Demand price for the instance type. The compute environment is called M4Spot.",
|
||||
"id": "to-create-a-managed-ec2-spot-compute-environment-1481152844190",
|
||||
"title": "To create a managed EC2 Spot compute environment"
|
||||
}
|
||||
],
|
||||
"CreateJobQueue": [
|
||||
{
|
||||
"input": {
|
||||
"computeEnvironmentOrder": [
|
||||
{
|
||||
"computeEnvironment": "M4Spot",
|
||||
"order": 1
|
||||
}
|
||||
],
|
||||
"jobQueueName": "LowPriority",
|
||||
"priority": 1,
|
||||
"state": "ENABLED"
|
||||
},
|
||||
"output": {
|
||||
"jobQueueArn": "arn:aws:batch:us-east-1:012345678910:job-queue/LowPriority",
|
||||
"jobQueueName": "LowPriority"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example creates a job queue called LowPriority that uses the M4Spot compute environment.",
|
||||
"id": "to-create-a-job-queue-with-a-single-compute-environment-1481152967946",
|
||||
"title": "To create a job queue with a single compute environment"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"computeEnvironmentOrder": [
|
||||
{
|
||||
"computeEnvironment": "C4OnDemand",
|
||||
"order": 1
|
||||
},
|
||||
{
|
||||
"computeEnvironment": "M4Spot",
|
||||
"order": 2
|
||||
}
|
||||
],
|
||||
"jobQueueName": "HighPriority",
|
||||
"priority": 10,
|
||||
"state": "ENABLED"
|
||||
},
|
||||
"output": {
|
||||
"jobQueueArn": "arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority",
|
||||
"jobQueueName": "HighPriority"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example creates a job queue called HighPriority that uses the C4OnDemand compute environment with an order of 1 and the M4Spot compute environment with an order of 2.",
|
||||
"id": "to-create-a-job-queue-with-multiple-compute-environments-1481153027051",
|
||||
"title": "To create a job queue with multiple compute environments"
|
||||
}
|
||||
],
|
||||
"DeleteComputeEnvironment": [
|
||||
{
|
||||
"input": {
|
||||
"computeEnvironment": "P2OnDemand"
|
||||
},
|
||||
"output": {
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example deletes the P2OnDemand compute environment.",
|
||||
"id": "to-delete-a-compute-environment-1481153105644",
|
||||
"title": "To delete a compute environment"
|
||||
}
|
||||
],
|
||||
"DeleteJobQueue": [
|
||||
{
|
||||
"input": {
|
||||
"jobQueue": "GPGPU"
|
||||
},
|
||||
"output": {
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example deletes the GPGPU job queue.",
|
||||
"id": "to-delete-a-job-queue-1481153508134",
|
||||
"title": "To delete a job queue"
|
||||
}
|
||||
],
|
||||
"DeregisterJobDefinition": [
|
||||
{
|
||||
"input": {
|
||||
"jobDefinition": "sleep10"
|
||||
},
|
||||
"output": {
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example deregisters a job definition called sleep10.",
|
||||
"id": "to-deregister-a-job-definition-1481153579565",
|
||||
"title": "To deregister a job definition"
|
||||
}
|
||||
],
|
||||
"DescribeComputeEnvironments": [
|
||||
{
|
||||
"input": {
|
||||
"computeEnvironments": [
|
||||
"P2OnDemand"
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"computeEnvironments": [
|
||||
{
|
||||
"type": "MANAGED",
|
||||
"computeEnvironmentArn": "arn:aws:batch:us-east-1:012345678910:compute-environment/P2OnDemand",
|
||||
"computeEnvironmentName": "P2OnDemand",
|
||||
"computeResources": {
|
||||
"type": "EC2",
|
||||
"desiredvCpus": 48,
|
||||
"ec2KeyPair": "id_rsa",
|
||||
"instanceRole": "ecsInstanceRole",
|
||||
"instanceTypes": [
|
||||
"p2"
|
||||
],
|
||||
"maxvCpus": 128,
|
||||
"minvCpus": 0,
|
||||
"securityGroupIds": [
|
||||
"sg-cf5093b2"
|
||||
],
|
||||
"subnets": [
|
||||
"subnet-220c0e0a",
|
||||
"subnet-1a95556d",
|
||||
"subnet-978f6dce"
|
||||
],
|
||||
"tags": {
|
||||
"Name": "Batch Instance - P2OnDemand"
|
||||
}
|
||||
},
|
||||
"ecsClusterArn": "arn:aws:ecs:us-east-1:012345678910:cluster/P2OnDemand_Batch_2c06f29d-d1fe-3a49-879d-42394c86effc",
|
||||
"serviceRole": "arn:aws:iam::012345678910:role/AWSBatchServiceRole",
|
||||
"state": "ENABLED",
|
||||
"status": "VALID",
|
||||
"statusReason": "ComputeEnvironment Healthy"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example describes the P2OnDemand compute environment.",
|
||||
"id": "to-describe-a-compute-environment-1481153713334",
|
||||
"title": "To describe a compute environment"
|
||||
}
|
||||
],
|
||||
"DescribeJobDefinitions": [
|
||||
{
|
||||
"input": {
|
||||
"status": "ACTIVE"
|
||||
},
|
||||
"output": {
|
||||
"jobDefinitions": [
|
||||
{
|
||||
"type": "container",
|
||||
"containerProperties": {
|
||||
"command": [
|
||||
"sleep",
|
||||
"60"
|
||||
],
|
||||
"environment": [
|
||||
|
||||
],
|
||||
"image": "busybox",
|
||||
"memory": 128,
|
||||
"mountPoints": [
|
||||
|
||||
],
|
||||
"ulimits": [
|
||||
|
||||
],
|
||||
"vcpus": 1,
|
||||
"volumes": [
|
||||
|
||||
]
|
||||
},
|
||||
"jobDefinitionArn": "arn:aws:batch:us-east-1:012345678910:job-definition/sleep60:1",
|
||||
"jobDefinitionName": "sleep60",
|
||||
"revision": 1,
|
||||
"status": "ACTIVE"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example describes all of your active job definitions.",
|
||||
"id": "to-describe-active-job-definitions-1481153895831",
|
||||
"title": "To describe active job definitions"
|
||||
}
|
||||
],
|
||||
"DescribeJobQueues": [
|
||||
{
|
||||
"input": {
|
||||
"jobQueues": [
|
||||
"HighPriority"
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"jobQueues": [
|
||||
{
|
||||
"computeEnvironmentOrder": [
|
||||
{
|
||||
"computeEnvironment": "arn:aws:batch:us-east-1:012345678910:compute-environment/C4OnDemand",
|
||||
"order": 1
|
||||
}
|
||||
],
|
||||
"jobQueueArn": "arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority",
|
||||
"jobQueueName": "HighPriority",
|
||||
"priority": 1,
|
||||
"state": "ENABLED",
|
||||
"status": "VALID",
|
||||
"statusReason": "JobQueue Healthy"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example describes the HighPriority job queue.",
|
||||
"id": "to-describe-a-job-queue-1481153995804",
|
||||
"title": "To describe a job queue"
|
||||
}
|
||||
],
|
||||
"DescribeJobs": [
|
||||
{
|
||||
"input": {
|
||||
"jobs": [
|
||||
"24fa2d7a-64c4-49d2-8b47-f8da4fbde8e9"
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"jobs": [
|
||||
{
|
||||
"container": {
|
||||
"command": [
|
||||
"sleep",
|
||||
"60"
|
||||
],
|
||||
"containerInstanceArn": "arn:aws:ecs:us-east-1:012345678910:container-instance/5406d7cd-58bd-4b8f-9936-48d7c6b1526c",
|
||||
"environment": [
|
||||
|
||||
],
|
||||
"exitCode": 0,
|
||||
"image": "busybox",
|
||||
"memory": 128,
|
||||
"mountPoints": [
|
||||
|
||||
],
|
||||
"ulimits": [
|
||||
|
||||
],
|
||||
"vcpus": 1,
|
||||
"volumes": [
|
||||
|
||||
]
|
||||
},
|
||||
"createdAt": 1480460782010,
|
||||
"dependsOn": [
|
||||
|
||||
],
|
||||
"jobDefinition": "sleep60",
|
||||
"jobId": "24fa2d7a-64c4-49d2-8b47-f8da4fbde8e9",
|
||||
"jobName": "example",
|
||||
"jobQueue": "arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority",
|
||||
"parameters": {
|
||||
},
|
||||
"startedAt": 1480460816500,
|
||||
"status": "SUCCEEDED",
|
||||
"stoppedAt": 1480460880699
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example describes a job with the specified job ID.",
|
||||
"id": "to-describe-a-specific-job-1481154090490",
|
||||
"title": "To describe a specific job"
|
||||
}
|
||||
],
|
||||
"ListJobs": [
|
||||
{
|
||||
"input": {
|
||||
"jobQueue": "HighPriority"
|
||||
},
|
||||
"output": {
|
||||
"jobSummaryList": [
|
||||
{
|
||||
"jobId": "e66ff5fd-a1ff-4640-b1a2-0b0a142f49bb",
|
||||
"jobName": "example"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example lists the running jobs in the HighPriority job queue.",
|
||||
"id": "to-list-running-jobs-1481154202164",
|
||||
"title": "To list running jobs"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"jobQueue": "HighPriority",
|
||||
"jobStatus": "SUBMITTED"
|
||||
},
|
||||
"output": {
|
||||
"jobSummaryList": [
|
||||
{
|
||||
"jobId": "68f0c163-fbd4-44e6-9fd1-25b14a434786",
|
||||
"jobName": "example"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example lists jobs in the HighPriority job queue that are in the SUBMITTED job status.",
|
||||
"id": "to-list-submitted-jobs-1481154251623",
|
||||
"title": "To list submitted jobs"
|
||||
}
|
||||
],
|
||||
"RegisterJobDefinition": [
|
||||
{
|
||||
"input": {
|
||||
"type": "container",
|
||||
"containerProperties": {
|
||||
"command": [
|
||||
"sleep",
|
||||
"10"
|
||||
],
|
||||
"image": "busybox",
|
||||
"memory": 128,
|
||||
"vcpus": 1
|
||||
},
|
||||
"jobDefinitionName": "sleep10"
|
||||
},
|
||||
"output": {
|
||||
"jobDefinitionArn": "arn:aws:batch:us-east-1:012345678910:job-definition/sleep10:1",
|
||||
"jobDefinitionName": "sleep10",
|
||||
"revision": 1
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example registers a job definition for a simple container job.",
|
||||
"id": "to-register-a-job-definition-1481154325325",
|
||||
"title": "To register a job definition"
|
||||
}
|
||||
],
|
||||
"SubmitJob": [
|
||||
{
|
||||
"input": {
|
||||
"jobDefinition": "sleep60",
|
||||
"jobName": "example",
|
||||
"jobQueue": "HighPriority"
|
||||
},
|
||||
"output": {
|
||||
"jobId": "876da822-4198-45f2-a252-6cea32512ea8",
|
||||
"jobName": "example"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example submits a simple container job called example to the HighPriority job queue.",
|
||||
"id": "to-submit-a-job-to-a-queue-1481154481673",
|
||||
"title": "To submit a job to a queue"
|
||||
}
|
||||
],
|
||||
"TerminateJob": [
|
||||
{
|
||||
"input": {
|
||||
"jobId": "61e743ed-35e4-48da-b2de-5c8333821c84",
|
||||
"reason": "Terminating job."
|
||||
},
|
||||
"output": {
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example terminates a job with the specified job ID.",
|
||||
"id": "to-terminate-a-job-1481154558276",
|
||||
"title": "To terminate a job"
|
||||
}
|
||||
],
|
||||
"UpdateComputeEnvironment": [
|
||||
{
|
||||
"input": {
|
||||
"computeEnvironment": "P2OnDemand",
|
||||
"state": "DISABLED"
|
||||
},
|
||||
"output": {
|
||||
"computeEnvironmentArn": "arn:aws:batch:us-east-1:012345678910:compute-environment/P2OnDemand",
|
||||
"computeEnvironmentName": "P2OnDemand"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example disables the P2OnDemand compute environment so it can be deleted.",
|
||||
"id": "to-update-a-compute-environment-1481154702731",
|
||||
"title": "To update a compute environment"
|
||||
}
|
||||
],
|
||||
"UpdateJobQueue": [
|
||||
{
|
||||
"input": {
|
||||
"jobQueue": "GPGPU",
|
||||
"state": "DISABLED"
|
||||
},
|
||||
"output": {
|
||||
"jobQueueArn": "arn:aws:batch:us-east-1:012345678910:job-queue/GPGPU",
|
||||
"jobQueueName": "GPGPU"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example disables a job queue so that it can be deleted.",
|
||||
"id": "to-update-a-job-queue-1481154806981",
|
||||
"title": "To update a job queue"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
|
@ -1,553 +0,0 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"metadata": {
|
||||
"apiVersion": "2016-10-20",
|
||||
"endpointPrefix": "budgets",
|
||||
"jsonVersion": "1.1",
|
||||
"protocol": "json",
|
||||
"serviceAbbreviation": "AWSBudgets",
|
||||
"serviceFullName": "AWS Budgets",
|
||||
"serviceId": "Budgets",
|
||||
"signatureVersion": "v4",
|
||||
"targetPrefix": "AWSBudgetServiceGateway",
|
||||
"uid": "budgets-2016-10-20"
|
||||
},
|
||||
"operations": {
|
||||
"CreateBudget": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"AccountId",
|
||||
"Budget"
|
||||
],
|
||||
"members": {
|
||||
"AccountId": {},
|
||||
"Budget": {
|
||||
"shape": "S3"
|
||||
},
|
||||
"NotificationsWithSubscribers": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Notification",
|
||||
"Subscribers"
|
||||
],
|
||||
"members": {
|
||||
"Notification": {
|
||||
"shape": "Sk"
|
||||
},
|
||||
"Subscribers": {
|
||||
"shape": "Sq"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"CreateNotification": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"AccountId",
|
||||
"BudgetName",
|
||||
"Notification",
|
||||
"Subscribers"
|
||||
],
|
||||
"members": {
|
||||
"AccountId": {},
|
||||
"BudgetName": {},
|
||||
"Notification": {
|
||||
"shape": "Sk"
|
||||
},
|
||||
"Subscribers": {
|
||||
"shape": "Sq"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"CreateSubscriber": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"AccountId",
|
||||
"BudgetName",
|
||||
"Notification",
|
||||
"Subscriber"
|
||||
],
|
||||
"members": {
|
||||
"AccountId": {},
|
||||
"BudgetName": {},
|
||||
"Notification": {
|
||||
"shape": "Sk"
|
||||
},
|
||||
"Subscriber": {
|
||||
"shape": "Sr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"DeleteBudget": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"AccountId",
|
||||
"BudgetName"
|
||||
],
|
||||
"members": {
|
||||
"AccountId": {},
|
||||
"BudgetName": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"DeleteNotification": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"AccountId",
|
||||
"BudgetName",
|
||||
"Notification"
|
||||
],
|
||||
"members": {
|
||||
"AccountId": {},
|
||||
"BudgetName": {},
|
||||
"Notification": {
|
||||
"shape": "Sk"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"DeleteSubscriber": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"AccountId",
|
||||
"BudgetName",
|
||||
"Notification",
|
||||
"Subscriber"
|
||||
],
|
||||
"members": {
|
||||
"AccountId": {},
|
||||
"BudgetName": {},
|
||||
"Notification": {
|
||||
"shape": "Sk"
|
||||
},
|
||||
"Subscriber": {
|
||||
"shape": "Sr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"DescribeBudget": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"AccountId",
|
||||
"BudgetName"
|
||||
],
|
||||
"members": {
|
||||
"AccountId": {},
|
||||
"BudgetName": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Budget": {
|
||||
"shape": "S3"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DescribeBudgetPerformanceHistory": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"AccountId",
|
||||
"BudgetName"
|
||||
],
|
||||
"members": {
|
||||
"AccountId": {},
|
||||
"BudgetName": {},
|
||||
"TimePeriod": {
|
||||
"shape": "Se"
|
||||
},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"BudgetPerformanceHistory": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"BudgetName": {},
|
||||
"BudgetType": {},
|
||||
"CostFilters": {
|
||||
"shape": "S8"
|
||||
},
|
||||
"CostTypes": {
|
||||
"shape": "Sb"
|
||||
},
|
||||
"TimeUnit": {},
|
||||
"BudgetedAndActualAmountsList": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"BudgetedAmount": {
|
||||
"shape": "S5"
|
||||
},
|
||||
"ActualAmount": {
|
||||
"shape": "S5"
|
||||
},
|
||||
"TimePeriod": {
|
||||
"shape": "Se"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DescribeBudgets": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"AccountId"
|
||||
],
|
||||
"members": {
|
||||
"AccountId": {},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Budgets": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"shape": "S3"
|
||||
}
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DescribeNotificationsForBudget": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"AccountId",
|
||||
"BudgetName"
|
||||
],
|
||||
"members": {
|
||||
"AccountId": {},
|
||||
"BudgetName": {},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Notifications": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"shape": "Sk"
|
||||
}
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DescribeSubscribersForNotification": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"AccountId",
|
||||
"BudgetName",
|
||||
"Notification"
|
||||
],
|
||||
"members": {
|
||||
"AccountId": {},
|
||||
"BudgetName": {},
|
||||
"Notification": {
|
||||
"shape": "Sk"
|
||||
},
|
||||
"MaxResults": {
|
||||
"type": "integer"
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Subscribers": {
|
||||
"shape": "Sq"
|
||||
},
|
||||
"NextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"UpdateBudget": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"AccountId",
|
||||
"NewBudget"
|
||||
],
|
||||
"members": {
|
||||
"AccountId": {},
|
||||
"NewBudget": {
|
||||
"shape": "S3"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"UpdateNotification": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"AccountId",
|
||||
"BudgetName",
|
||||
"OldNotification",
|
||||
"NewNotification"
|
||||
],
|
||||
"members": {
|
||||
"AccountId": {},
|
||||
"BudgetName": {},
|
||||
"OldNotification": {
|
||||
"shape": "Sk"
|
||||
},
|
||||
"NewNotification": {
|
||||
"shape": "Sk"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
},
|
||||
"UpdateSubscriber": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"AccountId",
|
||||
"BudgetName",
|
||||
"Notification",
|
||||
"OldSubscriber",
|
||||
"NewSubscriber"
|
||||
],
|
||||
"members": {
|
||||
"AccountId": {},
|
||||
"BudgetName": {},
|
||||
"Notification": {
|
||||
"shape": "Sk"
|
||||
},
|
||||
"OldSubscriber": {
|
||||
"shape": "Sr"
|
||||
},
|
||||
"NewSubscriber": {
|
||||
"shape": "Sr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"shapes": {
|
||||
"S3": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"BudgetName",
|
||||
"TimeUnit",
|
||||
"BudgetType"
|
||||
],
|
||||
"members": {
|
||||
"BudgetName": {},
|
||||
"BudgetLimit": {
|
||||
"shape": "S5"
|
||||
},
|
||||
"CostFilters": {
|
||||
"shape": "S8"
|
||||
},
|
||||
"CostTypes": {
|
||||
"shape": "Sb"
|
||||
},
|
||||
"TimeUnit": {},
|
||||
"TimePeriod": {
|
||||
"shape": "Se"
|
||||
},
|
||||
"CalculatedSpend": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"ActualSpend"
|
||||
],
|
||||
"members": {
|
||||
"ActualSpend": {
|
||||
"shape": "S5"
|
||||
},
|
||||
"ForecastedSpend": {
|
||||
"shape": "S5"
|
||||
}
|
||||
}
|
||||
},
|
||||
"BudgetType": {},
|
||||
"LastUpdatedTime": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
}
|
||||
},
|
||||
"S5": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Amount",
|
||||
"Unit"
|
||||
],
|
||||
"members": {
|
||||
"Amount": {},
|
||||
"Unit": {}
|
||||
}
|
||||
},
|
||||
"S8": {
|
||||
"type": "map",
|
||||
"key": {},
|
||||
"value": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
}
|
||||
},
|
||||
"Sb": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"IncludeTax": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"IncludeSubscription": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"UseBlended": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"IncludeRefund": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"IncludeCredit": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"IncludeUpfront": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"IncludeRecurring": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"IncludeOtherSubscription": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"IncludeSupport": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"IncludeDiscount": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"UseAmortized": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Se": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Start": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"End": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Sk": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"NotificationType",
|
||||
"ComparisonOperator",
|
||||
"Threshold"
|
||||
],
|
||||
"members": {
|
||||
"NotificationType": {},
|
||||
"ComparisonOperator": {},
|
||||
"Threshold": {
|
||||
"type": "double"
|
||||
},
|
||||
"ThresholdType": {},
|
||||
"NotificationState": {}
|
||||
}
|
||||
},
|
||||
"Sq": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"shape": "Sr"
|
||||
}
|
||||
},
|
||||
"Sr": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"SubscriptionType",
|
||||
"Address"
|
||||
],
|
||||
"members": {
|
||||
"SubscriptionType": {},
|
||||
"Address": {
|
||||
"type": "string",
|
||||
"sensitive": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
|
@ -1,654 +0,0 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"metadata": {
|
||||
"apiVersion": "2017-10-25",
|
||||
"endpointPrefix": "ce",
|
||||
"jsonVersion": "1.1",
|
||||
"protocol": "json",
|
||||
"serviceAbbreviation": "AWS Cost Explorer",
|
||||
"serviceFullName": "AWS Cost Explorer Service",
|
||||
"serviceId": "Cost Explorer",
|
||||
"signatureVersion": "v4",
|
||||
"signingName": "ce",
|
||||
"targetPrefix": "AWSInsightsIndexService",
|
||||
"uid": "ce-2017-10-25"
|
||||
},
|
||||
"operations": {
|
||||
"GetCostAndUsage": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"TimePeriod"
|
||||
],
|
||||
"members": {
|
||||
"TimePeriod": {
|
||||
"shape": "S2"
|
||||
},
|
||||
"Granularity": {},
|
||||
"Filter": {
|
||||
"shape": "S5"
|
||||
},
|
||||
"Metrics": {
|
||||
"shape": "Sd"
|
||||
},
|
||||
"GroupBy": {
|
||||
"shape": "Sf"
|
||||
},
|
||||
"NextPageToken": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"NextPageToken": {},
|
||||
"GroupDefinitions": {
|
||||
"shape": "Sf"
|
||||
},
|
||||
"ResultsByTime": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"TimePeriod": {
|
||||
"shape": "S2"
|
||||
},
|
||||
"Total": {
|
||||
"shape": "Sn"
|
||||
},
|
||||
"Groups": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Keys": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
},
|
||||
"Metrics": {
|
||||
"shape": "Sn"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Estimated": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetCostForecast": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"TimePeriod",
|
||||
"Metric",
|
||||
"Granularity"
|
||||
],
|
||||
"members": {
|
||||
"TimePeriod": {
|
||||
"shape": "S2"
|
||||
},
|
||||
"Metric": {},
|
||||
"Granularity": {},
|
||||
"Filter": {
|
||||
"shape": "S5"
|
||||
},
|
||||
"PredictionIntervalLevel": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Total": {
|
||||
"shape": "So"
|
||||
},
|
||||
"ForecastResultsByTime": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"TimePeriod": {
|
||||
"shape": "S2"
|
||||
},
|
||||
"MeanValue": {},
|
||||
"PredictionIntervalLowerBound": {},
|
||||
"PredictionIntervalUpperBound": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetDimensionValues": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"TimePeriod",
|
||||
"Dimension"
|
||||
],
|
||||
"members": {
|
||||
"SearchString": {},
|
||||
"TimePeriod": {
|
||||
"shape": "S2"
|
||||
},
|
||||
"Dimension": {},
|
||||
"Context": {},
|
||||
"NextPageToken": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"DimensionValues",
|
||||
"ReturnSize",
|
||||
"TotalSize"
|
||||
],
|
||||
"members": {
|
||||
"DimensionValues": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Value": {},
|
||||
"Attributes": {
|
||||
"shape": "S19"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ReturnSize": {
|
||||
"type": "integer"
|
||||
},
|
||||
"TotalSize": {
|
||||
"type": "integer"
|
||||
},
|
||||
"NextPageToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetReservationCoverage": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"TimePeriod"
|
||||
],
|
||||
"members": {
|
||||
"TimePeriod": {
|
||||
"shape": "S2"
|
||||
},
|
||||
"GroupBy": {
|
||||
"shape": "Sf"
|
||||
},
|
||||
"Granularity": {},
|
||||
"Filter": {
|
||||
"shape": "S5"
|
||||
},
|
||||
"Metrics": {
|
||||
"shape": "Sd"
|
||||
},
|
||||
"NextPageToken": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"CoveragesByTime"
|
||||
],
|
||||
"members": {
|
||||
"CoveragesByTime": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"TimePeriod": {
|
||||
"shape": "S2"
|
||||
},
|
||||
"Groups": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Attributes": {
|
||||
"shape": "S19"
|
||||
},
|
||||
"Coverage": {
|
||||
"shape": "S1j"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Total": {
|
||||
"shape": "S1j"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Total": {
|
||||
"shape": "S1j"
|
||||
},
|
||||
"NextPageToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetReservationPurchaseRecommendation": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Service"
|
||||
],
|
||||
"members": {
|
||||
"AccountId": {},
|
||||
"Service": {},
|
||||
"AccountScope": {},
|
||||
"LookbackPeriodInDays": {},
|
||||
"TermInYears": {},
|
||||
"PaymentOption": {},
|
||||
"ServiceSpecification": {
|
||||
"shape": "S21"
|
||||
},
|
||||
"PageSize": {
|
||||
"type": "integer"
|
||||
},
|
||||
"NextPageToken": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Metadata": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"RecommendationId": {},
|
||||
"GenerationTimestamp": {}
|
||||
}
|
||||
},
|
||||
"Recommendations": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"AccountScope": {},
|
||||
"LookbackPeriodInDays": {},
|
||||
"TermInYears": {},
|
||||
"PaymentOption": {},
|
||||
"ServiceSpecification": {
|
||||
"shape": "S21"
|
||||
},
|
||||
"RecommendationDetails": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"AccountId": {},
|
||||
"InstanceDetails": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"EC2InstanceDetails": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Family": {},
|
||||
"InstanceType": {},
|
||||
"Region": {},
|
||||
"AvailabilityZone": {},
|
||||
"Platform": {},
|
||||
"Tenancy": {},
|
||||
"CurrentGeneration": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"SizeFlexEligible": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"RDSInstanceDetails": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Family": {},
|
||||
"InstanceType": {},
|
||||
"Region": {},
|
||||
"DatabaseEngine": {},
|
||||
"DatabaseEdition": {},
|
||||
"DeploymentOption": {},
|
||||
"LicenseModel": {},
|
||||
"CurrentGeneration": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"SizeFlexEligible": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"RedshiftInstanceDetails": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Family": {},
|
||||
"NodeType": {},
|
||||
"Region": {},
|
||||
"CurrentGeneration": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"SizeFlexEligible": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"ElastiCacheInstanceDetails": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Family": {},
|
||||
"NodeType": {},
|
||||
"Region": {},
|
||||
"ProductDescription": {},
|
||||
"CurrentGeneration": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"SizeFlexEligible": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"ESInstanceDetails": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"InstanceClass": {},
|
||||
"InstanceSize": {},
|
||||
"Region": {},
|
||||
"CurrentGeneration": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"SizeFlexEligible": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"RecommendedNumberOfInstancesToPurchase": {},
|
||||
"RecommendedNormalizedUnitsToPurchase": {},
|
||||
"MinimumNumberOfInstancesUsedPerHour": {},
|
||||
"MinimumNormalizedUnitsUsedPerHour": {},
|
||||
"MaximumNumberOfInstancesUsedPerHour": {},
|
||||
"MaximumNormalizedUnitsUsedPerHour": {},
|
||||
"AverageNumberOfInstancesUsedPerHour": {},
|
||||
"AverageNormalizedUnitsUsedPerHour": {},
|
||||
"AverageUtilization": {},
|
||||
"EstimatedBreakEvenInMonths": {},
|
||||
"CurrencyCode": {},
|
||||
"EstimatedMonthlySavingsAmount": {},
|
||||
"EstimatedMonthlySavingsPercentage": {},
|
||||
"EstimatedMonthlyOnDemandCost": {},
|
||||
"EstimatedReservationCostForLookbackPeriod": {},
|
||||
"UpfrontCost": {},
|
||||
"RecurringStandardMonthlyCost": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"RecommendationSummary": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"TotalEstimatedMonthlySavingsAmount": {},
|
||||
"TotalEstimatedMonthlySavingsPercentage": {},
|
||||
"CurrencyCode": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"NextPageToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetReservationUtilization": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"TimePeriod"
|
||||
],
|
||||
"members": {
|
||||
"TimePeriod": {
|
||||
"shape": "S2"
|
||||
},
|
||||
"GroupBy": {
|
||||
"shape": "Sf"
|
||||
},
|
||||
"Granularity": {},
|
||||
"Filter": {
|
||||
"shape": "S5"
|
||||
},
|
||||
"NextPageToken": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"UtilizationsByTime"
|
||||
],
|
||||
"members": {
|
||||
"UtilizationsByTime": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"TimePeriod": {
|
||||
"shape": "S2"
|
||||
},
|
||||
"Groups": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Key": {},
|
||||
"Value": {},
|
||||
"Attributes": {
|
||||
"shape": "S19"
|
||||
},
|
||||
"Utilization": {
|
||||
"shape": "S2r"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Total": {
|
||||
"shape": "S2r"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Total": {
|
||||
"shape": "S2r"
|
||||
},
|
||||
"NextPageToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetTags": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"TimePeriod"
|
||||
],
|
||||
"members": {
|
||||
"SearchString": {},
|
||||
"TimePeriod": {
|
||||
"shape": "S2"
|
||||
},
|
||||
"TagKey": {},
|
||||
"NextPageToken": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Tags",
|
||||
"ReturnSize",
|
||||
"TotalSize"
|
||||
],
|
||||
"members": {
|
||||
"NextPageToken": {},
|
||||
"Tags": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
},
|
||||
"ReturnSize": {
|
||||
"type": "integer"
|
||||
},
|
||||
"TotalSize": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"shapes": {
|
||||
"S2": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"Start",
|
||||
"End"
|
||||
],
|
||||
"members": {
|
||||
"Start": {},
|
||||
"End": {}
|
||||
}
|
||||
},
|
||||
"S5": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Or": {
|
||||
"shape": "S6"
|
||||
},
|
||||
"And": {
|
||||
"shape": "S6"
|
||||
},
|
||||
"Not": {
|
||||
"shape": "S5"
|
||||
},
|
||||
"Dimensions": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Key": {},
|
||||
"Values": {
|
||||
"shape": "S9"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Tags": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Key": {},
|
||||
"Values": {
|
||||
"shape": "S9"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"S6": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"shape": "S5"
|
||||
}
|
||||
},
|
||||
"S9": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
},
|
||||
"Sd": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
},
|
||||
"Sf": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Type": {},
|
||||
"Key": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Sn": {
|
||||
"type": "map",
|
||||
"key": {},
|
||||
"value": {
|
||||
"shape": "So"
|
||||
}
|
||||
},
|
||||
"So": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"Amount": {},
|
||||
"Unit": {}
|
||||
}
|
||||
},
|
||||
"S19": {
|
||||
"type": "map",
|
||||
"key": {},
|
||||
"value": {}
|
||||
},
|
||||
"S1j": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"CoverageHours": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"OnDemandHours": {},
|
||||
"ReservedHours": {},
|
||||
"TotalRunningHours": {},
|
||||
"CoverageHoursPercentage": {}
|
||||
}
|
||||
},
|
||||
"CoverageNormalizedUnits": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"OnDemandNormalizedUnits": {},
|
||||
"ReservedNormalizedUnits": {},
|
||||
"TotalRunningNormalizedUnits": {},
|
||||
"CoverageNormalizedUnitsPercentage": {}
|
||||
}
|
||||
},
|
||||
"CoverageCost": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"OnDemandCost": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"S21": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"EC2Specification": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"OfferingClass": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"S2r": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"UtilizationPercentage": {},
|
||||
"UtilizationPercentageInUnits": {},
|
||||
"PurchasedHours": {},
|
||||
"PurchasedUnits": {},
|
||||
"TotalActualHours": {},
|
||||
"TotalActualUnits": {},
|
||||
"UnusedHours": {},
|
||||
"UnusedUnits": {},
|
||||
"OnDemandCostOfRIHoursUsed": {},
|
||||
"NetRISavings": {},
|
||||
"TotalPotentialRISavings": {},
|
||||
"AmortizedUpfrontFee": {},
|
||||
"AmortizedRecurringFee": {},
|
||||
"TotalAmortizedFee": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,29 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"ListAccounts": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListPhoneNumberOrders": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListPhoneNumbers": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListUsers": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListVoiceConnectors": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,308 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
"CreateEnvironmentEC2": [
|
||||
{
|
||||
"input": {
|
||||
"name": "my-demo-environment",
|
||||
"automaticStopTimeMinutes": 60,
|
||||
"description": "This is my demonstration environment.",
|
||||
"instanceType": "t2.micro",
|
||||
"ownerArn": "arn:aws:iam::123456789012:user/MyDemoUser",
|
||||
"subnetId": "subnet-1fab8aEX"
|
||||
},
|
||||
"output": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "createenvironmentec2-1516821730547",
|
||||
"title": "CreateEnvironmentEC2"
|
||||
}
|
||||
],
|
||||
"CreateEnvironmentMembership": [
|
||||
{
|
||||
"input": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"permissions": "read-write",
|
||||
"userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser"
|
||||
},
|
||||
"output": {
|
||||
"membership": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"permissions": "read-write",
|
||||
"userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser",
|
||||
"userId": "AIDAJ3BA6O2FMJWCWXHEX"
|
||||
}
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "createenvironmentmembership-1516822583452",
|
||||
"title": "CreateEnvironmentMembership"
|
||||
}
|
||||
],
|
||||
"DeleteEnvironment": [
|
||||
{
|
||||
"input": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
|
||||
},
|
||||
"output": {
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "deleteenvironment-1516822903149",
|
||||
"title": "DeleteEnvironment"
|
||||
}
|
||||
],
|
||||
"DeleteEnvironmentMembership": [
|
||||
{
|
||||
"input": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser"
|
||||
},
|
||||
"output": {
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "deleteenvironmentmembership-1516822975655",
|
||||
"title": "DeleteEnvironmentMembership"
|
||||
}
|
||||
],
|
||||
"DescribeEnvironmentMemberships": [
|
||||
{
|
||||
"input": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
|
||||
},
|
||||
"output": {
|
||||
"memberships": [
|
||||
{
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"permissions": "read-write",
|
||||
"userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser",
|
||||
"userId": "AIDAJ3BA6O2FMJWCWXHEX"
|
||||
},
|
||||
{
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"permissions": "owner",
|
||||
"userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
|
||||
"userId": "AIDAJNUEDQAQWFELJDLEX"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example gets information about all of the environment members for the specified AWS Cloud9 development environment.",
|
||||
"id": "describeenvironmentmemberships1-1516823070453",
|
||||
"title": "DescribeEnvironmentMemberships1"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"permissions": [
|
||||
"owner"
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"memberships": [
|
||||
{
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"permissions": "owner",
|
||||
"userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
|
||||
"userId": "AIDAJNUEDQAQWFELJDLEX"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example gets information about the owner of the specified AWS Cloud9 development environment.",
|
||||
"id": "describeenvironmentmemberships2-1516823191355",
|
||||
"title": "DescribeEnvironmentMemberships2"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"userArn": "arn:aws:iam::123456789012:user/MyDemoUser"
|
||||
},
|
||||
"output": {
|
||||
"memberships": [
|
||||
{
|
||||
"environmentId": "10a75714bd494714929e7f5ec4125aEX",
|
||||
"lastAccess": "2018-01-19T11:06:13Z",
|
||||
"permissions": "owner",
|
||||
"userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
|
||||
"userId": "AIDAJNUEDQAQWFELJDLEX"
|
||||
},
|
||||
{
|
||||
"environmentId": "12bfc3cd537f41cb9776f8af5525c9EX",
|
||||
"lastAccess": "2018-01-19T11:39:19Z",
|
||||
"permissions": "owner",
|
||||
"userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
|
||||
"userId": "AIDAJNUEDQAQWFELJDLEX"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example gets AWS Cloud9 development environment membership information for the specified user.",
|
||||
"id": "describeenvironmentmemberships3-1516823268793",
|
||||
"title": "DescribeEnvironmentMemberships3"
|
||||
}
|
||||
],
|
||||
"DescribeEnvironmentStatus": [
|
||||
{
|
||||
"input": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
|
||||
},
|
||||
"output": {
|
||||
"message": "Environment is ready to use",
|
||||
"status": "ready"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "describeenvironmentstatus-1516823462133",
|
||||
"title": "DescribeEnvironmentStatus"
|
||||
}
|
||||
],
|
||||
"DescribeEnvironments": [
|
||||
{
|
||||
"input": {
|
||||
"environmentIds": [
|
||||
"8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"349c86d4579e4e7298d500ff57a6b2EX"
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"environments": [
|
||||
{
|
||||
"name": "my-demo-environment",
|
||||
"type": "ec2",
|
||||
"arn": "arn:aws:cloud9:us-east-2:123456789012:environment:8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"description": "This is my demonstration environment.",
|
||||
"id": "8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"ownerArn": "arn:aws:iam::123456789012:user/MyDemoUser"
|
||||
},
|
||||
{
|
||||
"name": "another-demo-environment",
|
||||
"type": "ssh",
|
||||
"arn": "arn:aws:cloud9:us-east-2:123456789012:environment:349c86d4579e4e7298d500ff57a6b2EX",
|
||||
"id": "349c86d4579e4e7298d500ff57a6b2EX",
|
||||
"ownerArn": "arn:aws:sts::123456789012:assumed-role/AnotherDemoUser/AnotherDemoUser"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "describeenvironments-1516823568291",
|
||||
"title": "DescribeEnvironments"
|
||||
}
|
||||
],
|
||||
"ListEnvironments": [
|
||||
{
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
"environmentIds": [
|
||||
"349c86d4579e4e7298d500ff57a6b2EX",
|
||||
"45a3da47af0840f2b0c0824f5ee232EX"
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "listenvironments-1516823687205",
|
||||
"title": "ListEnvironments"
|
||||
}
|
||||
],
|
||||
"UpdateEnvironment": [
|
||||
{
|
||||
"input": {
|
||||
"name": "my-changed-demo-environment",
|
||||
"description": "This is my changed demonstration environment.",
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
|
||||
},
|
||||
"output": {
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "updateenvironment-1516823781910",
|
||||
"title": "UpdateEnvironment"
|
||||
}
|
||||
],
|
||||
"UpdateEnvironmentMembership": [
|
||||
{
|
||||
"input": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"permissions": "read-only",
|
||||
"userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser"
|
||||
},
|
||||
"output": {
|
||||
"membership": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69eb31",
|
||||
"permissions": "read-only",
|
||||
"userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser",
|
||||
"userId": "AIDAJ3BA6O2FMJWCWXHEX"
|
||||
}
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "updateenvironmentmembership-1516823876645",
|
||||
"title": "UpdateEnvironmentMembership"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -1,276 +0,0 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"metadata": {
|
||||
"apiVersion": "2017-09-23",
|
||||
"endpointPrefix": "cloud9",
|
||||
"jsonVersion": "1.1",
|
||||
"protocol": "json",
|
||||
"serviceFullName": "AWS Cloud9",
|
||||
"serviceId": "Cloud9",
|
||||
"signatureVersion": "v4",
|
||||
"targetPrefix": "AWSCloud9WorkspaceManagementService",
|
||||
"uid": "cloud9-2017-09-23"
|
||||
},
|
||||
"operations": {
|
||||
"CreateEnvironmentEC2": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"name",
|
||||
"instanceType"
|
||||
],
|
||||
"members": {
|
||||
"name": {},
|
||||
"description": {
|
||||
"shape": "S3"
|
||||
},
|
||||
"clientRequestToken": {},
|
||||
"instanceType": {},
|
||||
"subnetId": {},
|
||||
"automaticStopTimeMinutes": {
|
||||
"type": "integer"
|
||||
},
|
||||
"ownerArn": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"environmentId": {}
|
||||
}
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"CreateEnvironmentMembership": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"environmentId",
|
||||
"userArn",
|
||||
"permissions"
|
||||
],
|
||||
"members": {
|
||||
"environmentId": {},
|
||||
"userArn": {},
|
||||
"permissions": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"membership": {
|
||||
"shape": "Se"
|
||||
}
|
||||
}
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"DeleteEnvironment": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"environmentId"
|
||||
],
|
||||
"members": {
|
||||
"environmentId": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"DeleteEnvironmentMembership": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"environmentId",
|
||||
"userArn"
|
||||
],
|
||||
"members": {
|
||||
"environmentId": {},
|
||||
"userArn": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"DescribeEnvironmentMemberships": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"userArn": {},
|
||||
"environmentId": {},
|
||||
"permissions": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
},
|
||||
"nextToken": {},
|
||||
"maxResults": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"memberships": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"shape": "Se"
|
||||
}
|
||||
},
|
||||
"nextToken": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DescribeEnvironmentStatus": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"environmentId"
|
||||
],
|
||||
"members": {
|
||||
"environmentId": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"status": {},
|
||||
"message": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DescribeEnvironments": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"environmentIds"
|
||||
],
|
||||
"members": {
|
||||
"environmentIds": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"environments": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"id": {},
|
||||
"name": {},
|
||||
"description": {
|
||||
"shape": "S3"
|
||||
},
|
||||
"type": {},
|
||||
"arn": {},
|
||||
"ownerArn": {},
|
||||
"lifecycle": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"status": {},
|
||||
"reason": {},
|
||||
"failureResource": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ListEnvironments": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"nextToken": {},
|
||||
"maxResults": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"nextToken": {},
|
||||
"environmentIds": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"UpdateEnvironment": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"environmentId"
|
||||
],
|
||||
"members": {
|
||||
"environmentId": {},
|
||||
"name": {},
|
||||
"description": {
|
||||
"shape": "S3"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"UpdateEnvironmentMembership": {
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"environmentId",
|
||||
"userArn",
|
||||
"permissions"
|
||||
],
|
||||
"members": {
|
||||
"environmentId": {},
|
||||
"userArn": {},
|
||||
"permissions": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"membership": {
|
||||
"shape": "Se"
|
||||
}
|
||||
}
|
||||
},
|
||||
"idempotent": true
|
||||
}
|
||||
},
|
||||
"shapes": {
|
||||
"S3": {
|
||||
"type": "string",
|
||||
"sensitive": true
|
||||
},
|
||||
"Se": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"permissions": {},
|
||||
"userId": {},
|
||||
"userArn": {},
|
||||
"environmentId": {},
|
||||
"lastAccess": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"DescribeEnvironmentMemberships": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"limit_key": "maxResults"
|
||||
},
|
||||
"ListEnvironments": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"limit_key": "maxResults"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,94 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"ListAppliedSchemaArns": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListAttachedIndices": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListDevelopmentSchemaArns": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListDirectories": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListFacetAttributes": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListFacetNames": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListIndex": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListObjectAttributes": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListObjectChildren": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListObjectParentPaths": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListObjectParents": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListObjectPolicies": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListPolicyAttachments": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListPublishedSchemaArns": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListTagsForResource": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListTypedLinkFacetAttributes": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListTypedLinkFacetNames": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"LookupPolicy": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,99 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"ListAppliedSchemaArns": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListAttachedIndices": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListDevelopmentSchemaArns": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListDirectories": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListFacetAttributes": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListFacetNames": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListIndex": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListManagedSchemaArns": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListObjectAttributes": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListObjectChildren": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListObjectParentPaths": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListObjectParents": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListObjectPolicies": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListPolicyAttachments": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListPublishedSchemaArns": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListTagsForResource": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListTypedLinkFacetAttributes": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListTypedLinkFacetNames": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"LookupPolicy": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,42 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"DescribeStackEvents": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "StackEvents"
|
||||
},
|
||||
"DescribeStackResourceDrifts": {
|
||||
"input_token": "NextToken",
|
||||
"limit_key": "MaxResults",
|
||||
"output_token": "NextToken"
|
||||
},
|
||||
"DescribeStackResources": {
|
||||
"result_key": "StackResources"
|
||||
},
|
||||
"DescribeStacks": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "Stacks"
|
||||
},
|
||||
"ListExports": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "Exports"
|
||||
},
|
||||
"ListImports": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "Imports"
|
||||
},
|
||||
"ListStackResources": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "StackResourceSummaries"
|
||||
},
|
||||
"ListStacks": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "StackSummaries"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,182 +0,0 @@
|
|||
{
|
||||
"version": 2,
|
||||
"waiters": {
|
||||
"StackExists": {
|
||||
"delay": 5,
|
||||
"operation": "DescribeStacks",
|
||||
"maxAttempts": 20,
|
||||
"acceptors": [
|
||||
{
|
||||
"matcher": "status",
|
||||
"expected": 200,
|
||||
"state": "success"
|
||||
},
|
||||
{
|
||||
"matcher": "error",
|
||||
"expected": "ValidationError",
|
||||
"state": "retry"
|
||||
}
|
||||
]
|
||||
},
|
||||
"StackCreateComplete": {
|
||||
"delay": 30,
|
||||
"operation": "DescribeStacks",
|
||||
"maxAttempts": 120,
|
||||
"description": "Wait until stack status is CREATE_COMPLETE.",
|
||||
"acceptors": [
|
||||
{
|
||||
"argument": "Stacks[].StackStatus",
|
||||
"expected": "CREATE_COMPLETE",
|
||||
"matcher": "pathAll",
|
||||
"state": "success"
|
||||
},
|
||||
{
|
||||
"argument": "Stacks[].StackStatus",
|
||||
"expected": "CREATE_FAILED",
|
||||
"matcher": "pathAny",
|
||||
"state": "failure"
|
||||
},
|
||||
{
|
||||
"argument": "Stacks[].StackStatus",
|
||||
"expected": "DELETE_COMPLETE",
|
||||
"matcher": "pathAny",
|
||||
"state": "failure"
|
||||
},
|
||||
{
|
||||
"argument": "Stacks[].StackStatus",
|
||||
"expected": "DELETE_FAILED",
|
||||
"matcher": "pathAny",
|
||||
"state": "failure"
|
||||
},
|
||||
{
|
||||
"argument": "Stacks[].StackStatus",
|
||||
"expected": "ROLLBACK_FAILED",
|
||||
"matcher": "pathAny",
|
||||
"state": "failure"
|
||||
},
|
||||
{
|
||||
"argument": "Stacks[].StackStatus",
|
||||
"expected": "ROLLBACK_COMPLETE",
|
||||
"matcher": "pathAny",
|
||||
"state": "failure"
|
||||
},
|
||||
{
|
||||
"expected": "ValidationError",
|
||||
"matcher": "error",
|
||||
"state": "failure"
|
||||
}
|
||||
]
|
||||
},
|
||||
"StackDeleteComplete": {
|
||||
"delay": 30,
|
||||
"operation": "DescribeStacks",
|
||||
"maxAttempts": 120,
|
||||
"description": "Wait until stack status is DELETE_COMPLETE.",
|
||||
"acceptors": [
|
||||
{
|
||||
"argument": "Stacks[].StackStatus",
|
||||
"expected": "DELETE_COMPLETE",
|
||||
"matcher": "pathAll",
|
||||
"state": "success"
|
||||
},
|
||||
{
|
||||
"expected": "ValidationError",
|
||||
"matcher": "error",
|
||||
"state": "success"
|
||||
},
|
||||
{
|
||||
"argument": "Stacks[].StackStatus",
|
||||
"expected": "DELETE_FAILED",
|
||||
"matcher": "pathAny",
|
||||
"state": "failure"
|
||||
},
|
||||
{
|
||||
"argument": "Stacks[].StackStatus",
|
||||
"expected": "CREATE_FAILED",
|
||||
"matcher": "pathAny",
|
||||
"state": "failure"
|
||||
},
|
||||
{
|
||||
"argument": "Stacks[].StackStatus",
|
||||
"expected": "ROLLBACK_FAILED",
|
||||
"matcher": "pathAny",
|
||||
"state": "failure"
|
||||
},
|
||||
{
|
||||
"argument": "Stacks[].StackStatus",
|
||||
"expected": "UPDATE_ROLLBACK_FAILED",
|
||||
"matcher": "pathAny",
|
||||
"state": "failure"
|
||||
},
|
||||
{
|
||||
"argument": "Stacks[].StackStatus",
|
||||
"expected": "UPDATE_ROLLBACK_IN_PROGRESS",
|
||||
"matcher": "pathAny",
|
||||
"state": "failure"
|
||||
}
|
||||
]
|
||||
},
|
||||
"StackUpdateComplete": {
|
||||
"delay": 30,
|
||||
"maxAttempts": 120,
|
||||
"operation": "DescribeStacks",
|
||||
"description": "Wait until stack status is UPDATE_COMPLETE.",
|
||||
"acceptors": [
|
||||
{
|
||||
"argument": "Stacks[].StackStatus",
|
||||
"expected": "UPDATE_COMPLETE",
|
||||
"matcher": "pathAll",
|
||||
"state": "success"
|
||||
},
|
||||
{
|
||||
"expected": "UPDATE_FAILED",
|
||||
"matcher": "pathAny",
|
||||
"state": "failure",
|
||||
"argument": "Stacks[].StackStatus"
|
||||
},
|
||||
{
|
||||
"argument": "Stacks[].StackStatus",
|
||||
"expected": "UPDATE_ROLLBACK_FAILED",
|
||||
"matcher": "pathAny",
|
||||
"state": "failure"
|
||||
},
|
||||
{
|
||||
"expected": "UPDATE_ROLLBACK_COMPLETE",
|
||||
"matcher": "pathAny",
|
||||
"state": "failure",
|
||||
"argument": "Stacks[].StackStatus"
|
||||
},
|
||||
{
|
||||
"expected": "ValidationError",
|
||||
"matcher": "error",
|
||||
"state": "failure"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ChangeSetCreateComplete": {
|
||||
"delay": 30,
|
||||
"operation": "DescribeChangeSet",
|
||||
"maxAttempts": 120,
|
||||
"description": "Wait until change set status is CREATE_COMPLETE.",
|
||||
"acceptors": [
|
||||
{
|
||||
"argument": "Status",
|
||||
"expected": "CREATE_COMPLETE",
|
||||
"matcher": "path",
|
||||
"state": "success"
|
||||
},
|
||||
{
|
||||
"argument": "Status",
|
||||
"expected": "FAILED",
|
||||
"matcher": "path",
|
||||
"state": "failure"
|
||||
},
|
||||
{
|
||||
"expected": "ValidationError",
|
||||
"matcher": "error",
|
||||
"state": "failure"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"ListCloudFrontOriginAccessIdentities": {
|
||||
"input_token": "Marker",
|
||||
"output_token": "CloudFrontOriginAccessIdentityList.NextMarker",
|
||||
"limit_key": "MaxItems",
|
||||
"more_results": "CloudFrontOriginAccessIdentityList.IsTruncated",
|
||||
"result_key": "CloudFrontOriginAccessIdentityList.Items"
|
||||
},
|
||||
"ListDistributions": {
|
||||
"input_token": "Marker",
|
||||
"output_token": "DistributionList.NextMarker",
|
||||
"limit_key": "MaxItems",
|
||||
"more_results": "DistributionList.IsTruncated",
|
||||
"result_key": "DistributionList.Items"
|
||||
},
|
||||
"ListInvalidations": {
|
||||
"input_token": "Marker",
|
||||
"output_token": "InvalidationList.NextMarker",
|
||||
"limit_key": "MaxItems",
|
||||
"more_results": "InvalidationList.IsTruncated",
|
||||
"result_key": "InvalidationList.Items"
|
||||
},
|
||||
"ListStreamingDistributions": {
|
||||
"input_token": "Marker",
|
||||
"output_token": "StreamingDistributionList.NextMarker",
|
||||
"limit_key": "MaxItems",
|
||||
"more_results": "StreamingDistributionList.IsTruncated",
|
||||
"result_key": "StreamingDistributionList.Items"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,47 +0,0 @@
|
|||
{
|
||||
"version": 2,
|
||||
"waiters": {
|
||||
"DistributionDeployed": {
|
||||
"delay": 60,
|
||||
"operation": "GetDistribution",
|
||||
"maxAttempts": 25,
|
||||
"description": "Wait until a distribution is deployed.",
|
||||
"acceptors": [
|
||||
{
|
||||
"expected": "Deployed",
|
||||
"matcher": "path",
|
||||
"state": "success",
|
||||
"argument": "Distribution.Status"
|
||||
}
|
||||
]
|
||||
},
|
||||
"InvalidationCompleted": {
|
||||
"delay": 20,
|
||||
"operation": "GetInvalidation",
|
||||
"maxAttempts": 30,
|
||||
"description": "Wait until an invalidation has completed.",
|
||||
"acceptors": [
|
||||
{
|
||||
"expected": "Completed",
|
||||
"matcher": "path",
|
||||
"state": "success",
|
||||
"argument": "Invalidation.Status"
|
||||
}
|
||||
]
|
||||
},
|
||||
"StreamingDistributionDeployed": {
|
||||
"delay": 60,
|
||||
"operation": "GetStreamingDistribution",
|
||||
"maxAttempts": 25,
|
||||
"description": "Wait until a streaming distribution is deployed.",
|
||||
"acceptors": [
|
||||
{
|
||||
"expected": "Deployed",
|
||||
"matcher": "path",
|
||||
"state": "success",
|
||||
"argument": "StreamingDistribution.Status"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"ListCloudFrontOriginAccessIdentities": {
|
||||
"input_token": "Marker",
|
||||
"limit_key": "MaxItems",
|
||||
"more_results": "CloudFrontOriginAccessIdentityList.IsTruncated",
|
||||
"output_token": "CloudFrontOriginAccessIdentityList.NextMarker",
|
||||
"result_key": "CloudFrontOriginAccessIdentityList.Items"
|
||||
},
|
||||
"ListDistributions": {
|
||||
"input_token": "Marker",
|
||||
"limit_key": "MaxItems",
|
||||
"more_results": "DistributionList.IsTruncated",
|
||||
"output_token": "DistributionList.NextMarker",
|
||||
"result_key": "DistributionList.Items"
|
||||
},
|
||||
"ListInvalidations": {
|
||||
"input_token": "Marker",
|
||||
"limit_key": "MaxItems",
|
||||
"more_results": "InvalidationList.IsTruncated",
|
||||
"output_token": "InvalidationList.NextMarker",
|
||||
"result_key": "InvalidationList.Items"
|
||||
},
|
||||
"ListStreamingDistributions": {
|
||||
"input_token": "Marker",
|
||||
"limit_key": "MaxItems",
|
||||
"more_results": "StreamingDistributionList.IsTruncated",
|
||||
"output_token": "StreamingDistributionList.NextMarker",
|
||||
"result_key": "StreamingDistributionList.Items"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,47 +0,0 @@
|
|||
{
|
||||
"version": 2,
|
||||
"waiters": {
|
||||
"DistributionDeployed": {
|
||||
"delay": 60,
|
||||
"operation": "GetDistribution",
|
||||
"maxAttempts": 25,
|
||||
"description": "Wait until a distribution is deployed.",
|
||||
"acceptors": [
|
||||
{
|
||||
"expected": "Deployed",
|
||||
"matcher": "path",
|
||||
"state": "success",
|
||||
"argument": "Distribution.Status"
|
||||
}
|
||||
]
|
||||
},
|
||||
"InvalidationCompleted": {
|
||||
"delay": 20,
|
||||
"operation": "GetInvalidation",
|
||||
"maxAttempts": 30,
|
||||
"description": "Wait until an invalidation has completed.",
|
||||
"acceptors": [
|
||||
{
|
||||
"expected": "Completed",
|
||||
"matcher": "path",
|
||||
"state": "success",
|
||||
"argument": "Invalidation.Status"
|
||||
}
|
||||
]
|
||||
},
|
||||
"StreamingDistributionDeployed": {
|
||||
"delay": 60,
|
||||
"operation": "GetStreamingDistribution",
|
||||
"maxAttempts": 25,
|
||||
"description": "Wait until a streaming distribution is deployed.",
|
||||
"acceptors": [
|
||||
{
|
||||
"expected": "Deployed",
|
||||
"matcher": "path",
|
||||
"state": "success",
|
||||
"argument": "StreamingDistribution.Status"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"ListCloudFrontOriginAccessIdentities": {
|
||||
"input_token": "Marker",
|
||||
"limit_key": "MaxItems",
|
||||
"more_results": "CloudFrontOriginAccessIdentityList.IsTruncated",
|
||||
"output_token": "CloudFrontOriginAccessIdentityList.NextMarker",
|
||||
"result_key": "CloudFrontOriginAccessIdentityList.Items"
|
||||
},
|
||||
"ListDistributions": {
|
||||
"input_token": "Marker",
|
||||
"limit_key": "MaxItems",
|
||||
"more_results": "DistributionList.IsTruncated",
|
||||
"output_token": "DistributionList.NextMarker",
|
||||
"result_key": "DistributionList.Items"
|
||||
},
|
||||
"ListInvalidations": {
|
||||
"input_token": "Marker",
|
||||
"limit_key": "MaxItems",
|
||||
"more_results": "InvalidationList.IsTruncated",
|
||||
"output_token": "InvalidationList.NextMarker",
|
||||
"result_key": "InvalidationList.Items"
|
||||
},
|
||||
"ListStreamingDistributions": {
|
||||
"input_token": "Marker",
|
||||
"limit_key": "MaxItems",
|
||||
"more_results": "StreamingDistributionList.IsTruncated",
|
||||
"output_token": "StreamingDistributionList.NextMarker",
|
||||
"result_key": "StreamingDistributionList.Items"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,47 +0,0 @@
|
|||
{
|
||||
"version": 2,
|
||||
"waiters": {
|
||||
"DistributionDeployed": {
|
||||
"delay": 60,
|
||||
"operation": "GetDistribution",
|
||||
"maxAttempts": 25,
|
||||
"description": "Wait until a distribution is deployed.",
|
||||
"acceptors": [
|
||||
{
|
||||
"expected": "Deployed",
|
||||
"matcher": "path",
|
||||
"state": "success",
|
||||
"argument": "Distribution.Status"
|
||||
}
|
||||
]
|
||||
},
|
||||
"InvalidationCompleted": {
|
||||
"delay": 20,
|
||||
"operation": "GetInvalidation",
|
||||
"maxAttempts": 30,
|
||||
"description": "Wait until an invalidation has completed.",
|
||||
"acceptors": [
|
||||
{
|
||||
"expected": "Completed",
|
||||
"matcher": "path",
|
||||
"state": "success",
|
||||
"argument": "Invalidation.Status"
|
||||
}
|
||||
]
|
||||
},
|
||||
"StreamingDistributionDeployed": {
|
||||
"delay": 60,
|
||||
"operation": "GetStreamingDistribution",
|
||||
"maxAttempts": 25,
|
||||
"description": "Wait until a streaming distribution is deployed.",
|
||||
"acceptors": [
|
||||
{
|
||||
"expected": "Deployed",
|
||||
"matcher": "path",
|
||||
"state": "success",
|
||||
"argument": "StreamingDistribution.Status"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"pagination": {
|
||||
"ListCloudFrontOriginAccessIdentities": {
|
||||
"input_token": "Marker",
|
||||
"limit_key": "MaxItems",
|
||||
"more_results": "CloudFrontOriginAccessIdentityList.IsTruncated",
|
||||
"output_token": "CloudFrontOriginAccessIdentityList.NextMarker",
|
||||
"result_key": "CloudFrontOriginAccessIdentityList.Items"
|
||||
},
|
||||
"ListDistributions": {
|
||||
"input_token": "Marker",
|
||||
"limit_key": "MaxItems",
|
||||
"more_results": "DistributionList.IsTruncated",
|
||||
"output_token": "DistributionList.NextMarker",
|
||||
"result_key": "DistributionList.Items"
|
||||
},
|
||||
"ListInvalidations": {
|
||||
"input_token": "Marker",
|
||||
"limit_key": "MaxItems",
|
||||
"more_results": "InvalidationList.IsTruncated",
|
||||
"output_token": "InvalidationList.NextMarker",
|
||||
"result_key": "InvalidationList.Items"
|
||||
},
|
||||
"ListStreamingDistributions": {
|
||||
"input_token": "Marker",
|
||||
"limit_key": "MaxItems",
|
||||
"more_results": "StreamingDistributionList.IsTruncated",
|
||||
"output_token": "StreamingDistributionList.NextMarker",
|
||||
"result_key": "StreamingDistributionList.Items"
|
||||
}
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue