@aws-sdk/client-shield 3.299.0 → 3.300.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.
Files changed (37) hide show
  1. package/dist-types/commands/AssociateDRTLogBucketCommand.d.ts +3 -0
  2. package/dist-types/commands/AssociateDRTRoleCommand.d.ts +3 -0
  3. package/dist-types/commands/AssociateHealthCheckCommand.d.ts +4 -0
  4. package/dist-types/commands/AssociateProactiveEngagementDetailsCommand.d.ts +9 -0
  5. package/dist-types/commands/CreateProtectionCommand.d.ts +10 -0
  6. package/dist-types/commands/CreateProtectionGroupCommand.d.ts +15 -0
  7. package/dist-types/commands/CreateSubscriptionCommand.d.ts +1 -0
  8. package/dist-types/commands/DeleteProtectionCommand.d.ts +3 -0
  9. package/dist-types/commands/DeleteProtectionGroupCommand.d.ts +3 -0
  10. package/dist-types/commands/DeleteSubscriptionCommand.d.ts +1 -0
  11. package/dist-types/commands/DescribeAttackCommand.d.ts +3 -0
  12. package/dist-types/commands/DescribeAttackStatisticsCommand.d.ts +1 -0
  13. package/dist-types/commands/DescribeDRTAccessCommand.d.ts +1 -0
  14. package/dist-types/commands/DescribeEmergencyContactSettingsCommand.d.ts +1 -0
  15. package/dist-types/commands/DescribeProtectionCommand.d.ts +4 -0
  16. package/dist-types/commands/DescribeProtectionGroupCommand.d.ts +3 -0
  17. package/dist-types/commands/DescribeSubscriptionCommand.d.ts +1 -0
  18. package/dist-types/commands/DisableApplicationLayerAutomaticResponseCommand.d.ts +3 -0
  19. package/dist-types/commands/DisableProactiveEngagementCommand.d.ts +1 -0
  20. package/dist-types/commands/DisassociateDRTLogBucketCommand.d.ts +3 -0
  21. package/dist-types/commands/DisassociateDRTRoleCommand.d.ts +1 -0
  22. package/dist-types/commands/DisassociateHealthCheckCommand.d.ts +4 -0
  23. package/dist-types/commands/EnableApplicationLayerAutomaticResponseCommand.d.ts +7 -0
  24. package/dist-types/commands/EnableProactiveEngagementCommand.d.ts +1 -0
  25. package/dist-types/commands/GetSubscriptionStateCommand.d.ts +1 -0
  26. package/dist-types/commands/ListAttacksCommand.d.ts +15 -0
  27. package/dist-types/commands/ListProtectionGroupsCommand.d.ts +18 -0
  28. package/dist-types/commands/ListProtectionsCommand.d.ts +15 -0
  29. package/dist-types/commands/ListResourcesInProtectionGroupCommand.d.ts +5 -0
  30. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  31. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  32. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  33. package/dist-types/commands/UpdateApplicationLayerAutomaticResponseCommand.d.ts +7 -0
  34. package/dist-types/commands/UpdateEmergencyContactSettingsCommand.d.ts +9 -0
  35. package/dist-types/commands/UpdateProtectionGroupCommand.d.ts +9 -0
  36. package/dist-types/commands/UpdateSubscriptionCommand.d.ts +3 -0
  37. package/package.json +8 -8
