Skip to content

Commit

Permalink
Adds json extension to imports for webpack support
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisradek committed Sep 8, 2016
1 parent de21c81 commit a7f7882
Show file tree
Hide file tree
Showing 75 changed files with 163 additions and 163 deletions.
4 changes: 2 additions & 2 deletions clients/acm.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'ACM')) {
apiLoader.services['acm'] = {};
AWS.ACM = Service.defineService('acm', ['2015-12-08']);

apiLoader.services['acm']['2015-12-08'] = require('../apis/acm-2015-12-08.min');
apiLoader.services['acm']['2015-12-08'].paginators = require('../apis/acm-2015-12-08.paginators').pagination;
apiLoader.services['acm']['2015-12-08'] = require('../apis/acm-2015-12-08.min.json');
apiLoader.services['acm']['2015-12-08'].paginators = require('../apis/acm-2015-12-08.paginators.json').pagination;
}

module.exports = AWS.ACM;
4 changes: 2 additions & 2 deletions clients/apigateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'APIGateway')) {
AWS.APIGateway = Service.defineService('apigateway', ['2015-07-09']);
require('../lib/services/apigateway');

apiLoader.services['apigateway']['2015-07-09'] = require('../apis/apigateway-2015-07-09.min');
apiLoader.services['apigateway']['2015-07-09'].paginators = require('../apis/apigateway-2015-07-09.paginators').pagination;
apiLoader.services['apigateway']['2015-07-09'] = require('../apis/apigateway-2015-07-09.min.json');
apiLoader.services['apigateway']['2015-07-09'].paginators = require('../apis/apigateway-2015-07-09.paginators.json').pagination;
}

module.exports = AWS.APIGateway;
4 changes: 2 additions & 2 deletions clients/applicationautoscaling.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'ApplicationAutoScaling')) {
apiLoader.services['applicationautoscaling'] = {};
AWS.ApplicationAutoScaling = Service.defineService('applicationautoscaling', ['2016-02-06']);

apiLoader.services['applicationautoscaling']['2016-02-06'] = require('../apis/application-autoscaling-2016-02-06.min');
apiLoader.services['applicationautoscaling']['2016-02-06'].paginators = require('../apis/application-autoscaling-2016-02-06.paginators').pagination;
apiLoader.services['applicationautoscaling']['2016-02-06'] = require('../apis/application-autoscaling-2016-02-06.min.json');
apiLoader.services['applicationautoscaling']['2016-02-06'].paginators = require('../apis/application-autoscaling-2016-02-06.paginators.json').pagination;
}

module.exports = AWS.ApplicationAutoScaling;
4 changes: 2 additions & 2 deletions clients/autoscaling.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'AutoScaling')) {
apiLoader.services['autoscaling'] = {};
AWS.AutoScaling = Service.defineService('autoscaling', ['2011-01-01']);

apiLoader.services['autoscaling']['2011-01-01'] = require('../apis/autoscaling-2011-01-01.min');
apiLoader.services['autoscaling']['2011-01-01'].paginators = require('../apis/autoscaling-2011-01-01.paginators').pagination;
apiLoader.services['autoscaling']['2011-01-01'] = require('../apis/autoscaling-2011-01-01.min.json');
apiLoader.services['autoscaling']['2011-01-01'].paginators = require('../apis/autoscaling-2011-01-01.paginators.json').pagination;
}

module.exports = AWS.AutoScaling;
6 changes: 3 additions & 3 deletions clients/cloudformation.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'CloudFormation')) {
apiLoader.services['cloudformation'] = {};
AWS.CloudFormation = Service.defineService('cloudformation', ['2010-05-15']);

apiLoader.services['cloudformation']['2010-05-15'] = require('../apis/cloudformation-2010-05-15.min');
apiLoader.services['cloudformation']['2010-05-15'].paginators = require('../apis/cloudformation-2010-05-15.paginators').pagination;
apiLoader.services['cloudformation']['2010-05-15'].waiters = require('../apis/cloudformation-2010-05-15.waiters2').waiters;
apiLoader.services['cloudformation']['2010-05-15'] = require('../apis/cloudformation-2010-05-15.min.json');
apiLoader.services['cloudformation']['2010-05-15'].paginators = require('../apis/cloudformation-2010-05-15.paginators.json').pagination;
apiLoader.services['cloudformation']['2010-05-15'].waiters = require('../apis/cloudformation-2010-05-15.waiters2.json').waiters;
}

