@aws-sdk/client-xray 3.319.0 → 3.322.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://xray-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://xray-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://xray.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://xray.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://xray-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://xray-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://xray.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://xray.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://xray-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://xray-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://xray.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://xray.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://xray-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://xray-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://xray.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://xray.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -290,16 +290,16 @@ export interface CreateGroupRequest {
290
290
  FilterExpression?: string;
291
291
  /**
292
292
  * <p>The structure containing configurations related to insights.</p>
293
- * <ul>
293
+ * <ul>
294
294
  * <li>
295
- * <p>The InsightsEnabled boolean can be set to true to enable insights for the
295
+ * <p>The InsightsEnabled boolean can be set to true to enable insights for the
296
296
  * new group or false to disable insights for the new group.</p>
297
- * </li>
297
+ * </li>
298
298
  * <li>
299
- * <p>The NotificationsEnabled boolean can be set to true to enable insights
299
+ * <p>The NotificationsEnabled boolean can be set to true to enable insights
300
300
  * notifications for the new group. Notifications may only be enabled on a group
301
301
  * with InsightsEnabled set to true.</p>
302
- * </li>
302
+ * </li>
303
303
  * </ul>
304
304
  */
305
305
  InsightsConfiguration?: InsightsConfiguration;
@@ -307,26 +307,26 @@ export interface CreateGroupRequest {
307
307
  * <p>A map that contains one or more tag keys and tag values to attach to an X-Ray group.
308
308
  * For more information about ways to use tags, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services
309
309
  * resources</a> in the <i>Amazon Web Services General Reference</i>.</p>
310
- * <p>The following restrictions apply to tags:</p>
311
- * <ul>
310
+ * <p>The following restrictions apply to tags:</p>
311
+ * <ul>
312
312
  * <li>
313
- * <p>Maximum number of user-applied tags per resource: 50</p>
313
+ * <p>Maximum number of user-applied tags per resource: 50</p>
314
314
  * </li>
315
315
  * <li>
316
- * <p>Maximum tag key length: 128 Unicode characters</p>
316
+ * <p>Maximum tag key length: 128 Unicode characters</p>
317
317
  * </li>
318
318
  * <li>
319
- * <p>Maximum tag value length: 256 Unicode characters</p>
319
+ * <p>Maximum tag value length: 256 Unicode characters</p>
320
320
  * </li>
321
321
  * <li>
322
- * <p>Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . :
322
+ * <p>Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . :
323
323
  * / = + - and @</p>
324
324
  * </li>
325
325
  * <li>
326
- * <p>Tag keys and values are case sensitive.</p>
326
+ * <p>Tag keys and values are case sensitive.</p>
327
327
  * </li>
328
328
  * <li>
329
- * <p>Don't use <code>aws:</code> as a prefix for keys; it's reserved for Amazon Web Services
329
+ * <p>Don't use <code>aws:</code> as a prefix for keys; it's reserved for Amazon Web Services
330
330
  * use.</p>
331
331
  * </li>
332
332
  * </ul>
@@ -352,13 +352,13 @@ export interface Group {
352
352
  FilterExpression?: string;
353
353
  /**
354
354
  * <p>The structure containing configurations related to insights.</p>
355
- * <ul>
355
+ * <ul>
356
356
  * <li>
357
- * <p>The InsightsEnabled boolean can be set to true to enable insights for the
357
+ * <p>The InsightsEnabled boolean can be set to true to enable insights for the
358
358
  * group or false to disable insights for the group.</p>
359
359
  * </li>
360
360
  * <li>
361
- * <p>The NotificationsEnabled boolean can be set to true to enable insights
361
+ * <p>The NotificationsEnabled boolean can be set to true to enable insights
362
362
  * notifications through Amazon EventBridge for the group.</p>
363
363
  * </li>
364
364
  * </ul>
@@ -698,13 +698,13 @@ export interface GroupSummary {
698
698
  FilterExpression?: string;
699
699
  /**
700
700
  * <p>The structure containing configurations related to insights.</p>
701
- * <ul>
701
+ * <ul>
702
702
  * <li>
703
- * <p>The InsightsEnabled boolean can be set to true to enable insights for the
703
+ * <p>The InsightsEnabled boolean can be set to true to enable insights for the
704
704
  * group or false to disable insights for the group.</p>
705
705
  * </li>
706
706
  * <li>
707
- * <p>The NotificationsEnabled boolean can be set to true to enable insights notifications.
707
+ * <p>The NotificationsEnabled boolean can be set to true to enable insights notifications.
708
708
  * Notifications can only be enabled on a group with InsightsEnabled set to true.</p>
709
709
  * </li>
710
710
  * </ul>
@@ -2364,18 +2364,18 @@ export interface PutResourcePolicyRequest {
2364
2364
  /**
2365
2365
  * <p>Specifies a specific policy revision, to ensure an atomic create operation. By default the resource policy is created if it does not exist, or updated with an incremented revision id.
2366
2366
  * The revision id is unique to each policy in the account.</p>
2367
- * <p>If the policy revision id does not match the latest revision id, the operation will fail with an <code>InvalidPolicyRevisionIdException</code> exception. You can also provide a
2367
+ * <p>If the policy revision id does not match the latest revision id, the operation will fail with an <code>InvalidPolicyRevisionIdException</code> exception. You can also provide a
2368
2368
  * <code>PolicyRevisionId</code> of 0. In this case, the operation will fail with an <code>InvalidPolicyRevisionIdException</code> exception if a resource policy with the same name already exists.
2369
2369
  * </p>
2370
2370
  */
2371
2371
  PolicyRevisionId?: string;
2372
2372
  /**
2373
2373
  * <p>A flag to indicate whether to bypass the resource policy lockout safety check.</p>
2374
- * <important>
2374
+ * <important>
2375
2375
  * <p>Setting this value to true increases the risk that the policy becomes unmanageable. Do not set this value to true indiscriminately.</p>
2376
- * </important>
2377
- * <p>Use this parameter only when you include a policy in the request and you intend to prevent the principal that is making the request from making a subsequent <code>PutResourcePolicy</code> request.</p>
2378
- * <p>The default value is false.</p>
2376
+ * </important>
2377
+ * <p>Use this parameter only when you include a policy in the request and you intend to prevent the principal that is making the request from making a subsequent <code>PutResourcePolicy</code> request.</p>
2378
+ * <p>The default value is false.</p>
2379
2379
  */
2380
2380
  BypassPolicyLockoutCheck?: boolean;
2381
2381
  }
@@ -2604,13 +2604,13 @@ export interface UpdateGroupRequest {
2604
2604
  FilterExpression?: string;
2605
2605
  /**
2606
2606
  * <p>The structure containing configurations related to insights.</p>
2607
- * <ul>
2607
+ * <ul>
2608
2608
  * <li>
2609
- * <p>The InsightsEnabled boolean can be set to true to enable insights for the
2609
+ * <p>The InsightsEnabled boolean can be set to true to enable insights for the
2610
2610
  * group or false to disable insights for the group.</p>
2611
2611
  * </li>
2612
2612
  * <li>
2613
- * <p>The NotificationsEnabled boolean can be set to true to enable insights notifications for the group.
2613
+ * <p>The NotificationsEnabled boolean can be set to true to enable insights notifications for the group.
2614
2614
  * Notifications can only be enabled on a group with InsightsEnabled set to true.</p>
2615
2615
  * </li>
2616
2616
  * </ul>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-xray",
3
3
  "description": "AWS SDK for JavaScript Xray Client for Node.js, Browser and React Native",
4
- "version": "3.319.0",
4
+ "version": "3.322.0",
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",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.319.0",
24
+ "@aws-sdk/client-sts": "3.321.1",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.319.0",
26
+ "@aws-sdk/credential-provider-node": "3.321.1",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -38,7 +38,7 @@
38
38
  "@aws-sdk/middleware-stack": "3.310.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.319.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
- "@aws-sdk/node-http-handler": "3.310.0",
41
+ "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
43
  "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",