@aws-sdk/client-config-service 3.52.0 → 3.54.1

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.
@@ -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 { ConfigServiceServiceException as __BaseException } from "./ConfigServiceServiceException";
2
3
  import { FieldInfo, ResourceKey, RetentionConfiguration, StoredQuery, Tag } from "./models_0";
3
4
  export interface PutResourceConfigRequest {
4
5
  /**
@@ -106,21 +107,24 @@ export declare namespace PutStoredQueryResponse {
106
107
  /**
107
108
  * <p>Two users are trying to modify the same query at the same time. Wait for a moment and try again.</p>
108
109
  */
109
- export interface ResourceConcurrentModificationException extends __SmithyException, $MetadataBearer {
110
- name: "ResourceConcurrentModificationException";
111
- $fault: "client";
112
- message?: string;
110
+ export declare class ResourceConcurrentModificationException extends __BaseException {
111
+ readonly name: "ResourceConcurrentModificationException";
112
+ readonly $fault: "client";
113
+ /**
114
+ * @internal
115
+ */
116
+ constructor(opts: __ExceptionOptionType<ResourceConcurrentModificationException, __BaseException>);
113
117
  }
114
118
  /**
115
119
  * <p>You have reached the limit of the number of tags you can use. You have more than 50 tags.</p>
116
120
  */
117
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
118
- name: "TooManyTagsException";
119
- $fault: "client";
121
+ export declare class TooManyTagsException extends __BaseException {
122
+ readonly name: "TooManyTagsException";
123
+ readonly $fault: "client";
120
124
  /**
121
- * <p>Error executing the command</p>
125
+ * @internal
122
126
  */
123
- message?: string;
127
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
124
128
  }
125
129
  /**
126
130
  * <p>Details about the query.</p>
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ConfigServiceClientConfig) => {
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: ConfigServiceClientConfig) => {
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: ConfigServiceClientConfig) => {
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 { BatchGetAggregateResourceConfigCommandInput, BatchGetAggregateResourceConfigCommandOutput } from "./commands/BatchGetAggregateResourceConfigCommand";
10
10
  import { BatchGetResourceConfigCommandInput, BatchGetResourceConfigCommandOutput } from "./commands/BatchGetResourceConfigCommand";
11
11
  import { DeleteAggregationAuthorizationCommandInput, DeleteAggregationAuthorizationCommandOutput } from "./commands/DeleteAggregationAuthorizationCommand";
@@ -102,7 +102,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
102
102
 
103
103
  urlParser?: __UrlParser;
104
104
 
105
- bodyLengthChecker?: (body: any) => number | undefined;
105
+ bodyLengthChecker?: __BodyLengthCalculator;
106
106
 
107
107
  streamCollector?: __StreamCollector;
108
108
 
@@ -3,3 +3,4 @@ export * from "./ConfigServiceClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ConfigServiceServiceException } from "./models/ConfigServiceServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class ConfigServiceServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }