Skip to content

Commit

Permalink
Updates SDK to v2.513.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Aug 19, 2019
1 parent 216bcb3 commit f731ff1
Show file tree
Hide file tree
Showing 14 changed files with 204 additions and 97 deletions.
12 changes: 12 additions & 0 deletions .changes/2.513.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"type": "feature",
"category": "AppMesh",
"description": "Fix for HttpMethod enum"
},
{
"type": "feature",
"category": "CUR",
"description": "New IAM permission required for editing AWS Cost and Usage Reports - Starting today, you can allow or deny IAM users permission to edit Cost & Usage Reports through the API and the Billing and Cost Management console. To allow users to edit Cost & Usage Reports, ensure that they have 'cur: ModifyReportDefinition' permission. Refer to the technical documentation (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_cur_ModifyReportDefinition.html) for additional details."
}
]
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.512.0-->
<!--LATEST=2.513.0-->
<!--ENTRYINSERT-->

## 2.513.0
* feature: AppMesh: Fix for HttpMethod enum
* feature: CUR: New IAM permission required for editing AWS Cost and Usage Reports - Starting today, you can allow or deny IAM users permission to edit Cost & Usage Reports through the API and the Billing and Cost Management console. To allow users to edit Cost & Usage Reports, ensure that they have 'cur: ModifyReportDefinition' permission. Refer to the technical documentation (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_cur_ModifyReportDefinition.html) for additional details.

