From 8f52e8acad3b134a91b57278b83b88ac0f9d71b0 Mon Sep 17 00:00:00 2001 From: awssdkgo Date: Tue, 10 May 2022 18:17:19 +0000 Subject: [PATCH] Release v1.44.11 (2022-05-10) === ### Service Client Updates * `service/compute-optimizer`: Updates service documentation * `service/ec2`: Updates service API and documentation * Added support for using NitroTPM and UEFI Secure Boot on EC2 instances. * `service/eks`: Updates service API and documentation * `service/elasticmapreduce`: Updates service API and documentation * This release updates the Amazon EMR ModifyInstanceGroups API to support "MERGE" type cluster reconfiguration. Also, added the ability to specify a particular Amazon Linux release for all nodes in a cluster launch request. * `service/migration-hub-refactor-spaces`: Updates service documentation --- CHANGELOG.md | 12 + aws/version.go | 2 +- .../compute-optimizer/2019-11-01/docs-2.json | 6 +- models/apis/ec2/2016-11-15/api-2.json | 61 +++- models/apis/ec2/2016-11-15/docs-2.json | 31 ++ models/apis/eks/2017-11-01/api-2.json | 4 +- models/apis/eks/2017-11-01/docs-2.json | 50 ++-- .../elasticmapreduce/2009-03-31/api-2.json | 27 +- .../elasticmapreduce/2009-03-31/docs-2.json | 21 ++ .../2021-10-26/docs-2.json | 2 +- service/computeoptimizer/api.go | 6 + service/ec2/api.go | 275 ++++++++++++++++++ service/ec2/ec2iface/interface.go | 4 + service/eks/api.go | 77 +++-- service/eks/errors.go | 2 +- service/emr/api.go | 93 ++++++ service/migrationhubrefactorspaces/doc.go | 2 +- 17 files changed, 608 insertions(+), 67 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0aa4ad2fc3..1dd7d3e80d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +Release v1.44.11 (2022-05-10) +=== + +### Service Client Updates +* `service/compute-optimizer`: Updates service documentation +* `service/ec2`: Updates service API and documentation + * Added support for using NitroTPM and UEFI Secure Boot on EC2 instances. +* `service/eks`: Updates service API and documentation +* `service/elasticmapreduce`: Updates service API and documentation + * This release updates the Amazon EMR ModifyInstanceGroups API to support "MERGE" type cluster reconfiguration. Also, added the ability to specify a particular Amazon Linux release for all nodes in a cluster launch request. +* `service/migration-hub-refactor-spaces`: Updates service documentation + Release v1.44.10 (2022-05-09) === diff --git a/aws/version.go b/aws/version.go index 8156b4f5ed..d86f9e2afe 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.44.10" +const SDKVersion = "1.44.11" diff --git a/models/apis/compute-optimizer/2019-11-01/docs-2.json b/models/apis/compute-optimizer/2019-11-01/docs-2.json index e256b7972d..543e8d5106 100644 --- a/models/apis/compute-optimizer/2019-11-01/docs-2.json +++ b/models/apis/compute-optimizer/2019-11-01/docs-2.json @@ -1234,9 +1234,9 @@ "ResourceType": { "base": null, "refs": { - "DeleteRecommendationPreferencesRequest$resourceType": "

The target resource type of the recommendation preference to delete.

The Ec2Instance option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an Auto Scaling group.

", - "GetRecommendationPreferencesRequest$resourceType": "

The target resource type of the recommendation preference for which to return preferences.

The Ec2Instance option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an Auto Scaling group.

", - "PutRecommendationPreferencesRequest$resourceType": "

The target resource type of the recommendation preference to create.

The Ec2Instance option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an Auto Scaling group.

", + "DeleteRecommendationPreferencesRequest$resourceType": "

The target resource type of the recommendation preference to delete.

The Ec2Instance option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an Auto Scaling group.

The valid values for this parameter are Ec2Instance and AutoScalingGroup.

", + "GetRecommendationPreferencesRequest$resourceType": "

The target resource type of the recommendation preference for which to return preferences.

The Ec2Instance option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an Auto Scaling group.

The valid values for this parameter are Ec2Instance and AutoScalingGroup.

", + "PutRecommendationPreferencesRequest$resourceType": "

The target resource type of the recommendation preference to create.

The Ec2Instance option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an Auto Scaling group.

The valid values for this parameter are Ec2Instance and AutoScalingGroup.

", "RecommendationExportJob$resourceType": "

The resource type of the exported recommendations.

", "RecommendationPreferencesDetail$resourceType": "

The target resource type of the recommendation preference to create.

The Ec2Instance option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an Auto Scaling group.

" } diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index e2797bac76..1cd01570bf 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -3333,6 +3333,15 @@ "input":{"shape":"GetInstanceTypesFromInstanceRequirementsRequest"}, "output":{"shape":"GetInstanceTypesFromInstanceRequirementsResult"} }, + "GetInstanceUefiData":{ + "name":"GetInstanceUefiData", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetInstanceUefiDataRequest"}, + "output":{"shape":"GetInstanceUefiDataResult"} + }, "GetIpamAddressHistory":{ "name":"GetIpamAddressHistory", "http":{ @@ -20099,6 +20108,27 @@ } } }, + "GetInstanceUefiDataRequest":{ + "type":"structure", + "required":["InstanceId"], + "members":{ + "InstanceId":{"shape":"InstanceId"}, + "DryRun":{"shape":"Boolean"} + } + }, + "GetInstanceUefiDataResult":{ + "type":"structure", + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "locationName":"instanceId" + }, + "UefiData":{ + "shape":"String", + "locationName":"uefiData" + } + } + }, "GetIpamAddressHistoryRequest":{ "type":"structure", "required":[ @@ -21391,6 +21421,10 @@ "shape":"BootModeValues", "locationName":"bootMode" }, + "TpmSupport":{ + "shape":"TpmSupportValues", + "locationName":"tpmSupport" + }, "DeprecationTime":{ "shape":"String", "locationName":"deprecationTime" @@ -21436,6 +21470,14 @@ "shape":"AttributeValue", "locationName":"bootMode" }, + "TpmSupport":{ + "shape":"AttributeValue", + "locationName":"tpmSupport" + }, + "UefiData":{ + "shape":"AttributeValue", + "locationName":"uefiData" + }, "LastLaunchedTime":{ "shape":"AttributeValue", "locationName":"lastLaunchedTime" @@ -21453,6 +21495,8 @@ "blockDeviceMapping", "sriovNetSupport", "bootMode", + "tpmSupport", + "uefiData", "lastLaunchedTime" ] }, @@ -22372,6 +22416,10 @@ "shape":"String", "locationName":"ipv6Address" }, + "TpmSupport":{ + "shape":"String", + "locationName":"tpmSupport" + }, "MaintenanceOptions":{ "shape":"InstanceMaintenanceOptions", "locationName":"maintenanceOptions" @@ -31307,7 +31355,9 @@ "shape":"String", "locationName":"virtualizationType" }, - "BootMode":{"shape":"BootModeValues"} + "BootMode":{"shape":"BootModeValues"}, + "TpmSupport":{"shape":"TpmSupportValues"}, + "UefiData":{"shape":"StringType"} } }, "RegisterImageResult":{ @@ -35820,6 +35870,11 @@ "locationName":"item" } }, + "StringType":{ + "type":"string", + "max":64000, + "min":0 + }, "Subnet":{ "type":"structure", "members":{ @@ -36478,6 +36533,10 @@ "Max":{"shape":"Double"} } }, + "TpmSupportValues":{ + "type":"string", + "enum":["v2.0"] + }, "TrafficDirection":{ "type":"string", "enum":[ diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 2ffddfeb6f..bea269657c 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -375,6 +375,7 @@ "GetGroupsForCapacityReservation": "

Lists the resource groups to which a Capacity Reservation has been added.

", "GetHostReservationPurchasePreview": "

Preview a reservation purchase with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation.

This is a preview of the PurchaseHostReservation action and does not result in the offering being purchased.

", "GetInstanceTypesFromInstanceRequirements": "

Returns a list of instance types with the specified instance attributes. You can use the response to preview the instance types without launching instances. Note that the response does not consider capacity.

When you specify multiple parameters, you get instance types that satisfy all of the specified parameters. If you specify multiple values for a parameter, you get instance types that satisfy any of the specified values.

For more information, see Preview instance types with specified attributes, Attribute-based instance type selection for EC2 Fleet, Attribute-based instance type selection for Spot Fleet, and Spot placement score in the Amazon EC2 User Guide, and Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide.

", + "GetInstanceUefiData": "

A binary representation of the UEFI variable store. Only non-volatile variables are stored. This is a base64 encoded and zlib compressed binary value that must be properly encoded.

When you use register-image to create an AMI, you can create an exact copy of your variable store by passing the UEFI data in the UefiData parameter. You can modify the UEFI data by using the python-uefivars tool on GitHub. You can use the tool to convert the UEFI data into a human-readable format (JSON), which you can inspect and modify, and then convert back into the binary format to use with register-image.

For more information, see UEFI Secure Boot in the Amazon EC2 User Guide.

", "GetIpamAddressHistory": "

Retrieve historical information about a CIDR within an IPAM scope. For more information, see View the history of IP addresses in the Amazon VPC IPAM User Guide.

", "GetIpamPoolAllocations": "

Get a list of all the CIDR allocations in an IPAM pool.

", "GetIpamPoolCidrs": "

Get the CIDRs provisioned to an IPAM pool.

", @@ -1386,6 +1387,8 @@ "ImageAttribute$RamdiskId": "

The RAM disk ID.

", "ImageAttribute$SriovNetSupport": "

Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

", "ImageAttribute$BootMode": "

The boot mode.

", + "ImageAttribute$TpmSupport": "

If the image is configured for NitroTPM support, the value is v2.0.

", + "ImageAttribute$UefiData": "

Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot in the Amazon Elastic Compute Cloud User Guide.

", "ImageAttribute$LastLaunchedTime": "

The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance. When the AMI is used, there is a 24-hour delay before that usage is reported.

lastLaunchedTime data is available starting April 2017.

", "InstanceAttribute$InstanceInitiatedShutdownBehavior": "

Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

", "InstanceAttribute$InstanceType": "

The instance type.

", @@ -2077,6 +2080,7 @@ "GetFlowLogsIntegrationTemplateRequest$DryRun": "

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.

", "GetGroupsForCapacityReservationRequest$DryRun": "

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.

", "GetInstanceTypesFromInstanceRequirementsRequest$DryRun": "

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.

", + "GetInstanceUefiDataRequest$DryRun": "

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.

", "GetIpamAddressHistoryRequest$DryRun": "

A check for 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.

", "GetIpamPoolAllocationsRequest$DryRun": "

A check for 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.

", "GetIpamPoolCidrsRequest$DryRun": "

A check for 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.

", @@ -8563,6 +8567,16 @@ "refs": { } }, + "GetInstanceUefiDataRequest": { + "base": null, + "refs": { + } + }, + "GetInstanceUefiDataResult": { + "base": null, + "refs": { + } + }, "GetIpamAddressHistoryRequest": { "base": null, "refs": { @@ -9711,6 +9725,8 @@ "DetachVolumeRequest$InstanceId": "

The ID of the instance. If you are detaching a Multi-Attach enabled volume, you must specify an instance ID.

", "GetConsoleOutputRequest$InstanceId": "

The ID of the instance.

", "GetConsoleScreenshotRequest$InstanceId": "

The ID of the instance.

", + "GetInstanceUefiDataRequest$InstanceId": "

The ID of the instance from which to retrieve the UEFI data.

", + "GetInstanceUefiDataResult$InstanceId": "

The ID of the instance from which to retrieve the UEFI data.

", "GetLaunchTemplateDataRequest$InstanceId": "

The ID of the instance.

", "GetPasswordDataRequest$InstanceId": "

The ID of the Windows instance.

", "InstanceCreditSpecificationRequest$InstanceId": "

The ID of the instance.

", @@ -17097,6 +17113,7 @@ "GetHostReservationPurchasePreviewResult$TotalUpfrontPrice": "

The potential total upfront price. This is billed immediately.

", "GetInstanceTypesFromInstanceRequirementsRequest$NextToken": "

The token for the next set of results.

", "GetInstanceTypesFromInstanceRequirementsResult$NextToken": "

The token for the next set of results.

", + "GetInstanceUefiDataResult$UefiData": "

Base64 representation of the non-volatile UEFI variable store.

", "GetIpamAddressHistoryRequest$Cidr": "

The CIDR you want the history of. The CIDR can be an IPv4 or IPv6 IP address range. If you enter a /16 IPv4 CIDR, you will get records that match it exactly. You will not get records for any subnets within the /16 CIDR.

", "GetIpamAddressHistoryRequest$VpcId": "

The ID of the VPC you want your history records filtered by.

", "GetIpamResourceCidrsRequest$ResourceId": "

The ID of the resource.

", @@ -17253,6 +17270,7 @@ "Instance$PlatformDetails": "

The platform details value for the instance. For more information, see AMI billing information fields in the Amazon EC2 User Guide.

", "Instance$UsageOperation": "

The usage operation value for the instance. For more information, see AMI billing information fields in the Amazon EC2 User Guide.

", "Instance$Ipv6Address": "

The IPv6 address assigned to the instance.

", + "Instance$TpmSupport": "

If the instance is configured for NitroTPM support, the value is v2.0. For more information, see NitroTPM in the Amazon EC2 User Guide.

", "InstanceAttribute$InstanceId": "

The ID of the instance.

", "InstanceBlockDeviceMapping$DeviceName": "

The device name (for example, /dev/sdh or xvdh).

", "InstanceBlockDeviceMappingSpecification$DeviceName": "

The device name (for example, /dev/sdh or xvdh).

", @@ -18173,6 +18191,12 @@ "Explanation$Protocols": "

The protocols.

" } }, + "StringType": { + "base": null, + "refs": { + "RegisterImageRequest$UefiData": "

Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot in the Amazon Elastic Compute Cloud User Guide.

" + } + }, "Subnet": { "base": "

Describes a subnet.

", "refs": { @@ -18737,6 +18761,13 @@ "InstanceRequirementsRequest$TotalLocalStorageGB": "

The minimum and maximum amount of total local storage, in GB.

Default: No minimum or maximum limits

" } }, + "TpmSupportValues": { + "base": null, + "refs": { + "Image$TpmSupport": "

If the image is configured for NitroTPM support, the value is v2.0. For more information, see NitroTPM in the Amazon Elastic Compute Cloud User Guide.

", + "RegisterImageRequest$TpmSupport": "

Set to v2.0 to enable Trusted Platform Module (TPM) support. For more information, see NitroTPM in the Amazon Elastic Compute Cloud User Guide.

" + } + }, "TrafficDirection": { "base": null, "refs": { diff --git a/models/apis/eks/2017-11-01/api-2.json b/models/apis/eks/2017-11-01/api-2.json index 917c84e97f..67152d82ac 100644 --- a/models/apis/eks/2017-11-01/api-2.json +++ b/models/apis/eks/2017-11-01/api-2.json @@ -568,7 +568,9 @@ "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", - "BOTTLEROCKET_x86_64" + "BOTTLEROCKET_x86_64", + "BOTTLEROCKET_ARM_64_NVIDIA", + "BOTTLEROCKET_x86_64_NVIDIA" ] }, "AccessDeniedException":{ diff --git a/models/apis/eks/2017-11-01/docs-2.json b/models/apis/eks/2017-11-01/docs-2.json index 704a3e4a12..66db8dd086 100644 --- a/models/apis/eks/2017-11-01/docs-2.json +++ b/models/apis/eks/2017-11-01/docs-2.json @@ -19,7 +19,7 @@ "DescribeFargateProfile": "

Returns descriptive information about an Fargate profile.

", "DescribeIdentityProviderConfig": "

Returns descriptive information about an identity provider configuration.

", "DescribeNodegroup": "

Returns descriptive information about an Amazon EKS node group.

", - "DescribeUpdate": "

Returns descriptive information about an update against your Amazon EKS cluster or associated managed node group.

When the status of the update is Succeeded, the update is complete. If an update fails, the status is Failed, and an error detail explains the reason for the failure.

", + "DescribeUpdate": "

Returns descriptive information about an update against your Amazon EKS cluster or associated managed node group or Amazon EKS add-on.

When the status of the update is Succeeded, the update is complete. If an update fails, the status is Failed, and an error detail explains the reason for the failure.

", "DisassociateIdentityProviderConfig": "

Disassociates an identity provider configuration from a cluster. If you disassociate an identity provider from your cluster, users included in the provider can no longer access the cluster. However, you can still access the cluster with Amazon Web Services IAM users.

", "ListAddons": "

Lists the available add-ons.

", "ListClusters": "

Lists the Amazon EKS clusters in your Amazon Web Services account in the specified Region.

", @@ -41,7 +41,7 @@ "AMITypes": { "base": null, "refs": { - "CreateNodegroupRequest$amiType": "

The AMI type for your node group. GPU instance types should use the AL2_x86_64_GPU AMI type. Non-GPU instances should use the AL2_x86_64 AMI type. Arm instances should use the AL2_ARM_64 AMI type. All types use the Amazon EKS optimized Amazon Linux 2 AMI. If you specify launchTemplate, and your launch template uses a custom AMI, then don't specify amiType, or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", + "CreateNodegroupRequest$amiType": "

The AMI type for your node group. GPU instance types should use the AL2_x86_64_GPU AMI type. Non-GPU instances should use the AL2_x86_64 AMI type. Arm instances should use the AL2_ARM_64 AMI type. All types use the Amazon EKS optimized Amazon Linux 2 AMI. If you specify launchTemplate, and your launch template uses a custom AMI, then don't specify amiType, or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", "Nodegroup$amiType": "

If the node group was deployed using a launch template with a custom AMI, then this is CUSTOM. For node groups that weren't deployed using a launch template, this is the AMI type that was specified in the node group configuration.

" } }, @@ -170,7 +170,7 @@ "BoxedInteger": { "base": null, "refs": { - "CreateNodegroupRequest$diskSize": "

The root device disk size (in GiB) for your node group instances. The default disk size is 20 GiB. If you specify launchTemplate, then don't specify diskSize, or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", + "CreateNodegroupRequest$diskSize": "

The root device disk size (in GiB) for your node group instances. The default disk size is 20 GiB. If you specify launchTemplate, then don't specify diskSize, or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", "Nodegroup$diskSize": "

If the node group wasn't deployed with a launch template, then this is the disk size in the node group configuration. If the node group was deployed with a launch template, then this is null.

" } }, @@ -549,8 +549,8 @@ "IpFamily": { "base": null, "refs": { - "KubernetesNetworkConfigRequest$ipFamily": "

Specify which IP version is used to assign Kubernetes Pod and Service IP addresses. If you don't specify a value, ipv4 is used by default. You can only specify an IP family when you create a cluster and can't change this value once the cluster is created. If you specify ipv6, the VPC and subnets that you specify for cluster creation must have both IPv4 and IPv6 CIDR blocks assigned to them.

You can only specify ipv6 for 1.21 and later clusters that use version 1.10.0 or later of the Amazon VPC CNI add-on. If you specify ipv6, then ensure that your VPC meets the requirements and that you're familiar with the considerations listed in Assigning IPv6 addresses to Pods and Services in the Amazon EKS User Guide. If you specify ipv6, Kubernetes assigns Service and Pod addresses from the unique local address range (fc00::/7). You can't specify a custom IPv6 CIDR block.

", - "KubernetesNetworkConfigResponse$ipFamily": "

The IP family used to assign Kubernetes Pod and Service IP addresses. The IP family is always ipv4, unless you have a 1.21 or later cluster running version 1.10.0 or later of the Amazon VPC CNI add-on and specified ipv6 when you created the cluster.

" + "KubernetesNetworkConfigRequest$ipFamily": "

Specify which IP family is used to assign Kubernetes pod and service IP addresses. If you don't specify a value, ipv4 is used by default. You can only specify an IP family when you create a cluster and can't change this value once the cluster is created. If you specify ipv6, the VPC and subnets that you specify for cluster creation must have both IPv4 and IPv6 CIDR blocks assigned to them. You can't specify ipv6 for clusters in China Regions.

You can only specify ipv6 for 1.21 and later clusters that use version 1.10.1 or later of the Amazon VPC CNI add-on. If you specify ipv6, then ensure that your VPC meets the requirements listed in the considerations listed in Assigning IPv6 addresses to pods and services in the Amazon EKS User Guide. Kubernetes assigns services IPv6 addresses from the unique local address range (fc00::/7). You can't specify a custom IPv6 CIDR block. Pod addresses are assigned from the subnet's IPv6 CIDR.

", + "KubernetesNetworkConfigResponse$ipFamily": "

The IP family used to assign Kubernetes pod and service IP addresses. The IP family is always ipv4, unless you have a 1.21 or later cluster running version 1.10.1 or later of the Amazon VPC CNI add-on and specified ipv6 when you created the cluster.

" } }, "Issue": { @@ -578,7 +578,7 @@ } }, "LaunchTemplateSpecification": { - "base": "

An object representing a node group launch template specification. The launch template cannot include SubnetId , IamInstanceProfile , RequestSpotInstances , HibernationOptions , or TerminateInstances , or the node group deployment or update will fail. For more information about launch templates, see CreateLaunchTemplate in the Amazon EC2 API Reference. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

Specify either name or id, but not both.

", + "base": "

An object representing a node group launch template specification. The launch template cannot include SubnetId , IamInstanceProfile , RequestSpotInstances , HibernationOptions , or TerminateInstances , or the node group deployment or update will fail. For more information about launch templates, see CreateLaunchTemplate in the Amazon EC2 API Reference. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

Specify either name or id, but not both.

", "refs": { "CreateNodegroupRequest$launchTemplate": "

An object representing a node group's launch template specification. If specified, then do not specify instanceTypes, diskSize, or remoteAccess and make sure that the launch template meets the requirements in launchTemplateSpecification.

", "Nodegroup$launchTemplate": "

If a launch template was used to create the node group, then this is the launch template that was used.

", @@ -734,7 +734,7 @@ "NodegroupIssueCode": { "base": null, "refs": { - "Issue$code": "

A brief description of the error.

" + "Issue$code": "

A brief description of the error.

" } }, "NodegroupResources": { @@ -819,7 +819,7 @@ "RemoteAccessConfig": { "base": "

An object representing the remote access configuration for the managed node group.

", "refs": { - "CreateNodegroupRequest$remoteAccess": "

The remote access (SSH) configuration to use with your node group. If you specify launchTemplate, then don't specify remoteAccess, or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", + "CreateNodegroupRequest$remoteAccess": "

The remote access (SSH) configuration to use with your node group. If you specify launchTemplate, then don't specify remoteAccess, or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", "Nodegroup$remoteAccess": "

If the node group wasn't deployed with a launch template, then this is the remote access configuration that is associated with the node group. If the node group was deployed with a launch template, then this is null.

" } }, @@ -846,7 +846,7 @@ } }, "ResourcePropagationDelayException": { - "base": "

Required resources (such as Service Linked Roles) were created and are still propagating. Retry later.

", + "base": "

Required resources (such as service-linked roles) were created and are still propagating. Retry later.

", "refs": { } }, @@ -915,10 +915,10 @@ "CreateFargateProfileRequest$clientRequestToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", "CreateNodegroupRequest$clusterName": "

The name of the cluster to create the node group in.

", "CreateNodegroupRequest$nodegroupName": "

The unique name to give your node group.

", - "CreateNodegroupRequest$nodeRole": "

The Amazon Resource Name (ARN) of the IAM role to associate with your node group. The Amazon EKS worker node kubelet daemon makes calls to Amazon Web Services APIs on your behalf. Nodes receive permissions for these API calls through an IAM instance profile and associated policies. Before you can launch nodes and register them into a cluster, you must create an IAM role for those nodes to use when they are launched. For more information, see Amazon EKS node IAM role in the Amazon EKS User Guide . If you specify launchTemplate, then don't specify IamInstanceProfile in your launch template, or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", + "CreateNodegroupRequest$nodeRole": "

The Amazon Resource Name (ARN) of the IAM role to associate with your node group. The Amazon EKS worker node kubelet daemon makes calls to Amazon Web Services APIs on your behalf. Nodes receive permissions for these API calls through an IAM instance profile and associated policies. Before you can launch nodes and register them into a cluster, you must create an IAM role for those nodes to use when they are launched. For more information, see Amazon EKS node IAM role in the Amazon EKS User Guide . If you specify launchTemplate, then don't specify IamInstanceProfile in your launch template, or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", "CreateNodegroupRequest$clientRequestToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", - "CreateNodegroupRequest$version": "

The Kubernetes version to use for your managed nodes. By default, the Kubernetes version of the cluster is used, and this is the only accepted specified value. If you specify launchTemplate, and your launch template uses a custom AMI, then don't specify version, or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", - "CreateNodegroupRequest$releaseVersion": "

The AMI version of the Amazon EKS optimized AMI to use with your node group. By default, the latest available AMI version for the node group's current Kubernetes version is used. For more information, see Amazon EKS optimized Amazon Linux 2 AMI versions in the Amazon EKS User Guide. If you specify launchTemplate, and your launch template uses a custom AMI, then don't specify releaseVersion, or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", + "CreateNodegroupRequest$version": "

The Kubernetes version to use for your managed nodes. By default, the Kubernetes version of the cluster is used, and this is the only accepted specified value. If you specify launchTemplate, and your launch template uses a custom AMI, then don't specify version, or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", + "CreateNodegroupRequest$releaseVersion": "

The AMI version of the Amazon EKS optimized AMI to use with your node group. By default, the latest available AMI version for the node group's current Kubernetes version is used. For more information, see Amazon EKS optimized Amazon Linux 2 AMI versions in the Amazon EKS User Guide. If you specify launchTemplate, and your launch template uses a custom AMI, then don't specify releaseVersion, or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", "DeleteAddonRequest$addonName": "

The name of the add-on. The name must match one of the names returned by ListAddons .

", "DeleteClusterRequest$name": "

The name of the cluster to delete.

", "DeleteFargateProfileRequest$clusterName": "

The name of the Amazon EKS cluster associated with the Fargate profile to delete.

", @@ -939,8 +939,8 @@ "DescribeNodegroupRequest$nodegroupName": "

The name of the node group to describe.

", "DescribeUpdateRequest$name": "

The name of the Amazon EKS cluster associated with the update.

", "DescribeUpdateRequest$updateId": "

The ID of the update to describe.

", - "DescribeUpdateRequest$nodegroupName": "

The name of the Amazon EKS node group associated with the update.

", - "DescribeUpdateRequest$addonName": "

The name of the add-on. The name must match one of the names returned by ListAddons .

", + "DescribeUpdateRequest$nodegroupName": "

The name of the Amazon EKS node group associated with the update. This parameter is required if the update is a node group update.

", + "DescribeUpdateRequest$addonName": "

The name of the add-on. The name must match one of the names returned by ListAddons . This parameter is required if the update is an add-on update.

", "DisassociateIdentityProviderConfigRequest$clusterName": "

The name of the cluster to disassociate an identity provider from.

", "DisassociateIdentityProviderConfigRequest$clientRequestToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", "ErrorDetail$errorMessage": "

A more complete description of the error.

", @@ -951,7 +951,7 @@ "FargateProfileLabel$key": null, "FargateProfileLabel$value": null, "FargateProfileSelector$namespace": "

The Kubernetes namespace that the selector should match.

", - "IdentityProviderConfig$type": "

The type of the identity provider configuration.

", + "IdentityProviderConfig$type": "

The type of the identity provider configuration. The only type available is oidc.

", "IdentityProviderConfig$name": "

The name of the identity provider configuration.

", "IncludeClustersList$member": null, "InvalidParameterException$clusterName": "

The Amazon EKS cluster associated with the exception.

", @@ -965,8 +965,8 @@ "InvalidRequestException$message": null, "Issue$message": "

The error message associated with the issue.

", "KubernetesNetworkConfigRequest$serviceIpv4Cidr": "

Don't specify a value if you select ipv6 for ipFamily. The CIDR block to assign Kubernetes service IP addresses from. If you don't specify a block, Kubernetes assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We recommend that you specify a block that does not overlap with resources in other networks that are peered or connected to your VPC. The block must meet the following requirements:

You can only specify a custom CIDR block when you create a cluster and can't change this value once the cluster is created.

", - "KubernetesNetworkConfigResponse$serviceIpv4Cidr": "

The CIDR block that Kubernetes Pod and Service IP addresses are assigned from. Kubernetes assigns addresses from an IPv4 CIDR block assigned to a subnet that the node is in. If you didn't specify a CIDR block when you created the cluster, then Kubernetes assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. If this was specified, then it was specified when the cluster was created and it can't be changed.

", - "KubernetesNetworkConfigResponse$serviceIpv6Cidr": "

The CIDR block that Kubernetes Pod and Service IP addresses are assigned from if you created a 1.21 or later cluster with version 1.10.0 or later of the Amazon VPC CNI add-on and specified ipv6 for ipFamily when you created the cluster. Kubernetes assigns addresses from the unique local address range (fc00::/7).

", + "KubernetesNetworkConfigResponse$serviceIpv4Cidr": "

The CIDR block that Kubernetes pod and service IP addresses are assigned from. Kubernetes assigns addresses from an IPv4 CIDR block assigned to a subnet that the node is in. If you didn't specify a CIDR block when you created the cluster, then Kubernetes assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. If this was specified, then it was specified when the cluster was created and it can't be changed.

", + "KubernetesNetworkConfigResponse$serviceIpv6Cidr": "

The CIDR block that Kubernetes pod and service IP addresses are assigned from if you created a 1.21 or later cluster with version 1.10.1 or later of the Amazon VPC CNI add-on and specified ipv6 for ipFamily when you created the cluster. Kubernetes assigns service addresses from the unique local address range (fc00::/7) because you can't specify a custom IPv6 CIDR block when you create the cluster.

", "LaunchTemplateSpecification$name": "

The name of the launch template.

", "LaunchTemplateSpecification$version": "

The version of the launch template to use. If no version is specified, then the template's default version is used.

", "LaunchTemplateSpecification$id": "

The ID of the launch template.

", @@ -1055,8 +1055,8 @@ "UpdateNodegroupConfigRequest$clientRequestToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", "UpdateNodegroupVersionRequest$clusterName": "

The name of the Amazon EKS cluster that is associated with the managed node group to update.

", "UpdateNodegroupVersionRequest$nodegroupName": "

The name of the managed node group to update.

", - "UpdateNodegroupVersionRequest$version": "

The Kubernetes version to update to. If no version is specified, then the Kubernetes version of the node group does not change. You can specify the Kubernetes version of the cluster to update the node group to the latest AMI version of the cluster's Kubernetes version. If you specify launchTemplate, and your launch template uses a custom AMI, then don't specify version, or the node group update will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", - "UpdateNodegroupVersionRequest$releaseVersion": "

The AMI version of the Amazon EKS optimized AMI to use for the update. By default, the latest available AMI version for the node group's Kubernetes version is used. For more information, see Amazon EKS optimized Amazon Linux 2 AMI versions in the Amazon EKS User Guide. If you specify launchTemplate, and your launch template uses a custom AMI, then don't specify releaseVersion, or the node group update will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", + "UpdateNodegroupVersionRequest$version": "

The Kubernetes version to update to. If no version is specified, then the Kubernetes version of the node group does not change. You can specify the Kubernetes version of the cluster to update the node group to the latest AMI version of the cluster's Kubernetes version. If you specify launchTemplate, and your launch template uses a custom AMI, then don't specify version, or the node group update will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", + "UpdateNodegroupVersionRequest$releaseVersion": "

The AMI version of the Amazon EKS optimized AMI to use for the update. By default, the latest available AMI version for the node group's Kubernetes version is used. For more information, see Amazon EKS optimized Amazon Linux 2 AMI versions in the Amazon EKS User Guide. If you specify launchTemplate, and your launch template uses a custom AMI, then don't specify releaseVersion, or the node group update will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", "UpdateNodegroupVersionRequest$clientRequestToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", "UpdateParam$value": "

The value of the keys submitted as part of an update request.

", "VpcConfigResponse$clusterSecurityGroupId": "

The cluster security group that was created by Amazon EKS for the cluster. Managed node groups use this security group for control-plane-to-data-plane communication.

", @@ -1071,7 +1071,7 @@ "AddonVersionInfo$architecture": "

The architectures that the version supports.

", "Compatibility$platformVersions": "

The supported compute platform.

", "CreateFargateProfileRequest$subnets": "

The IDs of subnets to launch your pods into. At this time, pods running on Fargate are not assigned public IP addresses, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.

", - "CreateNodegroupRequest$subnets": "

The subnets to use for the Auto Scaling group that is created for your node group. If you specify launchTemplate, then don't specify SubnetId in your launch template, or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", + "CreateNodegroupRequest$subnets": "

The subnets to use for the Auto Scaling group that is created for your node group. If you specify launchTemplate, then don't specify SubnetId in your launch template, or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

", "CreateNodegroupRequest$instanceTypes": "

Specify the instance types for a node group. If you specify a GPU instance type, be sure to specify AL2_x86_64_GPU with the amiType parameter. If you specify launchTemplate, then you can specify zero or one instance type in your launch template or you can specify 0-20 instance types for instanceTypes. If however, you specify an instance type in your launch template and specify any instanceTypes, the node group deployment will fail. If you don't specify an instance type in a launch template or for instanceTypes, then t3.medium is used, by default. If you specify Spot for capacityType, then we recommend specifying multiple values for instanceTypes. For more information, see Managed node group capacity types and Launch template support in the Amazon EKS User Guide.

", "EncryptionConfig$resources": "

Specifies the resources to be encrypted. The only supported value is \"secrets\".

", "ErrorDetail$resourceIds": "

An optional field that contains the resource IDs associated with the error.

", @@ -1143,7 +1143,7 @@ } }, "Taint": { - "base": "

A property that allows a node to repel a set of pods.

", + "base": "

A property that allows a node to repel a set of pods. For more information, see Node taints on managed node groups.

", "refs": { "taintsList$member": null } @@ -1277,9 +1277,9 @@ } }, "UpdateTaintsPayload": { - "base": "

An object representing the details of an update to a taints payload.

", + "base": "

An object representing the details of an update to a taints payload. For more information, see Node taints on managed node groups.

", "refs": { - "UpdateNodegroupConfigRequest$taints": "

The Kubernetes taints to be applied to the nodes in the node group after the update.

" + "UpdateNodegroupConfigRequest$taints": "

The Kubernetes taints to be applied to the nodes in the node group after the update. For more information, see Node taints on managed node groups.

" } }, "UpdateType": { @@ -1374,8 +1374,8 @@ "taintsList": { "base": null, "refs": { - "CreateNodegroupRequest$taints": "

The Kubernetes taints to be applied to the nodes in the node group.

", - "Nodegroup$taints": "

The Kubernetes taints to be applied to the nodes in the node group when they are created. Effect is one of No_Schedule, Prefer_No_Schedule, or No_Execute. Kubernetes taints can be used together with tolerations to control how workloads are scheduled to your nodes.

", + "CreateNodegroupRequest$taints": "

The Kubernetes taints to be applied to the nodes in the node group. For more information, see Node taints on managed node groups.

", + "Nodegroup$taints": "

The Kubernetes taints to be applied to the nodes in the node group when they are created. Effect is one of No_Schedule, Prefer_No_Schedule, or No_Execute. Kubernetes taints can be used together with tolerations to control how workloads are scheduled to your nodes. For more information, see Node taints on managed node groups.

", "UpdateTaintsPayload$addOrUpdateTaints": "

Kubernetes taints to be added or updated.

", "UpdateTaintsPayload$removeTaints": "

Kubernetes taints to be removed.

" } diff --git a/models/apis/elasticmapreduce/2009-03-31/api-2.json b/models/apis/elasticmapreduce/2009-03-31/api-2.json index ff91fab7b0..409f959b8c 100644 --- a/models/apis/elasticmapreduce/2009-03-31/api-2.json +++ b/models/apis/elasticmapreduce/2009-03-31/api-2.json @@ -947,7 +947,8 @@ "ClusterArn":{"shape":"ArnType"}, "OutpostArn":{"shape":"OptionalArnType"}, "StepConcurrencyLevel":{"shape":"Integer"}, - "PlacementGroups":{"shape":"PlacementGroupConfigList"} + "PlacementGroups":{"shape":"PlacementGroupConfigList"}, + "OSReleaseLabel":{"shape":"String"} } }, "ClusterId":{"type":"string"}, @@ -1233,7 +1234,8 @@ "members":{ "ReleaseLabel":{"shape":"String"}, "Applications":{"shape":"SimplifiedApplicationList"}, - "NextToken":{"shape":"String"} + "NextToken":{"shape":"String"}, + "AvailableOSReleases":{"shape":"OSReleaseList"} } }, "DescribeSecurityConfigurationInput":{ @@ -1685,6 +1687,7 @@ "InstanceCount":{"shape":"Integer"}, "EC2InstanceIdsToTerminate":{"shape":"EC2InstanceIdsToTerminateList"}, "ShrinkPolicy":{"shape":"ShrinkPolicy"}, + "ReconfigurationType":{"shape":"ReconfigurationType"}, "Configurations":{"shape":"ConfigurationList"} } }, @@ -2305,6 +2308,16 @@ "type":"list", "member":{"shape":"NotebookExecutionSummary"} }, + "OSRelease":{ + "type":"structure", + "members":{ + "Label":{"shape":"String"} + } + }, + "OSReleaseList":{ + "type":"list", + "member":{"shape":"OSRelease"} + }, "OnDemandCapacityReservationOptions":{ "type":"structure", "members":{ @@ -2449,6 +2462,13 @@ "members":{ } }, + "ReconfigurationType":{ + "type":"string", + "enum":[ + "OVERWRITE", + "MERGE" + ] + }, "ReleaseLabelFilter":{ "type":"structure", "members":{ @@ -2554,7 +2574,8 @@ "StepConcurrencyLevel":{"shape":"Integer"}, "ManagedScalingPolicy":{"shape":"ManagedScalingPolicy"}, "PlacementGroupConfigs":{"shape":"PlacementGroupConfigList"}, - "AutoTerminationPolicy":{"shape":"AutoTerminationPolicy"} + "AutoTerminationPolicy":{"shape":"AutoTerminationPolicy"}, + "OSReleaseLabel":{"shape":"XmlStringMaxLen256"} } }, "RunJobFlowOutput":{ diff --git a/models/apis/elasticmapreduce/2009-03-31/docs-2.json b/models/apis/elasticmapreduce/2009-03-31/docs-2.json index 38f89a4e11..ed1a186c11 100644 --- a/models/apis/elasticmapreduce/2009-03-31/docs-2.json +++ b/models/apis/elasticmapreduce/2009-03-31/docs-2.json @@ -1408,6 +1408,18 @@ "ListNotebookExecutionsOutput$NotebookExecutions": "

A list of notebook executions.

" } }, + "OSRelease": { + "base": "

The Amazon Linux release specified for a cluster in the RunJobFlow request.

", + "refs": { + "OSReleaseList$member": null + } + }, + "OSReleaseList": { + "base": null, + "refs": { + "DescribeReleaseLabelOutput$AvailableOSReleases": "

The list of available Amazon Linux release versions for an Amazon EMR release. Contains a Label field that is formatted as shown in Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.

" + } + }, "OnDemandCapacityReservationOptions": { "base": "

Describes the strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.

", "refs": { @@ -1530,6 +1542,12 @@ "refs": { } }, + "ReconfigurationType": { + "base": null, + "refs": { + "InstanceGroupModifyConfig$ReconfigurationType": "

Type of reconfiguration requested. Valid values are MERGE and OVERWRITE.

" + } + }, "ReleaseLabelFilter": { "base": "

The release label filters by application or version prefix.

", "refs": { @@ -1890,6 +1908,7 @@ "Cluster$ReleaseLabel": "

The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster. Release labels are in the form emr-x.x.x, where x.x.x is an Amazon EMR release version such as emr-5.14.0. For more information about Amazon EMR release versions and included application versions and features, see https://docs.aws.amazon.com/emr/latest/ReleaseGuide/. The release label applies only to Amazon EMR releases version 4.0 and later. Earlier versions use AmiVersion.

", "Cluster$ServiceRole": "

The IAM role that Amazon EMR assumes in order to access Amazon Web Services resources on your behalf.

", "Cluster$MasterPublicDnsName": "

The DNS name of the master node. If the cluster is on a private subnet, this is the private DNS name. On a public subnet, this is the public DNS name.

", + "Cluster$OSReleaseLabel": "

The Amazon Linux release specified in a cluster launch RunJobFlow request. If no Amazon Linux release was specified, the default Amazon Linux release is shown in the response.

", "ClusterStateChangeReason$Message": "

The descriptive message for the state change reason.

", "ClusterSummary$Name": "

The name of the cluster.

", "Command$Name": "

The name of the command.

", @@ -1931,6 +1950,7 @@ "MetricDimension$Key": "

The dimension name.

", "MetricDimension$Value": "

The dimension value.

", "ModifyClusterInput$ClusterId": "

The unique identifier of the cluster.

", + "OSRelease$Label": "

The Amazon Linux release specified for a cluster in the RunJobFlow request. The format is as shown in Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.

", "ReleaseLabelFilter$Prefix": "

Optional release label version prefix filter. For example, emr-5.

", "ReleaseLabelFilter$Application": "

Optional release label application filter. For example, spark@2.1.0.

", "ScalingRule$Name": "

The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.

", @@ -2219,6 +2239,7 @@ "RunJobFlowInput$AmiVersion": "

Applies only to Amazon EMR AMI versions 3.x and 2.x. For Amazon EMR releases 4.0 and later, ReleaseLabel is used. To specify a custom AMI, use CustomAmiID.

", "RunJobFlowInput$ReleaseLabel": "

The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster. Release labels are in the form emr-x.x.x, where x.x.x is an Amazon EMR release version such as emr-5.14.0. For more information about Amazon EMR release versions and included application versions and features, see https://docs.aws.amazon.com/emr/latest/ReleaseGuide/. The release label applies only to Amazon EMR releases version 4.0 and later. Earlier versions use AmiVersion.

", "RunJobFlowInput$CustomAmiId": "

Available only in Amazon EMR version 5.7.0 and later. The ID of a custom Amazon EBS-backed Linux AMI. If specified, Amazon EMR uses this AMI when it launches cluster EC2 instances. For more information about custom AMIs in Amazon EMR, see Using a Custom AMI in the Amazon EMR Management Guide. If omitted, the cluster uses the base Linux AMI for the ReleaseLabel specified. For Amazon EMR versions 2.x and 3.x, use AmiVersion instead.

For information about creating a custom AMI, see Creating an Amazon EBS-Backed Linux AMI in the Amazon Elastic Compute Cloud User Guide for Linux Instances. For information about finding an AMI ID, see Finding a Linux AMI.

", + "RunJobFlowInput$OSReleaseLabel": "

Specifies a particular Amazon Linux release for all nodes in a cluster launch RunJobFlow request. If a release is not specified, Amazon EMR uses the latest validated Amazon Linux release for cluster launch.

", "RunJobFlowOutput$JobFlowId": "

A unique identifier for the job flow.

", "SecurityGroupsList$member": null, "SessionMappingDetail$StudioId": "

The ID of the Amazon EMR Studio.

", diff --git a/models/apis/migration-hub-refactor-spaces/2021-10-26/docs-2.json b/models/apis/migration-hub-refactor-spaces/2021-10-26/docs-2.json index fb48ed91f5..9143900a72 100644 --- a/models/apis/migration-hub-refactor-spaces/2021-10-26/docs-2.json +++ b/models/apis/migration-hub-refactor-spaces/2021-10-26/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "

Amazon Web Services Migration Hub Refactor Spaces

 <p>This API reference provides descriptions, syntax, and other details about each of the actions and data types for Amazon Web Services Migration Hub Refactor Spaces (Refactor Spaces). The topic for each action shows the API request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is tailored to the programming language or platform that you're using. For more information, see <a href="http://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p> <p>To share Refactor Spaces environments with other Amazon Web Services accounts or with Organizations and their OUs, use Resource Access Manager's <code>CreateResourceShare</code> API. See <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html">CreateResourceShare</a> in the <i>Amazon Web Services RAM API Reference</i>.</p> 
", + "service": "

Amazon Web Services Migration Hub Refactor Spaces

 <p>This API reference provides descriptions, syntax, and other details about each of the actions and data types for Amazon Web Services Migration Hub Refactor Spaces (Refactor Spaces). The topic for each action shows the API request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is tailored to the programming language or platform that you're using. For more information, see <a href="https://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p> <p>To share Refactor Spaces environments with other Amazon Web Services accounts or with Organizations and their OUs, use Resource Access Manager's <code>CreateResourceShare</code> API. See <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html">CreateResourceShare</a> in the <i>Amazon Web Services RAM API Reference</i>.</p> 
", "operations": { "CreateApplication": "

Creates an Amazon Web Services Migration Hub Refactor Spaces application. The account that owns the environment also owns the applications created inside the environment, regardless of the account that creates the application. Refactor Spaces provisions an Amazon API Gateway, API Gateway VPC link, and Network Load Balancer for the application proxy inside your account.

", "CreateEnvironment": "

Creates an Amazon Web Services Migration Hub Refactor Spaces environment. The caller owns the environment resource, and all Refactor Spaces applications, services, and routes created within the environment. They are referred to as the environment owner. The environment owner has cross-account visibility and control of Refactor Spaces resources that are added to the environment by other accounts that the environment is shared with. When creating an environment, Refactor Spaces provisions a transit gateway in your account.

", diff --git a/service/computeoptimizer/api.go b/service/computeoptimizer/api.go index 6ad71a66a8..1c03312a9a 100644 --- a/service/computeoptimizer/api.go +++ b/service/computeoptimizer/api.go @@ -2480,6 +2480,8 @@ type DeleteRecommendationPreferencesInput struct { // are part of Auto Scaling groups. The AutoScalingGroup option encompasses // only instances that are part of an Auto Scaling group. // + // The valid values for this parameter are Ec2Instance and AutoScalingGroup. + // // ResourceType is a required field ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"` @@ -4915,6 +4917,8 @@ type GetRecommendationPreferencesInput struct { // are part of Auto Scaling groups. The AutoScalingGroup option encompasses // only instances that are part of an Auto Scaling group. // + // The valid values for this parameter are Ec2Instance and AutoScalingGroup. + // // ResourceType is a required field ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"` @@ -6543,6 +6547,8 @@ type PutRecommendationPreferencesInput struct { // are part of Auto Scaling groups. The AutoScalingGroup option encompasses // only instances that are part of an Auto Scaling group. // + // The valid values for this parameter are Ec2Instance and AutoScalingGroup. + // // ResourceType is a required field ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"` diff --git a/service/ec2/api.go b/service/ec2/api.go index d0abc72583..8f44a8ed4a 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -35562,6 +35562,93 @@ func (c *EC2) GetInstanceTypesFromInstanceRequirementsPagesWithContext(ctx aws.C return p.Err() } +const opGetInstanceUefiData = "GetInstanceUefiData" + +// GetInstanceUefiDataRequest generates a "aws/request.Request" representing the +// client's request for the GetInstanceUefiData operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetInstanceUefiData for more information on using the GetInstanceUefiData +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetInstanceUefiDataRequest method. +// req, resp := client.GetInstanceUefiDataRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetInstanceUefiData +func (c *EC2) GetInstanceUefiDataRequest(input *GetInstanceUefiDataInput) (req *request.Request, output *GetInstanceUefiDataOutput) { + op := &request.Operation{ + Name: opGetInstanceUefiData, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetInstanceUefiDataInput{} + } + + output = &GetInstanceUefiDataOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetInstanceUefiData API operation for Amazon Elastic Compute Cloud. +// +// A binary representation of the UEFI variable store. Only non-volatile variables +// are stored. This is a base64 encoded and zlib compressed binary value that +// must be properly encoded. +// +// When you use register-image (https://docs.aws.amazon.com/cli/latest/reference/ec2/register-image.html) +// to create an AMI, you can create an exact copy of your variable store by +// passing the UEFI data in the UefiData parameter. You can modify the UEFI +// data by using the python-uefivars tool (https://github.com/awslabs/python-uefivars) +// on GitHub. You can use the tool to convert the UEFI data into a human-readable +// format (JSON), which you can inspect and modify, and then convert back into +// the binary format to use with register-image. +// +// For more information, see UEFI Secure Boot (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html) +// in the Amazon EC2 User Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation GetInstanceUefiData for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetInstanceUefiData +func (c *EC2) GetInstanceUefiData(input *GetInstanceUefiDataInput) (*GetInstanceUefiDataOutput, error) { + req, out := c.GetInstanceUefiDataRequest(input) + return out, req.Send() +} + +// GetInstanceUefiDataWithContext is the same as GetInstanceUefiData with the addition of +// the ability to pass a context and additional request options. +// +// See GetInstanceUefiData for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) GetInstanceUefiDataWithContext(ctx aws.Context, input *GetInstanceUefiDataInput, opts ...request.Option) (*GetInstanceUefiDataOutput, error) { + req, out := c.GetInstanceUefiDataRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetIpamAddressHistory = "GetIpamAddressHistory" // GetIpamAddressHistoryRequest generates a "aws/request.Request" representing the @@ -82502,6 +82589,17 @@ type DescribeImageAttributeOutput struct { // Indicates whether enhanced networking with the Intel 82599 Virtual Function // interface is enabled. SriovNetSupport *AttributeValue `locationName:"sriovNetSupport" type:"structure"` + + // If the image is configured for NitroTPM support, the value is v2.0. + TpmSupport *AttributeValue `locationName:"tpmSupport" type:"structure"` + + // Base64 representation of the non-volatile UEFI variable store. To retrieve + // the UEFI data, use the GetInstanceUefiData (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData) + // command. You can inspect and modify the UEFI data by using the python-uefivars + // tool (https://github.com/awslabs/python-uefivars) on GitHub. For more information, + // see UEFI Secure Boot (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html) + // in the Amazon Elastic Compute Cloud User Guide. + UefiData *AttributeValue `locationName:"uefiData" type:"structure"` } // String returns the string representation. @@ -82582,6 +82680,18 @@ func (s *DescribeImageAttributeOutput) SetSriovNetSupport(v *AttributeValue) *De return s } +// SetTpmSupport sets the TpmSupport field's value. +func (s *DescribeImageAttributeOutput) SetTpmSupport(v *AttributeValue) *DescribeImageAttributeOutput { + s.TpmSupport = v + return s +} + +// SetUefiData sets the UefiData field's value. +func (s *DescribeImageAttributeOutput) SetUefiData(v *AttributeValue) *DescribeImageAttributeOutput { + s.UefiData = v + return s +} + type DescribeImagesInput struct { _ struct{} `type:"structure"` @@ -107106,6 +107216,104 @@ func (s *GetInstanceTypesFromInstanceRequirementsOutput) SetNextToken(v string) return s } +type GetInstanceUefiDataInput struct { + _ struct{} `type:"structure"` + + // 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. + DryRun *bool `type:"boolean"` + + // The ID of the instance from which to retrieve the UEFI data. + // + // InstanceId is a required field + InstanceId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetInstanceUefiDataInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetInstanceUefiDataInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetInstanceUefiDataInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetInstanceUefiDataInput"} + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *GetInstanceUefiDataInput) SetDryRun(v bool) *GetInstanceUefiDataInput { + s.DryRun = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *GetInstanceUefiDataInput) SetInstanceId(v string) *GetInstanceUefiDataInput { + s.InstanceId = &v + return s +} + +type GetInstanceUefiDataOutput struct { + _ struct{} `type:"structure"` + + // The ID of the instance from which to retrieve the UEFI data. + InstanceId *string `locationName:"instanceId" type:"string"` + + // Base64 representation of the non-volatile UEFI variable store. + UefiData *string `locationName:"uefiData" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetInstanceUefiDataOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetInstanceUefiDataOutput) GoString() string { + return s.String() +} + +// SetInstanceId sets the InstanceId field's value. +func (s *GetInstanceUefiDataOutput) SetInstanceId(v string) *GetInstanceUefiDataOutput { + s.InstanceId = &v + return s +} + +// SetUefiData sets the UefiData field's value. +func (s *GetInstanceUefiDataOutput) SetUefiData(v string) *GetInstanceUefiDataOutput { + s.UefiData = &v + return s +} + type GetIpamAddressHistoryInput struct { _ struct{} `type:"structure"` @@ -111241,6 +111449,11 @@ type Image struct { // Any tags assigned to the image. Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` + // If the image is configured for NitroTPM support, the value is v2.0. For more + // information, see NitroTPM (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html) + // in the Amazon Elastic Compute Cloud User Guide. + TpmSupport *string `locationName:"tpmSupport" type:"string" enum:"TpmSupportValues"` + // The operation of the Amazon EC2 instance and the billing code that is associated // with the AMI. usageOperation corresponds to the lineitem/Operation (https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation) // column on your Amazon Web Services Cost and Usage Report and in the Amazon @@ -111429,6 +111642,12 @@ func (s *Image) SetTags(v []*Tag) *Image { return s } +// SetTpmSupport sets the TpmSupport field's value. +func (s *Image) SetTpmSupport(v string) *Image { + s.TpmSupport = &v + return s +} + // SetUsageOperation sets the UsageOperation field's value. func (s *Image) SetUsageOperation(v string) *Image { s.UsageOperation = &v @@ -113594,6 +113813,11 @@ type Instance struct { // Any tags assigned to the instance. Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` + // If the instance is configured for NitroTPM support, the value is v2.0. For + // more information, see NitroTPM (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html) + // in the Amazon EC2 User Guide. + TpmSupport *string `locationName:"tpmSupport" type:"string"` + // The usage operation value for the instance. For more information, see AMI // billing information fields (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html) // in the Amazon EC2 User Guide. @@ -113933,6 +114157,12 @@ func (s *Instance) SetTags(v []*Tag) *Instance { return s } +// SetTpmSupport sets the TpmSupport field's value. +func (s *Instance) SetTpmSupport(v string) *Instance { + s.TpmSupport = &v + return s +} + // SetUsageOperation sets the UsageOperation field's value. func (s *Instance) SetUsageOperation(v string) *Instance { s.UsageOperation = &v @@ -137967,6 +138197,19 @@ type RegisterImageInput struct { // PV AMI can make instances launched from the AMI unreachable. SriovNetSupport *string `locationName:"sriovNetSupport" type:"string"` + // Set to v2.0 to enable Trusted Platform Module (TPM) support. For more information, + // see NitroTPM (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html) + // in the Amazon Elastic Compute Cloud User Guide. + TpmSupport *string `type:"string" enum:"TpmSupportValues"` + + // Base64 representation of the non-volatile UEFI variable store. To retrieve + // the UEFI data, use the GetInstanceUefiData (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData) + // command. You can inspect and modify the UEFI data by using the python-uefivars + // tool (https://github.com/awslabs/python-uefivars) on GitHub. For more information, + // see UEFI Secure Boot (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html) + // in the Amazon Elastic Compute Cloud User Guide. + UefiData *string `type:"string"` + // The type of virtualization (hvm | paravirtual). // // Default: paravirtual @@ -138082,6 +138325,18 @@ func (s *RegisterImageInput) SetSriovNetSupport(v string) *RegisterImageInput { return s } +// SetTpmSupport sets the TpmSupport field's value. +func (s *RegisterImageInput) SetTpmSupport(v string) *RegisterImageInput { + s.TpmSupport = &v + return s +} + +// SetUefiData sets the UefiData field's value. +func (s *RegisterImageInput) SetUefiData(v string) *RegisterImageInput { + s.UefiData = &v + return s +} + // SetVirtualizationType sets the VirtualizationType field's value. func (s *RegisterImageInput) SetVirtualizationType(v string) *RegisterImageInput { s.VirtualizationType = &v @@ -162756,6 +163011,12 @@ const ( // ImageAttributeNameBootMode is a ImageAttributeName enum value ImageAttributeNameBootMode = "bootMode" + // ImageAttributeNameTpmSupport is a ImageAttributeName enum value + ImageAttributeNameTpmSupport = "tpmSupport" + + // ImageAttributeNameUefiData is a ImageAttributeName enum value + ImageAttributeNameUefiData = "uefiData" + // ImageAttributeNameLastLaunchedTime is a ImageAttributeName enum value ImageAttributeNameLastLaunchedTime = "lastLaunchedTime" ) @@ -162771,6 +163032,8 @@ func ImageAttributeName_Values() []string { ImageAttributeNameBlockDeviceMapping, ImageAttributeNameSriovNetSupport, ImageAttributeNameBootMode, + ImageAttributeNameTpmSupport, + ImageAttributeNameUefiData, ImageAttributeNameLastLaunchedTime, } } @@ -167811,6 +168074,18 @@ func TieringOperationStatus_Values() []string { } } +const ( + // TpmSupportValuesV20 is a TpmSupportValues enum value + TpmSupportValuesV20 = "v2.0" +) + +// TpmSupportValues_Values returns all elements of the TpmSupportValues enum +func TpmSupportValues_Values() []string { + return []string{ + TpmSupportValuesV20, + } +} + const ( // TrafficDirectionIngress is a TrafficDirection enum value TrafficDirectionIngress = "ingress" diff --git a/service/ec2/ec2iface/interface.go b/service/ec2/ec2iface/interface.go index 62a3447cbd..69be9e6726 100644 --- a/service/ec2/ec2iface/interface.go +++ b/service/ec2/ec2iface/interface.go @@ -1855,6 +1855,10 @@ type EC2API interface { GetInstanceTypesFromInstanceRequirementsPages(*ec2.GetInstanceTypesFromInstanceRequirementsInput, func(*ec2.GetInstanceTypesFromInstanceRequirementsOutput, bool) bool) error GetInstanceTypesFromInstanceRequirementsPagesWithContext(aws.Context, *ec2.GetInstanceTypesFromInstanceRequirementsInput, func(*ec2.GetInstanceTypesFromInstanceRequirementsOutput, bool) bool, ...request.Option) error + GetInstanceUefiData(*ec2.GetInstanceUefiDataInput) (*ec2.GetInstanceUefiDataOutput, error) + GetInstanceUefiDataWithContext(aws.Context, *ec2.GetInstanceUefiDataInput, ...request.Option) (*ec2.GetInstanceUefiDataOutput, error) + GetInstanceUefiDataRequest(*ec2.GetInstanceUefiDataInput) (*request.Request, *ec2.GetInstanceUefiDataOutput) + GetIpamAddressHistory(*ec2.GetIpamAddressHistoryInput) (*ec2.GetIpamAddressHistoryOutput, error) GetIpamAddressHistoryWithContext(aws.Context, *ec2.GetIpamAddressHistoryInput, ...request.Option) (*ec2.GetIpamAddressHistoryOutput, error) GetIpamAddressHistoryRequest(*ec2.GetIpamAddressHistoryInput) (*request.Request, *ec2.GetIpamAddressHistoryOutput) diff --git a/service/eks/api.go b/service/eks/api.go index 0169bbdc77..9b86e95607 100644 --- a/service/eks/api.go +++ b/service/eks/api.go @@ -1888,7 +1888,7 @@ func (c *EKS) DescribeUpdateRequest(input *DescribeUpdateInput) (req *request.Re // DescribeUpdate API operation for Amazon Elastic Kubernetes Service. // // Returns descriptive information about an update against your Amazon EKS cluster -// or associated managed node group. +// or associated managed node group or Amazon EKS add-on. // // When the status of the update is Succeeded, the update is complete. If an // update fails, the status is Failed, and an error detail explains the reason @@ -3145,7 +3145,7 @@ func (c *EKS) RegisterClusterRequest(input *RegisterClusterInput) (req *request. // The specified resource is in use. // // * ResourcePropagationDelayException -// Required resources (such as Service Linked Roles) were created and are still +// Required resources (such as service-linked roles) were created and are still // propagating. Retry later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/RegisterCluster @@ -5661,7 +5661,7 @@ type CreateNodegroupInput struct { // through an IAM instance profile and associated policies. Before you can launch // nodes and register them into a cluster, you must create an IAM role for those // nodes to use when they are launched. For more information, see Amazon EKS - // node IAM role (https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html) + // node IAM role (https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html) // in the Amazon EKS User Guide . If you specify launchTemplate, then don't // specify IamInstanceProfile (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html) // in your launch template, or the node group deployment will fail. For more @@ -5715,7 +5715,8 @@ type CreateNodegroupInput struct { // with the node group, such as the Amazon EC2 instances or subnets. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` - // The Kubernetes taints to be applied to the nodes in the node group. + // The Kubernetes taints to be applied to the nodes in the node group. For more + // information, see Node taints on managed node groups (https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html). Taints []*Taint `locationName:"taints" type:"list"` // The node group update configuration. @@ -7002,6 +7003,7 @@ type DescribeUpdateInput struct { // The name of the add-on. The name must match one of the names returned by // ListAddons (https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html). + // This parameter is required if the update is an add-on update. AddonName *string `location:"querystring" locationName:"addonName" type:"string"` // The name of the Amazon EKS cluster associated with the update. @@ -7009,7 +7011,8 @@ type DescribeUpdateInput struct { // Name is a required field Name *string `location:"uri" locationName:"name" type:"string" required:"true"` - // The name of the Amazon EKS node group associated with the update. + // The name of the Amazon EKS node group associated with the update. This parameter + // is required if the update is a node group update. NodegroupName *string `location:"querystring" locationName:"nodegroupName" type:"string"` // The ID of the update to describe. @@ -7527,7 +7530,8 @@ type IdentityProviderConfig struct { // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` - // The type of the identity provider configuration. + // The type of the identity provider configuration. The only type available + // is oidc. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true"` @@ -7877,20 +7881,20 @@ func (s *Issue) SetResourceIds(v []*string) *Issue { type KubernetesNetworkConfigRequest struct { _ struct{} `type:"structure"` - // Specify which IP version is used to assign Kubernetes Pod and Service IP - // addresses. If you don't specify a value, ipv4 is used by default. You can - // only specify an IP family when you create a cluster and can't change this - // value once the cluster is created. If you specify ipv6, the VPC and subnets - // that you specify for cluster creation must have both IPv4 and IPv6 CIDR blocks - // assigned to them. + // Specify which IP family is used to assign Kubernetes pod and service IP addresses. + // If you don't specify a value, ipv4 is used by default. You can only specify + // an IP family when you create a cluster and can't change this value once the + // cluster is created. If you specify ipv6, the VPC and subnets that you specify + // for cluster creation must have both IPv4 and IPv6 CIDR blocks assigned to + // them. You can't specify ipv6 for clusters in China Regions. // - // You can only specify ipv6 for 1.21 and later clusters that use version 1.10.0 + // You can only specify ipv6 for 1.21 and later clusters that use version 1.10.1 // or later of the Amazon VPC CNI add-on. If you specify ipv6, then ensure that - // your VPC meets the requirements and that you're familiar with the considerations - // listed in Assigning IPv6 addresses to Pods and Services (https://docs.aws.amazon.com/eks/latest/userguide/cni-ipv6.html) - // in the Amazon EKS User Guide. If you specify ipv6, Kubernetes assigns Service - // and Pod addresses from the unique local address range (fc00::/7). You can't - // specify a custom IPv6 CIDR block. + // your VPC meets the requirements listed in the considerations listed in Assigning + // IPv6 addresses to pods and services (https://docs.aws.amazon.com/eks/latest/userguide/cni-ipv6.html) + // in the Amazon EKS User Guide. Kubernetes assigns services IPv6 addresses + // from the unique local address range (fc00::/7). You can't specify a custom + // IPv6 CIDR block. Pod addresses are assigned from the subnet's IPv6 CIDR. IpFamily *string `locationName:"ipFamily" type:"string" enum:"IpFamily"` // Don't specify a value if you select ipv6 for ipFamily. The CIDR block to @@ -7948,13 +7952,13 @@ func (s *KubernetesNetworkConfigRequest) SetServiceIpv4Cidr(v string) *Kubernete type KubernetesNetworkConfigResponse struct { _ struct{} `type:"structure"` - // The IP family used to assign Kubernetes Pod and Service IP addresses. The + // The IP family used to assign Kubernetes pod and service IP addresses. The // IP family is always ipv4, unless you have a 1.21 or later cluster running - // version 1.10.0 or later of the Amazon VPC CNI add-on and specified ipv6 when + // version 1.10.1 or later of the Amazon VPC CNI add-on and specified ipv6 when // you created the cluster. IpFamily *string `locationName:"ipFamily" type:"string" enum:"IpFamily"` - // The CIDR block that Kubernetes Pod and Service IP addresses are assigned + // The CIDR block that Kubernetes pod and service IP addresses are assigned // from. Kubernetes assigns addresses from an IPv4 CIDR block assigned to a // subnet that the node is in. If you didn't specify a CIDR block when you created // the cluster, then Kubernetes assigns addresses from either the 10.100.0.0/16 @@ -7962,11 +7966,12 @@ type KubernetesNetworkConfigResponse struct { // when the cluster was created and it can't be changed. ServiceIpv4Cidr *string `locationName:"serviceIpv4Cidr" type:"string"` - // The CIDR block that Kubernetes Pod and Service IP addresses are assigned - // from if you created a 1.21 or later cluster with version 1.10.0 or later + // The CIDR block that Kubernetes pod and service IP addresses are assigned + // from if you created a 1.21 or later cluster with version 1.10.1 or later // of the Amazon VPC CNI add-on and specified ipv6 for ipFamily when you created - // the cluster. Kubernetes assigns addresses from the unique local address range - // (fc00::/7). + // the cluster. Kubernetes assigns service addresses from the unique local address + // range (fc00::/7) because you can't specify a custom IPv6 CIDR block when + // you create the cluster. ServiceIpv6Cidr *string `locationName:"serviceIpv6Cidr" type:"string"` } @@ -9076,7 +9081,8 @@ type Nodegroup struct { // The Kubernetes taints to be applied to the nodes in the node group when they // are created. Effect is one of No_Schedule, Prefer_No_Schedule, or No_Execute. // Kubernetes taints can be used together with tolerations to control how workloads - // are scheduled to your nodes. + // are scheduled to your nodes. For more information, see Node taints on managed + // node groups (https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html). Taints []*Taint `locationName:"taints" type:"list"` // The node group update configuration. @@ -10278,7 +10284,7 @@ func (s *ResourceNotFoundException) RequestID() string { return s.RespMetadata.RequestID } -// Required resources (such as Service Linked Roles) were created and are still +// Required resources (such as service-linked roles) were created and are still // propagating. Retry later. type ResourcePropagationDelayException struct { _ struct{} `type:"structure"` @@ -10568,7 +10574,8 @@ func (s TagResourceOutput) GoString() string { return s.String() } -// A property that allows a node to repel a set of pods. +// A property that allows a node to repel a set of pods. For more information, +// see Node taints on managed node groups (https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html). type Taint struct { _ struct{} `type:"structure"` @@ -11311,7 +11318,8 @@ type UpdateNodegroupConfigInput struct { ScalingConfig *NodegroupScalingConfig `locationName:"scalingConfig" type:"structure"` // The Kubernetes taints to be applied to the nodes in the node group after - // the update. + // the update. For more information, see Node taints on managed node groups + // (https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html). Taints *UpdateTaintsPayload `locationName:"taints" type:"structure"` // The node group update configuration. @@ -11651,7 +11659,8 @@ func (s *UpdateParam) SetValue(v string) *UpdateParam { return s } -// An object representing the details of an update to a taints payload. +// An object representing the details of an update to a taints payload. For +// more information, see Node taints on managed node groups (https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html). type UpdateTaintsPayload struct { _ struct{} `type:"structure"` @@ -11948,6 +11957,12 @@ const ( // AMITypesBottlerocketX8664 is a AMITypes enum value AMITypesBottlerocketX8664 = "BOTTLEROCKET_x86_64" + + // AMITypesBottlerocketArm64Nvidia is a AMITypes enum value + AMITypesBottlerocketArm64Nvidia = "BOTTLEROCKET_ARM_64_NVIDIA" + + // AMITypesBottlerocketX8664Nvidia is a AMITypes enum value + AMITypesBottlerocketX8664Nvidia = "BOTTLEROCKET_x86_64_NVIDIA" ) // AMITypes_Values returns all elements of the AMITypes enum @@ -11959,6 +11974,8 @@ func AMITypes_Values() []string { AMITypesCustom, AMITypesBottlerocketArm64, AMITypesBottlerocketX8664, + AMITypesBottlerocketArm64Nvidia, + AMITypesBottlerocketX8664Nvidia, } } diff --git a/service/eks/errors.go b/service/eks/errors.go index aa1f039e48..19ea7424a1 100644 --- a/service/eks/errors.go +++ b/service/eks/errors.go @@ -77,7 +77,7 @@ const ( // ErrCodeResourcePropagationDelayException for service response error code // "ResourcePropagationDelayException". // - // Required resources (such as Service Linked Roles) were created and are still + // Required resources (such as service-linked roles) were created and are still // propagating. Retry later. ErrCodeResourcePropagationDelayException = "ResourcePropagationDelayException" diff --git a/service/emr/api.go b/service/emr/api.go index 95c4f57694..3375e587eb 100644 --- a/service/emr/api.go +++ b/service/emr/api.go @@ -6452,6 +6452,11 @@ type Cluster struct { // the actual billing rate. NormalizedInstanceHours *int64 `type:"integer"` + // The Amazon Linux release specified in a cluster launch RunJobFlow request. + // If no Amazon Linux release was specified, the default Amazon Linux release + // is shown in the response. + OSReleaseLabel *string `type:"string"` + // The Amazon Resource Name (ARN) of the Outpost where the cluster is launched. OutpostArn *string `type:"string"` @@ -6642,6 +6647,12 @@ func (s *Cluster) SetNormalizedInstanceHours(v int64) *Cluster { return s } +// SetOSReleaseLabel sets the OSReleaseLabel field's value. +func (s *Cluster) SetOSReleaseLabel(v string) *Cluster { + s.OSReleaseLabel = &v + return s +} + // SetOutpostArn sets the OutpostArn field's value. func (s *Cluster) SetOutpostArn(v string) *Cluster { s.OutpostArn = &v @@ -8213,6 +8224,12 @@ type DescribeReleaseLabelOutput struct { // the name of the application. Version is the concise version of the application. Applications []*SimplifiedApplication `type:"list"` + // The list of available Amazon Linux release versions for an Amazon EMR release. + // Contains a Label field that is formatted as shown in Amazon Linux 2 Release + // Notes (https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-al2.html). + // For example, 2.0.20220218.1 (https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-20220218.html). + AvailableOSReleases []*OSRelease `type:"list"` + // The pagination token. Reserved for future use. Currently set to null. NextToken *string `type:"string"` @@ -8244,6 +8261,12 @@ func (s *DescribeReleaseLabelOutput) SetApplications(v []*SimplifiedApplication) return s } +// SetAvailableOSReleases sets the AvailableOSReleases field's value. +func (s *DescribeReleaseLabelOutput) SetAvailableOSReleases(v []*OSRelease) *DescribeReleaseLabelOutput { + s.AvailableOSReleases = v + return s +} + // SetNextToken sets the NextToken field's value. func (s *DescribeReleaseLabelOutput) SetNextToken(v string) *DescribeReleaseLabelOutput { s.NextToken = &v @@ -10804,6 +10827,9 @@ type InstanceGroupModifyConfig struct { // InstanceGroupId is a required field InstanceGroupId *string `type:"string" required:"true"` + // Type of reconfiguration requested. Valid values are MERGE and OVERWRITE. + ReconfigurationType *string `type:"string" enum:"ReconfigurationType"` + // Policy for customizing shrink operations. ShrinkPolicy *ShrinkPolicy `type:"structure"` } @@ -10863,6 +10889,12 @@ func (s *InstanceGroupModifyConfig) SetInstanceGroupId(v string) *InstanceGroupM return s } +// SetReconfigurationType sets the ReconfigurationType field's value. +func (s *InstanceGroupModifyConfig) SetReconfigurationType(v string) *InstanceGroupModifyConfig { + s.ReconfigurationType = &v + return s +} + // SetShrinkPolicy sets the ShrinkPolicy field's value. func (s *InstanceGroupModifyConfig) SetShrinkPolicy(v *ShrinkPolicy) *InstanceGroupModifyConfig { s.ShrinkPolicy = v @@ -14237,6 +14269,40 @@ func (s *NotebookExecutionSummary) SetStatus(v string) *NotebookExecutionSummary return s } +// The Amazon Linux release specified for a cluster in the RunJobFlow request. +type OSRelease struct { + _ struct{} `type:"structure"` + + // The Amazon Linux release specified for a cluster in the RunJobFlow request. + // The format is as shown in Amazon Linux 2 Release Notes (https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-20220218.html). + // For example, 2.0.20220218.1. + Label *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s OSRelease) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s OSRelease) GoString() string { + return s.String() +} + +// SetLabel sets the Label field's value. +func (s *OSRelease) SetLabel(v string) *OSRelease { + s.Label = &v + return s +} + // Describes the strategy for using unused Capacity Reservations for fulfilling // On-Demand capacity. type OnDemandCapacityReservationOptions struct { @@ -15406,6 +15472,11 @@ type RunJobFlowInput struct { // * "ganglia" - launch the cluster with the Ganglia Monitoring System installed. NewSupportedProducts []*SupportedProductConfig `type:"list"` + // Specifies a particular Amazon Linux release for all nodes in a cluster launch + // RunJobFlow request. If a release is not specified, Amazon EMR uses the latest + // validated Amazon Linux release for cluster launch. + OSReleaseLabel *string `type:"string"` + // The specified placement group configuration for an Amazon EMR cluster. PlacementGroupConfigs []*PlacementGroupConfig `type:"list"` @@ -15670,6 +15741,12 @@ func (s *RunJobFlowInput) SetNewSupportedProducts(v []*SupportedProductConfig) * return s } +// SetOSReleaseLabel sets the OSReleaseLabel field's value. +func (s *RunJobFlowInput) SetOSReleaseLabel(v string) *RunJobFlowInput { + s.OSReleaseLabel = &v + return s +} + // SetPlacementGroupConfigs sets the PlacementGroupConfigs field's value. func (s *RunJobFlowInput) SetPlacementGroupConfigs(v []*PlacementGroupConfig) *RunJobFlowInput { s.PlacementGroupConfigs = v @@ -18992,6 +19069,22 @@ func PlacementGroupStrategy_Values() []string { } } +const ( + // ReconfigurationTypeOverwrite is a ReconfigurationType enum value + ReconfigurationTypeOverwrite = "OVERWRITE" + + // ReconfigurationTypeMerge is a ReconfigurationType enum value + ReconfigurationTypeMerge = "MERGE" +) + +// ReconfigurationType_Values returns all elements of the ReconfigurationType enum +func ReconfigurationType_Values() []string { + return []string{ + ReconfigurationTypeOverwrite, + ReconfigurationTypeMerge, + } +} + const ( // RepoUpgradeOnBootSecurity is a RepoUpgradeOnBoot enum value RepoUpgradeOnBootSecurity = "SECURITY" diff --git a/service/migrationhubrefactorspaces/doc.go b/service/migrationhubrefactorspaces/doc.go index a1e38c8b19..9a2db7e474 100644 --- a/service/migrationhubrefactorspaces/doc.go +++ b/service/migrationhubrefactorspaces/doc.go @@ -10,7 +10,7 @@ // the API request parameters and the response. Alternatively, you can use // one of the Amazon Web Services SDKs to access an API that is tailored // to the programming language or platform that you're using. For more information, -// see Amazon Web Services SDKs.

+// see Amazon Web Services SDKs.

//

To share Refactor Spaces environments with other Amazon Web Services // accounts or with Organizations and their OUs, use Resource Access Manager's // CreateResourceShare API. See CreateResourceShare