-
Notifications
You must be signed in to change notification settings - Fork 113
/
zz_bot_types.go
executable file
·456 lines (338 loc) · 26.2 KB
/
zz_bot_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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
// SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io>
//
// SPDX-License-Identifier: Apache-2.0
/*
Copyright 2022 Upbound Inc.
*/
// Code generated by upjet. DO NOT EDIT.
package v1beta1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
v1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
)
type AbortStatementInitParameters struct {
// A set of messages, each of which provides a message string and its type.
// You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
// Attributes are documented under message.
Message []MessageInitParameters `json:"message,omitempty" tf:"message,omitempty"`
// The response card. Amazon Lex will substitute session attributes and
// slot values into the response card. For more information, see
// Example: Using a Response Card.
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type AbortStatementObservation struct {
// A set of messages, each of which provides a message string and its type.
// You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
// Attributes are documented under message.
Message []MessageObservation `json:"message,omitempty" tf:"message,omitempty"`
// The response card. Amazon Lex will substitute session attributes and
// slot values into the response card. For more information, see
// Example: Using a Response Card.
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type AbortStatementParameters struct {
// A set of messages, each of which provides a message string and its type.
// You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
// Attributes are documented under message.
// +kubebuilder:validation:Optional
Message []MessageParameters `json:"message" tf:"message,omitempty"`
// The response card. Amazon Lex will substitute session attributes and
// slot values into the response card. For more information, see
// Example: Using a Response Card.
// +kubebuilder:validation:Optional
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type BotInitParameters struct {
// The message that Amazon Lex uses to abort a conversation. Attributes are documented under statement.
AbortStatement []AbortStatementInitParameters `json:"abortStatement,omitempty" tf:"abort_statement,omitempty"`
// By specifying true, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. For more information see the Amazon Lex FAQ and the Amazon Lex PutBot API Docs.
ChildDirected *bool `json:"childDirected,omitempty" tf:"child_directed,omitempty"`
// The message that Amazon Lex uses when it doesn't understand the user's request. Attributes are documented under prompt.
ClarificationPrompt []ClarificationPromptInitParameters `json:"clarificationPrompt,omitempty" tf:"clarification_prompt,omitempty"`
// Determines if a new bot version is created when the initial resource is created and on each update. Defaults to false.
CreateVersion *bool `json:"createVersion,omitempty" tf:"create_version,omitempty"`
// A description of the bot. Must be less than or equal to 200 characters in length.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// When set to true user utterances are sent to Amazon Comprehend for sentiment analysis. If you don't specify detectSentiment, the default is false.
DetectSentiment *bool `json:"detectSentiment,omitempty" tf:"detect_sentiment,omitempty"`
// Set to true to enable access to natural language understanding improvements. When you set the enable_model_improvements parameter to true you can use the nlu_intent_confidence_threshold parameter to configure confidence scores. For more information, see Confidence Scores. You can only set the enable_model_improvements parameter in certain Regions. If you set the parameter to true, your bot has access to accuracy improvements. For more information see the Amazon Lex Bot PutBot API Docs.
EnableModelImprovements *bool `json:"enableModelImprovements,omitempty" tf:"enable_model_improvements,omitempty"`
// The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is 300. Must be a number between 60 and 86400 (inclusive).
IdleSessionTTLInSeconds *float64 `json:"idleSessionTtlInSeconds,omitempty" tf:"idle_session_ttl_in_seconds,omitempty"`
// A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent. Can have up to 250 Intent objects.
Intent []IntentInitParameters `json:"intent,omitempty" tf:"intent,omitempty"`
// Specifies the target locale for the bot. Any intent used in the bot must be compatible with the locale of the bot. For available locales, see Amazon Lex Bot PutBot API Docs. Default is en-US.
Locale *string `json:"locale,omitempty" tf:"locale,omitempty"`
// Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see Amazon Lex Bot PutBot API Docs This value requires enable_model_improvements to be set to true and the default is 0. Must be a float between 0 and 1.
NluIntentConfidenceThreshold *float64 `json:"nluIntentConfidenceThreshold,omitempty" tf:"nlu_intent_confidence_threshold,omitempty"`
// If you set the process_behavior element to BUILD, Amazon Lex builds the bot so that it can be run. If you set the element to SAVE Amazon Lex saves the bot, but doesn't build it. Default is SAVE.
ProcessBehavior *string `json:"processBehavior,omitempty" tf:"process_behavior,omitempty"`
// The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions with the user. The locale configured for the voice must match the locale of the bot. For more information, see Available Voices in the Amazon Polly Developer Guide.
VoiceID *string `json:"voiceId,omitempty" tf:"voice_id,omitempty"`
}
type BotObservation struct {
// The message that Amazon Lex uses to abort a conversation. Attributes are documented under statement.
AbortStatement []AbortStatementObservation `json:"abortStatement,omitempty" tf:"abort_statement,omitempty"`
Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`
// Checksum identifying the version of the bot that was created. The checksum is not
// included as an argument because the resource will add it automatically when updating the bot.
Checksum *string `json:"checksum,omitempty" tf:"checksum,omitempty"`
// By specifying true, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. For more information see the Amazon Lex FAQ and the Amazon Lex PutBot API Docs.
ChildDirected *bool `json:"childDirected,omitempty" tf:"child_directed,omitempty"`
// The message that Amazon Lex uses when it doesn't understand the user's request. Attributes are documented under prompt.
ClarificationPrompt []ClarificationPromptObservation `json:"clarificationPrompt,omitempty" tf:"clarification_prompt,omitempty"`
// Determines if a new bot version is created when the initial resource is created and on each update. Defaults to false.
CreateVersion *bool `json:"createVersion,omitempty" tf:"create_version,omitempty"`
// The date when the bot version was created.
CreatedDate *string `json:"createdDate,omitempty" tf:"created_date,omitempty"`
// A description of the bot. Must be less than or equal to 200 characters in length.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// When set to true user utterances are sent to Amazon Comprehend for sentiment analysis. If you don't specify detectSentiment, the default is false.
DetectSentiment *bool `json:"detectSentiment,omitempty" tf:"detect_sentiment,omitempty"`
// Set to true to enable access to natural language understanding improvements. When you set the enable_model_improvements parameter to true you can use the nlu_intent_confidence_threshold parameter to configure confidence scores. For more information, see Confidence Scores. You can only set the enable_model_improvements parameter in certain Regions. If you set the parameter to true, your bot has access to accuracy improvements. For more information see the Amazon Lex Bot PutBot API Docs.
EnableModelImprovements *bool `json:"enableModelImprovements,omitempty" tf:"enable_model_improvements,omitempty"`
// If status is FAILED, Amazon Lex provides the reason that it failed to build the bot.
FailureReason *string `json:"failureReason,omitempty" tf:"failure_reason,omitempty"`
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is 300. Must be a number between 60 and 86400 (inclusive).
IdleSessionTTLInSeconds *float64 `json:"idleSessionTtlInSeconds,omitempty" tf:"idle_session_ttl_in_seconds,omitempty"`
// A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent. Can have up to 250 Intent objects.
Intent []IntentObservation `json:"intent,omitempty" tf:"intent,omitempty"`
// The date when the $LATEST version of this bot was updated.
LastUpdatedDate *string `json:"lastUpdatedDate,omitempty" tf:"last_updated_date,omitempty"`
// Specifies the target locale for the bot. Any intent used in the bot must be compatible with the locale of the bot. For available locales, see Amazon Lex Bot PutBot API Docs. Default is en-US.
Locale *string `json:"locale,omitempty" tf:"locale,omitempty"`
// Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see Amazon Lex Bot PutBot API Docs This value requires enable_model_improvements to be set to true and the default is 0. Must be a float between 0 and 1.
NluIntentConfidenceThreshold *float64 `json:"nluIntentConfidenceThreshold,omitempty" tf:"nlu_intent_confidence_threshold,omitempty"`
// If you set the process_behavior element to BUILD, Amazon Lex builds the bot so that it can be run. If you set the element to SAVE Amazon Lex saves the bot, but doesn't build it. Default is SAVE.
ProcessBehavior *string `json:"processBehavior,omitempty" tf:"process_behavior,omitempty"`
// When you send a request to create or update a bot, Amazon Lex sets the status response
// element to BUILDING. After Amazon Lex builds the bot, it sets status to READY. If Amazon Lex can't
// build the bot, it sets status to FAILED. Amazon Lex returns the reason for the failure in the
// failure_reason response element.
Status *string `json:"status,omitempty" tf:"status,omitempty"`
// The version of the bot.
Version *string `json:"version,omitempty" tf:"version,omitempty"`
// The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions with the user. The locale configured for the voice must match the locale of the bot. For more information, see Available Voices in the Amazon Polly Developer Guide.
VoiceID *string `json:"voiceId,omitempty" tf:"voice_id,omitempty"`
}
type BotParameters struct {
// The message that Amazon Lex uses to abort a conversation. Attributes are documented under statement.
// +kubebuilder:validation:Optional
AbortStatement []AbortStatementParameters `json:"abortStatement,omitempty" tf:"abort_statement,omitempty"`
// By specifying true, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. For more information see the Amazon Lex FAQ and the Amazon Lex PutBot API Docs.
// +kubebuilder:validation:Optional
ChildDirected *bool `json:"childDirected,omitempty" tf:"child_directed,omitempty"`
// The message that Amazon Lex uses when it doesn't understand the user's request. Attributes are documented under prompt.
// +kubebuilder:validation:Optional
ClarificationPrompt []ClarificationPromptParameters `json:"clarificationPrompt,omitempty" tf:"clarification_prompt,omitempty"`
// Determines if a new bot version is created when the initial resource is created and on each update. Defaults to false.
// +kubebuilder:validation:Optional
CreateVersion *bool `json:"createVersion,omitempty" tf:"create_version,omitempty"`
// A description of the bot. Must be less than or equal to 200 characters in length.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// When set to true user utterances are sent to Amazon Comprehend for sentiment analysis. If you don't specify detectSentiment, the default is false.
// +kubebuilder:validation:Optional
DetectSentiment *bool `json:"detectSentiment,omitempty" tf:"detect_sentiment,omitempty"`
// Set to true to enable access to natural language understanding improvements. When you set the enable_model_improvements parameter to true you can use the nlu_intent_confidence_threshold parameter to configure confidence scores. For more information, see Confidence Scores. You can only set the enable_model_improvements parameter in certain Regions. If you set the parameter to true, your bot has access to accuracy improvements. For more information see the Amazon Lex Bot PutBot API Docs.
// +kubebuilder:validation:Optional
EnableModelImprovements *bool `json:"enableModelImprovements,omitempty" tf:"enable_model_improvements,omitempty"`
// The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is 300. Must be a number between 60 and 86400 (inclusive).
// +kubebuilder:validation:Optional
IdleSessionTTLInSeconds *float64 `json:"idleSessionTtlInSeconds,omitempty" tf:"idle_session_ttl_in_seconds,omitempty"`
// A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent. Can have up to 250 Intent objects.
// +kubebuilder:validation:Optional
Intent []IntentParameters `json:"intent,omitempty" tf:"intent,omitempty"`
// Specifies the target locale for the bot. Any intent used in the bot must be compatible with the locale of the bot. For available locales, see Amazon Lex Bot PutBot API Docs. Default is en-US.
// +kubebuilder:validation:Optional
Locale *string `json:"locale,omitempty" tf:"locale,omitempty"`
// Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see Amazon Lex Bot PutBot API Docs This value requires enable_model_improvements to be set to true and the default is 0. Must be a float between 0 and 1.
// +kubebuilder:validation:Optional
NluIntentConfidenceThreshold *float64 `json:"nluIntentConfidenceThreshold,omitempty" tf:"nlu_intent_confidence_threshold,omitempty"`
// If you set the process_behavior element to BUILD, Amazon Lex builds the bot so that it can be run. If you set the element to SAVE Amazon Lex saves the bot, but doesn't build it. Default is SAVE.
// +kubebuilder:validation:Optional
ProcessBehavior *string `json:"processBehavior,omitempty" tf:"process_behavior,omitempty"`
// Region is the region you'd like your resource to be created in.
// +upjet:crd:field:TFTag=-
// +kubebuilder:validation:Required
Region *string `json:"region" tf:"-"`
// The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions with the user. The locale configured for the voice must match the locale of the bot. For more information, see Available Voices in the Amazon Polly Developer Guide.
// +kubebuilder:validation:Optional
VoiceID *string `json:"voiceId,omitempty" tf:"voice_id,omitempty"`
}
type ClarificationPromptInitParameters struct {
// The number of times to prompt the user for information.
MaxAttempts *float64 `json:"maxAttempts,omitempty" tf:"max_attempts,omitempty"`
// A set of messages, each of which provides a message string and its type.
// You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
// Attributes are documented under message.
Message []ClarificationPromptMessageInitParameters `json:"message,omitempty" tf:"message,omitempty"`
// The response card. Amazon Lex will substitute session attributes and
// slot values into the response card. For more information, see
// Example: Using a Response Card.
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type ClarificationPromptMessageInitParameters struct {
// The text of the message.
Content *string `json:"content,omitempty" tf:"content,omitempty"`
// The content type of the message string.
ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`
// Identifies the message group that the message belongs to. When a group
// is assigned to a message, Amazon Lex returns one message from each group in the response.
GroupNumber *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type ClarificationPromptMessageObservation struct {
// The text of the message.
Content *string `json:"content,omitempty" tf:"content,omitempty"`
// The content type of the message string.
ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`
// Identifies the message group that the message belongs to. When a group
// is assigned to a message, Amazon Lex returns one message from each group in the response.
GroupNumber *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type ClarificationPromptMessageParameters struct {
// The text of the message.
// +kubebuilder:validation:Optional
Content *string `json:"content" tf:"content,omitempty"`
// The content type of the message string.
// +kubebuilder:validation:Optional
ContentType *string `json:"contentType" tf:"content_type,omitempty"`
// Identifies the message group that the message belongs to. When a group
// is assigned to a message, Amazon Lex returns one message from each group in the response.
// +kubebuilder:validation:Optional
GroupNumber *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type ClarificationPromptObservation struct {
// The number of times to prompt the user for information.
MaxAttempts *float64 `json:"maxAttempts,omitempty" tf:"max_attempts,omitempty"`
// A set of messages, each of which provides a message string and its type.
// You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
// Attributes are documented under message.
Message []ClarificationPromptMessageObservation `json:"message,omitempty" tf:"message,omitempty"`
// The response card. Amazon Lex will substitute session attributes and
// slot values into the response card. For more information, see
// Example: Using a Response Card.
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type ClarificationPromptParameters struct {
// The number of times to prompt the user for information.
// +kubebuilder:validation:Optional
MaxAttempts *float64 `json:"maxAttempts" tf:"max_attempts,omitempty"`
// A set of messages, each of which provides a message string and its type.
// You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
// Attributes are documented under message.
// +kubebuilder:validation:Optional
Message []ClarificationPromptMessageParameters `json:"message" tf:"message,omitempty"`
// The response card. Amazon Lex will substitute session attributes and
// slot values into the response card. For more information, see
// Example: Using a Response Card.
// +kubebuilder:validation:Optional
ResponseCard *string `json:"responseCard,omitempty" tf:"response_card,omitempty"`
}
type IntentInitParameters struct {
// The name of the intent. Must be less than or equal to 100 characters in length.
IntentName *string `json:"intentName,omitempty" tf:"intent_name,omitempty"`
// The version of the intent. Must be less than or equal to 64 characters in length.
IntentVersion *string `json:"intentVersion,omitempty" tf:"intent_version,omitempty"`
}
type IntentObservation struct {
// The name of the intent. Must be less than or equal to 100 characters in length.
IntentName *string `json:"intentName,omitempty" tf:"intent_name,omitempty"`
// The version of the intent. Must be less than or equal to 64 characters in length.
IntentVersion *string `json:"intentVersion,omitempty" tf:"intent_version,omitempty"`
}
type IntentParameters struct {
// The name of the intent. Must be less than or equal to 100 characters in length.
// +kubebuilder:validation:Optional
IntentName *string `json:"intentName" tf:"intent_name,omitempty"`
// The version of the intent. Must be less than or equal to 64 characters in length.
// +kubebuilder:validation:Optional
IntentVersion *string `json:"intentVersion" tf:"intent_version,omitempty"`
}
type MessageInitParameters struct {
// The text of the message.
Content *string `json:"content,omitempty" tf:"content,omitempty"`
// The content type of the message string.
ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`
// Identifies the message group that the message belongs to. When a group
// is assigned to a message, Amazon Lex returns one message from each group in the response.
GroupNumber *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type MessageObservation struct {
// The text of the message.
Content *string `json:"content,omitempty" tf:"content,omitempty"`
// The content type of the message string.
ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`
// Identifies the message group that the message belongs to. When a group
// is assigned to a message, Amazon Lex returns one message from each group in the response.
GroupNumber *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
type MessageParameters struct {
// The text of the message.
// +kubebuilder:validation:Optional
Content *string `json:"content" tf:"content,omitempty"`
// The content type of the message string.
// +kubebuilder:validation:Optional
ContentType *string `json:"contentType" tf:"content_type,omitempty"`
// Identifies the message group that the message belongs to. When a group
// is assigned to a message, Amazon Lex returns one message from each group in the response.
// +kubebuilder:validation:Optional
GroupNumber *float64 `json:"groupNumber,omitempty" tf:"group_number,omitempty"`
}
// BotSpec defines the desired state of Bot
type BotSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider BotParameters `json:"forProvider"`
// THIS IS A BETA FIELD. It will be honored
// unless the Management Policies feature flag is disabled.
// InitProvider holds the same fields as ForProvider, with the exception
// of Identifier and other resource reference fields. The fields that are
// in InitProvider are merged into ForProvider when the resource is created.
// The same fields are also added to the terraform ignore_changes hook, to
// avoid updating them after creation. This is useful for fields that are
// required on creation, but we do not desire to update them after creation,
// for example because of an external controller is managing them, like an
// autoscaler.
InitProvider BotInitParameters `json:"initProvider,omitempty"`
}
// BotStatus defines the observed state of Bot.
type BotStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider BotObservation `json:"atProvider,omitempty"`
}
// +kubebuilder:object:root=true
// Bot is the Schema for the Bots API. Provides an Amazon Lex bot resource.
// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status"
// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status"
// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name"
// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"
// +kubebuilder:subresource:status
// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}
type Bot struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.abortStatement) || (has(self.initProvider) && has(self.initProvider.abortStatement))",message="spec.forProvider.abortStatement is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.childDirected) || (has(self.initProvider) && has(self.initProvider.childDirected))",message="spec.forProvider.childDirected is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.intent) || (has(self.initProvider) && has(self.initProvider.intent))",message="spec.forProvider.intent is a required parameter"
Spec BotSpec `json:"spec"`
Status BotStatus `json:"status,omitempty"`
}
// +kubebuilder:object:root=true
// BotList contains a list of Bots
type BotList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Bot `json:"items"`
}
// Repository type metadata.
var (
Bot_Kind = "Bot"
Bot_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Bot_Kind}.String()
Bot_KindAPIVersion = Bot_Kind + "." + CRDGroupVersion.String()
Bot_GroupVersionKind = CRDGroupVersion.WithKind(Bot_Kind)
)
func init() {
SchemeBuilder.Register(&Bot{}, &BotList{})
}