aws-sdk 2.874.0 → 2.875.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 +8 -1
- package/README.md +1 -1
- package/apis/docdb-2014-10-31.min.json +298 -114
- package/apis/docdb-2014-10-31.paginators.json +6 -0
- package/apis/glue-2017-03-31.min.json +20 -10
- package/apis/location-2020-11-19.min.json +23 -1
- package/apis/wafv2-2019-07-29.min.json +172 -81
- package/clients/docdb.d.ts +213 -0
- package/clients/glue.d.ts +21 -6
- package/clients/location.d.ts +100 -44
- package/clients/wafv2.d.ts +94 -3
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +6 -6
- package/dist/aws-sdk.js +3 -3
- package/dist/aws-sdk.min.js +2 -2
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/clients/location.d.ts
CHANGED
|
@@ -12,11 +12,11 @@ declare class Location extends Service {
|
|
|
12
12
|
constructor(options?: Location.Types.ClientConfiguration)
|
|
13
13
|
config: Config & Location.Types.ClientConfiguration;
|
|
14
14
|
/**
|
|
15
|
-
* Creates an association between a geofence collection and a tracker resource. This allows the tracker resource to communicate location data to the linked geofence collection.
|
|
15
|
+
* Creates an association between a geofence collection and a tracker resource. This allows the tracker resource to communicate location data to the linked geofence collection. Currently not supported — Cross-account configurations, such as creating associations between a tracker resource in one account and a geofence collection in another account.
|
|
16
16
|
*/
|
|
17
17
|
associateTrackerConsumer(params: Location.Types.AssociateTrackerConsumerRequest, callback?: (err: AWSError, data: Location.Types.AssociateTrackerConsumerResponse) => void): Request<Location.Types.AssociateTrackerConsumerResponse, AWSError>;
|
|
18
18
|
/**
|
|
19
|
-
* Creates an association between a geofence collection and a tracker resource. This allows the tracker resource to communicate location data to the linked geofence collection.
|
|
19
|
+
* Creates an association between a geofence collection and a tracker resource. This allows the tracker resource to communicate location data to the linked geofence collection. Currently not supported — Cross-account configurations, such as creating associations between a tracker resource in one account and a geofence collection in another account.
|
|
20
20
|
*/
|
|
21
21
|
associateTrackerConsumer(callback?: (err: AWSError, data: Location.Types.AssociateTrackerConsumerResponse) => void): Request<Location.Types.AssociateTrackerConsumerResponse, AWSError>;
|
|
22
22
|
/**
|
|
@@ -28,35 +28,35 @@ declare class Location extends Service {
|
|
|
28
28
|
*/
|
|
29
29
|
batchDeleteGeofence(callback?: (err: AWSError, data: Location.Types.BatchDeleteGeofenceResponse) => void): Request<Location.Types.BatchDeleteGeofenceResponse, AWSError>;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Evaluates device positions against the geofence geometries from a given geofence collection. The evaluation determines if the device has entered or exited a geofenced area, which publishes ENTER or EXIT geofence events to Amazon EventBridge. The last geofence that a device was observed within, if any, is tracked for 30 days after the most recent device position update
|
|
32
32
|
*/
|
|
33
33
|
batchEvaluateGeofences(params: Location.Types.BatchEvaluateGeofencesRequest, callback?: (err: AWSError, data: Location.Types.BatchEvaluateGeofencesResponse) => void): Request<Location.Types.BatchEvaluateGeofencesResponse, AWSError>;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Evaluates device positions against the geofence geometries from a given geofence collection. The evaluation determines if the device has entered or exited a geofenced area, which publishes ENTER or EXIT geofence events to Amazon EventBridge. The last geofence that a device was observed within, if any, is tracked for 30 days after the most recent device position update
|
|
36
36
|
*/
|
|
37
37
|
batchEvaluateGeofences(callback?: (err: AWSError, data: Location.Types.BatchEvaluateGeofencesResponse) => void): Request<Location.Types.BatchEvaluateGeofencesResponse, AWSError>;
|
|
38
38
|
/**
|
|
39
|
-
* A batch request to retrieve
|
|
39
|
+
* A batch request to retrieve all device positions.
|
|
40
40
|
*/
|
|
41
41
|
batchGetDevicePosition(params: Location.Types.BatchGetDevicePositionRequest, callback?: (err: AWSError, data: Location.Types.BatchGetDevicePositionResponse) => void): Request<Location.Types.BatchGetDevicePositionResponse, AWSError>;
|
|
42
42
|
/**
|
|
43
|
-
* A batch request to retrieve
|
|
43
|
+
* A batch request to retrieve all device positions.
|
|
44
44
|
*/
|
|
45
45
|
batchGetDevicePosition(callback?: (err: AWSError, data: Location.Types.BatchGetDevicePositionResponse) => void): Request<Location.Types.BatchGetDevicePositionResponse, AWSError>;
|
|
46
46
|
/**
|
|
47
|
-
* A batch request for storing
|
|
47
|
+
* A batch request for storing geofence geometries into a given geofence collection.
|
|
48
48
|
*/
|
|
49
49
|
batchPutGeofence(params: Location.Types.BatchPutGeofenceRequest, callback?: (err: AWSError, data: Location.Types.BatchPutGeofenceResponse) => void): Request<Location.Types.BatchPutGeofenceResponse, AWSError>;
|
|
50
50
|
/**
|
|
51
|
-
* A batch request for storing
|
|
51
|
+
* A batch request for storing geofence geometries into a given geofence collection.
|
|
52
52
|
*/
|
|
53
53
|
batchPutGeofence(callback?: (err: AWSError, data: Location.Types.BatchPutGeofenceResponse) => void): Request<Location.Types.BatchPutGeofenceResponse, AWSError>;
|
|
54
54
|
/**
|
|
55
|
-
* Uploads
|
|
55
|
+
* Uploads position update data for one or more devices to a tracker resource. Amazon Location uses the data when reporting the last known device position and position history. Only one position update is stored per sample time. Location data is sampled at a fixed rate of one position per 30-second interval, and retained for one year before it is deleted.
|
|
56
56
|
*/
|
|
57
57
|
batchUpdateDevicePosition(params: Location.Types.BatchUpdateDevicePositionRequest, callback?: (err: AWSError, data: Location.Types.BatchUpdateDevicePositionResponse) => void): Request<Location.Types.BatchUpdateDevicePositionResponse, AWSError>;
|
|
58
58
|
/**
|
|
59
|
-
* Uploads
|
|
59
|
+
* Uploads position update data for one or more devices to a tracker resource. Amazon Location uses the data when reporting the last known device position and position history. Only one position update is stored per sample time. Location data is sampled at a fixed rate of one position per 30-second interval, and retained for one year before it is deleted.
|
|
60
60
|
*/
|
|
61
61
|
batchUpdateDevicePosition(callback?: (err: AWSError, data: Location.Types.BatchUpdateDevicePositionResponse) => void): Request<Location.Types.BatchUpdateDevicePositionResponse, AWSError>;
|
|
62
62
|
/**
|
|
@@ -156,27 +156,27 @@ declare class Location extends Service {
|
|
|
156
156
|
*/
|
|
157
157
|
describeTracker(callback?: (err: AWSError, data: Location.Types.DescribeTrackerResponse) => void): Request<Location.Types.DescribeTrackerResponse, AWSError>;
|
|
158
158
|
/**
|
|
159
|
-
* Removes the association
|
|
159
|
+
* Removes the association between a tracker resource and a geofence collection. Once you unlink a tracker resource from a geofence collection, the tracker positions will no longer be automatically evaluated against geofences.
|
|
160
160
|
*/
|
|
161
161
|
disassociateTrackerConsumer(params: Location.Types.DisassociateTrackerConsumerRequest, callback?: (err: AWSError, data: Location.Types.DisassociateTrackerConsumerResponse) => void): Request<Location.Types.DisassociateTrackerConsumerResponse, AWSError>;
|
|
162
162
|
/**
|
|
163
|
-
* Removes the association
|
|
163
|
+
* Removes the association between a tracker resource and a geofence collection. Once you unlink a tracker resource from a geofence collection, the tracker positions will no longer be automatically evaluated against geofences.
|
|
164
164
|
*/
|
|
165
165
|
disassociateTrackerConsumer(callback?: (err: AWSError, data: Location.Types.DisassociateTrackerConsumerResponse) => void): Request<Location.Types.DisassociateTrackerConsumerResponse, AWSError>;
|
|
166
166
|
/**
|
|
167
|
-
* Retrieves
|
|
167
|
+
* Retrieves a device's most recent position according to its sample time. Device positions are deleted after one year.
|
|
168
168
|
*/
|
|
169
169
|
getDevicePosition(params: Location.Types.GetDevicePositionRequest, callback?: (err: AWSError, data: Location.Types.GetDevicePositionResponse) => void): Request<Location.Types.GetDevicePositionResponse, AWSError>;
|
|
170
170
|
/**
|
|
171
|
-
* Retrieves
|
|
171
|
+
* Retrieves a device's most recent position according to its sample time. Device positions are deleted after one year.
|
|
172
172
|
*/
|
|
173
173
|
getDevicePosition(callback?: (err: AWSError, data: Location.Types.GetDevicePositionResponse) => void): Request<Location.Types.GetDevicePositionResponse, AWSError>;
|
|
174
174
|
/**
|
|
175
|
-
* Retrieves the device position history from a tracker resource within a specified range of time.
|
|
175
|
+
* Retrieves the device position history from a tracker resource within a specified range of time. Device positions are deleted after 1 year.
|
|
176
176
|
*/
|
|
177
177
|
getDevicePositionHistory(params: Location.Types.GetDevicePositionHistoryRequest, callback?: (err: AWSError, data: Location.Types.GetDevicePositionHistoryResponse) => void): Request<Location.Types.GetDevicePositionHistoryResponse, AWSError>;
|
|
178
178
|
/**
|
|
179
|
-
* Retrieves the device position history from a tracker resource within a specified range of time.
|
|
179
|
+
* Retrieves the device position history from a tracker resource within a specified range of time. Device positions are deleted after 1 year.
|
|
180
180
|
*/
|
|
181
181
|
getDevicePositionHistory(callback?: (err: AWSError, data: Location.Types.GetDevicePositionHistoryResponse) => void): Request<Location.Types.GetDevicePositionHistoryResponse, AWSError>;
|
|
182
182
|
/**
|
|
@@ -268,11 +268,11 @@ declare class Location extends Service {
|
|
|
268
268
|
*/
|
|
269
269
|
listTrackers(callback?: (err: AWSError, data: Location.Types.ListTrackersResponse) => void): Request<Location.Types.ListTrackersResponse, AWSError>;
|
|
270
270
|
/**
|
|
271
|
-
* Stores a geofence
|
|
271
|
+
* Stores a geofence geometry in a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included in the request.
|
|
272
272
|
*/
|
|
273
273
|
putGeofence(params: Location.Types.PutGeofenceRequest, callback?: (err: AWSError, data: Location.Types.PutGeofenceResponse) => void): Request<Location.Types.PutGeofenceResponse, AWSError>;
|
|
274
274
|
/**
|
|
275
|
-
* Stores a geofence
|
|
275
|
+
* Stores a geofence geometry in a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included in the request.
|
|
276
276
|
*/
|
|
277
277
|
putGeofence(callback?: (err: AWSError, data: Location.Types.PutGeofenceResponse) => void): Request<Location.Types.PutGeofenceResponse, AWSError>;
|
|
278
278
|
/**
|
|
@@ -439,7 +439,7 @@ declare namespace Location {
|
|
|
439
439
|
*/
|
|
440
440
|
GeofenceId: Id;
|
|
441
441
|
/**
|
|
442
|
-
*
|
|
442
|
+
* Contains the polygon details to specify the position of the geofence. Each geofence polygon can have a maximum of 1,000 vertices.
|
|
443
443
|
*/
|
|
444
444
|
Geometry: GeofenceGeometry;
|
|
445
445
|
}
|
|
@@ -478,7 +478,7 @@ declare namespace Location {
|
|
|
478
478
|
*/
|
|
479
479
|
Error: BatchItemError;
|
|
480
480
|
/**
|
|
481
|
-
* The timestamp
|
|
481
|
+
* The timestamp at which the device position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
|
|
482
482
|
*/
|
|
483
483
|
SampleTime: Timestamp;
|
|
484
484
|
}
|
|
@@ -506,7 +506,7 @@ declare namespace Location {
|
|
|
506
506
|
export type CountryCodeList = CountryCode[];
|
|
507
507
|
export interface CreateGeofenceCollectionRequest {
|
|
508
508
|
/**
|
|
509
|
-
* A custom name for the geofence collection. Requirements: Contain only alphanumeric characters (A–Z, a–z, 0-9), hyphens (-), and underscores (_). Must be a unique geofence collection name. No spaces allowed. For example, ExampleGeofenceCollection.
|
|
509
|
+
* A custom name for the geofence collection. Requirements: Contain only alphanumeric characters (A–Z, a–z, 0-9), hyphens (-), periods (.), and underscores (_). Must be a unique geofence collection name. No spaces allowed. For example, ExampleGeofenceCollection.
|
|
510
510
|
*/
|
|
511
511
|
CollectionName: ResourceName;
|
|
512
512
|
/**
|
|
@@ -514,9 +514,13 @@ declare namespace Location {
|
|
|
514
514
|
*/
|
|
515
515
|
Description?: ResourceDescription;
|
|
516
516
|
/**
|
|
517
|
-
* Specifies the pricing plan for your geofence collection.
|
|
517
|
+
* Specifies the pricing plan for your geofence collection. For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
|
|
518
518
|
*/
|
|
519
519
|
PricingPlan: PricingPlan;
|
|
520
|
+
/**
|
|
521
|
+
* Specifies the plan data source. Required if the Mobile Asset Tracking (MAT) or the Mobile Asset Management (MAM) pricing plan is selected. Billing is determined by the resource usage, the associated pricing plan, and the data source that was specified. For more information about each pricing plan option and restrictions, see the Amazon Location Service pricing page. Valid Values: Esri | Here
|
|
522
|
+
*/
|
|
523
|
+
PricingPlanDataSource?: String;
|
|
520
524
|
}
|
|
521
525
|
export interface CreateGeofenceCollectionResponse {
|
|
522
526
|
/**
|
|
@@ -542,11 +546,11 @@ declare namespace Location {
|
|
|
542
546
|
*/
|
|
543
547
|
Description?: ResourceDescription;
|
|
544
548
|
/**
|
|
545
|
-
* The name for the map resource. Requirements: Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), and underscores (_). Must be a unique map resource name. No spaces allowed. For example, ExampleMap.
|
|
549
|
+
* The name for the map resource. Requirements: Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_). Must be a unique map resource name. No spaces allowed. For example, ExampleMap.
|
|
546
550
|
*/
|
|
547
551
|
MapName: ResourceName;
|
|
548
552
|
/**
|
|
549
|
-
* Specifies the pricing plan for your map resource.
|
|
553
|
+
* Specifies the pricing plan for your map resource. For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
|
|
550
554
|
*/
|
|
551
555
|
PricingPlan: PricingPlan;
|
|
552
556
|
}
|
|
@@ -566,7 +570,7 @@ declare namespace Location {
|
|
|
566
570
|
}
|
|
567
571
|
export interface CreatePlaceIndexRequest {
|
|
568
572
|
/**
|
|
569
|
-
* Specifies the data provider of geospatial data.
|
|
573
|
+
* Specifies the data provider of geospatial data. This field is case-sensitive. Enter the valid values as shown. For example, entering HERE will return an error. Valid values include: Esri Here For additional details on data providers, see the Amazon Location Service data providers page.
|
|
570
574
|
*/
|
|
571
575
|
DataSource: String;
|
|
572
576
|
/**
|
|
@@ -578,11 +582,11 @@ declare namespace Location {
|
|
|
578
582
|
*/
|
|
579
583
|
Description?: ResourceDescription;
|
|
580
584
|
/**
|
|
581
|
-
* The name of the Place index resource. Requirements: Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-) and underscores (_)
|
|
585
|
+
* The name of the Place index resource. Requirements: Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods (.), and underscores (_). Must be a unique Place index resource name. No spaces allowed. For example, ExamplePlaceIndex.
|
|
582
586
|
*/
|
|
583
587
|
IndexName: ResourceName;
|
|
584
588
|
/**
|
|
585
|
-
* Specifies the pricing plan for your Place index resource.
|
|
589
|
+
* Specifies the pricing plan for your Place index resource. For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
|
|
586
590
|
*/
|
|
587
591
|
PricingPlan: PricingPlan;
|
|
588
592
|
}
|
|
@@ -606,11 +610,15 @@ declare namespace Location {
|
|
|
606
610
|
*/
|
|
607
611
|
Description?: ResourceDescription;
|
|
608
612
|
/**
|
|
609
|
-
* Specifies the pricing plan for your tracker resource.
|
|
613
|
+
* Specifies the pricing plan for your tracker resource. For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
|
|
610
614
|
*/
|
|
611
615
|
PricingPlan: PricingPlan;
|
|
612
616
|
/**
|
|
613
|
-
*
|
|
617
|
+
* Specifies the plan data source. Required if the Mobile Asset Tracking (MAT) or the Mobile Asset Management (MAM) pricing plan is selected. Billing is determined by the resource usage, the associated pricing plan, and data source that was specified. For more information about each pricing plan option and restrictions, see the Amazon Location Service pricing page. Valid Values: Esri | Here
|
|
618
|
+
*/
|
|
619
|
+
PricingPlanDataSource?: String;
|
|
620
|
+
/**
|
|
621
|
+
* The name for the tracker resource. Requirements: Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods (.), and underscores (_). Must be a unique tracker resource name. No spaces allowed. For example, ExampleTracker.
|
|
614
622
|
*/
|
|
615
623
|
TrackerName: ResourceName;
|
|
616
624
|
}
|
|
@@ -689,6 +697,14 @@ declare namespace Location {
|
|
|
689
697
|
* The optional description for the geofence collection.
|
|
690
698
|
*/
|
|
691
699
|
Description: ResourceDescription;
|
|
700
|
+
/**
|
|
701
|
+
* The pricing plan selected for the specified geofence collection. For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
|
|
702
|
+
*/
|
|
703
|
+
PricingPlan: PricingPlan;
|
|
704
|
+
/**
|
|
705
|
+
* The data source selected for the geofence collection and associated pricing plan.
|
|
706
|
+
*/
|
|
707
|
+
PricingPlanDataSource?: String;
|
|
692
708
|
/**
|
|
693
709
|
* The timestamp for when the geofence collection was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ
|
|
694
710
|
*/
|
|
@@ -725,6 +741,10 @@ declare namespace Location {
|
|
|
725
741
|
* The map style selected from an available provider.
|
|
726
742
|
*/
|
|
727
743
|
MapName: ResourceName;
|
|
744
|
+
/**
|
|
745
|
+
* The pricing plan selected for the specified map resource. <p>For additional details and restrictions on each pricing plan option, see the <a href="https://aws.amazon.com/location/pricing/">Amazon Location Service pricing page</a>.</p>
|
|
746
|
+
*/
|
|
747
|
+
PricingPlan: PricingPlan;
|
|
728
748
|
/**
|
|
729
749
|
* The timestamp for when the map resource was last update in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
|
|
730
750
|
*/
|
|
@@ -742,7 +762,7 @@ declare namespace Location {
|
|
|
742
762
|
*/
|
|
743
763
|
CreateTime: Timestamp;
|
|
744
764
|
/**
|
|
745
|
-
* The data provider of geospatial data.
|
|
765
|
+
* The data provider of geospatial data. Indicates one of the available providers: Esri Here For additional details on data providers, see the Amazon Location Service data providers page.
|
|
746
766
|
*/
|
|
747
767
|
DataSource: String;
|
|
748
768
|
/**
|
|
@@ -761,6 +781,10 @@ declare namespace Location {
|
|
|
761
781
|
* The name of the Place index resource being described.
|
|
762
782
|
*/
|
|
763
783
|
IndexName: ResourceName;
|
|
784
|
+
/**
|
|
785
|
+
* The pricing plan selected for the specified Place index resource. For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
|
|
786
|
+
*/
|
|
787
|
+
PricingPlan: PricingPlan;
|
|
764
788
|
/**
|
|
765
789
|
* The timestamp for when the Place index resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
|
|
766
790
|
*/
|
|
@@ -781,6 +805,14 @@ declare namespace Location {
|
|
|
781
805
|
* The optional description for the tracker resource.
|
|
782
806
|
*/
|
|
783
807
|
Description: ResourceDescription;
|
|
808
|
+
/**
|
|
809
|
+
* The pricing plan selected for the specified tracker resource. For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
|
|
810
|
+
*/
|
|
811
|
+
PricingPlan: PricingPlan;
|
|
812
|
+
/**
|
|
813
|
+
* The data source selected for the tracker resource and associated pricing plan.
|
|
814
|
+
*/
|
|
815
|
+
PricingPlanDataSource?: String;
|
|
784
816
|
/**
|
|
785
817
|
* The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all AWS.
|
|
786
818
|
*/
|
|
@@ -804,11 +836,11 @@ declare namespace Location {
|
|
|
804
836
|
*/
|
|
805
837
|
Position: Position;
|
|
806
838
|
/**
|
|
807
|
-
* The timestamp for when the tracker resource
|
|
839
|
+
* The timestamp for when the tracker resource received the device position in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
|
|
808
840
|
*/
|
|
809
841
|
ReceivedTime: Timestamp;
|
|
810
842
|
/**
|
|
811
|
-
* The timestamp
|
|
843
|
+
* The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
|
|
812
844
|
*/
|
|
813
845
|
SampleTime: Timestamp;
|
|
814
846
|
}
|
|
@@ -819,11 +851,11 @@ declare namespace Location {
|
|
|
819
851
|
*/
|
|
820
852
|
DeviceId: Id;
|
|
821
853
|
/**
|
|
822
|
-
* The latest device position defined in WGS 84 format: [
|
|
854
|
+
* The latest device position defined in WGS 84 format: [X or longitude, Y or latitude].
|
|
823
855
|
*/
|
|
824
856
|
Position: Position;
|
|
825
857
|
/**
|
|
826
|
-
* The timestamp
|
|
858
|
+
* The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ
|
|
827
859
|
*/
|
|
828
860
|
SampleTime: Timestamp;
|
|
829
861
|
}
|
|
@@ -852,7 +884,7 @@ declare namespace Location {
|
|
|
852
884
|
*/
|
|
853
885
|
DeviceId: Id;
|
|
854
886
|
/**
|
|
855
|
-
* Specify the end time for the position history in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
|
|
887
|
+
* Specify the end time for the position history in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the time that the request is made. Requirement: The time specified for EndTimeExclusive must be after the time for StartTimeInclusive.
|
|
856
888
|
*/
|
|
857
889
|
EndTimeExclusive?: Timestamp;
|
|
858
890
|
/**
|
|
@@ -860,7 +892,7 @@ declare namespace Location {
|
|
|
860
892
|
*/
|
|
861
893
|
NextToken?: Token;
|
|
862
894
|
/**
|
|
863
|
-
* Specify the start time for the position history in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
|
|
895
|
+
* Specify the start time for the position history in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be 24 hours prior to the time that the request is made. Requirement: The time specified for StartTimeInclusive must be before EndTimeExclusive.
|
|
864
896
|
*/
|
|
865
897
|
StartTimeInclusive?: Timestamp;
|
|
866
898
|
/**
|
|
@@ -880,7 +912,7 @@ declare namespace Location {
|
|
|
880
912
|
}
|
|
881
913
|
export interface GetDevicePositionRequest {
|
|
882
914
|
/**
|
|
883
|
-
* The device whose position you want to
|
|
915
|
+
* The device whose position you want to retrieve.
|
|
884
916
|
*/
|
|
885
917
|
DeviceId: Id;
|
|
886
918
|
/**
|
|
@@ -898,11 +930,11 @@ declare namespace Location {
|
|
|
898
930
|
*/
|
|
899
931
|
Position: Position;
|
|
900
932
|
/**
|
|
901
|
-
* The timestamp for when the tracker resource
|
|
933
|
+
* The timestamp for when the tracker resource received the device position in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
|
|
902
934
|
*/
|
|
903
935
|
ReceivedTime: Timestamp;
|
|
904
936
|
/**
|
|
905
|
-
* The timestamp
|
|
937
|
+
* The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
|
|
906
938
|
*/
|
|
907
939
|
SampleTime: Timestamp;
|
|
908
940
|
}
|
|
@@ -1069,6 +1101,14 @@ declare namespace Location {
|
|
|
1069
1101
|
* The description for the geofence collection
|
|
1070
1102
|
*/
|
|
1071
1103
|
Description: ResourceDescription;
|
|
1104
|
+
/**
|
|
1105
|
+
* The pricing plan for the specified geofence collection. For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
|
|
1106
|
+
*/
|
|
1107
|
+
PricingPlan: PricingPlan;
|
|
1108
|
+
/**
|
|
1109
|
+
* The data source selected for the geofence collection and associated pricing plan.
|
|
1110
|
+
*/
|
|
1111
|
+
PricingPlanDataSource?: String;
|
|
1072
1112
|
/**
|
|
1073
1113
|
* Specifies a timestamp for when the resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ
|
|
1074
1114
|
*/
|
|
@@ -1156,6 +1196,10 @@ declare namespace Location {
|
|
|
1156
1196
|
* The name of the associated map resource.
|
|
1157
1197
|
*/
|
|
1158
1198
|
MapName: ResourceName;
|
|
1199
|
+
/**
|
|
1200
|
+
* The pricing plan for the specified map resource. For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
|
|
1201
|
+
*/
|
|
1202
|
+
PricingPlan: PricingPlan;
|
|
1159
1203
|
/**
|
|
1160
1204
|
* The timestamp for when the map resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
|
|
1161
1205
|
*/
|
|
@@ -1189,7 +1233,7 @@ declare namespace Location {
|
|
|
1189
1233
|
*/
|
|
1190
1234
|
CreateTime: Timestamp;
|
|
1191
1235
|
/**
|
|
1192
|
-
* The data provider of geospatial data.
|
|
1236
|
+
* The data provider of geospatial data. Indicates one of the available providers: Esri HERE For additional details on data providers, see the Amazon Location Service data providers page.
|
|
1193
1237
|
*/
|
|
1194
1238
|
DataSource: String;
|
|
1195
1239
|
/**
|
|
@@ -1200,6 +1244,10 @@ declare namespace Location {
|
|
|
1200
1244
|
* The name of the Place index resource.
|
|
1201
1245
|
*/
|
|
1202
1246
|
IndexName: ResourceName;
|
|
1247
|
+
/**
|
|
1248
|
+
* The pricing plan for the specified Place index resource. For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
|
|
1249
|
+
*/
|
|
1250
|
+
PricingPlan: PricingPlan;
|
|
1203
1251
|
/**
|
|
1204
1252
|
* The timestamp for when the Place index resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
|
|
1205
1253
|
*/
|
|
@@ -1261,12 +1309,20 @@ declare namespace Location {
|
|
|
1261
1309
|
* The description for the tracker resource.
|
|
1262
1310
|
*/
|
|
1263
1311
|
Description: ResourceDescription;
|
|
1312
|
+
/**
|
|
1313
|
+
* The pricing plan for the specified tracker resource. For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
|
|
1314
|
+
*/
|
|
1315
|
+
PricingPlan: PricingPlan;
|
|
1316
|
+
/**
|
|
1317
|
+
* The data source selected for the tracker resource and associated pricing plan.
|
|
1318
|
+
*/
|
|
1319
|
+
PricingPlanDataSource?: String;
|
|
1264
1320
|
/**
|
|
1265
1321
|
* The name of the tracker resource.
|
|
1266
1322
|
*/
|
|
1267
1323
|
TrackerName: ResourceName;
|
|
1268
1324
|
/**
|
|
1269
|
-
* The timestamp
|
|
1325
|
+
* The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
|
|
1270
1326
|
*/
|
|
1271
1327
|
UpdateTime: Timestamp;
|
|
1272
1328
|
}
|
|
@@ -1336,7 +1392,7 @@ declare namespace Location {
|
|
|
1336
1392
|
*/
|
|
1337
1393
|
GeofenceId: Id;
|
|
1338
1394
|
/**
|
|
1339
|
-
* Contains the polygon details to specify the position of the geofence.
|
|
1395
|
+
* Contains the polygon details to specify the position of the geofence. Each geofence polygon can have a maximum of 1,000 vertices.
|
|
1340
1396
|
*/
|
|
1341
1397
|
Geometry: GeofenceGeometry;
|
|
1342
1398
|
}
|
|
@@ -1396,7 +1452,7 @@ declare namespace Location {
|
|
|
1396
1452
|
}
|
|
1397
1453
|
export interface SearchPlaceIndexForPositionSummary {
|
|
1398
1454
|
/**
|
|
1399
|
-
* The data provider of geospatial data
|
|
1455
|
+
* The data provider of geospatial data. Indicates one of the available providers: Esri HERE For additional details on data providers, see the Amazon Location Service data providers page.
|
|
1400
1456
|
*/
|
|
1401
1457
|
DataSource: String;
|
|
1402
1458
|
/**
|
|
@@ -1450,7 +1506,7 @@ declare namespace Location {
|
|
|
1450
1506
|
*/
|
|
1451
1507
|
BiasPosition?: Position;
|
|
1452
1508
|
/**
|
|
1453
|
-
* The data provider of geospatial data
|
|
1509
|
+
* The data provider of geospatial data. Indicates one of the available providers: Esri HERE For additional details on data providers, see the Amazon Location Service data providers page.
|
|
1454
1510
|
*/
|
|
1455
1511
|
DataSource: String;
|
|
1456
1512
|
/**
|
package/clients/wafv2.d.ts
CHANGED
|
@@ -300,11 +300,11 @@ declare class WAFV2 extends Service {
|
|
|
300
300
|
*/
|
|
301
301
|
untagResource(callback?: (err: AWSError, data: WAFV2.Types.UntagResourceResponse) => void): Request<WAFV2.Types.UntagResourceResponse, AWSError>;
|
|
302
302
|
/**
|
|
303
|
-
* Updates the specified IPSet.
|
|
303
|
+
* Updates the specified IPSet.
|
|
304
304
|
*/
|
|
305
305
|
updateIPSet(params: WAFV2.Types.UpdateIPSetRequest, callback?: (err: AWSError, data: WAFV2.Types.UpdateIPSetResponse) => void): Request<WAFV2.Types.UpdateIPSetResponse, AWSError>;
|
|
306
306
|
/**
|
|
307
|
-
* Updates the specified IPSet.
|
|
307
|
+
* Updates the specified IPSet.
|
|
308
308
|
*/
|
|
309
309
|
updateIPSet(callback?: (err: AWSError, data: WAFV2.Types.UpdateIPSetResponse) => void): Request<WAFV2.Types.UpdateIPSetResponse, AWSError>;
|
|
310
310
|
/**
|
|
@@ -339,6 +339,10 @@ declare namespace WAFV2 {
|
|
|
339
339
|
export interface AllQueryArguments {
|
|
340
340
|
}
|
|
341
341
|
export interface AllowAction {
|
|
342
|
+
/**
|
|
343
|
+
* Defines custom handling for the web request. For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide.
|
|
344
|
+
*/
|
|
345
|
+
CustomRequestHandling?: CustomRequestHandling;
|
|
342
346
|
}
|
|
343
347
|
export interface AndStatement {
|
|
344
348
|
/**
|
|
@@ -359,6 +363,10 @@ declare namespace WAFV2 {
|
|
|
359
363
|
export interface AssociateWebACLResponse {
|
|
360
364
|
}
|
|
361
365
|
export interface BlockAction {
|
|
366
|
+
/**
|
|
367
|
+
* Defines a custom response for the web request. For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide.
|
|
368
|
+
*/
|
|
369
|
+
CustomResponse?: CustomResponse;
|
|
362
370
|
}
|
|
363
371
|
export interface Body {
|
|
364
372
|
}
|
|
@@ -402,6 +410,10 @@ declare namespace WAFV2 {
|
|
|
402
410
|
export type ComparisonOperator = "EQ"|"NE"|"LE"|"LT"|"GE"|"GT"|string;
|
|
403
411
|
export type ConsumedCapacity = number;
|
|
404
412
|
export interface CountAction {
|
|
413
|
+
/**
|
|
414
|
+
* Defines custom handling for the web request. For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide.
|
|
415
|
+
*/
|
|
416
|
+
CustomRequestHandling?: CustomRequestHandling;
|
|
405
417
|
}
|
|
406
418
|
export type Country = string;
|
|
407
419
|
export type CountryCode = "AF"|"AX"|"AL"|"DZ"|"AS"|"AD"|"AO"|"AI"|"AQ"|"AG"|"AR"|"AM"|"AW"|"AU"|"AT"|"AZ"|"BS"|"BH"|"BD"|"BB"|"BY"|"BE"|"BZ"|"BJ"|"BM"|"BT"|"BO"|"BQ"|"BA"|"BW"|"BV"|"BR"|"IO"|"BN"|"BG"|"BF"|"BI"|"KH"|"CM"|"CA"|"CV"|"KY"|"CF"|"TD"|"CL"|"CN"|"CX"|"CC"|"CO"|"KM"|"CG"|"CD"|"CK"|"CR"|"CI"|"HR"|"CU"|"CW"|"CY"|"CZ"|"DK"|"DJ"|"DM"|"DO"|"EC"|"EG"|"SV"|"GQ"|"ER"|"EE"|"ET"|"FK"|"FO"|"FJ"|"FI"|"FR"|"GF"|"PF"|"TF"|"GA"|"GM"|"GE"|"DE"|"GH"|"GI"|"GR"|"GL"|"GD"|"GP"|"GU"|"GT"|"GG"|"GN"|"GW"|"GY"|"HT"|"HM"|"VA"|"HN"|"HK"|"HU"|"IS"|"IN"|"ID"|"IR"|"IQ"|"IE"|"IM"|"IL"|"IT"|"JM"|"JP"|"JE"|"JO"|"KZ"|"KE"|"KI"|"KP"|"KR"|"KW"|"KG"|"LA"|"LV"|"LB"|"LS"|"LR"|"LY"|"LI"|"LT"|"LU"|"MO"|"MK"|"MG"|"MW"|"MY"|"MV"|"ML"|"MT"|"MH"|"MQ"|"MR"|"MU"|"YT"|"MX"|"FM"|"MD"|"MC"|"MN"|"ME"|"MS"|"MA"|"MZ"|"MM"|"NA"|"NR"|"NP"|"NL"|"NC"|"NZ"|"NI"|"NE"|"NG"|"NU"|"NF"|"MP"|"NO"|"OM"|"PK"|"PW"|"PS"|"PA"|"PG"|"PY"|"PE"|"PH"|"PN"|"PL"|"PT"|"PR"|"QA"|"RE"|"RO"|"RU"|"RW"|"BL"|"SH"|"KN"|"LC"|"MF"|"PM"|"VC"|"WS"|"SM"|"ST"|"SA"|"SN"|"RS"|"SC"|"SL"|"SG"|"SX"|"SK"|"SI"|"SB"|"SO"|"ZA"|"GS"|"SS"|"ES"|"LK"|"SD"|"SR"|"SJ"|"SZ"|"SE"|"CH"|"SY"|"TW"|"TJ"|"TZ"|"TH"|"TL"|"TG"|"TK"|"TO"|"TT"|"TN"|"TR"|"TM"|"TC"|"TV"|"UG"|"UA"|"AE"|"GB"|"US"|"UM"|"UY"|"UZ"|"VU"|"VE"|"VN"|"VG"|"VI"|"WF"|"EH"|"YE"|"ZM"|"ZW"|string;
|
|
@@ -495,6 +507,10 @@ declare namespace WAFV2 {
|
|
|
495
507
|
* An array of key:value pairs to associate with the resource.
|
|
496
508
|
*/
|
|
497
509
|
Tags?: TagList;
|
|
510
|
+
/**
|
|
511
|
+
* A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the rule group, and then use them in the rules that you define in the rule group. For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide. For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide.
|
|
512
|
+
*/
|
|
513
|
+
CustomResponseBodies?: CustomResponseBodies;
|
|
498
514
|
}
|
|
499
515
|
export interface CreateRuleGroupResponse {
|
|
500
516
|
/**
|
|
@@ -531,6 +547,10 @@ declare namespace WAFV2 {
|
|
|
531
547
|
* An array of key:value pairs to associate with the resource.
|
|
532
548
|
*/
|
|
533
549
|
Tags?: TagList;
|
|
550
|
+
/**
|
|
551
|
+
* A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL. For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide. For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide.
|
|
552
|
+
*/
|
|
553
|
+
CustomResponseBodies?: CustomResponseBodies;
|
|
534
554
|
}
|
|
535
555
|
export interface CreateWebACLResponse {
|
|
536
556
|
/**
|
|
@@ -538,6 +558,50 @@ declare namespace WAFV2 {
|
|
|
538
558
|
*/
|
|
539
559
|
Summary?: WebACLSummary;
|
|
540
560
|
}
|
|
561
|
+
export interface CustomHTTPHeader {
|
|
562
|
+
/**
|
|
563
|
+
* The name of the custom header. For custom request header insertion, when AWS WAF inserts the header into the request, it prefixes this name x-amzn-waf-, to avoid confusion with the headers that are already in the request. For example, for the header name sample, AWS WAF inserts the header x-amzn-waf-sample.
|
|
564
|
+
*/
|
|
565
|
+
Name: CustomHTTPHeaderName;
|
|
566
|
+
/**
|
|
567
|
+
* The value of the custom header.
|
|
568
|
+
*/
|
|
569
|
+
Value: CustomHTTPHeaderValue;
|
|
570
|
+
}
|
|
571
|
+
export type CustomHTTPHeaderName = string;
|
|
572
|
+
export type CustomHTTPHeaderValue = string;
|
|
573
|
+
export type CustomHTTPHeaders = CustomHTTPHeader[];
|
|
574
|
+
export interface CustomRequestHandling {
|
|
575
|
+
/**
|
|
576
|
+
* The HTTP headers to insert into the request. Duplicate header names are not allowed. For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide.
|
|
577
|
+
*/
|
|
578
|
+
InsertHeaders: CustomHTTPHeaders;
|
|
579
|
+
}
|
|
580
|
+
export interface CustomResponse {
|
|
581
|
+
/**
|
|
582
|
+
* The HTTP status code to return to the client. For a list of status codes that you can use in your custom reqponses, see Supported status codes for custom response in the AWS WAF Developer Guide.
|
|
583
|
+
*/
|
|
584
|
+
ResponseCode: ResponseStatusCode;
|
|
585
|
+
/**
|
|
586
|
+
* References the response body that you want AWS WAF to return to the web request client. You can define a custom response for a rule action or a default web ACL action that is set to block. To do this, you first define the response body key and value in the CustomResponseBodies setting for the WebACL or RuleGroup where you want to use it. Then, in the rule action or web ACL default action BlockAction setting, you reference the response body using this key.
|
|
587
|
+
*/
|
|
588
|
+
CustomResponseBodyKey?: EntityName;
|
|
589
|
+
/**
|
|
590
|
+
* The HTTP headers to use in the response. Duplicate header names are not allowed. For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide.
|
|
591
|
+
*/
|
|
592
|
+
ResponseHeaders?: CustomHTTPHeaders;
|
|
593
|
+
}
|
|
594
|
+
export type CustomResponseBodies = {[key: string]: CustomResponseBody};
|
|
595
|
+
export interface CustomResponseBody {
|
|
596
|
+
/**
|
|
597
|
+
* The type of content in the payload that you are defining in the Content string.
|
|
598
|
+
*/
|
|
599
|
+
ContentType: ResponseContentType;
|
|
600
|
+
/**
|
|
601
|
+
* The payload of the custom response. You can use JSON escape strings in JSON content. To do this, you must specify JSON content in the ContentType setting. For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide.
|
|
602
|
+
*/
|
|
603
|
+
Content: ResponseContent;
|
|
604
|
+
}
|
|
541
605
|
export interface DefaultAction {
|
|
542
606
|
/**
|
|
543
607
|
* Specifies that AWS WAF should block requests by default.
|
|
@@ -1105,7 +1169,7 @@ declare namespace WAFV2 {
|
|
|
1105
1169
|
*/
|
|
1106
1170
|
MatchScope: JsonMatchScope;
|
|
1107
1171
|
/**
|
|
1108
|
-
*
|
|
1172
|
+
* The inspection behavior to fall back to if the JSON in the request body is invalid. For AWS WAF, invalid JSON is any content that isn't complete syntactical JSON, content whose root node isn't an object or an array, and duplicate keys in the content. You can specify the following fallback behaviors: MATCH - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. NO_MATCH - Treat the web request as not matching the rule statement. EVALUATE_AS_STRING - Inspect the body as plain text. This option applies the text transformations and inspection criteria that you defined for the JSON inspection to the body text string. If you don't provide this setting, when AWS WAF encounters invalid JSON, it parses and inspects what it can, up to the first invalid JSON that it encounters.
|
|
1109
1173
|
*/
|
|
1110
1174
|
InvalidFallbackBehavior?: BodyParsingFallbackBehavior;
|
|
1111
1175
|
}
|
|
@@ -1513,6 +1577,9 @@ declare namespace WAFV2 {
|
|
|
1513
1577
|
export type ResourceArn = string;
|
|
1514
1578
|
export type ResourceArns = ResourceArn[];
|
|
1515
1579
|
export type ResourceType = "APPLICATION_LOAD_BALANCER"|"API_GATEWAY"|"APPSYNC"|string;
|
|
1580
|
+
export type ResponseContent = string;
|
|
1581
|
+
export type ResponseContentType = "TEXT_PLAIN"|"TEXT_HTML"|"APPLICATION_JSON"|string;
|
|
1582
|
+
export type ResponseStatusCode = number;
|
|
1516
1583
|
export interface Rule {
|
|
1517
1584
|
/**
|
|
1518
1585
|
* The name of the rule. You can't change the name of a Rule after you create it.
|
|
@@ -1582,6 +1649,10 @@ declare namespace WAFV2 {
|
|
|
1582
1649
|
* Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
|
1583
1650
|
*/
|
|
1584
1651
|
VisibilityConfig: VisibilityConfig;
|
|
1652
|
+
/**
|
|
1653
|
+
* A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the rule group, and then use them in the rules that you define in the rule group. For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide. For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide.
|
|
1654
|
+
*/
|
|
1655
|
+
CustomResponseBodies?: CustomResponseBodies;
|
|
1585
1656
|
}
|
|
1586
1657
|
export interface RuleGroupReferenceStatement {
|
|
1587
1658
|
/**
|
|
@@ -1648,6 +1719,14 @@ declare namespace WAFV2 {
|
|
|
1648
1719
|
* The name of the Rule that the request matched. For managed rule groups, the format for this name is <vendor name>#<managed rule group name>#<rule name>. For your own rule groups, the format for this name is <rule group name>#<rule name>. If the rule is not in a rule group, this field is absent.
|
|
1649
1720
|
*/
|
|
1650
1721
|
RuleNameWithinRuleGroup?: EntityName;
|
|
1722
|
+
/**
|
|
1723
|
+
* Custom request headers inserted by AWS WAF into the request, according to the custom request configuration for the matching rule action.
|
|
1724
|
+
*/
|
|
1725
|
+
RequestHeadersInserted?: HTTPHeaders;
|
|
1726
|
+
/**
|
|
1727
|
+
* The response code that was sent for the request.
|
|
1728
|
+
*/
|
|
1729
|
+
ResponseCodeSent?: ResponseStatusCode;
|
|
1651
1730
|
}
|
|
1652
1731
|
export type SampledHTTPRequests = SampledHTTPRequest[];
|
|
1653
1732
|
export type Scope = "CLOUDFRONT"|"REGIONAL"|string;
|
|
@@ -1914,6 +1993,10 @@ declare namespace WAFV2 {
|
|
|
1914
1993
|
* A token used for optimistic locking. AWS WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. AWS WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
|
|
1915
1994
|
*/
|
|
1916
1995
|
LockToken: LockToken;
|
|
1996
|
+
/**
|
|
1997
|
+
* A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the rule group, and then use them in the rules that you define in the rule group. For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide. For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide.
|
|
1998
|
+
*/
|
|
1999
|
+
CustomResponseBodies?: CustomResponseBodies;
|
|
1917
2000
|
}
|
|
1918
2001
|
export interface UpdateRuleGroupResponse {
|
|
1919
2002
|
/**
|
|
@@ -1954,6 +2037,10 @@ declare namespace WAFV2 {
|
|
|
1954
2037
|
* A token used for optimistic locking. AWS WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. AWS WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
|
|
1955
2038
|
*/
|
|
1956
2039
|
LockToken: LockToken;
|
|
2040
|
+
/**
|
|
2041
|
+
* A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL. For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide. For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide.
|
|
2042
|
+
*/
|
|
2043
|
+
CustomResponseBodies?: CustomResponseBodies;
|
|
1957
2044
|
}
|
|
1958
2045
|
export interface UpdateWebACLResponse {
|
|
1959
2046
|
/**
|
|
@@ -2023,6 +2110,10 @@ declare namespace WAFV2 {
|
|
|
2023
2110
|
* Indicates whether this web ACL is managed by AWS Firewall Manager. If true, then only AWS Firewall Manager can delete the web ACL or any Firewall Manager rule groups in the web ACL.
|
|
2024
2111
|
*/
|
|
2025
2112
|
ManagedByFirewallManager?: Boolean;
|
|
2113
|
+
/**
|
|
2114
|
+
* A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL. For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide. For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide.
|
|
2115
|
+
*/
|
|
2116
|
+
CustomResponseBodies?: CustomResponseBodies;
|
|
2026
2117
|
}
|
|
2027
2118
|
export type WebACLSummaries = WebACLSummary[];
|
|
2028
2119
|
export interface WebACLSummary {
|