Skip to content

Commit

Permalink
Update models from aws-sdk-go-v2 release-2024-11-15.2
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler authored Nov 18, 2024
1 parent 3abc5f7 commit eb31fa1
Show file tree
Hide file tree
Showing 297 changed files with 125,505 additions and 27,988 deletions.
14 changes: 12 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ let package = Package(
.library(name: "SotoBedrockAgent", targets: ["SotoBedrockAgent"]),
.library(name: "SotoBedrockAgentRuntime", targets: ["SotoBedrockAgentRuntime"]),
.library(name: "SotoBedrockRuntime", targets: ["SotoBedrockRuntime"]),
.library(name: "SotoBilling", targets: ["SotoBilling"]),
.library(name: "SotoBillingconductor", targets: ["SotoBillingconductor"]),
.library(name: "SotoBraket", targets: ["SotoBraket"]),
.library(name: "SotoBudgets", targets: ["SotoBudgets"]),
Expand Down Expand Up @@ -117,6 +118,7 @@ let package = Package(
.library(name: "SotoConfigService", targets: ["SotoConfigService"]),
.library(name: "SotoConnect", targets: ["SotoConnect"]),
.library(name: "SotoConnectCampaigns", targets: ["SotoConnectCampaigns"]),
.library(name: "SotoConnectCampaignsV2", targets: ["SotoConnectCampaignsV2"]),
.library(name: "SotoConnectCases", targets: ["SotoConnectCases"]),
.library(name: "SotoConnectContactLens", targets: ["SotoConnectContactLens"]),
.library(name: "SotoConnectParticipant", targets: ["SotoConnectParticipant"]),
Expand Down Expand Up @@ -179,6 +181,9 @@ let package = Package(
.library(name: "SotoFraudDetector", targets: ["SotoFraudDetector"]),
.library(name: "SotoFreeTier", targets: ["SotoFreeTier"]),
.library(name: "SotoGameLift", targets: ["SotoGameLift"]),
.library(name: "SotoGeoMaps", targets: ["SotoGeoMaps"]),
.library(name: "SotoGeoPlaces", targets: ["SotoGeoPlaces"]),
.library(name: "SotoGeoRoutes", targets: ["SotoGeoRoutes"]),
.library(name: "SotoGlacier", targets: ["SotoGlacier"]),
.library(name: "SotoGlobalAccelerator", targets: ["SotoGlobalAccelerator"]),
.library(name: "SotoGlue", targets: ["SotoGlue"]),
Expand Down Expand Up @@ -283,7 +288,6 @@ let package = Package(
.library(name: "SotoNetworkFirewall", targets: ["SotoNetworkFirewall"]),
.library(name: "SotoNetworkManager", targets: ["SotoNetworkManager"]),
.library(name: "SotoNetworkMonitor", targets: ["SotoNetworkMonitor"]),
.library(name: "SotoNimble", targets: ["SotoNimble"]),
.library(name: "SotoOAM", targets: ["SotoOAM"]),
.library(name: "SotoOSIS", targets: ["SotoOSIS"]),
.library(name: "SotoOmics", targets: ["SotoOmics"]),
Expand All @@ -296,6 +300,7 @@ let package = Package(
.library(name: "SotoPCS", targets: ["SotoPCS"]),
.library(name: "SotoPI", targets: ["SotoPI"]),
.library(name: "SotoPanorama", targets: ["SotoPanorama"]),
.library(name: "SotoPartnerCentralSelling", targets: ["SotoPartnerCentralSelling"]),
.library(name: "SotoPaymentCryptography", targets: ["SotoPaymentCryptography"]),
.library(name: "SotoPaymentCryptographyData", targets: ["SotoPaymentCryptographyData"]),
.library(name: "SotoPcaConnectorAd", targets: ["SotoPcaConnectorAd"]),
Expand Down Expand Up @@ -461,6 +466,7 @@ let package = Package(
.target(name: "SotoBedrockAgent", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/BedrockAgent", swiftSettings: swiftSettings),
.target(name: "SotoBedrockAgentRuntime", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/BedrockAgentRuntime", swiftSettings: swiftSettings),
.target(name: "SotoBedrockRuntime", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/BedrockRuntime", swiftSettings: swiftSettings),
.target(name: "SotoBilling", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Billing", swiftSettings: swiftSettings),
.target(name: "SotoBillingconductor", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Billingconductor", swiftSettings: swiftSettings),
.target(name: "SotoBraket", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Braket", swiftSettings: swiftSettings),
.target(name: "SotoBudgets", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Budgets", swiftSettings: swiftSettings),
Expand Down Expand Up @@ -509,6 +515,7 @@ let package = Package(
.target(name: "SotoConfigService", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ConfigService", swiftSettings: swiftSettings),
.target(name: "SotoConnect", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Connect", swiftSettings: swiftSettings),
.target(name: "SotoConnectCampaigns", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ConnectCampaigns", swiftSettings: swiftSettings),
.target(name: "SotoConnectCampaignsV2", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ConnectCampaignsV2", swiftSettings: swiftSettings),
.target(name: "SotoConnectCases", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ConnectCases", swiftSettings: swiftSettings),
.target(name: "SotoConnectContactLens", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ConnectContactLens", swiftSettings: swiftSettings),
.target(name: "SotoConnectParticipant", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ConnectParticipant", swiftSettings: swiftSettings),
Expand Down Expand Up @@ -571,6 +578,9 @@ let package = Package(
.target(name: "SotoFraudDetector", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/FraudDetector", swiftSettings: swiftSettings),
.target(name: "SotoFreeTier", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/FreeTier", swiftSettings: swiftSettings),
.target(name: "SotoGameLift", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/GameLift", swiftSettings: swiftSettings),
.target(name: "SotoGeoMaps", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/GeoMaps", swiftSettings: swiftSettings),
.target(name: "SotoGeoPlaces", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/GeoPlaces", swiftSettings: swiftSettings),
.target(name: "SotoGeoRoutes", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/GeoRoutes", swiftSettings: swiftSettings),
.target(name: "SotoGlacier", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Glacier", swiftSettings: swiftSettings),
.target(name: "SotoGlobalAccelerator", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/GlobalAccelerator", swiftSettings: swiftSettings),
.target(name: "SotoGlue", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Glue", swiftSettings: swiftSettings),
Expand Down Expand Up @@ -675,7 +685,6 @@ let package = Package(
.target(name: "SotoNetworkFirewall", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/NetworkFirewall", swiftSettings: swiftSettings),
.target(name: "SotoNetworkManager", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/NetworkManager", swiftSettings: swiftSettings),
.target(name: "SotoNetworkMonitor", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/NetworkMonitor", swiftSettings: swiftSettings),
.target(name: "SotoNimble", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Nimble", swiftSettings: swiftSettings),
.target(name: "SotoOAM", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/OAM", swiftSettings: swiftSettings),
.target(name: "SotoOSIS", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/OSIS", swiftSettings: swiftSettings),
.target(name: "SotoOmics", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Omics", swiftSettings: swiftSettings),
Expand All @@ -688,6 +697,7 @@ let package = Package(
.target(name: "SotoPCS", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PCS", swiftSettings: swiftSettings),
.target(name: "SotoPI", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PI", swiftSettings: swiftSettings),
.target(name: "SotoPanorama", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Panorama", swiftSettings: swiftSettings),
.target(name: "SotoPartnerCentralSelling", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PartnerCentralSelling", swiftSettings: swiftSettings),
.target(name: "SotoPaymentCryptography", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PaymentCryptography", swiftSettings: swiftSettings),
.target(name: "SotoPaymentCryptographyData", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PaymentCryptographyData", swiftSettings: swiftSettings),
.target(name: "SotoPcaConnectorAd", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PcaConnectorAd", swiftSettings: swiftSettings),
Expand Down
44 changes: 38 additions & 6 deletions Sources/Soto/Services/AccessAnalyzer/AccessAnalyzer_api.swift
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ public struct AccessAnalyzer: AWSService {
/// Checks whether the specified access isn't allowed by a policy.
///
/// Parameters:
/// - 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.
/// - 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.
/// - policyDocument: The JSON policy document to use as the content for the policy.
/// - 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.
/// - 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.
/// - logger: Logger use during operation
@inlinable
public func checkAccessNotGranted(
Expand Down Expand Up @@ -319,8 +319,8 @@ public struct AccessAnalyzer: AWSService {
/// - analyzerName: The name of the analyzer to create.
/// - archiveRules: Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
/// - clientToken: A client token.
/// - 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.
/// - tags: An array of key-value pairs to apply to the analyzer.
/// - 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.
/// - 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.
/// - 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.
/// - logger: Logger use during operation
@inlinable
Expand Down Expand Up @@ -825,7 +825,7 @@ public struct AccessAnalyzer: AWSService {
return try await self.listAccessPreviews(input, logger: logger)
}

/// 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.
/// Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer.
@Sendable
@inlinable
public func listAnalyzedResources(_ input: ListAnalyzedResourcesRequest, logger: Logger = AWSClient.loggingDisabled) async throws -> ListAnalyzedResourcesResponse {
Expand All @@ -838,7 +838,7 @@ public struct AccessAnalyzer: AWSService {
logger: logger
)
}
/// 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.
/// Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer.
///
/// Parameters:
/// - analyzerArn: The ARN of the analyzer to retrieve a list of analyzed resources from.
Expand Down Expand Up @@ -1213,6 +1213,38 @@ public struct AccessAnalyzer: AWSService {
return try await self.untagResource(input, logger: logger)
}

/// Modifies the configuration of an existing analyzer.
@Sendable
@inlinable
public func updateAnalyzer(_ input: UpdateAnalyzerRequest, logger: Logger = AWSClient.loggingDisabled) async throws -> UpdateAnalyzerResponse {
try await self.client.execute(
operation: "UpdateAnalyzer",
path: "/analyzer/{analyzerName}",
httpMethod: .PUT,
serviceConfig: self.config,
input: input,
logger: logger
)
}
/// Modifies the configuration of an existing analyzer.
///
/// Parameters:
/// - analyzerName: The name of the analyzer to modify.
/// - configuration:
/// - logger: Logger use during operation
@inlinable
public func updateAnalyzer(
analyzerName: String,
configuration: AnalyzerConfiguration? = nil,
logger: Logger = AWSClient.loggingDisabled
) async throws -> UpdateAnalyzerResponse {
let input = UpdateAnalyzerRequest(
analyzerName: analyzerName,
configuration: configuration
)
return try await self.updateAnalyzer(input, logger: logger)
}

/// Updates the criteria and values for the specified archive rule.
@Sendable
@inlinable
Expand Down
Loading

0 comments on commit eb31fa1

Please sign in to comment.