module.exports = AWS.CloudFormation;
6 changes: 3 additions & 3 deletions clients/cloudfront.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'CloudFront')) {
AWS.CloudFront = Service.defineService('cloudfront', ['2016-08-20']);
require('../lib/services/cloudfront');

apiLoader.services['cloudfront']['2016-08-20'] = require('../apis/cloudfront-2016-08-20.min');
apiLoader.services['cloudfront']['2016-08-20'].paginators = require('../apis/cloudfront-2016-08-20.paginators').pagination;
apiLoader.services['cloudfront']['2016-08-20'].waiters = require('../apis/cloudfront-2016-08-20.waiters2').waiters;
apiLoader.services['cloudfront']['2016-08-20'] = require('../apis/cloudfront-2016-08-20.min.json');
apiLoader.services['cloudfront']['2016-08-20'].paginators = require('../apis/cloudfront-2016-08-20.paginators.json').pagination;
apiLoader.services['cloudfront']['2016-08-20'].waiters = require('../apis/cloudfront-2016-08-20.waiters2.json').waiters;
}

module.exports = AWS.CloudFront;
2 changes: 1 addition & 1 deletion clients/cloudhsm.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'CloudHSM')) {
apiLoader.services['cloudhsm'] = {};
AWS.CloudHSM = Service.defineService('cloudhsm', ['2014-05-30']);

apiLoader.services['cloudhsm']['2014-05-30'] = require('../apis/cloudhsm-2014-05-30.min');
apiLoader.services['cloudhsm']['2014-05-30'] = require('../apis/cloudhsm-2014-05-30.min.json');
}

module.exports = AWS.CloudHSM;
8 changes: 4 additions & 4 deletions clients/cloudsearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'CloudSearch')) {
apiLoader.services['cloudsearch'] = {};
AWS.CloudSearch = Service.defineService('cloudsearch', ['2011-02-01', '2013-01-01']);

apiLoader.services['cloudsearch']['2011-02-01'] = require('../apis/cloudsearch-2011-02-01.min');
apiLoader.services['cloudsearch']['2011-02-01'].paginators = require('../apis/cloudsearch-2011-02-01.paginators').pagination;
apiLoader.services['cloudsearch']['2011-02-01'] = require('../apis/cloudsearch-2011-02-01.min.json');
apiLoader.services['cloudsearch']['2011-02-01'].paginators = require('../apis/cloudsearch-2011-02-01.paginators.json').pagination;

apiLoader.services['cloudsearch']['2013-01-01'] = require('../apis/cloudsearch-2013-01-01.min');
apiLoader.services['cloudsearch']['2013-01-01'].paginators = require('../apis/cloudsearch-2013-01-01.paginators').pagination;
apiLoader.services['cloudsearch']['2013-01-01'] = require('../apis/cloudsearch-2013-01-01.min.json');
apiLoader.services['cloudsearch']['2013-01-01'].paginators = require('../apis/cloudsearch-2013-01-01.paginators.json').pagination;
}

module.exports = AWS.CloudSearch;
2 changes: 1 addition & 1 deletion clients/cloudsearchdomain.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'CloudSearchDomain')) {
AWS.CloudSearchDomain = Service.defineService('cloudsearchdomain', ['2013-01-01']);
require('../lib/services/cloudsearchdomain');

apiLoader.services['cloudsearchdomain']['2013-01-01'] = require('../apis/cloudsearchdomain-2013-01-01.min');
apiLoader.services['cloudsearchdomain']['2013-01-01'] = require('../apis/cloudsearchdomain-2013-01-01.min.json');
}

