@aws-sdk/client-shield 3.300.0 → 3.301.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 (27) hide show
  1. package/dist-types/commands/AssociateDRTLogBucketCommand.d.ts +1 -1
  2. package/dist-types/commands/AssociateDRTRoleCommand.d.ts +1 -1
  3. package/dist-types/commands/AssociateHealthCheckCommand.d.ts +1 -1
  4. package/dist-types/commands/AssociateProactiveEngagementDetailsCommand.d.ts +3 -3
  5. package/dist-types/commands/CreateProtectionCommand.d.ts +3 -3
  6. package/dist-types/commands/CreateProtectionGroupCommand.d.ts +4 -4
  7. package/dist-types/commands/DeleteProtectionCommand.d.ts +1 -1
  8. package/dist-types/commands/DeleteProtectionGroupCommand.d.ts +1 -1
  9. package/dist-types/commands/DescribeAttackCommand.d.ts +1 -1
  10. package/dist-types/commands/DescribeProtectionCommand.d.ts +1 -1
  11. package/dist-types/commands/DescribeProtectionGroupCommand.d.ts +1 -1
  12. package/dist-types/commands/DisableApplicationLayerAutomaticResponseCommand.d.ts +1 -1
  13. package/dist-types/commands/DisassociateDRTLogBucketCommand.d.ts +1 -1
  14. package/dist-types/commands/DisassociateHealthCheckCommand.d.ts +1 -1
  15. package/dist-types/commands/EnableApplicationLayerAutomaticResponseCommand.d.ts +2 -2
  16. package/dist-types/commands/ListAttacksCommand.d.ts +3 -3
  17. package/dist-types/commands/ListProtectionGroupsCommand.d.ts +6 -6
  18. package/dist-types/commands/ListProtectionsCommand.d.ts +5 -5
  19. package/dist-types/commands/ListResourcesInProtectionGroupCommand.d.ts +1 -1
  20. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  21. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  22. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  23. package/dist-types/commands/UpdateApplicationLayerAutomaticResponseCommand.d.ts +2 -2
  24. package/dist-types/commands/UpdateEmergencyContactSettingsCommand.d.ts +3 -3
  25. package/dist-types/commands/UpdateProtectionGroupCommand.d.ts +2 -2
  26. package/dist-types/commands/UpdateSubscriptionCommand.d.ts +1 -1
  27. package/package.json +3 -3
@@ -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);
@@ -26,10 +26,10 @@ 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 = {
29
+ * const input = { // TagResourceRequest
30
30
  * ResourceARN: "STRING_VALUE", // required
31
- * Tags: [ // required
32
- * {
31
+ * Tags: [ // TagList // required
32
+ * { // Tag
33
33
  * Key: "STRING_VALUE",
34
34
  * Value: "STRING_VALUE",
35
35
  * },
@@ -26,9 +26,9 @@ 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 = {
29
+ * const input = { // UntagResourceRequest
30
30
  * ResourceARN: "STRING_VALUE", // required
31
- * TagKeys: [ // required
31
+ * TagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -26,9 +26,9 @@ 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 = {
29
+ * const input = { // UpdateApplicationLayerAutomaticResponseRequest
30
30
  * ResourceArn: "STRING_VALUE", // required
31
- * Action: {
31
+ * Action: { // ResponseAction
32
32
  * Block: {},
33
33
  * Count: {},
34
34
  * },
@@ -26,9 +26,9 @@ 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
- * {
29
+ * const input = { // UpdateEmergencyContactSettingsRequest
30
+ * EmergencyContactList: [ // EmergencyContactList
31
+ * { // EmergencyContact
32
32
  * EmailAddress: "STRING_VALUE", // required
33
33
  * PhoneNumber: "STRING_VALUE",
34
34
  * ContactNotes: "STRING_VALUE",
@@ -26,12 +26,12 @@ 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 = {
29
+ * const input = { // UpdateProtectionGroupRequest
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
37
  * };
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // UpdateSubscriptionRequest
34
34
  * AutoRenew: "STRING_VALUE",
35
35
  * };
36
36
  * const command = new UpdateSubscriptionCommand(input);
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.300.0",
4
+ "version": "3.301.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.300.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
25
  "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.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",