@aws-sdk/client-wafv2 3.799.0 → 3.804.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 (116) hide show
  1. package/dist-es/protocols/Aws_json1_1.js +3 -3
  2. package/dist-types/commands/AssociateWebACLCommand.d.ts +1 -1
  3. package/dist-types/commands/CheckCapacityCommand.d.ts +1 -1
  4. package/dist-types/commands/CreateAPIKeyCommand.d.ts +1 -1
  5. package/dist-types/commands/CreateIPSetCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateRuleGroupCommand.d.ts +1 -1
  8. package/dist-types/commands/CreateWebACLCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteAPIKeyCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteIPSetCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +1 -1
  13. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteWebACLCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeAllManagedProductsCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeManagedProductsByVendorCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeManagedRuleGroupCommand.d.ts +1 -1
  20. package/dist-types/commands/DisassociateWebACLCommand.d.ts +1 -1
  21. package/dist-types/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +1 -1
  22. package/dist-types/commands/GetDecryptedAPIKeyCommand.d.ts +1 -1
  23. package/dist-types/commands/GetIPSetCommand.d.ts +1 -1
  24. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +1 -1
  25. package/dist-types/commands/GetManagedRuleSetCommand.d.ts +1 -1
  26. package/dist-types/commands/GetMobileSdkReleaseCommand.d.ts +1 -1
  27. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +1 -1
  28. package/dist-types/commands/GetRateBasedStatementManagedKeysCommand.d.ts +1 -1
  29. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +1 -1
  30. package/dist-types/commands/GetSampledRequestsCommand.d.ts +1 -1
  31. package/dist-types/commands/GetWebACLForResourceCommand.d.ts +1 -1
  32. package/dist-types/commands/ListAPIKeysCommand.d.ts +1 -1
  33. package/dist-types/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListAvailableManagedRuleGroupsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListIPSetsCommand.d.ts +1 -1
  36. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListManagedRuleSetsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListMobileSdkReleasesCommand.d.ts +1 -1
  39. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +1 -1
  40. package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +1 -1
  41. package/dist-types/commands/ListRuleGroupsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  43. package/dist-types/commands/ListWebACLsCommand.d.ts +1 -1
  44. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +1 -1
  45. package/dist-types/commands/PutManagedRuleSetVersionsCommand.d.ts +1 -1
  46. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +1 -1
  47. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  48. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  49. package/dist-types/commands/UpdateIPSetCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +1 -1
  53. package/dist-types/commands/UpdateWebACLCommand.d.ts +1 -1
  54. package/dist-types/endpoint/EndpointParameters.d.ts +1 -3
  55. package/dist-types/runtimeConfig.browser.d.ts +17 -17
  56. package/dist-types/runtimeConfig.d.ts +16 -16
  57. package/dist-types/runtimeConfig.native.d.ts +18 -18
  58. package/dist-types/runtimeConfig.shared.d.ts +3 -3
  59. package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/CreateAPIKeyCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/DeleteAPIKeyCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/DescribeAllManagedProductsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/DescribeManagedProductsByVendorCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/GetDecryptedAPIKeyCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/ListAPIKeysCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -4
  112. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +22 -32
  113. package/dist-types/ts3.4/runtimeConfig.d.ts +20 -29
  114. package/dist-types/ts3.4/runtimeConfig.native.d.ts +23 -33
  115. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  116. package/package.json +20 -20
@@ -27,7 +27,7 @@ declare const ListResourcesForWebACLCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: ListResourcesForWebACLCommandInput
30
+ input: ListResourcesForWebACLCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  ListResourcesForWebACLCommandInput,
33
33
  ListResourcesForWebACLCommandOutput,
@@ -26,7 +26,7 @@ declare const ListRuleGroupsCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: ListRuleGroupsCommandInput
29
+ input: ListRuleGroupsCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  ListRuleGroupsCommandInput,
32
32
  ListRuleGroupsCommandOutput,