module.exports = AWS.CloudSearchDomain;
4 changes: 2 additions & 2 deletions clients/cloudtrail.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'CloudTrail')) {
apiLoader.services['cloudtrail'] = {};
AWS.CloudTrail = Service.defineService('cloudtrail', ['2013-11-01']);

apiLoader.services['cloudtrail']['2013-11-01'] = require('../apis/cloudtrail-2013-11-01.min');
apiLoader.services['cloudtrail']['2013-11-01'].paginators = require('../apis/cloudtrail-2013-11-01.paginators').pagination;
apiLoader.services['cloudtrail']['2013-11-01'] = require('../apis/cloudtrail-2013-11-01.min.json');
apiLoader.services['cloudtrail']['2013-11-01'].paginators = require('../apis/cloudtrail-2013-11-01.paginators.json').pagination;
}

module.exports = AWS.CloudTrail;
6 changes: 3 additions & 3 deletions clients/cloudwatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'CloudWatch')) {
apiLoader.services['cloudwatch'] = {};
AWS.CloudWatch = Service.defineService('cloudwatch', ['2010-08-01']);

apiLoader.services['cloudwatch']['2010-08-01'] = require('../apis/monitoring-2010-08-01.min');
apiLoader.services['cloudwatch']['2010-08-01'].paginators = require('../apis/monitoring-2010-08-01.paginators').pagination;
apiLoader.services['cloudwatch']['2010-08-01'].waiters = require('../apis/monitoring-2010-08-01.waiters2').waiters;
apiLoader.services['cloudwatch']['2010-08-01'] = require('../apis/monitoring-2010-08-01.min.json');
apiLoader.services['cloudwatch']['2010-08-01'].paginators = require('../apis/monitoring-2010-08-01.paginators.json').pagination;
apiLoader.services['cloudwatch']['2010-08-01'].waiters = require('../apis/monitoring-2010-08-01.waiters2.json').waiters;
}

module.exports = AWS.CloudWatch;
2 changes: 1 addition & 1 deletion clients/cloudwatchevents.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'CloudWatchEvents')) {
apiLoader.services['cloudwatchevents'] = {};
AWS.CloudWatchEvents = Service.defineService('cloudwatchevents', ['2015-10-07']);

apiLoader.services['cloudwatchevents']['2015-10-07'] = require('../apis/events-2015-10-07.min');
apiLoader.services['cloudwatchevents']['2015-10-07'] = require('../apis/events-2015-10-07.min.json');
}

module.exports = AWS.CloudWatchEvents;
4 changes: 2 additions & 2 deletions clients/cloudwatchlogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'CloudWatchLogs')) {
apiLoader.services['cloudwatchlogs'] = {};
AWS.CloudWatchLogs = Service.defineService('cloudwatchlogs', ['2014-03-28']);

apiLoader.services['cloudwatchlogs']['2014-03-28'] = require('../apis/logs-2014-03-28.min');
apiLoader.services['cloudwatchlogs']['2014-03-28'].paginators = require('../apis/logs-2014-03-28.paginators').pagination;
apiLoader.services['cloudwatchlogs']['2014-03-28'] = require('../apis/logs-2014-03-28.min.json');
apiLoader.services['cloudwatchlogs']['2014-03-28'].paginators = require('../apis/logs-2014-03-28.paginators.json').pagination;
}

module.exports = AWS.CloudWatchLogs;
4 changes: 2 additions & 2 deletions clients/codecommit.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'CodeCommit')) {
apiLoader.services['codecommit'] = {};
AWS.CodeCommit = Service.defineService('codecommit', ['2015-04-13']);

apiLoader.services['codecommit']['2015-04-13'] = require('../apis/codecommit-2015-04-13.min');
apiLoader.services['codecommit']['2015-04-13'].paginators = require('../apis/codecommit-2015-04-13.paginators').pagination;
apiLoader.services['codecommit']['2015-04-13'] = require('../apis/codecommit-2015-04-13.min.json');
apiLoader.services['codecommit']['2015-04-13'].paginators = require('../apis/codecommit-2015-04-13.paginators.json').pagination;
}

