You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/Services/AWSBedrockAgentCoreControl/Sources/AWSBedrockAgentCoreControl/BedrockAgentCoreControlClient.swift
@@ -690,6 +690,102 @@ public struct UpdateAgentRuntimeEndpointOutput: Swift.Sendable {
690
690
}
691
691
}
692
692
693
+
extension BedrockAgentCoreControlClientTypes {
694
+
695
+
public enum AgentManagedRuntimeType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable {
696
+
case python310
697
+
case python311
698
+
case python312
699
+
case python313
700
+
case sdkUnknown(Swift.String)
701
+
702
+
public static var allCases: [AgentManagedRuntimeType] {
703
+
return [
704
+
.python310,
705
+
.python311,
706
+
.python312,
707
+
.python313
708
+
]
709
+
}
710
+
711
+
public init?(rawValue: Swift.String) {
712
+
let value = Self.allCases.first(where: { $0.rawValue == rawValue })
713
+
self = value ?? Self.sdkUnknown(rawValue)
714
+
}
715
+
716
+
public var rawValue: Swift.String {
717
+
switch self {
718
+
case .python310: return "PYTHON_3_10"
719
+
case .python311: return "PYTHON_3_11"
720
+
case .python312: return "PYTHON_3_12"
721
+
case .python313: return "PYTHON_3_13"
722
+
case let .sdkUnknown(s): return s
723
+
}
724
+
}
725
+
}
726
+
}
727
+
728
+
extension BedrockAgentCoreControlClientTypes {
729
+
730
+
/// The Amazon S3 location for storing data. This structure defines where in Amazon S3 data is stored.
731
+
public struct S3Location: Swift.Sendable {
732
+
/// The name of the Amazon S3 bucket. This bucket contains the stored data.
733
+
/// This member is required.
734
+
public var bucket: Swift.String?
735
+
/// The prefix for objects in the Amazon S3 bucket. This prefix is added to the object keys to organize the data.
736
+
/// This member is required.
737
+
public var `prefix`: Swift.String?
738
+
/// The version ID of the Amazon Amazon S3 object. If not specified, the latest version of the object is used.
739
+
public var versionId: Swift.String?
740
+
741
+
public init(
742
+
bucket: Swift.String? = nil,
743
+
`prefix`: Swift.String? = nil,
744
+
versionId: Swift.String? = nil
745
+
) {
746
+
self.bucket = bucket
747
+
self.`prefix` = `prefix`
748
+
self.versionId = versionId
749
+
}
750
+
}
751
+
}
752
+
753
+
extension BedrockAgentCoreControlClientTypes {
754
+
755
+
/// The source code configuration that specifies the location and details of the code to be executed.
756
+
public enum Code: Swift.Sendable {
757
+
/// The Amazon Amazon S3 object that contains the source code for the agent runtime.
758
+
case s3(BedrockAgentCoreControlClientTypes.S3Location)
759
+
case sdkUnknown(Swift.String)
760
+
}
761
+
}
762
+
763
+
extension BedrockAgentCoreControlClientTypes {
764
+
765
+
/// The configuration for the source code that defines how the agent runtime code should be executed, including the code location, runtime environment, and entry point.
766
+
public struct CodeConfiguration: Swift.Sendable {
767
+
/// The source code location and configuration details.
768
+
/// This member is required.
769
+
public var code: BedrockAgentCoreControlClientTypes.Code?
770
+
/// The entry point for the code execution, specifying the function or method that should be invoked when the code runs.
771
+
/// This member is required.
772
+
public var entryPoint: [Swift.String]?
773
+
/// The runtime environment for executing the code (for example, Python 3.9 or Node.js 18).
774
+
/// This member is required.
775
+
public var runtime: BedrockAgentCoreControlClientTypes.AgentManagedRuntimeType?
public enum AgentRuntimeArtifact: Swift.Sendable {
713
809
/// The container configuration for the agent artifact.
714
810
case containerconfiguration(BedrockAgentCoreControlClientTypes.ContainerConfiguration)
811
+
/// The code configuration for the agent runtime artifact, including the source code location and execution settings.
812
+
case codeconfiguration(BedrockAgentCoreControlClientTypes.CodeConfiguration)
715
813
case sdkUnknown(Swift.String)
716
814
}
717
815
}
@@ -1058,11 +1156,15 @@ public struct DeleteAgentRuntimeInput: Swift.Sendable {
1058
1156
/// The unique identifier of the AgentCore Runtime to delete.
1059
1157
/// This member is required.
1060
1158
public var agentRuntimeId: Swift.String?
1159
+
/// A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.
0 commit comments