Skip to content

Commit

Permalink
Updates SDK to v2.351.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Nov 7, 2018
1 parent 4073d3d commit 70cbaa7
Show file tree
Hide file tree
Showing 17 changed files with 1,480 additions and 1,161 deletions.
17 changes: 17 additions & 0 deletions .changes/2.351.0.json
@@ -0,0 +1,17 @@
[
{
"type": "feature",
"category": "CostExplorer",
"description": "Enable Payer Accounts to View Linked Account Recommendations. Payer Accounts can specify \"LINKED\" as scope in the request now. In the response, there is a new filed called AccountId in ReservationPurchaseRecommendationDetail for indicating which account is this recommendation detail belongs to."
},
{
"type": "feature",
"category": "DMS",
"description": "Update the DMS TestConnectionSucceeds waiter."
},
{
"type": "feature",
"category": "EC2",
"description": "VM Import/Export now supports generating encrypted EBS snapshots, as well as AMIs backed by encrypted EBS snapshots during the import process."
}
]
7 changes: 6 additions & 1 deletion CHANGELOG.md
@@ -1,7 +1,12 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.350.0-->
<!--LATEST=2.351.0-->
<!--ENTRYINSERT-->

## 2.351.0
* feature: CostExplorer: Enable Payer Accounts to View Linked Account Recommendations. Payer Accounts can specify "LINKED" as scope in the request now. In the response, there is a new filed called AccountId in ReservationPurchaseRecommendationDetail for indicating which account is this recommendation detail belongs to.
* feature: DMS: Update the DMS TestConnectionSucceeds waiter.
* feature: EC2: VM Import/Export now supports generating encrypted EBS snapshots, as well as AMIs backed by encrypted EBS snapshots during the import process.