@@ -27,7 +27,7 @@ declare const ListTagsForResourceCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: ListTagsForResourceCommandInput
30
+ input: ListTagsForResourceCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  ListTagsForResourceCommandInput,
33
33
  ListTagsForResourceCommandOutput,
@@ -23,7 +23,7 @@ declare const ListWebACLsCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: ListWebACLsCommandInput
26
+ input: ListWebACLsCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  ListWebACLsCommandInput,
29
29
  ListWebACLsCommandOutput,
@@ -27,7 +27,7 @@ declare const PutLoggingConfigurationCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: PutLoggingConfigurationCommandInput
30
+ input: PutLoggingConfigurationCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  PutLoggingConfigurationCommandInput,
33
33
  PutLoggingConfigurationCommandOutput,
@@ -27,7 +27,7 @@ declare const PutManagedRuleSetVersionsCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: PutManagedRuleSetVersionsCommandInput
30
+ input: PutManagedRuleSetVersionsCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  PutManagedRuleSetVersionsCommandInput,
33
33
  PutManagedRuleSetVersionsCommandOutput,
@@ -27,7 +27,7 @@ declare const PutPermissionPolicyCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: PutPermissionPolicyCommandInput
30
+ input: PutPermissionPolicyCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  PutPermissionPolicyCommandInput,
33
33
  PutPermissionPolicyCommandOutput,
@@ -23,7 +23,7 @@ declare const TagResourceCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: TagResourceCommandInput
26
+ input: TagResourceCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  TagResourceCommandInput,
29
29
  TagResourceCommandOutput,
@@ -26,7 +26,7 @@ declare const UntagResourceCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: UntagResourceCommandInput
29
+ input: UntagResourceCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  UntagResourceCommandInput,
32
32
  UntagResourceCommandOutput,
@@ -23,7 +23,7 @@ declare const UpdateIPSetCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: UpdateIPSetCommandInput
26
+ input: UpdateIPSetCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  UpdateIPSetCommandInput,
29
29
  UpdateIPSetCommandOutput,
@@ -27,7 +27,7 @@ declare const UpdateManagedRuleSetVersionExpiryDateCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: UpdateManagedRuleSetVersionExpiryDateCommandInput
30
+ input: UpdateManagedRuleSetVersionExpiryDateCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  UpdateManagedRuleSetVersionExpiryDateCommandInput,
33
33
  UpdateManagedRuleSetVersionExpiryDateCommandOutput,
@@ -27,7 +27,7 @@ declare const UpdateRegexPatternSetCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: UpdateRegexPatternSetCommandInput
30
+ input: UpdateRegexPatternSetCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  UpdateRegexPatternSetCommandInput,
33
33
  UpdateRegexPatternSetCommandOutput,
@@ -26,7 +26,7 @@ declare const UpdateRuleGroupCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: UpdateRuleGroupCommandInput
29
+ input: UpdateRuleGroupCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  UpdateRuleGroupCommandInput,
32
32
  UpdateRuleGroupCommandOutput,
@@ -23,7 +23,7 @@ declare const UpdateWebACLCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: UpdateWebACLCommandInput
26
+ input: UpdateWebACLCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  UpdateWebACLCommandInput,
29
29
  UpdateWebACLCommandOutput,
@@ -21,10 +21,7 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
21
21
  };