@@ -27,6 +27,9 @@ 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 = {
31
+ * LogBucket: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new AssociateDRTLogBucketCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -33,6 +33,9 @@ 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 = {
37
+ * RoleArn: "STRING_VALUE", // required
38
+ * };
36
39
  * const command = new AssociateDRTRoleCommand(input);
37
40
  * const response = await client.send(command);
38
41
  * ```
@@ -27,6 +27,10 @@ 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 = {
31
+ * ProtectionId: "STRING_VALUE", // required
32
+ * HealthCheckArn: "STRING_VALUE", // required
33
+ * };
30
34
  * const command = new AssociateHealthCheckCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -31,6 +31,15 @@ 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
+ * {
37
+ * EmailAddress: "STRING_VALUE", // required
38
+ * PhoneNumber: "STRING_VALUE",
39
+ * ContactNotes: "STRING_VALUE",
40
+ * },
41
+ * ],
42
+ * };
34
43
  * const command = new AssociateProactiveEngagementDetailsCommand(input);
35
44
  * const response = await client.send(command);
36
45
  * ```
@@ -31,6 +31,16 @@ 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 = {
35
+ * Name: "STRING_VALUE", // required
36
+ * ResourceArn: "STRING_VALUE", // required
37
+ * Tags: [
38
+ * {
39
+ * Key: "STRING_VALUE",
40
+ * Value: "STRING_VALUE",
41
+ * },
42
+ * ],
43
+ * };
34
44
  * const command = new CreateProtectionCommand(input);
35
45
  * const response = await client.send(command);
36
46
  * ```
@@ -26,6 +26,21 @@ 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 = {
30
+ * ProtectionGroupId: "STRING_VALUE", // required
31
+ * Aggregation: "STRING_VALUE", // required
32
+ * Pattern: "STRING_VALUE", // required
33
+ * ResourceType: "STRING_VALUE",
34
+ * Members: [
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * Tags: [
38
+ * {
39
+ * Key: "STRING_VALUE",
40
+ * Value: "STRING_VALUE",
41
+ * },
42
+ * ],
43
+ * };
29
44
  * const command = new CreateProtectionGroupCommand(input);
30
45
  * const response = await client.send(command);
31
46
  * ```
@@ -31,6 +31,7 @@ export interface CreateSubscriptionCommandOutput extends CreateSubscriptionRespo
31
31
  * import { ShieldClient, CreateSubscriptionCommand } from "@aws-sdk/client-shield"; // ES Modules import
32
32
  * // const { ShieldClient, CreateSubscriptionCommand } = require("@aws-sdk/client-shield"); // CommonJS import
33
33
  * const client = new ShieldClient(config);
34
+ * const input = {};
34
35
  * const command = new CreateSubscriptionCommand(input);
35
36
  * const response = await client.send(command);
36
37
  * ```
@@ -26,6 +26,9 @@ 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 = {
30
+ * ProtectionId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteProtectionCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ 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 = {
30
+ * ProtectionGroupId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteProtectionGroupCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -28,6 +28,7 @@ export interface DeleteSubscriptionCommandOutput extends DeleteSubscriptionRespo
28
28
  * import { ShieldClient, DeleteSubscriptionCommand } from "@aws-sdk/client-shield"; // ES Modules import
29
29
  * // const { ShieldClient, DeleteSubscriptionCommand } = require("@aws-sdk/client-shield"); // CommonJS import
30
30
  * const client = new ShieldClient(config);
31
+ * const input = {};
31
32
  * const command = new DeleteSubscriptionCommand(input);
32
33
  * const response = await client.send(command);
33
34
  * ```
@@ -26,6 +26,9 @@ 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 = {
30
+ * AttackId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeAttackCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -28,6 +28,7 @@ export interface DescribeAttackStatisticsCommandOutput extends DescribeAttackSta
28
28
  * import { ShieldClient, DescribeAttackStatisticsCommand } from "@aws-sdk/client-shield"; // ES Modules import
29
29
  * // const { ShieldClient, DescribeAttackStatisticsCommand } = require("@aws-sdk/client-shield"); // CommonJS import
30
30
  * const client = new ShieldClient(config);
31
+ * const input = {};
31
32
  * const command = new DescribeAttackStatisticsCommand(input);
32
33
  * const response = await client.send(command);
33
34
  * ```
@@ -26,6 +26,7 @@ export interface DescribeDRTAccessCommandOutput extends DescribeDRTAccessRespons
26
26
  * import { ShieldClient, DescribeDRTAccessCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, DescribeDRTAccessCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
+ * const input = {};
29
30
  * const command = new DescribeDRTAccessCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -26,6 +26,7 @@ export interface DescribeEmergencyContactSettingsCommandOutput extends DescribeE
26
26
  * import { ShieldClient, DescribeEmergencyContactSettingsCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, DescribeEmergencyContactSettingsCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
+ * const input = {};
29
30
  * const command = new DescribeEmergencyContactSettingsCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -26,6 +26,10 @@ 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 = {
30
+ * ProtectionId: "STRING_VALUE",
31
+ * ResourceArn: "STRING_VALUE",
32
+ * };
29
33
  * const command = new DescribeProtectionCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,9 @@ 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 = {
30
+ * ProtectionGroupId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeProtectionGroupCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,7 @@ export interface DescribeSubscriptionCommandOutput extends DescribeSubscriptionR
26
26
  * import { ShieldClient, DescribeSubscriptionCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, DescribeSubscriptionCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
+ * const input = {};
29
30
  * const command = new DescribeSubscriptionCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -27,6 +27,9 @@ 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 = {
31
+ * ResourceArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DisableApplicationLayerAutomaticResponseCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -26,6 +26,7 @@ export interface DisableProactiveEngagementCommandOutput extends DisableProactiv
26
26
  * import { ShieldClient, DisableProactiveEngagementCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, DisableProactiveEngagementCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
+ * const input = {};
29
30
  * const command = new DisableProactiveEngagementCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -26,6 +26,9 @@ 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 = {
30
+ * LogBucket: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DisassociateDRTLogBucketCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,7 @@ export interface DisassociateDRTRoleCommandOutput extends DisassociateDRTRoleRes
26
26
  * import { ShieldClient, DisassociateDRTRoleCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, DisassociateDRTRoleCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
+ * const input = {};
29
30
  * const command = new DisassociateDRTRoleCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -27,6 +27,10 @@ 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 = {
31
+ * ProtectionId: "STRING_VALUE", // required
32
+ * HealthCheckArn: "STRING_VALUE", // required
33
+ * };
30
34
  * const command = new DisassociateHealthCheckCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -40,6 +40,13 @@ 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 = {
44
+ * ResourceArn: "STRING_VALUE", // required
45
+ * Action: {
46
+ * Block: {},
47
+ * Count: {},
48
+ * },
49
+ * };
43
50
  * const command = new EnableApplicationLayerAutomaticResponseCommand(input);
44
51
  * const response = await client.send(command);
45
52
  * ```
@@ -26,6 +26,7 @@ export interface EnableProactiveEngagementCommandOutput extends EnableProactiveE
26
26
  * import { ShieldClient, EnableProactiveEngagementCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, EnableProactiveEngagementCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
+ * const input = {};
29
30
  * const command = new EnableProactiveEngagementCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -26,6 +26,7 @@ export interface GetSubscriptionStateCommandOutput extends GetSubscriptionStateR
26
26
  * import { ShieldClient, GetSubscriptionStateCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, GetSubscriptionStateCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
+ * const input = {};
29
30
  * const command = new GetSubscriptionStateCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -27,6 +27,21 @@ 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: [
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * StartTime: {
35
+ * FromInclusive: new Date("TIMESTAMP"),
36
+ * ToExclusive: new Date("TIMESTAMP"),
37
+ * },
38
+ * EndTime: {
39
+ * FromInclusive: new Date("TIMESTAMP"),
40
+ * ToExclusive: new Date("TIMESTAMP"),
41
+ * },
42
+ * NextToken: "STRING_VALUE",
43
+ * MaxResults: Number("int"),
44
+ * };
30
45
  * const command = new ListAttacksCommand(input);
31
46
  * const response = await client.send(command);
32
47
  * ```
@@ -27,6 +27,24 @@ 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 = {
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * InclusionFilters: {
34
+ * ProtectionGroupIds: [
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * Patterns: [
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * ResourceTypes: [
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * Aggregations: [
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * },
47
+ * };
30
48
  * const command = new ListProtectionGroupsCommand(input);
31
49
  * const response = await client.send(command);
32
50
  * ```
@@ -27,6 +27,21 @@ 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 = {
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * InclusionFilters: {
34
+ * ResourceArns: [
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * ProtectionNames: [
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * ResourceTypes: [
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * },
44
+ * };
30
45
  * const command = new ListProtectionsCommand(input);
31
46
  * const response = await client.send(command);
32
47
  * ```
@@ -26,6 +26,11 @@ 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 = {
30
+ * ProtectionGroupId: "STRING_VALUE", // required
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * };
29
34
  * const command = new ListResourcesInProtectionGroupCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,9 @@ 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 = {
30
+ * ResourceARN: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { ShieldClient, TagResourceCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, TagResourceCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
+ * const input = {
30
+ * ResourceARN: "STRING_VALUE", // required
31
+ * Tags: [ // required
32
+ * {
33
+ * Key: "STRING_VALUE",
34
+ * Value: "STRING_VALUE",
35
+ * },
36
+ * ],
37
+ * };
29
38
  * const command = new TagResourceCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { ShieldClient, UntagResourceCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, UntagResourceCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
+ * const input = {
30
+ * ResourceARN: "STRING_VALUE", // required
31
+ * TagKeys: [ // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,13 @@ export interface UpdateApplicationLayerAutomaticResponseCommandOutput extends Up
26
26
  * import { ShieldClient, UpdateApplicationLayerAutomaticResponseCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, UpdateApplicationLayerAutomaticResponseCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
+ * const input = {
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * Action: {
32
+ * Block: {},
33
+ * Count: {},
34
+ * },
35
+ * };
29
36
  * const command = new UpdateApplicationLayerAutomaticResponseCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -26,6 +26,15 @@ export interface UpdateEmergencyContactSettingsCommandOutput extends UpdateEmerg
26
26
  * import { ShieldClient, UpdateEmergencyContactSettingsCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, UpdateEmergencyContactSettingsCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
+ * const input = {
30
+ * EmergencyContactList: [
31
+ * {
32
+ * EmailAddress: "STRING_VALUE", // required
33
+ * PhoneNumber: "STRING_VALUE",
34
+ * ContactNotes: "STRING_VALUE",
35
+ * },
36
+ * ],
37
+ * };
29
38
  * const command = new UpdateEmergencyContactSettingsCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,15 @@ export interface UpdateProtectionGroupCommandOutput extends UpdateProtectionGrou
26
26
  * import { ShieldClient, UpdateProtectionGroupCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, UpdateProtectionGroupCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
+ * const input = {
30
+ * ProtectionGroupId: "STRING_VALUE", // required
31
+ * Aggregation: "STRING_VALUE", // required
32
+ * Pattern: "STRING_VALUE", // required
33
+ * ResourceType: "STRING_VALUE",
34
+ * Members: [
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * };
29
38
  * const command = new UpdateProtectionGroupCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -30,6 +30,9 @@ export interface UpdateSubscriptionCommandOutput extends UpdateSubscriptionRespo
30
30
  * import { ShieldClient, UpdateSubscriptionCommand } from "@aws-sdk/client-shield"; // ES Modules import
31
31
  * // const { ShieldClient, UpdateSubscriptionCommand } = require("@aws-sdk/client-shield"); // CommonJS import
32
32
  * const client = new ShieldClient(config);
33
+ * const input = {
34
+ * AutoRenew: "STRING_VALUE",
35
+ * };
33
36
  * const command = new UpdateSubscriptionCommand(input);
34
37
  * const response = await client.send(command);
35
38
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-shield",
3
3
  "description": "AWS SDK for JavaScript Shield Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.300.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },