aws-sdk 2.875.0 → 2.879.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.
Files changed (90) hide show
  1. package/CHANGELOG.md +47 -1
  2. package/README.md +1 -1
  3. package/apis/batch-2016-08-10.min.json +74 -53
  4. package/apis/cloud9-2017-09-23.examples.json +1 -1
  5. package/apis/cloud9-2017-09-23.min.json +48 -14
  6. package/apis/cloudformation-2010-05-15.min.json +50 -48
  7. package/apis/cloudhsm-2014-05-30.min.json +18 -51
  8. package/apis/cognito-sync-2014-06-30.examples.json +5 -0
  9. package/apis/cognito-sync-2014-06-30.min.json +2 -3
  10. package/apis/cognito-sync-2014-06-30.paginators.json +4 -0
  11. package/apis/comprehend-2017-11-27.min.json +12 -6
  12. package/apis/config-2014-11-12.min.json +238 -128
  13. package/apis/databrew-2017-07-25.min.json +154 -60
  14. package/apis/datapipeline-2012-10-29.examples.json +5 -0
  15. package/apis/datapipeline-2012-10-29.min.json +1 -1
  16. package/apis/datapipeline-2012-10-29.paginators.json +10 -10
  17. package/apis/detective-2018-10-26.min.json +114 -18
  18. package/apis/directconnect-2012-10-25.min.json +151 -52
  19. package/apis/ec2-2016-11-15.min.json +831 -625
  20. package/apis/ec2-2016-11-15.paginators.json +6 -0
  21. package/apis/ec2-2016-11-15.waiters2.json +1 -1
  22. package/apis/ec2-instance-connect-2018-04-02.min.json +25 -0
  23. package/apis/fms-2018-01-01.min.json +41 -7
  24. package/apis/frauddetector-2019-11-15.min.json +158 -54
  25. package/apis/frauddetector-2019-11-15.paginators.json +5 -0
  26. package/apis/imagebuilder-2019-12-02.min.json +141 -111
  27. package/apis/iot-2015-05-28.min.json +20 -15
  28. package/apis/iotwireless-2020-11-22.min.json +43 -2
  29. package/apis/kendra-2019-02-03.min.json +38 -36
  30. package/apis/lightsail-2016-11-28.min.json +121 -114
  31. package/apis/machinelearning-2014-12-12.examples.json +5 -0
  32. package/apis/machinelearning-2014-12-12.min.json +3 -4
  33. package/apis/machinelearning-2014-12-12.paginators.json +5 -5
  34. package/apis/mediaconvert-2017-08-29.min.json +122 -83
  35. package/apis/mediapackage-2017-10-12.min.json +64 -48
  36. package/apis/monitoring-2010-08-01.min.json +208 -38
  37. package/apis/monitoring-2010-08-01.paginators.json +5 -0
  38. package/apis/pinpoint-2016-12-01.min.json +15 -2
  39. package/apis/pricing-2017-10-15.examples.json +1 -0
  40. package/apis/redshift-2012-12-01.min.json +398 -191
  41. package/apis/route53resolver-2018-04-01.min.json +791 -89
  42. package/apis/route53resolver-2018-04-01.paginators.json +36 -0
  43. package/apis/runtime.lex-2016-11-28.min.json +29 -3
  44. package/apis/sagemaker-2017-07-24.min.json +141 -112
  45. package/apis/wafv2-2019-07-29.min.json +196 -89
  46. package/apis/workmail-2017-10-01.min.json +247 -30
  47. package/clients/batch.d.ts +41 -3
  48. package/clients/cloud9.d.ts +22 -12
  49. package/clients/cloudformation.d.ts +4 -0
  50. package/clients/cloudwatch.d.ts +222 -3
  51. package/clients/cognitosync.d.ts +20 -20
  52. package/clients/cognitosync.js +1 -0
  53. package/clients/comprehend.d.ts +24 -0
  54. package/clients/configservice.d.ts +182 -10
  55. package/clients/databrew.d.ts +145 -25
  56. package/clients/detective.d.ts +74 -0
  57. package/clients/directconnect.d.ts +161 -2
  58. package/clients/ec2.d.ts +239 -14
  59. package/clients/ec2instanceconnect.d.ts +41 -8
  60. package/clients/fms.d.ts +63 -2
  61. package/clients/frauddetector.d.ts +174 -0
  62. package/clients/imagebuilder.d.ts +378 -340
  63. package/clients/iot.d.ts +5 -0
  64. package/clients/iotwireless.d.ts +75 -0
  65. package/clients/kendra.d.ts +27 -17
  66. package/clients/lexmodelbuildingservice.d.ts +1 -1
  67. package/clients/lexruntime.d.ts +17 -3
  68. package/clients/lightsail.d.ts +17 -2
  69. package/clients/machinelearning.d.ts +71 -71
  70. package/clients/mediaconvert.d.ts +70 -11
  71. package/clients/mediapackage.d.ts +13 -0
  72. package/clients/pinpoint.d.ts +23 -3
  73. package/clients/redshift.d.ts +275 -0
  74. package/clients/route53resolver.d.ts +1093 -57
  75. package/clients/sagemaker.d.ts +76 -44
  76. package/clients/transcribeservice.d.ts +1 -1
  77. package/clients/wafv2.d.ts +126 -3
  78. package/clients/workmail.d.ts +294 -0
  79. package/dist/aws-sdk-core-react-native.js +2 -2
  80. package/dist/aws-sdk-react-native.js +1868 -1835
  81. package/dist/aws-sdk.js +2415 -1583
  82. package/dist/aws-sdk.min.js +80 -80
  83. package/lib/core.js +1 -1
  84. package/lib/event_listeners.js +1 -1
  85. package/lib/http/node.js +1 -1
  86. package/lib/services/s3.js +31 -8
  87. package/lib/services/s3control.js +18 -15
  88. package/lib/services/s3util.js +10 -10
  89. package/package.json +1 -1
  90. package/scripts/region-checker/allowlist.js +12 -12
