@aws-sdk/client-amp 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.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/AmpServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +109 -1
- package/dist-cjs/protocols/Aws_restJson1.js +216 -826
- package/dist-es/index.js +1 -0
- package/dist-es/models/AmpServiceException.js +12 -0
- package/dist-es/models/models_0.js +102 -1
- package/dist-es/protocols/Aws_restJson1.js +437 -902
- package/dist-types/AmpClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/AmpServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +49 -48
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/AmpClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/AmpServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +36 -35
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +28 -28
|
@@ -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 { CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput } from "./commands/CreateAlertManagerDefinitionCommand";
|
|
10
10
|
import { CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput } from "./commands/CreateRuleGroupsNamespaceCommand";
|
|
11
11
|
import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "./commands/CreateWorkspaceCommand";
|
|
@@ -45,7 +45,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
45
45
|
* A function that can calculate the length of a request body.
|
|
46
46
|
* @internal
|
|
47
47
|
*/
|
|
48
|
-
bodyLengthChecker?:
|
|
48
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
49
49
|
/**
|
|
50
50
|
* A function that converts a stream into an array of bytes.
|
|
51
51
|
* @internal
|
package/dist-types/index.d.ts
CHANGED
|
@@ -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 Amp service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class AmpServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { AmpServiceException as __BaseException } from "./AmpServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* User does not have sufficient access to perform this action.
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
8
9
|
/**
|
|
9
|
-
*
|
|
10
|
+
* @internal
|
|
10
11
|
*/
|
|
11
|
-
|
|
12
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
12
13
|
}
|
|
13
14
|
/**
|
|
14
15
|
* Updating or deleting a resource can cause an inconsistent state.
|
|
15
16
|
*/
|
|
16
|
-
export
|
|
17
|
-
name: "ConflictException";
|
|
18
|
-
$fault: "client";
|
|
19
|
-
/**
|
|
20
|
-
* Description of the error.
|
|
21
|
-
*/
|
|
22
|
-
message: string | undefined;
|
|
17
|
+
export declare class ConflictException extends __BaseException {
|
|
18
|
+
readonly name: "ConflictException";
|
|
19
|
+
readonly $fault: "client";
|
|
23
20
|
/**
|
|
24
21
|
* Identifier of the resource affected.
|
|
25
22
|
*/
|
|
@@ -28,6 +25,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
28
25
|
* Type of the resource affected.
|
|
29
26
|
*/
|
|
30
27
|
resourceType: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
34
|
* Represents the input of a CreateAlertManagerDefinition operation.
|
|
@@ -115,29 +116,25 @@ export declare namespace CreateAlertManagerDefinitionResponse {
|
|
|
115
116
|
/**
|
|
116
117
|
* Unexpected error during processing of request.
|
|
117
118
|
*/
|
|
118
|
-
export
|
|
119
|
-
name: "InternalServerException";
|
|
120
|
-
$fault: "server";
|
|
119
|
+
export declare class InternalServerException extends __BaseException {
|
|
120
|
+
readonly name: "InternalServerException";
|
|
121
|
+
readonly $fault: "server";
|
|
121
122
|
$retryable: {};
|
|
122
|
-
/**
|
|
123
|
-
* Description of the error.
|
|
124
|
-
*/
|
|
125
|
-
message: string | undefined;
|
|
126
123
|
/**
|
|
127
124
|
* Advice to clients on when the call can be safely retried.
|
|
128
125
|
*/
|
|
129
126
|
retryAfterSeconds?: number;
|
|
127
|
+
/**
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
130
131
|
}
|
|
131
132
|
/**
|
|
132
133
|
* Request references a resource which does not exist.
|
|
133
134
|
*/
|
|
134
|
-
export
|
|
135
|
-
name: "ResourceNotFoundException";
|
|
136
|
-
$fault: "client";
|
|
137
|
-
/**
|
|
138
|
-
* Description of the error.
|
|
139
|
-
*/
|
|
140
|
-
message: string | undefined;
|
|
135
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
136
|
+
readonly name: "ResourceNotFoundException";
|
|
137
|
+
readonly $fault: "client";
|
|
141
138
|
/**
|
|
142
139
|
* Identifier of the resource affected.
|
|
143
140
|
*/
|
|
@@ -146,17 +143,17 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
146
143
|
* Type of the resource affected.
|
|
147
144
|
*/
|
|
148
145
|
resourceType: string | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* @internal
|
|
148
|
+
*/
|
|
149
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
149
150
|
}
|
|
150
151
|
/**
|
|
151
152
|
* Request would cause a service quota to be exceeded.
|
|
152
153
|
*/
|
|
153
|
-
export
|
|
154
|
-
name: "ServiceQuotaExceededException";
|
|
155
|
-
$fault: "client";
|
|
156
|
-
/**
|
|
157
|
-
* Description of the error.
|
|
158
|
-
*/
|
|
159
|
-
message: string | undefined;
|
|
154
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
155
|
+
readonly name: "ServiceQuotaExceededException";
|
|
156
|
+
readonly $fault: "client";
|
|
160
157
|
/**
|
|
161
158
|
* Identifier of the resource affected.
|
|
162
159
|
*/
|
|
@@ -173,18 +170,18 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
173
170
|
* Service Quotas requirement to identify originating quota.
|
|
174
171
|
*/
|
|
175
172
|
quotaCode: string | undefined;
|
|
173
|
+
/**
|
|
174
|
+
* @internal
|
|
175
|
+
*/
|
|
176
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
176
177
|
}
|
|
177
178
|
/**
|
|
178
179
|
* Request was denied due to request throttling.
|
|
179
180
|
*/
|
|
180
|
-
export
|
|
181
|
-
name: "ThrottlingException";
|
|
182
|
-
$fault: "client";
|
|
181
|
+
export declare class ThrottlingException extends __BaseException {
|
|
182
|
+
readonly name: "ThrottlingException";
|
|
183
|
+
readonly $fault: "client";
|
|
183
184
|
$retryable: {};
|
|
184
|
-
/**
|
|
185
|
-
* Description of the error.
|
|
186
|
-
*/
|
|
187
|
-
message: string | undefined;
|
|
188
185
|
/**
|
|
189
186
|
* Service Quotas requirement to identify originating service.
|
|
190
187
|
*/
|
|
@@ -197,6 +194,10 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
197
194
|
* Advice to clients on when the call can be safely retried.
|
|
198
195
|
*/
|
|
199
196
|
retryAfterSeconds?: number;
|
|
197
|
+
/**
|
|
198
|
+
* @internal
|
|
199
|
+
*/
|
|
200
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
200
201
|
}
|
|
201
202
|
/**
|
|
202
203
|
* Stores information about a field passed inside a request that resulted in an exception.
|
|
@@ -226,13 +227,9 @@ export declare enum ValidationExceptionReason {
|
|
|
226
227
|
/**
|
|
227
228
|
* The input fails to satisfy the constraints specified by an AWS service.
|
|
228
229
|
*/
|
|
229
|
-
export
|
|
230
|
-
name: "ValidationException";
|
|
231
|
-
$fault: "client";
|
|
232
|
-
/**
|
|
233
|
-
* Description of the error.
|
|
234
|
-
*/
|
|
235
|
-
message: string | undefined;
|
|
230
|
+
export declare class ValidationException extends __BaseException {
|
|
231
|
+
readonly name: "ValidationException";
|
|
232
|
+
readonly $fault: "client";
|
|
236
233
|
/**
|
|
237
234
|
* Reason the request failed validation.
|
|
238
235
|
*/
|
|
@@ -241,6 +238,10 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
241
238
|
* The field that caused the error, if applicable. If more than one field caused the error, pick one and elaborate in the message.
|
|
242
239
|
*/
|
|
243
240
|
fieldList?: ValidationExceptionField[];
|
|
241
|
+
/**
|
|
242
|
+
* @internal
|
|
243
|
+
*/
|
|
244
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
244
245
|
}
|
|
245
246
|
/**
|
|
246
247
|
* Represents the input of a DeleteAlertManagerDefinition operation.
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: AmpClientConfig) => {
|
|
|
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: (
|
|
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: AmpClientConfig) => {
|
|
|
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: (
|
|
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: AmpClientConfig) => {
|
|
|
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: (
|
|
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 { CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput } from "./commands/CreateAlertManagerDefinitionCommand";
|
|
10
10
|
import { CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput } from "./commands/CreateRuleGroupsNamespaceCommand";
|
|
11
11
|
import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "./commands/CreateWorkspaceCommand";
|
|
@@ -33,7 +33,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
33
33
|
|
|
34
34
|
urlParser?: __UrlParser;
|
|
35
35
|
|
|
36
|
-
bodyLengthChecker?:
|
|
36
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
37
37
|
|
|
38
38
|
streamCollector?: __StreamCollector;
|
|
39
39
|
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { AmpServiceException as __BaseException } from "./AmpServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
name: "AccessDeniedException";
|
|
5
|
-
$fault: "client";
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
8
9
|
}
|
|
9
10
|
|
|
10
|
-
export
|
|
11
|
-
name: "ConflictException";
|
|
12
|
-
$fault: "client";
|
|
13
|
-
|
|
14
|
-
message: string | undefined;
|
|
11
|
+
export declare class ConflictException extends __BaseException {
|
|
12
|
+
readonly name: "ConflictException";
|
|
13
|
+
readonly $fault: "client";
|
|
15
14
|
|
|
16
15
|
resourceId: string | undefined;
|
|
17
16
|
|
|
18
17
|
resourceType: string | undefined;
|
|
18
|
+
|
|
19
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
export interface CreateAlertManagerDefinitionRequest {
|
|
@@ -65,32 +66,30 @@ export declare namespace CreateAlertManagerDefinitionResponse {
|
|
|
65
66
|
const filterSensitiveLog: (obj: CreateAlertManagerDefinitionResponse) => any;
|
|
66
67
|
}
|
|
67
68
|
|
|
68
|
-
export
|
|
69
|
-
name: "InternalServerException";
|
|
70
|
-
$fault: "server";
|
|
69
|
+
export declare class InternalServerException extends __BaseException {
|
|
70
|
+
readonly name: "InternalServerException";
|
|
71
|
+
readonly $fault: "server";
|
|
71
72
|
$retryable: {};
|
|
72
73
|
|
|
73
|
-
message: string | undefined;
|
|
74
|
-
|
|
75
74
|
retryAfterSeconds?: number;
|
|
75
|
+
|
|
76
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
76
77
|
}
|
|
77
78
|
|
|
78
|
-
export
|
|
79
|
-
name: "ResourceNotFoundException";
|
|
80
|
-
$fault: "client";
|
|
81
|
-
|
|
82
|
-
message: string | undefined;
|
|
79
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
80
|
+
readonly name: "ResourceNotFoundException";
|
|
81
|
+
readonly $fault: "client";
|
|
83
82
|
|
|
84
83
|
resourceId: string | undefined;
|
|
85
84
|
|
|
86
85
|
resourceType: string | undefined;
|
|
86
|
+
|
|
87
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
87
88
|
}
|
|
88
89
|
|
|
89
|
-
export
|
|
90
|
-
name: "ServiceQuotaExceededException";
|
|
91
|
-
$fault: "client";
|
|
92
|
-
|
|
93
|
-
message: string | undefined;
|
|
90
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
91
|
+
readonly name: "ServiceQuotaExceededException";
|
|
92
|
+
readonly $fault: "client";
|
|
94
93
|
|
|
95
94
|
resourceId: string | undefined;
|
|
96
95
|
|
|
@@ -99,20 +98,22 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
99
98
|
serviceCode: string | undefined;
|
|
100
99
|
|
|
101
100
|
quotaCode: string | undefined;
|
|
101
|
+
|
|
102
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
102
103
|
}
|
|
103
104
|
|
|
104
|
-
export
|
|
105
|
-
name: "ThrottlingException";
|
|
106
|
-
$fault: "client";
|
|
105
|
+
export declare class ThrottlingException extends __BaseException {
|
|
106
|
+
readonly name: "ThrottlingException";
|
|
107
|
+
readonly $fault: "client";
|
|
107
108
|
$retryable: {};
|
|
108
109
|
|
|
109
|
-
message: string | undefined;
|
|
110
|
-
|
|
111
110
|
serviceCode?: string;
|
|
112
111
|
|
|
113
112
|
quotaCode?: string;
|
|
114
113
|
|
|
115
114
|
retryAfterSeconds?: number;
|
|
115
|
+
|
|
116
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
export interface ValidationExceptionField {
|
|
@@ -132,15 +133,15 @@ export declare enum ValidationExceptionReason {
|
|
|
132
133
|
UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
|
|
133
134
|
}
|
|
134
135
|
|
|
135
|
-
export
|
|
136
|
-
name: "ValidationException";
|
|
137
|
-
$fault: "client";
|
|
138
|
-
|
|
139
|
-
message: string | undefined;
|
|
136
|
+
export declare class ValidationException extends __BaseException {
|
|
137
|
+
readonly name: "ValidationException";
|
|
138
|
+
readonly $fault: "client";
|
|
140
139
|
|
|
141
140
|
reason: ValidationExceptionReason | string | undefined;
|
|
142
141
|
|
|
143
142
|
fieldList?: ValidationExceptionField[];
|
|
143
|
+
|
|
144
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
144
145
|
}
|
|
145
146
|
|
|
146
147
|
export interface DeleteAlertManagerDefinitionRequest {
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: AmpClientConfig) => {
|
|
|
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: (
|
|
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: AmpClientConfig) => {
|
|
|
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: (
|
|
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: AmpClientConfig) => {
|
|
|
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: (
|
|
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-amp",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amp Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.54.1",
|
|
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",
|
|
@@ -18,37 +18,37 @@
|
|
|
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.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.54.1",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.54.1",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.54.1",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.54.1",
|
|
25
|
+
"@aws-sdk/hash-node": "3.54.1",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.54.1",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.54.1",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.54.1",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.54.1",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.54.1",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.54.1",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.54.1",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.54.1",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.54.1",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.54.1",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.54.1",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.54.1",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.54.1",
|
|
39
|
+
"@aws-sdk/types": "3.54.1",
|
|
40
|
+
"@aws-sdk/url-parser": "3.54.1",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
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.1",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.54.1",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.54.1",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.54.1",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
|
-
"@aws-sdk/util-waiter": "3.
|
|
51
|
+
"@aws-sdk/util-waiter": "3.54.1",
|
|
52
52
|
"tslib": "^2.3.0",
|
|
53
53
|
"uuid": "^8.3.2"
|
|
54
54
|
},
|