@aws-sdk/client-route53resolver 3.948.0 → 3.952.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 CHANGED
@@ -642,6 +642,7 @@ const _RDNSSECC = "ResolverDNSSECConfig";
642
642
  const _RE = "ResolverEndpoint";
643
643
  const _REE = "ResourceExistsException";
644
644
  const _REI = "ResolverEndpointId";
645
+ const _REME = "RniEnhancedMetricsEnabled";
645
646
  const _RET = "ResolverEndpointType";
646
647
  const _REe = "ResolverEndpoints";
647
648
  const _RI = "ResourceId";
@@ -686,6 +687,7 @@ const _TI = "TargetIps";
686
687
  const _TK = "TagKeys";
687
688
  const _TL = "TagList";
688
689
  const _TLa = "TargetList";
690
+ const _TNSME = "TargetNameServerMetricsEnabled";
689
691
  const _TR = "TagResource";
690
692
  const _TRR = "TagResourceRequest";
691
693
  const _TRRa = "TagResourceResponse";
@@ -843,8 +845,8 @@ var CreateResolverEndpointRequest = [
843
845
  n0,
844
846
  _CRER,
845
847
  0,
846
- [_CRI, _N, _SGI, _D, _IAp, _OA, _PIT, _T, _RET, _Pr],
847
- [0, 0, 64 | 0, 0, () => IpAddressesRequest, 0, 0, () => TagList, 0, 64 | 0],
848
+ [_CRI, _N, _SGI, _D, _IAp, _OA, _PIT, _T, _RET, _Pr, _REME, _TNSME],
849
+ [0, 0, 64 | 0, 0, () => IpAddressesRequest, 0, 0, () => TagList, 0, 64 | 0, 2, 2],
848
850
  ];
849
851
  var CreateResolverEndpointResponse = [3, n0, _CRERr, 0, [_RE], [() => ResolverEndpoint]];