@@ -75,6 +75,14 @@ declare class DirectConnect extends Service {
75
75
  * Associates a hosted connection and its virtual interfaces with a link aggregation group (LAG) or interconnect. If the target interconnect or LAG has an existing hosted connection with a conflicting VLAN number or IP address, the operation fails. This action temporarily interrupts the hosted connection's connectivity to AWS as it is being migrated. Intended for use by AWS Direct Connect Partners only.
76
76
  */
77
77
  associateHostedConnection(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>;
78
+ /**
79
+ * Associates a MAC Security (MACsec) Connection Key Name (CKN)/ Connectivity Association Key (CAK) pair with an AWS Direct Connect dedicated connection. You must supply either the secretARN, or the CKN/CAK (ckn and cak) pair in the request. For information about MAC Security (MACsec) key considerations, see MACsec pre-shared CKN/CAK key considerations in the AWS Direct Connect User Guide.
80
+ */
81
+ associateMacSecKey(params: DirectConnect.Types.AssociateMacSecKeyRequest, callback?: (err: AWSError, data: DirectConnect.Types.AssociateMacSecKeyResponse) => void): Request<DirectConnect.Types.AssociateMacSecKeyResponse, AWSError>;
82
+ /**
83
+ * Associates a MAC Security (MACsec) Connection Key Name (CKN)/ Connectivity Association Key (CAK) pair with an AWS Direct Connect dedicated connection. You must supply either the secretARN, or the CKN/CAK (ckn and cak) pair in the request. For information about MAC Security (MACsec) key considerations, see MACsec pre-shared CKN/CAK key considerations in the AWS Direct Connect User Guide.
84
+ */
85
+ associateMacSecKey(callback?: (err: AWSError, data: DirectConnect.Types.AssociateMacSecKeyResponse) => void): Request<DirectConnect.Types.AssociateMacSecKeyResponse, AWSError>;
78
86
  /**
79
87
  * Associates a virtual interface with a specified link aggregation group (LAG) or connection. Connectivity to AWS is temporarily interrupted as the virtual interface is being migrated. If the target connection or LAG has an associated virtual interface with a conflicting VLAN number or a conflicting IP address, the operation fails. Virtual interfaces associated with a hosted connection cannot be associated with a LAG; hosted connections must be migrated along with their virtual interfaces using AssociateHostedConnection. To reassociate a virtual interface to a new connection or LAG, the requester must own either the virtual interface itself or the connection to which the virtual interface is currently associated. Additionally, the requester must own the connection or LAG for the association.
80
88
  */
@@ -387,6 +395,14 @@ declare class DirectConnect extends Service {
387
395
  * Disassociates a connection from a link aggregation group (LAG). The connection is interrupted and re-established as a standalone connection (the connection is not deleted; to delete the connection, use the DeleteConnection request). If the LAG has associated virtual interfaces or hosted connections, they remain associated with the LAG. A disassociated connection owned by an AWS Direct Connect Partner is automatically converted to an interconnect. If disassociating the connection would cause the LAG to fall below its setting for minimum number of operational connections, the request fails, except when it's the last member of the LAG. If all connections are disassociated, the LAG continues to exist as an empty LAG with no physical connections.
388
396
  */
389
397
  disassociateConnectionFromLag(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>;
398
+ /**
399
+ * Removes the association between a MAC Security (MACsec) security key and an AWS Direct Connect dedicated connection.
400
+ */
401
+ disassociateMacSecKey(params: DirectConnect.Types.DisassociateMacSecKeyRequest, callback?: (err: AWSError, data: DirectConnect.Types.DisassociateMacSecKeyResponse) => void): Request<DirectConnect.Types.DisassociateMacSecKeyResponse, AWSError>;
402
+ /**
403
+ * Removes the association between a MAC Security (MACsec) security key and an AWS Direct Connect dedicated connection.
404
+ */
405
+ disassociateMacSecKey(callback?: (err: AWSError, data: DirectConnect.Types.DisassociateMacSecKeyResponse) => void): Request<DirectConnect.Types.DisassociateMacSecKeyResponse, AWSError>;
390
406
  /**
391
407
  * Lists the virtual interface failover test history.
392
408
  */
@@ -427,6 +443,14 @@ declare class DirectConnect extends Service {
427
443
  * Removes one or more tags from the specified AWS Direct Connect resource.
428
444
  */
429
445
  untagResource(callback?: (err: AWSError, data: DirectConnect.Types.UntagResourceResponse) => void): Request<DirectConnect.Types.UntagResourceResponse, AWSError>;
446
+ /**
447
+ * Updates the AWS Direct Connect dedicated connection configuration. You can update the following parameters for a connection: The connection name The connection's MAC Security (MACsec) encryption mode.
448
+ */
449
+ updateConnection(params: DirectConnect.Types.UpdateConnectionRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>;
450
+ /**
451
+ * Updates the AWS Direct Connect dedicated connection configuration. You can update the following parameters for a connection: The connection name The connection's MAC Security (MACsec) encryption mode.
452
+ */
453
+ updateConnection(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>;
430
454
  /**
431
455
  * Updates the specified attributes of the Direct Connect gateway association. Add or remove prefixes from the association.
432
456
  */
@@ -436,11 +460,11 @@ declare class DirectConnect extends Service {
436
460
  */
437
461
  updateDirectConnectGatewayAssociation(callback?: (err: AWSError, data: DirectConnect.Types.UpdateDirectConnectGatewayAssociationResult) => void): Request<DirectConnect.Types.UpdateDirectConnectGatewayAssociationResult, AWSError>;
438
462
  /**
439
- * Updates the attributes of the specified link aggregation group (LAG). You can update the following attributes: The name of the LAG. The value for the minimum number of connections that must be operational for the LAG itself to be operational. When you create a LAG, the default value for the minimum number of operational connections is zero (0). If you update this value and the number of operational connections falls below the specified value, the LAG automatically goes down to avoid over-utilization of the remaining connections. Adjust this value with care, as it could force the LAG down if it is set higher than the current number of operational connections.
463
+ * Updates the attributes of the specified link aggregation group (LAG). You can update the following LAG attributes: The name of the LAG. The value for the minimum number of connections that must be operational for the LAG itself to be operational. The LAG's MACsec encryption mode. AWS assigns this value to each connection which is part of the LAG. The tags If you adjust the threshold value for the minimum number of operational connections, ensure that the new value does not cause the LAG to fall below the threshold and become non-operational.
440
464
  */
441
465
  updateLag(params: DirectConnect.Types.UpdateLagRequest, callback?: (err: AWSError, data: DirectConnect.Types.Lag) => void): Request<DirectConnect.Types.Lag, AWSError>;
442
466
  /**
443
- * Updates the attributes of the specified link aggregation group (LAG). You can update the following attributes: The name of the LAG. The value for the minimum number of connections that must be operational for the LAG itself to be operational. When you create a LAG, the default value for the minimum number of operational connections is zero (0). If you update this value and the number of operational connections falls below the specified value, the LAG automatically goes down to avoid over-utilization of the remaining connections. Adjust this value with care, as it could force the LAG down if it is set higher than the current number of operational connections.
467
+ * Updates the attributes of the specified link aggregation group (LAG). You can update the following LAG attributes: The name of the LAG. The value for the minimum number of connections that must be operational for the LAG itself to be operational. The LAG's MACsec encryption mode. AWS assigns this value to each connection which is part of the LAG. The tags If you adjust the threshold value for the minimum number of operational connections, ensure that the new value does not cause the LAG to fall below the threshold and become non-operational.
444
468
  */
445
469
  updateLag(callback?: (err: AWSError, data: DirectConnect.Types.Lag) => void): Request<DirectConnect.Types.Lag, AWSError>;
446
470
  /**
@@ -590,6 +614,34 @@ declare namespace DirectConnect {
590
614
  */
591
615
  parentConnectionId: ConnectionId;
592
616
  }
617
+ export interface AssociateMacSecKeyRequest {
618
+ /**
619
+ * The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx). You can use DescribeConnections or DescribeLags to retrieve connection ID.
620
+ */
621
+ connectionId: ConnectionId;
622
+ /**
623
+ * The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated connection. You can use DescribeConnections or DescribeLags to retrieve the MAC Security (MACsec) secret key. If you use this request parameter, you do not use the ckn and cak request parameters.
624
+ */
625
+ secretARN?: SecretARN;
626
+ /**
627
+ * The MAC Security (MACsec) CKN to associate with the dedicated connection. You can create the CKN/CAK pair using an industry standard tool. The valid values are 64 hexadecimal characters (0-9, A-E). If you use this request parameter, you must use the cak request parameter and not use the secretARN request parameter.
628
+ */
629
+ ckn?: Ckn;
630
+ /**
631
+ * The MAC Security (MACsec) CAK to associate with the dedicated connection. You can create the CKN/CAK pair using an industry standard tool. The valid values are 64 hexadecimal characters (0-9, A-E). If you use this request parameter, you must use the ckn request parameter and not use the secretARN request parameter.
632
+ */
633
+ cak?: Cak;
634
+ }
635
+ export interface AssociateMacSecKeyResponse {
636
+ /**
637
+ * The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
638
+ */
639
+ connectionId?: ConnectionId;
640
+ /**
641
+ * The MAC Security (MACsec) security keys associated with the dedicated connection.
642
+ */
643
+ macSecKeys?: MacSecKeyList;
644
+ }
593
645
  export interface AssociateVirtualInterfaceRequest {
594
646
  /**
595
647
  * The ID of the virtual interface.
@@ -619,6 +671,7 @@ declare namespace DirectConnect {
619
671
  region?: Region;
620
672
  }
621
673
  export type AssociatedGatewayId = string;
674
+ export type AvailableMacSecPortSpeeds = PortSpeed[];
622
675
  export type AvailablePortSpeeds = PortSpeed[];
623
676
  export type AwsDevice = string;
624
677
  export type AwsDeviceV2 = string;
@@ -669,6 +722,8 @@ declare namespace DirectConnect {
669
722
  export type Bandwidth = string;
670
723
  export type BooleanFlag = boolean;
671
724
  export type CIDR = string;
725
+ export type Cak = string;
726
+ export type Ckn = string;
672
727
  export interface ConfirmConnectionRequest {
673
728
  /**
674
729
  * The ID of the hosted connection.
@@ -798,6 +853,22 @@ declare namespace DirectConnect {
798
853
  * The name of the service provider associated with the connection.
799
854
  */
800
855
  providerName?: ProviderName;
856
+ /**
857
+ * Indicates whether the connection supports MAC Security (MACsec).
858
+ */
859
+ macSecCapable?: MacSecCapable;
860
+ /**
861
+ * The MAC Security (MACsec) port link status of the connection. The valid values are Encryption Up, which means that there is an active Connection Key Name, or Encryption Down.
862
+ */
863
+ portEncryptionStatus?: PortEncryptionStatus;
864
+ /**
865
+ * The MAC Security (MACsec) connection encryption mode. The valid values are no_encrypt, should_encrypt, and must_encrypt.
866
+ */
867
+ encryptionMode?: EncryptionMode;
868
+ /**
869
+ * The MAC Security (MACsec) security keys associated with the connection.
870
+ */
871
+ macSecKeys?: MacSecKeyList;
801
872
  }
802
873
  export type ConnectionId = string;
803
874
  export type ConnectionList = Connection[];
@@ -851,6 +922,10 @@ declare namespace DirectConnect {
851
922
  * The name of the service provider associated with the requested connection.
852
923
  */
853
924
  providerName?: ProviderName;
925
+ /**
926
+ * Indicates whether you want the connection to support MAC Security (MACsec). MAC Security (MACsec) is only available on dedicated connections. For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the AWS Direct Connect User Guide.
927
+ */
928
+ requestMACSec?: RequestMACSec;
854
929
  }
855
930
  export interface CreateDirectConnectGatewayAssociationProposalRequest {
856
931
  /**
@@ -979,6 +1054,10 @@ declare namespace DirectConnect {
979
1054
  * The name of the service provider associated with the LAG.
980
1055
  */
981
1056
  providerName?: ProviderName;
1057
+ /**
1058
+ * Indicates whether the connection will support MAC Security (MACsec). All connections in the LAG must be capable of supporting MAC Security (MACsec). For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the AWS Direct Connect User Guide.
1059
+ */
1060
+ requestMACSec?: RequestMACSec;
982
1061
  }
983
1062
  export interface CreatePrivateVirtualInterfaceRequest {
984
1063
  /**
@@ -1495,6 +1574,27 @@ declare namespace DirectConnect {
1495
1574
  */
1496
1575
  lagId: LagId;
1497
1576
  }
1577
+ export interface DisassociateMacSecKeyRequest {
1578
+ /**
1579
+ * The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx). You can use DescribeConnections or DescribeLags to retrieve connection ID.
1580
+ */
1581
+ connectionId: ConnectionId;
1582
+ /**
1583
+ * The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key. You can use DescribeConnections to retrieve the ARN of the MAC Security (MACsec) secret key.
1584
+ */
1585
+ secretARN: SecretARN;
1586
+ }
1587
+ export interface DisassociateMacSecKeyResponse {
1588
+ /**
1589
+ * The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
1590
+ */
1591
+ connectionId?: ConnectionId;
1592
+ /**
1593
+ * The MAC Security (MACsec) security keys no longer associated with the dedicated connection.
1594
+ */
1595
+ macSecKeys?: MacSecKeyList;
1596
+ }
1597
+ export type EncryptionMode = string;
1498
1598
  export type EndTime = Date;
1499
1599
  export type FailureTestHistoryStatus = string;
1500
1600
  export type GatewayIdToAssociate = string;
@@ -1639,6 +1739,18 @@ declare namespace DirectConnect {
1639
1739
  * The name of the service provider associated with the LAG.
1640
1740
  */
1641
1741
  providerName?: ProviderName;
1742
+ /**
1743
+ * Indicates whether the LAG supports MAC Security (MACsec).
1744
+ */
1745
+ macSecCapable?: MacSecCapable;
1746
+ /**
1747
+ * The LAG MAC Security (MACsec) encryption mode. The valid values are no_encrypt, should_encrypt, and must_encrypt.
1748
+ */
1749
+ encryptionMode?: EncryptionMode;
1750
+ /**
1751
+ * The MAC Security (MACsec) security keys associated with the LAG.
1752
+ */
1753
+ macSecKeys?: MacSecKeyList;
1642
1754
  }
1643
1755
  export type LagId = string;
1644
1756
  export type LagList = Lag[];
@@ -1720,6 +1832,10 @@ declare namespace DirectConnect {
1720
1832
  * The name of the service provider for the location.
1721
1833
  */
1722
1834
  availableProviders?: ProviderList;
1835
+ /**
1836
+ * The available MAC Security (MACsec) port speeds for the location.
1837
+ */
1838
+ availableMacSecPortSpeeds?: AvailableMacSecPortSpeeds;
1723
1839
  }
1724
1840
  export type LocationCode = string;
1725
1841
  export type LocationList = Location[];
@@ -1732,6 +1848,26 @@ declare namespace DirectConnect {
1732
1848
  }
1733
1849
  export type LongAsn = number;
1734
1850
  export type MTU = number;
1851
+ export type MacSecCapable = boolean;
1852
+ export interface MacSecKey {
1853
+ /**
1854
+ * The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key.
1855
+ */
1856
+ secretARN?: SecretARN;
1857
+ /**
1858
+ * The Connection Key Name (CKN) for the MAC Security secret key.
1859
+ */
1860
+ ckn?: Ckn;
1861
+ /**
1862
+ * The state of the MAC Security (MACsec) secret key. The possible values are: associating: The MAC Security (MACsec) secret key is being validated and not yet associated with the connection or LAG. associated: The MAC Security (MACsec) secret key is validated and associated with the connection or LAG. disassociating: The MAC Security (MACsec) secret key is being disassociated from the connection or LAG disassociated: The MAC Security (MACsec) secret key is no longer associated with the connection or LAG.
1863
+ */
1864
+ state?: State;
1865
+ /**
1866
+ * The date that the MAC Security (MACsec) secret key takes effect. The value is displayed in UTC format.
1867
+ */
1868
+ startOn?: StartOnDate;
1869
+ }
1870
+ export type MacSecKeyList = MacSecKey[];
1735
1871
  export type MaxResultSetSize = number;
1736
1872
  export interface NewBGPPeer {
1737
1873
  /**
@@ -1998,10 +2134,12 @@ declare namespace DirectConnect {
1998
2134
  export type OwnerAccount = string;
1999
2135
  export type PaginationToken = string;
2000
2136
  export type PartnerName = string;
2137
+ export type PortEncryptionStatus = string;
2001
2138
  export type PortSpeed = string;
2002
2139
  export type ProviderList = ProviderName[];
2003
2140
  export type ProviderName = string;
2004
2141
  export type Region = string;
2142
+ export type RequestMACSec = boolean;
2005
2143
  export type ResourceArn = string;
2006
2144
  export type ResourceArnList = ResourceArn[];
2007
2145
  export interface ResourceTag {
@@ -2023,6 +2161,7 @@ declare namespace DirectConnect {
2023
2161
  }
2024
2162
  export type RouteFilterPrefixList = RouteFilterPrefix[];
2025
2163
  export type RouterConfig = string;
2164
+ export type SecretARN = string;
2026
2165
  export interface StartBgpFailoverTestRequest {
2027
2166
  /**
2028
2167
  * The ID of the virtual interface you want to test.
@@ -2043,7 +2182,9 @@ declare namespace DirectConnect {
2043
2182
  */
2044
2183
  virtualInterfaceTest?: VirtualInterfaceTestHistory;
2045
2184
  }
2185
+ export type StartOnDate = string;
2046
2186
  export type StartTime = Date;
2187
+ export type State = string;
2047
2188
  export type StateChangeError = string;
2048
2189
  export interface StopBgpFailoverTestRequest {
2049
2190
  /**
@@ -2097,6 +2238,20 @@ declare namespace DirectConnect {
2097
2238
  }
2098
2239
  export interface UntagResourceResponse {
2099
2240
  }
2241
+ export interface UpdateConnectionRequest {
2242
+ /**
2243
+ * The ID of the dedicated connection. You can use DescribeConnections to retrieve the connection ID.
2244
+ */
2245
+ connectionId: ConnectionId;
2246
+ /**
2247
+ * The name of the connection.
2248
+ */
2249
+ connectionName?: ConnectionName;
2250
+ /**
2251
+ * The connection MAC Security (MACsec) encryption mode. The valid values are no_encrypt, should_encrypt, and must_encrypt.
2252
+ */
2253
+ encryptionMode?: EncryptionMode;
2254
+ }
2100
2255
  export interface UpdateDirectConnectGatewayAssociationRequest {
2101
2256
  /**
2102
2257
  * The ID of the Direct Connect gateway association.
@@ -2127,6 +2282,10 @@ declare namespace DirectConnect {
2127
2282
  * The minimum number of physical connections that must be operational for the LAG itself to be operational.
2128
2283
  */
2129
2284
  minimumLinks?: Count;
2285
+ /**
2286
+ * The LAG MAC Security (MACsec) encryption mode. AWS applies the value to all connections which are part of the LAG.
2287
+ */
2288
+ encryptionMode?: EncryptionMode;
2130
2289
  }
2131
2290
  export interface UpdateVirtualInterfaceAttributesRequest {
2132
2291
  /**