@aws-sdk/client-fms 3.1147.0 → 3.1149.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/README.md +39 -0
- package/dist-cjs/index.js +8 -1
- package/dist-es/models/FMSServiceException.js +1 -0
- package/dist-es/models/errors.js +6 -0
- package/dist-types/models/FMSServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +6 -0
- package/dist-types/ts3.4/models/FMSServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +6 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -57,6 +57,45 @@ const params = { /** input parameters */ };
|
|
|
57
57
|
const command = new ListPoliciesCommand(params);
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
+
#### Supported Message Protocols
|
|
61
|
+
|
|
62
|
+
This client supports multiple protocols.
|
|
63
|
+
|
|
64
|
+
The default for this client is **AWS JSON (RPC) 1.1**.
|
|
65
|
+
|
|
66
|
+
We have selected this default based on our evaluation of the
|
|
67
|
+
performance characteristics of this protocol format in JavaScript. You don't need to change it,
|
|
68
|
+
but you have the option to do so, for example to support existing integrations or tests.
|
|
69
|
+
Selecting a non-default protocol changes the format
|
|
70
|
+
of the data sent over the network, but does not affect how you interact with the
|
|
71
|
+
client using JavaScript objects.
|
|
72
|
+
|
|
73
|
+
Install the `@aws-sdk/config` package to access alternate protocols.
|
|
74
|
+
|
|
75
|
+
See [AWS Protocols](https://smithy.io/2.0/aws/protocols/index.html) for more information.
|
|
76
|
+
|
|
77
|
+
##### AWS JSON (RPC) 1.1
|
|
78
|
+
|
|
79
|
+
This protocol uses JSON payloads.
|
|
80
|
+
```js
|
|
81
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/config/protocol";
|
|
82
|
+
|
|
83
|
+
const client = new FMSClient({
|
|
84
|
+
protocol: AwsJson1_1Protocol
|
|
85
|
+
});
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
##### Smithy RPC v2 CBOR
|
|
89
|
+
|
|
90
|
+
This protocol uses CBOR payloads.
|
|
91
|
+
```js
|
|
92
|
+
import { AwsSmithyRpcV2CborProtocol } from "@aws-sdk/config/protocol";
|
|
93
|
+
|
|
94
|
+
const client = new FMSClient({
|
|
95
|
+
protocol: AwsSmithyRpcV2CborProtocol
|
|
96
|
+
});
|
|
97
|
+
```
|
|
98
|
+
|
|
60
99
|
#### Async/await
|
|
61
100
|
|
|
62
101
|
We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
|
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1148.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
132
132
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
133
133
|
|
|
134
134
|
class FMSServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.fms#FMSServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, FMSServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class FMSServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class InternalErrorException extends FMSServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.fms#InternalErrorException";
|
|
142
144
|
name = "InternalErrorException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
Message;
|
|
@@ -153,6 +155,7 @@ class InternalErrorException extends FMSServiceException {
|
|
|
153
155
|
}
|
|
154
156
|
}
|
|
155
157
|
class InvalidInputException extends FMSServiceException {
|
|
158
|
+
static shapeId = "com.amazonaws.fms#InvalidInputException";
|
|
156
159
|
name = "InvalidInputException";
|
|
157
160
|
$fault = "client";
|
|
158
161
|
Message;
|
|
@@ -167,6 +170,7 @@ class InvalidInputException extends FMSServiceException {
|
|
|
167
170
|
}
|
|
168
171
|
}
|
|
169
172
|
class InvalidOperationException extends FMSServiceException {
|
|
173
|
+
static shapeId = "com.amazonaws.fms#InvalidOperationException";
|
|
170
174
|
name = "InvalidOperationException";
|
|
171
175
|
$fault = "client";
|
|
172
176
|
Message;
|
|
@@ -181,6 +185,7 @@ class InvalidOperationException extends FMSServiceException {
|
|
|
181
185
|
}
|
|
182
186
|
}
|
|
183
187
|
class LimitExceededException extends FMSServiceException {
|
|
188
|
+
static shapeId = "com.amazonaws.fms#LimitExceededException";
|
|
184
189
|
name = "LimitExceededException";
|
|
185
190
|
$fault = "client";
|
|
186
191
|
Message;
|
|
@@ -195,6 +200,7 @@ class LimitExceededException extends FMSServiceException {
|
|
|
195
200
|
}
|
|
196
201
|
}
|
|
197
202
|
class ResourceNotFoundException extends FMSServiceException {
|
|
203
|
+
static shapeId = "com.amazonaws.fms#ResourceNotFoundException";
|
|
198
204
|
name = "ResourceNotFoundException";
|
|
199
205
|
$fault = "client";
|
|
200
206
|
Message;
|
|
@@ -209,6 +215,7 @@ class ResourceNotFoundException extends FMSServiceException {
|
|
|
209
215
|
}
|
|
210
216
|
}
|
|
211
217
|
class InvalidTypeException extends FMSServiceException {
|
|
218
|
+
static shapeId = "com.amazonaws.fms#InvalidTypeException";
|
|
212
219
|
name = "InvalidTypeException";
|
|
213
220
|
$fault = "client";
|
|
214
221
|
Message;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class FMSServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.fms#FMSServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, FMSServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FMSServiceException as __BaseException } from "./FMSServiceException";
|
|
2
2
|
export class InternalErrorException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.fms#InternalErrorException";
|
|
3
4
|
name = "InternalErrorException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Message;
|
|
@@ -14,6 +15,7 @@ export class InternalErrorException extends __BaseException {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class InvalidInputException extends __BaseException {
|
|
18
|
+
static shapeId = "com.amazonaws.fms#InvalidInputException";
|
|
17
19
|
name = "InvalidInputException";
|
|
18
20
|
$fault = "client";
|
|
19
21
|
Message;
|
|
@@ -28,6 +30,7 @@ export class InvalidInputException extends __BaseException {
|
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export class InvalidOperationException extends __BaseException {
|
|
33
|
+
static shapeId = "com.amazonaws.fms#InvalidOperationException";
|
|
31
34
|
name = "InvalidOperationException";
|
|
32
35
|
$fault = "client";
|
|
33
36
|
Message;
|
|
@@ -42,6 +45,7 @@ export class InvalidOperationException extends __BaseException {
|
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
47
|
export class LimitExceededException extends __BaseException {
|
|
48
|
+
static shapeId = "com.amazonaws.fms#LimitExceededException";
|
|
45
49
|
name = "LimitExceededException";
|
|
46
50
|
$fault = "client";
|
|
47
51
|
Message;
|
|
@@ -56,6 +60,7 @@ export class LimitExceededException extends __BaseException {
|
|
|
56
60
|
}
|
|
57
61
|
}
|
|
58
62
|
export class ResourceNotFoundException extends __BaseException {
|
|
63
|
+
static shapeId = "com.amazonaws.fms#ResourceNotFoundException";
|
|
59
64
|
name = "ResourceNotFoundException";
|
|
60
65
|
$fault = "client";
|
|
61
66
|
Message;
|
|
@@ -70,6 +75,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
70
75
|
}
|
|
71
76
|
}
|
|
72
77
|
export class InvalidTypeException extends __BaseException {
|
|
78
|
+
static shapeId = "com.amazonaws.fms#InvalidTypeException";
|
|
73
79
|
name = "InvalidTypeException";
|
|
74
80
|
$fault = "client";
|
|
75
81
|
Message;
|
|
@@ -6,6 +6,7 @@ import { FMSServiceException as __BaseException } from "./FMSServiceException";
|
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
8
|
export declare class InternalErrorException extends __BaseException {
|
|
9
|
+
static readonly shapeId: string;
|
|
9
10
|
readonly name: "InternalErrorException";
|
|
10
11
|
readonly $fault: "client";
|
|
11
12
|
Message?: string | undefined;
|
|
@@ -19,6 +20,7 @@ export declare class InternalErrorException extends __BaseException {
|
|
|
19
20
|
* @public
|
|
20
21
|
*/
|
|
21
22
|
export declare class InvalidInputException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
22
24
|
readonly name: "InvalidInputException";
|
|
23
25
|
readonly $fault: "client";
|
|
24
26
|
Message?: string | undefined;
|
|
@@ -36,6 +38,7 @@ export declare class InvalidInputException extends __BaseException {
|
|
|
36
38
|
* @public
|
|
37
39
|
*/
|
|
38
40
|
export declare class InvalidOperationException extends __BaseException {
|
|
41
|
+
static readonly shapeId: string;
|
|
39
42
|
readonly name: "InvalidOperationException";
|
|
40
43
|
readonly $fault: "client";
|
|
41
44
|
Message?: string | undefined;
|
|
@@ -52,6 +55,7 @@ export declare class InvalidOperationException extends __BaseException {
|
|
|
52
55
|
* @public
|
|
53
56
|
*/
|
|
54
57
|
export declare class LimitExceededException extends __BaseException {
|
|
58
|
+
static readonly shapeId: string;
|
|
55
59
|
readonly name: "LimitExceededException";
|
|
56
60
|
readonly $fault: "client";
|
|
57
61
|
Message?: string | undefined;
|
|
@@ -65,6 +69,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
65
69
|
* @public
|
|
66
70
|
*/
|
|
67
71
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
72
|
+
static readonly shapeId: string;
|
|
68
73
|
readonly name: "ResourceNotFoundException";
|
|
69
74
|
readonly $fault: "client";
|
|
70
75
|
Message?: string | undefined;
|
|
@@ -78,6 +83,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
78
83
|
* @public
|
|
79
84
|
*/
|
|
80
85
|
export declare class InvalidTypeException extends __BaseException {
|
|
86
|
+
static readonly shapeId: string;
|
|
81
87
|
readonly name: "InvalidTypeException";
|
|
82
88
|
readonly $fault: "client";
|
|
83
89
|
Message?: string | undefined;
|
|
@@ -1,36 +1,42 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { FMSServiceException as __BaseException } from "./FMSServiceException";
|
|
3
3
|
export declare class InternalErrorException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "InternalErrorException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
Message?: string | undefined;
|
|
7
8
|
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
8
9
|
}
|
|
9
10
|
export declare class InvalidInputException extends __BaseException {
|
|
11
|
+
static readonly shapeId: string;
|
|
10
12
|
readonly name: "InvalidInputException";
|
|
11
13
|
readonly $fault: "client";
|
|
12
14
|
Message?: string | undefined;
|
|
13
15
|
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
14
16
|
}
|
|
15
17
|
export declare class InvalidOperationException extends __BaseException {
|
|
18
|
+
static readonly shapeId: string;
|
|
16
19
|
readonly name: "InvalidOperationException";
|
|
17
20
|
readonly $fault: "client";
|
|
18
21
|
Message?: string | undefined;
|
|
19
22
|
constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
|
|
20
23
|
}
|
|
21
24
|
export declare class LimitExceededException extends __BaseException {
|
|
25
|
+
static readonly shapeId: string;
|
|
22
26
|
readonly name: "LimitExceededException";
|
|
23
27
|
readonly $fault: "client";
|
|
24
28
|
Message?: string | undefined;
|
|
25
29
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
26
30
|
}
|
|
27
31
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
32
|
+
static readonly shapeId: string;
|
|
28
33
|
readonly name: "ResourceNotFoundException";
|
|
29
34
|
readonly $fault: "client";
|
|
30
35
|
Message?: string | undefined;
|
|
31
36
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
32
37
|
}
|
|
33
38
|
export declare class InvalidTypeException extends __BaseException {
|
|
39
|
+
static readonly shapeId: string;
|
|
34
40
|
readonly name: "InvalidTypeException";
|
|
35
41
|
readonly $fault: "client";
|
|
36
42
|
Message?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-fms",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Fms Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-fms",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.2",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|