@aws-sdk/client-shield 3.300.0 → 3.303.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/dist-cjs/models/models_0.js +63 -75
- package/dist-es/models/models_0.js +63 -75
- package/dist-types/commands/AssociateDRTLogBucketCommand.d.ts +1 -1
- package/dist-types/commands/AssociateDRTRoleCommand.d.ts +1 -1
- package/dist-types/commands/AssociateHealthCheckCommand.d.ts +1 -1
- package/dist-types/commands/AssociateProactiveEngagementDetailsCommand.d.ts +3 -3
- package/dist-types/commands/CreateProtectionCommand.d.ts +3 -3
- package/dist-types/commands/CreateProtectionGroupCommand.d.ts +4 -4
- package/dist-types/commands/DeleteProtectionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProtectionGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAttackCommand.d.ts +1 -1
- package/dist-types/commands/DescribeProtectionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeProtectionGroupCommand.d.ts +1 -1
- package/dist-types/commands/DisableApplicationLayerAutomaticResponseCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateDRTLogBucketCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateHealthCheckCommand.d.ts +1 -1
- package/dist-types/commands/EnableApplicationLayerAutomaticResponseCommand.d.ts +2 -2
- package/dist-types/commands/ListAttacksCommand.d.ts +3 -3
- package/dist-types/commands/ListProtectionGroupsCommand.d.ts +6 -6
- package/dist-types/commands/ListProtectionsCommand.d.ts +5 -5
- package/dist-types/commands/ListResourcesInProtectionGroupCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateApplicationLayerAutomaticResponseCommand.d.ts +2 -2
- package/dist-types/commands/UpdateEmergencyContactSettingsCommand.d.ts +3 -3
- package/dist-types/commands/UpdateProtectionGroupCommand.d.ts +2 -2
- package/dist-types/commands/UpdateSubscriptionCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +123 -63
- package/dist-types/ts3.4/models/models_0.d.ts +84 -63
- package/package.json +34 -34
|
@@ -28,11 +28,10 @@ class AccessDeniedForDependencyException extends ShieldServiceException_1.Shield
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
exports.AccessDeniedForDependencyException = AccessDeniedForDependencyException;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
})(ApplicationLayerAutomaticResponseStatus = exports.ApplicationLayerAutomaticResponseStatus || (exports.ApplicationLayerAutomaticResponseStatus = {}));
|
|
31
|
+
exports.ApplicationLayerAutomaticResponseStatus = {
|
|
32
|
+
DISABLED: "DISABLED",
|
|
33
|
+
ENABLED: "ENABLED",
|
|
34
|
+
};
|
|
36
35
|
class InternalErrorException extends ShieldServiceException_1.ShieldServiceException {
|
|
37
36
|
constructor(opts) {
|
|
38
37
|
super({
|
|
@@ -59,11 +58,10 @@ class InvalidOperationException extends ShieldServiceException_1.ShieldServiceEx
|
|
|
59
58
|
}
|
|
60
59
|
}
|
|
61
60
|
exports.InvalidOperationException = InvalidOperationException;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
})(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
|
|
61
|
+
exports.ValidationExceptionReason = {
|
|
62
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
63
|
+
OTHER: "OTHER",
|
|
64
|
+
};
|
|
67
65
|
class InvalidParameterException extends ShieldServiceException_1.ShieldServiceException {
|
|
68
66
|
constructor(opts) {
|
|
69
67
|
super({
|
|
@@ -147,39 +145,34 @@ class InvalidResourceException extends ShieldServiceException_1.ShieldServiceExc
|
|
|
147
145
|
}
|
|
148
146
|
}
|
|
149
147
|
exports.InvalidResourceException = InvalidResourceException;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
}
|
|
178
|
-
var AutoRenew;
|
|
179
|
-
(function (AutoRenew) {
|
|
180
|
-
AutoRenew["DISABLED"] = "DISABLED";
|
|
181
|
-
AutoRenew["ENABLED"] = "ENABLED";
|
|
182
|
-
})(AutoRenew = exports.AutoRenew || (exports.AutoRenew = {}));
|
|
148
|
+
exports.AttackLayer = {
|
|
149
|
+
APPLICATION: "APPLICATION",
|
|
150
|
+
NETWORK: "NETWORK",
|
|
151
|
+
};
|
|
152
|
+
exports.AttackPropertyIdentifier = {
|
|
153
|
+
DESTINATION_URL: "DESTINATION_URL",
|
|
154
|
+
REFERRER: "REFERRER",
|
|
155
|
+
SOURCE_ASN: "SOURCE_ASN",
|
|
156
|
+
SOURCE_COUNTRY: "SOURCE_COUNTRY",
|
|
157
|
+
SOURCE_IP_ADDRESS: "SOURCE_IP_ADDRESS",
|
|
158
|
+
SOURCE_USER_AGENT: "SOURCE_USER_AGENT",
|
|
159
|
+
WORDPRESS_PINGBACK_REFLECTOR: "WORDPRESS_PINGBACK_REFLECTOR",
|
|
160
|
+
WORDPRESS_PINGBACK_SOURCE: "WORDPRESS_PINGBACK_SOURCE",
|
|
161
|
+
};
|
|
162
|
+
exports.Unit = {
|
|
163
|
+
BITS: "BITS",
|
|
164
|
+
BYTES: "BYTES",
|
|
165
|
+
PACKETS: "PACKETS",
|
|
166
|
+
REQUESTS: "REQUESTS",
|
|
167
|
+
};
|
|
168
|
+
exports.SubResourceType = {
|
|
169
|
+
IP: "IP",
|
|
170
|
+
URL: "URL",
|
|
171
|
+
};
|
|
172
|
+
exports.AutoRenew = {
|
|
173
|
+
DISABLED: "DISABLED",
|
|
174
|
+
ENABLED: "ENABLED",
|
|
175
|
+
};
|
|
183
176
|
class ResourceAlreadyExistsException extends ShieldServiceException_1.ShieldServiceException {
|
|
184
177
|
constructor(opts) {
|
|
185
178
|
super({
|
|
@@ -194,27 +187,24 @@ class ResourceAlreadyExistsException extends ShieldServiceException_1.ShieldServ
|
|
|
194
187
|
}
|
|
195
188
|
}
|
|
196
189
|
exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
ProtectedResourceType["GLOBAL_ACCELERATOR"] = "GLOBAL_ACCELERATOR";
|
|
216
|
-
ProtectedResourceType["ROUTE_53_HOSTED_ZONE"] = "ROUTE_53_HOSTED_ZONE";
|
|
217
|
-
})(ProtectedResourceType = exports.ProtectedResourceType || (exports.ProtectedResourceType = {}));
|
|
190
|
+
exports.ProtectionGroupAggregation = {
|
|
191
|
+
MAX: "MAX",
|
|
192
|
+
MEAN: "MEAN",
|
|
193
|
+
SUM: "SUM",
|
|
194
|
+
};
|
|
195
|
+
exports.ProtectionGroupPattern = {
|
|
196
|
+
ALL: "ALL",
|
|
197
|
+
ARBITRARY: "ARBITRARY",
|
|
198
|
+
BY_RESOURCE_TYPE: "BY_RESOURCE_TYPE",
|
|
199
|
+
};
|
|
200
|
+
exports.ProtectedResourceType = {
|
|
201
|
+
APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER",
|
|
202
|
+
CLASSIC_LOAD_BALANCER: "CLASSIC_LOAD_BALANCER",
|
|
203
|
+
CLOUDFRONT_DISTRIBUTION: "CLOUDFRONT_DISTRIBUTION",
|
|
204
|
+
ELASTIC_IP_ALLOCATION: "ELASTIC_IP_ALLOCATION",
|
|
205
|
+
GLOBAL_ACCELERATOR: "GLOBAL_ACCELERATOR",
|
|
206
|
+
ROUTE_53_HOSTED_ZONE: "ROUTE_53_HOSTED_ZONE",
|
|
207
|
+
};
|
|
218
208
|
class LockedSubscriptionException extends ShieldServiceException_1.ShieldServiceException {
|
|
219
209
|
constructor(opts) {
|
|
220
210
|
super({
|
|
@@ -228,17 +218,15 @@ class LockedSubscriptionException extends ShieldServiceException_1.ShieldService
|
|
|
228
218
|
}
|
|
229
219
|
}
|
|
230
220
|
exports.LockedSubscriptionException = LockedSubscriptionException;
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
SubscriptionState["INACTIVE"] = "INACTIVE";
|
|
241
|
-
})(SubscriptionState = exports.SubscriptionState || (exports.SubscriptionState = {}));
|
|
221
|
+
exports.ProactiveEngagementStatus = {
|
|
222
|
+
DISABLED: "DISABLED",
|
|
223
|
+
ENABLED: "ENABLED",
|
|
224
|
+
PENDING: "PENDING",
|
|
225
|
+
};
|
|
226
|
+
exports.SubscriptionState = {
|
|
227
|
+
ACTIVE: "ACTIVE",
|
|
228
|
+
INACTIVE: "INACTIVE",
|
|
229
|
+
};
|
|
242
230
|
class InvalidPaginationTokenException extends ShieldServiceException_1.ShieldServiceException {
|
|
243
231
|
constructor(opts) {
|
|
244
232
|
super({
|
|
@@ -23,11 +23,10 @@ export class AccessDeniedForDependencyException extends __BaseException {
|
|
|
23
23
|
Object.setPrototypeOf(this, AccessDeniedForDependencyException.prototype);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
export
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
})(ApplicationLayerAutomaticResponseStatus || (ApplicationLayerAutomaticResponseStatus = {}));
|
|
26
|
+
export const ApplicationLayerAutomaticResponseStatus = {
|
|
27
|
+
DISABLED: "DISABLED",
|
|
28
|
+
ENABLED: "ENABLED",
|
|
29
|
+
};
|
|
31
30
|
export class InternalErrorException extends __BaseException {
|
|
32
31
|
constructor(opts) {
|
|
33
32
|
super({
|
|
@@ -52,11 +51,10 @@ export class InvalidOperationException extends __BaseException {
|
|
|
52
51
|
Object.setPrototypeOf(this, InvalidOperationException.prototype);
|
|
53
52
|
}
|
|
54
53
|
}
|
|
55
|
-
export
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
54
|
+
export const ValidationExceptionReason = {
|
|
55
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
56
|
+
OTHER: "OTHER",
|
|
57
|
+
};
|
|
60
58
|
export class InvalidParameterException extends __BaseException {
|
|
61
59
|
constructor(opts) {
|
|
62
60
|
super({
|
|
@@ -134,39 +132,34 @@ export class InvalidResourceException extends __BaseException {
|
|
|
134
132
|
Object.setPrototypeOf(this, InvalidResourceException.prototype);
|
|
135
133
|
}
|
|
136
134
|
}
|
|
137
|
-
export
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
}
|
|
165
|
-
export var AutoRenew;
|
|
166
|
-
(function (AutoRenew) {
|
|
167
|
-
AutoRenew["DISABLED"] = "DISABLED";
|
|
168
|
-
AutoRenew["ENABLED"] = "ENABLED";
|
|
169
|
-
})(AutoRenew || (AutoRenew = {}));
|
|
135
|
+
export const AttackLayer = {
|
|
136
|
+
APPLICATION: "APPLICATION",
|
|
137
|
+
NETWORK: "NETWORK",
|
|
138
|
+
};
|
|
139
|
+
export const AttackPropertyIdentifier = {
|
|
140
|
+
DESTINATION_URL: "DESTINATION_URL",
|
|
141
|
+
REFERRER: "REFERRER",
|
|
142
|
+
SOURCE_ASN: "SOURCE_ASN",
|
|
143
|
+
SOURCE_COUNTRY: "SOURCE_COUNTRY",
|
|
144
|
+
SOURCE_IP_ADDRESS: "SOURCE_IP_ADDRESS",
|
|
145
|
+
SOURCE_USER_AGENT: "SOURCE_USER_AGENT",
|
|
146
|
+
WORDPRESS_PINGBACK_REFLECTOR: "WORDPRESS_PINGBACK_REFLECTOR",
|
|
147
|
+
WORDPRESS_PINGBACK_SOURCE: "WORDPRESS_PINGBACK_SOURCE",
|
|
148
|
+
};
|
|
149
|
+
export const Unit = {
|
|
150
|
+
BITS: "BITS",
|
|
151
|
+
BYTES: "BYTES",
|
|
152
|
+
PACKETS: "PACKETS",
|
|
153
|
+
REQUESTS: "REQUESTS",
|
|
154
|
+
};
|
|
155
|
+
export const SubResourceType = {
|
|
156
|
+
IP: "IP",
|
|
157
|
+
URL: "URL",
|
|
158
|
+
};
|
|
159
|
+
export const AutoRenew = {
|
|
160
|
+
DISABLED: "DISABLED",
|
|
161
|
+
ENABLED: "ENABLED",
|
|
162
|
+
};
|
|
170
163
|
export class ResourceAlreadyExistsException extends __BaseException {
|
|
171
164
|
constructor(opts) {
|
|
172
165
|
super({
|
|
@@ -180,27 +173,24 @@ export class ResourceAlreadyExistsException extends __BaseException {
|
|
|
180
173
|
this.resourceType = opts.resourceType;
|
|
181
174
|
}
|
|
182
175
|
}
|
|
183
|
-
export
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
ProtectedResourceType["GLOBAL_ACCELERATOR"] = "GLOBAL_ACCELERATOR";
|
|
202
|
-
ProtectedResourceType["ROUTE_53_HOSTED_ZONE"] = "ROUTE_53_HOSTED_ZONE";
|
|
203
|
-
})(ProtectedResourceType || (ProtectedResourceType = {}));
|
|
176
|
+
export const ProtectionGroupAggregation = {
|
|
177
|
+
MAX: "MAX",
|
|
178
|
+
MEAN: "MEAN",
|
|
179
|
+
SUM: "SUM",
|
|
180
|
+
};
|
|
181
|
+
export const ProtectionGroupPattern = {
|
|
182
|
+
ALL: "ALL",
|
|
183
|
+
ARBITRARY: "ARBITRARY",
|
|
184
|
+
BY_RESOURCE_TYPE: "BY_RESOURCE_TYPE",
|
|
185
|
+
};
|
|
186
|
+
export const ProtectedResourceType = {
|
|
187
|
+
APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER",
|
|
188
|
+
CLASSIC_LOAD_BALANCER: "CLASSIC_LOAD_BALANCER",
|
|
189
|
+
CLOUDFRONT_DISTRIBUTION: "CLOUDFRONT_DISTRIBUTION",
|
|
190
|
+
ELASTIC_IP_ALLOCATION: "ELASTIC_IP_ALLOCATION",
|
|
191
|
+
GLOBAL_ACCELERATOR: "GLOBAL_ACCELERATOR",
|
|
192
|
+
ROUTE_53_HOSTED_ZONE: "ROUTE_53_HOSTED_ZONE",
|
|
193
|
+
};
|
|
204
194
|
export class LockedSubscriptionException extends __BaseException {
|
|
205
195
|
constructor(opts) {
|
|
206
196
|
super({
|
|
@@ -213,17 +203,15 @@ export class LockedSubscriptionException extends __BaseException {
|
|
|
213
203
|
Object.setPrototypeOf(this, LockedSubscriptionException.prototype);
|
|
214
204
|
}
|
|
215
205
|
}
|
|
216
|
-
export
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
SubscriptionState["INACTIVE"] = "INACTIVE";
|
|
226
|
-
})(SubscriptionState || (SubscriptionState = {}));
|
|
206
|
+
export const ProactiveEngagementStatus = {
|
|
207
|
+
DISABLED: "DISABLED",
|
|
208
|
+
ENABLED: "ENABLED",
|
|
209
|
+
PENDING: "PENDING",
|
|
210
|
+
};
|
|
211
|
+
export const SubscriptionState = {
|
|
212
|
+
ACTIVE: "ACTIVE",
|
|
213
|
+
INACTIVE: "INACTIVE",
|
|
214
|
+
};
|
|
227
215
|
export class InvalidPaginationTokenException extends __BaseException {
|
|
228
216
|
constructor(opts) {
|
|
229
217
|
super({
|
|
@@ -27,7 +27,7 @@ export interface AssociateDRTLogBucketCommandOutput extends AssociateDRTLogBucke
|
|
|
27
27
|
* import { ShieldClient, AssociateDRTLogBucketCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
28
28
|
* // const { ShieldClient, AssociateDRTLogBucketCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
29
29
|
* const client = new ShieldClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // AssociateDRTLogBucketRequest
|
|
31
31
|
* LogBucket: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new AssociateDRTLogBucketCommand(input);
|
|
@@ -33,7 +33,7 @@ export interface AssociateDRTRoleCommandOutput extends AssociateDRTRoleResponse,
|
|
|
33
33
|
* import { ShieldClient, AssociateDRTRoleCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
34
34
|
* // const { ShieldClient, AssociateDRTRoleCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
35
35
|
* const client = new ShieldClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // AssociateDRTRoleRequest
|
|
37
37
|
* RoleArn: "STRING_VALUE", // required
|
|
38
38
|
* };
|
|
39
39
|
* const command = new AssociateDRTRoleCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface AssociateHealthCheckCommandOutput extends AssociateHealthCheckR
|
|
|
27
27
|
* import { ShieldClient, AssociateHealthCheckCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
28
28
|
* // const { ShieldClient, AssociateHealthCheckCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
29
29
|
* const client = new ShieldClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // AssociateHealthCheckRequest
|
|
31
31
|
* ProtectionId: "STRING_VALUE", // required
|
|
32
32
|
* HealthCheckArn: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
@@ -31,9 +31,9 @@ export interface AssociateProactiveEngagementDetailsCommandOutput extends Associ
|
|
|
31
31
|
* import { ShieldClient, AssociateProactiveEngagementDetailsCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
32
32
|
* // const { ShieldClient, AssociateProactiveEngagementDetailsCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
33
33
|
* const client = new ShieldClient(config);
|
|
34
|
-
* const input = {
|
|
35
|
-
* EmergencyContactList: [ // required
|
|
36
|
-
* {
|
|
34
|
+
* const input = { // AssociateProactiveEngagementDetailsRequest
|
|
35
|
+
* EmergencyContactList: [ // EmergencyContactList // required
|
|
36
|
+
* { // EmergencyContact
|
|
37
37
|
* EmailAddress: "STRING_VALUE", // required
|
|
38
38
|
* PhoneNumber: "STRING_VALUE",
|
|
39
39
|
* ContactNotes: "STRING_VALUE",
|
|
@@ -31,11 +31,11 @@ export interface CreateProtectionCommandOutput extends CreateProtectionResponse,
|
|
|
31
31
|
* import { ShieldClient, CreateProtectionCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
32
32
|
* // const { ShieldClient, CreateProtectionCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
33
33
|
* const client = new ShieldClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // CreateProtectionRequest
|
|
35
35
|
* Name: "STRING_VALUE", // required
|
|
36
36
|
* ResourceArn: "STRING_VALUE", // required
|
|
37
|
-
* Tags: [
|
|
38
|
-
* {
|
|
37
|
+
* Tags: [ // TagList
|
|
38
|
+
* { // Tag
|
|
39
39
|
* Key: "STRING_VALUE",
|
|
40
40
|
* Value: "STRING_VALUE",
|
|
41
41
|
* },
|
|
@@ -26,16 +26,16 @@ export interface CreateProtectionGroupCommandOutput extends CreateProtectionGrou
|
|
|
26
26
|
* import { ShieldClient, CreateProtectionGroupCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
27
27
|
* // const { ShieldClient, CreateProtectionGroupCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
28
28
|
* const client = new ShieldClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateProtectionGroupRequest
|
|
30
30
|
* ProtectionGroupId: "STRING_VALUE", // required
|
|
31
31
|
* Aggregation: "STRING_VALUE", // required
|
|
32
32
|
* Pattern: "STRING_VALUE", // required
|
|
33
33
|
* ResourceType: "STRING_VALUE",
|
|
34
|
-
* Members: [
|
|
34
|
+
* Members: [ // ProtectionGroupMembers
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
|
-
* Tags: [
|
|
38
|
-
* {
|
|
37
|
+
* Tags: [ // TagList
|
|
38
|
+
* { // Tag
|
|
39
39
|
* Key: "STRING_VALUE",
|
|
40
40
|
* Value: "STRING_VALUE",
|
|
41
41
|
* },
|
|
@@ -26,7 +26,7 @@ export interface DeleteProtectionCommandOutput extends DeleteProtectionResponse,
|
|
|
26
26
|
* import { ShieldClient, DeleteProtectionCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
27
27
|
* // const { ShieldClient, DeleteProtectionCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
28
28
|
* const client = new ShieldClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteProtectionRequest
|
|
30
30
|
* ProtectionId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteProtectionCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeleteProtectionGroupCommandOutput extends DeleteProtectionGrou
|
|
|
26
26
|
* import { ShieldClient, DeleteProtectionGroupCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
27
27
|
* // const { ShieldClient, DeleteProtectionGroupCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
28
28
|
* const client = new ShieldClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteProtectionGroupRequest
|
|
30
30
|
* ProtectionGroupId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteProtectionGroupCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DescribeAttackCommandOutput extends DescribeAttackResponse, __M
|
|
|
26
26
|
* import { ShieldClient, DescribeAttackCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
27
27
|
* // const { ShieldClient, DescribeAttackCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
28
28
|
* const client = new ShieldClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeAttackRequest
|
|
30
30
|
* AttackId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DescribeAttackCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DescribeProtectionCommandOutput extends DescribeProtectionRespo
|
|
|
26
26
|
* import { ShieldClient, DescribeProtectionCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
27
27
|
* // const { ShieldClient, DescribeProtectionCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
28
28
|
* const client = new ShieldClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeProtectionRequest
|
|
30
30
|
* ProtectionId: "STRING_VALUE",
|
|
31
31
|
* ResourceArn: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DescribeProtectionGroupCommandOutput extends DescribeProtection
|
|
|
26
26
|
* import { ShieldClient, DescribeProtectionGroupCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
27
27
|
* // const { ShieldClient, DescribeProtectionGroupCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
28
28
|
* const client = new ShieldClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeProtectionGroupRequest
|
|
30
30
|
* ProtectionGroupId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DescribeProtectionGroupCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface DisableApplicationLayerAutomaticResponseCommandOutput extends D
|
|
|
27
27
|
* import { ShieldClient, DisableApplicationLayerAutomaticResponseCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
28
28
|
* // const { ShieldClient, DisableApplicationLayerAutomaticResponseCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
29
29
|
* const client = new ShieldClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DisableApplicationLayerAutomaticResponseRequest
|
|
31
31
|
* ResourceArn: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DisableApplicationLayerAutomaticResponseCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DisassociateDRTLogBucketCommandOutput extends DisassociateDRTLo
|
|
|
26
26
|
* import { ShieldClient, DisassociateDRTLogBucketCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
27
27
|
* // const { ShieldClient, DisassociateDRTLogBucketCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
28
28
|
* const client = new ShieldClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DisassociateDRTLogBucketRequest
|
|
30
30
|
* LogBucket: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DisassociateDRTLogBucketCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface DisassociateHealthCheckCommandOutput extends DisassociateHealth
|
|
|
27
27
|
* import { ShieldClient, DisassociateHealthCheckCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
28
28
|
* // const { ShieldClient, DisassociateHealthCheckCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
29
29
|
* const client = new ShieldClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DisassociateHealthCheckRequest
|
|
31
31
|
* ProtectionId: "STRING_VALUE", // required
|
|
32
32
|
* HealthCheckArn: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
@@ -40,9 +40,9 @@ export interface EnableApplicationLayerAutomaticResponseCommandOutput extends En
|
|
|
40
40
|
* import { ShieldClient, EnableApplicationLayerAutomaticResponseCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
41
41
|
* // const { ShieldClient, EnableApplicationLayerAutomaticResponseCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
42
42
|
* const client = new ShieldClient(config);
|
|
43
|
-
* const input = {
|
|
43
|
+
* const input = { // EnableApplicationLayerAutomaticResponseRequest
|
|
44
44
|
* ResourceArn: "STRING_VALUE", // required
|
|
45
|
-
* Action: {
|
|
45
|
+
* Action: { // ResponseAction
|
|
46
46
|
* Block: {},
|
|
47
47
|
* Count: {},
|
|
48
48
|
* },
|
|
@@ -27,11 +27,11 @@ export interface ListAttacksCommandOutput extends ListAttacksResponse, __Metadat
|
|
|
27
27
|
* import { ShieldClient, ListAttacksCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
28
28
|
* // const { ShieldClient, ListAttacksCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
29
29
|
* const client = new ShieldClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* ResourceArns: [
|
|
30
|
+
* const input = { // ListAttacksRequest
|
|
31
|
+
* ResourceArns: [ // ResourceArnFilterList
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
|
-
* StartTime: {
|
|
34
|
+
* StartTime: { // TimeRange
|
|
35
35
|
* FromInclusive: new Date("TIMESTAMP"),
|
|
36
36
|
* ToExclusive: new Date("TIMESTAMP"),
|
|
37
37
|
* },
|
|
@@ -27,20 +27,20 @@ export interface ListProtectionGroupsCommandOutput extends ListProtectionGroupsR
|
|
|
27
27
|
* import { ShieldClient, ListProtectionGroupsCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
28
28
|
* // const { ShieldClient, ListProtectionGroupsCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
29
29
|
* const client = new ShieldClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListProtectionGroupsRequest
|
|
31
31
|
* NextToken: "STRING_VALUE",
|
|
32
32
|
* MaxResults: Number("int"),
|
|
33
|
-
* InclusionFilters: {
|
|
34
|
-
* ProtectionGroupIds: [
|
|
33
|
+
* InclusionFilters: { // InclusionProtectionGroupFilters
|
|
34
|
+
* ProtectionGroupIds: [ // ProtectionGroupIdFilters
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
|
-
* Patterns: [
|
|
37
|
+
* Patterns: [ // ProtectionGroupPatternFilters
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
|
-
* ResourceTypes: [
|
|
40
|
+
* ResourceTypes: [ // ProtectedResourceTypeFilters
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
|
-
* Aggregations: [
|
|
43
|
+
* Aggregations: [ // ProtectionGroupAggregationFilters
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
46
46
|
* },
|
|
@@ -27,17 +27,17 @@ export interface ListProtectionsCommandOutput extends ListProtectionsResponse, _
|
|
|
27
27
|
* import { ShieldClient, ListProtectionsCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
28
28
|
* // const { ShieldClient, ListProtectionsCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
29
29
|
* const client = new ShieldClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListProtectionsRequest
|
|
31
31
|
* NextToken: "STRING_VALUE",
|
|
32
32
|
* MaxResults: Number("int"),
|
|
33
|
-
* InclusionFilters: {
|
|
34
|
-
* ResourceArns: [
|
|
33
|
+
* InclusionFilters: { // InclusionProtectionFilters
|
|
34
|
+
* ResourceArns: [ // ResourceArnFilters
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
|
-
* ProtectionNames: [
|
|
37
|
+
* ProtectionNames: [ // ProtectionNameFilters
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
|
-
* ResourceTypes: [
|
|
40
|
+
* ResourceTypes: [ // ProtectedResourceTypeFilters
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
43
|
* },
|
|
@@ -26,7 +26,7 @@ export interface ListResourcesInProtectionGroupCommandOutput extends ListResourc
|
|
|
26
26
|
* import { ShieldClient, ListResourcesInProtectionGroupCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
27
27
|
* // const { ShieldClient, ListResourcesInProtectionGroupCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
28
28
|
* const client = new ShieldClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListResourcesInProtectionGroupRequest
|
|
30
30
|
* ProtectionGroupId: "STRING_VALUE", // required
|
|
31
31
|
* NextToken: "STRING_VALUE",
|
|
32
32
|
* MaxResults: Number("int"),
|
|
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { ShieldClient, ListTagsForResourceCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
27
27
|
* // const { ShieldClient, ListTagsForResourceCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
28
28
|
* const client = new ShieldClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
30
|
* ResourceARN: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|