@aws-sdk/client-securityhub 3.51.0 → 3.54.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.
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AcceptAdministratorInvitationCommandInput, AcceptAdministratorInvitationCommandOutput } from "./commands/AcceptAdministratorInvitationCommand";
10
10
  import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
11
11
  import { BatchDisableStandardsCommandInput, BatchDisableStandardsCommandOutput } from "./commands/BatchDisableStandardsCommand";
@@ -84,7 +84,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
84
84
  * A function that can calculate the length of a request body.
85
85
  * @internal
86
86
  */
87
- bodyLengthChecker?: (body: any) => number | undefined;
87
+ bodyLengthChecker?: __BodyLengthCalculator;
88
88
  /**
89
89
  * A function that converts a stream into an array of bytes.
90
90
  * @internal
@@ -3,3 +3,4 @@ export * from "./SecurityHubClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { SecurityHubServiceException } from "./models/SecurityHubServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from SecurityHub service.
4
+ */
5
+ export declare class SecurityHubServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
2
3
  export interface AcceptAdministratorInvitationRequest {
3
4
  /**
4
5
  * <p>The account ID of the Security Hub administrator account that sent the invitation.</p>
@@ -26,50 +27,70 @@ export declare namespace AcceptAdministratorInvitationResponse {
26
27
  /**
27
28
  * <p>Internal server error.</p>
28
29
  */
29
- export interface InternalException extends __SmithyException, $MetadataBearer {
30
- name: "InternalException";
31
- $fault: "server";
30
+ export declare class InternalException extends __BaseException {
31
+ readonly name: "InternalException";
32
+ readonly $fault: "server";
32
33
  Message?: string;
33
34
  Code?: string;
35
+ /**
36
+ * @internal
37
+ */
38
+ constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
34
39
  }
35
40
  /**
36
41
  * <p>There is an issue with the account used to make the request. Either Security Hub is not enabled
37
42
  * for the account, or the account does not have permission to perform this action.</p>
38
43
  */
39
- export interface InvalidAccessException extends __SmithyException, $MetadataBearer {
40
- name: "InvalidAccessException";
41
- $fault: "client";
44
+ export declare class InvalidAccessException extends __BaseException {
45
+ readonly name: "InvalidAccessException";
46
+ readonly $fault: "client";
42
47
  Message?: string;
43
48
  Code?: string;
49
+ /**
50
+ * @internal
51
+ */
52
+ constructor(opts: __ExceptionOptionType<InvalidAccessException, __BaseException>);
44
53
  }
45
54
  /**
46
55
  * <p>The request was rejected because you supplied an invalid or out-of-range value for an
47
56
  * input parameter.</p>
48
57
  */
49
- export interface InvalidInputException extends __SmithyException, $MetadataBearer {
50
- name: "InvalidInputException";
51
- $fault: "client";
58
+ export declare class InvalidInputException extends __BaseException {
59
+ readonly name: "InvalidInputException";
60
+ readonly $fault: "client";
52
61
  Message?: string;
53
62
  Code?: string;
63
+ /**
64
+ * @internal
65
+ */
66
+ constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
54
67
  }
55
68
  /**
56
69
  * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
57
70
  * account or throttling limits. The error code describes the limit exceeded.</p>
58
71
  */
59
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
60
- name: "LimitExceededException";
61
- $fault: "client";
72
+ export declare class LimitExceededException extends __BaseException {
73
+ readonly name: "LimitExceededException";
74
+ readonly $fault: "client";
62
75
  Message?: string;
63
76
  Code?: string;
77
+ /**
78
+ * @internal
79
+ */
80
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
64
81
  }
65
82
  /**
66
83
  * <p>The request was rejected because we can't find the specified resource.</p>
67
84
  */
68
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
69
- name: "ResourceNotFoundException";
70
- $fault: "client";
85
+ export declare class ResourceNotFoundException extends __BaseException {
86
+ readonly name: "ResourceNotFoundException";
87
+ readonly $fault: "client";
71
88
  Message?: string;
72
89
  Code?: string;
90
+ /**
91
+ * @internal
92
+ */
93
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
73
94
  }
74
95
  export interface AcceptInvitationRequest {
75
96
  /**
@@ -98,11 +119,15 @@ export declare namespace AcceptInvitationResponse {
98
119
  /**
99
120
  * <p>You don't have permission to perform the action specified in the request.</p>
100
121
  */
101
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
102
- name: "AccessDeniedException";
103
- $fault: "client";
122
+ export declare class AccessDeniedException extends __BaseException {
123
+ readonly name: "AccessDeniedException";
124
+ readonly $fault: "client";
104
125
  Message?: string;
105
126
  Code?: string;
127
+ /**
128
+ * @internal
129
+ */
130
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
106
131
  }
107
132
  /**
108
133
  * <p>The details of an Amazon Web Services account.</p>
@@ -1,5 +1,6 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { AccountDetails, Action, ActionTarget, Adjustment, AdminAccount, AwsApiGatewayRestApiDetails, AwsApiGatewayStageDetails, AwsApiGatewayV2ApiDetails, AwsApiGatewayV2StageDetails, AwsAutoScalingAutoScalingGroupDetails, AwsAutoScalingLaunchConfigurationDetails, AwsCertificateManagerCertificateDetails, AwsCloudFrontDistributionDetails, AwsCloudTrailTrailDetails, AwsCodeBuildProjectDetails, AwsDynamoDbTableDetails, AwsEc2EipDetails, AwsEc2InstanceDetails, AwsEc2NetworkAclDetails, AwsEc2NetworkInterfaceDetails, AwsEc2SecurityGroupDetails, AwsEc2SubnetDetails, AwsEc2VolumeDetails, AwsEc2VpcDetails, AwsEc2VpcEndpointServiceDetails, AwsEc2VpnConnectionDetails, AwsEcrContainerImageDetails, AwsEcrRepositoryDetails, AwsEcsClusterDetails, AwsEcsServiceDetails, AwsEcsTaskDefinitionDetails, AwsEksClusterDetails, AwsElasticBeanstalkEnvironmentDetails, AwsElasticsearchDomainDetails, AwsElbLoadBalancerDetails, AwsElbv2LoadBalancerDetails, AwsIamAccessKeyDetails, AwsIamGroupDetails, AwsIamPolicyDetails, AwsIamRoleDetails, AwsIamUserDetails, AwsKmsKeyDetails, AwsLambdaFunctionDetails, AwsLambdaLayerVersionDetails, AwsNetworkFirewallFirewallDetails, AwsNetworkFirewallFirewallPolicyDetails, AwsNetworkFirewallRuleGroupDetails, AwsOpenSearchServiceDomainDetails, AwsRdsDbClusterDetails, AwsRdsDbClusterSnapshotDetails, AwsRdsDbDomainMembership, AwsRdsDbInstanceAssociatedRole, AwsRdsDbInstanceEndpoint, AwsRdsDbInstanceVpcSecurityGroup, AwsRdsDbOptionGroupMembership, AwsRdsDbParameterGroup, AwsRdsDbSubnetGroup, AwsRdsPendingCloudWatchLogsExports } from "./models_0";
3
+ import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
3
4
  /**
4
5
  * <p>A processor feature.</p>
5
6
  */
@@ -5649,11 +5650,15 @@ export declare namespace CreateActionTargetResponse {
5649
5650
  /**
5650
5651
  * <p>The resource specified in the request conflicts with an existing resource.</p>
5651
5652
  */
5652
- export interface ResourceConflictException extends __SmithyException, $MetadataBearer {
5653
- name: "ResourceConflictException";
5654
- $fault: "client";
5653
+ export declare class ResourceConflictException extends __BaseException {
5654
+ readonly name: "ResourceConflictException";
5655
+ readonly $fault: "client";
5655
5656
  Message?: string;
5656
5657
  Code?: string;
5658
+ /**
5659
+ * @internal
5660
+ */
5661
+ constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
5657
5662
  }
5658
5663
  export interface CreateFindingAggregatorRequest {
5659
5664
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AcceptAdministratorInvitationCommandInput, AcceptAdministratorInvitationCommandOutput } from "./commands/AcceptAdministratorInvitationCommand";
10
10
  import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
11
11
  import { BatchDisableStandardsCommandInput, BatchDisableStandardsCommandOutput } from "./commands/BatchDisableStandardsCommand";
@@ -72,7 +72,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
72
72
 
73
73
  urlParser?: __UrlParser;
74
74
 
75
- bodyLengthChecker?: (body: any) => number | undefined;
75
+ bodyLengthChecker?: __BodyLengthCalculator;
76
76
 
77
77
  streamCollector?: __StreamCollector;
78
78
 
@@ -3,3 +3,4 @@ export * from "./SecurityHubClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { SecurityHubServiceException } from "./models/SecurityHubServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class SecurityHubServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
2
3
  export interface AcceptAdministratorInvitationRequest {
3
4
 
4
5
  AdministratorId: string | undefined;
@@ -16,39 +17,49 @@ export declare namespace AcceptAdministratorInvitationResponse {
16
17
  const filterSensitiveLog: (obj: AcceptAdministratorInvitationResponse) => any;
17
18
  }
18
19
 
19
- export interface InternalException extends __SmithyException, $MetadataBearer {
20
- name: "InternalException";
21
- $fault: "server";
20
+ export declare class InternalException extends __BaseException {
21
+ readonly name: "InternalException";
22
+ readonly $fault: "server";
22
23
  Message?: string;
23
24
  Code?: string;
25
+
26
+ constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
24
27
  }
25
28
 
26
- export interface InvalidAccessException extends __SmithyException, $MetadataBearer {
27
- name: "InvalidAccessException";
28
- $fault: "client";
29
+ export declare class InvalidAccessException extends __BaseException {
30
+ readonly name: "InvalidAccessException";
31
+ readonly $fault: "client";
29
32
  Message?: string;
30
33
  Code?: string;
34
+
35
+ constructor(opts: __ExceptionOptionType<InvalidAccessException, __BaseException>);
31
36
  }
32
37
 
33
- export interface InvalidInputException extends __SmithyException, $MetadataBearer {
34
- name: "InvalidInputException";
35
- $fault: "client";
38
+ export declare class InvalidInputException extends __BaseException {
39
+ readonly name: "InvalidInputException";
40
+ readonly $fault: "client";
36
41
  Message?: string;
37
42
  Code?: string;
43
+
44
+ constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
38
45
  }
39
46
 
40
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
41
- name: "LimitExceededException";
42
- $fault: "client";
47
+ export declare class LimitExceededException extends __BaseException {
48
+ readonly name: "LimitExceededException";
49
+ readonly $fault: "client";
43
50
  Message?: string;
44
51
  Code?: string;
52
+
53
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
45
54
  }
46
55
 
47
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
48
- name: "ResourceNotFoundException";
49
- $fault: "client";
56
+ export declare class ResourceNotFoundException extends __BaseException {
57
+ readonly name: "ResourceNotFoundException";
58
+ readonly $fault: "client";
50
59
  Message?: string;
51
60
  Code?: string;
61
+
62
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
52
63
  }
53
64
  export interface AcceptInvitationRequest {
54
65
 
@@ -67,11 +78,13 @@ export declare namespace AcceptInvitationResponse {
67
78
  const filterSensitiveLog: (obj: AcceptInvitationResponse) => any;
68
79
  }
69
80
 
70
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
71
- name: "AccessDeniedException";
72
- $fault: "client";
81
+ export declare class AccessDeniedException extends __BaseException {
82
+ readonly name: "AccessDeniedException";
83
+ readonly $fault: "client";
73
84
  Message?: string;
74
85
  Code?: string;
86
+
87
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
75
88
  }
76
89
 
77
90
  export interface AccountDetails {
@@ -1,5 +1,6 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { AccountDetails, Action, ActionTarget, Adjustment, AdminAccount, AwsApiGatewayRestApiDetails, AwsApiGatewayStageDetails, AwsApiGatewayV2ApiDetails, AwsApiGatewayV2StageDetails, AwsAutoScalingAutoScalingGroupDetails, AwsAutoScalingLaunchConfigurationDetails, AwsCertificateManagerCertificateDetails, AwsCloudFrontDistributionDetails, AwsCloudTrailTrailDetails, AwsCodeBuildProjectDetails, AwsDynamoDbTableDetails, AwsEc2EipDetails, AwsEc2InstanceDetails, AwsEc2NetworkAclDetails, AwsEc2NetworkInterfaceDetails, AwsEc2SecurityGroupDetails, AwsEc2SubnetDetails, AwsEc2VolumeDetails, AwsEc2VpcDetails, AwsEc2VpcEndpointServiceDetails, AwsEc2VpnConnectionDetails, AwsEcrContainerImageDetails, AwsEcrRepositoryDetails, AwsEcsClusterDetails, AwsEcsServiceDetails, AwsEcsTaskDefinitionDetails, AwsEksClusterDetails, AwsElasticBeanstalkEnvironmentDetails, AwsElasticsearchDomainDetails, AwsElbLoadBalancerDetails, AwsElbv2LoadBalancerDetails, AwsIamAccessKeyDetails, AwsIamGroupDetails, AwsIamPolicyDetails, AwsIamRoleDetails, AwsIamUserDetails, AwsKmsKeyDetails, AwsLambdaFunctionDetails, AwsLambdaLayerVersionDetails, AwsNetworkFirewallFirewallDetails, AwsNetworkFirewallFirewallPolicyDetails, AwsNetworkFirewallRuleGroupDetails, AwsOpenSearchServiceDomainDetails, AwsRdsDbClusterDetails, AwsRdsDbClusterSnapshotDetails, AwsRdsDbDomainMembership, AwsRdsDbInstanceAssociatedRole, AwsRdsDbInstanceEndpoint, AwsRdsDbInstanceVpcSecurityGroup, AwsRdsDbOptionGroupMembership, AwsRdsDbParameterGroup, AwsRdsDbSubnetGroup, AwsRdsPendingCloudWatchLogsExports } from "./models_0";
3
+ import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
3
4
 
4
5
  export interface AwsRdsDbProcessorFeature {
5
6
 
@@ -2605,11 +2606,13 @@ export declare namespace CreateActionTargetResponse {
2605
2606
  const filterSensitiveLog: (obj: CreateActionTargetResponse) => any;
2606
2607
  }
2607
2608
 
2608
- export interface ResourceConflictException extends __SmithyException, $MetadataBearer {
2609
- name: "ResourceConflictException";
2610
- $fault: "client";
2609
+ export declare class ResourceConflictException extends __BaseException {
2610
+ readonly name: "ResourceConflictException";
2611
+ readonly $fault: "client";
2611
2612
  Message?: string;
2612
2613
  Code?: string;
2614
+
2615
+ constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
2613
2616
  }
2614
2617
  export interface CreateFindingAggregatorRequest {
2615
2618
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-securityhub",
3
3
  "description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native",
4
- "version": "3.51.0",
4
+ "version": "3.54.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",
@@ -9,7 +9,7 @@
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-*"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
13
13
  },
14
14
  "main": "./dist-cjs/index.js",
15
15
  "types": "./dist-types/index.d.ts",
@@ -18,40 +18,40 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.51.0",
22
- "@aws-sdk/config-resolver": "3.51.0",
23
- "@aws-sdk/credential-provider-node": "3.51.0",
24
- "@aws-sdk/fetch-http-handler": "3.50.0",
25
- "@aws-sdk/hash-node": "3.50.0",
26
- "@aws-sdk/invalid-dependency": "3.50.0",
27
- "@aws-sdk/middleware-content-length": "3.50.0",
28
- "@aws-sdk/middleware-host-header": "3.50.0",
29
- "@aws-sdk/middleware-logger": "3.50.0",
30
- "@aws-sdk/middleware-retry": "3.51.0",
31
- "@aws-sdk/middleware-serde": "3.50.0",
32
- "@aws-sdk/middleware-signing": "3.50.0",
33
- "@aws-sdk/middleware-stack": "3.50.0",
34
- "@aws-sdk/middleware-user-agent": "3.50.0",
35
- "@aws-sdk/node-config-provider": "3.51.0",
36
- "@aws-sdk/node-http-handler": "3.50.0",
37
- "@aws-sdk/protocol-http": "3.50.0",
38
- "@aws-sdk/smithy-client": "3.50.0",
39
- "@aws-sdk/types": "3.50.0",
40
- "@aws-sdk/url-parser": "3.50.0",
41
- "@aws-sdk/util-base64-browser": "3.49.0",
42
- "@aws-sdk/util-base64-node": "3.49.0",
43
- "@aws-sdk/util-body-length-browser": "3.49.0",
44
- "@aws-sdk/util-body-length-node": "3.49.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.50.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.51.0",
47
- "@aws-sdk/util-user-agent-browser": "3.50.0",
48
- "@aws-sdk/util-user-agent-node": "3.51.0",
49
- "@aws-sdk/util-utf8-browser": "3.49.0",
50
- "@aws-sdk/util-utf8-node": "3.49.0",
21
+ "@aws-sdk/client-sts": "3.54.0",
22
+ "@aws-sdk/config-resolver": "3.54.0",
23
+ "@aws-sdk/credential-provider-node": "3.54.0",
24
+ "@aws-sdk/fetch-http-handler": "3.54.0",
25
+ "@aws-sdk/hash-node": "3.54.0",
26
+ "@aws-sdk/invalid-dependency": "3.54.0",
27
+ "@aws-sdk/middleware-content-length": "3.54.0",
28
+ "@aws-sdk/middleware-host-header": "3.54.0",
29
+ "@aws-sdk/middleware-logger": "3.54.0",
30
+ "@aws-sdk/middleware-retry": "3.54.0",
31
+ "@aws-sdk/middleware-serde": "3.54.0",
32
+ "@aws-sdk/middleware-signing": "3.54.0",
33
+ "@aws-sdk/middleware-stack": "3.54.0",
34
+ "@aws-sdk/middleware-user-agent": "3.54.0",
35
+ "@aws-sdk/node-config-provider": "3.54.0",
36
+ "@aws-sdk/node-http-handler": "3.54.0",
37
+ "@aws-sdk/protocol-http": "3.54.0",
38
+ "@aws-sdk/smithy-client": "3.54.0",
39
+ "@aws-sdk/types": "3.54.0",
40
+ "@aws-sdk/url-parser": "3.54.0",
41
+ "@aws-sdk/util-base64-browser": "3.52.0",
42
+ "@aws-sdk/util-base64-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.54.0",
44
+ "@aws-sdk/util-body-length-node": "3.54.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.54.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.0",
48
+ "@aws-sdk/util-user-agent-node": "3.54.0",
49
+ "@aws-sdk/util-utf8-browser": "3.52.0",
50
+ "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.49.0",
54
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
55
55
  "@tsconfig/recommended": "1.0.1",
56
56
  "@types/node": "^12.7.5",
57
57
  "concurrently": "7.0.0",