diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b383be3626..66c71db132f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +Release v1.40.49 (2021-09-24) +=== + +### Service Client Updates +* `service/ec2`: Updates service API and documentation + * DescribeInstances now returns Platform Details, Usage Operation, and Usage Operation Update Time. +* `service/license-manager`: Updates service API and documentation + Release v1.40.48 (2021-09-23) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 66a71013911..04ee3513940 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -5585,6 +5585,25 @@ var awsPartition = partition{ "us-west-2": endpoint{}, }, }, + "quicksight": service{ + + Endpoints: endpoints{ + "ap-northeast-1": endpoint{}, + "ap-northeast-2": endpoint{}, + "ap-south-1": endpoint{}, + "ap-southeast-1": endpoint{}, + "ap-southeast-2": endpoint{}, + "api": endpoint{}, + "ca-central-1": endpoint{}, + "eu-central-1": endpoint{}, + "eu-west-1": endpoint{}, + "eu-west-2": endpoint{}, + "sa-east-1": endpoint{}, + "us-east-1": endpoint{}, + "us-east-2": endpoint{}, + "us-west-2": endpoint{}, + }, + }, "ram": service{ Endpoints: endpoints{ @@ -5932,7 +5951,9 @@ var awsPartition = partition{ "runtime-v2-lex": service{ Endpoints: endpoints{ + "af-south-1": endpoint{}, "ap-northeast-1": endpoint{}, + "ap-northeast-2": endpoint{}, "ap-southeast-1": endpoint{}, "ap-southeast-2": endpoint{}, "ca-central-1": endpoint{}, @@ -9951,6 +9972,18 @@ var awsusgovPartition = partition{ }, }, }, + "identitystore": service{ + + Endpoints: endpoints{ + "fips-us-gov-west-1": endpoint{ + Hostname: "identitystore.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + }, + "us-gov-west-1": endpoint{}, + }, + }, "inspector": service{ Endpoints: endpoints{ @@ -10332,6 +10365,13 @@ var awsusgovPartition = partition{ "us-gov-west-1": endpoint{}, }, }, + "quicksight": service{ + + Endpoints: endpoints{ + "api": endpoint{}, + "us-gov-west-1": endpoint{}, + }, + }, "ram": service{ Endpoints: endpoints{ diff --git a/aws/version.go b/aws/version.go index 872b9f5d2a2..a0374110838 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.40.48" +const SDKVersion = "1.40.49" diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index e795b8a2953..c958010b336 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -20017,6 +20017,18 @@ "BootMode":{ "shape":"BootModeValues", "locationName":"bootMode" + }, + "PlatformDetails":{ + "shape":"String", + "locationName":"platformDetails" + }, + "UsageOperation":{ + "shape":"String", + "locationName":"usageOperation" + }, + "UsageOperationUpdateTime":{ + "shape":"MillisecondDateTime", + "locationName":"usageOperationUpdateTime" } } }, @@ -26106,7 +26118,7 @@ "locationName":"affinity" }, "GroupName":{ - "shape":"String", + "shape":"PlacementGroupName", "locationName":"groupName" }, "PartitionNumber":{ diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index d4566137a93..2b01b0ded3f 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -384,7 +384,7 @@ "ModifyInstanceEventStartTime": "
Modifies the start time for a scheduled Amazon EC2 instance event.
", "ModifyInstanceEventWindow": "Modifies the specified event window.
You can define either a set of time ranges or a cron expression when modifying the event window, but not both.
To modify the targets associated with the event window, use the AssociateInstanceEventWindow and DisassociateInstanceEventWindow API.
If Amazon Web Services has already scheduled an event, modifying an event window won't change the time of the scheduled event.
For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.
", "ModifyInstanceMetadataOptions": "Modify the instance metadata parameters on a running or stopped instance. When you modify the parameters on a stopped instance, they are applied when the instance is started. When you modify the parameters on a running instance, the API responds with a state of “pending”. After the parameter modifications are successfully applied to the instance, the state of the modifications changes from “pending” to “applied” in subsequent describe-instances API calls. For more information, see Instance metadata and user data in the Amazon EC2 User Guide.
", - "ModifyInstancePlacement": "Modifies the placement attributes for a specified instance. You can do the following:
Modify the affinity between an instance and a Dedicated Host. When affinity is set to host
and the instance is not associated with a specific Dedicated Host, the next time the instance is launched, it is automatically associated with the host on which it lands. If the instance is restarted or rebooted, this relationship persists.
Change the Dedicated Host with which an instance is associated.
Change the instance tenancy of an instance from host
to dedicated
, or from dedicated
to host
.
Move an instance to or from a placement group.
At least one attribute for affinity, host ID, tenancy, or placement group name must be specified in the request. Affinity and tenancy can be modified in the same request.
To modify the host ID, tenancy, placement group, or partition for an instance, the instance must be in the stopped
state.
Modifies the placement attributes for a specified instance. You can do the following:
Modify the affinity between an instance and a Dedicated Host. When affinity is set to host
and the instance is not associated with a specific Dedicated Host, the next time the instance is launched, it is automatically associated with the host on which it lands. If the instance is restarted or rebooted, this relationship persists.
Change the Dedicated Host with which an instance is associated.
Change the instance tenancy of an instance.
Move an instance to or from a placement group.
At least one attribute for affinity, host ID, tenancy, or placement group name must be specified in the request. Affinity and tenancy can be modified in the same request.
To modify the host ID, tenancy, placement group, or partition for an instance, the instance must be in the stopped
state.
Modifies a launch template. You can specify which version of the launch template to set as the default version. When launching an instance, the default version applies when a launch template version is not specified.
", "ModifyManagedPrefixList": "Modifies the specified managed prefix list.
Adding or removing entries in a prefix list creates a new version of the prefix list. Changing the name of the prefix list does not affect the version.
If you specify a current version number that does not match the true current version number, the request fails.
", "ModifyNetworkInterfaceAttribute": "Modifies the specified network interface attribute. You can specify only one attribute at a time. You can use this action to attach and detach security groups from an existing EC2 instance.
", @@ -7986,7 +7986,7 @@ "HostTenancy": { "base": null, "refs": { - "ModifyInstancePlacementRequest$Tenancy": "The tenancy for the instance.
For T3 instances, you can't change the tenancy from dedicated
to host
, or from host
to dedicated
. Attempting to make one of these unsupported tenancy changes results in the InvalidTenancy
error code.
The tenancy for the instance.
For T3 instances, you can't change the tenancy from dedicated
to host
, or from host
to dedicated
. Attempting to make one of these unsupported tenancy changes results in the InvalidTenancy
error code.
The license configurations.
" + "Instance$Licenses": "The license configurations for the instance.
" } }, "LicenseSpecificationListRequest": { @@ -10636,6 +10636,7 @@ "EnableFastSnapshotRestoreSuccessItem$DisabledTime": "The time at which fast snapshot restores entered the disabled
state.
The date and time to deprecate the AMI, in UTC, in the following format: YYYY-MM-DDTHH:MM:SSZ. If you specify a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.
You can’t specify a date in the past. The upper limit for DeprecateAt
is 10 years from now.
The date and time the flow log was created.
", + "Instance$UsageOperationUpdateTime": "The time that the usage operation was last updated.
", "NetworkInsightsAnalysis$StartDate": "The time the analysis started.
", "NetworkInsightsPath$CreatedDate": "The time stamp when the path was created.
", "SnapshotInfo$StartTime": "Time this snapshot was started. This is the same for all snapshots initiated by the same request.
", @@ -11910,6 +11911,7 @@ "DeletePlacementGroupRequest$GroupName": "The name of the placement group.
", "LaunchTemplatePlacementRequest$GroupName": "The name of the placement group for the instance.
", "ModifyInstancePlacementRequest$GroupName": "The name of the placement group in which to place the instance. For spread placement groups, the instance must have a tenancy of default
. For cluster and partition placement groups, the instance must have a tenancy of default
or dedicated
.
To remove an instance from a placement group, specify an empty string (\"\").
", + "Placement$GroupName": "The name of the placement group the instance is in.
", "PlacementGroupStringList$member": null, "PlacementResponse$GroupName": "The name of the placement group that the instance is in.
", "ScheduledInstancesPlacement$GroupName": "The name of the placement group.
", @@ -14990,6 +14992,8 @@ "Instance$SpotInstanceRequestId": "If the request is a Spot Instance request, the ID of the request.
", "Instance$SriovNetSupport": "Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
", "Instance$CapacityReservationId": "The ID of the Capacity Reservation.
", + "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.
", "InstanceAttribute$InstanceId": "The ID of the instance.
", "InstanceBlockDeviceMapping$DeviceName": "The device name (for example, /dev/sdh
or xvdh
).
The device name (for example, /dev/sdh
or xvdh
).
The integrity algorithm.
", "Placement$AvailabilityZone": "The Availability Zone of the instance.
If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.
This parameter is not supported by CreateFleet.
", "Placement$Affinity": "The affinity setting for the instance on the Dedicated Host. This parameter is not supported for the ImportInstance command.
This parameter is not supported by CreateFleet.
", - "Placement$GroupName": "The name of the placement group the instance is in.
", "Placement$HostId": "The ID of the Dedicated Host on which the instance resides. This parameter is not supported for the ImportInstance command.
This parameter is not supported by CreateFleet.
", "Placement$SpreadDomain": "Reserved for future use.
This parameter is not supported by CreateFleet.
", "Placement$HostResourceGroupArn": "The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host
.
This parameter is not supported by CreateFleet.
", diff --git a/models/apis/license-manager/2018-08-01/api-2.json b/models/apis/license-manager/2018-08-01/api-2.json index 280752b3694..0fb37b064ba 100644 --- a/models/apis/license-manager/2018-08-01/api-2.json +++ b/models/apis/license-manager/2018-08-01/api-2.json @@ -1004,7 +1004,8 @@ "SignedToken":{"shape":"SignedToken"}, "NodeId":{"shape":"String"}, "IssuedAt":{"shape":"ISO8601DateTime"}, - "Expiration":{"shape":"ISO8601DateTime"} + "Expiration":{"shape":"ISO8601DateTime"}, + "LicenseArn":{"shape":"String"} } }, "CheckoutType":{ diff --git a/models/apis/license-manager/2018-08-01/docs-2.json b/models/apis/license-manager/2018-08-01/docs-2.json index 36e1cb0995c..2f4693a9761 100644 --- a/models/apis/license-manager/2018-08-01/docs-2.json +++ b/models/apis/license-manager/2018-08-01/docs-2.json @@ -1361,6 +1361,7 @@ "CheckoutLicenseRequest$NodeId": "Node ID.
", "CheckoutLicenseResponse$LicenseConsumptionToken": "License consumption token.
", "CheckoutLicenseResponse$NodeId": "Node ID.
", + "CheckoutLicenseResponse$LicenseArn": "Amazon Resource Name (ARN) of the checkout license.
", "CreateGrantRequest$GrantName": "Grant name.
", "CreateGrantRequest$HomeRegion": "Home Region of the grant.
", "CreateGrantResponse$Version": "Grant version.
", diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 88582cdd380..b15bb7164d4 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -5408,6 +5408,24 @@ "us-west-2" : { } } }, + "quicksight" : { + "endpoints" : { + "ap-northeast-1" : { }, + "ap-northeast-2" : { }, + "ap-south-1" : { }, + "ap-southeast-1" : { }, + "ap-southeast-2" : { }, + "api" : { }, + "ca-central-1" : { }, + "eu-central-1" : { }, + "eu-west-1" : { }, + "eu-west-2" : { }, + "sa-east-1" : { }, + "us-east-1" : { }, + "us-east-2" : { }, + "us-west-2" : { } + } + }, "ram" : { "endpoints" : { "af-south-1" : { }, @@ -5745,7 +5763,9 @@ }, "runtime-v2-lex" : { "endpoints" : { + "af-south-1" : { }, "ap-northeast-1" : { }, + "ap-northeast-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ca-central-1" : { }, @@ -9605,6 +9625,17 @@ "isRegionalized" : false, "partitionEndpoint" : "aws-us-gov-global" }, + "identitystore" : { + "endpoints" : { + "fips-us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "hostname" : "identitystore.us-gov-west-1.amazonaws.com" + }, + "us-gov-west-1" : { } + } + }, "inspector" : { "endpoints" : { "fips-us-gov-east-1" : { @@ -9965,6 +9996,12 @@ "us-gov-west-1" : { } } }, + "quicksight" : { + "endpoints" : { + "api" : { }, + "us-gov-west-1" : { } + } + }, "ram" : { "endpoints" : { "us-gov-east-1" : { diff --git a/service/ec2/api.go b/service/ec2/api.go index 9ee0ec72745..7422b5a4444 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -36385,8 +36385,7 @@ func (c *EC2) ModifyInstancePlacementRequest(input *ModifyInstancePlacementInput // // * Change the Dedicated Host with which an instance is associated. // -// * Change the instance tenancy of an instance from host to dedicated, or -// from dedicated to host. +// * Change the instance tenancy of an instance. // // * Move an instance to or from a placement group (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html). // @@ -101462,7 +101461,7 @@ type Instance struct { // The time the instance was launched. LaunchTime *time.Time `locationName:"launchTime" type:"timestamp"` - // The license configurations. + // The license configurations for the instance. Licenses []*LicenseConfiguration `locationName:"licenseSet" locationNameList:"item" type:"list"` // The metadata options for the instance. @@ -101483,6 +101482,11 @@ type Instance struct { // The value is Windows for Windows instances; otherwise blank. Platform *string `locationName:"platform" type:"string" enum:"PlatformValues"` + // The platform details 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. + PlatformDetails *string `locationName:"platformDetails" type:"string"` + // (IPv4 only) The private DNS hostname name assigned to the instance. This // DNS hostname can only be used inside the Amazon EC2 network. This name is // not available until the instance enters the running state. @@ -101549,6 +101553,14 @@ type Instance struct { // Any tags assigned to the instance. Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` + // 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. + UsageOperation *string `locationName:"usageOperation" type:"string"` + + // The time that the usage operation was last updated. + UsageOperationUpdateTime *time.Time `locationName:"usageOperationUpdateTime" type:"timestamp"` + // The virtualization type of the instance. VirtualizationType *string `locationName:"virtualizationType" type:"string" enum:"VirtualizationType"` @@ -101754,6 +101766,12 @@ func (s *Instance) SetPlatform(v string) *Instance { return s } +// SetPlatformDetails sets the PlatformDetails field's value. +func (s *Instance) SetPlatformDetails(v string) *Instance { + s.PlatformDetails = &v + return s +} + // SetPrivateDnsName sets the PrivateDnsName field's value. func (s *Instance) SetPrivateDnsName(v string) *Instance { s.PrivateDnsName = &v @@ -101856,6 +101874,18 @@ func (s *Instance) SetTags(v []*Tag) *Instance { return s } +// SetUsageOperation sets the UsageOperation field's value. +func (s *Instance) SetUsageOperation(v string) *Instance { + s.UsageOperation = &v + return s +} + +// SetUsageOperationUpdateTime sets the UsageOperationUpdateTime field's value. +func (s *Instance) SetUsageOperationUpdateTime(v time.Time) *Instance { + s.UsageOperationUpdateTime = &v + return s +} + // SetVirtualizationType sets the VirtualizationType field's value. func (s *Instance) SetVirtualizationType(v string) *Instance { s.VirtualizationType = &v diff --git a/service/licensemanager/api.go b/service/licensemanager/api.go index 9ce74f0abf5..6a0d845f5dc 100644 --- a/service/licensemanager/api.go +++ b/service/licensemanager/api.go @@ -5455,6 +5455,9 @@ type CheckoutLicenseOutput struct { // Date and time at which the license checkout is issued. IssuedAt *string `type:"string"` + // Amazon Resource Name (ARN) of the checkout license. + LicenseArn *string `type:"string"` + // License consumption token. LicenseConsumptionToken *string `type:"string"` @@ -5507,6 +5510,12 @@ func (s *CheckoutLicenseOutput) SetIssuedAt(v string) *CheckoutLicenseOutput { return s } +// SetLicenseArn sets the LicenseArn field's value. +func (s *CheckoutLicenseOutput) SetLicenseArn(v string) *CheckoutLicenseOutput { + s.LicenseArn = &v + return s +} + // SetLicenseConsumptionToken sets the LicenseConsumptionToken field's value. func (s *CheckoutLicenseOutput) SetLicenseConsumptionToken(v string) *CheckoutLicenseOutput { s.LicenseConsumptionToken = &v