22
22
  export declare const resolveClientEndpointParameters: <T>(
23
23
  options: T & ClientInputEndpointParameters
24
- ) => T &
25
- ClientInputEndpointParameters & {
26
- defaultSigningName: string;
27
- };
24
+ ) => T & ClientResolvedEndpointParameters;
28
25
  export declare const commonParams: {
29
26
  readonly UseFIPS: {
30
27
  readonly type: "builtInParams";
@@ -12,9 +12,7 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
12
12
  _: unknown
13
13
  ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
14
  defaultUserAgentProvider: (
15
- config?:
16
- | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
17
- | undefined
15
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
18
16
  ) => Promise<import("@smithy/types").UserAgent>;
19
17
  maxAttempts: number | import("@smithy/types").Provider<number>;
20
18
  region: string | import("@smithy/types").Provider<any>;
@@ -30,23 +28,22 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
30
28
  cacheMiddleware?: boolean | undefined;
31
29
  urlParser: import("@smithy/types").UrlParser;
32
30
  base64Decoder: import("@smithy/types").Decoder;
33
- base64Encoder: (_input: string | Uint8Array) => string;
31
+ base64Encoder: (_input: Uint8Array | string) => string;
34
32
  utf8Decoder: import("@smithy/types").Decoder;
35
- utf8Encoder: (input: string | Uint8Array) => string;
33
+ utf8Encoder: (input: Uint8Array | string) => string;
36
34
  disableHostPrefix: boolean;
37
35
  serviceId: string;
38
- profile?: string | undefined;
36
+ profile?: string;
39
37
  logger: import("@smithy/types").Logger;
40
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
39
+ customUserAgent?: string | import("@smithy/types").UserAgent;
42
40
  userAgentAppId?:
43
41
  | string
44
- | import("@smithy/types").Provider<string | undefined>
45
- | undefined;
42
+ | undefined
43
+ | import("@smithy/types").Provider<string | undefined>;
46
44
  retryStrategy?:
47
45
  | import("@smithy/types").RetryStrategy
48
- | import("@smithy/types").RetryStrategyV2
49
- | undefined;
46
+ | import("@smithy/types").RetryStrategyV2;
50
47
  endpoint?:
51
48
  | ((
52
49
  | string
@@ -67,34 +64,27 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
67
64
  endpointProvider: (
68
65
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
69
66
  context?: {
70
- logger?: import("@smithy/types").Logger | undefined;
67
+ logger?: import("@smithy/types").Logger;
71
68
  }
72
69
  ) => import("@smithy/types").EndpointV2;
73
- tls?: boolean | undefined;
74
- serviceConfiguredEndpoint?: undefined;
75
- authSchemePreference?:
76
- | string[]
77
- | import("@smithy/types").Provider<string[]>
78
- | undefined;
70
+ tls?: boolean;
71
+ serviceConfiguredEndpoint?: never;
72
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
79
73
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
80
74
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").WAFV2HttpAuthSchemeProvider;
81
75
  credentials?:
82
76
  | import("@smithy/types").AwsCredentialIdentity
83
- | import("@smithy/types").AwsCredentialIdentityProvider
84
- | undefined;
77
+ | import("@smithy/types").AwsCredentialIdentityProvider;
85
78
  signer?:
86
79
  | import("@smithy/types").RequestSigner
87
80
  | ((
88
- authScheme?: import("@smithy/types").AuthScheme | undefined
89
- ) => Promise<import("@smithy/types").RequestSigner>)
90
- | undefined;
91
- signingEscapePath?: boolean | undefined;
92
- systemClockOffset?: number | undefined;
93
- signingRegion?: string | undefined;
94
- signerConstructor?:
95
- | (new (
96
- options: import("@smithy/signature-v4").SignatureV4Init &
97
- import("@smithy/signature-v4").SignatureV4CryptoInit
98
- ) => import("@smithy/types").RequestSigner)
99
- | undefined;
81
+ authScheme?: import("@smithy/types").AuthScheme
82
+ ) => Promise<import("@smithy/types").RequestSigner>);
83
+ signingEscapePath?: boolean;
84
+ systemClockOffset?: number;
85
+ signingRegion?: string;
86
+ signerConstructor?: new (
87
+ options: import("@smithy/signature-v4").SignatureV4Init &
88
+ import("@smithy/signature-v4").SignatureV4CryptoInit
89
+ ) => import("@smithy/types").RequestSigner;
100
90
  };
@@ -10,16 +10,12 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
10
10
  credentialDefaultProvider:
11
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
12
  | ((
13
- init?:
14
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
15
- | undefined
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
14
  ) => import("@smithy/types").MemoizedProvider<
17
15
  import("@smithy/types").AwsCredentialIdentity
18
16
  >);
19
17
  defaultUserAgentProvider: (
20
- config?:
21
- | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
22
- | undefined
18
+ config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
23
19
  ) => Promise<import("@smithy/types").UserAgent>;
24
20
  maxAttempts: number | import("@smithy/types").Provider<number>;
25
21
  region: string | import("@smithy/types").Provider<string>;
@@ -36,19 +32,18 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
36
32
  cacheMiddleware?: boolean | undefined;
37
33
  urlParser: import("@smithy/types").UrlParser;
38
34
  base64Decoder: import("@smithy/types").Decoder;
39
- base64Encoder: (_input: string | Uint8Array) => string;
35
+ base64Encoder: (_input: Uint8Array | string) => string;
40
36
  utf8Decoder: import("@smithy/types").Decoder;
41
- utf8Encoder: (input: string | Uint8Array) => string;
37
+ utf8Encoder: (input: Uint8Array | string) => string;
42
38
  disableHostPrefix: boolean;
43
39
  serviceId: string;
44
- profile?: string | undefined;
40
+ profile?: string;
45
41
  logger: import("@smithy/types").Logger;
46
42
  extensions: import("./runtimeExtensions").RuntimeExtension[];
47
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
43
+ customUserAgent?: string | import("@smithy/types").UserAgent;
48
44
  retryStrategy?:
49
45
  | import("@smithy/types").RetryStrategy
50
- | import("@smithy/types").RetryStrategyV2
51
- | undefined;
46
+ | import("@smithy/types").RetryStrategyV2;
52
47
  endpoint?:
53
48
  | ((
54
49
  | string
@@ -69,30 +64,26 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
69
64
  endpointProvider: (
70
65
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
71
66
  context?: {
72
- logger?: import("@smithy/types").Logger | undefined;
67
+ logger?: import("@smithy/types").Logger;
73
68
  }
74
69
  ) => import("@smithy/types").EndpointV2;
75
- tls?: boolean | undefined;
76
- serviceConfiguredEndpoint?: undefined;
70
+ tls?: boolean;
71
+ serviceConfiguredEndpoint?: never;
77
72
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
78
73
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").WAFV2HttpAuthSchemeProvider;
79
74
  credentials?:
80
75
  | import("@smithy/types").AwsCredentialIdentity
81
- | import("@smithy/types").AwsCredentialIdentityProvider
82
- | undefined;
76
+ | import("@smithy/types").AwsCredentialIdentityProvider;
83
77
  signer?:
84
78
  | import("@smithy/types").RequestSigner
85
79
  | ((
86
- authScheme?: import("@smithy/types").AuthScheme | undefined
87
- ) => Promise<import("@smithy/types").RequestSigner>)
88
- | undefined;
89
- signingEscapePath?: boolean | undefined;
90
- systemClockOffset?: number | undefined;
91
- signingRegion?: string | undefined;
92
- signerConstructor?:
93
- | (new (
94
- options: import("@smithy/signature-v4").SignatureV4Init &
95
- import("@smithy/signature-v4").SignatureV4CryptoInit
96
- ) => import("@smithy/types").RequestSigner)
97
- | undefined;
80
+ authScheme?: import("@smithy/types").AuthScheme
81
+ ) => Promise<import("@smithy/types").RequestSigner>);
82
+ signingEscapePath?: boolean;
83
+ systemClockOffset?: number;
84
+ signingRegion?: string;
85
+ signerConstructor?: new (
86
+ options: import("@smithy/signature-v4").SignatureV4Init &
87
+ import("@smithy/signature-v4").SignatureV4CryptoInit
88
+ ) => import("@smithy/types").RequestSigner;
98
89
  };
