-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
awsoidc_service.pb.go
2786 lines (2499 loc) · 110 KB
/
awsoidc_service.pb.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
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright 2023 Gravitational, Inc
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License 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 protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.0
// protoc (unknown)
// source: teleport/integration/v1/awsoidc_service.proto
package integrationv1
import (
types "github.com/gravitational/teleport/api/types"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// ListEICERequest is a request for a paginated list of AWS EC2 Instance Connect Endpoints.
type ListEICERequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Integration is the AWS OIDC Integration name.
// Required.
Integration string `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`
// Region is the AWS Region
// Required.
Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
// VPCIDs is used to filter for EICEs of those VPCs.
// Required.
VpcIds []string `protobuf:"bytes,3,rep,name=vpc_ids,json=vpcIds,proto3" json:"vpc_ids,omitempty"`
// NextToken is the token to be used to fetch the next page.
// If empty, the first page is fetched.
NextToken string `protobuf:"bytes,4,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
}
func (x *ListEICERequest) Reset() {
*x = ListEICERequest{}
if protoimpl.UnsafeEnabled {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListEICERequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListEICERequest) ProtoMessage() {}
func (x *ListEICERequest) ProtoReflect() protoreflect.Message {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListEICERequest.ProtoReflect.Descriptor instead.
func (*ListEICERequest) Descriptor() ([]byte, []int) {
return file_teleport_integration_v1_awsoidc_service_proto_rawDescGZIP(), []int{0}
}
func (x *ListEICERequest) GetIntegration() string {
if x != nil {
return x.Integration
}
return ""
}
func (x *ListEICERequest) GetRegion() string {
if x != nil {
return x.Region
}
return ""
}
func (x *ListEICERequest) GetVpcIds() []string {
if x != nil {
return x.VpcIds
}
return nil
}
func (x *ListEICERequest) GetNextToken() string {
if x != nil {
return x.NextToken
}
return ""
}
// EC2InstanceConnectEndpoint is a representation of a Amazon VPC EC2 Instance Connect Endpoint.
type EC2InstanceConnectEndpoint struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Name is the endpoint name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// State is the endpoint state.
// Known values:
// create-in-progress | create-complete | create-failed | delete-in-progress | delete-complete | delete-failed
State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
// StateMessage contains a message describing the state of the EICE.
StateMessage string `protobuf:"bytes,3,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"`
// DashboardLink is a URL to AWS Console where the user can see the EC2 Instance Connect Endpoint.
DashboardLink string `protobuf:"bytes,4,opt,name=dashboard_link,json=dashboardLink,proto3" json:"dashboard_link,omitempty"`
// SubnetID is the subnet used by the endpoint.
SubnetId string `protobuf:"bytes,5,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
// VPCID is the VPC ID where the Endpoint is created.
VpcId string `protobuf:"bytes,6,opt,name=vpc_id,json=vpcId,proto3" json:"vpc_id,omitempty"`
}
func (x *EC2InstanceConnectEndpoint) Reset() {
*x = EC2InstanceConnectEndpoint{}
if protoimpl.UnsafeEnabled {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EC2InstanceConnectEndpoint) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EC2InstanceConnectEndpoint) ProtoMessage() {}
func (x *EC2InstanceConnectEndpoint) ProtoReflect() protoreflect.Message {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EC2InstanceConnectEndpoint.ProtoReflect.Descriptor instead.
func (*EC2InstanceConnectEndpoint) Descriptor() ([]byte, []int) {
return file_teleport_integration_v1_awsoidc_service_proto_rawDescGZIP(), []int{1}
}
func (x *EC2InstanceConnectEndpoint) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *EC2InstanceConnectEndpoint) GetState() string {
if x != nil {
return x.State
}
return ""
}
func (x *EC2InstanceConnectEndpoint) GetStateMessage() string {
if x != nil {
return x.StateMessage
}
return ""
}
func (x *EC2InstanceConnectEndpoint) GetDashboardLink() string {
if x != nil {
return x.DashboardLink
}
return ""
}
func (x *EC2InstanceConnectEndpoint) GetSubnetId() string {
if x != nil {
return x.SubnetId
}
return ""
}
func (x *EC2InstanceConnectEndpoint) GetVpcId() string {
if x != nil {
return x.VpcId
}
return ""
}
// ListEICEResponse contains a page of AWS EC2 Instance Connect Endpoints.
type ListEICEResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// EC2ICEs contains the page of EC2 Instance Connect Endpoints.
Ec2Ices []*EC2InstanceConnectEndpoint `protobuf:"bytes,1,rep,name=ec2ices,proto3" json:"ec2ices,omitempty"`
// DashboardLink is the URL for AWS Web Console that lists all the Endpoints for the queries VPCs.
DashboardLink string `protobuf:"bytes,2,opt,name=dashboard_link,json=dashboardLink,proto3" json:"dashboard_link,omitempty"`
// NextToken is used for pagination.
// If non-empty, it can be used to request the next page.
NextToken string `protobuf:"bytes,3,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
}
func (x *ListEICEResponse) Reset() {
*x = ListEICEResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListEICEResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListEICEResponse) ProtoMessage() {}
func (x *ListEICEResponse) ProtoReflect() protoreflect.Message {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListEICEResponse.ProtoReflect.Descriptor instead.
func (*ListEICEResponse) Descriptor() ([]byte, []int) {
return file_teleport_integration_v1_awsoidc_service_proto_rawDescGZIP(), []int{2}
}
func (x *ListEICEResponse) GetEc2Ices() []*EC2InstanceConnectEndpoint {
if x != nil {
return x.Ec2Ices
}
return nil
}
func (x *ListEICEResponse) GetDashboardLink() string {
if x != nil {
return x.DashboardLink
}
return ""
}
func (x *ListEICEResponse) GetNextToken() string {
if x != nil {
return x.NextToken
}
return ""
}
// CreateEICERequest contains the required fields to create an AWS EC2 Instance Connect Endpoint.
type CreateEICERequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Integration is the AWS OIDC Integration name.
// Required.
Integration string `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`
// Region is the AWS Region
// Required.
Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
// Endpoints is is a list of EC2 Instance Connect Endpoints to be created.
// Required.
Endpoints []*EC2ICEndpoint `protobuf:"bytes,3,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
}
func (x *CreateEICERequest) Reset() {
*x = CreateEICERequest{}
if protoimpl.UnsafeEnabled {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateEICERequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateEICERequest) ProtoMessage() {}
func (x *CreateEICERequest) ProtoReflect() protoreflect.Message {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateEICERequest.ProtoReflect.Descriptor instead.
func (*CreateEICERequest) Descriptor() ([]byte, []int) {
return file_teleport_integration_v1_awsoidc_service_proto_rawDescGZIP(), []int{3}
}
func (x *CreateEICERequest) GetIntegration() string {
if x != nil {
return x.Integration
}
return ""
}
func (x *CreateEICERequest) GetRegion() string {
if x != nil {
return x.Region
}
return ""
}
func (x *CreateEICERequest) GetEndpoints() []*EC2ICEndpoint {
if x != nil {
return x.Endpoints
}
return nil
}
// EC2ICEndpoint contains the information for a single Endpoint to be created.
type EC2ICEndpoint struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Name is the endpoint name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// SubnetID is the Subnet where the Endpoint will be created.
SubnetId string `protobuf:"bytes,2,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
// SecurityGroupIDs is a list of SecurityGroups to assign to the Endpoint.
// If not specified, the Endpoint will receive the default SG for the Subnet's VPC.
SecurityGroupIds []string `protobuf:"bytes,3,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
}
func (x *EC2ICEndpoint) Reset() {
*x = EC2ICEndpoint{}
if protoimpl.UnsafeEnabled {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EC2ICEndpoint) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EC2ICEndpoint) ProtoMessage() {}
func (x *EC2ICEndpoint) ProtoReflect() protoreflect.Message {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EC2ICEndpoint.ProtoReflect.Descriptor instead.
func (*EC2ICEndpoint) Descriptor() ([]byte, []int) {
return file_teleport_integration_v1_awsoidc_service_proto_rawDescGZIP(), []int{4}
}
func (x *EC2ICEndpoint) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *EC2ICEndpoint) GetSubnetId() string {
if x != nil {
return x.SubnetId
}
return ""
}
func (x *EC2ICEndpoint) GetSecurityGroupIds() []string {
if x != nil {
return x.SecurityGroupIds
}
return nil
}
// CreateEICEResponse is a request to create a VPC Endpoint of EC2 Instance Connect Endpoint type.
type CreateEICEResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Name is the Endpoint ID.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// CreatedEndpoints contains the name of created endpoints and their Subnet.
CreatedEndpoints []*EC2ICEndpoint `protobuf:"bytes,2,rep,name=created_endpoints,json=createdEndpoints,proto3" json:"created_endpoints,omitempty"`
}
func (x *CreateEICEResponse) Reset() {
*x = CreateEICEResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateEICEResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateEICEResponse) ProtoMessage() {}
func (x *CreateEICEResponse) ProtoReflect() protoreflect.Message {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateEICEResponse.ProtoReflect.Descriptor instead.
func (*CreateEICEResponse) Descriptor() ([]byte, []int) {
return file_teleport_integration_v1_awsoidc_service_proto_rawDescGZIP(), []int{5}
}
func (x *CreateEICEResponse) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateEICEResponse) GetCreatedEndpoints() []*EC2ICEndpoint {
if x != nil {
return x.CreatedEndpoints
}
return nil
}
// ListDatabasesRequest is a request for a paginated list of AWS Databases.
type ListDatabasesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Integration is the AWS OIDC Integration name.
// Required.
Integration string `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`
// Region is the AWS Region
// Required.
Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
// RDSType is either instance or cluster (for Aurora DBs).
// Required.
RdsType string `protobuf:"bytes,3,opt,name=rds_type,json=rdsType,proto3" json:"rds_type,omitempty"`
// Engines filters the returned Databases based on their engine.
// Eg, mysql, postgres, mariadb, aurora, aurora-mysql, aurora-postgresql
// Required.
Engines []string `protobuf:"bytes,4,rep,name=engines,proto3" json:"engines,omitempty"`
// NextToken is the token to be used to fetch the next page.
// If empty, the first page is fetched.
NextToken string `protobuf:"bytes,5,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
}
func (x *ListDatabasesRequest) Reset() {
*x = ListDatabasesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListDatabasesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListDatabasesRequest) ProtoMessage() {}
func (x *ListDatabasesRequest) ProtoReflect() protoreflect.Message {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListDatabasesRequest.ProtoReflect.Descriptor instead.
func (*ListDatabasesRequest) Descriptor() ([]byte, []int) {
return file_teleport_integration_v1_awsoidc_service_proto_rawDescGZIP(), []int{6}
}
func (x *ListDatabasesRequest) GetIntegration() string {
if x != nil {
return x.Integration
}
return ""
}
func (x *ListDatabasesRequest) GetRegion() string {
if x != nil {
return x.Region
}
return ""
}
func (x *ListDatabasesRequest) GetRdsType() string {
if x != nil {
return x.RdsType
}
return ""
}
func (x *ListDatabasesRequest) GetEngines() []string {
if x != nil {
return x.Engines
}
return nil
}
func (x *ListDatabasesRequest) GetNextToken() string {
if x != nil {
return x.NextToken
}
return ""
}
// ListDatabasesResponse contains a page of AWS Databases.
type ListDatabasesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Databases contains the page of Databases.
Databases []*types.DatabaseV3 `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"`
// NextToken is used for pagination.
// If non-empty, it can be used to request the next page.
NextToken string `protobuf:"bytes,2,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
}
func (x *ListDatabasesResponse) Reset() {
*x = ListDatabasesResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListDatabasesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListDatabasesResponse) ProtoMessage() {}
func (x *ListDatabasesResponse) ProtoReflect() protoreflect.Message {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListDatabasesResponse.ProtoReflect.Descriptor instead.
func (*ListDatabasesResponse) Descriptor() ([]byte, []int) {
return file_teleport_integration_v1_awsoidc_service_proto_rawDescGZIP(), []int{7}
}
func (x *ListDatabasesResponse) GetDatabases() []*types.DatabaseV3 {
if x != nil {
return x.Databases
}
return nil
}
func (x *ListDatabasesResponse) GetNextToken() string {
if x != nil {
return x.NextToken
}
return ""
}
// ListSecurityGroupsRequest is a request for a paginated list of AWS SecurityGroups.
type ListSecurityGroupsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Integration is the AWS OIDC Integration name.
// Required.
Integration string `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`
// Region is the AWS Region
// Required.
Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
// VPCID is the VPC ID for listing SecurityGroups.
// Required.
VpcId string `protobuf:"bytes,3,opt,name=vpc_id,json=vpcId,proto3" json:"vpc_id,omitempty"`
// NextToken is the token to be used to fetch the next page.
// If empty, the first page is fetched.
NextToken string `protobuf:"bytes,4,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
}
func (x *ListSecurityGroupsRequest) Reset() {
*x = ListSecurityGroupsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListSecurityGroupsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSecurityGroupsRequest) ProtoMessage() {}
func (x *ListSecurityGroupsRequest) ProtoReflect() protoreflect.Message {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListSecurityGroupsRequest.ProtoReflect.Descriptor instead.
func (*ListSecurityGroupsRequest) Descriptor() ([]byte, []int) {
return file_teleport_integration_v1_awsoidc_service_proto_rawDescGZIP(), []int{8}
}
func (x *ListSecurityGroupsRequest) GetIntegration() string {
if x != nil {
return x.Integration
}
return ""
}
func (x *ListSecurityGroupsRequest) GetRegion() string {
if x != nil {
return x.Region
}
return ""
}
func (x *ListSecurityGroupsRequest) GetVpcId() string {
if x != nil {
return x.VpcId
}
return ""
}
func (x *ListSecurityGroupsRequest) GetNextToken() string {
if x != nil {
return x.NextToken
}
return ""
}
// CIDR has a CIDR (IP Range) and a description for the value.
type SecurityGroupRuleCIDR struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// CIDR is the IP range using CIDR notation.
Cidr string `protobuf:"bytes,1,opt,name=cidr,proto3" json:"cidr,omitempty"`
// Description contains a small text describing the CIDR.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
}
func (x *SecurityGroupRuleCIDR) Reset() {
*x = SecurityGroupRuleCIDR{}
if protoimpl.UnsafeEnabled {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SecurityGroupRuleCIDR) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SecurityGroupRuleCIDR) ProtoMessage() {}
func (x *SecurityGroupRuleCIDR) ProtoReflect() protoreflect.Message {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SecurityGroupRuleCIDR.ProtoReflect.Descriptor instead.
func (*SecurityGroupRuleCIDR) Descriptor() ([]byte, []int) {
return file_teleport_integration_v1_awsoidc_service_proto_rawDescGZIP(), []int{9}
}
func (x *SecurityGroupRuleCIDR) GetCidr() string {
if x != nil {
return x.Cidr
}
return ""
}
func (x *SecurityGroupRuleCIDR) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
// SecurityGroupRule is a representation of a SecurityGroupRule.
// Either for Inbound or Outbound rules.
type SecurityGroupRule struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// IPProtocol is the protocol used to describe the rule.
// If the rule applies to all protocols, the "all" value is used.
// The IP protocol name ( tcp , udp , icmp , icmpv6 ) or number (see Protocol
// Numbers (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)).
IpProtocol string `protobuf:"bytes,1,opt,name=ip_protocol,json=ipProtocol,proto3" json:"ip_protocol,omitempty"`
// FromPort is the inclusive start of the Port range for the Rule.
FromPort int32 `protobuf:"varint,2,opt,name=from_port,json=fromPort,proto3" json:"from_port,omitempty"`
// ToPort is the inclusive end of the Port range for the Rule.
ToPort int32 `protobuf:"varint,3,opt,name=to_port,json=toPort,proto3" json:"to_port,omitempty"`
// CIDRs contains a list of IP ranges that this rule applies to and a description for the value.
Cidrs []*SecurityGroupRuleCIDR `protobuf:"bytes,4,rep,name=cidrs,proto3" json:"cidrs,omitempty"`
}
func (x *SecurityGroupRule) Reset() {
*x = SecurityGroupRule{}
if protoimpl.UnsafeEnabled {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SecurityGroupRule) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SecurityGroupRule) ProtoMessage() {}
func (x *SecurityGroupRule) ProtoReflect() protoreflect.Message {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SecurityGroupRule.ProtoReflect.Descriptor instead.
func (*SecurityGroupRule) Descriptor() ([]byte, []int) {
return file_teleport_integration_v1_awsoidc_service_proto_rawDescGZIP(), []int{10}
}
func (x *SecurityGroupRule) GetIpProtocol() string {
if x != nil {
return x.IpProtocol
}
return ""
}
func (x *SecurityGroupRule) GetFromPort() int32 {
if x != nil {
return x.FromPort
}
return 0
}
func (x *SecurityGroupRule) GetToPort() int32 {
if x != nil {
return x.ToPort
}
return 0
}
func (x *SecurityGroupRule) GetCidrs() []*SecurityGroupRuleCIDR {
if x != nil {
return x.Cidrs
}
return nil
}
// SecurityGroup is a representation of a SecurityGroup
type SecurityGroup struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Name is the SecurityGroup name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// ID is the SecurityGroup ID.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// Description is a small description of the SecurityGroup.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// InboundRules describe the Security Group Inbound Rules.
// The CIDR of each rule represents the source IP that the rule applies to.
InboundRules []*SecurityGroupRule `protobuf:"bytes,4,rep,name=inbound_rules,json=inboundRules,proto3" json:"inbound_rules,omitempty"`
// OutboundRules describe the Security Group Outbound Rules.
// The CIDR of each rule represents the destination IP that the rule applies to.
OutboundRules []*SecurityGroupRule `protobuf:"bytes,5,rep,name=outbound_rules,json=outboundRules,proto3" json:"outbound_rules,omitempty"`
}
func (x *SecurityGroup) Reset() {
*x = SecurityGroup{}
if protoimpl.UnsafeEnabled {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SecurityGroup) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SecurityGroup) ProtoMessage() {}
func (x *SecurityGroup) ProtoReflect() protoreflect.Message {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SecurityGroup.ProtoReflect.Descriptor instead.
func (*SecurityGroup) Descriptor() ([]byte, []int) {
return file_teleport_integration_v1_awsoidc_service_proto_rawDescGZIP(), []int{11}
}
func (x *SecurityGroup) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *SecurityGroup) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *SecurityGroup) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *SecurityGroup) GetInboundRules() []*SecurityGroupRule {
if x != nil {
return x.InboundRules
}
return nil
}
func (x *SecurityGroup) GetOutboundRules() []*SecurityGroupRule {
if x != nil {
return x.OutboundRules
}
return nil
}
// ListSecurityGroupsResponse contains a page of AWS SecurityGroups.
type ListSecurityGroupsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// SecurityGroups contains the page of SecurityGroups.
SecurityGroups []*SecurityGroup `protobuf:"bytes,1,rep,name=security_groups,json=securityGroups,proto3" json:"security_groups,omitempty"`
// NextToken is used for pagination.
// If non-empty, it can be used to request the next page.
NextToken string `protobuf:"bytes,2,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
}
func (x *ListSecurityGroupsResponse) Reset() {
*x = ListSecurityGroupsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListSecurityGroupsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSecurityGroupsResponse) ProtoMessage() {}
func (x *ListSecurityGroupsResponse) ProtoReflect() protoreflect.Message {
mi := &file_teleport_integration_v1_awsoidc_service_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListSecurityGroupsResponse.ProtoReflect.Descriptor instead.
func (*ListSecurityGroupsResponse) Descriptor() ([]byte, []int) {
return file_teleport_integration_v1_awsoidc_service_proto_rawDescGZIP(), []int{12}
}
func (x *ListSecurityGroupsResponse) GetSecurityGroups() []*SecurityGroup {
if x != nil {
return x.SecurityGroups
}
return nil
}
func (x *ListSecurityGroupsResponse) GetNextToken() string {
if x != nil {
return x.NextToken
}
return ""
}
// DeployDatabaseServiceRequest is a request to deploy .
type DeployDatabaseServiceRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Integration is the AWS OIDC Integration name.
// Required.
Integration string `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`