aws-sdk 2.974.0 → 2.978.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/CHANGELOG.md +25 -1
- package/README.md +1 -1
- package/apis/compute-optimizer-2019-11-01.min.json +98 -25
- package/apis/datasync-2018-11-09.min.json +13 -1
- package/apis/ec2-2016-11-15.min.json +224 -212
- package/apis/elasticmapreduce-2009-03-31.min.json +84 -21
- package/apis/fms-2018-01-01.min.json +6 -0
- package/apis/iot-data-2015-05-28.min.json +82 -0
- package/apis/iot-data-2015-05-28.paginators.json +7 -1
- package/apis/mediaconvert-2017-08-29.min.json +110 -89
- package/apis/rekognition-2016-06-27.min.json +134 -110
- package/apis/s3-2006-03-01.examples.json +162 -162
- package/apis/ssm-2014-11-06.min.json +13 -3
- package/apis/transcribe-2017-10-26.min.json +161 -64
- package/clients/cloudwatchevents.d.ts +67 -67
- package/clients/computeoptimizer.d.ts +181 -81
- package/clients/datasync.d.ts +69 -53
- package/clients/ec2.d.ts +77 -52
- package/clients/emr.d.ts +78 -15
- package/clients/eventbridge.d.ts +3 -3
- package/clients/fms.d.ts +9 -1
- package/clients/iotdata.d.ts +99 -13
- package/clients/mediaconvert.d.ts +46 -12
- package/clients/polly.d.ts +15 -15
- package/clients/rekognition.d.ts +27 -7
- package/clients/s3.d.ts +6 -6
- package/clients/transcribeservice.d.ts +149 -38
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +12 -12
- package/dist/aws-sdk.js +551 -351
- package/dist/aws-sdk.min.js +63 -62
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/clients/emr.d.ts
CHANGED
|
@@ -157,11 +157,19 @@ declare class EMR extends Service {
|
|
|
157
157
|
*/
|
|
158
158
|
describeStudio(callback?: (err: AWSError, data: EMR.Types.DescribeStudioOutput) => void): Request<EMR.Types.DescribeStudioOutput, AWSError>;
|
|
159
159
|
/**
|
|
160
|
-
* Returns the
|
|
160
|
+
* Returns the auto-termination policy for an Amazon EMR cluster.
|
|
161
|
+
*/
|
|
162
|
+
getAutoTerminationPolicy(params: EMR.Types.GetAutoTerminationPolicyInput, callback?: (err: AWSError, data: EMR.Types.GetAutoTerminationPolicyOutput) => void): Request<EMR.Types.GetAutoTerminationPolicyOutput, AWSError>;
|
|
163
|
+
/**
|
|
164
|
+
* Returns the auto-termination policy for an Amazon EMR cluster.
|
|
165
|
+
*/
|
|
166
|
+
getAutoTerminationPolicy(callback?: (err: AWSError, data: EMR.Types.GetAutoTerminationPolicyOutput) => void): Request<EMR.Types.GetAutoTerminationPolicyOutput, AWSError>;
|
|
167
|
+
/**
|
|
168
|
+
* Returns the Amazon EMR block public access configuration for your Amazon Web Services account in the current Region. For more information see Configure Block Public Access for Amazon EMR in the Amazon EMR Management Guide.
|
|
161
169
|
*/
|
|
162
170
|
getBlockPublicAccessConfiguration(params: EMR.Types.GetBlockPublicAccessConfigurationInput, callback?: (err: AWSError, data: EMR.Types.GetBlockPublicAccessConfigurationOutput) => void): Request<EMR.Types.GetBlockPublicAccessConfigurationOutput, AWSError>;
|
|
163
171
|
/**
|
|
164
|
-
* Returns the Amazon EMR block public access configuration for your account in the current Region. For more information see Configure Block Public Access for Amazon EMR in the Amazon EMR Management Guide.
|
|
172
|
+
* Returns the Amazon EMR block public access configuration for your Amazon Web Services account in the current Region. For more information see Configure Block Public Access for Amazon EMR in the Amazon EMR Management Guide.
|
|
165
173
|
*/
|
|
166
174
|
getBlockPublicAccessConfiguration(callback?: (err: AWSError, data: EMR.Types.GetBlockPublicAccessConfigurationOutput) => void): Request<EMR.Types.GetBlockPublicAccessConfigurationOutput, AWSError>;
|
|
167
175
|
/**
|
|
@@ -189,11 +197,11 @@ declare class EMR extends Service {
|
|
|
189
197
|
*/
|
|
190
198
|
listBootstrapActions(callback?: (err: AWSError, data: EMR.Types.ListBootstrapActionsOutput) => void): Request<EMR.Types.ListBootstrapActionsOutput, AWSError>;
|
|
191
199
|
/**
|
|
192
|
-
* Provides the status of all clusters visible to this account. Allows you to filter the list of clusters based on certain criteria; for example, filtering by cluster creation date and time or by status. This call returns a maximum of 50 clusters in unsorted order per call, but returns a marker to track the paging of the cluster list across multiple ListClusters calls.
|
|
200
|
+
* Provides the status of all clusters visible to this Amazon Web Services account. Allows you to filter the list of clusters based on certain criteria; for example, filtering by cluster creation date and time or by status. This call returns a maximum of 50 clusters in unsorted order per call, but returns a marker to track the paging of the cluster list across multiple ListClusters calls.
|
|
193
201
|
*/
|
|
194
202
|
listClusters(params: EMR.Types.ListClustersInput, callback?: (err: AWSError, data: EMR.Types.ListClustersOutput) => void): Request<EMR.Types.ListClustersOutput, AWSError>;
|
|
195
203
|
/**
|
|
196
|
-
* Provides the status of all clusters visible to this account. Allows you to filter the list of clusters based on certain criteria; for example, filtering by cluster creation date and time or by status. This call returns a maximum of 50 clusters in unsorted order per call, but returns a marker to track the paging of the cluster list across multiple ListClusters calls.
|
|
204
|
+
* Provides the status of all clusters visible to this Amazon Web Services account. Allows you to filter the list of clusters based on certain criteria; for example, filtering by cluster creation date and time or by status. This call returns a maximum of 50 clusters in unsorted order per call, but returns a marker to track the paging of the cluster list across multiple ListClusters calls.
|
|
197
205
|
*/
|
|
198
206
|
listClusters(callback?: (err: AWSError, data: EMR.Types.ListClustersOutput) => void): Request<EMR.Types.ListClustersOutput, AWSError>;
|
|
199
207
|
/**
|
|
@@ -261,11 +269,11 @@ declare class EMR extends Service {
|
|
|
261
269
|
*/
|
|
262
270
|
listStudioSessionMappings(callback?: (err: AWSError, data: EMR.Types.ListStudioSessionMappingsOutput) => void): Request<EMR.Types.ListStudioSessionMappingsOutput, AWSError>;
|
|
263
271
|
/**
|
|
264
|
-
* Returns a list of all Amazon EMR Studios associated with the account. The list includes details such as ID, Studio Access URL, and creation time for each Studio.
|
|
272
|
+
* Returns a list of all Amazon EMR Studios associated with the Amazon Web Services account. The list includes details such as ID, Studio Access URL, and creation time for each Studio.
|
|
265
273
|
*/
|
|
266
274
|
listStudios(params: EMR.Types.ListStudiosInput, callback?: (err: AWSError, data: EMR.Types.ListStudiosOutput) => void): Request<EMR.Types.ListStudiosOutput, AWSError>;
|
|
267
275
|
/**
|
|
268
|
-
* Returns a list of all Amazon EMR Studios associated with the account. The list includes details such as ID, Studio Access URL, and creation time for each Studio.
|
|
276
|
+
* Returns a list of all Amazon EMR Studios associated with the Amazon Web Services account. The list includes details such as ID, Studio Access URL, and creation time for each Studio.
|
|
269
277
|
*/
|
|
270
278
|
listStudios(callback?: (err: AWSError, data: EMR.Types.ListStudiosOutput) => void): Request<EMR.Types.ListStudiosOutput, AWSError>;
|
|
271
279
|
/**
|
|
@@ -301,11 +309,19 @@ declare class EMR extends Service {
|
|
|
301
309
|
*/
|
|
302
310
|
putAutoScalingPolicy(callback?: (err: AWSError, data: EMR.Types.PutAutoScalingPolicyOutput) => void): Request<EMR.Types.PutAutoScalingPolicyOutput, AWSError>;
|
|
303
311
|
/**
|
|
304
|
-
* Creates or updates an Amazon EMR
|
|
312
|
+
* Creates or updates an auto-termination policy for an Amazon EMR cluster. An auto-termination policy defines the amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster termination options, see Control cluster termination.
|
|
313
|
+
*/
|
|
314
|
+
putAutoTerminationPolicy(params: EMR.Types.PutAutoTerminationPolicyInput, callback?: (err: AWSError, data: EMR.Types.PutAutoTerminationPolicyOutput) => void): Request<EMR.Types.PutAutoTerminationPolicyOutput, AWSError>;
|
|
315
|
+
/**
|
|
316
|
+
* Creates or updates an auto-termination policy for an Amazon EMR cluster. An auto-termination policy defines the amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster termination options, see Control cluster termination.
|
|
317
|
+
*/
|
|
318
|
+
putAutoTerminationPolicy(callback?: (err: AWSError, data: EMR.Types.PutAutoTerminationPolicyOutput) => void): Request<EMR.Types.PutAutoTerminationPolicyOutput, AWSError>;
|
|
319
|
+
/**
|
|
320
|
+
* Creates or updates an Amazon EMR block public access configuration for your Amazon Web Services account in the current Region. For more information see Configure Block Public Access for Amazon EMR in the Amazon EMR Management Guide.
|
|
305
321
|
*/
|
|
306
322
|
putBlockPublicAccessConfiguration(params: EMR.Types.PutBlockPublicAccessConfigurationInput, callback?: (err: AWSError, data: EMR.Types.PutBlockPublicAccessConfigurationOutput) => void): Request<EMR.Types.PutBlockPublicAccessConfigurationOutput, AWSError>;
|
|
307
323
|
/**
|
|
308
|
-
* Creates or updates an Amazon EMR block public access configuration for your account in the current Region. For more information see Configure Block Public Access for Amazon EMR in the Amazon EMR Management Guide.
|
|
324
|
+
* Creates or updates an Amazon EMR block public access configuration for your Amazon Web Services account in the current Region. For more information see Configure Block Public Access for Amazon EMR in the Amazon EMR Management Guide.
|
|
309
325
|
*/
|
|
310
326
|
putBlockPublicAccessConfiguration(callback?: (err: AWSError, data: EMR.Types.PutBlockPublicAccessConfigurationOutput) => void): Request<EMR.Types.PutBlockPublicAccessConfigurationOutput, AWSError>;
|
|
311
327
|
/**
|
|
@@ -324,6 +340,14 @@ declare class EMR extends Service {
|
|
|
324
340
|
* Removes an automatic scaling policy from a specified instance group within an EMR cluster.
|
|
325
341
|
*/
|
|
326
342
|
removeAutoScalingPolicy(callback?: (err: AWSError, data: EMR.Types.RemoveAutoScalingPolicyOutput) => void): Request<EMR.Types.RemoveAutoScalingPolicyOutput, AWSError>;
|
|
343
|
+
/**
|
|
344
|
+
* Removes an auto-termination policy from an Amazon EMR cluster.
|
|
345
|
+
*/
|
|
346
|
+
removeAutoTerminationPolicy(params: EMR.Types.RemoveAutoTerminationPolicyInput, callback?: (err: AWSError, data: EMR.Types.RemoveAutoTerminationPolicyOutput) => void): Request<EMR.Types.RemoveAutoTerminationPolicyOutput, AWSError>;
|
|
347
|
+
/**
|
|
348
|
+
* Removes an auto-termination policy from an Amazon EMR cluster.
|
|
349
|
+
*/
|
|
350
|
+
removeAutoTerminationPolicy(callback?: (err: AWSError, data: EMR.Types.RemoveAutoTerminationPolicyOutput) => void): Request<EMR.Types.RemoveAutoTerminationPolicyOutput, AWSError>;
|
|
327
351
|
/**
|
|
328
352
|
* Removes a managed scaling policy from a specified EMR cluster.
|
|
329
353
|
*/
|
|
@@ -357,11 +381,11 @@ declare class EMR extends Service {
|
|
|
357
381
|
*/
|
|
358
382
|
setTerminationProtection(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
359
383
|
/**
|
|
360
|
-
* Sets the Cluster$VisibleToAllUsers value for an EMR cluster. When true, IAM principals in the account can perform EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the account root user can perform EMR actions on the cluster, regardless of IAM permissions policies attached to other IAM principals. This action works on running clusters. When you create a cluster, use the RunJobFlowInput$VisibleToAllUsers parameter. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide.
|
|
384
|
+
* Sets the Cluster$VisibleToAllUsers value for an EMR cluster. When true, IAM principals in the Amazon Web Services account can perform EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions on the cluster, regardless of IAM permissions policies attached to other IAM principals. This action works on running clusters. When you create a cluster, use the RunJobFlowInput$VisibleToAllUsers parameter. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide.
|
|
361
385
|
*/
|
|
362
386
|
setVisibleToAllUsers(params: EMR.Types.SetVisibleToAllUsersInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
363
387
|
/**
|
|
364
|
-
* Sets the Cluster$VisibleToAllUsers value for an EMR cluster. When true, IAM principals in the account can perform EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the account root user can perform EMR actions on the cluster, regardless of IAM permissions policies attached to other IAM principals. This action works on running clusters. When you create a cluster, use the RunJobFlowInput$VisibleToAllUsers parameter. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide.
|
|
388
|
+
* Sets the Cluster$VisibleToAllUsers value for an EMR cluster. When true, IAM principals in the Amazon Web Services account can perform EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions on the cluster, regardless of IAM permissions policies attached to other IAM principals. This action works on running clusters. When you create a cluster, use the RunJobFlowInput$VisibleToAllUsers parameter. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide.
|
|
365
389
|
*/
|
|
366
390
|
setVisibleToAllUsers(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
367
391
|
/**
|
|
@@ -575,6 +599,12 @@ declare namespace EMR {
|
|
|
575
599
|
*/
|
|
576
600
|
StateChangeReason?: AutoScalingPolicyStateChangeReason;
|
|
577
601
|
}
|
|
602
|
+
export interface AutoTerminationPolicy {
|
|
603
|
+
/**
|
|
604
|
+
* Specifies the amount of idle time in seconds after which the cluster automatically terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days).
|
|
605
|
+
*/
|
|
606
|
+
IdleTimeout?: Long;
|
|
607
|
+
}
|
|
578
608
|
export interface BlockPublicAccessConfiguration {
|
|
579
609
|
/**
|
|
580
610
|
* Indicates whether Amazon EMR block public access is enabled (true) or disabled (false). By default, the value is false for accounts that have created EMR clusters before July 2019. For accounts created after this, the default is true.
|
|
@@ -739,7 +769,7 @@ declare namespace EMR {
|
|
|
739
769
|
*/
|
|
740
770
|
TerminationProtected?: Boolean;
|
|
741
771
|
/**
|
|
742
|
-
* Indicates whether the cluster is visible to IAM principals in the account associated with the cluster. When true, IAM principals in the account can perform EMR cluster actions on the cluster that their IAM policies allow. When false, only the IAM principal that created the cluster and the account root user can perform EMR actions, regardless of IAM permissions policies attached to other IAM principals. The default value is true if a value is not provided when creating a cluster using the EMR API RunJobFlow command, the CLI create-cluster command, or the Management Console. IAM principals that are allowed to perform actions on the cluster can use the SetVisibleToAllUsers action to change the value on a running cluster. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide.
|
|
772
|
+
* Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform EMR cluster actions on the cluster that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions, regardless of IAM permissions policies attached to other IAM principals. The default value is true if a value is not provided when creating a cluster using the EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console. IAM principals that are allowed to perform actions on the cluster can use the SetVisibleToAllUsers action to change the value on a running cluster. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide.
|
|
743
773
|
*/
|
|
744
774
|
VisibleToAllUsers?: Boolean;
|
|
745
775
|
/**
|
|
@@ -1309,6 +1339,18 @@ declare namespace EMR {
|
|
|
1309
1339
|
*/
|
|
1310
1340
|
LogFile?: String;
|
|
1311
1341
|
}
|
|
1342
|
+
export interface GetAutoTerminationPolicyInput {
|
|
1343
|
+
/**
|
|
1344
|
+
* Specifies the ID of the Amazon EMR cluster for which the auto-termination policy will be fetched.
|
|
1345
|
+
*/
|
|
1346
|
+
ClusterId: ClusterId;
|
|
1347
|
+
}
|
|
1348
|
+
export interface GetAutoTerminationPolicyOutput {
|
|
1349
|
+
/**
|
|
1350
|
+
* Specifies the auto-termination policy that is attached to an Amazon EMR cluster.
|
|
1351
|
+
*/
|
|
1352
|
+
AutoTerminationPolicy?: AutoTerminationPolicy;
|
|
1353
|
+
}
|
|
1312
1354
|
export interface GetBlockPublicAccessConfigurationInput {
|
|
1313
1355
|
}
|
|
1314
1356
|
export interface GetBlockPublicAccessConfigurationOutput {
|
|
@@ -1997,7 +2039,7 @@ declare namespace EMR {
|
|
|
1997
2039
|
*/
|
|
1998
2040
|
SupportedProducts?: SupportedProductsList;
|
|
1999
2041
|
/**
|
|
2000
|
-
* Indicates whether the cluster is visible to IAM principals in the account associated with the cluster. When true, IAM principals in the account can perform EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the account root user can perform EMR actions, regardless of IAM permissions policies attached to other IAM principals. The default value is true if a value is not provided when creating a cluster using the EMR API RunJobFlow command, the CLI create-cluster command, or the Management Console. IAM principals that are authorized to perform actions on the cluster can use the SetVisibleToAllUsers action to change the value on a running cluster. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide.
|
|
2042
|
+
* Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions, regardless of IAM permissions policies attached to other IAM principals. The default value is true if a value is not provided when creating a cluster using the EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console. IAM principals that are authorized to perform actions on the cluster can use the SetVisibleToAllUsers action to change the value on a running cluster. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide.
|
|
2001
2043
|
*/
|
|
2002
2044
|
VisibleToAllUsers?: Boolean;
|
|
2003
2045
|
/**
|
|
@@ -2369,7 +2411,7 @@ declare namespace EMR {
|
|
|
2369
2411
|
*/
|
|
2370
2412
|
Filters?: ReleaseLabelFilter;
|
|
2371
2413
|
/**
|
|
2372
|
-
* Specifies the next page of results. If NextToken is not specified, which is usually the case for the first request of ListReleaseLabels, the first page of results are determined by other filtering parameters or by the latest version. The ListReleaseLabels request fails if the identity (account ID) and all filtering parameters are different from the original request, or if the NextToken is expired or tampered with.
|
|
2414
|
+
* Specifies the next page of results. If NextToken is not specified, which is usually the case for the first request of ListReleaseLabels, the first page of results are determined by other filtering parameters or by the latest version. The ListReleaseLabels request fails if the identity (Amazon Web Services account ID) and all filtering parameters are different from the original request, or if the NextToken is expired or tampered with.
|
|
2373
2415
|
*/
|
|
2374
2416
|
NextToken?: String;
|
|
2375
2417
|
/**
|
|
@@ -2706,6 +2748,18 @@ declare namespace EMR {
|
|
|
2706
2748
|
*/
|
|
2707
2749
|
ClusterArn?: ArnType;
|
|
2708
2750
|
}
|
|
2751
|
+
export interface PutAutoTerminationPolicyInput {
|
|
2752
|
+
/**
|
|
2753
|
+
* Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached.
|
|
2754
|
+
*/
|
|
2755
|
+
ClusterId: ClusterId;
|
|
2756
|
+
/**
|
|
2757
|
+
* Specifies the auto-termination policy to attach to the cluster.
|
|
2758
|
+
*/
|
|
2759
|
+
AutoTerminationPolicy?: AutoTerminationPolicy;
|
|
2760
|
+
}
|
|
2761
|
+
export interface PutAutoTerminationPolicyOutput {
|
|
2762
|
+
}
|
|
2709
2763
|
export interface PutBlockPublicAccessConfigurationInput {
|
|
2710
2764
|
/**
|
|
2711
2765
|
* A configuration for Amazon EMR block public access. The configuration applies to all clusters created in your account for the current Region. The configuration specifies whether block public access is enabled. If block public access is enabled, security groups associated with the cluster cannot have rules that allow inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using PermittedPublicSecurityGroupRuleRanges in the BlockPublicAccessConfiguration. By default, Port 22 (SSH) is an exception, and public access is allowed on this port. You can change this by updating BlockPublicSecurityGroupRules to remove the exception. For accounts that created clusters in a Region before November 25, 2019, block public access is disabled by default in that Region. To use this feature, you must manually enable and configure it. For accounts that did not create an EMR cluster in a Region before this date, block public access is enabled by default in that Region.
|
|
@@ -2748,6 +2802,14 @@ declare namespace EMR {
|
|
|
2748
2802
|
}
|
|
2749
2803
|
export interface RemoveAutoScalingPolicyOutput {
|
|
2750
2804
|
}
|
|
2805
|
+
export interface RemoveAutoTerminationPolicyInput {
|
|
2806
|
+
/**
|
|
2807
|
+
* Specifies the ID of the Amazon EMR cluster from which the auto-termination policy will be removed.
|
|
2808
|
+
*/
|
|
2809
|
+
ClusterId: ClusterId;
|
|
2810
|
+
}
|
|
2811
|
+
export interface RemoveAutoTerminationPolicyOutput {
|
|
2812
|
+
}
|
|
2751
2813
|
export interface RemoveManagedScalingPolicyInput {
|
|
2752
2814
|
/**
|
|
2753
2815
|
* Specifies the ID of the cluster from which the managed scaling policy will be removed.
|
|
@@ -2824,7 +2886,7 @@ declare namespace EMR {
|
|
|
2824
2886
|
*/
|
|
2825
2887
|
Configurations?: ConfigurationList;
|
|
2826
2888
|
/**
|
|
2827
|
-
* Set this value to true so that IAM principals in the account associated with the cluster can perform EMR actions on the cluster that their IAM policies allow. This value defaults to true for clusters created using the EMR API or the CLI create-cluster command. When set to false, only the IAM principal that created the cluster and the account root user can perform EMR actions for the cluster, regardless of the IAM permissions policies attached to other IAM principals. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide.
|
|
2889
|
+
* Set this value to true so that IAM principals in the Amazon Web Services account associated with the cluster can perform EMR actions on the cluster that their IAM policies allow. This value defaults to true for clusters created using the EMR API or the CLI create-cluster command. When set to false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions for the cluster, regardless of the IAM permissions policies attached to other IAM principals. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide.
|
|
2828
2890
|
*/
|
|
2829
2891
|
VisibleToAllUsers?: Boolean;
|
|
2830
2892
|
/**
|
|
@@ -2879,6 +2941,7 @@ declare namespace EMR {
|
|
|
2879
2941
|
* The specified placement group configuration for an Amazon EMR cluster.
|
|
2880
2942
|
*/
|
|
2881
2943
|
PlacementGroupConfigs?: PlacementGroupConfigList;
|
|
2944
|
+
AutoTerminationPolicy?: AutoTerminationPolicy;
|
|
2882
2945
|
}
|
|
2883
2946
|
export interface RunJobFlowOutput {
|
|
2884
2947
|
/**
|
|
@@ -3031,7 +3094,7 @@ declare namespace EMR {
|
|
|
3031
3094
|
*/
|
|
3032
3095
|
JobFlowIds: XmlStringList;
|
|
3033
3096
|
/**
|
|
3034
|
-
* A value of true indicates that an IAM principal in the account can perform EMR actions on the cluster that the IAM policies attached to the principal allow. A value of false indicates that only the IAM principal that created the cluster and the Amazon Web Services root user can perform EMR actions on the cluster.
|
|
3097
|
+
* A value of true indicates that an IAM principal in the Amazon Web Services account can perform EMR actions on the cluster that the IAM policies attached to the principal allow. A value of false indicates that only the IAM principal that created the cluster and the Amazon Web Services root user can perform EMR actions on the cluster.
|
|
3035
3098
|
*/
|
|
3036
3099
|
VisibleToAllUsers: Boolean;
|
|
3037
3100
|
}
|
package/clients/eventbridge.d.ts
CHANGED
|
@@ -340,11 +340,11 @@ declare class EventBridge extends Service {
|
|
|
340
340
|
*/
|
|
341
341
|
putRule(callback?: (err: AWSError, data: EventBridge.Types.PutRuleResponse) => void): Request<EventBridge.Types.PutRuleResponse, AWSError>;
|
|
342
342
|
/**
|
|
343
|
-
* Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. You can configure the following as targets for Events: API destination Amazon API Gateway REST API endpoints API Gateway Batch job queue CloudWatch Logs group CodeBuild project CodePipeline Amazon EC2 CreateSnapshot API call
|
|
343
|
+
* Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. You can configure the following as targets for Events: API destination Amazon API Gateway REST API endpoints API Gateway Batch job queue CloudWatch Logs group CodeBuild project CodePipeline Amazon EC2 CreateSnapshot API call Amazon EC2 RebootInstances API call Amazon EC2 StopInstances API call Amazon EC2 TerminateInstances API call Amazon ECS tasks Event bus in a different Amazon Web Services account or Region. You can use an event bus in the US East (N. Virginia) us-east-1, US West (Oregon) us-west-2, or Europe (Ireland) eu-west-1 Regions as a target for a rule. Firehose delivery stream (Kinesis Data Firehose) Inspector assessment template (Amazon Inspector) Kinesis stream (Kinesis Data Stream) Lambda function Redshift clusters (Data API statement execution) Amazon SNS topic Amazon SQS queues (includes FIFO queues SSM Automation SSM OpsItem SSM Run Command Step Functions state machines Creating rules with built-in targets is supported only in the Amazon Web Services Management Console. The built-in targets are EC2 CreateSnapshot API call, EC2 RebootInstances API call, EC2 StopInstances API call, and EC2 TerminateInstances API call. For some target types, PutTargets provides target-specific parameters. If the target is a Kinesis data stream, you can optionally specify which shard the event goes to by using the KinesisParameters argument. To invoke a command on multiple EC2 instances with one rule, you can use the RunCommandParameters field. To be able to make API calls against the resources that you own, Amazon EventBridge needs the appropriate permissions. For Lambda and Amazon SNS resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis Data Streams, Step Functions state machines and API Gateway REST APIs, EventBridge relies on IAM roles that you specify in the RoleARN argument in PutTargets. For more information, see Authentication and Access Control in the Amazon EventBridge User Guide. If another Amazon Web Services account is in the same region and has granted you permission (using PutPermission), you can send events to that account. Set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the Arn value when you run PutTargets. If your account sends events to another account, your account is charged for each sent event. Each event sent to another account is charged as a custom event. The account receiving the event is not charged. For more information, see Amazon EventBridge Pricing. Input, InputPath, and InputTransformer are not available with PutTarget if the target is an event bus of a different Amazon Web Services account. If you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a RoleArn with proper permissions in the Target structure. For more information, see Sending and Receiving Events Between Amazon Web Services Accounts in the Amazon EventBridge User Guide. For more information about enabling cross-account events, see PutPermission. Input, InputPath, and InputTransformer are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event: If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target). If Input is specified in the form of valid JSON, then the matched event is overridden with this constant. If InputPath is specified in the form of JSONPath (for example, $.detail), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed). If InputTransformer is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target. When you specify InputPath or InputTransformer, you must use JSON dot notation, not bracket notation. When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code.
|
|
344
344
|
*/
|
|
345
345
|
putTargets(params: EventBridge.Types.PutTargetsRequest, callback?: (err: AWSError, data: EventBridge.Types.PutTargetsResponse) => void): Request<EventBridge.Types.PutTargetsResponse, AWSError>;
|
|
346
346
|
/**
|
|
347
|
-
* Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. You can configure the following as targets for Events: API destination Amazon API Gateway REST API endpoints API Gateway Batch job queue CloudWatch Logs group CodeBuild project CodePipeline Amazon EC2 CreateSnapshot API call
|
|
347
|
+
* Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. You can configure the following as targets for Events: API destination Amazon API Gateway REST API endpoints API Gateway Batch job queue CloudWatch Logs group CodeBuild project CodePipeline Amazon EC2 CreateSnapshot API call Amazon EC2 RebootInstances API call Amazon EC2 StopInstances API call Amazon EC2 TerminateInstances API call Amazon ECS tasks Event bus in a different Amazon Web Services account or Region. You can use an event bus in the US East (N. Virginia) us-east-1, US West (Oregon) us-west-2, or Europe (Ireland) eu-west-1 Regions as a target for a rule. Firehose delivery stream (Kinesis Data Firehose) Inspector assessment template (Amazon Inspector) Kinesis stream (Kinesis Data Stream) Lambda function Redshift clusters (Data API statement execution) Amazon SNS topic Amazon SQS queues (includes FIFO queues SSM Automation SSM OpsItem SSM Run Command Step Functions state machines Creating rules with built-in targets is supported only in the Amazon Web Services Management Console. The built-in targets are EC2 CreateSnapshot API call, EC2 RebootInstances API call, EC2 StopInstances API call, and EC2 TerminateInstances API call. For some target types, PutTargets provides target-specific parameters. If the target is a Kinesis data stream, you can optionally specify which shard the event goes to by using the KinesisParameters argument. To invoke a command on multiple EC2 instances with one rule, you can use the RunCommandParameters field. To be able to make API calls against the resources that you own, Amazon EventBridge needs the appropriate permissions. For Lambda and Amazon SNS resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis Data Streams, Step Functions state machines and API Gateway REST APIs, EventBridge relies on IAM roles that you specify in the RoleARN argument in PutTargets. For more information, see Authentication and Access Control in the Amazon EventBridge User Guide. If another Amazon Web Services account is in the same region and has granted you permission (using PutPermission), you can send events to that account. Set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the Arn value when you run PutTargets. If your account sends events to another account, your account is charged for each sent event. Each event sent to another account is charged as a custom event. The account receiving the event is not charged. For more information, see Amazon EventBridge Pricing. Input, InputPath, and InputTransformer are not available with PutTarget if the target is an event bus of a different Amazon Web Services account. If you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a RoleArn with proper permissions in the Target structure. For more information, see Sending and Receiving Events Between Amazon Web Services Accounts in the Amazon EventBridge User Guide. For more information about enabling cross-account events, see PutPermission. Input, InputPath, and InputTransformer are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event: If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target). If Input is specified in the form of valid JSON, then the matched event is overridden with this constant. If InputPath is specified in the form of JSONPath (for example, $.detail), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed). If InputTransformer is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target. When you specify InputPath or InputTransformer, you must use JSON dot notation, not bracket notation. When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code.
|
|
348
348
|
*/
|
|
349
349
|
putTargets(callback?: (err: AWSError, data: EventBridge.Types.PutTargetsResponse) => void): Request<EventBridge.Types.PutTargetsResponse, AWSError>;
|
|
350
350
|
/**
|
|
@@ -1604,7 +1604,7 @@ declare namespace EventBridge {
|
|
|
1604
1604
|
*/
|
|
1605
1605
|
PartitionKeyPath: TargetPartitionKeyPath;
|
|
1606
1606
|
}
|
|
1607
|
-
export type LaunchType = "EC2"|"FARGATE"|string;
|
|
1607
|
+
export type LaunchType = "EC2"|"FARGATE"|"EXTERNAL"|string;
|
|
1608
1608
|
export type LimitMax100 = number;
|
|
1609
1609
|
export type LimitMin1 = number;
|
|
1610
1610
|
export interface ListApiDestinationsRequest {
|
package/clients/fms.d.ts
CHANGED
|
@@ -1260,6 +1260,10 @@ declare namespace FMS {
|
|
|
1260
1260
|
* Indicates if the policy should be automatically applied to new resources.
|
|
1261
1261
|
*/
|
|
1262
1262
|
RemediationEnabled: Boolean;
|
|
1263
|
+
/**
|
|
1264
|
+
* Indicates whether Firewall Manager should delete Firewall Manager managed resources, such as web ACLs and security groups, when they are not in use by the Firewall Manager policy. By default, Firewall Manager doesn't delete unused Firewall Manager managed resources. This option is not available for Shield Advanced or WAF Classic policies.
|
|
1265
|
+
*/
|
|
1266
|
+
DeleteUnusedFMManagedResources?: Boolean;
|
|
1263
1267
|
/**
|
|
1264
1268
|
* Specifies the Amazon Web Services account IDs and Organizations organizational units (OUs) to include in the policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time. You can specify inclusions or exclusions, but not both. If you specify an IncludeMap, Firewall Manager applies the policy to all accounts specified by the IncludeMap, and does not evaluate any ExcludeMap specifications. If you do not specify an IncludeMap, then Firewall Manager applies the policy to all accounts except for those specified by the ExcludeMap. You can specify account IDs, OUs, or a combination: Specify account IDs by setting the key to ACCOUNT. For example, the following is a valid map: {“ACCOUNT” : [“accountID1”, “accountID2”]}. Specify OUs by setting the key to ORG_UNIT. For example, the following is a valid map: {“ORG_UNIT” : [“ouid111”, “ouid112”]}. Specify accounts and OUs together in a single map, separated with a comma. For example, the following is a valid map: {“ACCOUNT” : [“accountID1”, “accountID2”], “ORG_UNIT” : [“ouid111”, “ouid112”]}.
|
|
1265
1269
|
*/
|
|
@@ -1357,6 +1361,10 @@ declare namespace FMS {
|
|
|
1357
1361
|
* Indicates if the policy should be automatically applied to new resources.
|
|
1358
1362
|
*/
|
|
1359
1363
|
RemediationEnabled?: Boolean;
|
|
1364
|
+
/**
|
|
1365
|
+
* Indicates whether Firewall Manager should delete Firewall Manager managed resources, such as web ACLs and security groups, when they are not in use by the Firewall Manager policy. By default, Firewall Manager doesn't delete unused Firewall Manager managed resources. This option is not available for Shield Advanced or WAF Classic policies.
|
|
1366
|
+
*/
|
|
1367
|
+
DeleteUnusedFMManagedResources?: Boolean;
|
|
1360
1368
|
}
|
|
1361
1369
|
export type PolicySummaryList = PolicySummary[];
|
|
1362
1370
|
export type PolicyUpdateToken = string;
|
|
@@ -1715,7 +1723,7 @@ declare namespace FMS {
|
|
|
1715
1723
|
*/
|
|
1716
1724
|
Type: SecurityServiceType;
|
|
1717
1725
|
/**
|
|
1718
|
-
* Details about the service that are specific to the service type, in JSON format. For service type SHIELD_ADVANCED, this is an empty string. Example: DNS_FIREWALL "{\"type\":\"DNS_FIREWALL\",\"preProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-1\",\"priority\":10}],\"postProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-2\",\"priority\":9911}]}" Example: NETWORK_FIREWALL "{\"type\":\"NETWORK_FIREWALL\",\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-west-1:1234567891011:stateless-rulegroup/rulegroup2\",\"priority\":10}],\"networkFirewallStatelessDefaultActions\":[\"aws:pass\",\"custom1\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"custom2\",\"aws:pass\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"custom1\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"dimension1\"}]}}},{\"actionName\":\"custom2\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"dimension2\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-west-1:1234567891011:stateful-rulegroup/rulegroup1\"}],\"networkFirewallOrchestrationConfig\":{\"singleFirewallEndpointPerVPC\":true,\"allowedIPV4CidrList\":[\"10.24.34.0/28\"]} }" Example: WAFV2 "{\"type\":\"WAFV2\",\"preProcessRuleGroups\":[{\"ruleGroupArn\":null,\"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\":{\"version\":null,\"vendorName\":\"AWS\",\"managedRuleGroupName\":\"AWSManagedRulesAmazonIpReputationList\"},\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[]}],\"postProcessRuleGroups\":[],\"defaultAction\":{\"type\":\"ALLOW\"},\"overrideCustomerWebACLAssociation\":false,\"loggingConfiguration\":{\"logDestinationConfigs\":[\"arn:aws:firehose:us-west-2:12345678912:deliverystream/aws-waf-logs-fms-admin-destination\"],\"redactedFields\":[{\"redactedFieldType\":\"SingleHeader\",\"redactedFieldValue\":\"Cookies\"},{\"redactedFieldType\":\"Method\"}]}}" In the loggingConfiguration, you can specify one logDestinationConfigs, you can optionally provide up to 20 redactedFields, and the RedactedFieldType must be one of URI, QUERY_STRING, HEADER, or METHOD. Example: WAF Classic "{\"type\": \"WAF\", \"ruleGroups\": [{\"id\":\"12345678-1bcd-9012-efga-0987654321ab\", \"overrideAction\" : {\"type\": \"COUNT\"}}], \"defaultAction\": {\"type\": \"BLOCK\"}}" Example: SECURITY_GROUPS_COMMON "{\"type\":\"SECURITY_GROUPS_COMMON\",\"revertManualSecurityGroupChanges\":false,\"exclusiveResourceSecurityGroupManagement\":false, \"applyToAllEC2InstanceENIs\":false,\"securityGroups\":[{\"id\":\" sg-000e55995d61a06bd\"}]}" Example: Shared VPCs. Apply the preceding policy to resources in shared VPCs as well as to those in VPCs that the account owns "{\"type\":\"SECURITY_GROUPS_COMMON\",\"revertManualSecurityGroupChanges\":false,\"exclusiveResourceSecurityGroupManagement\":false, \"applyToAllEC2InstanceENIs\":false,\"includeSharedVPC\":true,\"securityGroups\":[{\"id\":\" sg-000e55995d61a06bd\"}]}" Example: SECURITY_GROUPS_CONTENT_AUDIT "{\"type\":\"SECURITY_GROUPS_CONTENT_AUDIT\",\"securityGroups\":[{\"id\":\"sg-000e55995d61a06bd\"}],\"securityGroupAction\":{\"type\":\"ALLOW\"}}" The security group action for content audit can be ALLOW or DENY. For ALLOW, all in-scope security group rules must be within the allowed range of the policy's security group rules. For DENY, all in-scope security group rules must not contain a value or a range that matches a rule value or range in the policy security group. Example: SECURITY_GROUPS_USAGE_AUDIT "{\"type\":\"SECURITY_GROUPS_USAGE_AUDIT\",\"deleteUnusedSecurityGroups\":true,\"coalesceRedundantSecurityGroups\":true}"
|
|
1726
|
+
* Details about the service that are specific to the service type, in JSON format. For service type SHIELD_ADVANCED, this is an empty string. Example: DNS_FIREWALL "{\"type\":\"DNS_FIREWALL\",\"preProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-1\",\"priority\":10}],\"postProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-2\",\"priority\":9911}]}" Valid values for preProcessRuleGroups are between 1 and 99. Valid values for postProcessRuleGroups are between 9901 and 10000. Example: NETWORK_FIREWALL "{\"type\":\"NETWORK_FIREWALL\",\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-west-1:1234567891011:stateless-rulegroup/rulegroup2\",\"priority\":10}],\"networkFirewallStatelessDefaultActions\":[\"aws:pass\",\"custom1\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"custom2\",\"aws:pass\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"custom1\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"dimension1\"}]}}},{\"actionName\":\"custom2\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"dimension2\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-west-1:1234567891011:stateful-rulegroup/rulegroup1\"}],\"networkFirewallOrchestrationConfig\":{\"singleFirewallEndpointPerVPC\":true,\"allowedIPV4CidrList\":[\"10.24.34.0/28\"]} }" Example: WAFV2 "{\"type\":\"WAFV2\",\"preProcessRuleGroups\":[{\"ruleGroupArn\":null,\"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\":{\"version\":null,\"vendorName\":\"AWS\",\"managedRuleGroupName\":\"AWSManagedRulesAmazonIpReputationList\"},\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[{\"name\":\"NoUserAgent_HEADER\"}]}],\"postProcessRuleGroups\":[],\"defaultAction\":{\"type\":\"ALLOW\"},\"overrideCustomerWebACLAssociation\":false,\"loggingConfiguration\":{\"logDestinationConfigs\":[\"arn:aws:firehose:us-west-2:12345678912:deliverystream/aws-waf-logs-fms-admin-destination\"],\"redactedFields\":[{\"redactedFieldType\":\"SingleHeader\",\"redactedFieldValue\":\"Cookies\"},{\"redactedFieldType\":\"Method\"}]}}" In the loggingConfiguration, you can specify one logDestinationConfigs, you can optionally provide up to 20 redactedFields, and the RedactedFieldType must be one of URI, QUERY_STRING, HEADER, or METHOD. Example: WAF Classic "{\"type\": \"WAF\", \"ruleGroups\": [{\"id\":\"12345678-1bcd-9012-efga-0987654321ab\", \"overrideAction\" : {\"type\": \"COUNT\"}}], \"defaultAction\": {\"type\": \"BLOCK\"}}" Example: SECURITY_GROUPS_COMMON "{\"type\":\"SECURITY_GROUPS_COMMON\",\"revertManualSecurityGroupChanges\":false,\"exclusiveResourceSecurityGroupManagement\":false, \"applyToAllEC2InstanceENIs\":false,\"securityGroups\":[{\"id\":\" sg-000e55995d61a06bd\"}]}" Example: Shared VPCs. Apply the preceding policy to resources in shared VPCs as well as to those in VPCs that the account owns "{\"type\":\"SECURITY_GROUPS_COMMON\",\"revertManualSecurityGroupChanges\":false,\"exclusiveResourceSecurityGroupManagement\":false, \"applyToAllEC2InstanceENIs\":false,\"includeSharedVPC\":true,\"securityGroups\":[{\"id\":\" sg-000e55995d61a06bd\"}]}" Example: SECURITY_GROUPS_CONTENT_AUDIT "{\"type\":\"SECURITY_GROUPS_CONTENT_AUDIT\",\"securityGroups\":[{\"id\":\"sg-000e55995d61a06bd\"}],\"securityGroupAction\":{\"type\":\"ALLOW\"}}" The security group action for content audit can be ALLOW or DENY. For ALLOW, all in-scope security group rules must be within the allowed range of the policy's security group rules. For DENY, all in-scope security group rules must not contain a value or a range that matches a rule value or range in the policy security group. Example: SECURITY_GROUPS_USAGE_AUDIT "{\"type\":\"SECURITY_GROUPS_USAGE_AUDIT\",\"deleteUnusedSecurityGroups\":true,\"coalesceRedundantSecurityGroups\":true}"
|
|
1719
1727
|
*/
|
|
1720
1728
|
ManagedServiceData?: ManagedServiceData;
|
|
1721
1729
|
}
|
package/clients/iotdata.d.ts
CHANGED
|
@@ -12,43 +12,59 @@ declare class IotData extends Service {
|
|
|
12
12
|
constructor(options?: IotData.Types.ClientConfiguration)
|
|
13
13
|
config: Config & IotData.Types.ClientConfiguration;
|
|
14
14
|
/**
|
|
15
|
-
* Deletes the shadow for the specified thing. For more information, see DeleteThingShadow in the
|
|
15
|
+
* Deletes the shadow for the specified thing. Requires permission to access the DeleteThingShadow action. For more information, see DeleteThingShadow in the IoT Developer Guide.
|
|
16
16
|
*/
|
|
17
17
|
deleteThingShadow(params: IotData.Types.DeleteThingShadowRequest, callback?: (err: AWSError, data: IotData.Types.DeleteThingShadowResponse) => void): Request<IotData.Types.DeleteThingShadowResponse, AWSError>;
|
|
18
18
|
/**
|
|
19
|
-
* Deletes the shadow for the specified thing. For more information, see DeleteThingShadow in the
|
|
19
|
+
* Deletes the shadow for the specified thing. Requires permission to access the DeleteThingShadow action. For more information, see DeleteThingShadow in the IoT Developer Guide.
|
|
20
20
|
*/
|
|
21
21
|
deleteThingShadow(callback?: (err: AWSError, data: IotData.Types.DeleteThingShadowResponse) => void): Request<IotData.Types.DeleteThingShadowResponse, AWSError>;
|
|
22
22
|
/**
|
|
23
|
-
* Gets the
|
|
23
|
+
* Gets the details of a single retained message for the specified topic. This action returns the message payload of the retained message, which can incur messaging costs. To list only the topic names of the retained messages, call ListRetainedMessages. Requires permission to access the GetRetainedMessage action. For more information about messaging costs, see IoT Core pricing - Messaging.
|
|
24
|
+
*/
|
|
25
|
+
getRetainedMessage(params: IotData.Types.GetRetainedMessageRequest, callback?: (err: AWSError, data: IotData.Types.GetRetainedMessageResponse) => void): Request<IotData.Types.GetRetainedMessageResponse, AWSError>;
|
|
26
|
+
/**
|
|
27
|
+
* Gets the details of a single retained message for the specified topic. This action returns the message payload of the retained message, which can incur messaging costs. To list only the topic names of the retained messages, call ListRetainedMessages. Requires permission to access the GetRetainedMessage action. For more information about messaging costs, see IoT Core pricing - Messaging.
|
|
28
|
+
*/
|
|
29
|
+
getRetainedMessage(callback?: (err: AWSError, data: IotData.Types.GetRetainedMessageResponse) => void): Request<IotData.Types.GetRetainedMessageResponse, AWSError>;
|
|
30
|
+
/**
|
|
31
|
+
* Gets the shadow for the specified thing. Requires permission to access the GetThingShadow action. For more information, see GetThingShadow in the IoT Developer Guide.
|
|
24
32
|
*/
|
|
25
33
|
getThingShadow(params: IotData.Types.GetThingShadowRequest, callback?: (err: AWSError, data: IotData.Types.GetThingShadowResponse) => void): Request<IotData.Types.GetThingShadowResponse, AWSError>;
|
|
26
34
|
/**
|
|
27
|
-
* Gets the shadow for the specified thing. For more information, see GetThingShadow in the
|
|
35
|
+
* Gets the shadow for the specified thing. Requires permission to access the GetThingShadow action. For more information, see GetThingShadow in the IoT Developer Guide.
|
|
28
36
|
*/
|
|
29
37
|
getThingShadow(callback?: (err: AWSError, data: IotData.Types.GetThingShadowResponse) => void): Request<IotData.Types.GetThingShadowResponse, AWSError>;
|
|
30
38
|
/**
|
|
31
|
-
* Lists the shadows for the specified thing.
|
|
39
|
+
* Lists the shadows for the specified thing. Requires permission to access the ListNamedShadowsForThing action.
|
|
32
40
|
*/
|
|
33
41
|
listNamedShadowsForThing(params: IotData.Types.ListNamedShadowsForThingRequest, callback?: (err: AWSError, data: IotData.Types.ListNamedShadowsForThingResponse) => void): Request<IotData.Types.ListNamedShadowsForThingResponse, AWSError>;
|
|
34
42
|
/**
|
|
35
|
-
* Lists the shadows for the specified thing.
|
|
43
|
+
* Lists the shadows for the specified thing. Requires permission to access the ListNamedShadowsForThing action.
|
|
36
44
|
*/
|
|
37
45
|
listNamedShadowsForThing(callback?: (err: AWSError, data: IotData.Types.ListNamedShadowsForThingResponse) => void): Request<IotData.Types.ListNamedShadowsForThingResponse, AWSError>;
|
|
38
46
|
/**
|
|
39
|
-
*
|
|
47
|
+
* Lists summary information about the retained messages stored for the account. This action returns only the topic names of the retained messages. It doesn't return any message payloads. Although this action doesn't return a message payload, it can still incur messaging costs. To get the message payload of a retained message, call GetRetainedMessage with the topic name of the retained message. Requires permission to access the ListRetainedMessages action. For more information about messaging costs, see IoT Core pricing - Messaging.
|
|
48
|
+
*/
|
|
49
|
+
listRetainedMessages(params: IotData.Types.ListRetainedMessagesRequest, callback?: (err: AWSError, data: IotData.Types.ListRetainedMessagesResponse) => void): Request<IotData.Types.ListRetainedMessagesResponse, AWSError>;
|
|
50
|
+
/**
|
|
51
|
+
* Lists summary information about the retained messages stored for the account. This action returns only the topic names of the retained messages. It doesn't return any message payloads. Although this action doesn't return a message payload, it can still incur messaging costs. To get the message payload of a retained message, call GetRetainedMessage with the topic name of the retained message. Requires permission to access the ListRetainedMessages action. For more information about messaging costs, see IoT Core pricing - Messaging.
|
|
52
|
+
*/
|
|
53
|
+
listRetainedMessages(callback?: (err: AWSError, data: IotData.Types.ListRetainedMessagesResponse) => void): Request<IotData.Types.ListRetainedMessagesResponse, AWSError>;
|
|
54
|
+
/**
|
|
55
|
+
* Publishes an MQTT message. Requires permission to access the Publish action. For more information about MQTT messages, see MQTT Protocol in the IoT Developer Guide. For more information about messaging costs, see IoT Core pricing - Messaging.
|
|
40
56
|
*/
|
|
41
57
|
publish(params: IotData.Types.PublishRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
42
58
|
/**
|
|
43
|
-
* Publishes
|
|
59
|
+
* Publishes an MQTT message. Requires permission to access the Publish action. For more information about MQTT messages, see MQTT Protocol in the IoT Developer Guide. For more information about messaging costs, see IoT Core pricing - Messaging.
|
|
44
60
|
*/
|
|
45
61
|
publish(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
46
62
|
/**
|
|
47
|
-
* Updates the shadow for the specified thing. For more information, see UpdateThingShadow in the
|
|
63
|
+
* Updates the shadow for the specified thing. Requires permission to access the UpdateThingShadow action. For more information, see UpdateThingShadow in the IoT Developer Guide.
|
|
48
64
|
*/
|
|
49
65
|
updateThingShadow(params: IotData.Types.UpdateThingShadowRequest, callback?: (err: AWSError, data: IotData.Types.UpdateThingShadowResponse) => void): Request<IotData.Types.UpdateThingShadowResponse, AWSError>;
|
|
50
66
|
/**
|
|
51
|
-
* Updates the shadow for the specified thing. For more information, see UpdateThingShadow in the
|
|
67
|
+
* Updates the shadow for the specified thing. Requires permission to access the UpdateThingShadow action. For more information, see UpdateThingShadow in the IoT Developer Guide.
|
|
52
68
|
*/
|
|
53
69
|
updateThingShadow(callback?: (err: AWSError, data: IotData.Types.UpdateThingShadowResponse) => void): Request<IotData.Types.UpdateThingShadowResponse, AWSError>;
|
|
54
70
|
}
|
|
@@ -69,6 +85,30 @@ declare namespace IotData {
|
|
|
69
85
|
*/
|
|
70
86
|
payload: JsonDocument;
|
|
71
87
|
}
|
|
88
|
+
export interface GetRetainedMessageRequest {
|
|
89
|
+
/**
|
|
90
|
+
* The topic name of the retained message to retrieve.
|
|
91
|
+
*/
|
|
92
|
+
topic: Topic;
|
|
93
|
+
}
|
|
94
|
+
export interface GetRetainedMessageResponse {
|
|
95
|
+
/**
|
|
96
|
+
* The topic name to which the retained message was published.
|
|
97
|
+
*/
|
|
98
|
+
topic?: Topic;
|
|
99
|
+
/**
|
|
100
|
+
* The Base64-encoded message payload of the retained message body.
|
|
101
|
+
*/
|
|
102
|
+
payload?: Payload;
|
|
103
|
+
/**
|
|
104
|
+
* The quality of service (QoS) level used to publish the retained message.
|
|
105
|
+
*/
|
|
106
|
+
qos?: Qos;
|
|
107
|
+
/**
|
|
108
|
+
* The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
|
|
109
|
+
*/
|
|
110
|
+
lastModifiedTime?: Timestamp;
|
|
111
|
+
}
|
|
72
112
|
export interface GetThingShadowRequest {
|
|
73
113
|
/**
|
|
74
114
|
* The name of the thing.
|
|
@@ -106,18 +146,40 @@ declare namespace IotData {
|
|
|
106
146
|
*/
|
|
107
147
|
results?: NamedShadowList;
|
|
108
148
|
/**
|
|
109
|
-
* The token
|
|
149
|
+
* The token to use to get the next set of results, or null if there are no additional results.
|
|
110
150
|
*/
|
|
111
151
|
nextToken?: NextToken;
|
|
112
152
|
/**
|
|
113
|
-
* The Epoch date and time the response was generated by
|
|
153
|
+
* The Epoch date and time the response was generated by IoT.
|
|
114
154
|
*/
|
|
115
155
|
timestamp?: Timestamp;
|
|
116
156
|
}
|
|
157
|
+
export interface ListRetainedMessagesRequest {
|
|
158
|
+
/**
|
|
159
|
+
* To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.
|
|
160
|
+
*/
|
|
161
|
+
nextToken?: NextToken;
|
|
162
|
+
/**
|
|
163
|
+
* The maximum number of results to return at one time.
|
|
164
|
+
*/
|
|
165
|
+
maxResults?: MaxResults;
|
|
166
|
+
}
|
|
167
|
+
export interface ListRetainedMessagesResponse {
|
|
168
|
+
/**
|
|
169
|
+
* A summary list the account's retained messages. The information returned doesn't include the message payloads of the retained messages.
|
|
170
|
+
*/
|
|
171
|
+
retainedTopics?: RetainedMessageList;
|
|
172
|
+
/**
|
|
173
|
+
* The token for the next set of results, or null if there are no additional results.
|
|
174
|
+
*/
|
|
175
|
+
nextToken?: NextToken;
|
|
176
|
+
}
|
|
177
|
+
export type MaxResults = number;
|
|
117
178
|
export type NamedShadowList = ShadowName[];
|
|
118
179
|
export type NextToken = string;
|
|
119
180
|
export type PageSize = number;
|
|
120
181
|
export type Payload = Buffer|Uint8Array|Blob|string;
|
|
182
|
+
export type PayloadSize = number;
|
|
121
183
|
export interface PublishRequest {
|
|
122
184
|
/**
|
|
123
185
|
* The name of the MQTT topic.
|
|
@@ -128,11 +190,35 @@ declare namespace IotData {
|
|
|
128
190
|
*/
|
|
129
191
|
qos?: Qos;
|
|
130
192
|
/**
|
|
131
|
-
*
|
|
193
|
+
* A Boolean value that determines whether to set the RETAIN flag when the message is published. Setting the RETAIN flag causes the message to be retained and sent to new subscribers to the topic. Valid values: true | false Default value: false
|
|
194
|
+
*/
|
|
195
|
+
retain?: Retain;
|
|
196
|
+
/**
|
|
197
|
+
* The message body. MQTT accepts text, binary, and empty (null) message payloads. Publishing an empty (null) payload with retain = true deletes the retained message identified by topic from IoT Core.
|
|
132
198
|
*/
|
|
133
199
|
payload?: Payload;
|
|
134
200
|
}
|
|
135
201
|
export type Qos = number;
|
|
202
|
+
export type Retain = boolean;
|
|
203
|
+
export type RetainedMessageList = RetainedMessageSummary[];
|
|
204
|
+
export interface RetainedMessageSummary {
|
|
205
|
+
/**
|
|
206
|
+
* The topic name to which the retained message was published.
|
|
207
|
+
*/
|
|
208
|
+
topic?: Topic;
|
|
209
|
+
/**
|
|
210
|
+
* The size of the retained message's payload in bytes.
|
|
211
|
+
*/
|
|
212
|
+
payloadSize?: PayloadSize;
|
|
213
|
+
/**
|
|
214
|
+
* The quality of service (QoS) level used to publish the retained message.
|
|
215
|
+
*/
|
|
216
|
+
qos?: Qos;
|
|
217
|
+
/**
|
|
218
|
+
* The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
|
|
219
|
+
*/
|
|
220
|
+
lastModifiedTime?: Timestamp;
|
|
221
|
+
}
|
|
136
222
|
export type ShadowName = string;
|
|
137
223
|
export type ThingName = string;
|
|
138
224
|
export type Timestamp = number;
|