## 2.512.0
* feature: ECS: This release of Amazon Elastic Container Service (Amazon ECS) introduces support for controlling the usage of swap space on a per-container basis for Linux containers.
* feature: EMR: Amazon EMR has introduced an account level configuration called Block Public Access that allows you to block clusters with ports open to traffic from public IP sources (i.e. 0.0.0.0/0 for IPv4 and ::/0 for IPv6) from launching. Individual ports or port ranges can be added as exceptions to allow public access.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ version.
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.512.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.513.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
Expand Down
38 changes: 19 additions & 19 deletions apis/appmesh-2019-01-25.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -1772,7 +1772,7 @@
"members": {
"invert": {
"shape": "Boolean",
"documentation": "<p>Specify <code>True</code> to match the opposite of the <code>HeaderMatchMethod</code>\n method and value. The default value is <code>False</code>.</p>"
"documentation": "<p>Specify <code>True</code> to match the opposite of the <code>HeaderMatchMethod</code> method and value. The default value is <code>False</code>.</p>"
},
"match": {
"shape": "HeaderMatchMethod",
Expand Down Expand Up @@ -2023,14 +2023,14 @@
"members": {
"key": {
"shape": "AwsCloudMapInstanceAttributeKey",
"documentation": "<p>The name of an AWS Cloud Map service instance attribute key. Any AWS Cloud Map service\n instance that contains the specified key and value is returned.</p>"
"documentation": "<p>The name of an AWS Cloud Map service instance attribute key. Any AWS Cloud Map service instance\n that contains the specified key and value is returned.</p>"
},
"value": {
"shape": "AwsCloudMapInstanceAttributeValue",
"documentation": "<p>The value of an AWS Cloud Map service instance attribute key. Any AWS Cloud Map service\n instance that contains the specified key and value is returned.</p>"
}
},
"documentation": "<p>An object representing the AWS Cloud Map attribute information for your virtual\n node.</p>"
"documentation": "<p>An object representing the AWS Cloud Map attribute information for your virtual node.</p>"
},
"VirtualServiceSpec": {
"type": "structure",
Expand Down Expand Up @@ -2061,14 +2061,14 @@
"members": {
"end": {
"shape": "Long",
"documentation": "<p>End of the range value.</p>"
"documentation": "<p>The end of the range.</p>"
},
"start": {
"shape": "Long",
"documentation": "<p>Start of the range value.</p>"
"documentation": "<p>The start of the range.</p>"
}
},
"documentation": "<p>The range of values to match on. The first character of the range is included in the\n range, though the last character is not. For example, if the range specified were 1-100,\n only values 1-99 would be matched.</p>"
"documentation": "<p>The range of values to match on. The first character of the range is included in the range, though the last character is not. For example, if the range specified were 1-100, only values 1-99 would be matched.</p>"
},
"ListVirtualRoutersLimit": {
"type": "integer",
Expand Down Expand Up @@ -2468,15 +2468,15 @@
"HttpMethod": {
"type": "string",
"enum": [
"connect",
"delete",
"get",
"head",
"options",
"patch",
"post",
"put",
"trace"
"CONNECT",
"DELETE",
"GET",
"HEAD",
"OPTIONS",
"PATCH",
"POST",
"PUT",
"TRACE"
]
},
"DescribeRouteOutput": {
Expand Down Expand Up @@ -2513,7 +2513,7 @@
},
"scheme": {
"shape": "HttpScheme",
"documentation": "<p>The client request scheme to match on.</p>"
"documentation": "<p>The client request header scheme to match on.</p>"
}
},
"documentation": "<p>An object representing the requirements for a route to match HTTP requests for a virtual\n router.</p>"
Expand Down Expand Up @@ -2920,7 +2920,7 @@
},
"range": {
"shape": "MatchRange",
"documentation": "<p>The object that specifies the range of numbers within which the header value sent by the client\n must be included.</p>"
"documentation": "<p>The object that specifies the range of numbers that the header value sent by the client must be included in.</p>"
},
"regex": {
"shape": "HeaderMatch",
Expand All @@ -2931,7 +2931,7 @@
"documentation": "<p>The header value sent by the client must end with the specified characters.</p>"
}
},
"documentation": "<p>An object representing the method and value to match the header value sent with a\n request. Specify one match method.</p>"
"documentation": "<p>An object representing the method and value to match the header value sent with a request. Specify one match method.</p>"
},
"DeleteMeshOutput": {
"type": "structure",
Expand Down Expand Up @@ -3191,7 +3191,7 @@
},
"priority": {
"shape": "RoutePriority",
"documentation": "<p>The priority for the route. Routes are matched based on the specified value, where 0 is\n the highest priority.</p>"
"documentation": "<p>The priority for the route. Routes are matched based on the specified value, where 0 is the highest priority.</p>"
},
"tcpRoute": {
"shape": "TcpRoute",
Expand Down
19 changes: 19 additions & 0 deletions apis/cur-2017-01-06.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,25 @@
}
}
},
"ModifyReportDefinition": {
"input": {
"type": "structure",
"required": [
"ReportName",
"ReportDefinition"
],
"members": {
"ReportName": {},
"ReportDefinition": {
"shape": "Sa"
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"PutReportDefinition": {
"input": {
"type": "structure",
Expand Down
44 changes: 43 additions & 1 deletion apis/cur-2017-01-06.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,28 @@
],
"documentation": "<p>Lists the AWS Cost and Usage reports available to this account.</p>"
},
"ModifyReportDefinition": {
"name": "ModifyReportDefinition",
"http": {
"method": "POST",
"requestUri": "/"
},
"input": {
"shape": "ModifyReportDefinitionRequest"
},
"output": {
"shape": "ModifyReportDefinitionResponse"
},
"errors": [
{
"shape": "InternalErrorException"
},
{
"shape": "ValidationException"
}
],
"documentation": "<p>Allows you to programatically update your report preferences.</p>"
},
"PutReportDefinition": {
"name": "PutReportDefinition",
"http": {
Expand Down Expand Up @@ -97,7 +119,8 @@
"ap-southeast-2",
"ap-northeast-1",
"eu-north-1",
"ap-northeast-3"
"ap-northeast-3",
"ap-east-1"
]
},
"AdditionalArtifact": {
Expand Down Expand Up @@ -183,6 +206,25 @@
"max": 5,
"min": 5
},
"ModifyReportDefinitionRequest": {
"type": "structure",
"required": [
"ReportName",
"ReportDefinition"
],
"members": {
"ReportName": {
"shape": "ReportName"
},
"ReportDefinition": {
"shape": "ReportDefinition"
}
}
},
"ModifyReportDefinitionResponse": {
"type": "structure",
"members": {}
},
"PutReportDefinitionRequest": {
"type": "structure",
"required": [
Expand Down
21 changes: 9 additions & 12 deletions clients/appmesh.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -719,8 +719,7 @@ request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
export type Boolean = boolean;
export interface HttpRouteHeader {
/**
* Specify True to match the opposite of the HeaderMatchMethod
method and value. The default value is False.
* Specify True to match the opposite of the HeaderMatchMethod method and value. The default value is False.
*/
invert?: Boolean;
/**
Expand Down Expand Up @@ -849,8 +848,8 @@ request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
}
export interface AwsCloudMapInstanceAttribute {
/**
* The name of an AWS Cloud Map service instance attribute key. Any AWS Cloud Map service
instance that contains the specified key and value is returned.
* The name of an AWS Cloud Map service instance attribute key. Any AWS Cloud Map service instance
that contains the specified key and value is returned.
*/
key: AwsCloudMapInstanceAttributeKey;
/**
Expand All @@ -874,11 +873,11 @@ request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
}
export interface MatchRange {
/**
* End of the range value.
* The end of the range.
*/
end: Long;
/**
* Start of the range value.
* The start of the range.
*/
start: Long;
}
Expand Down Expand Up @@ -1131,7 +1130,7 @@ request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
nextToken?: String;
}
export type VirtualRouterListeners = VirtualRouterListener[];
export type HttpMethod = "connect"|"delete"|"get"|"head"|"options"|"patch"|"post"|"put"|"trace"|string;
export type HttpMethod = "CONNECT"|"DELETE"|"GET"|"HEAD"|"OPTIONS"|"PATCH"|"POST"|"PUT"|"TRACE"|string;
export interface DescribeRouteOutput {
/**
* The full description of your route.
Expand All @@ -1157,7 +1156,7 @@ request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
*/
prefix: String;
/**
* The client request scheme to match on.
* The client request header scheme to match on.
*/
scheme?: HttpScheme;
}
Expand Down Expand Up @@ -1369,8 +1368,7 @@ request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
*/
prefix?: HeaderMatch;
/**
* The object that specifies the range of numbers within which the header value sent by the client
must be included.
* The object that specifies the range of numbers that the header value sent by the client must be included in.
*/
range?: MatchRange;
/**
Expand Down Expand Up @@ -1530,8 +1528,7 @@ request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
*/
httpRoute?: HttpRoute;
/**
* The priority for the route. Routes are matched based on the specified value, where 0 is
the highest priority.
* The priority for the route. Routes are matched based on the specified value, where 0 is the highest priority.
*/
priority?: RoutePriority;
/**
Expand Down
16 changes: 15 additions & 1 deletion clients/cur.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ declare class CUR extends Service {
* Lists the AWS Cost and Usage reports available to this account.
*/
describeReportDefinitions(callback?: (err: AWSError, data: CUR.Types.DescribeReportDefinitionsResponse) => void): Request<CUR.Types.DescribeReportDefinitionsResponse, AWSError>;
/**
* Allows you to programatically update your report preferences.
*/
modifyReportDefinition(params: CUR.Types.ModifyReportDefinitionRequest, callback?: (err: AWSError, data: CUR.Types.ModifyReportDefinitionResponse) => void): Request<CUR.Types.ModifyReportDefinitionResponse, AWSError>;
/**
* Allows you to programatically update your report preferences.
*/
modifyReportDefinition(callback?: (err: AWSError, data: CUR.Types.ModifyReportDefinitionResponse) => void): Request<CUR.Types.ModifyReportDefinitionResponse, AWSError>;
/**
* Creates a new report using the description that you provide.
*/
Expand All @@ -37,7 +45,7 @@ declare class CUR extends Service {
putReportDefinition(callback?: (err: AWSError, data: CUR.Types.PutReportDefinitionResponse) => void): Request<CUR.Types.PutReportDefinitionResponse, AWSError>;
}
declare namespace CUR {
export type AWSRegion = "us-east-1"|"us-west-1"|"us-west-2"|"eu-central-1"|"eu-west-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-northeast-1"|"eu-north-1"|"ap-northeast-3"|string;
export type AWSRegion = "us-east-1"|"us-west-1"|"us-west-2"|"eu-central-1"|"eu-west-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-northeast-1"|"eu-north-1"|"ap-northeast-3"|"ap-east-1"|string;
export type AdditionalArtifact = "REDSHIFT"|"QUICKSIGHT"|"ATHENA"|string;
export type AdditionalArtifactList = AdditionalArtifact[];
export type CompressionFormat = "ZIP"|"GZIP"|"Parquet"|string;
Expand All @@ -61,6 +69,12 @@ declare namespace CUR {
}
export type GenericString = string;
export type MaxResults = number;
export interface ModifyReportDefinitionRequest {
ReportName: ReportName;
ReportDefinition: ReportDefinition;
}
export interface ModifyReportDefinitionResponse {
}
export interface PutReportDefinitionRequest {
/**
* Represents the output of the PutReportDefinition operation. The content consists of the detailed metadata and data file information.
Expand Down
2 changes: 1 addition & 1 deletion dist/aws-sdk-core-react-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
/**
* @constant
*/
VERSION: '2.512.0',
VERSION: '2.513.0',

/**
* @api private
Expand Down
4 changes: 2 additions & 2 deletions dist/aws-sdk-react-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ return /******/ (function(modules) { // webpackBootstrap
/**
* @constant
*/
VERSION: '2.512.0',
VERSION: '2.513.0',

/**
* @api private
Expand Down Expand Up @@ -32269,7 +32269,7 @@ return /******/ (function(modules) { // webpackBootstrap
/* 150 */
/***/ (function(module, exports) {

module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-01-06","endpointPrefix":"cur","jsonVersion":"1.1","protocol":"json","serviceFullName":"AWS Cost and Usage Report Service","serviceId":"Cost and Usage Report Service","signatureVersion":"v4","signingName":"cur","targetPrefix":"AWSOrigamiServiceGatewayService","uid":"cur-2017-01-06"},"operations":{"DeleteReportDefinition":{"input":{"type":"structure","members":{"ReportName":{}}},"output":{"type":"structure","members":{"ResponseMessage":{}}}},"DescribeReportDefinitions":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ReportDefinitions":{"type":"list","member":{"shape":"Sa"}},"NextToken":{}}}},"PutReportDefinition":{"input":{"type":"structure","required":["ReportDefinition"],"members":{"ReportDefinition":{"shape":"Sa"}}},"output":{"type":"structure","members":{}}}},"shapes":{"Sa":{"type":"structure","required":["ReportName","TimeUnit","Format","Compression","AdditionalSchemaElements","S3Bucket","S3Prefix","S3Region"],"members":{"ReportName":{},"TimeUnit":{},"Format":{},"Compression":{},"AdditionalSchemaElements":{"type":"list","member":{}},"S3Bucket":{},"S3Prefix":{},"S3Region":{},"AdditionalArtifacts":{"type":"list","member":{}},"RefreshClosedReports":{"type":"boolean"},"ReportVersioning":{}}}}}
module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-01-06","endpointPrefix":"cur","jsonVersion":"1.1","protocol":"json","serviceFullName":"AWS Cost and Usage Report Service","serviceId":"Cost and Usage Report Service","signatureVersion":"v4","signingName":"cur","targetPrefix":"AWSOrigamiServiceGatewayService","uid":"cur-2017-01-06"},"operations":{"DeleteReportDefinition":{"input":{"type":"structure","members":{"ReportName":{}}},"output":{"type":"structure","members":{"ResponseMessage":{}}}},"DescribeReportDefinitions":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ReportDefinitions":{"type":"list","member":{"shape":"Sa"}},"NextToken":{}}}},"ModifyReportDefinition":{"input":{"type":"structure","required":["ReportName","ReportDefinition"],"members":{"ReportName":{},"ReportDefinition":{"shape":"Sa"}}},"output":{"type":"structure","members":{}}},"PutReportDefinition":{"input":{"type":"structure","required":["ReportDefinition"],"members":{"ReportDefinition":{"shape":"Sa"}}},"output":{"type":"structure","members":{}}}},"shapes":{"Sa":{"type":"structure","required":["ReportName","TimeUnit","Format","Compression","AdditionalSchemaElements","S3Bucket","S3Prefix","S3Region"],"members":{"ReportName":{},"TimeUnit":{},"Format":{},"Compression":{},"AdditionalSchemaElements":{"type":"list","member":{}},"S3Bucket":{},"S3Prefix":{},"S3Region":{},"AdditionalArtifacts":{"type":"list","member":{}},"RefreshClosedReports":{"type":"boolean"},"ReportVersioning":{}}}}}

/***/ }),
/* 151 */
Expand Down
Loading

0 comments on commit f731ff1

Please sign in to comment.