build(deps): bump the go-deps group across 1 directory with 10 updates

Bumps the go-deps group with 8 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [cloud.google.com/go/compute](https://github.com/googleapis/google-cloud-go) | `1.27.1` | `1.27.3` |
| [cloud.google.com/go/storage](https://github.com/googleapis/google-cloud-go) | `1.42.0` | `1.43.0` |
| [github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://github.com/Azure/azure-sdk-for-go) | `1.6.0` | `1.7.0` |
| [github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage](https://github.com/Azure/azure-sdk-for-go) | `1.5.0` | `1.6.0` |
| [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) | `1.54.10` | `1.54.18` |
| [github.com/gophercloud/gophercloud](https://github.com/gophercloud/gophercloud) | `1.12.0` | `1.13.0` |
| [github.com/openshift-online/ocm-sdk-go](https://github.com/openshift-online/ocm-sdk-go) | `0.1.425` | `0.1.429` |
| [github.com/osbuild/images](https://github.com/osbuild/images) | `0.69.0` | `0.70.0` |



Updates `cloud.google.com/go/compute` from 1.27.1 to 1.27.3
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/pubsub/v1.27.1...compute/v1.27.3)

Updates `cloud.google.com/go/storage` from 1.42.0 to 1.43.0
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/spanner/v1.42.0...spanner/v1.43.0)

Updates `github.com/Azure/azure-sdk-for-go/sdk/azidentity` from 1.6.0 to 1.7.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azcore/v1.6.0...sdk/azcore/v1.7.0)

Updates `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage` from 1.5.0 to 1.6.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azcore/v1.5.0...sdk/azcore/v1.6.0)

Updates `github.com/aws/aws-sdk-go` from 1.54.10 to 1.54.18
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.54.10...v1.54.18)

Updates `github.com/gophercloud/gophercloud` from 1.12.0 to 1.13.0
- [Release notes](https://github.com/gophercloud/gophercloud/releases)
- [Changelog](https://github.com/gophercloud/gophercloud/blob/v1.13.0/CHANGELOG.md)
- [Commits](https://github.com/gophercloud/gophercloud/compare/v1.12.0...v1.13.0)

Updates `github.com/openshift-online/ocm-sdk-go` from 0.1.425 to 0.1.429
- [Release notes](https://github.com/openshift-online/ocm-sdk-go/releases)
- [Changelog](https://github.com/openshift-online/ocm-sdk-go/blob/main/CHANGES.md)
- [Commits](https://github.com/openshift-online/ocm-sdk-go/compare/v0.1.425...v0.1.429)

Updates `github.com/osbuild/images` from 0.69.0 to 0.70.0
- [Release notes](https://github.com/osbuild/images/releases)
- [Commits](https://github.com/osbuild/images/compare/v0.69.0...v0.70.0)

Updates `golang.org/x/sys` from 0.21.0 to 0.22.0
- [Commits](https://github.com/golang/sys/compare/v0.21.0...v0.22.0)

Updates `google.golang.org/api` from 0.186.0 to 0.188.0
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.186.0...v0.188.0)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/compute
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-deps
- dependency-name: cloud.google.com/go/storage
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azidentity
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-deps
- dependency-name: github.com/gophercloud/gophercloud
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: github.com/openshift-online/ocm-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-deps
- dependency-name: github.com/osbuild/images
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot] 2024-07-11 04:55:34 +00:00 committed by Tomáš Hozza
parent c6d669f2cc
commit 4ba7085068
153 changed files with 6445 additions and 1316 deletions

File diff suppressed because it is too large Load diff

View file

@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"
// SDKVersion is the version of this SDK
const SDKVersion = "1.54.10"
const SDKVersion = "1.54.18"

View file

@ -65051,7 +65051,30 @@ type ByoipCidr struct {
// this time.
NetworkBorderGroup *string `locationName:"networkBorderGroup" type:"string"`
// The state of the address pool.
// The state of the address range.
//
// * advertised: The address range is being advertised to the internet by
// Amazon Web Services.
//
// * deprovisioned: The address range is deprovisioned.
//
// * failed-deprovision: The request to deprovision the address range was
// unsuccessful. Ensure that all EIPs from the range have been deallocated
// and try again.
//
// * failed-provision: The request to provision the address range was unsuccessful.
//
// * pending-deprovision: Youve submitted a request to deprovision an
// address range and it's pending.
//
// * pending-provision: Youve submitted a request to provision an address
// range and it's pending.
//
// * provisioned: The address range is provisioned and can be advertised.
// The range is not currently advertised.
//
// * provisioned-not-publicly-advertisable: The address range is provisioned
// and cannot be advertised.
State *string `locationName:"state" type:"string" enum:"ByoipCidrState"`
// Upon success, contains the ID of the address pool. Otherwise, contains an
@ -73326,15 +73349,14 @@ type CreateInstanceConnectEndpointInput struct {
// it is UnauthorizedOperation.
DryRun *bool `type:"boolean"`
// Indicates whether your client's IP address is preserved as the source. The
// value is true or false.
// Indicates whether the client IP address is preserved as the source. The following
// are the possible values.
//
// * If true, your client's IP address is used when you connect to a resource.
// * true - Use the client IP address as the source.
//
// * If false, the elastic network interface IP address is used when you
// connect to a resource.
// * false - Use the network interface IP address as the source.
//
// Default: true
// Default: false
PreserveClientIp *bool `type:"boolean"`
// One or more security groups to associate with the endpoint. If you don't
@ -73971,13 +73993,12 @@ type CreateIpamPoolInput struct {
// IpamScopeId is a required field
IpamScopeId *string `type:"string" required:"true"`
// In IPAM, the locale is the Amazon Web Services Region where you want to make
// an IPAM pool available for allocations. Only resources in the same Region
// as the locale of the pool can get IP address allocations from the pool. You
// can only allocate a CIDR for a VPC, for example, from an IPAM pool that shares
// a locale with the VPCs Region. Note that once you choose a Locale for
// a pool, you cannot modify it. If you do not choose a locale, resources in
// Regions others than the IPAM's home region cannot use CIDRs from this pool.
// In IPAM, the locale is the Amazon Web Services Region or, for IPAM IPv4 pools
// in the public scope, the network border group for an Amazon Web Services
// Local Zone where you want to make an IPAM pool available for allocations
// (supported Local Zones (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail)).
// If you do not choose a locale, resources in Regions others than the IPAM's
// home region cannot use CIDRs from this pool.
//
// Possible values: Any Amazon Web Services Region, such as us-east-1.
Locale *string `type:"string"`
@ -76872,6 +76893,13 @@ type CreatePublicIpv4PoolInput struct {
// is UnauthorizedOperation.
DryRun *bool `type:"boolean"`
// The Availability Zone (AZ) or Local Zone (LZ) network border group that the
// resource that the IP address is assigned to is in. Defaults to an AZ network
// border group. For more information on available Local Zones, see Local Zone
// availability (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail)
// in the Amazon EC2 User Guide.
NetworkBorderGroup *string `type:"string"`
// The key/value combination of a tag assigned to the resource. Use the tag
// key in the filter name and the tag value as the filter value. For example,
// to find all resources that have a tag with the key Owner and the value TeamA,
@ -76903,6 +76931,12 @@ func (s *CreatePublicIpv4PoolInput) SetDryRun(v bool) *CreatePublicIpv4PoolInput
return s
}
// SetNetworkBorderGroup sets the NetworkBorderGroup field's value.
func (s *CreatePublicIpv4PoolInput) SetNetworkBorderGroup(v string) *CreatePublicIpv4PoolInput {
s.NetworkBorderGroup = &v
return s
}
// SetTagSpecifications sets the TagSpecifications field's value.
func (s *CreatePublicIpv4PoolInput) SetTagSpecifications(v []*TagSpecification) *CreatePublicIpv4PoolInput {
s.TagSpecifications = v
@ -81941,7 +81975,12 @@ type CreateVolumeInput struct {
// in the Amazon EBS User Guide.
MultiAttachEnabled *bool `type:"boolean"`
// The Amazon Resource Name (ARN) of the Outpost.
// The Amazon Resource Name (ARN) of the Outpost on which to create the volume.
//
// If you intend to use a volume with an instance running on an outpost, then
// you must create the volume on the same outpost as the instance. You can't
// use a volume created in an Amazon Web Services Region with an instance on
// an Amazon Web Services outpost, or the other way around.
OutpostArn *string `type:"string"`
// The size of the volume, in GiBs. You must specify either a snapshot ID or
@ -87380,6 +87419,13 @@ type DeletePublicIpv4PoolInput struct {
// is UnauthorizedOperation.
DryRun *bool `type:"boolean"`
// The Availability Zone (AZ) or Local Zone (LZ) network border group that the
// resource that the IP address is assigned to is in. Defaults to an AZ network
// border group. For more information on available Local Zones, see Local Zone
// availability (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail)
// in the Amazon EC2 User Guide.
NetworkBorderGroup *string `type:"string"`
// The ID of the public IPv4 pool you want to delete.
//
// PoolId is a required field
@ -87423,6 +87469,12 @@ func (s *DeletePublicIpv4PoolInput) SetDryRun(v bool) *DeletePublicIpv4PoolInput
return s
}
// SetNetworkBorderGroup sets the NetworkBorderGroup field's value.
func (s *DeletePublicIpv4PoolInput) SetNetworkBorderGroup(v string) *DeletePublicIpv4PoolInput {
s.NetworkBorderGroup = &v
return s
}
// SetPoolId sets the PoolId field's value.
func (s *DeletePublicIpv4PoolInput) SetPoolId(v string) *DeletePublicIpv4PoolInput {
s.PoolId = &v
@ -111423,7 +111475,7 @@ type DescribeVolumesInput struct {
// from the end of the items returned by the previous request.
NextToken *string `locationName:"nextToken" type:"string"`
// The volume IDs.
// The volume IDs. If not specified, then all volumes are included in the response.
VolumeIds []*string `locationName:"VolumeId" locationNameList:"VolumeId" type:"list"`
}
@ -138008,7 +138060,7 @@ type InstanceRequirements struct {
//
// The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
//
// If you set DesiredCapacityType to vcpu or memory-mib, the price protection
// If you set TargetCapacityUnitType to vcpu or memory-mib, the price protection
// threshold is based on the per vCPU or per memory price instead of the per
// instance price.
//
@ -138500,7 +138552,7 @@ type InstanceRequirementsRequest struct {
//
// The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
//
// If you set DesiredCapacityType to vcpu or memory-mib, the price protection
// If you set TargetCapacityUnitType to vcpu or memory-mib, the price protection
// threshold is based on the per vCPU or per memory price instead of the per
// instance price.
//
@ -140679,8 +140731,11 @@ type IpamDiscoveredPublicAddress struct {
// The resource discovery ID.
IpamResourceDiscoveryId *string `locationName:"ipamResourceDiscoveryId" type:"string"`
// The network border group that the resource that the IP address is assigned
// to is in.
// The Availability Zone (AZ) or Local Zone (LZ) network border group that the
// resource that the IP address is assigned to is in. Defaults to an AZ network
// border group. For more information on available Local Zones, see Local Zone
// availability (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail)
// in the Amazon EC2 User Guide.
NetworkBorderGroup *string `locationName:"networkBorderGroup" type:"string"`
// The description of the network interface that IP address is assigned to.
@ -140856,6 +140911,9 @@ func (s *IpamDiscoveredPublicAddress) SetVpcId(v string) *IpamDiscoveredPublicAd
type IpamDiscoveredResourceCidr struct {
_ struct{} `type:"structure"`
// The Availability Zone ID.
AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"`
// The percentage of IP address space in use. To convert the decimal to a percentage,
// multiply the decimal by 100. Note the following:
//
@ -140876,6 +140934,9 @@ type IpamDiscoveredResourceCidr struct {
// The resource discovery ID.
IpamResourceDiscoveryId *string `locationName:"ipamResourceDiscoveryId" type:"string"`
// For elastic IP addresses, this is the status of an attached network interface.
NetworkInterfaceAttachmentStatus *string `locationName:"networkInterfaceAttachmentStatus" type:"string" enum:"IpamNetworkInterfaceAttachmentStatus"`
// The resource CIDR.
ResourceCidr *string `locationName:"resourceCidr" type:"string"`
@ -140919,6 +140980,12 @@ func (s IpamDiscoveredResourceCidr) GoString() string {
return s.String()
}
// SetAvailabilityZoneId sets the AvailabilityZoneId field's value.
func (s *IpamDiscoveredResourceCidr) SetAvailabilityZoneId(v string) *IpamDiscoveredResourceCidr {
s.AvailabilityZoneId = &v
return s
}
// SetIpUsage sets the IpUsage field's value.
func (s *IpamDiscoveredResourceCidr) SetIpUsage(v float64) *IpamDiscoveredResourceCidr {
s.IpUsage = &v
@ -140931,6 +140998,12 @@ func (s *IpamDiscoveredResourceCidr) SetIpamResourceDiscoveryId(v string) *IpamD
return s
}
// SetNetworkInterfaceAttachmentStatus sets the NetworkInterfaceAttachmentStatus field's value.
func (s *IpamDiscoveredResourceCidr) SetNetworkInterfaceAttachmentStatus(v string) *IpamDiscoveredResourceCidr {
s.NetworkInterfaceAttachmentStatus = &v
return s
}
// SetResourceCidr sets the ResourceCidr field's value.
func (s *IpamDiscoveredResourceCidr) SetResourceCidr(v string) *IpamDiscoveredResourceCidr {
s.ResourceCidr = &v
@ -141151,13 +141224,11 @@ type IpamPool struct {
IpamScopeType *string `locationName:"ipamScopeType" type:"string" enum:"IpamScopeType"`
// The locale of the IPAM pool. In IPAM, the locale is the Amazon Web Services
// Region where you want to make an IPAM pool available for allocations. Only
// resources in the same Region as the locale of the pool can get IP address
// allocations from the pool. You can only allocate a CIDR for a VPC, for example,
// from an IPAM pool that shares a locale with the VPCs Region. Note that
// once you choose a Locale for a pool, you cannot modify it. If you choose
// an Amazon Web Services Region for locale that has not been configured as
// an operating Region for the IPAM, you'll get an error.
// Region or, for IPAM IPv4 pools in the public scope, the network border group
// for an Amazon Web Services Local Zone where you want to make an IPAM pool
// available for allocations (supported Local Zones (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail)).
// If you choose an Amazon Web Services Region for locale that has not been
// configured as an operating Region for the IPAM, you'll get an error.
Locale *string `locationName:"locale" type:"string"`
// The Amazon Web Services account ID of the owner of the IPAM pool.
@ -141804,6 +141875,9 @@ func (s *IpamPublicAddressTags) SetEipTags(v []*IpamPublicAddressTag) *IpamPubli
type IpamResourceCidr struct {
_ struct{} `type:"structure"`
// The Availability Zone ID.
AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"`
// The compliance status of the IPAM resource. For more information on compliance
// statuses, see Monitor CIDR usage by resource (https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html)
// in the Amazon VPC IPAM User Guide.
@ -141889,6 +141963,12 @@ func (s IpamResourceCidr) GoString() string {
return s.String()
}
// SetAvailabilityZoneId sets the AvailabilityZoneId field's value.
func (s *IpamResourceCidr) SetAvailabilityZoneId(v string) *IpamResourceCidr {
s.AvailabilityZoneId = &v
return s
}
// SetComplianceStatus sets the ComplianceStatus field's value.
func (s *IpamResourceCidr) SetComplianceStatus(v string) *IpamResourceCidr {
s.ComplianceStatus = &v
@ -150273,10 +150353,10 @@ type ModifyInstanceAttributeInput struct {
// a PV instance can make it unreachable.
SriovNetSupport *AttributeValue `locationName:"sriovNetSupport" type:"structure"`
// Changes the instance's user data to the specified value. If you are using
// an Amazon Web Services SDK or command line tool, base64-encoding is performed
// for you, and you can load the text from a file. Otherwise, you must provide
// base64-encoded text.
// Changes the instance's user data to the specified value. User data must be
// base64-encoded. Depending on the tool or SDK that you're using, the base64-encoding
// might be performed for you. For more information, see Work with instance
// user data (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-add-user-data.html).
UserData *BlobAttributeValue `locationName:"userData" type:"structure"`
// A new value for the attribute. Use only with the kernel, ramdisk, userData,
@ -163906,6 +163986,13 @@ type ProvisionPublicIpv4PoolCidrInput struct {
// NetmaskLength is a required field
NetmaskLength *int64 `type:"integer" required:"true"`
// The Availability Zone (AZ) or Local Zone (LZ) network border group that the
// resource that the IP address is assigned to is in. Defaults to an AZ network
// border group. For more information on available Local Zones, see Local Zone
// availability (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail)
// in the Amazon EC2 User Guide.
NetworkBorderGroup *string `type:"string"`
// The ID of the public IPv4 pool you would like to use for this CIDR.
//
// PoolId is a required field
@ -163967,6 +164054,12 @@ func (s *ProvisionPublicIpv4PoolCidrInput) SetNetmaskLength(v int64) *ProvisionP
return s
}
// SetNetworkBorderGroup sets the NetworkBorderGroup field's value.
func (s *ProvisionPublicIpv4PoolCidrInput) SetNetworkBorderGroup(v string) *ProvisionPublicIpv4PoolCidrInput {
s.NetworkBorderGroup = &v
return s
}
// SetPoolId sets the PoolId field's value.
func (s *ProvisionPublicIpv4PoolCidrInput) SetPoolId(v string) *ProvisionPublicIpv4PoolCidrInput {
s.PoolId = &v
@ -173075,11 +173168,10 @@ type RunInstancesInput struct {
// To tag a resource after it has been created, see CreateTags (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html).
TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"`
// The user data script to make available to the instance. For more information,
// see Run commands on your Amazon EC2 instance at launch (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html)
// in the Amazon EC2 User Guide. If you are using a command line tool, base64-encoding
// is performed for you, and you can load the text from a file. Otherwise, you
// must provide base64-encoded text. User data is limited to 16 KB.
// The user data to make available to the instance. User data must be base64-encoded.
// Depending on the tool or SDK that you're using, the base64-encoding might
// be performed for you. For more information, see Work with instance user data
// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-add-user-data.html).
//
// UserData is a sensitive parameter and its value will be
// replaced with "sensitive" in string returned by RunInstancesInput's
@ -193898,6 +193990,9 @@ func HostRecovery_Values() []string {
}
const (
// HostTenancyDefault is a HostTenancy enum value
HostTenancyDefault = "default"
// HostTenancyDedicated is a HostTenancy enum value
HostTenancyDedicated = "dedicated"
@ -193908,6 +194003,7 @@ const (
// HostTenancy_Values returns all elements of the HostTenancy enum
func HostTenancy_Values() []string {
return []string{
HostTenancyDefault,
HostTenancyDedicated,
HostTenancyHost,
}
@ -197965,6 +198061,22 @@ func IpamManagementState_Values() []string {
}
}
const (
// IpamNetworkInterfaceAttachmentStatusAvailable is a IpamNetworkInterfaceAttachmentStatus enum value
IpamNetworkInterfaceAttachmentStatusAvailable = "available"
// IpamNetworkInterfaceAttachmentStatusInUse is a IpamNetworkInterfaceAttachmentStatus enum value
IpamNetworkInterfaceAttachmentStatusInUse = "in-use"
)
// IpamNetworkInterfaceAttachmentStatus_Values returns all elements of the IpamNetworkInterfaceAttachmentStatus enum
func IpamNetworkInterfaceAttachmentStatus_Values() []string {
return []string{
IpamNetworkInterfaceAttachmentStatusAvailable,
IpamNetworkInterfaceAttachmentStatusInUse,
}
}
const (
// IpamOverlapStatusOverlapping is a IpamOverlapStatus enum value
IpamOverlapStatusOverlapping = "overlapping"

View file

@ -449,7 +449,7 @@ func (c *S3) CopyObjectRequest(input *CopyObjectInput) (req *request.Request, ou
// When the request is an HTTP 1.1 request, the response is chunk encoded. When
// the request is not an HTTP 1.1 request, the response would not contain the
// Content-Length. You always need to read the entire response body to check
// if the copy succeeds. to keep the connection alive while we copy the data.
// if the copy succeeds.
//
// - If the copy is successful, you receive a response with information about
// the copied object.
@ -2679,7 +2679,7 @@ func (c *S3) DeleteObjectsRequest(input *DeleteObjectsInput) (req *request.Reque
// in your policies when your DeleteObjects request includes specific headers.
// s3:DeleteObject - To delete an object from a bucket, you must always specify
// the s3:DeleteObject permission. s3:DeleteObjectVersion - To delete a specific
// version of an object from a versiong-enabled bucket, you must specify
// version of an object from a versioning-enabled bucket, you must specify
// the s3:DeleteObjectVersion permission.
//
// - Directory bucket permissions - To grant access to this API operation
@ -12001,15 +12001,15 @@ func (c *S3) UploadPartCopyRequest(input *UploadPartCopyInput) (req *request.Req
// source object that is being copied. If the destination bucket is a general
// purpose bucket, you must have the s3:PutObject permission to write the
// object copy to the destination bucket. For information about permissions
// required to use the multipart upload API, see Multipart Upload and Permissions
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html)
// required to use the multipart upload API, see Multipart upload API and
// permissions (https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions)
// in the Amazon S3 User Guide.
//
// - Directory bucket permissions - You must have permissions in a bucket
// policy or an IAM identity-based policy based on the source and destination
// bucket types in an UploadPartCopy operation. If the source object that
// you want to copy is in a directory bucket, you must have the s3express:CreateSession
// permission in the Action element of a policy to read the object . By default,
// permission in the Action element of a policy to read the object. By default,
// the session is in the ReadWrite mode. If you want to restrict the access,
// you can explicitly set the s3express:SessionMode condition key to ReadOnly
// on the copy source bucket. If the copy destination is a directory bucket,
@ -16940,7 +16940,7 @@ func (s CreateSessionInput) updateArnableField(v string) (interface{}, error) {
type CreateSessionOutput struct {
_ struct{} `type:"structure"`
// The established temporary security credentials for the created session..
// The established temporary security credentials for the created session.
//
// Credentials is a required field
Credentials *SessionCredentials `locationName:"Credentials" type:"structure" required:"true"`
@ -26467,6 +26467,24 @@ type HeadObjectInput struct {
// This functionality is not supported for directory buckets.
RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`
// Sets the Cache-Control header of the response.
ResponseCacheControl *string `location:"querystring" locationName:"response-cache-control" type:"string"`
// Sets the Content-Disposition header of the response.
ResponseContentDisposition *string `location:"querystring" locationName:"response-content-disposition" type:"string"`
// Sets the Content-Encoding header of the response.
ResponseContentEncoding *string `location:"querystring" locationName:"response-content-encoding" type:"string"`
// Sets the Content-Language header of the response.
ResponseContentLanguage *string `location:"querystring" locationName:"response-content-language" type:"string"`
// Sets the Content-Type header of the response.
ResponseContentType *string `location:"querystring" locationName:"response-content-type" type:"string"`
// Sets the Expires header of the response.
ResponseExpires *time.Time `location:"querystring" locationName:"response-expires" type:"timestamp" timestampFormat:"rfc822"`
// Specifies the algorithm to use when encrypting the object (for example, AES256).
//
// This functionality is not supported for directory buckets.
@ -26612,6 +26630,42 @@ func (s *HeadObjectInput) SetRequestPayer(v string) *HeadObjectInput {
return s
}
// SetResponseCacheControl sets the ResponseCacheControl field's value.
func (s *HeadObjectInput) SetResponseCacheControl(v string) *HeadObjectInput {
s.ResponseCacheControl = &v
return s
}
// SetResponseContentDisposition sets the ResponseContentDisposition field's value.
func (s *HeadObjectInput) SetResponseContentDisposition(v string) *HeadObjectInput {
s.ResponseContentDisposition = &v
return s
}
// SetResponseContentEncoding sets the ResponseContentEncoding field's value.
func (s *HeadObjectInput) SetResponseContentEncoding(v string) *HeadObjectInput {
s.ResponseContentEncoding = &v
return s
}
// SetResponseContentLanguage sets the ResponseContentLanguage field's value.
func (s *HeadObjectInput) SetResponseContentLanguage(v string) *HeadObjectInput {
s.ResponseContentLanguage = &v
return s
}
// SetResponseContentType sets the ResponseContentType field's value.
func (s *HeadObjectInput) SetResponseContentType(v string) *HeadObjectInput {
s.ResponseContentType = &v
return s
}
// SetResponseExpires sets the ResponseExpires field's value.
func (s *HeadObjectInput) SetResponseExpires(v time.Time) *HeadObjectInput {
s.ResponseExpires = &v
return s
}
// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
func (s *HeadObjectInput) SetSSECustomerAlgorithm(v string) *HeadObjectInput {
s.SSECustomerAlgorithm = &v
@ -27155,9 +27209,9 @@ type IndexDocument struct {
_ struct{} `type:"structure"`
// A suffix that is appended to a request that is for a directory on the website
// endpoint (for example,if the suffix is index.html and you make a request
// to samplebucket/images/ the data that is returned will be for the object
// with the key name images/index.html) The suffix must not be empty and must
// endpoint. (For example, if the suffix is index.html and you make a request
// to samplebucket/images/, the data that is returned will be for the object
// with the key name images/index.html.) The suffix must not be empty and must
// not include a slash character.
//
// Replacement must be made for object keys containing special characters (such
@ -32179,9 +32233,9 @@ func (s *MultipartUpload) SetUploadId(v string) *MultipartUpload {
type NoncurrentVersionExpiration struct {
_ struct{} `type:"structure"`
// Specifies how many newer noncurrent versions must exist before Amazon S3
// can perform the associated action on a given version. If there are this many
// more recent noncurrent versions, Amazon S3 will take the associated action.
// Specifies how many noncurrent versions Amazon S3 will retain. You can specify
// up to 100 noncurrent versions to retain. Amazon S3 will permanently delete
// any additional noncurrent versions beyond the specified number to retain.
// For more information about noncurrent versions, see Lifecycle configuration
// elements (https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html)
// in the Amazon S3 User Guide.
@ -32235,11 +32289,11 @@ func (s *NoncurrentVersionExpiration) SetNoncurrentDays(v int64) *NoncurrentVers
type NoncurrentVersionTransition struct {
_ struct{} `type:"structure"`
// Specifies how many newer noncurrent versions must exist before Amazon S3
// can perform the associated action on a given version. If there are this many
// more recent noncurrent versions, Amazon S3 will take the associated action.
// For more information about noncurrent versions, see Lifecycle configuration
// elements (https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html)
// Specifies how many noncurrent versions Amazon S3 will retain in the same
// storage class before transitioning objects. You can specify up to 100 noncurrent
// versions to retain. Amazon S3 will transition any additional noncurrent versions
// beyond the specified number to retain. For more information about noncurrent
// versions, see Lifecycle configuration elements (https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html)
// in the Amazon S3 User Guide.
NewerNoncurrentVersions *int64 `type:"integer"`