@@ -9,24 +9,22 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  apiVersion: string;
12
- cacheMiddleware?: boolean | undefined;
12
+ cacheMiddleware?: boolean;
13
13
  urlParser: import("@smithy/types").UrlParser;
14
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
15
  streamCollector: import("@smithy/types").StreamCollector;
16
16
  base64Decoder: import("@smithy/types").Decoder;
17
- base64Encoder: (_input: string | Uint8Array) => string;
17
+ base64Encoder: (_input: Uint8Array | string) => string;
18
18
  utf8Decoder: import("@smithy/types").Decoder;
19
- utf8Encoder: (input: string | Uint8Array) => string;
19
+ utf8Encoder: (input: Uint8Array | string) => string;
20
20
  disableHostPrefix: boolean;
21
21
  serviceId: string;
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
- profile?: string | undefined;
25
+ profile?: string;
26
26
  defaultUserAgentProvider: (
27
- config?:
28
- | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
- | undefined
27
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
30
28
  ) => Promise<import("@smithy/types").UserAgent>;
31
29
  credentialDefaultProvider:
32
30
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
@@ -42,15 +40,14 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
42
40
  | import("@smithy/types").Provider<
43
41
  import("@smithy/smithy-client").DefaultsMode
44
42
  >;
45
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
43
+ customUserAgent?: string | import("@smithy/types").UserAgent;
46
44
  userAgentAppId?:
