Skip to content

Commit 2794192

Browse files
chore: Updates version to 1.6.73
1 parent 060976a commit 2794192

File tree

7 files changed

+184
-44
lines changed

7 files changed

+184
-44
lines changed

Package.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.6.72
1+
1.6.73

Package.version.next

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.6.73
1+
1.6.74

Sources/Core/AWSSDKDynamic/Sources/AWSSDKDynamic/PackageVersion.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77

88
// Code is auto-generated. DO NOT EDIT!
99

10-
public let packageVersion = "1.6.72"
10+
public let packageVersion = "1.6.73"

Sources/Services/AWSDataSync/Sources/AWSDataSync/Models.swift

Lines changed: 135 additions & 34 deletions
Large diffs are not rendered by default.

Sources/Services/AWSECR/Sources/AWSECR/Models.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,6 +1023,7 @@ extension ECRClientTypes {
10231023

10241024
public enum UpstreamRegistry: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable {
10251025
case azurecontainerregistry
1026+
case chainguard
10261027
case dockerhub
10271028
case ecr
10281029
case ecrpublic
@@ -1035,6 +1036,7 @@ extension ECRClientTypes {
10351036
public static var allCases: [UpstreamRegistry] {
10361037
return [
10371038
.azurecontainerregistry,
1039+
.chainguard,
10381040
.dockerhub,
10391041
.ecr,
10401042
.ecrpublic,
@@ -1053,6 +1055,7 @@ extension ECRClientTypes {
10531055
public var rawValue: Swift.String {
10541056
switch self {
10551057
case .azurecontainerregistry: return "azure-container-registry"
1058+
case .chainguard: return "chainguard"
10561059
case .dockerhub: return "docker-hub"
10571060
case .ecr: return "ecr"
10581061
case .ecrpublic: return "ecr-public"

Sources/Services/AWSS3/Sources/AWSS3/Models.swift

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1725,6 +1725,35 @@ extension S3ClientTypes {
17251725
}
17261726
}
17271727

1728+
extension S3ClientTypes {
1729+
1730+
public enum BucketNamespace: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable {
1731+
case accountRegional
1732+
case global
1733+
case sdkUnknown(Swift.String)
1734+
1735+
public static var allCases: [BucketNamespace] {
1736+
return [
1737+
.accountRegional,
1738+
.global
1739+
]
1740+
}
1741+
1742+
public init?(rawValue: Swift.String) {
1743+
let value = Self.allCases.first(where: { $0.rawValue == rawValue })
1744+
self = value ?? Self.sdkUnknown(rawValue)
1745+
}
1746+
1747+
public var rawValue: Swift.String {
1748+
switch self {
1749+
case .accountRegional: return "account-regional"
1750+
case .global: return "global"
1751+
case let .sdkUnknown(s): return s
1752+
}
1753+
}
1754+
}
1755+
}
1756+
17281757
extension S3ClientTypes {
17291758

17301759
public enum DataRedundancy: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable {
@@ -2056,6 +2085,8 @@ public struct CreateBucketInput: Swift.Sendable {
20562085
/// The name of the bucket to create. General purpose buckets - For information about bucket naming restrictions, see [Bucket naming rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html) in the Amazon S3 User Guide. Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format bucket-base-name--zone-id--x-s3 (for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about bucket naming restrictions, see [Directory bucket naming rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) in the Amazon S3 User Guide
20572086
/// This member is required.
20582087
public var bucket: Swift.String?
2088+
/// Specifies the namespace where you want to create your general purpose bucket. When you create a general purpose bucket, you can choose to create a bucket in the shared global namespace or you can choose to create a bucket in your account regional namespace. Your account regional namespace is a subdivision of the global namespace that only your account can create buckets in. For more information on bucket namespaces, see [Namespaces for general purpose buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/gpbucketnamespaces.html). General purpose buckets in your account regional namespace must follow a specific naming convention. These buckets consist of a bucket name prefix that you create, and a suffix that contains your 12-digit Amazon Web Services Account ID, the Amazon Web Services Region code, and ends with -an. Bucket names must follow the format bucket-name-prefix-accountId-region-an (for example, amzn-s3-demo-bucket-111122223333-us-west-2-an). For information about bucket naming restrictions, see [Account regional namespace naming rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html#account-regional-naming-rules) in the Amazon S3 User Guide. This functionality is not supported for directory buckets.
2089+
public var bucketNamespace: S3ClientTypes.BucketNamespace?
20592090
/// The configuration information for the bucket.
20602091
public var createBucketConfiguration: S3ClientTypes.CreateBucketConfiguration?
20612092
/// Allows grantee the read, write, read ACP, and write ACP permissions on the bucket. This functionality is not supported for directory buckets.
@@ -2076,6 +2107,7 @@ public struct CreateBucketInput: Swift.Sendable {
20762107
public init(
20772108
acl: S3ClientTypes.BucketCannedACL? = nil,
20782109
bucket: Swift.String? = nil,
2110+
bucketNamespace: S3ClientTypes.BucketNamespace? = nil,
20792111
createBucketConfiguration: S3ClientTypes.CreateBucketConfiguration? = nil,
20802112
grantFullControl: Swift.String? = nil,
20812113
grantRead: Swift.String? = nil,
@@ -2087,6 +2119,7 @@ public struct CreateBucketInput: Swift.Sendable {
20872119
) {
20882120
self.acl = acl
20892121
self.bucket = bucket
2122+
self.bucketNamespace = bucketNamespace
20902123
self.createBucketConfiguration = createBucketConfiguration
20912124
self.grantFullControl = grantFullControl
20922125
self.grantRead = grantRead
@@ -2792,7 +2825,7 @@ public struct CreateSessionInput: Swift.Sendable {
27922825
public var bucketKeyEnabled: Swift.Bool?
27932826
/// The server-side encryption algorithm to use when you store objects in the directory bucket. For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms). By default, Amazon S3 encrypts data with SSE-S3. For more information, see [Protecting data with server-side encryption](https://docs.aws.amazon.com/AmazonS3/latest/userguide/serv-side-encryption.html) in the Amazon S3 User Guide. S3 access points for Amazon FSx - When accessing data stored in Amazon FSx file systems using S3 access points, the only valid server side encryption option is aws:fsx. All Amazon FSx file systems have encryption configured by default and are encrypted at rest. Data is automatically encrypted before being written to the file system, and automatically decrypted as it is read. These processes are handled transparently by Amazon FSx.
27942827
public var serverSideEncryption: S3ClientTypes.ServerSideEncryption?
2795-
/// Specifies the mode of the session that will be created, either ReadWrite or ReadOnly. By default, a ReadWrite session is created. A ReadWrite session is capable of executing all the Zonal endpoint API operations on a directory bucket. A ReadOnly session is constrained to execute the following Zonal endpoint API operations: GetObject, HeadObject, ListObjectsV2, GetObjectAttributes, ListParts, and ListMultipartUploads.
2828+
/// Specifies the mode of the session that will be created, either ReadWrite or ReadOnly. If no session mode is specified, the default behavior attempts to create a session with the maximum allowable privilege. It will first attempt to create a ReadWrite session, and if that is not allowed by permissions, it will attempt to create a ReadOnly session. If neither session type is allowed, the request will return an Access Denied error. A ReadWrite session is capable of executing all the Zonal endpoint API operations on a directory bucket. A ReadOnly session is constrained to execute the following Zonal endpoint API operations: GetObject, HeadObject, ListObjectsV2, GetObjectAttributes, ListParts, and ListMultipartUploads.
27962829
public var sessionMode: S3ClientTypes.SessionMode?
27972830
/// Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use for object encryption. The value of this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. This value is stored as object metadata and automatically gets passed on to Amazon Web Services KMS for future GetObject operations on this object. General purpose buckets - This value must be explicitly added during CopyObject operations if you want an additional encryption context for your object. For more information, see [Encryption context](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context) in the Amazon S3 User Guide. Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported.
27982831
public var ssekmsEncryptionContext: Swift.String?
@@ -14150,6 +14183,9 @@ extension CreateBucketInput {
1415014183
if let acl = value.acl {
1415114184
items.add(SmithyHTTPAPI.Header(name: "x-amz-acl", value: Swift.String(acl.rawValue)))
1415214185
}
14186+
if let bucketNamespace = value.bucketNamespace {
14187+
items.add(SmithyHTTPAPI.Header(name: "x-amz-bucket-namespace", value: Swift.String(bucketNamespace.rawValue)))
14188+
}
1415314189
if let grantFullControl = value.grantFullControl {
1415414190
items.add(SmithyHTTPAPI.Header(name: "x-amz-grant-full-control", value: Swift.String(grantFullControl)))
1415514191
}

0 commit comments

Comments
 (0)