module.exports = AWS.CodeCommit;
6 changes: 3 additions & 3 deletions clients/codedeploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'CodeDeploy')) {
apiLoader.services['codedeploy'] = {};
AWS.CodeDeploy = Service.defineService('codedeploy', ['2014-10-06']);

apiLoader.services['codedeploy']['2014-10-06'] = require('../apis/codedeploy-2014-10-06.min');
apiLoader.services['codedeploy']['2014-10-06'].paginators = require('../apis/codedeploy-2014-10-06.paginators').pagination;
apiLoader.services['codedeploy']['2014-10-06'].waiters = require('../apis/codedeploy-2014-10-06.waiters2').waiters;
apiLoader.services['codedeploy']['2014-10-06'] = require('../apis/codedeploy-2014-10-06.min.json');
apiLoader.services['codedeploy']['2014-10-06'].paginators = require('../apis/codedeploy-2014-10-06.paginators.json').pagination;
apiLoader.services['codedeploy']['2014-10-06'].waiters = require('../apis/codedeploy-2014-10-06.waiters2.json').waiters;
}

module.exports = AWS.CodeDeploy;
2 changes: 1 addition & 1 deletion clients/codepipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'CodePipeline')) {
apiLoader.services['codepipeline'] = {};
AWS.CodePipeline = Service.defineService('codepipeline', ['2015-07-09']);

apiLoader.services['codepipeline']['2015-07-09'] = require('../apis/codepipeline-2015-07-09.min');
apiLoader.services['codepipeline']['2015-07-09'] = require('../apis/codepipeline-2015-07-09.min.json');
}

module.exports = AWS.CodePipeline;
2 changes: 1 addition & 1 deletion clients/cognitoidentity.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'CognitoIdentity')) {
AWS.CognitoIdentity = Service.defineService('cognitoidentity', ['2014-06-30']);
require('../lib/services/cognitoidentity');

apiLoader.services['cognitoidentity']['2014-06-30'] = require('../apis/cognito-identity-2014-06-30.min');
apiLoader.services['cognitoidentity']['2014-06-30'] = require('../apis/cognito-identity-2014-06-30.min.json');
}

module.exports = AWS.CognitoIdentity;
2 changes: 1 addition & 1 deletion clients/cognitoidentityserviceprovider.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'CognitoIdentityServiceProvider')
apiLoader.services['cognitoidentityserviceprovider'] = {};
AWS.CognitoIdentityServiceProvider = Service.defineService('cognitoidentityserviceprovider', ['2016-04-18']);

apiLoader.services['cognitoidentityserviceprovider']['2016-04-18'] = require('../apis/cognito-idp-2016-04-18.min');
apiLoader.services['cognitoidentityserviceprovider']['2016-04-18'] = require('../apis/cognito-idp-2016-04-18.min.json');
}

module.exports = AWS.CognitoIdentityServiceProvider;
2 changes: 1 addition & 1 deletion clients/cognitosync.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'CognitoSync')) {
apiLoader.services['cognitosync'] = {};
AWS.CognitoSync = Service.defineService('cognitosync', ['2014-06-30']);

apiLoader.services['cognitosync']['2014-06-30'] = require('../apis/cognito-sync-2014-06-30.min');
apiLoader.services['cognitosync']['2014-06-30'] = require('../apis/cognito-sync-2014-06-30.min.json');
}