## 2.350.0
* feature: APIGateway: AWS WAF integration with APIGW. Changes for adding webAclArn as a part of Stage output. When the user calls a get-stage or get-stages, webAclArn will also be returned as a part of the output.
* feature: EC2: You can now launch the new Amazon EC2 memory optimized R5a and general purpose M5a instances families that feature AMD EPYC processors.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -23,7 +23,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.350.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.351.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
1 change: 1 addition & 0 deletions apis/ce-2017-10-25.min.json
Expand Up @@ -234,6 +234,7 @@
"member": {
"type": "structure",
"members": {
"AccountId": {},
"InstanceDetails": {
"type": "structure",
"members": {
Expand Down
2,337 changes: 1,244 additions & 1,093 deletions apis/ce-2017-10-25.normal.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions apis/dms-2016-01-01.waiters2.json
Expand Up @@ -4,22 +4,22 @@
"TestConnectionSucceeds":{
"acceptors":[
{
"argument":"Connection.Status",
"argument":"Connections[].Status",
"expected":"successful",
"matcher":"path",
"matcher":"pathAll",
"state":"success"
},
{
"argument":"Connection.Status",
"argument":"Connections[].Status",
"expected":"failed",
"matcher":"path",
"matcher":"pathAny",
"state":"failure"
}
],
"delay":5,
"description":"Wait until testing connection succeeds.",
"maxAttempts":60,
"operation":"TestConnection"
"operation":"DescribeConnections"
},
"EndpointDeleted":{
"acceptors":[
Expand Down
29 changes: 29 additions & 0 deletions apis/ec2-2016-11-15.min.json
Expand Up @@ -4766,6 +4766,10 @@
"Description": {
"locationName": "description"
},
"Encrypted": {
"locationName": "encrypted",
"type": "boolean"
},
"Hypervisor": {
"locationName": "hypervisor"
},
Expand All @@ -4775,6 +4779,9 @@
"ImportTaskId": {
"locationName": "importTaskId"
},
"KmsKeyId": {
"locationName": "kmsKeyId"
},
"LicenseType": {
"locationName": "licenseType"
},
Expand Down Expand Up @@ -8386,7 +8393,11 @@
"DryRun": {
"type": "boolean"
},
"Encrypted": {
"type": "boolean"
},
"Hypervisor": {},
"KmsKeyId": {},
"LicenseType": {},
"Platform": {},
"RoleName": {}
Expand All @@ -8401,6 +8412,10 @@
"Description": {
"locationName": "description"
},
"Encrypted": {
"locationName": "encrypted",
"type": "boolean"
},
"Hypervisor": {
"locationName": "hypervisor"
},
Expand All @@ -8410,6 +8425,9 @@
"ImportTaskId": {
"locationName": "importTaskId"
},
"KmsKeyId": {
"locationName": "kmsKeyId"
},
"LicenseType": {
"locationName": "licenseType"
},
Expand Down Expand Up @@ -8582,6 +8600,10 @@
"DryRun": {
"type": "boolean"
},
"Encrypted": {
"type": "boolean"
},
"KmsKeyId": {},
"RoleName": {}
}
},
Expand Down Expand Up @@ -13937,9 +13959,16 @@
"locationName": "diskImageSize",
"type": "double"
},
"Encrypted": {
"locationName": "encrypted",
"type": "boolean"
},
"Format": {
"locationName": "format"
},
"KmsKeyId": {
"locationName": "kmsKeyId"
},
"Progress": {
"locationName": "progress"
},
Expand Down
46 changes: 46 additions & 0 deletions apis/ec2-2016-11-15.normal.json
Expand Up @@ -14950,10 +14950,18 @@
"shape": "Boolean",
"documentation": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>"
},
"Encrypted": {
"shape": "Boolean",
"documentation": "<p>Specifies whether the destination AMI of the imported image should be encrypted. The default CMK for EBS is used unless you specify a non-default AWS Key Management Service (AWS KMS) CMK using <code>KmsKeyId</code>. For more information, see <a href=\"http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html\">Amazon EBS Encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
},
"Hypervisor": {
"shape": "String",
"documentation": "<p>The target hypervisor platform.</p> <p>Valid values: <code>xen</code> </p>"
},
"KmsKeyId": {
"shape": "String",
"documentation": "<p>An identifier for the AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the encrypted AMI. This parameter is only required if you want to use a non-default CMK; if this parameter is not specified, the default CMK for EBS is used. If a <code>KmsKeyId</code> is specified, the <code>Encrypted</code> flag must also be set. </p> <p>The CMK identifier may be provided in any of the following formats: </p> <ul> <li> <p>Key ID</p> </li> <li> <p>Key alias, in the form <code>alias/<i>ExampleAlias</i> </code> </p> </li> <li> <p>ARN using key ID. The ID ARN contains the <code>arn:aws:kms</code> namespace, followed by the region of the CMK, the AWS account ID of the CMK owner, the <code>key</code> namespace, and then the CMK ID. For example, arn:aws:kms:<i>us-east-1</i>:<i>012345678910</i>:key/<i>abcd1234-a123-456a-a12b-a123b4cd56ef</i>.</p> </li> <li> <p>ARN using key alias. The alias ARN contains the <code>arn:aws:kms</code> namespace, followed by the region of the CMK, the AWS account ID of the CMK owner, the <code>alias</code> namespace, and then the CMK alias. For example, arn:aws:kms:<i>us-east-1</i>:<i>012345678910</i>:alias/<i>ExampleAlias</i>. </p> </li> </ul> <p>AWS parses <code>KmsKeyId</code> asynchronously, meaning that the action you call may appear to complete even though you provided an invalid identifier. This action will eventually report failure. </p> <p>The specified CMK must exist in the region that the AMI is being copied to. </p>"
},
"LicenseType": {
"shape": "String",
"documentation": "<p>The license type to be used for the Amazon Machine Image (AMI) after importing.</p> <p> <b>Note:</b> You may only use BYOL if you have existing licenses with rights to use these licenses in a third party cloud like AWS. For more information, see <a href=\"http://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html#prerequisites-image\">Prerequisites</a> in the VM Import/Export User Guide.</p> <p>Valid values: <code>AWS</code> | <code>BYOL</code> </p>"
Expand Down Expand Up @@ -14982,6 +14990,11 @@
"documentation": "<p>A description of the import task.</p>",
"locationName": "description"
},
"Encrypted": {
"shape": "Boolean",
"documentation": "<p>Indicates whether the AMI is encypted.</p>",
"locationName": "encrypted"
},
"Hypervisor": {
"shape": "String",
"documentation": "<p>The target hypervisor of the import task.</p>",
Expand All @@ -14997,6 +15010,11 @@
"documentation": "<p>The task ID of the import image task.</p>",
"locationName": "importTaskId"
},
"KmsKeyId": {
"shape": "String",
"documentation": "<p>The identifier for the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to create the encrypted AMI.</p>",
"locationName": "kmsKeyId"
},
"LicenseType": {
"shape": "String",
"documentation": "<p>The license type of the virtual machine.</p>",
Expand Down Expand Up @@ -15043,6 +15061,11 @@
"documentation": "<p>A description of the import task.</p>",
"locationName": "description"
},
"Encrypted": {
"shape": "Boolean",
"documentation": "<p>Indicates whether the image is encrypted.</p>",
"locationName": "encrypted"
},
"Hypervisor": {
"shape": "String",
"documentation": "<p>The target hypervisor for the import task.</p> <p>Valid values: <code>xen</code> </p>",
Expand All @@ -15058,6 +15081,11 @@
"documentation": "<p>The ID of the import image task.</p>",
"locationName": "importTaskId"
},
"KmsKeyId": {
"shape": "String",
"documentation": "<p>The identifier for the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to create the encrypted image.</p>",
"locationName": "kmsKeyId"
},
"LicenseType": {
"shape": "String",
"documentation": "<p>The license type of the virtual machine.</p>",
Expand Down Expand Up @@ -15340,6 +15368,14 @@
"shape": "Boolean",
"documentation": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>"
},
"Encrypted": {
"shape": "Boolean",
"documentation": "<p>Specifies whether the destination snapshot of the imported image should be encrypted. The default CMK for EBS is used unless you specify a non-default AWS Key Management Service (AWS KMS) CMK using <code>KmsKeyId</code>. For more information, see <a href=\"http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html\">Amazon EBS Encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
},
"KmsKeyId": {
"shape": "String",
"documentation": "<p>An identifier for the AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default CMK; if this parameter is not specified, the default CMK for EBS is used. If a <code>KmsKeyId</code> is specified, the <code>Encrypted</code> flag must also be set. </p> <p>The CMK identifier may be provided in any of the following formats: </p> <ul> <li> <p>Key ID</p> </li> <li> <p>Key alias, in the form <code>alias/<i>ExampleAlias</i> </code> </p> </li> <li> <p>ARN using key ID. The ID ARN contains the <code>arn:aws:kms</code> namespace, followed by the region of the CMK, the AWS account ID of the CMK owner, the <code>key</code> namespace, and then the CMK ID. For example, arn:aws:kms:<i>us-east-1</i>:<i>012345678910</i>:key/<i>abcd1234-a123-456a-a12b-a123b4cd56ef</i>.</p> </li> <li> <p>ARN using key alias. The alias ARN contains the <code>arn:aws:kms</code> namespace, followed by the region of the CMK, the AWS account ID of the CMK owner, the <code>alias</code> namespace, and then the CMK alias. For example, arn:aws:kms:<i>us-east-1</i>:<i>012345678910</i>:alias/<i>ExampleAlias</i>. </p> </li> </ul> <p>AWS parses <code>KmsKeyId</code> asynchronously, meaning that the action you call may appear to complete even though you provided an invalid identifier. This action will eventually report failure. </p> <p>The specified CMK must exist in the region that the snapshot is being copied to. </p>"
},
"RoleName": {
"shape": "String",
"documentation": "<p>The name of the role to use when not using the default role, 'vmimport'.</p>"
Expand Down Expand Up @@ -23844,11 +23880,21 @@
"documentation": "<p>The size of the disk in the snapshot, in GiB.</p>",
"locationName": "diskImageSize"
},
"Encrypted": {
"shape": "Boolean",
"documentation": "<p>Indicates whether the snapshot is encrypted.</p>",
"locationName": "encrypted"
},
"Format": {
"shape": "String",
"documentation": "<p>The format of the disk image from which the snapshot is created.</p>",
"locationName": "format"
},
"KmsKeyId": {
"shape": "String",
"documentation": "<p>The identifier for the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to create the encrypted snapshot.</p>",
"locationName": "kmsKeyId"
},
"Progress": {
"shape": "String",
"documentation": "<p>The percentage of completion for the import snapshot task.</p>",
Expand Down
9 changes: 5 additions & 4 deletions clients/costexplorer.d.ts
Expand Up @@ -118,14 +118,14 @@ declare namespace CostExplorer {
*/
End: YearMonthDay;
}
export type Dimension = "AZ"|"INSTANCE_TYPE"|"LINKED_ACCOUNT"|"OPERATION"|"PURCHASE_TYPE"|"REGION"|"SERVICE"|"USAGE_TYPE"|"USAGE_TYPE_GROUP"|"RECORD_TYPE"|"OPERATING_SYSTEM"|"TENANCY"|"SCOPE"|"PLATFORM"|"SUBSCRIPTION_ID"|"LEGAL_ENTITY_NAME"|"DEPLOYMENT_OPTION"|"DATABASE_ENGINE"|"CACHE_ENGINE"|"INSTANCE_TYPE_FAMILY"|string;
export type Dimension = "AZ"|"INSTANCE_TYPE"|"LINKED_ACCOUNT"|"OPERATION"|"PURCHASE_TYPE"|"REGION"|"SERVICE"|"USAGE_TYPE"|"USAGE_TYPE_GROUP"|"RECORD_TYPE"|"OPERATING_SYSTEM"|"TENANCY"|"SCOPE"|"PLATFORM"|"SUBSCRIPTION_ID"|"LEGAL_ENTITY_NAME"|"DEPLOYMENT_OPTION"|"DATABASE_ENGINE"|"CACHE_ENGINE"|"INSTANCE_TYPE_FAMILY"|"BILLING_ENTITY"|"RESERVATION_ID"|string;
export interface DimensionValues {
/**
* The names of the metadata types that you can use to filter and group your results. For example, AZ returns a list of Availability Zones.
*/
Key?: Dimension;
/**
* The metadata values that you can use to filter and group your results. You can use GetDimensionValues to find specific values.
* The metadata values that you can use to filter and group your results. You can use GetDimensionValues to find specific values. Valid values for the SERVICE dimension are Amazon Elastic Compute Cloud - Compute, Amazon Elasticsearch Service, Amazon ElastiCache, Amazon Redshift, and Amazon Relational Database Service.
*/
Values?: Values;
}
Expand Down Expand Up @@ -269,7 +269,7 @@ declare namespace CostExplorer {
*/
Filter?: Expression;
/**
* Which metrics are returned in the query. For more information about blended and unblended rates, see Why does the "blended" annotation appear on some line items in my bill?. Valid values are AmortizedCost, BlendedCost, UnblendedCost, and UsageQuantity. If you return the UsageQuantity metric, the service aggregates all usage numbers without taking into account the units. For example, if you aggregate usageQuantity across all of EC2, the results aren't meaningful because EC2 compute hours and data transfer are measured in different units (for example, hours vs. GB). To get more meaningful UsageQuantity metrics, filter by UsageType or UsageTypeGroups. Metrics is required for GetCostAndUsage requests.
* Which metrics are returned in the query. For more information about blended and unblended rates, see Why does the "blended" annotation appear on some line items in my bill?. Valid values are AmortizedCost, BlendedCost, NetAmortizedCost, NetUnblendedCost, NormalizedUsageAmount, UnblendedCost, and UsageQuantity. If you return the UsageQuantity metric, the service aggregates all usage numbers without taking into account the units. For example, if you aggregate usageQuantity across all of EC2, the results aren't meaningful because EC2 compute hours and data transfer are measured in different units (for example, hours vs. GB). To get more meaningful UsageQuantity metrics, filter by UsageType or UsageTypeGroups. Metrics is required for GetCostAndUsage requests.
*/
Metrics?: MetricNames;
/**
Expand Down Expand Up @@ -495,7 +495,7 @@ declare namespace CostExplorer {
*/
TotalSize: PageSize;
}
export type Granularity = "DAILY"|"MONTHLY"|string;
export type Granularity = "DAILY"|"MONTHLY"|"HOURLY"|string;
export interface Group {
/**
* The keys that are included in this group.
Expand Down Expand Up @@ -715,6 +715,7 @@ declare namespace CostExplorer {
RecommendationSummary?: ReservationPurchaseRecommendationSummary;
}
export interface ReservationPurchaseRecommendationDetail {
AccountId?: GenericString;
/**
* Details about the instances that AWS recommends that you purchase.
*/
Expand Down

0 comments on commit 70cbaa7

Please sign in to comment.