/
types.go
173 lines (146 loc) · 5.9 KB
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may
// not use this file except in compliance with the License. A copy of the
// License is located at
//
// http://aws.amazon.com/apache2.0/
//
// or in the "license" file accompanying this file. This file is distributed
// on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.
// Code generated by ack-generate. DO NOT EDIT.
package v1alpha1
import (
ackv1alpha1 "github.com/aws-controllers-k8s/runtime/apis/core/v1alpha1"
"github.com/aws/aws-sdk-go/aws"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
// Hack to avoid import errors during build...
var (
_ = &metav1.Time{}
_ = &aws.JSONValue{}
_ = ackv1alpha1.AWSAccountID("")
)
// Contains details about an activity.
type ActivityListItem struct {
ActivityARN *string `json:"activityARN,omitempty"`
CreationDate *metav1.Time `json:"creationDate,omitempty"`
Name *string `json:"name,omitempty"`
}
// Contains details about an activity scheduled during an execution.
type ActivityScheduledEventDetails struct {
Resource *string `json:"resource,omitempty"`
}
type CloudWatchLogsLogGroup struct {
LogGroupARN *string `json:"logGroupARN,omitempty"`
}
// Contains details about an execution.
type ExecutionListItem struct {
ExecutionARN *string `json:"executionARN,omitempty"`
Name *string `json:"name,omitempty"`
StartDate *metav1.Time `json:"startDate,omitempty"`
StateMachineARN *string `json:"stateMachineARN,omitempty"`
StopDate *metav1.Time `json:"stopDate,omitempty"`
}
// Contains details about the start of the execution.
type ExecutionStartedEventDetails struct {
RoleARN *string `json:"roleARN,omitempty"`
}
// Contains details about the events of an execution.
type HistoryEvent struct {
Timestamp *metav1.Time `json:"timestamp,omitempty"`
}
// Contains details about a lambda function scheduled during an execution.
type LambdaFunctionScheduledEventDetails struct {
Resource *string `json:"resource,omitempty"`
}
type LogDestination struct {
CloudWatchLogsLogGroup *CloudWatchLogsLogGroup `json:"cloudWatchLogsLogGroup,omitempty"`
}
// The LoggingConfiguration data type is used to set CloudWatch Logs options.
type LoggingConfiguration struct {
Destinations []*LogDestination `json:"destinations,omitempty"`
IncludeExecutionData *bool `json:"includeExecutionData,omitempty"`
Level *string `json:"level,omitempty"`
}
// Contains details about an iteration of a Map state.
type MapIterationEventDetails struct {
Name *string `json:"name,omitempty"`
}
// Contains details about a state entered during an execution.
type StateEnteredEventDetails struct {
Name *string `json:"name,omitempty"`
}
// Contains details about an exit from a state during an execution.
type StateExitedEventDetails struct {
Name *string `json:"name,omitempty"`
}
// Contains details about the state machine.
type StateMachineListItem struct {
CreationDate *metav1.Time `json:"creationDate,omitempty"`
Name *string `json:"name,omitempty"`
StateMachineARN *string `json:"stateMachineARN,omitempty"`
Type *string `json:"type_,omitempty"`
}
// Tags are key-value pairs that can be associated with Step Functions state
// machines and activities.
//
// An array of key-value pairs. For more information, see Using Cost Allocation
// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html)
// in the AWS Billing and Cost Management User Guide, and Controlling Access
// Using IAM Tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html).
//
// Tags may only contain Unicode letters, digits, white space, or these symbols:
// _ . : / = + - @.
type Tag struct {
Key *string `json:"key,omitempty"`
Value *string `json:"value,omitempty"`
}
// Contains details about a task failure event.
type TaskFailedEventDetails struct {
Resource *string `json:"resource,omitempty"`
ResourceType *string `json:"resourceType,omitempty"`
}
// Contains details about a task scheduled during an execution.
type TaskScheduledEventDetails struct {
Region *string `json:"region,omitempty"`
Resource *string `json:"resource,omitempty"`
ResourceType *string `json:"resourceType,omitempty"`
}
// Contains details about a task that failed to start during an execution.
type TaskStartFailedEventDetails struct {
Resource *string `json:"resource,omitempty"`
ResourceType *string `json:"resourceType,omitempty"`
}
// Contains details about the start of a task during an execution.
type TaskStartedEventDetails struct {
Resource *string `json:"resource,omitempty"`
ResourceType *string `json:"resourceType,omitempty"`
}
// Contains details about a task that failed to submit during an execution.
type TaskSubmitFailedEventDetails struct {
Resource *string `json:"resource,omitempty"`
ResourceType *string `json:"resourceType,omitempty"`
}
// Contains details about a task submitted to a resource .
type TaskSubmittedEventDetails struct {
Resource *string `json:"resource,omitempty"`
ResourceType *string `json:"resourceType,omitempty"`
}
// Contains details about the successful completion of a task state.
type TaskSucceededEventDetails struct {
Resource *string `json:"resource,omitempty"`
ResourceType *string `json:"resourceType,omitempty"`
}
// Contains details about a resource timeout that occurred during an execution.
type TaskTimedOutEventDetails struct {
Resource *string `json:"resource,omitempty"`
ResourceType *string `json:"resourceType,omitempty"`
}
// Selects whether or not the state machine's AWS X-Ray tracing is enabled.
// Default is false
type TracingConfiguration struct {
Enabled *bool `json:"enabled,omitempty"`
}