47
45
  | string
48
- | import("@smithy/types").Provider<string | undefined>
49
- | undefined;
46
+ | undefined
47
+ | import("@smithy/types").Provider<string | undefined>;
50
48
  retryStrategy?:
51
49
  | import("@smithy/types").RetryStrategy
52
- | import("@smithy/types").RetryStrategyV2
53
- | undefined;
50
+ | import("@smithy/types").RetryStrategyV2;
54
51
  endpoint?:
55
52
  | ((
56
53
  | string
@@ -71,34 +68,27 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
71
68
  endpointProvider: (
72
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
73
70
  context?: {
74
- logger?: import("@smithy/types").Logger | undefined;
71
+ logger?: import("@smithy/types").Logger;
75
72
  }
76
73
  ) => import("@smithy/types").EndpointV2;
77
- tls?: boolean | undefined;
78
- serviceConfiguredEndpoint?: undefined;
79
- authSchemePreference?:
80
- | string[]
81
- | import("@smithy/types").Provider<string[]>
82
- | undefined;
74
+ tls?: boolean;
75
+ serviceConfiguredEndpoint?: never;
76
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
83
77
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
84
78
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").WAFV2HttpAuthSchemeProvider;
85
79
  credentials?:
86
80
  | import("@smithy/types").AwsCredentialIdentity
87
- | import("@smithy/types").AwsCredentialIdentityProvider
88
- | undefined;
81
+ | import("@smithy/types").AwsCredentialIdentityProvider;
89
82
  signer?:
90
83
  | import("@smithy/types").RequestSigner
91
84
  | ((
92
- authScheme?: import("@smithy/types").AuthScheme | undefined
93
- ) => Promise<import("@smithy/types").RequestSigner>)
94
- | undefined;
95
- signingEscapePath?: boolean | undefined;
96
- systemClockOffset?: number | undefined;
97
- signingRegion?: string | undefined;
98
- signerConstructor?:
99
- | (new (
100
- options: import("@smithy/signature-v4").SignatureV4Init &
101
- import("@smithy/signature-v4").SignatureV4CryptoInit
102
- ) => import("@smithy/types").RequestSigner)
103
- | undefined;
85
+ authScheme?: import("@smithy/types").AuthScheme
86
+ ) => Promise<import("@smithy/types").RequestSigner>);
87
+ signingEscapePath?: boolean;
88
+ systemClockOffset?: number;
89
+ signingRegion?: string;
90
+ signerConstructor?: new (
91
+ options: import("@smithy/signature-v4").SignatureV4Init &
92
+ import("@smithy/signature-v4").SignatureV4CryptoInit
93
+ ) => import("@smithy/types").RequestSigner;
104
94
  };
@@ -2,12 +2,12 @@ import { WAFV2ClientConfig } from "./WAFV2Client";
2
2
  export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
3
3
  apiVersion: string;
4
4
  base64Decoder: import("@smithy/types").Decoder;
