@aws-sdk/client-cloudtrail-data 3.588.0 → 3.592.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -32,8 +32,7 @@ __export(src_exports, {
32
32
  InvalidChannelARN: () => InvalidChannelARN,
33
33
  PutAuditEventsCommand: () => PutAuditEventsCommand,
34
34
  UnsupportedOperationException: () => UnsupportedOperationException,
35
- __Client: () => import_smithy_client.Client,
36
- __MetadataBearer: () => import_types.MetadataBearer
35
+ __Client: () => import_smithy_client.Client
37
36
  });
38
37
  module.exports = __toCommonJS(src_exports);
39
38
 
@@ -187,7 +186,6 @@ var CloudTrailDataClient = _CloudTrailDataClient;
187
186
 
188
187
  var import_middleware_serde = require("@smithy/middleware-serde");
189
188
 
190
- var import_types = require("@smithy/types");
191
189
 
192
190
  // src/protocols/Aws_restJson1.ts
193
191
  var import_core2 = require("@aws-sdk/core");
@@ -91,15 +91,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
91
91
  * Enables FIPS compatible endpoints.
92
92
  */
93
93
  useFipsEndpoint?: boolean | __Provider<boolean>;
94
+ /**
95
+ * The AWS region to which this client will send requests
96
+ */
97
+ region?: string | __Provider<string>;
94
98
  /**
95
99
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
96
100
  * @internal
97
101
  */
98
102
  defaultUserAgentProvider?: Provider<__UserAgent>;
99
- /**
100
- * The AWS region to which this client will send requests
101
- */
102
- region?: string | __Provider<string>;
103
103
  /**
104
104
  * Default credentials provider; Not available in browser runtime.
105
105
  * @deprecated
@@ -5,7 +5,8 @@ import { PutAuditEventsRequest, PutAuditEventsResponse } from "../models/models_
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -11,8 +11,8 @@
11
11
  export * from "./CloudTrailDataClient";
12
12
  export * from "./CloudTrailData";
13
13
  export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
14
- export { RuntimeExtension } from "./runtimeExtensions";
15
- export { CloudTrailDataExtensionConfiguration } from "./extensionConfiguration";
14
+ export type { RuntimeExtension } from "./runtimeExtensions";
15
+ export type { CloudTrailDataExtensionConfiguration } from "./extensionConfiguration";
16
16
  export * from "./commands";
17
17
  export * from "./models";
18
18
  export { CloudTrailDataServiceException } from "./models/CloudTrailDataServiceException";
@@ -1,5 +1,6 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
- export { __ServiceException, __ServiceExceptionOptions };
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
3
4
  /**
4
5
  * @public
5
6
  *
@@ -18,8 +18,8 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
18
18
  serviceId: string;
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
22
21
  region: string | import("@smithy/types").Provider<any>;
22
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
23
23
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
24
24
  maxAttempts: number | import("@smithy/types").Provider<number>;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
@@ -74,8 +74,8 @@ export interface ClientDefaults
74
74
  serviceId?: string;
75
75
  useDualstackEndpoint?: boolean | __Provider<boolean>;
76
76
  useFipsEndpoint?: boolean | __Provider<boolean>;
77
- defaultUserAgentProvider?: Provider<__UserAgent>;
78
77
  region?: string | __Provider<string>;
78
+ defaultUserAgentProvider?: Provider<__UserAgent>;
79
79
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
80
80
  maxAttempts?: number | __Provider<number>;
81
81
  retryMode?: string | __Provider<string>;
@@ -5,7 +5,8 @@ import {
5
5
  PutAuditEventsRequest,
6
6
  PutAuditEventsResponse,
7
7
  } from "../models/models_0";
8
- export { __MetadataBearer, $Command };
8
+ export { __MetadataBearer };
9
+ export { $Command };
9
10
  export interface PutAuditEventsCommandInput extends PutAuditEventsRequest {}
10
11
  export interface PutAuditEventsCommandOutput
11
12
  extends PutAuditEventsResponse,
@@ -2,7 +2,8 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@smithy/smithy-client";
5
- export { __ServiceException, __ServiceExceptionOptions };
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
6
7
  export declare class CloudTrailDataServiceException extends __ServiceException {
7
8
  constructor(options: __ServiceExceptionOptions);
8
9
  }
@@ -20,10 +20,10 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
20
20
  serviceId: string;
21
21
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
+ region: string | import("@smithy/types").Provider<any>;
23
24
  defaultUserAgentProvider: import("@smithy/types").Provider<
24
25
  import("@smithy/types").UserAgent
25
26
  >;
26
- region: string | import("@smithy/types").Provider<any>;
27
27
  credentialDefaultProvider: (
28
28
  input: any
29
29
  ) => import("@smithy/types").AwsCredentialIdentityProvider;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudtrail-data",
3
3
  "description": "AWS SDK for JavaScript Cloudtrail Data Client for Node.js, Browser and React Native",
4
- "version": "3.588.0",
4
+ "version": "3.592.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-cloudtrail-data",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.588.0",
24
- "@aws-sdk/client-sts": "3.588.0",
25
- "@aws-sdk/core": "3.588.0",
26
- "@aws-sdk/credential-provider-node": "3.588.0",
23
+ "@aws-sdk/client-sso-oidc": "3.592.0",
24
+ "@aws-sdk/client-sts": "3.592.0",
25
+ "@aws-sdk/core": "3.592.0",
26
+ "@aws-sdk/credential-provider-node": "3.592.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
@@ -34,7 +34,7 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.587.0",
36
36
  "@smithy/config-resolver": "^3.0.1",
37
- "@smithy/core": "^2.1.1",
37
+ "@smithy/core": "^2.2.0",
38
38
  "@smithy/fetch-http-handler": "^3.0.1",
39
39
  "@smithy/hash-node": "^3.0.0",
40
40
  "@smithy/invalid-dependency": "^3.0.0",