@aws-sdk/client-quicksight 3.540.0 → 3.549.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 +6 -2
- package/dist-es/protocols/Aws_restJson1.js +4 -0
- package/dist-types/commands/DescribeIpRestrictionCommand.d.ts +6 -0
- package/dist-types/commands/UpdateIpRestrictionCommand.d.ts +7 -4
- package/dist-types/models/models_2.d.ts +1 -1
- package/dist-types/models/models_3.d.ts +12 -2
- package/dist-types/models/models_4.d.ts +10 -0
- package/dist-types/ts3.4/models/models_3.d.ts +2 -0
- package/dist-types/ts3.4/models/models_4.d.ts +2 -0
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -5360,7 +5360,9 @@ var se_UpdateIpRestrictionCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
5360
5360
|
body = JSON.stringify(
|
|
5361
5361
|
(0, import_smithy_client.take)(input, {
|
|
5362
5362
|
Enabled: [],
|
|
5363
|
-
IpRestrictionRuleMap: (_) => (0, import_smithy_client._json)(_)
|
|
5363
|
+
IpRestrictionRuleMap: (_) => (0, import_smithy_client._json)(_),
|
|
5364
|
+
VpcEndpointIdRestrictionRuleMap: (_) => (0, import_smithy_client._json)(_),
|
|
5365
|
+
VpcIdRestrictionRuleMap: (_) => (0, import_smithy_client._json)(_)
|
|
5364
5366
|
})
|
|
5365
5367
|
);
|
|
5366
5368
|
b.m("POST").h(headers).b(body);
|
|
@@ -7077,7 +7079,9 @@ var de_DescribeIpRestrictionCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
7077
7079
|
AwsAccountId: import_smithy_client.expectString,
|
|
7078
7080
|
Enabled: import_smithy_client.expectBoolean,
|
|
7079
7081
|
IpRestrictionRuleMap: import_smithy_client._json,
|
|
7080
|
-
RequestId: import_smithy_client.expectString
|
|
7082
|
+
RequestId: import_smithy_client.expectString,
|
|
7083
|
+
VpcEndpointIdRestrictionRuleMap: import_smithy_client._json,
|
|
7084
|
+
VpcIdRestrictionRuleMap: import_smithy_client._json
|
|
7081
7085
|
});
|
|
7082
7086
|
Object.assign(contents, doc);
|
|
7083
7087
|
(0, import_smithy_client.map)(contents, {
|
|
@@ -2183,6 +2183,8 @@ export const se_UpdateIpRestrictionCommand = async (input, context) => {
|
|
|
2183
2183
|
body = JSON.stringify(take(input, {
|
|
2184
2184
|
Enabled: [],
|
|
2185
2185
|
IpRestrictionRuleMap: (_) => _json(_),
|
|
2186
|
+
VpcEndpointIdRestrictionRuleMap: (_) => _json(_),
|
|
2187
|
+
VpcIdRestrictionRuleMap: (_) => _json(_),
|
|
2186
2188
|
}));
|
|
2187
2189
|
b.m("POST").h(headers).b(body);
|
|
2188
2190
|
return b.build();
|
|
@@ -3871,6 +3873,8 @@ export const de_DescribeIpRestrictionCommand = async (output, context) => {
|
|
|
3871
3873
|
Enabled: __expectBoolean,
|
|
3872
3874
|
IpRestrictionRuleMap: _json,
|
|
3873
3875
|
RequestId: __expectString,
|
|
3876
|
+
VpcEndpointIdRestrictionRuleMap: _json,
|
|
3877
|
+
VpcIdRestrictionRuleMap: _json,
|
|
3874
3878
|
});
|
|
3875
3879
|
Object.assign(contents, doc);
|
|
3876
3880
|
map(contents, {
|
|
@@ -43,6 +43,12 @@ declare const DescribeIpRestrictionCommand_base: {
|
|
|
43
43
|
* // IpRestrictionRuleMap: { // IpRestrictionRuleMap
|
|
44
44
|
* // "<keys>": "STRING_VALUE",
|
|
45
45
|
* // },
|
|
46
|
+
* // VpcIdRestrictionRuleMap: { // VpcIdRestrictionRuleMap
|
|
47
|
+
* // "<keys>": "STRING_VALUE",
|
|
48
|
+
* // },
|
|
49
|
+
* // VpcEndpointIdRestrictionRuleMap: { // VpcEndpointIdRestrictionRuleMap
|
|
50
|
+
* // "<keys>": "STRING_VALUE",
|
|
51
|
+
* // },
|
|
46
52
|
* // Enabled: true || false,
|
|
47
53
|
* // RequestId: "STRING_VALUE",
|
|
48
54
|
* // Status: Number("int"),
|
|
@@ -26,10 +26,7 @@ declare const UpdateIpRestrictionCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>Updates the content and status of IP rules. To use this operation, you
|
|
30
|
-
* must
|
|
31
|
-
* provide the entire map of rules. You can use the <code>DescribeIpRestriction</code>
|
|
32
|
-
* operation to get the current rule map.</p>
|
|
29
|
+
* <p>Updates the content and status of IP rules. Traffic from a source is allowed when the source satisfies either the <code>IpRestrictionRule</code>, <code>VpcIdRestrictionRule</code>, or <code>VpcEndpointIdRestrictionRule</code>. To use this operation, you must provide the entire map of rules. You can use the <code>DescribeIpRestriction</code> operation to get the current rule map.</p>
|
|
33
30
|
* @example
|
|
34
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
32
|
* ```javascript
|
|
@@ -41,6 +38,12 @@ declare const UpdateIpRestrictionCommand_base: {
|
|
|
41
38
|
* IpRestrictionRuleMap: { // IpRestrictionRuleMap
|
|
42
39
|
* "<keys>": "STRING_VALUE",
|
|
43
40
|
* },
|
|
41
|
+
* VpcIdRestrictionRuleMap: { // VpcIdRestrictionRuleMap
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* VpcEndpointIdRestrictionRuleMap: { // VpcEndpointIdRestrictionRuleMap
|
|
45
|
+
* "<keys>": "STRING_VALUE",
|
|
46
|
+
* },
|
|
44
47
|
* Enabled: true || false,
|
|
45
48
|
* };
|
|
46
49
|
* const command = new UpdateIpRestrictionCommand(input);
|
|
@@ -4799,7 +4799,7 @@ export interface StringDatasetParameter {
|
|
|
4799
4799
|
DefaultValues?: StringDatasetParameterDefaultValues;
|
|
4800
4800
|
}
|
|
4801
4801
|
/**
|
|
4802
|
-
* <p>A dataset parameter.</p>
|
|
4802
|
+
* <p>A parameter that is created in a dataset. The parameter can be a string, integer, decimal, or datetime data type.</p>
|
|
4803
4803
|
* @public
|
|
4804
4804
|
*/
|
|
4805
4805
|
export interface DatasetParameter {
|
|
@@ -4952,6 +4952,16 @@ export interface DescribeIpRestrictionResponse {
|
|
|
4952
4952
|
* @public
|
|
4953
4953
|
*/
|
|
4954
4954
|
IpRestrictionRuleMap?: Record<string, string>;
|
|
4955
|
+
/**
|
|
4956
|
+
* <p>A map of allowed VPC IDs and their rule descriptions.</p>
|
|
4957
|
+
* @public
|
|
4958
|
+
*/
|
|
4959
|
+
VpcIdRestrictionRuleMap?: Record<string, string>;
|
|
4960
|
+
/**
|
|
4961
|
+
* <p>A map of allowed VPC endpoint IDs and their rule descriptions.</p>
|
|
4962
|
+
* @public
|
|
4963
|
+
*/
|
|
4964
|
+
VpcEndpointIdRestrictionRuleMap?: Record<string, string>;
|
|
4955
4965
|
/**
|
|
4956
4966
|
* <p>A value that specifies whether IP rules are turned on.</p>
|
|
4957
4967
|
* @public
|
|
@@ -6598,8 +6608,8 @@ export interface GenerateEmbedUrlForAnonymousUserRequest {
|
|
|
6598
6608
|
* is authorized to access during the lifetime of the session.</p>
|
|
6599
6609
|
* <p>If you choose <code>Dashboard</code> embedding experience, pass the list of dashboard ARNs in the
|
|
6600
6610
|
* account that you want the user to be able to view.</p>
|
|
6601
|
-
* <p>
|
|
6602
|
-
*
|
|
6611
|
+
* <p>If you want to make changes to the theme of your embedded content, pass a list of theme ARNs that the anonymous users need access to.</p>
|
|
6612
|
+
* <p>Currently, you can pass up to 25 theme ARNs in each API call.</p>
|
|
6603
6613
|
* @public
|
|
6604
6614
|
*/
|
|
6605
6615
|
AuthorizedResourceArns: string[] | undefined;
|
|
@@ -3001,6 +3001,16 @@ export interface UpdateIpRestrictionRequest {
|
|
|
3001
3001
|
* @public
|
|
3002
3002
|
*/
|
|
3003
3003
|
IpRestrictionRuleMap?: Record<string, string>;
|
|
3004
|
+
/**
|
|
3005
|
+
* <p>A map of VPC IDs and their corresponding rules. When you configure this parameter, traffic from all VPC endpoints that are present in the specified VPC is allowed.</p>
|
|
3006
|
+
* @public
|
|
3007
|
+
*/
|
|
3008
|
+
VpcIdRestrictionRuleMap?: Record<string, string>;
|
|
3009
|
+
/**
|
|
3010
|
+
* <p>A map of allowed VPC endpoint IDs and their corresponding rule descriptions.</p>
|
|
3011
|
+
* @public
|
|
3012
|
+
*/
|
|
3013
|
+
VpcEndpointIdRestrictionRuleMap?: Record<string, string>;
|
|
3004
3014
|
/**
|
|
3005
3015
|
* <p>A value that specifies whether IP rules are turned on.</p>
|
|
3006
3016
|
* @public
|
|
@@ -1319,6 +1319,8 @@ export interface DescribeIpRestrictionRequest {
|
|
|
1319
1319
|
export interface DescribeIpRestrictionResponse {
|
|
1320
1320
|
AwsAccountId?: string;
|
|
1321
1321
|
IpRestrictionRuleMap?: Record<string, string>;
|
|
1322
|
+
VpcIdRestrictionRuleMap?: Record<string, string>;
|
|
1323
|
+
VpcEndpointIdRestrictionRuleMap?: Record<string, string>;
|
|
1322
1324
|
Enabled?: boolean;
|
|
1323
1325
|
RequestId?: string;
|
|
1324
1326
|
Status?: number;
|
|
@@ -709,6 +709,8 @@ export interface UpdateIdentityPropagationConfigResponse {
|
|
|
709
709
|
export interface UpdateIpRestrictionRequest {
|
|
710
710
|
AwsAccountId: string | undefined;
|
|
711
711
|
IpRestrictionRuleMap?: Record<string, string>;
|
|
712
|
+
VpcIdRestrictionRuleMap?: Record<string, string>;
|
|
713
|
+
VpcEndpointIdRestrictionRuleMap?: Record<string, string>;
|
|
712
714
|
Enabled?: boolean;
|
|
713
715
|
}
|
|
714
716
|
export interface UpdateIpRestrictionResponse {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-quicksight",
|
|
3
3
|
"description": "AWS SDK for JavaScript Quicksight Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.549.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-quicksight",
|
|
@@ -20,9 +20,9 @@
|
|
|
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-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.549.0",
|
|
24
|
+
"@aws-sdk/core": "3.549.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.549.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.2.0",
|
|
36
|
-
"@smithy/core": "^1.4.
|
|
36
|
+
"@smithy/core": "^1.4.1",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.5.0",
|
|
38
38
|
"@smithy/hash-node": "^2.2.0",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.2.0",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.2.0",
|
|
41
41
|
"@smithy/middleware-endpoint": "^2.5.0",
|
|
42
|
-
"@smithy/middleware-retry": "^2.
|
|
42
|
+
"@smithy/middleware-retry": "^2.3.0",
|
|
43
43
|
"@smithy/middleware-serde": "^2.3.0",
|
|
44
44
|
"@smithy/middleware-stack": "^2.2.0",
|
|
45
45
|
"@smithy/node-config-provider": "^2.3.0",
|