File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 4
4
"github.com/aws/aws-sdk-go/aws"
5
5
"github.com/aws/aws-sdk-go/aws/session"
6
6
"github.com/aws/aws-sdk-go/service/bedrockagent"
7
+ "github.com/rebuy-de/aws-nuke/v2/pkg/types"
7
8
)
8
9
9
10
type BedrockAgentAlias struct {
@@ -90,6 +91,15 @@ func (f *BedrockAgentAlias) Remove() error {
90
91
return err
91
92
}
92
93
94
+ func (f * BedrockAgentAlias ) Properties () types.Properties {
95
+ properties := types .NewProperties ().
96
+ Set ("AgentId" , f .AgentId ).
97
+ Set ("AgentAliasId" , f .AgentAliasId ).
98
+ Set ("AgentAliasName" , f .AgentAliasName )
99
+
100
+ return properties
101
+ }
102
+
93
103
func (f * BedrockAgentAlias ) String () string {
94
104
return * f .AgentAliasName
95
105
}
Original file line number Diff line number Diff line change 7
7
"github.com/aws/aws-sdk-go/aws"
8
8
"github.com/aws/aws-sdk-go/aws/session"
9
9
"github.com/aws/aws-sdk-go/service/bedrockagent"
10
+ "github.com/rebuy-de/aws-nuke/v2/pkg/types"
10
11
)
11
12
12
13
type BedrockFlowAlias struct {
@@ -100,6 +101,15 @@ func (f *BedrockFlowAlias) Remove() error {
100
101
return err
101
102
}
102
103
104
+ func (f * BedrockFlowAlias ) Properties () types.Properties {
105
+ properties := types .NewProperties ().
106
+ Set ("FlowId" , f .FlowId ).
107
+ Set ("FlowAliasId" , f .FlowAliasId ).
108
+ Set ("FlowAliasName" , f .FlowAliasName )
109
+
110
+ return properties
111
+ }
112
+
103
113
func (f * BedrockFlowAlias ) String () string {
104
114
return * f .FlowAliasName
105
115
}
You can’t perform that action at this time.
0 commit comments