module.exports = AWS.CognitoSync;
4 changes: 2 additions & 2 deletions clients/configservice.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'ConfigService')) {
apiLoader.services['configservice'] = {};
AWS.ConfigService = Service.defineService('configservice', ['2014-11-12']);

apiLoader.services['configservice']['2014-11-12'] = require('../apis/config-2014-11-12.min');
apiLoader.services['configservice']['2014-11-12'].paginators = require('../apis/config-2014-11-12.paginators').pagination;
apiLoader.services['configservice']['2014-11-12'] = require('../apis/config-2014-11-12.min.json');
apiLoader.services['configservice']['2014-11-12'].paginators = require('../apis/config-2014-11-12.paginators.json').pagination;
}

module.exports = AWS.ConfigService;
4 changes: 2 additions & 2 deletions clients/datapipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'DataPipeline')) {
apiLoader.services['datapipeline'] = {};
AWS.DataPipeline = Service.defineService('datapipeline', ['2012-10-29']);

apiLoader.services['datapipeline']['2012-10-29'] = require('../apis/datapipeline-2012-10-29.min');
apiLoader.services['datapipeline']['2012-10-29'].paginators = require('../apis/datapipeline-2012-10-29.paginators').pagination;
apiLoader.services['datapipeline']['2012-10-29'] = require('../apis/datapipeline-2012-10-29.min.json');
apiLoader.services['datapipeline']['2012-10-29'].paginators = require('../apis/datapipeline-2012-10-29.paginators.json').pagination;
}

module.exports = AWS.DataPipeline;
4 changes: 2 additions & 2 deletions clients/devicefarm.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'DeviceFarm')) {
apiLoader.services['devicefarm'] = {};
AWS.DeviceFarm = Service.defineService('devicefarm', ['2015-06-23']);

apiLoader.services['devicefarm']['2015-06-23'] = require('../apis/devicefarm-2015-06-23.min');
apiLoader.services['devicefarm']['2015-06-23'].paginators = require('../apis/devicefarm-2015-06-23.paginators').pagination;
apiLoader.services['devicefarm']['2015-06-23'] = require('../apis/devicefarm-2015-06-23.min.json');
apiLoader.services['devicefarm']['2015-06-23'].paginators = require('../apis/devicefarm-2015-06-23.paginators.json').pagination;
}

module.exports = AWS.DeviceFarm;
4 changes: 2 additions & 2 deletions clients/directconnect.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'DirectConnect')) {
apiLoader.services['directconnect'] = {};
AWS.DirectConnect = Service.defineService('directconnect', ['2012-10-25']);

apiLoader.services['directconnect']['2012-10-25'] = require('../apis/directconnect-2012-10-25.min');
apiLoader.services['directconnect']['2012-10-25'].paginators = require('../apis/directconnect-2012-10-25.paginators').pagination;
apiLoader.services['directconnect']['2012-10-25'] = require('../apis/directconnect-2012-10-25.min.json');
apiLoader.services['directconnect']['2012-10-25'].paginators = require('../apis/directconnect-2012-10-25.paginators.json').pagination;
}

module.exports = AWS.DirectConnect;
2 changes: 1 addition & 1 deletion clients/directoryservice.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'DirectoryService')) {
apiLoader.services['directoryservice'] = {};
AWS.DirectoryService = Service.defineService('directoryservice', ['2015-04-16']);

apiLoader.services['directoryservice']['2015-04-16'] = require('../apis/ds-2015-04-16.min');
apiLoader.services['directoryservice']['2015-04-16'] = require('../apis/ds-2015-04-16.min.json');
}

module.exports = AWS.DirectoryService;
2 changes: 1 addition & 1 deletion clients/discovery.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'Discovery')) {
apiLoader.services['discovery'] = {};
AWS.Discovery = Service.defineService('discovery', ['2015-11-01']);

apiLoader.services['discovery']['2015-11-01'] = require('../apis/discovery-2015-11-01.min');
apiLoader.services['discovery']['2015-11-01'] = require('../apis/discovery-2015-11-01.min.json');
}