850
852
  var CreateResolverQueryLogConfigRequest = [
@@ -1312,8 +1314,8 @@ var ResolverEndpoint = [
1312
1314
  n0,
1313
1315
  _RE,
1314
1316
  0,
1315
- [_I, _CRI, _Ar, _N, _SGI, _D, _IAC, _HVPCI, _S, _SM, _CTr, _MT, _OA, _PIT, _RET, _Pr],
1316
- [0, 0, 0, 0, 64 | 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0],
1317
+ [_I, _CRI, _Ar, _N, _SGI, _D, _IAC, _HVPCI, _S, _SM, _CTr, _MT, _OA, _PIT, _RET, _Pr, _REME, _TNSME],
1318
+ [0, 0, 0, 0, 64 | 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 2, 2],
1317
1319
  ];
1318
1320
  var ResolverQueryLogConfig = [
1319
1321
  3,
@@ -1416,8 +1418,8 @@ var UpdateResolverEndpointRequest = [
1416
1418
  n0,
1417
1419
  _URER,
1418
1420
  0,
1419
- [_REI, _N, _RET, _UIAp, _Pr],
1420
- [0, 0, 0, () => UpdateIpAddresses, 64 | 0],
1421
+ [_REI, _N, _RET, _UIAp, _Pr, _REME, _TNSME],
1422
+ [0, 0, 0, () => UpdateIpAddresses, 64 | 0, 2, 2],
1421
1423
  ];
1422
1424
  var UpdateResolverEndpointResponse = [3, n0, _URERp, 0, [_RE], [() => ResolverEndpoint]];
1423
1425
  var UpdateResolverRuleRequest = [
@@ -272,6 +272,7 @@ const _RDNSSECC = "ResolverDNSSECConfig";
272
272
  const _RE = "ResolverEndpoint";
273
273
  const _REE = "ResourceExistsException";
274
274
  const _REI = "ResolverEndpointId";
275
+ const _REME = "RniEnhancedMetricsEnabled";
275
276
  const _RET = "ResolverEndpointType";
276
277
  const _REe = "ResolverEndpoints";
277
278
  const _RI = "ResourceId";
@@ -316,6 +317,7 @@ const _TI = "TargetIps";
316
317
  const _TK = "TagKeys";
317
318
  const _TL = "TagList";
318
319
  const _TLa = "TargetList";
320
+ const _TNSME = "TargetNameServerMetricsEnabled";
319
321
  const _TR = "TagResource";
320
322
  const _TRR = "TagResourceRequest";
321
323
  const _TRRa = "TagResourceResponse";
@@ -476,8 +478,8 @@ export var CreateResolverEndpointRequest = [
476
478
  n0,
477
479
  _CRER,
478
480
  0,
479
- [_CRI, _N, _SGI, _D, _IAp, _OA, _PIT, _T, _RET, _Pr],
480
- [0, 0, 64 | 0, 0, () => IpAddressesRequest, 0, 0, () => TagList, 0, 64 | 0],
481
+ [_CRI, _N, _SGI, _D, _IAp, _OA, _PIT, _T, _RET, _Pr, _REME, _TNSME],
482
+ [0, 0, 64 | 0, 0, () => IpAddressesRequest, 0, 0, () => TagList, 0, 64 | 0, 2, 2],
481
483
  ];
482
484
  export var CreateResolverEndpointResponse = [3, n0, _CRERr, 0, [_RE], [() => ResolverEndpoint]];
483
485
  export var CreateResolverQueryLogConfigRequest = [
@@ -945,8 +947,8 @@ export var ResolverEndpoint = [
945
947
  n0,
946
948
  _RE,
947
949
  0,
948
- [_I, _CRI, _Ar, _N, _SGI, _D, _IAC, _HVPCI, _S, _SM, _CTr, _MT, _OA, _PIT, _RET, _Pr],
949
- [0, 0, 0, 0, 64 | 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0],
950
+ [_I, _CRI, _Ar, _N, _SGI, _D, _IAC, _HVPCI, _S, _SM, _CTr, _MT, _OA, _PIT, _RET, _Pr, _REME, _TNSME],
951
+ [0, 0, 0, 0, 64 | 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 2, 2],
950
952
  ];
951
953
  export var ResolverQueryLogConfig = [
952
954
  3,
@@ -1049,8 +1051,8 @@ export var UpdateResolverEndpointRequest = [
1049
1051
  n0,
1050
1052
  _URER,
1051
1053
  0,
1052
- [_REI, _N, _RET, _UIAp, _Pr],
1053
- [0, 0, 0, () => UpdateIpAddresses, 64 | 0],
1054
+ [_REI, _N, _RET, _UIAp, _Pr, _REME, _TNSME],
1055
+ [0, 0, 0, () => UpdateIpAddresses, 64 | 0, 2, 2],
1054
1056
  ];
1055
1057
  export var UpdateResolverEndpointResponse = [3, n0, _URERp, 0, [_RE], [() => ResolverEndpoint]];
1056
1058
  export var UpdateResolverRuleRequest = [
@@ -73,6 +73,8 @@ declare const AssociateResolverEndpointIpAddressCommand_base: {
73
73
  * // Protocols: [ // ProtocolList
74
74
  * // "DoH" || "Do53" || "DoH-FIPS",
75
75
  * // ],
76
+ * // RniEnhancedMetricsEnabled: true || false,
77
+ * // TargetNameServerMetricsEnabled: true || false,
76
78
  * // },
77
79
  * // };
78
80
  *
@@ -72,6 +72,8 @@ declare const CreateResolverEndpointCommand_base: {
72
72
  * Protocols: [ // ProtocolList
73
73
  * "DoH" || "Do53" || "DoH-FIPS",
74
74
  * ],
75
+ * RniEnhancedMetricsEnabled: true || false,
76
+ * TargetNameServerMetricsEnabled: true || false,
75
77
  * };
76
78
  * const command = new CreateResolverEndpointCommand(input);
77
79
  * const response = await client.send(command);
@@ -97,6 +99,8 @@ declare const CreateResolverEndpointCommand_base: {
97
99
  * // Protocols: [ // ProtocolList
98
100
  * // "DoH" || "Do53" || "DoH-FIPS",
99
101
  * // ],
102
+ * // RniEnhancedMetricsEnabled: true || false,
103
+ * // TargetNameServerMetricsEnabled: true || false,
100
104
  * // },
101
105
  * // };
102
106
  *
@@ -75,6 +75,8 @@ declare const DeleteResolverEndpointCommand_base: {
75
75
  * // Protocols: [ // ProtocolList
76
76
  * // "DoH" || "Do53" || "DoH-FIPS",
77
77
  * // ],
78
+ * // RniEnhancedMetricsEnabled: true || false,
79
+ * // TargetNameServerMetricsEnabled: true || false,
78
80
  * // },
79
81
  * // };
80
82
  *
@@ -73,6 +73,8 @@ declare const DisassociateResolverEndpointIpAddressCommand_base: {
73
73
  * // Protocols: [ // ProtocolList
74
74
  * // "DoH" || "Do53" || "DoH-FIPS",
75
75
  * // ],
76
+ * // RniEnhancedMetricsEnabled: true || false,
77
+ * // TargetNameServerMetricsEnabled: true || false,
76
78
  * // },
77
79
  * // };
78
80
  *
@@ -64,6 +64,8 @@ declare const GetResolverEndpointCommand_base: {
64
64
  * // Protocols: [ // ProtocolList
65
65
  * // "DoH" || "Do53" || "DoH-FIPS",
66
66
  * // ],
67
+ * // RniEnhancedMetricsEnabled: true || false,
68
+ * // TargetNameServerMetricsEnabled: true || false,
67
69
  * // },
68
70
  * // };
69
71
  *
@@ -75,6 +75,8 @@ declare const ListResolverEndpointsCommand_base: {
75
75
  * // Protocols: [ // ProtocolList
76
76
  * // "DoH" || "Do53" || "DoH-FIPS",
77
77
  * // ],
78
+ * // RniEnhancedMetricsEnabled: true || false,
79
+ * // TargetNameServerMetricsEnabled: true || false,
78
80
  * // },
79
81
  * // ],
80
82
  * // };
@@ -50,6 +50,8 @@ declare const UpdateResolverEndpointCommand_base: {
50
50
  * Protocols: [ // ProtocolList
51
51
  * "DoH" || "Do53" || "DoH-FIPS",
52
52
  * ],
53
+ * RniEnhancedMetricsEnabled: true || false,
54
+ * TargetNameServerMetricsEnabled: true || false,
53
55
  * };
54
56
  * const command = new UpdateResolverEndpointCommand(input);
55
57
  * const response = await client.send(command);
@@ -75,6 +77,8 @@ declare const UpdateResolverEndpointCommand_base: {
75
77
  * // Protocols: [ // ProtocolList
76
78
  * // "DoH" || "Do53" || "DoH-FIPS",
77
79
  * // ],
80
+ * // RniEnhancedMetricsEnabled: true || false,
81
+ * // TargetNameServerMetricsEnabled: true || false,
78
82
  * // },
79
83
  * // };
80
84
  *
@@ -401,6 +401,20 @@ export interface ResolverEndpoint {
401
401
  * @public
402
402
  */
403
403
  Protocols?: Protocol[] | undefined;
404
+ /**
405
+ * <p>Indicates whether RNI enhanced metrics are enabled for the Resolver endpoint.
406
+ * When enabled, one-minute granular metrics are published in CloudWatch for each RNI associated with this endpoint.
407
+ * When disabled, these metrics are not published.</p>
408
+ * @public
409
+ */
410
+ RniEnhancedMetricsEnabled?: boolean | undefined;
411
+ /**
412
+ * <p>Indicates whether target name server metrics are enabled for the outbound Resolver endpoint.
413
+ * When enabled, one-minute granular metrics are published in CloudWatch for each target name server associated with this endpoint.
414
+ * When disabled, these metrics are not published. This feature is not supported for inbound Resolver endpoint.</p>
415
+ * @public
416
+ */
417
+ TargetNameServerMetricsEnabled?: boolean | undefined;
404
418
  }
405
419
  /**
406
420
  * @public
@@ -529,6 +543,7 @@ export interface AssociateResolverRuleRequest {
529
543
  ResolverRuleId: string | undefined;
530
544
  /**
531
545
  * <p>A name for the association that you're creating between a Resolver rule and a VPC.</p>
546
+ * <p>The name can be up to 64 characters long and can contain letters (a-z, A-Z), numbers (0-9), hyphens (-), underscores (_), and spaces. The name cannot consist of only numbers.</p>
532
547
  * @public
533
548
  */
534
549
  Name?: string | undefined;
@@ -563,6 +578,7 @@ export interface ResolverRuleAssociation {
563
578
  ResolverRuleId?: string | undefined;
564
579
  /**
565
580
  * <p>The name of an association between a Resolver rule and a VPC.</p>
581
+ * <p>The name can be up to 64 characters long and can contain letters (a-z, A-Z), numbers (0-9), hyphens (-), underscores (_), and spaces. The name cannot consist of only numbers.</p>
566
582
  * @public
567
583
  */
568
584
  Name?: string | undefined;
@@ -1092,8 +1108,7 @@ export interface FirewallRule {
1092
1108
  */
1093
1109
  export interface CreateFirewallRuleResponse {
1094
1110
  /**
1095
- * <p>The
1096
- * firewall rule that you just created. </p>
1111
+ * <p>The firewall rule that you just created. </p>
1097
1112
  * @public
1098
1113
  */
1099
1114
  FirewallRule?: FirewallRule | undefined;
@@ -1466,6 +1481,28 @@ export interface CreateResolverEndpointRequest {
1466
1481
  * @public
1467
1482
  */
1468
1483
  Protocols?: Protocol[] | undefined;
1484
+ /**
1485
+ * <p>Specifies whether RNI enhanced metrics are enabled for the Resolver endpoints.
1486
+ * When set to true, one-minute granular metrics are published in CloudWatch for each RNI associated with this endpoint.
1487
+ * When set to false, metrics are not published. Default is false.</p>
1488
+ * <note>
1489
+ * <p>Standard CloudWatch pricing and charges are applied for using the Route 53 Resolver
1490
+ * endpoint RNI enhanced metrics. For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/monitoring-resolver-with-cloudwatch.html">Detailed metrics</a>.</p>
1491
+ * </note>
1492
+ * @public
1493
+ */
1494
+ RniEnhancedMetricsEnabled?: boolean | undefined;
1495
+ /**
1496
+ * <p>Specifies whether target name server metrics are enabled for the outbound Resolver endpoints.
1497
+ * When set to true, one-minute granular metrics are published in CloudWatch for each target name server associated with this endpoint.
1498
+ * When set to false, metrics are not published. Default is false. This is not supported for inbound Resolver endpoints.</p>
1499
+ * <note>
1500
+ * <p>Standard CloudWatch pricing and charges are applied for using the Route 53 Resolver
1501
+ * endpoint target name server metrics. For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/monitoring-resolver-with-cloudwatch.html">Detailed metrics</a>.</p>
1502
+ * </note>
1503
+ * @public
1504
+ */
1505
+ TargetNameServerMetricsEnabled?: boolean | undefined;
1469
1506
  }
1470
1507
  /**
1471
1508
  * @public
@@ -1688,6 +1725,7 @@ export interface CreateResolverRuleRequest {
1688
1725
  CreatorRequestId: string | undefined;
1689
1726
  /**
1690
1727
  * <p>A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console.</p>
1728
+ * <p>The name can be up to 64 characters long and can contain letters (a-z, A-Z), numbers (0-9), hyphens (-), underscores (_), and spaces. The name cannot consist of only numbers.</p>
1691
1729
  * @public
1692
1730
  */
1693
1731
  Name?: string | undefined;
@@ -1712,7 +1750,13 @@ export interface CreateResolverRuleRequest {
1712
1750
  /**
1713
1751
  * <p>The IPs that you want Resolver to forward DNS queries to. You can specify either Ipv4 or Ipv6 addresses but not both in the same rule. Separate IP addresses with a space.</p>
1714
1752
  * <p>
1715
- * <code>TargetIps</code> is available only when the value of <code>Rule type</code> is <code>FORWARD</code>.</p>
1753
+ * <code>TargetIps</code> is available only when the value of <code>Rule type</code> is <code>FORWARD</code>.
1754
+ * You should not provide TargetIps when the Rule type is <code>DELEGATE</code>.</p>
1755
+ * <note>
1756
+ * <p>when creating a DELEGATE rule, you must not provide the <code>TargetIps</code> parameter. If you provide the <code>TargetIps</code>,
1757
+ * you may receive an ERROR message similar to "Delegate resolver rules need to specify a nameserver name".
1758
+ * This error means you should not provide <code>TargetIps</code>.</p>
1759
+ * </note>
1716
1760
  * @public
1717
1761
  */
1718
1762
  TargetIps?: TargetAddress[] | undefined;
@@ -1797,6 +1841,7 @@ export interface ResolverRule {
1797
1841
  RuleType?: RuleTypeOption | undefined;
1798
1842
  /**
1799
1843
  * <p>The name for the Resolver rule, which you specified when you created the Resolver rule.</p>
1844
+ * <p>The name can be up to 64 characters long and can contain letters (a-z, A-Z), numbers (0-9), hyphens (-), underscores (_), and spaces. The name cannot consist of only numbers.</p>
1800
1845
  * @public
1801
1846
  */
1802
1847
  Name?: string | undefined;
@@ -4120,6 +4165,7 @@ export interface PutResolverRulePolicyResponse {
4120
4165
  export interface ResolverRuleConfig {
4121
4166
  /**
4122
4167
  * <p>The new name for the Resolver rule. The name that you specify appears in the Resolver dashboard in the Route 53 console. </p>
4168
+ * <p>The name can be up to 64 characters long and can contain letters (a-z, A-Z), numbers (0-9), hyphens (-), underscores (_), and spaces. The name cannot consist of only numbers.</p>
4123
4169
  * @public
4124
4170
  */
4125
4171
  Name?: string | undefined;
@@ -4808,6 +4854,28 @@ export interface UpdateResolverEndpointRequest {
4808
4854
  * @public
4809
4855
  */
4810
4856
  Protocols?: Protocol[] | undefined;
4857
+ /**
4858
+ * <p>Updates whether RNI enhanced metrics are enabled for the Resolver endpoints.
4859
+ * When set to true, one-minute granular metrics are published in CloudWatch for each RNI associated with this endpoint.
4860
+ * When set to false, metrics are not published.</p>
4861
+ * <note>
4862
+ * <p>Standard CloudWatch pricing and charges are applied for using the Route 53 Resolver
4863
+ * endpoint RNI enhanced metrics. For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/monitoring-resolver-with-cloudwatch.html">Detailed metrics</a>.</p>
4864
+ * </note>
4865
+ * @public
4866
+ */
4867
+ RniEnhancedMetricsEnabled?: boolean | undefined;
4868
+ /**
4869
+ * <p>Updates whether target name server metrics are enabled for the outbound Resolver endpoints.
4870
+ * When set to true, one-minute granular metrics are published in CloudWatch for each target name server associated with this endpoint.
4871
+ * When set to false, metrics are not published. This setting is not supported for inbound Resolver endpoints.</p>
4872
+ * <note>
4873
+ * <p>Standard CloudWatch pricing and charges are applied for using the Route 53 Resolver
4874
+ * endpoint target name server metrics. For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/monitoring-resolver-with-cloudwatch.html">Detailed metrics</a>.</p>
4875
+ * </note>
4876
+ * @public
4877
+ */
4878
+ TargetNameServerMetricsEnabled?: boolean | undefined;
4811
4879
  }
4812
4880
  /**
4813
4881
  * @public
@@ -89,6 +89,8 @@ export interface ResolverEndpoint {
89
89
  PreferredInstanceType?: string | undefined;
90
90
  ResolverEndpointType?: ResolverEndpointType | undefined;
91
91
  Protocols?: Protocol[] | undefined;
92
+ RniEnhancedMetricsEnabled?: boolean | undefined;
93
+ TargetNameServerMetricsEnabled?: boolean | undefined;
92
94
  }
93
95
  export interface AssociateResolverEndpointIpAddressResponse {
94
96
  ResolverEndpoint?: ResolverEndpoint | undefined;
@@ -246,6 +248,8 @@ export interface CreateResolverEndpointRequest {
246
248
  Tags?: Tag[] | undefined;
247
249
  ResolverEndpointType?: ResolverEndpointType | undefined;
248
250
  Protocols?: Protocol[] | undefined;
251
+ RniEnhancedMetricsEnabled?: boolean | undefined;
252
+ TargetNameServerMetricsEnabled?: boolean | undefined;
249
253
  }
250
254
  export interface CreateResolverEndpointResponse {
251
255
  ResolverEndpoint?: ResolverEndpoint | undefined;
@@ -806,6 +810,8 @@ export interface UpdateResolverEndpointRequest {
806
810
  ResolverEndpointType?: ResolverEndpointType | undefined;
807
811
  UpdateIpAddresses?: UpdateIpAddress[] | undefined;
808
812
  Protocols?: Protocol[] | undefined;
813
+ RniEnhancedMetricsEnabled?: boolean | undefined;
814
+ TargetNameServerMetricsEnabled?: boolean | undefined;
809
815
  }
810
816
  export interface UpdateResolverEndpointResponse {
811
817
  ResolverEndpoint?: ResolverEndpoint | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-route53resolver",
3
3
  "description": "AWS SDK for JavaScript Route53resolver Client for Node.js, Browser and React Native",
4
- "version": "3.948.0",
4
+ "version": "3.952.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-route53resolver",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
24
  "@aws-sdk/core": "3.947.0",
25
- "@aws-sdk/credential-provider-node": "3.948.0",
25
+ "@aws-sdk/credential-provider-node": "3.952.0",
26
26
  "@aws-sdk/middleware-host-header": "3.936.0",
27
27
  "@aws-sdk/middleware-logger": "3.936.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.948.0",