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
package/clients/ec2.d.ts CHANGED
@@ -133,11 +133,11 @@ declare class EC2 extends Service {
133
133
  */
134
134
  associateDhcpOptions(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
135
135
  /**
136
- * Associates an AWS Identity and Access Management (IAM) role with an AWS Certificate Manager (ACM) certificate. This enables the certificate to be used by the ACM for Nitro Enclaves application inside an enclave. For more information, see AWS Certificate Manager for Nitro Enclaves in the AWS Nitro Enclaves User Guide. When the IAM role is associated with the ACM certificate, places the certificate, certificate chain, and encrypted private key in an Amazon S3 bucket that only the associated IAM role can access. The private key of the certificate is encrypted with an AWS-managed KMS customer master (CMK) that has an attached attestation-based CMK policy. To enable the IAM role to access the Amazon S3 object, you must grant it permission to call s3:GetObject on the Amazon S3 bucket returned by the command. To enable the IAM role to access the AWS KMS CMK, you must grant it permission to call kms:Decrypt on AWS KMS CMK returned by the command. For more information, see Grant the role permission to access the certificate and encryption key in the AWS Nitro Enclaves User Guide.
136
+ * Associates an AWS Identity and Access Management (IAM) role with an AWS Certificate Manager (ACM) certificate. This enables the certificate to be used by the ACM for Nitro Enclaves application inside an enclave. For more information, see AWS Certificate Manager for Nitro Enclaves in the AWS Nitro Enclaves User Guide. When the IAM role is associated with the ACM certificate, the certificate, certificate chain, and encrypted private key are placed in an Amazon S3 bucket that only the associated IAM role can access. The private key of the certificate is encrypted with an AWS-managed KMS customer master (CMK) that has an attached attestation-based CMK policy. To enable the IAM role to access the Amazon S3 object, you must grant it permission to call s3:GetObject on the Amazon S3 bucket returned by the command. To enable the IAM role to access the AWS KMS CMK, you must grant it permission to call kms:Decrypt on the AWS KMS CMK returned by the command. For more information, see Grant the role permission to access the certificate and encryption key in the AWS Nitro Enclaves User Guide.
137
137
  */
138
138
  associateEnclaveCertificateIamRole(params: EC2.Types.AssociateEnclaveCertificateIamRoleRequest, callback?: (err: AWSError, data: EC2.Types.AssociateEnclaveCertificateIamRoleResult) => void): Request<EC2.Types.AssociateEnclaveCertificateIamRoleResult, AWSError>;
139
139
  /**
140
- * Associates an AWS Identity and Access Management (IAM) role with an AWS Certificate Manager (ACM) certificate. This enables the certificate to be used by the ACM for Nitro Enclaves application inside an enclave. For more information, see AWS Certificate Manager for Nitro Enclaves in the AWS Nitro Enclaves User Guide. When the IAM role is associated with the ACM certificate, places the certificate, certificate chain, and encrypted private key in an Amazon S3 bucket that only the associated IAM role can access. The private key of the certificate is encrypted with an AWS-managed KMS customer master (CMK) that has an attached attestation-based CMK policy. To enable the IAM role to access the Amazon S3 object, you must grant it permission to call s3:GetObject on the Amazon S3 bucket returned by the command. To enable the IAM role to access the AWS KMS CMK, you must grant it permission to call kms:Decrypt on AWS KMS CMK returned by the command. For more information, see Grant the role permission to access the certificate and encryption key in the AWS Nitro Enclaves User Guide.
140
+ * Associates an AWS Identity and Access Management (IAM) role with an AWS Certificate Manager (ACM) certificate. This enables the certificate to be used by the ACM for Nitro Enclaves application inside an enclave. For more information, see AWS Certificate Manager for Nitro Enclaves in the AWS Nitro Enclaves User Guide. When the IAM role is associated with the ACM certificate, the certificate, certificate chain, and encrypted private key are placed in an Amazon S3 bucket that only the associated IAM role can access. The private key of the certificate is encrypted with an AWS-managed KMS customer master (CMK) that has an attached attestation-based CMK policy. To enable the IAM role to access the Amazon S3 object, you must grant it permission to call s3:GetObject on the Amazon S3 bucket returned by the command. To enable the IAM role to access the AWS KMS CMK, you must grant it permission to call kms:Decrypt on the AWS KMS CMK returned by the command. For more information, see Grant the role permission to access the certificate and encryption key in the AWS Nitro Enclaves User Guide.
141
141
  */
142
142
  associateEnclaveCertificateIamRole(callback?: (err: AWSError, data: EC2.Types.AssociateEnclaveCertificateIamRoleResult) => void): Request<EC2.Types.AssociateEnclaveCertificateIamRoleResult, AWSError>;
143
143
  /**
@@ -580,6 +580,14 @@ declare class EC2 extends Service {
580
580
  * Creates a placement group in which to launch instances. The strategy of the placement group determines how the instances are organized within the group. A cluster placement group is a logical grouping of instances within a single Availability Zone that benefit from low network latency, high network throughput. A spread placement group places instances on distinct hardware. A partition placement group places groups of instances in different partitions, where instances in one partition do not share the same hardware with instances in another partition. For more information, see Placement groups in the Amazon EC2 User Guide.
581
581
  */
582
582
  createPlacementGroup(callback?: (err: AWSError, data: EC2.Types.CreatePlacementGroupResult) => void): Request<EC2.Types.CreatePlacementGroupResult, AWSError>;
583
+ /**
584
+ * Creates a root volume replacement task for an Amazon EC2 instance. The root volume can either be restored to its initial launch state, or it can be restored using a specific snapshot. For more information, see Replace a root volume in the Amazon Elastic Compute Cloud User Guide.
585
+ */
586
+ createReplaceRootVolumeTask(params: EC2.Types.CreateReplaceRootVolumeTaskRequest, callback?: (err: AWSError, data: EC2.Types.CreateReplaceRootVolumeTaskResult) => void): Request<EC2.Types.CreateReplaceRootVolumeTaskResult, AWSError>;
587
+ /**
588
+ * Creates a root volume replacement task for an Amazon EC2 instance. The root volume can either be restored to its initial launch state, or it can be restored using a specific snapshot. For more information, see Replace a root volume in the Amazon Elastic Compute Cloud User Guide.
589
+ */
590
+ createReplaceRootVolumeTask(callback?: (err: AWSError, data: EC2.Types.CreateReplaceRootVolumeTaskResult) => void): Request<EC2.Types.CreateReplaceRootVolumeTaskResult, AWSError>;
583
591
  /**
584
592
  * Creates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved Instance Marketplace. You can submit one Standard Reserved Instance listing at a time. To get a list of your Standard Reserved Instances, you can use the DescribeReservedInstances operation. Only Standard Reserved Instances can be sold in the Reserved Instance Marketplace. Convertible Reserved Instances cannot be sold. The Reserved Instance Marketplace matches sellers who want to resell Standard Reserved Instance capacity that they no longer need with buyers who want to purchase additional capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work like any other Reserved Instances. To sell your Standard Reserved Instances, you must first register as a seller in the Reserved Instance Marketplace. After completing the registration process, you can create a Reserved Instance Marketplace listing of some or all of your Standard Reserved Instances, and specify the upfront price to receive for them. Your Standard Reserved Instance listings then become available for purchase. To view the details of your Standard Reserved Instance listing, you can use the DescribeReservedInstancesListings operation. For more information, see Reserved Instance Marketplace in the Amazon EC2 User Guide.
585
593
  */
@@ -1876,6 +1884,14 @@ declare class EC2 extends Service {
1876
1884
  * Describes the Regions that are enabled for your account, or all Regions. For a list of the Regions supported by Amazon EC2, see Regions and Endpoints. For information about enabling and disabling Regions for your account, see Managing AWS Regions in the AWS General Reference.
1877
1885
  */
1878
1886
  describeRegions(callback?: (err: AWSError, data: EC2.Types.DescribeRegionsResult) => void): Request<EC2.Types.DescribeRegionsResult, AWSError>;
1887
+ /**
1888
+ * Describes a root volume replacement task. For more information, see Replace a root volume in the Amazon Elastic Compute Cloud User Guide.
1889
+ */
1890
+ describeReplaceRootVolumeTasks(params: EC2.Types.DescribeReplaceRootVolumeTasksRequest, callback?: (err: AWSError, data: EC2.Types.DescribeReplaceRootVolumeTasksResult) => void): Request<EC2.Types.DescribeReplaceRootVolumeTasksResult, AWSError>;
1891
+ /**
1892
+ * Describes a root volume replacement task. For more information, see Replace a root volume in the Amazon Elastic Compute Cloud User Guide.
1893
+ */
1894
+ describeReplaceRootVolumeTasks(callback?: (err: AWSError, data: EC2.Types.DescribeReplaceRootVolumeTasksResult) => void): Request<EC2.Types.DescribeReplaceRootVolumeTasksResult, AWSError>;
1879
1895
  /**
1880
1896
  * Describes one or more of the Reserved Instances that you purchased. For more information about Reserved Instances, see Reserved Instances in the Amazon EC2 User Guide.
1881
1897
  */
@@ -2316,6 +2332,14 @@ declare class EC2 extends Service {
2316
2332
  * Disables fast snapshot restores for the specified snapshots in the specified Availability Zones.
2317
2333
  */
2318
2334
  disableFastSnapshotRestores(callback?: (err: AWSError, data: EC2.Types.DisableFastSnapshotRestoresResult) => void): Request<EC2.Types.DisableFastSnapshotRestoresResult, AWSError>;
2335
+ /**
2336
+ * Disables access to the EC2 serial console of all instances for your account. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.
2337
+ */
2338
+ disableSerialConsoleAccess(params: EC2.Types.DisableSerialConsoleAccessRequest, callback?: (err: AWSError, data: EC2.Types.DisableSerialConsoleAccessResult) => void): Request<EC2.Types.DisableSerialConsoleAccessResult, AWSError>;
2339
+ /**
2340
+ * Disables access to the EC2 serial console of all instances for your account. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.
2341
+ */
2342
+ disableSerialConsoleAccess(callback?: (err: AWSError, data: EC2.Types.DisableSerialConsoleAccessResult) => void): Request<EC2.Types.DisableSerialConsoleAccessResult, AWSError>;
2319
2343
  /**
2320
2344
  * Disables the specified resource attachment from propagating routes to the specified propagation route table.
2321
2345
  */
@@ -2421,11 +2445,11 @@ declare class EC2 extends Service {
2421
2445
  */
2422
2446
  disassociateVpcCidrBlock(callback?: (err: AWSError, data: EC2.Types.DisassociateVpcCidrBlockResult) => void): Request<EC2.Types.DisassociateVpcCidrBlockResult, AWSError>;
2423
2447
  /**
2424
- * Enables EBS encryption by default for your account in the current Region. After you enable encryption by default, the EBS volumes that you create are are always encrypted, either using the default CMK or the CMK that you specified when you created each volume. For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide. You can specify the default CMK for encryption by default using ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId. Enabling encryption by default has no effect on the encryption status of your existing volumes. After you enable encryption by default, you can no longer launch instances using instance types that do not support encryption. For more information, see Supported instance types.
2448
+ * Enables EBS encryption by default for your account in the current Region. After you enable encryption by default, the EBS volumes that you create are always encrypted, either using the default CMK or the CMK that you specified when you created each volume. For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide. You can specify the default CMK for encryption by default using ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId. Enabling encryption by default has no effect on the encryption status of your existing volumes. After you enable encryption by default, you can no longer launch instances using instance types that do not support encryption. For more information, see Supported instance types.
2425
2449
  */
2426
2450
  enableEbsEncryptionByDefault(params: EC2.Types.EnableEbsEncryptionByDefaultRequest, callback?: (err: AWSError, data: EC2.Types.EnableEbsEncryptionByDefaultResult) => void): Request<EC2.Types.EnableEbsEncryptionByDefaultResult, AWSError>;
2427
2451
  /**
2428
- * Enables EBS encryption by default for your account in the current Region. After you enable encryption by default, the EBS volumes that you create are are always encrypted, either using the default CMK or the CMK that you specified when you created each volume. For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide. You can specify the default CMK for encryption by default using ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId. Enabling encryption by default has no effect on the encryption status of your existing volumes. After you enable encryption by default, you can no longer launch instances using instance types that do not support encryption. For more information, see Supported instance types.
2452
+ * Enables EBS encryption by default for your account in the current Region. After you enable encryption by default, the EBS volumes that you create are always encrypted, either using the default CMK or the CMK that you specified when you created each volume. For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide. You can specify the default CMK for encryption by default using ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId. Enabling encryption by default has no effect on the encryption status of your existing volumes. After you enable encryption by default, you can no longer launch instances using instance types that do not support encryption. For more information, see Supported instance types.
2429
2453
  */
2430
2454
  enableEbsEncryptionByDefault(callback?: (err: AWSError, data: EC2.Types.EnableEbsEncryptionByDefaultResult) => void): Request<EC2.Types.EnableEbsEncryptionByDefaultResult, AWSError>;
2431
2455
  /**
@@ -2436,6 +2460,14 @@ declare class EC2 extends Service {
2436
2460
  * Enables fast snapshot restores for the specified snapshots in the specified Availability Zones. You get the full benefit of fast snapshot restores after they enter the enabled state. To get the current state of fast snapshot restores, use DescribeFastSnapshotRestores. To disable fast snapshot restores, use DisableFastSnapshotRestores. For more information, see Amazon EBS fast snapshot restore in the Amazon Elastic Compute Cloud User Guide.
2437
2461
  */
2438
2462
  enableFastSnapshotRestores(callback?: (err: AWSError, data: EC2.Types.EnableFastSnapshotRestoresResult) => void): Request<EC2.Types.EnableFastSnapshotRestoresResult, AWSError>;
2463
+ /**
2464
+ * Enables access to the EC2 serial console of all instances for your account. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.
2465
+ */
2466
+ enableSerialConsoleAccess(params: EC2.Types.EnableSerialConsoleAccessRequest, callback?: (err: AWSError, data: EC2.Types.EnableSerialConsoleAccessResult) => void): Request<EC2.Types.EnableSerialConsoleAccessResult, AWSError>;
2467
+ /**
2468
+ * Enables access to the EC2 serial console of all instances for your account. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.
2469
+ */
2470
+ enableSerialConsoleAccess(callback?: (err: AWSError, data: EC2.Types.EnableSerialConsoleAccessResult) => void): Request<EC2.Types.EnableSerialConsoleAccessResult, AWSError>;
2439
2471
  /**
2440
2472
  * Enables the specified attachment to propagate routes to the specified propagation route table.
2441
2473
  */
@@ -2580,6 +2612,14 @@ declare class EC2 extends Service {
2580
2612
  * Describes whether EBS encryption by default is enabled for your account in the current Region. For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide.
2581
2613
  */
2582
2614
  getEbsEncryptionByDefault(callback?: (err: AWSError, data: EC2.Types.GetEbsEncryptionByDefaultResult) => void): Request<EC2.Types.GetEbsEncryptionByDefaultResult, AWSError>;
2615
+ /**
2616
+ * Generates a CloudFormation template that streamlines and automates the integration of VPC flow logs with Amazon Athena. This make it easier for you to query and gain insights from VPC flow logs data. Based on the information that you provide, we configure resources in the template to do the following: Create a table in Athena that maps fields to a custom log format Create a Lambda function that updates the table with new partitions on a daily, weekly, or monthly basis Create a table partitioned between two timestamps in the past Create a set of named queries in Athena that you can use to get started quickly
2617
+ */
2618
+ getFlowLogsIntegrationTemplate(params: EC2.Types.GetFlowLogsIntegrationTemplateRequest, callback?: (err: AWSError, data: EC2.Types.GetFlowLogsIntegrationTemplateResult) => void): Request<EC2.Types.GetFlowLogsIntegrationTemplateResult, AWSError>;
2619
+ /**
2620
+ * Generates a CloudFormation template that streamlines and automates the integration of VPC flow logs with Amazon Athena. This make it easier for you to query and gain insights from VPC flow logs data. Based on the information that you provide, we configure resources in the template to do the following: Create a table in Athena that maps fields to a custom log format Create a Lambda function that updates the table with new partitions on a daily, weekly, or monthly basis Create a table partitioned between two timestamps in the past Create a set of named queries in Athena that you can use to get started quickly
2621
+ */
2622
+ getFlowLogsIntegrationTemplate(callback?: (err: AWSError, data: EC2.Types.GetFlowLogsIntegrationTemplateResult) => void): Request<EC2.Types.GetFlowLogsIntegrationTemplateResult, AWSError>;
2583
2623
  /**
2584
2624
  * Lists the resource groups to which a Capacity Reservation has been added.
2585
2625
  */
@@ -2636,6 +2676,14 @@ declare class EC2 extends Service {
2636
2676
  * Returns a quote and exchange information for exchanging one or more specified Convertible Reserved Instances for a new Convertible Reserved Instance. If the exchange cannot be performed, the reason is returned in the response. Use AcceptReservedInstancesExchangeQuote to perform the exchange.
2637
2677
  */
2638
2678
  getReservedInstancesExchangeQuote(callback?: (err: AWSError, data: EC2.Types.GetReservedInstancesExchangeQuoteResult) => void): Request<EC2.Types.GetReservedInstancesExchangeQuoteResult, AWSError>;
2679
+ /**
2680
+ * Retrieves the access status of your account to the EC2 serial console of all instances. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.
2681
+ */
2682
+ getSerialConsoleAccessStatus(params: EC2.Types.GetSerialConsoleAccessStatusRequest, callback?: (err: AWSError, data: EC2.Types.GetSerialConsoleAccessStatusResult) => void): Request<EC2.Types.GetSerialConsoleAccessStatusResult, AWSError>;
2683
+ /**
2684
+ * Retrieves the access status of your account to the EC2 serial console of all instances. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.
2685
+ */
2686
+ getSerialConsoleAccessStatus(callback?: (err: AWSError, data: EC2.Types.GetSerialConsoleAccessStatusResult) => void): Request<EC2.Types.GetSerialConsoleAccessStatusResult, AWSError>;
2639
2687
  /**
2640
2688
  * Lists the route tables to which the specified resource attachment propagates routes.
2641
2689
  */
@@ -4574,14 +4622,14 @@ declare namespace EC2 {
4574
4622
  AssociationState?: RouteTableAssociationState;
4575
4623
  }
4576
4624
  export interface AssociateSubnetCidrBlockRequest {
4577
- /**
4578
- * The ID of your subnet.
4579
- */
4580
- SubnetId: SubnetId;
4581
4625
  /**
4582
4626
  * The IPv6 CIDR block for your subnet. The subnet must have a /64 prefix length.
4583
4627
  */
4584
4628
  Ipv6CidrBlock: String;
4629
+ /**
4630
+ * The ID of your subnet.
4631
+ */
4632
+ SubnetId: SubnetId;
4585
4633
  }
4586
4634
  export interface AssociateSubnetCidrBlockResult {
4587
4635
  /**
@@ -4720,6 +4768,25 @@ declare namespace EC2 {
4720
4768
  Message?: String;
4721
4769
  }
4722
4770
  export type AssociationStatusCode = "associating"|"associated"|"association-failed"|"disassociating"|"disassociated"|string;
4771
+ export interface AthenaIntegration {
4772
+ /**
4773
+ * The location in Amazon S3 to store the generated CloudFormation template.
4774
+ */
4775
+ IntegrationResultS3DestinationArn: String;
4776
+ /**
4777
+ * The schedule for adding new partitions to the table.
4778
+ */
4779
+ PartitionLoadFrequency: PartitionLoadFrequency;
4780
+ /**
4781
+ * The start date for the partition.
4782
+ */
4783
+ PartitionStartDate?: MillisecondDateTime;
4784
+ /**
4785
+ * The end date for the partition.
4786
+ */
4787
+ PartitionEndDate?: MillisecondDateTime;
4788
+ }
4789
+ export type AthenaIntegrationsSet = AthenaIntegration[];
4723
4790
  export interface AttachClassicLinkVpcRequest {
4724
4791
  /**
4725
4792
  * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
@@ -7275,6 +7342,34 @@ declare namespace EC2 {
7275
7342
  export interface CreatePlacementGroupResult {
7276
7343
  PlacementGroup?: PlacementGroup;
7277
7344
  }
7345
+ export interface CreateReplaceRootVolumeTaskRequest {
7346
+ /**
7347
+ * The ID of the instance for which to replace the root volume.
7348
+ */
7349
+ InstanceId: InstanceId;
7350
+ /**
7351
+ * The ID of the snapshot from which to restore the replacement root volume. If you want to restore the volume to the initial launch state, omit this parameter.
7352
+ */
7353
+ SnapshotId?: SnapshotId;
7354
+ /**
7355
+ * Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency. For more information, see Ensuring Idempotency.
7356
+ */
7357
+ ClientToken?: String;
7358
+ /**
7359
+ * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
7360
+ */
7361
+ DryRun?: Boolean;
7362
+ /**
7363
+ * The tags to apply to the root volume replacement task.
7364
+ */
7365
+ TagSpecifications?: TagSpecificationList;
7366
+ }
7367
+ export interface CreateReplaceRootVolumeTaskResult {
7368
+ /**
7369
+ * Information about the root volume replacement task.
7370
+ */
7371
+ ReplaceRootVolumeTask?: ReplaceRootVolumeTask;
7372
+ }
7278
7373
  export interface CreateReservedInstancesListingRequest {
7279
7374
  /**
7280
7375
  * Unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid duplicate listings. For more information, see Ensuring Idempotency.
@@ -7506,6 +7601,10 @@ declare namespace EC2 {
7506
7601
  * The AZ ID or the Local Zone ID of the subnet.
7507
7602
  */
7508
7603
  AvailabilityZoneId?: String;
7604
+ /**
7605
+ * The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24. We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.
7606
+ */
7607
+ CidrBlock: String;
7509
7608
  /**
7510
7609
  * The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.
7511
7610
  */
@@ -7522,10 +7621,6 @@ declare namespace EC2 {
7522
7621
  * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
7523
7622
  */
7524
7623
  DryRun?: Boolean;
7525
- /**
7526
- * The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24. We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.
7527
- */
7528
- CidrBlock: String;
7529
7624
  }
7530
7625
  export interface CreateSubnetResult {
7531
7626
  /**
@@ -11650,6 +11745,39 @@ declare namespace EC2 {
11650
11745
  */
11651
11746
  Regions?: RegionList;
11652
11747
  }
11748
+ export type DescribeReplaceRootVolumeTasksMaxResults = number;
11749
+ export interface DescribeReplaceRootVolumeTasksRequest {
11750
+ /**
11751
+ * The ID of the root volume replacement task to view.
11752
+ */
11753
+ ReplaceRootVolumeTaskIds?: ReplaceRootVolumeTaskIds;
11754
+ /**
11755
+ * Filter to use: instance-id - The ID of the instance for which the root volume replacement task was created.
11756
+ */
11757
+ Filters?: FilterList;
11758
+ /**
11759
+ * The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
11760
+ */
11761
+ MaxResults?: DescribeReplaceRootVolumeTasksMaxResults;
11762
+ /**
11763
+ * The token for the next page of results.
11764
+ */
11765
+ NextToken?: NextToken;
11766
+ /**
11767
+ * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
11768
+ */
11769
+ DryRun?: Boolean;
11770
+ }
11771
+ export interface DescribeReplaceRootVolumeTasksResult {
11772
+ /**
11773
+ * Information about the root volume replacement task.
11774
+ */
11775
+ ReplaceRootVolumeTasks?: ReplaceRootVolumeTasks;
11776
+ /**
11777
+ * The token to use to retrieve the next page of results. This value is null when there are no more results to return.
11778
+ */
11779
+ NextToken?: String;
11780
+ }
11653
11781
  export interface DescribeReservedInstancesListingsRequest {
11654
11782
  /**
11655
11783
  * One or more filters. reserved-instances-id - The ID of the Reserved Instances. reserved-instances-listing-id - The ID of the Reserved Instances listing. status - The status of the Reserved Instance listing (pending | active | cancelled | closed). status-message - The reason for the status.
@@ -12264,7 +12392,7 @@ declare namespace EC2 {
12264
12392
  export type DescribeSubnetsMaxResults = number;
12265
12393
  export interface DescribeSubnetsRequest {
12266
12394
  /**
12267
- * One or more filters. availability-zone - The Availability Zone for the subnet. You can also use availabilityZone as the filter name. availability-zone-id - The ID of the Availability Zone for the subnet. You can also use availabilityZoneId as the filter name. available-ip-address-count - The number of IPv4 addresses in the subnet that are available. cidr-block - The IPv4 CIDR block of the subnet. The CIDR block you specify must exactly match the subnet's CIDR block for information to be returned for the subnet. You can also use cidr or cidrBlock as the filter names. default-for-az - Indicates whether this is the default subnet for the Availability Zone. You can also use defaultForAz as the filter name. ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR block associated with the subnet. ipv6-cidr-block-association.association-id - An association ID for an IPv6 CIDR block associated with the subnet. ipv6-cidr-block-association.state - The state of an IPv6 CIDR block associated with the subnet. owner-id - The ID of the AWS account that owns the subnet. state - The state of the subnet (pending | available). subnet-arn - The Amazon Resource Name (ARN) of the subnet. subnet-id - The ID of the subnet. tag:&lt;key&gt; - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value. tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. vpc-id - The ID of the VPC for the subnet.
12395
+ * One or more filters. availability-zone - The Availability Zone for the subnet. You can also use availabilityZone as the filter name. availability-zone-id - The ID of the Availability Zone for the subnet. You can also use availabilityZoneId as the filter name. available-ip-address-count - The number of IPv4 addresses in the subnet that are available. cidr-block - The IPv4 CIDR block of the subnet. The CIDR block you specify must exactly match the subnet's CIDR block for information to be returned for the subnet. You can also use cidr or cidrBlock as the filter names. default-for-az - Indicates whether this is the default subnet for the Availability Zone. You can also use defaultForAz as the filter name. ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR block associated with the subnet. ipv6-cidr-block-association.association-id - An association ID for an IPv6 CIDR block associated with the subnet. ipv6-cidr-block-association.state - The state of an IPv6 CIDR block associated with the subnet. outpost-arn - The Amazon Resource Name (ARN) of the Outpost. owner-id - The ID of the AWS account that owns the subnet. state - The state of the subnet (pending | available). subnet-arn - The Amazon Resource Name (ARN) of the subnet. subnet-id - The ID of the subnet. tag:&lt;key&gt; - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value. tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. vpc-id - The ID of the VPC for the subnet.
12268
12396
  */
12269
12397
  Filters?: FilterList;
12270
12398
  /**
@@ -13415,6 +13543,18 @@ declare namespace EC2 {
13415
13543
  */
13416
13544
  Unsuccessful?: DisableFastSnapshotRestoreErrorSet;
13417
13545
  }
13546
+ export interface DisableSerialConsoleAccessRequest {
13547
+ /**
13548
+ * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
13549
+ */
13550
+ DryRun?: Boolean;
13551
+ }
13552
+ export interface DisableSerialConsoleAccessResult {
13553
+ /**
13554
+ * If true, access to the EC2 serial console of all instances is enabled for your account. If false, access to the EC2 serial console of all instances is disabled for your account.
13555
+ */
13556
+ SerialConsoleAccessEnabled?: Boolean;
13557
+ }
13418
13558
  export interface DisableTransitGatewayRouteTablePropagationRequest {
13419
13559
  /**
13420
13560
  * The ID of the propagation route table.
@@ -14098,6 +14238,18 @@ declare namespace EC2 {
14098
14238
  */
14099
14239
  Unsuccessful?: EnableFastSnapshotRestoreErrorSet;
14100
14240
  }
14241
+ export interface EnableSerialConsoleAccessRequest {
14242
+ /**
14243
+ * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
14244
+ */
14245
+ DryRun?: Boolean;
14246
+ }
14247
+ export interface EnableSerialConsoleAccessResult {
14248
+ /**
14249
+ * If true, access to the EC2 serial console of all instances is enabled for your account. If false, access to the EC2 serial console of all instances is disabled for your account.
14250
+ */
14251
+ SerialConsoleAccessEnabled?: Boolean;
14252
+ }
14101
14253
  export interface EnableTransitGatewayRouteTablePropagationRequest {
14102
14254
  /**
14103
14255
  * The ID of the propagation route table.
@@ -15349,6 +15501,30 @@ declare namespace EC2 {
15349
15501
  */
15350
15502
  EbsEncryptionByDefault?: Boolean;
15351
15503
  }
15504
+ export interface GetFlowLogsIntegrationTemplateRequest {
15505
+ /**
15506
+ * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
15507
+ */
15508
+ DryRun?: Boolean;
15509
+ /**
15510
+ * The ID of the flow log.
15511
+ */
15512
+ FlowLogId: VpcFlowLogId;
15513
+ /**
15514
+ * To store the CloudFormation template in Amazon S3, specify the location in Amazon S3.
15515
+ */
15516
+ ConfigDeliveryS3DestinationArn: String;
15517
+ /**
15518
+ * Information about the service integration.
15519
+ */
15520
+ IntegrateServices: IntegrateServices;
15521
+ }
15522
+ export interface GetFlowLogsIntegrationTemplateResult {
15523
+ /**
15524
+ * The generated CloudFormation template.
15525
+ */
15526
+ Result?: String;
15527
+ }
15352
15528
  export interface GetGroupsForCapacityReservationRequest {
15353
15529
  /**
15354
15530
  * The ID of the Capacity Reservation.
@@ -15559,6 +15735,18 @@ declare namespace EC2 {
15559
15735
  */
15560
15736
  ValidationFailureReason?: String;
15561
15737
  }
15738
+ export interface GetSerialConsoleAccessStatusRequest {
15739
+ /**
15740
+ * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
15741
+ */
15742
+ DryRun?: Boolean;
15743
+ }
15744
+ export interface GetSerialConsoleAccessStatusResult {
15745
+ /**
15746
+ * If true, access to the EC2 serial console of all instances is enabled for your account. If false, access to the EC2 serial console of all instances is disabled for your account.
15747
+ */
15748
+ SerialConsoleAccessEnabled?: Boolean;
15749
+ }
15562
15750
  export interface GetTransitGatewayAttachmentPropagationsRequest {
15563
15751
  /**
15564
15752
  * The ID of the attachment.
@@ -17723,6 +17911,12 @@ declare namespace EC2 {
17723
17911
  }
17724
17912
  export type InstanceUsageSet = InstanceUsage[];
17725
17913
  export type Integer = number;
17914
+ export interface IntegrateServices {
17915
+ /**
17916
+ * Information about the integration with Amazon Athena.
17917
+ */
17918
+ AthenaIntegrations?: AthenaIntegrationsSet;
17919
+ }
17726
17920
  export type InterfacePermissionType = "INSTANCE-ATTACH"|"EIP-ASSOCIATE"|string;
17727
17921
  export interface InternetGateway {
17728
17922
  /**
@@ -20047,7 +20241,7 @@ declare namespace EC2 {
20047
20241
  */
20048
20242
  VolumeType?: VolumeType;
20049
20243
  /**
20050
- * The target IOPS rate of the volume. This parameter is valid only for gp3, io1, and io2 volumes. The following are the supported values for each volume type: gp3: 3,000-16,000 IOPS io1: 100-64,000 IOPS io2: 100-64,000 IOPS Default: If no IOPS value is specified, the existing value is retained.
20244
+ * The target IOPS rate of the volume. This parameter is valid only for gp3, io1, and io2 volumes. The following are the supported values for each volume type: gp3: 3,000-16,000 IOPS io1: 100-64,000 IOPS io2: 100-64,000 IOPS Default: If no IOPS value is specified, the existing value is retained, unless a volume type is modified that supports different values.
20051
20245
  */
20052
20246
  Iops?: Integer;
20053
20247
  /**
@@ -21112,6 +21306,7 @@ declare namespace EC2 {
21112
21306
  }
21113
21307
  export type OperationType = "add"|"remove"|string;
21114
21308
  export type OwnerStringList = String[];
21309
+ export type PartitionLoadFrequency = "none"|"daily"|"weekly"|"monthly"|string;
21115
21310
  export interface PathComponent {
21116
21311
  /**
21117
21312
  * The sequence number.
@@ -22250,6 +22445,36 @@ declare namespace EC2 {
22250
22445
  */
22251
22446
  RuleNumber: Integer;
22252
22447
  }
22448
+ export interface ReplaceRootVolumeTask {
22449
+ /**
22450
+ * The ID of the root volume replacement task.
22451
+ */
22452
+ ReplaceRootVolumeTaskId?: ReplaceRootVolumeTaskId;
22453
+ /**
22454
+ * The ID of the instance for which the root volume replacement task was created.
22455
+ */
22456
+ InstanceId?: String;
22457
+ /**
22458
+ * The state of the task. The task can be in one of the following states: pending - the replacement volume is being created. in-progress - the original volume is being detached and the replacement volume is being attached. succeeded - the replacement volume has been successfully attached to the instance and the instance is available. failing - the replacement task is in the process of failing. failed - the replacement task has failed but the original root volume is still attached. failing-detached - the replacement task is in the process of failing. The instance might have no root volume attached. failed-detached - the replacement task has failed and the instance has no root volume attached.
22459
+ */
22460
+ TaskState?: ReplaceRootVolumeTaskState;
22461
+ /**
22462
+ * The time the task was started.
22463
+ */
22464
+ StartTime?: String;
22465
+ /**
22466
+ * The time the task completed.
22467
+ */
22468
+ CompleteTime?: String;
22469
+ /**
22470
+ * The tags assigned to the task.
22471
+ */
22472
+ Tags?: TagList;
22473
+ }
22474
+ export type ReplaceRootVolumeTaskId = string;
22475
+ export type ReplaceRootVolumeTaskIds = ReplaceRootVolumeTaskId[];
22476
+ export type ReplaceRootVolumeTaskState = "pending"|"in-progress"|"failing"|"succeeded"|"failed"|"failed-detached"|string;
22477
+ export type ReplaceRootVolumeTasks = ReplaceRootVolumeTask[];
22253
22478
  export interface ReplaceRouteRequest {
22254
22479
  /**
22255
22480
  * The IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
@@ -12,13 +12,21 @@ declare class EC2InstanceConnect extends Service {
12
12
  constructor(options?: EC2InstanceConnect.Types.ClientConfiguration)
13
13
  config: Config & EC2InstanceConnect.Types.ClientConfiguration;
14
14
  /**
15
- * Pushes an SSH public key to a particular OS user on a given EC2 instance for 60 seconds.
15
+ * Pushes an SSH public key to the specified EC2 instance for use by the specified user. The key remains for 60 seconds. For more information, see Connect to your Linux instance using EC2 Instance Connect in the Amazon EC2 User Guide.
16
16
  */
17
17
  sendSSHPublicKey(params: EC2InstanceConnect.Types.SendSSHPublicKeyRequest, callback?: (err: AWSError, data: EC2InstanceConnect.Types.SendSSHPublicKeyResponse) => void): Request<EC2InstanceConnect.Types.SendSSHPublicKeyResponse, AWSError>;
18
18
  /**
19
- * Pushes an SSH public key to a particular OS user on a given EC2 instance for 60 seconds.
19
+ * Pushes an SSH public key to the specified EC2 instance for use by the specified user. The key remains for 60 seconds. For more information, see Connect to your Linux instance using EC2 Instance Connect in the Amazon EC2 User Guide.
20
20
  */
21
21
  sendSSHPublicKey(callback?: (err: AWSError, data: EC2InstanceConnect.Types.SendSSHPublicKeyResponse) => void): Request<EC2InstanceConnect.Types.SendSSHPublicKeyResponse, AWSError>;
22
+ /**
23
+ * Pushes an SSH public key to the specified EC2 instance. The key remains for 60 seconds, which gives you 60 seconds to establish a serial console connection to the instance using SSH. For more information, see EC2 Serial Console in the Amazon EC2 User Guide.
24
+ */
25
+ sendSerialConsoleSSHPublicKey(params: EC2InstanceConnect.Types.SendSerialConsoleSSHPublicKeyRequest, callback?: (err: AWSError, data: EC2InstanceConnect.Types.SendSerialConsoleSSHPublicKeyResponse) => void): Request<EC2InstanceConnect.Types.SendSerialConsoleSSHPublicKeyResponse, AWSError>;
26
+ /**
27
+ * Pushes an SSH public key to the specified EC2 instance. The key remains for 60 seconds, which gives you 60 seconds to establish a serial console connection to the instance using SSH. For more information, see EC2 Serial Console in the Amazon EC2 User Guide.
28
+ */
29
+ sendSerialConsoleSSHPublicKey(callback?: (err: AWSError, data: EC2InstanceConnect.Types.SendSerialConsoleSSHPublicKeyResponse) => void): Request<EC2InstanceConnect.Types.SendSerialConsoleSSHPublicKeyResponse, AWSError>;
22
30
  }
23
31
  declare namespace EC2InstanceConnect {
24
32
  export type AvailabilityZone = string;
@@ -28,32 +36,57 @@ declare namespace EC2InstanceConnect {
28
36
  export type SSHPublicKey = string;
29
37
  export interface SendSSHPublicKeyRequest {
30
38
  /**
31
- * The EC2 instance you wish to publish the SSH key to.
39
+ * The ID of the EC2 instance.
32
40
  */
33
41
  InstanceId: InstanceId;
34
42
  /**
35
- * The OS user on the EC2 instance whom the key may be used to authenticate as.
43
+ * The OS user on the EC2 instance for whom the key can be used to authenticate.
36
44
  */
37
45
  InstanceOSUser: InstanceOSUser;
38
46
  /**
39
- * The public key to be published to the instance. To use it after publication you must have the matching private key.
47
+ * The public key material. To use the public key, you must have the matching private key.
40
48
  */
41
49
  SSHPublicKey: SSHPublicKey;
42
50
  /**
43
- * The availability zone the EC2 instance was launched in.
51
+ * The Availability Zone in which the EC2 instance was launched.
44
52
  */
45
53
  AvailabilityZone: AvailabilityZone;
46
54
  }
47
55
  export interface SendSSHPublicKeyResponse {
48
56
  /**
49
- * The request ID as logged by EC2 Connect. Please provide this when contacting AWS Support.
57
+ * The ID of the request. Please provide this ID when contacting AWS Support for assistance.
58
+ */
59
+ RequestId?: RequestId;
60
+ /**
61
+ * Is true if the request succeeds and an error otherwise.
62
+ */
63
+ Success?: Success;
64
+ }
65
+ export interface SendSerialConsoleSSHPublicKeyRequest {
66
+ /**
67
+ * The ID of the EC2 instance.
68
+ */
69
+ InstanceId: InstanceId;
70
+ /**
71
+ * The serial port of the EC2 instance. Currently only port 0 is supported. Default: 0
72
+ */
73
+ SerialPort?: SerialPort;
74
+ /**
75
+ * The public key material. To use the public key, you must have the matching private key. For information about the supported key formats and lengths, see Requirements for key pairs in the Amazon EC2 User Guide.
76
+ */
77
+ SSHPublicKey: SSHPublicKey;
78
+ }
79
+ export interface SendSerialConsoleSSHPublicKeyResponse {
80
+ /**
81
+ * The ID of the request. Please provide this ID when contacting AWS Support for assistance.
50
82
  */
51
83
  RequestId?: RequestId;
52
84
  /**
53
- * Indicates request success.
85
+ * Is true if the request succeeds and an error otherwise.
54
86
  */
55
87
  Success?: Success;
56
88
  }
89
+ export type SerialPort = number;
57
90
  export type Success = boolean;
58
91
  /**
59
92
  * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
package/clients/fms.d.ts CHANGED
@@ -332,6 +332,7 @@ declare namespace FMS {
332
332
  */
333
333
  PossibleSecurityGroupRemediationActions?: SecurityGroupRemediationActions;
334
334
  }
335
+ export type BasicInteger = number;
335
336
  export type Boolean = boolean;
336
337
  export type CIDR = string;
337
338
  export interface ComplianceViolator {
@@ -381,6 +382,54 @@ declare namespace FMS {
381
382
  export type DetailedInfo = string;
382
383
  export interface DisassociateAdminAccountRequest {
383
384
  }
385
+ export interface DnsDuplicateRuleGroupViolation {
386
+ /**
387
+ * The ID of the VPC.
388
+ */
389
+ ViolationTarget?: ViolationTarget;
390
+ /**
391
+ * A description of the violation that specifies the rule group and VPC.
392
+ */
393
+ ViolationTargetDescription?: LengthBoundedString;
394
+ }
395
+ export interface DnsRuleGroupLimitExceededViolation {
396
+ /**
397
+ * The ID of the VPC.
398
+ */
399
+ ViolationTarget?: ViolationTarget;
400
+ /**
401
+ * A description of the violation that specifies the rule group and VPC.
402
+ */
403
+ ViolationTargetDescription?: LengthBoundedString;
404
+ /**
405
+ * The number of rule groups currently associated with the VPC.
406
+ */
407
+ NumberOfRuleGroupsAlreadyAssociated?: BasicInteger;
408
+ }
409
+ export type DnsRuleGroupPriorities = DnsRuleGroupPriority[];
410
+ export type DnsRuleGroupPriority = number;
411
+ export interface DnsRuleGroupPriorityConflictViolation {
412
+ /**
413
+ * The ID of the VPC.
414
+ */
415
+ ViolationTarget?: ViolationTarget;
416
+ /**
417
+ * A description of the violation that specifies the VPC and the rule group that's already associated with it.
418
+ */
419
+ ViolationTargetDescription?: LengthBoundedString;
420
+ /**
421
+ * The priority setting of the two conflicting rule groups.
422
+ */
423
+ ConflictingPriority?: DnsRuleGroupPriority;
424
+ /**
425
+ * The ID of the Firewall Manager DNS Firewall policy that was already applied to the VPC. This policy contains the rule group that's already associated with the VPC.
426
+ */
427
+ ConflictingPolicyId?: PolicyId;
428
+ /**
429
+ * The priorities of rule groups that are already associated with the VPC. To retry your operation, choose priority settings that aren't in this list for the rule groups in your new DNS Firewall policy.
430
+ */
431
+ UnavailablePriorities?: DnsRuleGroupPriorities;
432
+ }
384
433
  export interface EvaluationResult {
385
434
  /**
386
435
  * Describes an AWS account's compliance with the AWS Firewall Manager policy.
@@ -1114,6 +1163,18 @@ declare namespace FMS {
1114
1163
  * Violation detail for an Network Firewall policy that indicates that a firewall policy in an individual account has been modified in a way that makes it noncompliant. For example, the individual account owner might have deleted a rule group, changed the priority of a stateless rule group, or changed a policy default action.
1115
1164
  */
1116
1165
  NetworkFirewallPolicyModifiedViolation?: NetworkFirewallPolicyModifiedViolation;
1166
+ /**
1167
+ * Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to associate with a VPC has the same priority as a rule group that's already associated.
1168
+ */
1169
+ DnsRuleGroupPriorityConflictViolation?: DnsRuleGroupPriorityConflictViolation;
1170
+ /**
1171
+ * Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to associate with a VPC is already associated with the VPC and can't be associated again.
1172
+ */
1173
+ DnsDuplicateRuleGroupViolation?: DnsDuplicateRuleGroupViolation;
1174
+ /**
1175
+ * Violation details for a DNS Firewall policy that indicates that the VPC reached the limit for associated DNS Firewall rule groups. Firewall Manager tried to associate another rule group with the VPC and failed.
1176
+ */
1177
+ DnsRuleGroupLimitExceededViolation?: DnsRuleGroupLimitExceededViolation;
1117
1178
  }
1118
1179
  export type ResourceViolations = ResourceViolation[];
1119
1180
  export interface SecurityGroupRemediationAction {
@@ -1171,7 +1232,7 @@ declare namespace FMS {
1171
1232
  */
1172
1233
  ManagedServiceData?: ManagedServiceData;
1173
1234
  }
1174
- export type SecurityServiceType = "WAF"|"WAFV2"|"SHIELD_ADVANCED"|"SECURITY_GROUPS_COMMON"|"SECURITY_GROUPS_CONTENT_AUDIT"|"SECURITY_GROUPS_USAGE_AUDIT"|"NETWORK_FIREWALL"|string;
1235
+ export type SecurityServiceType = "WAF"|"WAFV2"|"SHIELD_ADVANCED"|"SECURITY_GROUPS_COMMON"|"SECURITY_GROUPS_CONTENT_AUDIT"|"SECURITY_GROUPS_USAGE_AUDIT"|"NETWORK_FIREWALL"|"DNS_FIREWALL"|string;
1175
1236
  export interface StatefulRuleGroup {
1176
1237
  /**
1177
1238
  * The name of the rule group.
@@ -1271,7 +1332,7 @@ declare namespace FMS {
1271
1332
  */
1272
1333
  ResourceDescription?: LengthBoundedString;
1273
1334
  }
1274
- export type ViolationReason = "WEB_ACL_MISSING_RULE_GROUP"|"RESOURCE_MISSING_WEB_ACL"|"RESOURCE_INCORRECT_WEB_ACL"|"RESOURCE_MISSING_SHIELD_PROTECTION"|"RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION"|"RESOURCE_MISSING_SECURITY_GROUP"|"RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP"|"SECURITY_GROUP_UNUSED"|"SECURITY_GROUP_REDUNDANT"|"MISSING_FIREWALL"|"MISSING_FIREWALL_SUBNET_IN_AZ"|"MISSING_EXPECTED_ROUTE_TABLE"|"NETWORK_FIREWALL_POLICY_MODIFIED"|string;
1335
+ export type ViolationReason = "WEB_ACL_MISSING_RULE_GROUP"|"RESOURCE_MISSING_WEB_ACL"|"RESOURCE_INCORRECT_WEB_ACL"|"RESOURCE_MISSING_SHIELD_PROTECTION"|"RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION"|"RESOURCE_MISSING_SECURITY_GROUP"|"RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP"|"SECURITY_GROUP_UNUSED"|"SECURITY_GROUP_REDUNDANT"|"FMS_CREATED_SECURITY_GROUP_EDITED"|"MISSING_FIREWALL"|"MISSING_FIREWALL_SUBNET_IN_AZ"|"MISSING_EXPECTED_ROUTE_TABLE"|"NETWORK_FIREWALL_POLICY_MODIFIED"|"RESOURCE_MISSING_DNS_FIREWALL"|string;
1275
1336
  export type ViolationTarget = string;
1276
1337
  /**
1277
1338
  * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.