5
- base64Encoder: (_input: string | Uint8Array) => string;
5
+ base64Encoder: (_input: Uint8Array | string) => string;
6
6
  disableHostPrefix: boolean;
7
7
  endpointProvider: (
8
8
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
9
9
  context?: {
10
- logger?: import("@smithy/types").Logger | undefined;
10
+ logger?: import("@smithy/types").Logger;
11
11
  }
12
12
  ) => import("@smithy/types").EndpointV2;
13
13
  extensions: import("./runtimeExtensions").RuntimeExtension[];
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: (input: string | Uint8Array) => string;
20
+ utf8Encoder: (input: Uint8Array | string) => string;
21
21
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-wafv2",
3
3
  "description": "AWS SDK for JavaScript Wafv2 Client for Node.js, Browser and React Native",
4
- "version": "3.799.0",
4
+ "version": "3.804.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-wafv2",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.799.0",
24
- "@aws-sdk/credential-provider-node": "3.799.0",
25
- "@aws-sdk/middleware-host-header": "3.775.0",
26
- "@aws-sdk/middleware-logger": "3.775.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.799.0",
29
- "@aws-sdk/region-config-resolver": "3.775.0",
30
- "@aws-sdk/types": "3.775.0",
31
- "@aws-sdk/util-endpoints": "3.787.0",
32
- "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.799.0",
23
+ "@aws-sdk/core": "3.804.0",
24
+ "@aws-sdk/credential-provider-node": "3.804.0",
25
+ "@aws-sdk/middleware-host-header": "3.804.0",
26
+ "@aws-sdk/middleware-logger": "3.804.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.804.0",
28
+ "@aws-sdk/middleware-user-agent": "3.804.0",
29
+ "@aws-sdk/region-config-resolver": "3.804.0",
30
+ "@aws-sdk/types": "3.804.0",
31
+ "@aws-sdk/util-endpoints": "3.804.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.804.0",
33
+ "@aws-sdk/util-user-agent-node": "3.804.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
- "@smithy/core": "^3.3.0",
35
+ "@smithy/core": "^3.3.1",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",
37
37
  "@smithy/hash-node": "^4.0.2",
38
38
  "@smithy/invalid-dependency": "^4.0.2",
39
39
  "@smithy/middleware-content-length": "^4.0.2",
40
- "@smithy/middleware-endpoint": "^4.1.1",
41
- "@smithy/middleware-retry": "^4.1.1",
40
+ "@smithy/middleware-endpoint": "^4.1.2",
41
+ "@smithy/middleware-retry": "^4.1.3",
42
42
  "@smithy/middleware-serde": "^4.0.3",
43
43
  "@smithy/middleware-stack": "^4.0.2",
44
44
  "@smithy/node-config-provider": "^4.0.2",
45
45
  "@smithy/node-http-handler": "^4.0.4",
46
46
  "@smithy/protocol-http": "^5.1.0",
47
- "@smithy/smithy-client": "^4.2.1",
47
+ "@smithy/smithy-client": "^4.2.2",
48
48
  "@smithy/types": "^4.2.0",
49
49
  "@smithy/url-parser": "^4.0.2",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.9",
54
- "@smithy/util-defaults-mode-node": "^4.0.9",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.10",
54
+ "@smithy/util-defaults-mode-node": "^4.0.10",
55
55
  "@smithy/util-endpoints": "^3.0.2",
56
56
  "@smithy/util-middleware": "^4.0.2",
57
- "@smithy/util-retry": "^4.0.2",
57
+ "@smithy/util-retry": "^4.0.3",
58
58
  "@smithy/util-utf8": "^4.0.0",
59
59
  "tslib": "^2.6.2"
60
60
  },
@@ -64,7 +64,7 @@
64
64
  "concurrently": "7.0.0",
65
65
  "downlevel-dts": "0.10.1",
66
66
  "rimraf": "3.0.2",
67
- "typescript": "~5.2.2"
67
+ "typescript": "~5.8.3"
68
68
  },
69
69
  "engines": {
70
70
  "node": ">=18.0.0"