Skip to content

Commit 454ad2b

Browse files
chore: Updates version to 0.40.0
1 parent d5b8cb8 commit 454ad2b

File tree

52 files changed

+9150
-1363
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+9150
-1363
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ func addResolvedTargets() {
241241
// MARK: - Generated
242242

243243
addDependencies(
244-
clientRuntimeVersion: "0.44.0",
244+
clientRuntimeVersion: "0.45.0",
245245
crtVersion: "0.29.0"
246246
)
247247

Package.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.39.0
1+
0.40.0

Sources/Services/AWSAccessAnalyzer/models/Models.swift

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1998,6 +1998,8 @@ extension AccessAnalyzerClientTypes {
19981998

19991999
extension AccessAnalyzerClientTypes.Configuration: Swift.Codable {
20002000
enum CodingKeys: Swift.String, Swift.CodingKey {
2001+
case dynamodbstream = "dynamodbStream"
2002+
case dynamodbtable = "dynamodbTable"
20012003
case ebssnapshot = "ebsSnapshot"
20022004
case ecrrepository = "ecrRepository"
20032005
case efsfilesystem = "efsFileSystem"
@@ -2016,6 +2018,10 @@ extension AccessAnalyzerClientTypes.Configuration: Swift.Codable {
20162018
public func encode(to encoder: Swift.Encoder) throws {
20172019
var container = encoder.container(keyedBy: CodingKeys.self)
20182020
switch self {
2021+
case let .dynamodbstream(dynamodbstream):
2022+
try container.encode(dynamodbstream, forKey: .dynamodbstream)
2023+
case let .dynamodbtable(dynamodbtable):
2024+
try container.encode(dynamodbtable, forKey: .dynamodbtable)
20192025
case let .ebssnapshot(ebssnapshot):
20202026
try container.encode(ebssnapshot, forKey: .ebssnapshot)
20212027
case let .ecrrepository(ecrrepository):
@@ -2107,6 +2113,16 @@ extension AccessAnalyzerClientTypes.Configuration: Swift.Codable {
21072113
self = .s3expressdirectorybucket(s3expressdirectorybucket)
21082114
return
21092115
}
2116+
let dynamodbstreamDecoded = try values.decodeIfPresent(AccessAnalyzerClientTypes.DynamodbStreamConfiguration.self, forKey: .dynamodbstream)
2117+
if let dynamodbstream = dynamodbstreamDecoded {
2118+
self = .dynamodbstream(dynamodbstream)
2119+
return
2120+
}
2121+
let dynamodbtableDecoded = try values.decodeIfPresent(AccessAnalyzerClientTypes.DynamodbTableConfiguration.self, forKey: .dynamodbtable)
2122+
if let dynamodbtable = dynamodbtableDecoded {
2123+
self = .dynamodbtable(dynamodbtable)
2124+
return
2125+
}
21102126
self = .sdkUnknown("")
21112127
}
21122128
}
@@ -2138,6 +2154,10 @@ extension AccessAnalyzerClientTypes {
21382154
case sqsqueue(AccessAnalyzerClientTypes.SqsQueueConfiguration)
21392155
/// The access control configuration is for an Amazon S3 directory bucket.
21402156
case s3expressdirectorybucket(AccessAnalyzerClientTypes.S3ExpressDirectoryBucketConfiguration)
2157+
/// The access control configuration is for a DynamoDB stream.
2158+
case dynamodbstream(AccessAnalyzerClientTypes.DynamodbStreamConfiguration)
2159+
/// The access control configuration is for a DynamoDB table or index.
2160+
case dynamodbtable(AccessAnalyzerClientTypes.DynamodbTableConfiguration)
21412161
case sdkUnknown(Swift.String)
21422162
}
21432163

@@ -2936,6 +2956,88 @@ enum DeleteArchiveRuleOutputError: ClientRuntime.HttpResponseErrorBinding {
29362956
}
29372957
}
29382958

2959+
extension AccessAnalyzerClientTypes.DynamodbStreamConfiguration: Swift.Codable {
2960+
enum CodingKeys: Swift.String, Swift.CodingKey {
2961+
case streamPolicy
2962+
}
2963+
2964+
public func encode(to encoder: Swift.Encoder) throws {
2965+
var encodeContainer = encoder.container(keyedBy: CodingKeys.self)
2966+
if let streamPolicy = self.streamPolicy {
2967+
try encodeContainer.encode(streamPolicy, forKey: .streamPolicy)
2968+
}
2969+
}
2970+
2971+
public init(from decoder: Swift.Decoder) throws {
2972+
let containerValues = try decoder.container(keyedBy: CodingKeys.self)
2973+
let streamPolicyDecoded = try containerValues.decodeIfPresent(Swift.String.self, forKey: .streamPolicy)
2974+
streamPolicy = streamPolicyDecoded
2975+
}
2976+
}
2977+
2978+
extension AccessAnalyzerClientTypes {
2979+
/// The proposed access control configuration for a DynamoDB stream. You can propose a configuration for a new DynamoDB stream or an existing DynamoDB stream that you own by specifying the policy for the DynamoDB stream. For more information, see [PutResourcePolicy](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutResourcePolicy.html).
2980+
///
2981+
/// * If the configuration is for an existing DynamoDB stream and you do not specify the DynamoDB policy, then the access preview uses the existing DynamoDB policy for the stream.
2982+
///
2983+
/// * If the access preview is for a new resource and you do not specify the policy, then the access preview assumes a DynamoDB stream without a policy.
2984+
///
2985+
/// * To propose deletion of an existing DynamoDB stream policy, you can specify an empty string for the DynamoDB policy.
2986+
public struct DynamodbStreamConfiguration: Swift.Equatable {
2987+
/// The proposed resource policy defining who can access or manage the DynamoDB stream.
2988+
public var streamPolicy: Swift.String?
2989+
2990+
public init(
2991+
streamPolicy: Swift.String? = nil
2992+
)
2993+
{
2994+
self.streamPolicy = streamPolicy
2995+
}
2996+
}
2997+
2998+
}
2999+
3000+
extension AccessAnalyzerClientTypes.DynamodbTableConfiguration: Swift.Codable {
3001+
enum CodingKeys: Swift.String, Swift.CodingKey {
3002+
case tablePolicy
3003+
}
3004+
3005+
public func encode(to encoder: Swift.Encoder) throws {
3006+
var encodeContainer = encoder.container(keyedBy: CodingKeys.self)
3007+
if let tablePolicy = self.tablePolicy {
3008+
try encodeContainer.encode(tablePolicy, forKey: .tablePolicy)
3009+
}
3010+
}
3011+
3012+
public init(from decoder: Swift.Decoder) throws {
3013+
let containerValues = try decoder.container(keyedBy: CodingKeys.self)
3014+
let tablePolicyDecoded = try containerValues.decodeIfPresent(Swift.String.self, forKey: .tablePolicy)
3015+
tablePolicy = tablePolicyDecoded
3016+
}
3017+
}
3018+
3019+
extension AccessAnalyzerClientTypes {
3020+
/// The proposed access control configuration for a DynamoDB table or index. You can propose a configuration for a new DynamoDB table or index or an existing DynamoDB table or index that you own by specifying the policy for the DynamoDB table or index. For more information, see [PutResourcePolicy](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutResourcePolicy.html).
3021+
///
3022+
/// * If the configuration is for an existing DynamoDB table or index and you do not specify the DynamoDB policy, then the access preview uses the existing DynamoDB policy for the table or index.
3023+
///
3024+
/// * If the access preview is for a new resource and you do not specify the policy, then the access preview assumes a DynamoDB table without a policy.
3025+
///
3026+
/// * To propose deletion of an existing DynamoDB table or index policy, you can specify an empty string for the DynamoDB policy.
3027+
public struct DynamodbTableConfiguration: Swift.Equatable {
3028+
/// The proposed resource policy defining who can access or manage the DynamoDB table.
3029+
public var tablePolicy: Swift.String?
3030+
3031+
public init(
3032+
tablePolicy: Swift.String? = nil
3033+
)
3034+
{
3035+
self.tablePolicy = tablePolicy
3036+
}
3037+
}
3038+
3039+
}
3040+
29393041
extension AccessAnalyzerClientTypes.EbsSnapshotConfiguration: Swift.Codable {
29403042
enum CodingKeys: Swift.String, Swift.CodingKey {
29413043
case groups
@@ -8140,6 +8242,8 @@ extension ResourceNotFoundExceptionBody: Swift.Decodable {
81408242

81418243
extension AccessAnalyzerClientTypes {
81428244
public enum ResourceType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Codable, Swift.Hashable {
8245+
case awsDynamodbStream
8246+
case awsDynamodbTable
81438247
case awsEc2Snapshot
81448248
case awsEcrRepository
81458249
case awsEfsFilesystem
@@ -8158,6 +8262,8 @@ extension AccessAnalyzerClientTypes {
81588262

81598263
public static var allCases: [ResourceType] {
81608264
return [
8265+
.awsDynamodbStream,
8266+
.awsDynamodbTable,
81618267
.awsEc2Snapshot,
81628268
.awsEcrRepository,
81638269
.awsEfsFilesystem,
@@ -8181,6 +8287,8 @@ extension AccessAnalyzerClientTypes {
81818287
}
81828288
public var rawValue: Swift.String {
81838289
switch self {
8290+
case .awsDynamodbStream: return "AWS::DynamoDB::Stream"
8291+
case .awsDynamodbTable: return "AWS::DynamoDB::Table"
81848292
case .awsEc2Snapshot: return "AWS::EC2::Snapshot"
81858293
case .awsEcrRepository: return "AWS::ECR::Repository"
81868294
case .awsEfsFilesystem: return "AWS::EFS::FileSystem"
@@ -10380,6 +10488,7 @@ enum ValidatePolicyOutputError: ClientRuntime.HttpResponseErrorBinding {
1038010488

1038110489
extension AccessAnalyzerClientTypes {
1038210490
public enum ValidatePolicyResourceType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Codable, Swift.Hashable {
10491+
case dynamodbTable
1038310492
case roleTrust
1038410493
case s3AccessPoint
1038510494
case s3Bucket
@@ -10389,6 +10498,7 @@ extension AccessAnalyzerClientTypes {
1038910498

1039010499
public static var allCases: [ValidatePolicyResourceType] {
1039110500
return [
10501+
.dynamodbTable,
1039210502
.roleTrust,
1039310503
.s3AccessPoint,
1039410504
.s3Bucket,
@@ -10403,6 +10513,7 @@ extension AccessAnalyzerClientTypes {
1040310513
}
1040410514
public var rawValue: Swift.String {
1040510515
switch self {
10516+
case .dynamodbTable: return "AWS::DynamoDB::Table"
1040610517
case .roleTrust: return "AWS::IAM::AssumeRolePolicyDocument"
1040710518
case .s3AccessPoint: return "AWS::S3::AccessPoint"
1040810519
case .s3Bucket: return "AWS::S3::Bucket"

Sources/Services/AWSBackup/BackupClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4144,7 +4144,7 @@ extension BackupClient {
41444144

41454145
/// Performs the `StopBackupJob` operation on the `CryoControllerUserManager` service.
41464146
///
4147-
/// Attempts to cancel a job to create a one-time backup of a resource. This action is not supported for the following services: Amazon FSx for Windows File Server, Amazon FSx for Lustre, FSx for ONTAP , Amazon FSx for OpenZFS, Amazon DocumentDB (with MongoDB compatibility), Amazon RDS, Amazon Aurora, and Amazon Neptune.
4147+
/// Attempts to cancel a job to create a one-time backup of a resource. This action is not supported for the following services: Amazon FSx for Windows File Server, Amazon FSx for Lustre, Amazon FSx for NetApp ONTAP , Amazon FSx for OpenZFS, Amazon DocumentDB (with MongoDB compatibility), Amazon RDS, Amazon Aurora, and Amazon Neptune.
41484148
///
41494149
/// - Parameter StopBackupJobInput : [no documentation found]
41504150
///

Sources/Services/AWSBackup/Paginators.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,7 @@ extension BackupClient {
490490
extension ListRecoveryPointsByResourceInput: ClientRuntime.PaginateToken {
491491
public func usingPaginationToken(_ token: Swift.String) -> ListRecoveryPointsByResourceInput {
492492
return ListRecoveryPointsByResourceInput(
493+
managedByAWSBackupOnly: self.managedByAWSBackupOnly,
493494
maxResults: self.maxResults,
494495
nextToken: token,
495496
resourceArn: self.resourceArn

Sources/Services/AWSBackup/models/Models.swift

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7685,7 +7685,7 @@ extension BackupClientTypes {
76857685
/// The name of a control. This name is between 1 and 256 characters.
76867686
/// This member is required.
76877687
public var controlName: Swift.String?
7688-
/// The scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans.
7688+
/// The scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. For more information, see [ControlScope].(https://docs.aws.amazon.com/aws-backup/latest/devguide/API_ControlScope.html)
76897689
public var controlScope: BackupClientTypes.ControlScope?
76907690

76917691
public init(
@@ -9926,7 +9926,7 @@ public struct ListBackupJobSummariesInput: Swift.Equatable {
99269926
public var nextToken: Swift.String?
99279927
/// Returns the job count for the specified resource type. Use request GetSupportedResourceTypes to obtain strings for supported resource types. The the value ANY returns count of all resource types. AGGREGATE_ALL aggregates job counts for all resource types and returns the sum. The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
99289928
public var resourceType: Swift.String?
9929-
/// This parameter returns the job count for jobs with the specified state. The the value ANY returns count of all states. AGGREGATE_ALL aggregates job counts for all states and returns the sum.
9929+
/// This parameter returns the job count for jobs with the specified state. The the value ANY returns count of all states. AGGREGATE_ALL aggregates job counts for all states and returns the sum. Completed with issues is a status found only in the Backup console. For API, this status refers to jobs with a state of COMPLETED and a MessageCategory with a value other than SUCCESS; that is, the status is completed but comes with a status message. To obtain the job count for Completed with issues, run two GET requests, and subtract the second, smaller number: GET /audit/backup-job-summaries?AggregationPeriod=FOURTEEN_DAYS&State=COMPLETED GET /audit/backup-job-summaries?AggregationPeriod=FOURTEEN_DAYS&MessageCategory=SUCCESS&State=COMPLETED
99309930
public var state: BackupClientTypes.BackupJobStatus?
99319931

99329932
public init(
@@ -10165,7 +10165,7 @@ public struct ListBackupJobsInput: Swift.Equatable {
1016510165
///
1016610166
/// * VirtualMachine for virtual machines
1016710167
public var byResourceType: Swift.String?
10168-
/// Returns only backup jobs that are in the specified state.
10168+
/// Returns only backup jobs that are in the specified state. Completed with issues is a status found only in the Backup console. For API, this status refers to jobs with a state of COMPLETED and a MessageCategory with a value other than SUCCESS; that is, the status is completed but comes with a status message. To obtain the job count for Completed with issues, run two GET requests, and subtract the second, smaller number: GET /backup-jobs/?state=COMPLETED GET /backup-jobs/?messageCategory=SUCCESS&state=COMPLETED
1016910169
public var byState: BackupClientTypes.BackupJobState?
1017010170
/// The maximum number of items to be returned.
1017110171
public var maxResults: Swift.Int?
@@ -12199,6 +12199,10 @@ extension ListRecoveryPointsByResourceInput {
1219912199
let maxResultsQueryItem = ClientRuntime.SDKURLQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding())
1220012200
items.append(maxResultsQueryItem)
1220112201
}
12202+
if let managedByAWSBackupOnly = value.managedByAWSBackupOnly {
12203+
let managedByAWSBackupOnlyQueryItem = ClientRuntime.SDKURLQueryItem(name: "managedByAWSBackupOnly".urlPercentEncoding(), value: Swift.String(managedByAWSBackupOnly).urlPercentEncoding())
12204+
items.append(managedByAWSBackupOnlyQueryItem)
12205+
}
1220212206
return items
1220312207
}
1220412208
}
@@ -12214,6 +12218,8 @@ extension ListRecoveryPointsByResourceInput {
1221412218
}
1221512219

1221612220
public struct ListRecoveryPointsByResourceInput: Swift.Equatable {
12221+
/// This attribute filters recovery points based on ownership. If this is set to TRUE, the response will contain recovery points associated with the selected resources that are managed by Backup. If this is set to FALSE, the response will contain all recovery points associated with the selected resource. Type: Boolean
12222+
public var managedByAWSBackupOnly: Swift.Bool?
1221712223
/// The maximum number of items to be returned. Amazon RDS requires a value of at least 20.
1221812224
public var maxResults: Swift.Int?
1221912225
/// The next item following a partial list of returned items. For example, if a request is made to return MaxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
@@ -12223,11 +12229,13 @@ public struct ListRecoveryPointsByResourceInput: Swift.Equatable {
1222312229
public var resourceArn: Swift.String?
1222412230

1222512231
public init(
12232+
managedByAWSBackupOnly: Swift.Bool? = nil,
1222612233
maxResults: Swift.Int? = nil,
1222712234
nextToken: Swift.String? = nil,
1222812235
resourceArn: Swift.String? = nil
1222912236
)
1223012237
{
12238+
self.managedByAWSBackupOnly = managedByAWSBackupOnly
1223112239
self.maxResults = maxResults
1223212240
self.nextToken = nextToken
1223312241
self.resourceArn = resourceArn
@@ -14414,6 +14422,7 @@ extension BackupClientTypes.RecoveryPointByResource: Swift.Codable {
1441414422
case resourceName = "ResourceName"
1441514423
case status = "Status"
1441614424
case statusMessage = "StatusMessage"
14425+
case vaultType = "VaultType"
1441714426
}
1441814427

1441914428
public func encode(to encoder: Swift.Encoder) throws {
@@ -14448,6 +14457,9 @@ extension BackupClientTypes.RecoveryPointByResource: Swift.Codable {
1444814457
if let statusMessage = self.statusMessage {
1444914458
try encodeContainer.encode(statusMessage, forKey: .statusMessage)
1445014459
}
14460+
if let vaultType = self.vaultType {
14461+
try encodeContainer.encode(vaultType.rawValue, forKey: .vaultType)
14462+
}
1445114463
}
1445214464

1445314465
public init(from decoder: Swift.Decoder) throws {
@@ -14472,6 +14484,8 @@ extension BackupClientTypes.RecoveryPointByResource: Swift.Codable {
1447214484
parentRecoveryPointArn = parentRecoveryPointArnDecoded
1447314485
let resourceNameDecoded = try containerValues.decodeIfPresent(Swift.String.self, forKey: .resourceName)
1447414486
resourceName = resourceNameDecoded
14487+
let vaultTypeDecoded = try containerValues.decodeIfPresent(BackupClientTypes.VaultType.self, forKey: .vaultType)
14488+
vaultType = vaultTypeDecoded
1447514489
}
1447614490
}
1447714491

@@ -14498,6 +14512,8 @@ extension BackupClientTypes {
1449814512
public var status: BackupClientTypes.RecoveryPointStatus?
1449914513
/// A message explaining the reason of the recovery point deletion failure.
1450014514
public var statusMessage: Swift.String?
14515+
/// This is the type of vault in which the described recovery point is stored.
14516+
public var vaultType: BackupClientTypes.VaultType?
1450114517

1450214518
public init(
1450314519
backupSizeBytes: Swift.Int? = nil,
@@ -14509,7 +14525,8 @@ extension BackupClientTypes {
1450914525
recoveryPointArn: Swift.String? = nil,
1451014526
resourceName: Swift.String? = nil,
1451114527
status: BackupClientTypes.RecoveryPointStatus? = nil,
14512-
statusMessage: Swift.String? = nil
14528+
statusMessage: Swift.String? = nil,
14529+
vaultType: BackupClientTypes.VaultType? = nil
1451314530
)
1451414531
{
1451514532
self.backupSizeBytes = backupSizeBytes
@@ -14522,6 +14539,7 @@ extension BackupClientTypes {
1452214539
self.resourceName = resourceName
1452314540
self.status = status
1452414541
self.statusMessage = statusMessage
14542+
self.vaultType = vaultType
1452514543
}
1452614544
}
1452714545

0 commit comments

Comments
 (0)