aws-sdk 2.31.0 → 2.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.changes/2.32.0.json +12 -0
- package/CHANGELOG.md +5 -1
- package/README.md +1 -1
- package/apis/application-autoscaling-2016-02-06.paginators.json +8 -8
- package/apis/cloudtrail-2013-11-01.min.json +7 -0
- package/clients/applicationautoscaling.d.ts +22 -22
- package/clients/cloudtrail.d.ts +9 -3
- package/dist/aws-sdk.js +51 -13
- package/dist/aws-sdk.min.js +23 -23
- package/lib/core.js +1 -1
- package/lib/s3/managed_upload.d.ts +14 -10
- package/lib/s3/managed_upload.js +44 -3
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "feature",
|
|
4
|
+
"category": "S3",
|
|
5
|
+
"description": "Adds a means of specifying tags to apply to objects of any size uploaded with AWS.S3.ManagedUploader"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "feature",
|
|
9
|
+
"category": "ApplicationAutoScaling",
|
|
10
|
+
"description": "Application AutoScaling is launching support for a new target resource (AppStream 2.0 Fleets) as a scalable target."
|
|
11
|
+
}
|
|
12
|
+
]
|
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
# Changelog for AWS SDK for JavaScript
|
|
2
|
-
<!--LATEST=2.
|
|
2
|
+
<!--LATEST=2.32.0-->
|
|
3
3
|
<!--ENTRYINSERT-->
|
|
4
4
|
|
|
5
|
+
## 2.32.0
|
|
6
|
+
* feature: S3: Adds a means of specifying tags to apply to objects of any size uploaded with AWS.S3.ManagedUploader
|
|
7
|
+
* feature: ApplicationAutoScaling: Application AutoScaling is launching support for a new target resource (AppStream 2.0 Fleets) as a scalable target.
|
|
8
|
+
|
|
5
9
|
## 2.31.0
|
|
6
10
|
* feature: DynamoDB: Adds ability to customize retry delays for DynamoDB. This previously worked for all services except DynamoDB. Also adds jitter to DynamoDB retries. See `AWS.Config.retryDelayOptions` for more information.
|
|
7
11
|
* feature: Waiter: Allow customization of a waiter using a special `$waiter` key
|
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ to work with the new major version.
|
|
|
24
24
|
To use the SDK in the browser, simply add the following script tag to your
|
|
25
25
|
HTML pages:
|
|
26
26
|
|
|
27
|
-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.
|
|
27
|
+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.32.0.min.js"></script>
|
|
28
28
|
|
|
29
29
|
You can also build a custom browser SDK with your specified set of AWS services.
|
|
30
30
|
This can allow you to reduce the SDK's size, specify different API versions of
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
"pagination": {
|
|
3
3
|
"DescribeScalableTargets": {
|
|
4
4
|
"input_token": "NextToken",
|
|
5
|
-
"output_token": "NextToken",
|
|
6
5
|
"limit_key": "MaxResults",
|
|
6
|
+
"output_token": "NextToken",
|
|
7
7
|
"result_key": "ScalableTargets"
|
|
8
8
|
},
|
|
9
|
-
"
|
|
9
|
+
"DescribeScalingActivities": {
|
|
10
10
|
"input_token": "NextToken",
|
|
11
|
-
"output_token": "NextToken",
|
|
12
11
|
"limit_key": "MaxResults",
|
|
13
|
-
"
|
|
12
|
+
"output_token": "NextToken",
|
|
13
|
+
"result_key": "ScalingActivities"
|
|
14
14
|
},
|
|
15
|
-
"
|
|
15
|
+
"DescribeScalingPolicies": {
|
|
16
16
|
"input_token": "NextToken",
|
|
17
|
-
"output_token": "NextToken",
|
|
18
17
|
"limit_key": "MaxResults",
|
|
19
|
-
"
|
|
18
|
+
"output_token": "NextToken",
|
|
19
|
+
"result_key": "ScalingPolicies"
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
}
|
|
22
|
+
}
|
|
@@ -155,6 +155,9 @@
|
|
|
155
155
|
"GetEventSelectors": {
|
|
156
156
|
"input": {
|
|
157
157
|
"type": "structure",
|
|
158
|
+
"required": [
|
|
159
|
+
"TrailName"
|
|
160
|
+
],
|
|
158
161
|
"members": {
|
|
159
162
|
"TrailName": {}
|
|
160
163
|
}
|
|
@@ -358,6 +361,10 @@
|
|
|
358
361
|
"PutEventSelectors": {
|
|
359
362
|
"input": {
|
|
360
363
|
"type": "structure",
|
|
364
|
+
"required": [
|
|
365
|
+
"TrailName",
|
|
366
|
+
"EventSelectors"
|
|
367
|
+
],
|
|
361
368
|
"members": {
|
|
362
369
|
"TrailName": {},
|
|
363
370
|
"EventSelectors": {
|
|
@@ -92,11 +92,11 @@ declare namespace ApplicationAutoScaling {
|
|
|
92
92
|
*/
|
|
93
93
|
ServiceNamespace: ServiceNamespace;
|
|
94
94
|
/**
|
|
95
|
-
* The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
|
|
95
|
+
* The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet.
|
|
96
96
|
*/
|
|
97
97
|
ResourceId: ResourceIdMaxLen1600;
|
|
98
98
|
/**
|
|
99
|
-
* The scalable dimension. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group.
|
|
99
|
+
* The scalable dimension. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet.
|
|
100
100
|
*/
|
|
101
101
|
ScalableDimension: ScalableDimension;
|
|
102
102
|
}
|
|
@@ -108,11 +108,11 @@ declare namespace ApplicationAutoScaling {
|
|
|
108
108
|
*/
|
|
109
109
|
ServiceNamespace: ServiceNamespace;
|
|
110
110
|
/**
|
|
111
|
-
* The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
|
|
111
|
+
* The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet.
|
|
112
112
|
*/
|
|
113
113
|
ResourceId: ResourceIdMaxLen1600;
|
|
114
114
|
/**
|
|
115
|
-
* The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group.
|
|
115
|
+
* The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet.
|
|
116
116
|
*/
|
|
117
117
|
ScalableDimension: ScalableDimension;
|
|
118
118
|
}
|
|
@@ -124,11 +124,11 @@ declare namespace ApplicationAutoScaling {
|
|
|
124
124
|
*/
|
|
125
125
|
ServiceNamespace: ServiceNamespace;
|
|
126
126
|
/**
|
|
127
|
-
* The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
|
|
127
|
+
* The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet.
|
|
128
128
|
*/
|
|
129
129
|
ResourceIds?: ResourceIdsMaxLen1600;
|
|
130
130
|
/**
|
|
131
|
-
* The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group.
|
|
131
|
+
* The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet.
|
|
132
132
|
*/
|
|
133
133
|
ScalableDimension?: ScalableDimension;
|
|
134
134
|
/**
|
|
@@ -156,11 +156,11 @@ declare namespace ApplicationAutoScaling {
|
|
|
156
156
|
*/
|
|
157
157
|
ServiceNamespace: ServiceNamespace;
|
|
158
158
|
/**
|
|
159
|
-
* The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
|
|
159
|
+
* The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet.
|
|
160
160
|
*/
|
|
161
161
|
ResourceId?: ResourceIdMaxLen1600;
|
|
162
162
|
/**
|
|
163
|
-
* The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group.
|
|
163
|
+
* The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet.
|
|
164
164
|
*/
|
|
165
165
|
ScalableDimension?: ScalableDimension;
|
|
166
166
|
/**
|
|
@@ -192,11 +192,11 @@ declare namespace ApplicationAutoScaling {
|
|
|
192
192
|
*/
|
|
193
193
|
ServiceNamespace: ServiceNamespace;
|
|
194
194
|
/**
|
|
195
|
-
* The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
|
|
195
|
+
* The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet.
|
|
196
196
|
*/
|
|
197
197
|
ResourceId?: ResourceIdMaxLen1600;
|
|
198
198
|
/**
|
|
199
|
-
* The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group.
|
|
199
|
+
* The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet.
|
|
200
200
|
*/
|
|
201
201
|
ScalableDimension?: ScalableDimension;
|
|
202
202
|
/**
|
|
@@ -235,11 +235,11 @@ declare namespace ApplicationAutoScaling {
|
|
|
235
235
|
*/
|
|
236
236
|
ServiceNamespace: ServiceNamespace;
|
|
237
237
|
/**
|
|
238
|
-
* The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
|
|
238
|
+
* The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet.
|
|
239
239
|
*/
|
|
240
240
|
ResourceId: ResourceIdMaxLen1600;
|
|
241
241
|
/**
|
|
242
|
-
* The scalable dimension. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group.
|
|
242
|
+
* The scalable dimension. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet.
|
|
243
243
|
*/
|
|
244
244
|
ScalableDimension: ScalableDimension;
|
|
245
245
|
/**
|
|
@@ -263,11 +263,11 @@ declare namespace ApplicationAutoScaling {
|
|
|
263
263
|
*/
|
|
264
264
|
ServiceNamespace: ServiceNamespace;
|
|
265
265
|
/**
|
|
266
|
-
* The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
|
|
266
|
+
* The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet.
|
|
267
267
|
*/
|
|
268
268
|
ResourceId: ResourceIdMaxLen1600;
|
|
269
269
|
/**
|
|
270
|
-
* The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group.
|
|
270
|
+
* The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet.
|
|
271
271
|
*/
|
|
272
272
|
ScalableDimension: ScalableDimension;
|
|
273
273
|
/**
|
|
@@ -289,18 +289,18 @@ declare namespace ApplicationAutoScaling {
|
|
|
289
289
|
export type ResourceId = string;
|
|
290
290
|
export type ResourceIdMaxLen1600 = string;
|
|
291
291
|
export type ResourceIdsMaxLen1600 = ResourceIdMaxLen1600[];
|
|
292
|
-
export type ScalableDimension = "ecs:service:DesiredCount"|"ec2:spot-fleet-request:TargetCapacity"|"elasticmapreduce:instancegroup:InstanceCount"|string;
|
|
292
|
+
export type ScalableDimension = "ecs:service:DesiredCount"|"ec2:spot-fleet-request:TargetCapacity"|"elasticmapreduce:instancegroup:InstanceCount"|"appstream:fleet:DesiredCapacity"|string;
|
|
293
293
|
export interface ScalableTarget {
|
|
294
294
|
/**
|
|
295
295
|
* The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
|
|
296
296
|
*/
|
|
297
297
|
ServiceNamespace: ServiceNamespace;
|
|
298
298
|
/**
|
|
299
|
-
* The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
|
|
299
|
+
* The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet.
|
|
300
300
|
*/
|
|
301
301
|
ResourceId: ResourceIdMaxLen1600;
|
|
302
302
|
/**
|
|
303
|
-
* The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group.
|
|
303
|
+
* The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet.
|
|
304
304
|
*/
|
|
305
305
|
ScalableDimension: ScalableDimension;
|
|
306
306
|
/**
|
|
@@ -332,11 +332,11 @@ declare namespace ApplicationAutoScaling {
|
|
|
332
332
|
*/
|
|
333
333
|
ServiceNamespace: ServiceNamespace;
|
|
334
334
|
/**
|
|
335
|
-
* The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
|
|
335
|
+
* The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet.
|
|
336
336
|
*/
|
|
337
337
|
ResourceId: ResourceIdMaxLen1600;
|
|
338
338
|
/**
|
|
339
|
-
* The scalable dimension. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group.
|
|
339
|
+
* The scalable dimension. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet.
|
|
340
340
|
*/
|
|
341
341
|
ScalableDimension: ScalableDimension;
|
|
342
342
|
/**
|
|
@@ -385,11 +385,11 @@ declare namespace ApplicationAutoScaling {
|
|
|
385
385
|
*/
|
|
386
386
|
ServiceNamespace: ServiceNamespace;
|
|
387
387
|
/**
|
|
388
|
-
* The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
|
|
388
|
+
* The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet.
|
|
389
389
|
*/
|
|
390
390
|
ResourceId: ResourceIdMaxLen1600;
|
|
391
391
|
/**
|
|
392
|
-
* The scalable dimension. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group.
|
|
392
|
+
* The scalable dimension. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The desired task count of an ECS service. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet.
|
|
393
393
|
*/
|
|
394
394
|
ScalableDimension: ScalableDimension;
|
|
395
395
|
/**
|
|
@@ -409,7 +409,7 @@ declare namespace ApplicationAutoScaling {
|
|
|
409
409
|
*/
|
|
410
410
|
CreationTime: TimestampType;
|
|
411
411
|
}
|
|
412
|
-
export type ServiceNamespace = "ecs"|"elasticmapreduce"|"ec2"|string;
|
|
412
|
+
export type ServiceNamespace = "ecs"|"elasticmapreduce"|"ec2"|"appstream"|string;
|
|
413
413
|
export interface StepAdjustment {
|
|
414
414
|
/**
|
|
415
415
|
* The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.
|
package/clients/cloudtrail.d.ts
CHANGED
|
@@ -318,7 +318,7 @@ declare namespace CloudTrail {
|
|
|
318
318
|
/**
|
|
319
319
|
* Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are invalid. Not be in IP address format (for example, 192.168.5.4) If you specify a trail ARN, it must be in the format: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
|
320
320
|
*/
|
|
321
|
-
TrailName
|
|
321
|
+
TrailName: String;
|
|
322
322
|
}
|
|
323
323
|
export interface GetEventSelectorsResponse {
|
|
324
324
|
/**
|
|
@@ -441,6 +441,9 @@ declare namespace CloudTrail {
|
|
|
441
441
|
NextToken?: String;
|
|
442
442
|
}
|
|
443
443
|
export interface ListTagsResponse {
|
|
444
|
+
/**
|
|
445
|
+
* A list of resource tags.
|
|
446
|
+
*/
|
|
444
447
|
ResourceTagList?: ResourceTagList;
|
|
445
448
|
/**
|
|
446
449
|
* Reserved for future use.
|
|
@@ -516,11 +519,11 @@ declare namespace CloudTrail {
|
|
|
516
519
|
/**
|
|
517
520
|
* Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are invalid. Not be in IP address format (for example, 192.168.5.4) If you specify a trail ARN, it must be in the format: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
|
518
521
|
*/
|
|
519
|
-
TrailName
|
|
522
|
+
TrailName: String;
|
|
520
523
|
/**
|
|
521
524
|
* Specifies the settings for your event selectors. You can configure up to five event selectors for a trail.
|
|
522
525
|
*/
|
|
523
|
-
EventSelectors
|
|
526
|
+
EventSelectors: EventSelectors;
|
|
524
527
|
}
|
|
525
528
|
export interface PutEventSelectorsResponse {
|
|
526
529
|
/**
|
|
@@ -562,6 +565,9 @@ declare namespace CloudTrail {
|
|
|
562
565
|
* Specifies the ARN of the resource.
|
|
563
566
|
*/
|
|
564
567
|
ResourceId?: String;
|
|
568
|
+
/**
|
|
569
|
+
* A list of tags.
|
|
570
|
+
*/
|
|
565
571
|
TagsList?: TagsList;
|
|
566
572
|
}
|
|
567
573
|
export type ResourceTagList = ResourceTag[];
|
package/dist/aws-sdk.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// AWS SDK for JavaScript v2.
|
|
1
|
+
// AWS SDK for JavaScript v2.32.0
|
|
2
2
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
|
|
4
4
|
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
|
|
@@ -4365,25 +4365,24 @@ module.exports={
|
|
|
4365
4365
|
"pagination": {
|
|
4366
4366
|
"DescribeScalableTargets": {
|
|
4367
4367
|
"input_token": "NextToken",
|
|
4368
|
-
"output_token": "NextToken",
|
|
4369
4368
|
"limit_key": "MaxResults",
|
|
4369
|
+
"output_token": "NextToken",
|
|
4370
4370
|
"result_key": "ScalableTargets"
|
|
4371
4371
|
},
|
|
4372
|
-
"
|
|
4372
|
+
"DescribeScalingActivities": {
|
|
4373
4373
|
"input_token": "NextToken",
|
|
4374
|
-
"output_token": "NextToken",
|
|
4375
4374
|
"limit_key": "MaxResults",
|
|
4376
|
-
"
|
|
4375
|
+
"output_token": "NextToken",
|
|
4376
|
+
"result_key": "ScalingActivities"
|
|
4377
4377
|
},
|
|
4378
|
-
"
|
|
4378
|
+
"DescribeScalingPolicies": {
|
|
4379
4379
|
"input_token": "NextToken",
|
|
4380
|
-
"output_token": "NextToken",
|
|
4381
4380
|
"limit_key": "MaxResults",
|
|
4382
|
-
"
|
|
4381
|
+
"output_token": "NextToken",
|
|
4382
|
+
"result_key": "ScalingPolicies"
|
|
4383
4383
|
}
|
|
4384
4384
|
}
|
|
4385
4385
|
}
|
|
4386
|
-
|
|
4387
4386
|
},{}],7:[function(require,module,exports){
|
|
4388
4387
|
module.exports={
|
|
4389
4388
|
"version": "2.0",
|
|
@@ -9842,6 +9841,9 @@ module.exports={
|
|
|
9842
9841
|
"GetEventSelectors": {
|
|
9843
9842
|
"input": {
|
|
9844
9843
|
"type": "structure",
|
|
9844
|
+
"required": [
|
|
9845
|
+
"TrailName"
|
|
9846
|
+
],
|
|
9845
9847
|
"members": {
|
|
9846
9848
|
"TrailName": {}
|
|
9847
9849
|
}
|
|
@@ -10045,6 +10047,10 @@ module.exports={
|
|
|
10045
10047
|
"PutEventSelectors": {
|
|
10046
10048
|
"input": {
|
|
10047
10049
|
"type": "structure",
|
|
10050
|
+
"required": [
|
|
10051
|
+
"TrailName",
|
|
10052
|
+
"EventSelectors"
|
|
10053
|
+
],
|
|
10048
10054
|
"members": {
|
|
10049
10055
|
"TrailName": {},
|
|
10050
10056
|
"EventSelectors": {
|
|
@@ -96005,7 +96011,7 @@ module.exports = AWS;
|
|
|
96005
96011
|
AWS.util.update(AWS, {
|
|
96006
96012
|
|
|
96007
96013
|
|
|
96008
|
-
VERSION: '2.
|
|
96014
|
+
VERSION: '2.32.0',
|
|
96009
96015
|
|
|
96010
96016
|
|
|
96011
96017
|
Signers: {},
|
|
@@ -100145,6 +100151,13 @@ AWS.S3.ManagedUpload = AWS.util.inherit({
|
|
|
100145
100151
|
if (options.queueSize) this.queueSize = options.queueSize;
|
|
100146
100152
|
if (options.partSize) this.partSize = options.partSize;
|
|
100147
100153
|
if (options.leavePartsOnError) this.leavePartsOnError = true;
|
|
100154
|
+
if (options.tags) {
|
|
100155
|
+
if (!Array.isArray(options.tags)) {
|
|
100156
|
+
throw new Error('Tags must be specified as an array; ' +
|
|
100157
|
+
typeof options.tags + ' provided.');
|
|
100158
|
+
}
|
|
100159
|
+
this.tags = options.tags;
|
|
100160
|
+
}
|
|
100148
100161
|
|
|
100149
100162
|
if (this.partSize < this.minPartSize) {
|
|
100150
100163
|
throw new Error('partSize must be greater than ' +
|
|
@@ -100378,7 +100391,11 @@ AWS.S3.ManagedUpload = AWS.util.inherit({
|
|
|
100378
100391
|
|
|
100379
100392
|
var partNumber = ++self.totalPartNumbers;
|
|
100380
100393
|
if (self.isDoneChunking && partNumber === 1) {
|
|
100381
|
-
var
|
|
100394
|
+
var params = {Body: chunk};
|
|
100395
|
+
if (this.tags) {
|
|
100396
|
+
params.Tagging = this.getTaggingHeader();
|
|
100397
|
+
}
|
|
100398
|
+
var req = self.service.putObject(params);
|
|
100382
100399
|
req._managedUpload = self;
|
|
100383
100400
|
req.on('httpUploadProgress', self.progress).send(self.finishSinglePart);
|
|
100384
100401
|
return null;
|
|
@@ -100418,6 +100435,17 @@ AWS.S3.ManagedUpload = AWS.util.inherit({
|
|
|
100418
100435
|
},
|
|
100419
100436
|
|
|
100420
100437
|
|
|
100438
|
+
getTaggingHeader: function getTaggingHeader() {
|
|
100439
|
+
var kvPairStrings = [];
|
|
100440
|
+
for (var i = 0; i < this.tags.length; i++) {
|
|
100441
|
+
kvPairStrings.push(AWS.util.uriEscape(this.tags[i].Key) + '=' +
|
|
100442
|
+
AWS.util.uriEscape(this.tags[i].Value));
|
|
100443
|
+
}
|
|
100444
|
+
|
|
100445
|
+
return kvPairStrings.join('&');
|
|
100446
|
+
},
|
|
100447
|
+
|
|
100448
|
+
|
|
100421
100449
|
uploadPart: function uploadPart(chunk, partNumber) {
|
|
100422
100450
|
var self = this;
|
|
100423
100451
|
|
|
@@ -100504,8 +100532,18 @@ AWS.S3.ManagedUpload = AWS.util.inherit({
|
|
|
100504
100532
|
var self = this;
|
|
100505
100533
|
var completeParams = { MultipartUpload: { Parts: self.completeInfo.slice(1) } };
|
|
100506
100534
|
self.service.completeMultipartUpload(completeParams, function(err, data) {
|
|
100507
|
-
if (err)
|
|
100508
|
-
|
|
100535
|
+
if (err) {
|
|
100536
|
+
return self.cleanup(err);
|
|
100537
|
+
}
|
|
100538
|
+
|
|
100539
|
+
if (Array.isArray(self.tags)) {
|
|
100540
|
+
self.service.putObjectTagging(
|
|
100541
|
+
{Tagging: {TagSet: self.tags}},
|
|
100542
|
+
self.callback
|
|
100543
|
+
);
|
|
100544
|
+
} else {
|
|
100545
|
+
self.callback(err, data);
|
|
100546
|
+
}
|
|
100509
100547
|
});
|
|
100510
100548
|
},
|
|
100511
100549
|
|