module.exports = AWS.Discovery;
2 changes: 1 addition & 1 deletion clients/dms.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'DMS')) {
apiLoader.services['dms'] = {};
AWS.DMS = Service.defineService('dms', ['2016-01-01']);

apiLoader.services['dms']['2016-01-01'] = require('../apis/dms-2016-01-01.min');
apiLoader.services['dms']['2016-01-01'] = require('../apis/dms-2016-01-01.min.json');
}

module.exports = AWS.DMS;
12 changes: 6 additions & 6 deletions clients/dynamodb.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'DynamoDB')) {
AWS.DynamoDB = Service.defineService('dynamodb', ['2011-12-05', '2012-08-10']);
require('../lib/services/dynamodb');

apiLoader.services['dynamodb']['2011-12-05'] = require('../apis/dynamodb-2011-12-05.min');
apiLoader.services['dynamodb']['2011-12-05'].paginators = require('../apis/dynamodb-2011-12-05.paginators').pagination;
apiLoader.services['dynamodb']['2011-12-05'].waiters = require('../apis/dynamodb-2011-12-05.waiters2').waiters;
apiLoader.services['dynamodb']['2011-12-05'] = require('../apis/dynamodb-2011-12-05.min.json');
apiLoader.services['dynamodb']['2011-12-05'].paginators = require('../apis/dynamodb-2011-12-05.paginators.json').pagination;
apiLoader.services['dynamodb']['2011-12-05'].waiters = require('../apis/dynamodb-2011-12-05.waiters2.json').waiters;

apiLoader.services['dynamodb']['2012-08-10'] = require('../apis/dynamodb-2012-08-10.min');
apiLoader.services['dynamodb']['2012-08-10'].paginators = require('../apis/dynamodb-2012-08-10.paginators').pagination;
apiLoader.services['dynamodb']['2012-08-10'].waiters = require('../apis/dynamodb-2012-08-10.waiters2').waiters;
apiLoader.services['dynamodb']['2012-08-10'] = require('../apis/dynamodb-2012-08-10.min.json');
apiLoader.services['dynamodb']['2012-08-10'].paginators = require('../apis/dynamodb-2012-08-10.paginators.json').pagination;
apiLoader.services['dynamodb']['2012-08-10'].waiters = require('../apis/dynamodb-2012-08-10.waiters2.json').waiters;
}

module.exports = AWS.DynamoDB;
2 changes: 1 addition & 1 deletion clients/dynamodbstreams.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'DynamoDBStreams')) {
apiLoader.services['dynamodbstreams'] = {};
AWS.DynamoDBStreams = Service.defineService('dynamodbstreams', ['2012-08-10']);

apiLoader.services['dynamodbstreams']['2012-08-10'] = require('../apis/streams.dynamodb-2012-08-10.min');
apiLoader.services['dynamodbstreams']['2012-08-10'] = require('../apis/streams.dynamodb-2012-08-10.min.json');
}

module.exports = AWS.DynamoDBStreams;
6 changes: 3 additions & 3 deletions clients/ec2.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ if (!Object.prototype.hasOwnProperty.call(AWS, 'EC2')) {
AWS.EC2 = Service.defineService('ec2', ['2016-04-01']);
require('../lib/services/ec2');

apiLoader.services['ec2']['2016-04-01'] = require('../apis/ec2-2016-04-01.min');
apiLoader.services['ec2']['2016-04-01'].paginators = require('../apis/ec2-2016-04-01.paginators').pagination;
apiLoader.services['ec2']['2016-04-01'].waiters = require('../apis/ec2-2016-04-01.waiters2').waiters;
apiLoader.services['ec2']['2016-04-01'] = require('../apis/ec2-2016-04-01.min.json');
apiLoader.services['ec2']['2016-04-01'].paginators = require('../apis/ec2-2016-04-01.paginators.json').pagination;
apiLoader.services['ec2']['2016-04-01'].waiters = require('../apis/ec2-2016-04-01.waiters2.json').waiters;
}

module.exports = AWS.EC2;
Loading

0 comments on commit a7f7882

Please sign in to comment.