Skip to content

Commit b81781b

Browse files
Update models from aws-sdk-go-v2 release-2024-11-15.2 (#740)
Co-authored-by: adam-fowler <[email protected]>
1 parent 3abc5f7 commit b81781b

File tree

297 files changed

+125505
-27988
lines changed

Some content is hidden

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

297 files changed

+125505
-27988
lines changed

Package.swift

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ let package = Package(
6969
.library(name: "SotoBedrockAgent", targets: ["SotoBedrockAgent"]),
7070
.library(name: "SotoBedrockAgentRuntime", targets: ["SotoBedrockAgentRuntime"]),
7171
.library(name: "SotoBedrockRuntime", targets: ["SotoBedrockRuntime"]),
72+
.library(name: "SotoBilling", targets: ["SotoBilling"]),
7273
.library(name: "SotoBillingconductor", targets: ["SotoBillingconductor"]),
7374
.library(name: "SotoBraket", targets: ["SotoBraket"]),
7475
.library(name: "SotoBudgets", targets: ["SotoBudgets"]),
@@ -117,6 +118,7 @@ let package = Package(
117118
.library(name: "SotoConfigService", targets: ["SotoConfigService"]),
118119
.library(name: "SotoConnect", targets: ["SotoConnect"]),
119120
.library(name: "SotoConnectCampaigns", targets: ["SotoConnectCampaigns"]),
121+
.library(name: "SotoConnectCampaignsV2", targets: ["SotoConnectCampaignsV2"]),
120122
.library(name: "SotoConnectCases", targets: ["SotoConnectCases"]),
121123
.library(name: "SotoConnectContactLens", targets: ["SotoConnectContactLens"]),
122124
.library(name: "SotoConnectParticipant", targets: ["SotoConnectParticipant"]),
@@ -179,6 +181,9 @@ let package = Package(
179181
.library(name: "SotoFraudDetector", targets: ["SotoFraudDetector"]),
180182
.library(name: "SotoFreeTier", targets: ["SotoFreeTier"]),
181183
.library(name: "SotoGameLift", targets: ["SotoGameLift"]),
184+
.library(name: "SotoGeoMaps", targets: ["SotoGeoMaps"]),
185+
.library(name: "SotoGeoPlaces", targets: ["SotoGeoPlaces"]),
186+
.library(name: "SotoGeoRoutes", targets: ["SotoGeoRoutes"]),
182187
.library(name: "SotoGlacier", targets: ["SotoGlacier"]),
183188
.library(name: "SotoGlobalAccelerator", targets: ["SotoGlobalAccelerator"]),
184189
.library(name: "SotoGlue", targets: ["SotoGlue"]),
@@ -283,7 +288,6 @@ let package = Package(
283288
.library(name: "SotoNetworkFirewall", targets: ["SotoNetworkFirewall"]),
284289
.library(name: "SotoNetworkManager", targets: ["SotoNetworkManager"]),
285290
.library(name: "SotoNetworkMonitor", targets: ["SotoNetworkMonitor"]),
286-
.library(name: "SotoNimble", targets: ["SotoNimble"]),
287291
.library(name: "SotoOAM", targets: ["SotoOAM"]),
288292
.library(name: "SotoOSIS", targets: ["SotoOSIS"]),
289293
.library(name: "SotoOmics", targets: ["SotoOmics"]),
@@ -296,6 +300,7 @@ let package = Package(
296300
.library(name: "SotoPCS", targets: ["SotoPCS"]),
297301
.library(name: "SotoPI", targets: ["SotoPI"]),
298302
.library(name: "SotoPanorama", targets: ["SotoPanorama"]),
303+
.library(name: "SotoPartnerCentralSelling", targets: ["SotoPartnerCentralSelling"]),
299304
.library(name: "SotoPaymentCryptography", targets: ["SotoPaymentCryptography"]),
300305
.library(name: "SotoPaymentCryptographyData", targets: ["SotoPaymentCryptographyData"]),
301306
.library(name: "SotoPcaConnectorAd", targets: ["SotoPcaConnectorAd"]),
@@ -461,6 +466,7 @@ let package = Package(
461466
.target(name: "SotoBedrockAgent", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/BedrockAgent", swiftSettings: swiftSettings),
462467
.target(name: "SotoBedrockAgentRuntime", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/BedrockAgentRuntime", swiftSettings: swiftSettings),
463468
.target(name: "SotoBedrockRuntime", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/BedrockRuntime", swiftSettings: swiftSettings),
469+
.target(name: "SotoBilling", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Billing", swiftSettings: swiftSettings),
464470
.target(name: "SotoBillingconductor", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Billingconductor", swiftSettings: swiftSettings),
465471
.target(name: "SotoBraket", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Braket", swiftSettings: swiftSettings),
466472
.target(name: "SotoBudgets", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Budgets", swiftSettings: swiftSettings),
@@ -509,6 +515,7 @@ let package = Package(
509515
.target(name: "SotoConfigService", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ConfigService", swiftSettings: swiftSettings),
510516
.target(name: "SotoConnect", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Connect", swiftSettings: swiftSettings),
511517
.target(name: "SotoConnectCampaigns", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ConnectCampaigns", swiftSettings: swiftSettings),
518+
.target(name: "SotoConnectCampaignsV2", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ConnectCampaignsV2", swiftSettings: swiftSettings),
512519
.target(name: "SotoConnectCases", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ConnectCases", swiftSettings: swiftSettings),
513520
.target(name: "SotoConnectContactLens", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ConnectContactLens", swiftSettings: swiftSettings),
514521
.target(name: "SotoConnectParticipant", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ConnectParticipant", swiftSettings: swiftSettings),
@@ -571,6 +578,9 @@ let package = Package(
571578
.target(name: "SotoFraudDetector", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/FraudDetector", swiftSettings: swiftSettings),
572579
.target(name: "SotoFreeTier", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/FreeTier", swiftSettings: swiftSettings),
573580
.target(name: "SotoGameLift", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/GameLift", swiftSettings: swiftSettings),
581+
.target(name: "SotoGeoMaps", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/GeoMaps", swiftSettings: swiftSettings),
582+
.target(name: "SotoGeoPlaces", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/GeoPlaces", swiftSettings: swiftSettings),
583+
.target(name: "SotoGeoRoutes", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/GeoRoutes", swiftSettings: swiftSettings),
574584
.target(name: "SotoGlacier", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Glacier", swiftSettings: swiftSettings),
575585
.target(name: "SotoGlobalAccelerator", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/GlobalAccelerator", swiftSettings: swiftSettings),
576586
.target(name: "SotoGlue", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Glue", swiftSettings: swiftSettings),
@@ -675,7 +685,6 @@ let package = Package(
675685
.target(name: "SotoNetworkFirewall", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/NetworkFirewall", swiftSettings: swiftSettings),
676686
.target(name: "SotoNetworkManager", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/NetworkManager", swiftSettings: swiftSettings),
677687
.target(name: "SotoNetworkMonitor", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/NetworkMonitor", swiftSettings: swiftSettings),
678-
.target(name: "SotoNimble", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Nimble", swiftSettings: swiftSettings),
679688
.target(name: "SotoOAM", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/OAM", swiftSettings: swiftSettings),
680689
.target(name: "SotoOSIS", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/OSIS", swiftSettings: swiftSettings),
681690
.target(name: "SotoOmics", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Omics", swiftSettings: swiftSettings),
@@ -688,6 +697,7 @@ let package = Package(
688697
.target(name: "SotoPCS", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PCS", swiftSettings: swiftSettings),
689698
.target(name: "SotoPI", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PI", swiftSettings: swiftSettings),
690699
.target(name: "SotoPanorama", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Panorama", swiftSettings: swiftSettings),
700+
.target(name: "SotoPartnerCentralSelling", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PartnerCentralSelling", swiftSettings: swiftSettings),
691701
.target(name: "SotoPaymentCryptography", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PaymentCryptography", swiftSettings: swiftSettings),
692702
.target(name: "SotoPaymentCryptographyData", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PaymentCryptographyData", swiftSettings: swiftSettings),
693703
.target(name: "SotoPcaConnectorAd", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PcaConnectorAd", swiftSettings: swiftSettings),

Sources/Soto/Services/AccessAnalyzer/AccessAnalyzer_api.swift

Lines changed: 38 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ public struct AccessAnalyzer: AWSService {
179179
/// Checks whether the specified access isn't allowed by a policy.
180180
///
181181
/// Parameters:
182-
/// - access: An access object containing the permissions that shouldn't be granted by the specified policy. If only actions are specified, IAM Access Analyzer checks for access of the actions on all resources in the policy. If only resources are specified, then IAM Access Analyzer checks which actions have access to the specified resources. If both actions and resources are specified, then IAM Access Analyzer checks which of the specified actions have access to the specified resources.
182+
/// - access: An access object containing the permissions that shouldn't be granted by the specified policy. If only actions are specified, IAM Access Analyzer checks for access to peform at least one of the actions on any resource in the policy. If only resources are specified, then IAM Access Analyzer checks for access to perform any action on at least one of the resources. If both actions and resources are specified, IAM Access Analyzer checks for access to perform at least one of the specified actions on at least one of the specified resources.
183183
/// - policyDocument: The JSON policy document to use as the content for the policy.
184-
/// - policyType: The type of policy. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups. Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
184+
/// - policyType: The type of policy. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups. Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets.
185185
/// - logger: Logger use during operation
186186
@inlinable
187187
public func checkAccessNotGranted(
@@ -319,8 +319,8 @@ public struct AccessAnalyzer: AWSService {
319319
/// - analyzerName: The name of the analyzer to create.
320320
/// - archiveRules: Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
321321
/// - clientToken: A client token.
322-
/// - configuration: Specifies the configuration of the analyzer. If the analyzer is an unused access analyzer, the specified scope of unused access is used for the configuration. If the analyzer is an external access analyzer, this field is not used.
323-
/// - tags: An array of key-value pairs to apply to the analyzer.
322+
/// - configuration: Specifies the configuration of the analyzer. If the analyzer is an unused access analyzer, the specified scope of unused access is used for the configuration.
323+
/// - tags: An array of key-value pairs to apply to the analyzer. You can use the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. For the tag key, you can specify a value that is 1 to 128 characters in length and cannot be prefixed with aws:. For the tag value, you can specify a value that is 0 to 256 characters in length.
324324
/// - type: The type of analyzer to create. Only ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS, and ORGANIZATION_UNUSED_ACCESS analyzers are supported. You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.
325325
/// - logger: Logger use during operation
326326
@inlinable
@@ -825,7 +825,7 @@ public struct AccessAnalyzer: AWSService {
825825
return try await self.listAccessPreviews(input, logger: logger)
826826
}
827827

828-
/// Retrieves a list of resources of the specified type that have been analyzed by the specified external access analyzer. This action is not supported for unused access analyzers.
828+
/// Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer.
829829
@Sendable
830830
@inlinable
831831
public func listAnalyzedResources(_ input: ListAnalyzedResourcesRequest, logger: Logger = AWSClient.loggingDisabled) async throws -> ListAnalyzedResourcesResponse {
@@ -838,7 +838,7 @@ public struct AccessAnalyzer: AWSService {
838838
logger: logger
839839
)
840840
}
841-
/// Retrieves a list of resources of the specified type that have been analyzed by the specified external access analyzer. This action is not supported for unused access analyzers.
841+
/// Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer.
842842
///
843843
/// Parameters:
844844
/// - analyzerArn: The ARN of the analyzer to retrieve a list of analyzed resources from.
@@ -1213,6 +1213,38 @@ public struct AccessAnalyzer: AWSService {
12131213
return try await self.untagResource(input, logger: logger)
12141214
}
12151215

1216+
/// Modifies the configuration of an existing analyzer.
1217+
@Sendable
1218+
@inlinable
1219+
public func updateAnalyzer(_ input: UpdateAnalyzerRequest, logger: Logger = AWSClient.loggingDisabled) async throws -> UpdateAnalyzerResponse {
1220+
try await self.client.execute(
1221+
operation: "UpdateAnalyzer",
1222+
path: "/analyzer/{analyzerName}",
1223+
httpMethod: .PUT,
1224+
serviceConfig: self.config,
1225+
input: input,
1226+
logger: logger
1227+
)
1228+
}
1229+
/// Modifies the configuration of an existing analyzer.
1230+
///
1231+
/// Parameters:
1232+
/// - analyzerName: The name of the analyzer to modify.
1233+
/// - configuration:
1234+
/// - logger: Logger use during operation
1235+
@inlinable
1236+
public func updateAnalyzer(
1237+
analyzerName: String,
1238+
configuration: AnalyzerConfiguration? = nil,
1239+
logger: Logger = AWSClient.loggingDisabled
1240+
) async throws -> UpdateAnalyzerResponse {
1241+
let input = UpdateAnalyzerRequest(
1242+
analyzerName: analyzerName,
1243+
configuration: configuration
1244+
)
1245+
return try await self.updateAnalyzer(input, logger: logger)
1246+
}
1247+
12161248
/// Updates the criteria and values for the specified archive rule.
12171249
@Sendable
12181250
@inlinable

0 commit comments

Comments
 (0)