From 33540c618533079b064044c965e44744c6543f63 Mon Sep 17 00:00:00 2001 From: christophrj <137199105+christophrj@users.noreply.github.com> Date: Wed, 27 Nov 2024 21:01:28 +0100 Subject: [PATCH] feat: bump aws-sdk-go to v1.47.11 to allow pod identity Signed-off-by: christophrj <137199105+christophrj@users.noreply.github.com> --- .../v1beta1/zz_generated.deepcopy.go | 100 - apis/autoscaling/v1beta1/zz_types.go | 28 - apis/cloudwatchlogs/generator-config.yaml | 1 + apis/cloudwatchlogs/v1alpha1/zz_enums.go | 18 + .../v1alpha1/zz_generated.deepcopy.go | 133 + apis/cloudwatchlogs/v1alpha1/zz_types.go | 28 + apis/docdb/v1alpha1/zz_db_instance.go | 11 +- apis/docdb/v1alpha1/zz_generated.deepcopy.go | 47 +- apis/docdb/v1alpha1/zz_types.go | 16 + apis/dynamodb/v1alpha1/zz_enums.go | 14 + apis/ec2/v1alpha1/zz_enums.go | 148 +- apis/ec2/v1alpha1/zz_generated.deepcopy.go | 339 + apis/ec2/v1alpha1/zz_types.go | 141 +- apis/ecs/v1alpha1/zz_enums.go | 15 +- apis/ecs/v1alpha1/zz_task_definition.go | 30 +- apis/ecs/v1alpha1/zz_types.go | 54 +- apis/efs/v1alpha1/zz_file_system.go | 2 + apis/eks/generator-config.yaml | 1 + apis/eks/v1alpha1/zz_addon.go | 7 +- apis/eks/v1alpha1/zz_enums.go | 52 +- apis/eks/v1alpha1/zz_generated.deepcopy.go | 74 + apis/eks/v1alpha1/zz_types.go | 21 + apis/firehose/v1alpha1/zz_delivery_stream.go | 2 + apis/firehose/v1alpha1/zz_enums.go | 17 + .../v1alpha1/zz_generated.deepcopy.go | 149 + apis/firehose/v1alpha1/zz_types.go | 70 +- apis/globalaccelerator/generator-config.yaml | 1 + .../v1alpha1/zz_generated.deepcopy.go | 88 + apis/globalaccelerator/v1alpha1/zz_types.go | 27 + apis/glue/generator-config.yaml | 1 + apis/glue/v1alpha1/zz_enums.go | 17 + apis/glue/v1alpha1/zz_generated.deepcopy.go | 194 + apis/glue/v1alpha1/zz_types.go | 46 + apis/iot/v1alpha1/zz_enums.go | 12 +- apis/kafka/generator-config.yaml | 1 + apis/kafka/v1alpha1/zz_enums.go | 20 + apis/kafka/v1alpha1/zz_generated.deepcopy.go | 351 + apis/kafka/v1alpha1/zz_types.go | 97 + apis/lambda/v1alpha1/zz_enums.go | 67 +- apis/lambda/v1alpha1/zz_generated.deepcopy.go | 10 + apis/lambda/v1alpha1/zz_types.go | 7 +- apis/lambda/v1beta1/zz_enums.go | 67 +- apis/lambda/v1beta1/zz_function.go | 3 +- apis/lambda/v1beta1/zz_generated.deepcopy.go | 10 + apis/lambda/v1beta1/zz_types.go | 7 +- apis/mwaa/v1alpha1/zz_environment.go | 7 +- apis/neptune/v1alpha1/zz_db_cluster.go | 12 +- apis/opensearchservice/v1alpha1/zz_domain.go | 4 + apis/opensearchservice/v1alpha1/zz_enums.go | 28 + .../v1alpha1/zz_generated.deepcopy.go | 60 + apis/opensearchservice/v1alpha1/zz_types.go | 17 + apis/rds/generator-config.yaml | 4 +- apis/rds/v1alpha1/zz_db_cluster.go | 11 +- apis/rds/v1alpha1/zz_db_instance.go | 22 + apis/rds/v1alpha1/zz_enums.go | 12 + apis/rds/v1alpha1/zz_generated.deepcopy.go | 400 ++ apis/rds/v1alpha1/zz_types.go | 126 + apis/secretsmanager/v1beta1/zz_secret.go | 21 +- apis/servicecatalog/v1alpha1/zz_enums.go | 2 + .../v1alpha1/zz_provisioned_product.go | 2 +- apis/sesv2/v1alpha1/zz_enums.go | 10 + apis/sesv2/v1alpha1/zz_generated.deepcopy.go | 63 + apis/sesv2/v1alpha1/zz_types.go | 21 + apis/sfn/v1alpha1/zz_enums.go | 28 +- apis/sfn/v1alpha1/zz_generated.deepcopy.go | 4 + apis/sfn/v1alpha1/zz_types.go | 2 + apis/transfer/v1alpha1/zz_user.go | 15 +- go.mod | 2 +- go.sum | 8 +- .../docdb.aws.crossplane.io_dbinstances.yaml | 13 +- ...ec2.aws.crossplane.io_launchtemplates.yaml | 14 + ....crossplane.io_launchtemplateversions.yaml | 51 +- ....crossplane.io_taskdefinitionfamilies.yaml | 132 +- ...ecs.aws.crossplane.io_taskdefinitions.yaml | 166 +- .../efs.aws.crossplane.io_filesystems.yaml | 3 + .../crds/eks.aws.crossplane.io_addons.yaml | 7 +- ...ose.aws.crossplane.io_deliverystreams.yaml | 46 +- ...ator.aws.crossplane.io_endpointgroups.yaml | 2 + package/crds/glue.aws.crossplane.io_jobs.yaml | 44 + .../lambda.aws.crossplane.io_functions.yaml | 7 +- .../mwaa.aws.crossplane.io_environments.yaml | 8 +- .../neptune.aws.crossplane.io_dbclusters.yaml | 13 +- ...archservice.aws.crossplane.io_domains.yaml | 6 + .../rds.aws.crossplane.io_dbclusters.yaml | 19 +- .../rds.aws.crossplane.io_dbinstances.yaml | 35 + ...retsmanager.aws.crossplane.io_secrets.yaml | 27 +- ...aws.crossplane.io_provisionedproducts.yaml | 2 +- .../transfer.aws.crossplane.io_users.yaml | 17 +- pkg/clients/mock/ec2iface/zz_ec2_api.go | 699 ++ pkg/clients/mock/eksiface/zz_eks_api.go | 250 + pkg/controller/docdb/dbinstance/setup_test.go | 14 +- .../docdb/dbinstance/zz_controller.go | 182 +- .../docdb/dbinstance/zz_conversions.go | 207 +- .../ec2/launchtemplate/zz_conversions.go | 86 +- .../launchtemplateversion/zz_controller.go | 90 +- .../launchtemplateversion/zz_conversions.go | 172 +- .../firehose/deliverystream/zz_conversions.go | 618 +- .../endpointgroup/zz_conversions.go | 6 + pkg/controller/glue/job/zz_conversions.go | 5738 +++++++++-------- .../lambda/function/zz_controller.go | 25 +- .../opensearchservice/domain/zz_controller.go | 138 +- .../domain/zz_conversions.go | 207 +- pkg/controller/rds/dbcluster/zz_controller.go | 215 +- .../rds/dbcluster/zz_conversions.go | 294 +- .../rds/dbinstance/zz_controller.go | 321 +- .../rds/dbinstance/zz_conversions.go | 421 +- 106 files changed, 9133 insertions(+), 4587 deletions(-) diff --git a/apis/autoscaling/v1beta1/zz_generated.deepcopy.go b/apis/autoscaling/v1beta1/zz_generated.deepcopy.go index c0585bfb31..1117aaa51e 100644 --- a/apis/autoscaling/v1beta1/zz_generated.deepcopy.go +++ b/apis/autoscaling/v1beta1/zz_generated.deepcopy.go @@ -92,11 +92,6 @@ func (in *Activity) DeepCopyInto(out *Activity) { *out = new(string) **out = **in } - if in.Cause != nil { - in, out := &in.Cause, &out.Cause - *out = new(string) - **out = **in - } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) @@ -1250,11 +1245,6 @@ func (in *InstanceRefresh) DeepCopyInto(out *InstanceRefresh) { in, out := &in.StartTime, &out.StartTime *out = (*in).DeepCopy() } - if in.StatusReason != nil { - in, out := &in.StatusReason, &out.StatusReason - *out = new(string) - **out = **in - } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRefresh. @@ -1898,11 +1888,6 @@ func (in *MetricCollectionType) DeepCopy() *MetricCollectionType { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MetricDataQuery) DeepCopyInto(out *MetricDataQuery) { *out = *in - if in.Expression != nil { - in, out := &in.Expression, &out.Expression - *out = new(string) - **out = **in - } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) @@ -2045,86 +2030,6 @@ func (in *NotificationConfiguration) DeepCopy() *NotificationConfiguration { return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PredefinedMetricSpecification) DeepCopyInto(out *PredefinedMetricSpecification) { - *out = *in - if in.ResourceLabel != nil { - in, out := &in.ResourceLabel, &out.ResourceLabel - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredefinedMetricSpecification. -func (in *PredefinedMetricSpecification) DeepCopy() *PredefinedMetricSpecification { - if in == nil { - return nil - } - out := new(PredefinedMetricSpecification) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PredictiveScalingPredefinedLoadMetric) DeepCopyInto(out *PredictiveScalingPredefinedLoadMetric) { - *out = *in - if in.ResourceLabel != nil { - in, out := &in.ResourceLabel, &out.ResourceLabel - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredictiveScalingPredefinedLoadMetric. -func (in *PredictiveScalingPredefinedLoadMetric) DeepCopy() *PredictiveScalingPredefinedLoadMetric { - if in == nil { - return nil - } - out := new(PredictiveScalingPredefinedLoadMetric) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PredictiveScalingPredefinedMetricPair) DeepCopyInto(out *PredictiveScalingPredefinedMetricPair) { - *out = *in - if in.ResourceLabel != nil { - in, out := &in.ResourceLabel, &out.ResourceLabel - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredictiveScalingPredefinedMetricPair. -func (in *PredictiveScalingPredefinedMetricPair) DeepCopy() *PredictiveScalingPredefinedMetricPair { - if in == nil { - return nil - } - out := new(PredictiveScalingPredefinedMetricPair) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PredictiveScalingPredefinedScalingMetric) DeepCopyInto(out *PredictiveScalingPredefinedScalingMetric) { - *out = *in - if in.ResourceLabel != nil { - in, out := &in.ResourceLabel, &out.ResourceLabel - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredictiveScalingPredefinedScalingMetric. -func (in *PredictiveScalingPredefinedScalingMetric) DeepCopy() *PredictiveScalingPredefinedScalingMetric { - if in == nil { - return nil - } - out := new(PredictiveScalingPredefinedScalingMetric) - in.DeepCopyInto(out) - return out -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ProcessType) DeepCopyInto(out *ProcessType) { *out = *in @@ -2148,11 +2053,6 @@ func (in *ProcessType) DeepCopy() *ProcessType { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RollbackDetails) DeepCopyInto(out *RollbackDetails) { *out = *in - if in.RollbackReason != nil { - in, out := &in.RollbackReason, &out.RollbackReason - *out = new(string) - **out = **in - } if in.RollbackStartTime != nil { in, out := &in.RollbackStartTime, &out.RollbackStartTime *out = (*in).DeepCopy() diff --git a/apis/autoscaling/v1beta1/zz_types.go b/apis/autoscaling/v1beta1/zz_types.go index 7d87690a71..b8a8a35fdc 100644 --- a/apis/autoscaling/v1beta1/zz_types.go +++ b/apis/autoscaling/v1beta1/zz_types.go @@ -49,8 +49,6 @@ type Activity struct { AutoScalingGroupName *string `json:"autoScalingGroupName,omitempty"` - Cause *string `json:"cause,omitempty"` - Description *string `json:"description,omitempty"` Details *string `json:"details,omitempty"` @@ -272,8 +270,6 @@ type InstanceRefresh struct { InstanceRefreshID *string `json:"instanceRefreshID,omitempty"` StartTime *metav1.Time `json:"startTime,omitempty"` - - StatusReason *string `json:"statusReason,omitempty"` } // +kubebuilder:skipversion @@ -518,8 +514,6 @@ type MetricCollectionType struct { // +kubebuilder:skipversion type MetricDataQuery struct { - Expression *string `json:"expression,omitempty"` - ID *string `json:"id,omitempty"` } @@ -562,26 +556,6 @@ type NotificationConfiguration struct { TopicARN *string `json:"topicARN,omitempty"` } -// +kubebuilder:skipversion -type PredefinedMetricSpecification struct { - ResourceLabel *string `json:"resourceLabel,omitempty"` -} - -// +kubebuilder:skipversion -type PredictiveScalingPredefinedLoadMetric struct { - ResourceLabel *string `json:"resourceLabel,omitempty"` -} - -// +kubebuilder:skipversion -type PredictiveScalingPredefinedMetricPair struct { - ResourceLabel *string `json:"resourceLabel,omitempty"` -} - -// +kubebuilder:skipversion -type PredictiveScalingPredefinedScalingMetric struct { - ResourceLabel *string `json:"resourceLabel,omitempty"` -} - // +kubebuilder:skipversion type ProcessType struct { ProcessName *string `json:"processName,omitempty"` @@ -589,8 +563,6 @@ type ProcessType struct { // +kubebuilder:skipversion type RollbackDetails struct { - RollbackReason *string `json:"rollbackReason,omitempty"` - RollbackStartTime *metav1.Time `json:"rollbackStartTime,omitempty"` } diff --git a/apis/cloudwatchlogs/generator-config.yaml b/apis/cloudwatchlogs/generator-config.yaml index c86a1037db..e97a825f84 100644 --- a/apis/cloudwatchlogs/generator-config.yaml +++ b/apis/cloudwatchlogs/generator-config.yaml @@ -2,6 +2,7 @@ ignore: resource_names: - LogStream - ExportTask + - Delivery field_paths: - CreateLogGroupInput.KmsKeyId - PutResourcePolicyInput.PolicyName diff --git a/apis/cloudwatchlogs/v1alpha1/zz_enums.go b/apis/cloudwatchlogs/v1alpha1/zz_enums.go index 6fa97c373e..9b0404ebf6 100644 --- a/apis/cloudwatchlogs/v1alpha1/zz_enums.go +++ b/apis/cloudwatchlogs/v1alpha1/zz_enums.go @@ -27,6 +27,14 @@ const ( DataProtectionStatus_DISABLED DataProtectionStatus = "DISABLED" ) +type DeliveryDestinationType string + +const ( + DeliveryDestinationType_S3 DeliveryDestinationType = "S3" + DeliveryDestinationType_CWL DeliveryDestinationType = "CWL" + DeliveryDestinationType_FH DeliveryDestinationType = "FH" +) + type Distribution string const ( @@ -58,6 +66,16 @@ const ( OrderBy_LastEventTime OrderBy = "LastEventTime" ) +type OutputFormat string + +const ( + OutputFormat_json OutputFormat = "json" + OutputFormat_plain OutputFormat = "plain" + OutputFormat_w3c OutputFormat = "w3c" + OutputFormat_raw OutputFormat = "raw" + OutputFormat_parquet OutputFormat = "parquet" +) + type PolicyType string const ( diff --git a/apis/cloudwatchlogs/v1alpha1/zz_generated.deepcopy.go b/apis/cloudwatchlogs/v1alpha1/zz_generated.deepcopy.go index 6259c05221..8472d651c0 100644 --- a/apis/cloudwatchlogs/v1alpha1/zz_generated.deepcopy.go +++ b/apis/cloudwatchlogs/v1alpha1/zz_generated.deepcopy.go @@ -105,6 +105,139 @@ func (in *CustomResourcePolicyParameters) DeepCopy() *CustomResourcePolicyParame return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Delivery) DeepCopyInto(out *Delivery) { + *out = *in + if in.ARN != nil { + in, out := &in.ARN, &out.ARN + *out = new(string) + **out = **in + } + if in.DeliveryDestinationARN != nil { + in, out := &in.DeliveryDestinationARN, &out.DeliveryDestinationARN + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Delivery. +func (in *Delivery) DeepCopy() *Delivery { + if in == nil { + return nil + } + out := new(Delivery) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeliveryDestination) DeepCopyInto(out *DeliveryDestination) { + *out = *in + if in.ARN != nil { + in, out := &in.ARN, &out.ARN + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeliveryDestination. +func (in *DeliveryDestination) DeepCopy() *DeliveryDestination { + if in == nil { + return nil + } + out := new(DeliveryDestination) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeliveryDestinationConfiguration) DeepCopyInto(out *DeliveryDestinationConfiguration) { + *out = *in + if in.DestinationResourceARN != nil { + in, out := &in.DestinationResourceARN, &out.DestinationResourceARN + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeliveryDestinationConfiguration. +func (in *DeliveryDestinationConfiguration) DeepCopy() *DeliveryDestinationConfiguration { + if in == nil { + return nil + } + out := new(DeliveryDestinationConfiguration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeliverySource) DeepCopyInto(out *DeliverySource) { + *out = *in + if in.ARN != nil { + in, out := &in.ARN, &out.ARN + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeliverySource. +func (in *DeliverySource) DeepCopy() *DeliverySource { + if in == nil { + return nil + } + out := new(DeliverySource) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Destination) DeepCopyInto(out *Destination) { *out = *in diff --git a/apis/cloudwatchlogs/v1alpha1/zz_types.go b/apis/cloudwatchlogs/v1alpha1/zz_types.go index 7eaa41c25b..da2b584c70 100644 --- a/apis/cloudwatchlogs/v1alpha1/zz_types.go +++ b/apis/cloudwatchlogs/v1alpha1/zz_types.go @@ -36,6 +36,34 @@ type AccountPolicy struct { PolicyName *string `json:"policyName,omitempty"` } +// +kubebuilder:skipversion +type Delivery struct { + ARN *string `json:"arn,omitempty"` + + DeliveryDestinationARN *string `json:"deliveryDestinationARN,omitempty"` + + Tags map[string]*string `json:"tags,omitempty"` +} + +// +kubebuilder:skipversion +type DeliveryDestination struct { + ARN *string `json:"arn,omitempty"` + + Tags map[string]*string `json:"tags,omitempty"` +} + +// +kubebuilder:skipversion +type DeliveryDestinationConfiguration struct { + DestinationResourceARN *string `json:"destinationResourceARN,omitempty"` +} + +// +kubebuilder:skipversion +type DeliverySource struct { + ARN *string `json:"arn,omitempty"` + + Tags map[string]*string `json:"tags,omitempty"` +} + // +kubebuilder:skipversion type Destination struct { ARN *string `json:"arn,omitempty"` diff --git a/apis/docdb/v1alpha1/zz_db_instance.go b/apis/docdb/v1alpha1/zz_db_instance.go index f380318ae2..e68e67c96f 100644 --- a/apis/docdb/v1alpha1/zz_db_instance.go +++ b/apis/docdb/v1alpha1/zz_db_instance.go @@ -41,6 +41,13 @@ type DBInstanceParameters struct { // // Example: us-east-1d AvailabilityZone *string `json:"availabilityZone,omitempty"` + // The CA certificate identifier to use for the DB instance's server certificate. + // + // For more information, see Updating Your Amazon DocumentDB TLS Certificates + // (https://docs.aws.amazon.com/documentdb/latest/developerguide/ca_cert_rotation.html) + // and Encrypting Data in Transit (https://docs.aws.amazon.com/documentdb/latest/developerguide/security.encryption.ssl.html) + // in the Amazon DocumentDB Developer Guide. + CACertificateIdentifier *string `json:"caCertificateIdentifier,omitempty"` // A value that indicates whether to copy tags from the DB instance to snapshots // of the DB instance. By default, tags are not copied. CopyTagsToSnapshot *bool `json:"copyTagsToSnapshot,omitempty"` @@ -102,8 +109,8 @@ type DBInstanceSpec struct { type DBInstanceObservation struct { // Specifies the number of days for which automatic snapshots are retained. BackupRetentionPeriod *int64 `json:"backupRetentionPeriod,omitempty"` - // The identifier of the CA certificate for this DB instance. - CACertificateIdentifier *string `json:"caCertificateIdentifier,omitempty"` + // The details of the DB instance's server certificate. + CertificateDetails *CertificateDetails `json:"certificateDetails,omitempty"` // Contains the name of the cluster that the instance is a member of if the // instance is a member of a cluster. DBClusterIdentifier *string `json:"dbClusterIdentifier,omitempty"` diff --git a/apis/docdb/v1alpha1/zz_generated.deepcopy.go b/apis/docdb/v1alpha1/zz_generated.deepcopy.go index 4ae69928fe..79a7437e48 100644 --- a/apis/docdb/v1alpha1/zz_generated.deepcopy.go +++ b/apis/docdb/v1alpha1/zz_generated.deepcopy.go @@ -88,6 +88,30 @@ func (in *Certificate) DeepCopy() *Certificate { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateDetails) DeepCopyInto(out *CertificateDetails) { + *out = *in + if in.CAIdentifier != nil { + in, out := &in.CAIdentifier, &out.CAIdentifier + *out = new(string) + **out = **in + } + if in.ValidTill != nil { + in, out := &in.ValidTill, &out.ValidTill + *out = (*in).DeepCopy() + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateDetails. +func (in *CertificateDetails) DeepCopy() *CertificateDetails { + if in == nil { + return nil + } + out := new(CertificateDetails) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CloudwatchLogsExportConfiguration) DeepCopyInto(out *CloudwatchLogsExportConfiguration) { *out = *in @@ -1372,6 +1396,11 @@ func (in *DBEngineVersion) DeepCopyInto(out *DBEngineVersion) { } } } + if in.SupportsCertificateRotationWithoutRestart != nil { + in, out := &in.SupportsCertificateRotationWithoutRestart, &out.SupportsCertificateRotationWithoutRestart + *out = new(bool) + **out = **in + } if in.SupportsLogExportsToCloudwatchLogs != nil { in, out := &in.SupportsLogExportsToCloudwatchLogs, &out.SupportsLogExportsToCloudwatchLogs *out = new(bool) @@ -1456,10 +1485,10 @@ func (in *DBInstanceObservation) DeepCopyInto(out *DBInstanceObservation) { *out = new(int64) **out = **in } - if in.CACertificateIdentifier != nil { - in, out := &in.CACertificateIdentifier, &out.CACertificateIdentifier - *out = new(string) - **out = **in + if in.CertificateDetails != nil { + in, out := &in.CertificateDetails, &out.CertificateDetails + *out = new(CertificateDetails) + (*in).DeepCopyInto(*out) } if in.DBClusterIdentifier != nil { in, out := &in.DBClusterIdentifier, &out.DBClusterIdentifier @@ -1592,6 +1621,11 @@ func (in *DBInstanceParameters) DeepCopyInto(out *DBInstanceParameters) { *out = new(string) **out = **in } + if in.CACertificateIdentifier != nil { + in, out := &in.CACertificateIdentifier, &out.CACertificateIdentifier + *out = new(string) + **out = **in + } if in.CopyTagsToSnapshot != nil { in, out := &in.CopyTagsToSnapshot, &out.CopyTagsToSnapshot *out = new(bool) @@ -1743,6 +1777,11 @@ func (in *DBInstance_SDK) DeepCopyInto(out *DBInstance_SDK) { *out = new(string) **out = **in } + if in.CertificateDetails != nil { + in, out := &in.CertificateDetails, &out.CertificateDetails + *out = new(CertificateDetails) + (*in).DeepCopyInto(*out) + } if in.CopyTagsToSnapshot != nil { in, out := &in.CopyTagsToSnapshot, &out.CopyTagsToSnapshot *out = new(bool) diff --git a/apis/docdb/v1alpha1/zz_types.go b/apis/docdb/v1alpha1/zz_types.go index e1c096b917..0d0014e094 100644 --- a/apis/docdb/v1alpha1/zz_types.go +++ b/apis/docdb/v1alpha1/zz_types.go @@ -47,6 +47,13 @@ type Certificate struct { ValidTill *metav1.Time `json:"validTill,omitempty"` } +// +kubebuilder:skipversion +type CertificateDetails struct { + CAIdentifier *string `json:"cAIdentifier,omitempty"` + + ValidTill *metav1.Time `json:"validTill,omitempty"` +} + // +kubebuilder:skipversion type CloudwatchLogsExportConfiguration struct { DisableLogTypes []*string `json:"disableLogTypes,omitempty"` @@ -211,6 +218,8 @@ type DBEngineVersion struct { ExportableLogTypes []*string `json:"exportableLogTypes,omitempty"` + SupportsCertificateRotationWithoutRestart *bool `json:"supportsCertificateRotationWithoutRestart,omitempty"` + SupportsLogExportsToCloudwatchLogs *bool `json:"supportsLogExportsToCloudwatchLogs,omitempty"` } @@ -234,6 +243,13 @@ type DBInstance_SDK struct { BackupRetentionPeriod *int64 `json:"backupRetentionPeriod,omitempty"` CACertificateIdentifier *string `json:"caCertificateIdentifier,omitempty"` + // Returns the details of the DB instance’s server certificate. + // + // For more information, see Updating Your Amazon DocumentDB TLS Certificates + // (https://docs.aws.amazon.com/documentdb/latest/developerguide/ca_cert_rotation.html) + // and Encrypting Data in Transit (https://docs.aws.amazon.com/documentdb/latest/developerguide/security.encryption.ssl.html) + // in the Amazon DocumentDB Developer Guide. + CertificateDetails *CertificateDetails `json:"certificateDetails,omitempty"` CopyTagsToSnapshot *bool `json:"copyTagsToSnapshot,omitempty"` diff --git a/apis/dynamodb/v1alpha1/zz_enums.go b/apis/dynamodb/v1alpha1/zz_enums.go index 09ec173632..6b6e9a8302 100644 --- a/apis/dynamodb/v1alpha1/zz_enums.go +++ b/apis/dynamodb/v1alpha1/zz_enums.go @@ -148,6 +148,20 @@ const ( ExportStatus_FAILED ExportStatus = "FAILED" ) +type ExportType string + +const ( + ExportType_FULL_EXPORT ExportType = "FULL_EXPORT" + ExportType_INCREMENTAL_EXPORT ExportType = "INCREMENTAL_EXPORT" +) + +type ExportViewType string + +const ( + ExportViewType_NEW_IMAGE ExportViewType = "NEW_IMAGE" + ExportViewType_NEW_AND_OLD_IMAGES ExportViewType = "NEW_AND_OLD_IMAGES" +) + type GlobalTableStatus_SDK string const ( diff --git a/apis/ec2/v1alpha1/zz_enums.go b/apis/ec2/v1alpha1/zz_enums.go index 06016fe622..b6dd1cdf8d 100644 --- a/apis/ec2/v1alpha1/zz_enums.go +++ b/apis/ec2/v1alpha1/zz_enums.go @@ -21,9 +21,9 @@ package v1alpha1 type AcceleratorManufacturer string const ( - AcceleratorManufacturer_nvidia AcceleratorManufacturer = "nvidia" - AcceleratorManufacturer_amd AcceleratorManufacturer = "amd" AcceleratorManufacturer_amazon_web_services AcceleratorManufacturer = "amazon-web-services" + AcceleratorManufacturer_amd AcceleratorManufacturer = "amd" + AcceleratorManufacturer_nvidia AcceleratorManufacturer = "nvidia" AcceleratorManufacturer_xilinx AcceleratorManufacturer = "xilinx" ) @@ -31,14 +31,14 @@ type AcceleratorName string const ( AcceleratorName_a100 AcceleratorName = "a100" - AcceleratorName_v100 AcceleratorName = "v100" + AcceleratorName_inferentia AcceleratorName = "inferentia" + AcceleratorName_k520 AcceleratorName = "k520" AcceleratorName_k80 AcceleratorName = "k80" - AcceleratorName_t4 AcceleratorName = "t4" AcceleratorName_m60 AcceleratorName = "m60" AcceleratorName_radeon_pro_v520 AcceleratorName = "radeon-pro-v520" + AcceleratorName_t4 AcceleratorName = "t4" AcceleratorName_vu9p AcceleratorName = "vu9p" - AcceleratorName_inferentia AcceleratorName = "inferentia" - AcceleratorName_k520 AcceleratorName = "k520" + AcceleratorName_v100 AcceleratorName = "v100" ) type AcceleratorType string @@ -368,6 +368,7 @@ const ( CapacityReservationInstancePlatform_RHEL_with_HA CapacityReservationInstancePlatform = "RHEL with HA" CapacityReservationInstancePlatform_RHEL_with_HA_and_SQL_Server_Standard CapacityReservationInstancePlatform = "RHEL with HA and SQL Server Standard" CapacityReservationInstancePlatform_RHEL_with_HA_and_SQL_Server_Enterprise CapacityReservationInstancePlatform = "RHEL with HA and SQL Server Enterprise" + CapacityReservationInstancePlatform_Ubuntu_Pro CapacityReservationInstancePlatform = "Ubuntu Pro" ) type CapacityReservationPreference string @@ -380,11 +381,14 @@ const ( type CapacityReservationState string const ( - CapacityReservationState_active CapacityReservationState = "active" - CapacityReservationState_expired CapacityReservationState = "expired" - CapacityReservationState_cancelled CapacityReservationState = "cancelled" - CapacityReservationState_pending CapacityReservationState = "pending" - CapacityReservationState_failed CapacityReservationState = "failed" + CapacityReservationState_active CapacityReservationState = "active" + CapacityReservationState_expired CapacityReservationState = "expired" + CapacityReservationState_cancelled CapacityReservationState = "cancelled" + CapacityReservationState_pending CapacityReservationState = "pending" + CapacityReservationState_failed CapacityReservationState = "failed" + CapacityReservationState_scheduled CapacityReservationState = "scheduled" + CapacityReservationState_payment_pending CapacityReservationState = "payment-pending" + CapacityReservationState_payment_failed CapacityReservationState = "payment-failed" ) type CapacityReservationTenancy string @@ -394,6 +398,13 @@ const ( CapacityReservationTenancy_dedicated CapacityReservationTenancy = "dedicated" ) +type CapacityReservationType string + +const ( + CapacityReservationType_default CapacityReservationType = "default" + CapacityReservationType_capacity_block CapacityReservationType = "capacity-block" +) + type CarrierGatewayState string const ( @@ -556,8 +567,9 @@ const ( type DefaultTargetCapacityType string const ( - DefaultTargetCapacityType_spot DefaultTargetCapacityType = "spot" - DefaultTargetCapacityType_on_demand DefaultTargetCapacityType = "on-demand" + DefaultTargetCapacityType_spot DefaultTargetCapacityType = "spot" + DefaultTargetCapacityType_on_demand DefaultTargetCapacityType = "on-demand" + DefaultTargetCapacityType_capacity_block DefaultTargetCapacityType = "capacity-block" ) type DeleteFleetErrorCode string @@ -1175,6 +1187,18 @@ const ( ImageAttributeName_imdsSupport ImageAttributeName = "imdsSupport" ) +type ImageBlockPublicAccessDisabledState string + +const ( + ImageBlockPublicAccessDisabledState_unblocked ImageBlockPublicAccessDisabledState = "unblocked" +) + +type ImageBlockPublicAccessEnabledState string + +const ( + ImageBlockPublicAccessEnabledState_block_new_sharing ImageBlockPublicAccessEnabledState = "block-new-sharing" +) + type ImageState string const ( @@ -1185,6 +1209,7 @@ const ( ImageState_transient ImageState = "transient" ImageState_failed ImageState = "failed" ImageState_error ImageState = "error" + ImageState_disabled ImageState = "disabled" ) type ImageTypeValues string @@ -1277,8 +1302,9 @@ const ( type InstanceLifecycleType string const ( - InstanceLifecycleType_spot InstanceLifecycleType = "spot" - InstanceLifecycleType_scheduled InstanceLifecycleType = "scheduled" + InstanceLifecycleType_spot InstanceLifecycleType = "spot" + InstanceLifecycleType_scheduled InstanceLifecycleType = "scheduled" + InstanceLifecycleType_capacity_block InstanceLifecycleType = "capacity-block" ) type InstanceMatchCriteria string @@ -2033,6 +2059,81 @@ const ( InstanceType_hpc7a_24xlarge InstanceType = "hpc7a.24xlarge" InstanceType_hpc7a_48xlarge InstanceType = "hpc7a.48xlarge" InstanceType_hpc7a_96xlarge InstanceType = "hpc7a.96xlarge" + InstanceType_c7gd_medium InstanceType = "c7gd.medium" + InstanceType_c7gd_large InstanceType = "c7gd.large" + InstanceType_c7gd_xlarge InstanceType = "c7gd.xlarge" + InstanceType_c7gd_2xlarge InstanceType = "c7gd.2xlarge" + InstanceType_c7gd_4xlarge InstanceType = "c7gd.4xlarge" + InstanceType_c7gd_8xlarge InstanceType = "c7gd.8xlarge" + InstanceType_c7gd_12xlarge InstanceType = "c7gd.12xlarge" + InstanceType_c7gd_16xlarge InstanceType = "c7gd.16xlarge" + InstanceType_m7gd_medium InstanceType = "m7gd.medium" + InstanceType_m7gd_large InstanceType = "m7gd.large" + InstanceType_m7gd_xlarge InstanceType = "m7gd.xlarge" + InstanceType_m7gd_2xlarge InstanceType = "m7gd.2xlarge" + InstanceType_m7gd_4xlarge InstanceType = "m7gd.4xlarge" + InstanceType_m7gd_8xlarge InstanceType = "m7gd.8xlarge" + InstanceType_m7gd_12xlarge InstanceType = "m7gd.12xlarge" + InstanceType_m7gd_16xlarge InstanceType = "m7gd.16xlarge" + InstanceType_r7gd_medium InstanceType = "r7gd.medium" + InstanceType_r7gd_large InstanceType = "r7gd.large" + InstanceType_r7gd_xlarge InstanceType = "r7gd.xlarge" + InstanceType_r7gd_2xlarge InstanceType = "r7gd.2xlarge" + InstanceType_r7gd_4xlarge InstanceType = "r7gd.4xlarge" + InstanceType_r7gd_8xlarge InstanceType = "r7gd.8xlarge" + InstanceType_r7gd_12xlarge InstanceType = "r7gd.12xlarge" + InstanceType_r7gd_16xlarge InstanceType = "r7gd.16xlarge" + InstanceType_r7a_medium InstanceType = "r7a.medium" + InstanceType_r7a_large InstanceType = "r7a.large" + InstanceType_r7a_xlarge InstanceType = "r7a.xlarge" + InstanceType_r7a_2xlarge InstanceType = "r7a.2xlarge" + InstanceType_r7a_4xlarge InstanceType = "r7a.4xlarge" + InstanceType_r7a_8xlarge InstanceType = "r7a.8xlarge" + InstanceType_r7a_12xlarge InstanceType = "r7a.12xlarge" + InstanceType_r7a_16xlarge InstanceType = "r7a.16xlarge" + InstanceType_r7a_24xlarge InstanceType = "r7a.24xlarge" + InstanceType_r7a_32xlarge InstanceType = "r7a.32xlarge" + InstanceType_r7a_48xlarge InstanceType = "r7a.48xlarge" + InstanceType_c7i_large InstanceType = "c7i.large" + InstanceType_c7i_xlarge InstanceType = "c7i.xlarge" + InstanceType_c7i_2xlarge InstanceType = "c7i.2xlarge" + InstanceType_c7i_4xlarge InstanceType = "c7i.4xlarge" + InstanceType_c7i_8xlarge InstanceType = "c7i.8xlarge" + InstanceType_c7i_12xlarge InstanceType = "c7i.12xlarge" + InstanceType_c7i_16xlarge InstanceType = "c7i.16xlarge" + InstanceType_c7i_24xlarge InstanceType = "c7i.24xlarge" + InstanceType_c7i_48xlarge InstanceType = "c7i.48xlarge" + InstanceType_mac2_m2pro_metal InstanceType = "mac2-m2pro.metal" + InstanceType_r7iz_large InstanceType = "r7iz.large" + InstanceType_r7iz_xlarge InstanceType = "r7iz.xlarge" + InstanceType_r7iz_2xlarge InstanceType = "r7iz.2xlarge" + InstanceType_r7iz_4xlarge InstanceType = "r7iz.4xlarge" + InstanceType_r7iz_8xlarge InstanceType = "r7iz.8xlarge" + InstanceType_r7iz_12xlarge InstanceType = "r7iz.12xlarge" + InstanceType_r7iz_16xlarge InstanceType = "r7iz.16xlarge" + InstanceType_r7iz_32xlarge InstanceType = "r7iz.32xlarge" + InstanceType_c7a_medium InstanceType = "c7a.medium" + InstanceType_c7a_large InstanceType = "c7a.large" + InstanceType_c7a_xlarge InstanceType = "c7a.xlarge" + InstanceType_c7a_2xlarge InstanceType = "c7a.2xlarge" + InstanceType_c7a_4xlarge InstanceType = "c7a.4xlarge" + InstanceType_c7a_8xlarge InstanceType = "c7a.8xlarge" + InstanceType_c7a_12xlarge InstanceType = "c7a.12xlarge" + InstanceType_c7a_16xlarge InstanceType = "c7a.16xlarge" + InstanceType_c7a_24xlarge InstanceType = "c7a.24xlarge" + InstanceType_c7a_32xlarge InstanceType = "c7a.32xlarge" + InstanceType_c7a_48xlarge InstanceType = "c7a.48xlarge" + InstanceType_c7a_metal_48xl InstanceType = "c7a.metal-48xl" + InstanceType_r7a_metal_48xl InstanceType = "r7a.metal-48xl" + InstanceType_r7i_large InstanceType = "r7i.large" + InstanceType_r7i_xlarge InstanceType = "r7i.xlarge" + InstanceType_r7i_2xlarge InstanceType = "r7i.2xlarge" + InstanceType_r7i_4xlarge InstanceType = "r7i.4xlarge" + InstanceType_r7i_8xlarge InstanceType = "r7i.8xlarge" + InstanceType_r7i_12xlarge InstanceType = "r7i.12xlarge" + InstanceType_r7i_16xlarge InstanceType = "r7i.16xlarge" + InstanceType_r7i_24xlarge InstanceType = "r7i.24xlarge" + InstanceType_r7i_48xlarge InstanceType = "r7i.48xlarge" ) type InstanceTypeHypervisor string @@ -2186,6 +2287,7 @@ const ( LocationType_region LocationType = "region" LocationType_availability_zone LocationType = "availability-zone" LocationType_availability_zone_id LocationType = "availability-zone-id" + LocationType_outpost LocationType = "outpost" ) type LogDestinationType string @@ -2199,7 +2301,8 @@ const ( type MarketType string const ( - MarketType_spot MarketType = "spot" + MarketType_spot MarketType = "spot" + MarketType_capacity_block MarketType = "capacity-block" ) type MembershipType string @@ -2766,6 +2869,14 @@ const ( SnapshotAttributeName_createVolumePermission SnapshotAttributeName = "createVolumePermission" ) +type SnapshotBlockPublicAccessState string + +const ( + SnapshotBlockPublicAccessState_block_all_sharing SnapshotBlockPublicAccessState = "block-all-sharing" + SnapshotBlockPublicAccessState_block_new_sharing SnapshotBlockPublicAccessState = "block-new-sharing" + SnapshotBlockPublicAccessState_unblocked SnapshotBlockPublicAccessState = "unblocked" +) + type SnapshotState string const ( @@ -3209,8 +3320,9 @@ const ( type UsageClassType string const ( - UsageClassType_spot UsageClassType = "spot" - UsageClassType_on_demand UsageClassType = "on-demand" + UsageClassType_spot UsageClassType = "spot" + UsageClassType_on_demand UsageClassType = "on-demand" + UsageClassType_capacity_block UsageClassType = "capacity-block" ) type UserTrustProviderType string diff --git a/apis/ec2/v1alpha1/zz_generated.deepcopy.go b/apis/ec2/v1alpha1/zz_generated.deepcopy.go index 5f20611cef..a6fb60f4c4 100644 --- a/apis/ec2/v1alpha1/zz_generated.deepcopy.go +++ b/apis/ec2/v1alpha1/zz_generated.deepcopy.go @@ -1466,6 +1466,59 @@ func (in *CapacityAllocation) DeepCopy() *CapacityAllocation { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CapacityBlockOffering) DeepCopyInto(out *CapacityBlockOffering) { + *out = *in + if in.AvailabilityZone != nil { + in, out := &in.AvailabilityZone, &out.AvailabilityZone + *out = new(string) + **out = **in + } + if in.CapacityBlockDurationHours != nil { + in, out := &in.CapacityBlockDurationHours, &out.CapacityBlockDurationHours + *out = new(int64) + **out = **in + } + if in.CurrencyCode != nil { + in, out := &in.CurrencyCode, &out.CurrencyCode + *out = new(string) + **out = **in + } + if in.EndDate != nil { + in, out := &in.EndDate, &out.EndDate + *out = (*in).DeepCopy() + } + if in.InstanceCount != nil { + in, out := &in.InstanceCount, &out.InstanceCount + *out = new(int64) + **out = **in + } + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.StartDate != nil { + in, out := &in.StartDate, &out.StartDate + *out = (*in).DeepCopy() + } + if in.UpfrontFee != nil { + in, out := &in.UpfrontFee, &out.UpfrontFee + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapacityBlockOffering. +func (in *CapacityBlockOffering) DeepCopy() *CapacityBlockOffering { + if in == nil { + return nil + } + out := new(CapacityBlockOffering) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CapacityReservation) DeepCopyInto(out *CapacityReservation) { *out = *in @@ -4748,6 +4801,31 @@ func (in *ENASrdSpecification) DeepCopy() *ENASrdSpecification { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ENASrdSpecificationRequest) DeepCopyInto(out *ENASrdSpecificationRequest) { + *out = *in + if in.ENASrdEnabled != nil { + in, out := &in.ENASrdEnabled, &out.ENASrdEnabled + *out = new(bool) + **out = **in + } + if in.ENASrdUDPSpecification != nil { + in, out := &in.ENASrdUDPSpecification, &out.ENASrdUDPSpecification + *out = new(ENASrdUDPSpecificationRequest) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ENASrdSpecificationRequest. +func (in *ENASrdSpecificationRequest) DeepCopy() *ENASrdSpecificationRequest { + if in == nil { + return nil + } + out := new(ENASrdSpecificationRequest) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ENASrdUDPSpecification) DeepCopyInto(out *ENASrdUDPSpecification) { *out = *in @@ -4768,6 +4846,26 @@ func (in *ENASrdUDPSpecification) DeepCopy() *ENASrdUDPSpecification { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ENASrdUDPSpecificationRequest) DeepCopyInto(out *ENASrdUDPSpecificationRequest) { + *out = *in + if in.ENASrdUDPEnabled != nil { + in, out := &in.ENASrdUDPEnabled, &out.ENASrdUDPEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ENASrdUDPSpecificationRequest. +func (in *ENASrdUDPSpecificationRequest) DeepCopy() *ENASrdUDPSpecificationRequest { + if in == nil { + return nil + } + out := new(ENASrdUDPSpecificationRequest) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EgressOnlyInternetGateway) DeepCopyInto(out *EgressOnlyInternetGateway) { *out = *in @@ -7966,6 +8064,11 @@ func (in *Image) DeepCopyInto(out *Image) { *out = new(string) **out = **in } + if in.SourceInstanceID != nil { + in, out := &in.SourceInstanceID, &out.SourceInstanceID + *out = new(string) + **out = **in + } if in.SRIOVNetSupport != nil { in, out := &in.SRIOVNetSupport, &out.SRIOVNetSupport *out = new(string) @@ -8401,6 +8504,46 @@ func (in *ImportVolumeTaskDetails) DeepCopy() *ImportVolumeTaskDetails { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceAttachmentENASrdSpecification) DeepCopyInto(out *InstanceAttachmentENASrdSpecification) { + *out = *in + if in.ENASrdEnabled != nil { + in, out := &in.ENASrdEnabled, &out.ENASrdEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceAttachmentENASrdSpecification. +func (in *InstanceAttachmentENASrdSpecification) DeepCopy() *InstanceAttachmentENASrdSpecification { + if in == nil { + return nil + } + out := new(InstanceAttachmentENASrdSpecification) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceAttachmentENASrdUDPSpecification) DeepCopyInto(out *InstanceAttachmentENASrdUDPSpecification) { + *out = *in + if in.ENASrdUDPEnabled != nil { + in, out := &in.ENASrdUDPEnabled, &out.ENASrdUDPEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceAttachmentENASrdUDPSpecification. +func (in *InstanceAttachmentENASrdUDPSpecification) DeepCopy() *InstanceAttachmentENASrdUDPSpecification { + if in == nil { + return nil + } + out := new(InstanceAttachmentENASrdUDPSpecification) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *InstanceBlockDeviceMapping) DeepCopyInto(out *InstanceBlockDeviceMapping) { *out = *in @@ -9043,6 +9186,11 @@ func (in *InstanceNetworkInterfaceSpecification) DeepCopyInto(out *InstanceNetwo *out = new(int64) **out = **in } + if in.ENASrdSpecification != nil { + in, out := &in.ENASrdSpecification, &out.ENASrdSpecification + *out = new(ENASrdSpecificationRequest) + (*in).DeepCopyInto(*out) + } if in.Groups != nil { in, out := &in.Groups, &out.Groups *out = make([]*string, len(*in)) @@ -9738,6 +9886,46 @@ func (in *InstanceTagNotificationAttribute) DeepCopy() *InstanceTagNotificationA return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceTopology) DeepCopyInto(out *InstanceTopology) { + *out = *in + if in.AvailabilityZone != nil { + in, out := &in.AvailabilityZone, &out.AvailabilityZone + *out = new(string) + **out = **in + } + if in.GroupName != nil { + in, out := &in.GroupName, &out.GroupName + *out = new(string) + **out = **in + } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.ZoneID != nil { + in, out := &in.ZoneID, &out.ZoneID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceTopology. +func (in *InstanceTopology) DeepCopy() *InstanceTopology { + if in == nil { + return nil + } + out := new(InstanceTopology) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *InstanceTypeInfo) DeepCopyInto(out *InstanceTypeInfo) { *out = *in @@ -10361,6 +10549,51 @@ func (in *LaunchTemplateEBSBlockDeviceRequest) DeepCopy() *LaunchTemplateEBSBloc return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchTemplateENASrdSpecification) DeepCopyInto(out *LaunchTemplateENASrdSpecification) { + *out = *in + if in.ENASrdEnabled != nil { + in, out := &in.ENASrdEnabled, &out.ENASrdEnabled + *out = new(bool) + **out = **in + } + if in.ENASrdUDPSpecification != nil { + in, out := &in.ENASrdUDPSpecification, &out.ENASrdUDPSpecification + *out = new(LaunchTemplateENASrdUDPSpecification) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateENASrdSpecification. +func (in *LaunchTemplateENASrdSpecification) DeepCopy() *LaunchTemplateENASrdSpecification { + if in == nil { + return nil + } + out := new(LaunchTemplateENASrdSpecification) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchTemplateENASrdUDPSpecification) DeepCopyInto(out *LaunchTemplateENASrdUDPSpecification) { + *out = *in + if in.ENASrdUDPEnabled != nil { + in, out := &in.ENASrdUDPEnabled, &out.ENASrdUDPEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateENASrdUDPSpecification. +func (in *LaunchTemplateENASrdUDPSpecification) DeepCopy() *LaunchTemplateENASrdUDPSpecification { + if in == nil { + return nil + } + out := new(LaunchTemplateENASrdUDPSpecification) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LaunchTemplateElasticInferenceAccelerator) DeepCopyInto(out *LaunchTemplateElasticInferenceAccelerator) { *out = *in @@ -10744,6 +10977,11 @@ func (in *LaunchTemplateInstanceNetworkInterfaceSpecification) DeepCopyInto(out *out = new(int64) **out = **in } + if in.ENASrdSpecification != nil { + in, out := &in.ENASrdSpecification, &out.ENASrdSpecification + *out = new(LaunchTemplateENASrdSpecification) + (*in).DeepCopyInto(*out) + } if in.Groups != nil { in, out := &in.Groups, &out.Groups *out = make([]*string, len(*in)) @@ -10889,6 +11127,11 @@ func (in *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) DeepCopyIn *out = new(int64) **out = **in } + if in.ENASrdSpecification != nil { + in, out := &in.ENASrdSpecification, &out.ENASrdSpecification + *out = new(ENASrdSpecificationRequest) + (*in).DeepCopyInto(*out) + } if in.Groups != nil { in, out := &in.Groups, &out.Groups *out = make([]*string, len(*in)) @@ -17355,6 +17598,57 @@ func (in *SecurityGroup) DeepCopy() *SecurityGroup { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityGroupForVPC) DeepCopyInto(out *SecurityGroupForVPC) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.GroupID != nil { + in, out := &in.GroupID, &out.GroupID + *out = new(string) + **out = **in + } + if in.GroupName != nil { + in, out := &in.GroupName, &out.GroupName + *out = new(string) + **out = **in + } + if in.OwnerID != nil { + in, out := &in.OwnerID, &out.OwnerID + *out = new(string) + **out = **in + } + if in.PrimaryVPCID != nil { + in, out := &in.PrimaryVPCID, &out.PrimaryVPCID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make([]*Tag, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(Tag) + (*in).DeepCopyInto(*out) + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupForVPC. +func (in *SecurityGroupForVPC) DeepCopy() *SecurityGroupForVPC { + if in == nil { + return nil + } + out := new(SecurityGroupForVPC) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SecurityGroupIdentifier) DeepCopyInto(out *SecurityGroupIdentifier) { *out = *in @@ -24346,6 +24640,11 @@ func (in *VerifiedAccessInstance) DeepCopyInto(out *VerifiedAccessInstance) { *out = new(string) **out = **in } + if in.FipsEnabled != nil { + in, out := &in.FipsEnabled, &out.FipsEnabled + *out = new(bool) + **out = **in + } if in.LastUpdatedTime != nil { in, out := &in.LastUpdatedTime, &out.LastUpdatedTime *out = new(string) @@ -24639,6 +24938,46 @@ func (in *VerifiedAccessLogs) DeepCopy() *VerifiedAccessLogs { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VerifiedAccessSSESpecificationRequest) DeepCopyInto(out *VerifiedAccessSSESpecificationRequest) { + *out = *in + if in.CustomerManagedKeyEnabled != nil { + in, out := &in.CustomerManagedKeyEnabled, &out.CustomerManagedKeyEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerifiedAccessSSESpecificationRequest. +func (in *VerifiedAccessSSESpecificationRequest) DeepCopy() *VerifiedAccessSSESpecificationRequest { + if in == nil { + return nil + } + out := new(VerifiedAccessSSESpecificationRequest) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VerifiedAccessSSESpecificationResponse) DeepCopyInto(out *VerifiedAccessSSESpecificationResponse) { + *out = *in + if in.CustomerManagedKeyEnabled != nil { + in, out := &in.CustomerManagedKeyEnabled, &out.CustomerManagedKeyEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerifiedAccessSSESpecificationResponse. +func (in *VerifiedAccessSSESpecificationResponse) DeepCopy() *VerifiedAccessSSESpecificationResponse { + if in == nil { + return nil + } + out := new(VerifiedAccessSSESpecificationResponse) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VerifiedAccessTrustProvider) DeepCopyInto(out *VerifiedAccessTrustProvider) { *out = *in diff --git a/apis/ec2/v1alpha1/zz_types.go b/apis/ec2/v1alpha1/zz_types.go index 886391d414..5d433d7f11 100644 --- a/apis/ec2/v1alpha1/zz_types.go +++ b/apis/ec2/v1alpha1/zz_types.go @@ -448,6 +448,25 @@ type CapacityAllocation struct { Count *int64 `json:"count,omitempty"` } +// +kubebuilder:skipversion +type CapacityBlockOffering struct { + AvailabilityZone *string `json:"availabilityZone,omitempty"` + + CapacityBlockDurationHours *int64 `json:"capacityBlockDurationHours,omitempty"` + + CurrencyCode *string `json:"currencyCode,omitempty"` + + EndDate *metav1.Time `json:"endDate,omitempty"` + + InstanceCount *int64 `json:"instanceCount,omitempty"` + + InstanceType *string `json:"instanceType,omitempty"` + + StartDate *metav1.Time `json:"startDate,omitempty"` + + UpfrontFee *string `json:"upfrontFee,omitempty"` +} + // +kubebuilder:skipversion type CapacityReservation struct { AvailabilityZone *string `json:"availabilityZone,omitempty"` @@ -1179,11 +1198,23 @@ type ENASrdSpecification struct { ENASrdEnabled *bool `json:"enaSrdEnabled,omitempty"` } +// +kubebuilder:skipversion +type ENASrdSpecificationRequest struct { + ENASrdEnabled *bool `json:"enaSrdEnabled,omitempty"` + // Configures ENA Express for UDP network traffic from your launch template. + ENASrdUDPSpecification *ENASrdUDPSpecificationRequest `json:"enaSrdUDPSpecification,omitempty"` +} + // +kubebuilder:skipversion type ENASrdUDPSpecification struct { ENASrdUDPEnabled *bool `json:"enaSrdUDPEnabled,omitempty"` } +// +kubebuilder:skipversion +type ENASrdUDPSpecificationRequest struct { + ENASrdUDPEnabled *bool `json:"enaSrdUDPEnabled,omitempty"` +} + // +kubebuilder:skipversion type EgressOnlyInternetGateway struct { EgressOnlyInternetGatewayID *string `json:"egressOnlyInternetGatewayID,omitempty"` @@ -1563,8 +1594,10 @@ type FleetLaunchTemplateOverrides struct { // or with the RunInstances API (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html), // you can't specify InstanceRequirements. // - // For more information, see Attribute-based instance type selection for EC2 - // Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), + // For more information, see Create a mixed instances group using attribute-based + // instance type selection (https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html) + // in the Amazon EC2 Auto Scaling User Guide, and also Attribute-based instance + // type selection for EC2 Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), // Attribute-based instance type selection for Spot Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html), // and Spot placement score (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) // in the Amazon EC2 User Guide. @@ -2141,6 +2174,8 @@ type Image struct { RootDeviceName *string `json:"rootDeviceName,omitempty"` + SourceInstanceID *string `json:"sourceInstanceID,omitempty"` + SRIOVNetSupport *string `json:"sriovNetSupport,omitempty"` Tags []*Tag `json:"tags,omitempty"` @@ -2270,6 +2305,16 @@ type ImportVolumeTaskDetails struct { Description *string `json:"description,omitempty"` } +// +kubebuilder:skipversion +type InstanceAttachmentENASrdSpecification struct { + ENASrdEnabled *bool `json:"enaSrdEnabled,omitempty"` +} + +// +kubebuilder:skipversion +type InstanceAttachmentENASrdUDPSpecification struct { + ENASrdUDPEnabled *bool `json:"enaSrdUDPEnabled,omitempty"` +} + // +kubebuilder:skipversion type InstanceBlockDeviceMapping struct { DeviceName *string `json:"deviceName,omitempty"` @@ -2446,6 +2491,8 @@ type InstanceNetworkInterfaceSpecification struct { Description *string `json:"description,omitempty"` DeviceIndex *int64 `json:"deviceIndex,omitempty"` + // Launch instances with ENA Express settings configured from your launch template. + ENASrdSpecification *ENASrdSpecificationRequest `json:"enaSrdSpecification,omitempty"` Groups []*string `json:"groups,omitempty"` @@ -2696,6 +2743,19 @@ type InstanceTagNotificationAttribute struct { IncludeAllTagsOfInstance *bool `json:"includeAllTagsOfInstance,omitempty"` } +// +kubebuilder:skipversion +type InstanceTopology struct { + AvailabilityZone *string `json:"availabilityZone,omitempty"` + + GroupName *string `json:"groupName,omitempty"` + + InstanceID *string `json:"instanceID,omitempty"` + + InstanceType *string `json:"instanceType,omitempty"` + + ZoneID *string `json:"zoneID,omitempty"` +} + // +kubebuilder:skipversion type InstanceTypeInfo struct { InstanceType *string `json:"instanceType,omitempty"` @@ -2876,6 +2936,23 @@ type LaunchTemplateEBSBlockDeviceRequest struct { VolumeType *string `json:"volumeType,omitempty"` } +// +kubebuilder:skipversion +type LaunchTemplateENASrdSpecification struct { + ENASrdEnabled *bool `json:"enaSrdEnabled,omitempty"` + // ENA Express is compatible with both TCP and UDP transport protocols. When + // it's enabled, TCP traffic automatically uses it. However, some UDP-based + // applications are designed to handle network packets that are out of order, + // without a need for retransmission, such as live video broadcasting or other + // near-real-time applications. For UDP traffic, you can specify whether to + // use ENA Express, based on your application environment needs. + ENASrdUDPSpecification *LaunchTemplateENASrdUDPSpecification `json:"enaSrdUDPSpecification,omitempty"` +} + +// +kubebuilder:skipversion +type LaunchTemplateENASrdUDPSpecification struct { + ENASrdUDPEnabled *bool `json:"enaSrdUDPEnabled,omitempty"` +} + // +kubebuilder:skipversion type LaunchTemplateElasticInferenceAccelerator struct { Count *int64 `json:"count,omitempty"` @@ -2987,6 +3064,19 @@ type LaunchTemplateInstanceNetworkInterfaceSpecification struct { Description *string `json:"description,omitempty"` DeviceIndex *int64 `json:"deviceIndex,omitempty"` + // ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology + // to increase the maximum bandwidth used per stream and minimize tail latency + // of network traffic between EC2 instances. With ENA Express, you can communicate + // between two EC2 instances in the same subnet within the same account, or + // in different accounts. Both sending and receiving instances must have ENA + // Express enabled. + // + // To improve the reliability of network packet delivery, ENA Express reorders + // network packets on the receiving end by default. However, some UDP-based + // applications are designed to handle network packets that are out of order + // to reduce the overhead for packet delivery at the network layer. When ENA + // Express is enabled, you can specify whether UDP network traffic uses it. + ENASrdSpecification *LaunchTemplateENASrdSpecification `json:"enaSrdSpecification,omitempty"` Groups []*string `json:"groups,omitempty"` @@ -3030,6 +3120,8 @@ type LaunchTemplateInstanceNetworkInterfaceSpecificationRequest struct { Description *string `json:"description,omitempty"` DeviceIndex *int64 `json:"deviceIndex,omitempty"` + // Launch instances with ENA Express settings configured from your launch template. + ENASrdSpecification *ENASrdSpecificationRequest `json:"enaSrdSpecification,omitempty"` Groups []*string `json:"groups,omitempty"` @@ -3103,8 +3195,10 @@ type LaunchTemplateOverrides struct { // or with the RunInstances API (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html), // you can't specify InstanceRequirements. // - // For more information, see Attribute-based instance type selection for EC2 - // Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), + // For more information, see Create a mixed instances group using attribute-based + // instance type selection (https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html) + // in the Amazon EC2 Auto Scaling User Guide, and also Attribute-based instance + // type selection for EC2 Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), // Attribute-based instance type selection for Spot Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html), // and Spot placement score (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) // in the Amazon EC2 User Guide. @@ -4606,8 +4700,10 @@ type ResponseLaunchTemplateData struct { // or with the RunInstances API (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html), // you can't specify InstanceRequirements. // - // For more information, see Attribute-based instance type selection for EC2 - // Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), + // For more information, see Create a mixed instances group using attribute-based + // instance type selection (https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html) + // in the Amazon EC2 Auto Scaling User Guide, and also Attribute-based instance + // type selection for EC2 Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), // Attribute-based instance type selection for Spot Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html), // and Spot placement score (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) // in the Amazon EC2 User Guide. @@ -4922,6 +5018,21 @@ type SecurityGroup struct { VPCID *string `json:"vpcID,omitempty"` } +// +kubebuilder:skipversion +type SecurityGroupForVPC struct { + Description *string `json:"description,omitempty"` + + GroupID *string `json:"groupID,omitempty"` + + GroupName *string `json:"groupName,omitempty"` + + OwnerID *string `json:"ownerID,omitempty"` + + PrimaryVPCID *string `json:"primaryVPCID,omitempty"` + + Tags []*Tag `json:"tags,omitempty"` +} + // +kubebuilder:skipversion type SecurityGroupIdentifier struct { GroupID *string `json:"groupID,omitempty"` @@ -5202,8 +5313,10 @@ type SpotFleetLaunchSpecification struct { // or with the RunInstances API (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html), // you can't specify InstanceRequirements. // - // For more information, see Attribute-based instance type selection for EC2 - // Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), + // For more information, see Create a mixed instances group using attribute-based + // instance type selection (https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html) + // in the Amazon EC2 Auto Scaling User Guide, and also Attribute-based instance + // type selection for EC2 Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), // Attribute-based instance type selection for Spot Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html), // and Spot placement score (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) // in the Amazon EC2 User Guide. @@ -6659,6 +6772,8 @@ type VerifiedAccessInstance struct { Description *string `json:"description,omitempty"` + FipsEnabled *bool `json:"fipsEnabled,omitempty"` + LastUpdatedTime *string `json:"lastUpdatedTime,omitempty"` Tags []*Tag `json:"tags,omitempty"` @@ -6740,6 +6855,16 @@ type VerifiedAccessLogs struct { LogVersion *string `json:"logVersion,omitempty"` } +// +kubebuilder:skipversion +type VerifiedAccessSSESpecificationRequest struct { + CustomerManagedKeyEnabled *bool `json:"customerManagedKeyEnabled,omitempty"` +} + +// +kubebuilder:skipversion +type VerifiedAccessSSESpecificationResponse struct { + CustomerManagedKeyEnabled *bool `json:"customerManagedKeyEnabled,omitempty"` +} + // +kubebuilder:skipversion type VerifiedAccessTrustProvider struct { CreationTime *string `json:"creationTime,omitempty"` diff --git a/apis/ecs/v1alpha1/zz_enums.go b/apis/ecs/v1alpha1/zz_enums.go index 48829fdf40..36becd265b 100644 --- a/apis/ecs/v1alpha1/zz_enums.go +++ b/apis/ecs/v1alpha1/zz_enums.go @@ -371,13 +371,14 @@ const ( type SettingName string const ( - SettingName_serviceLongArnFormat SettingName = "serviceLongArnFormat" - SettingName_taskLongArnFormat SettingName = "taskLongArnFormat" - SettingName_containerInstanceLongArnFormat SettingName = "containerInstanceLongArnFormat" - SettingName_awsvpcTrunking SettingName = "awsvpcTrunking" - SettingName_containerInsights SettingName = "containerInsights" - SettingName_fargateFIPSMode SettingName = "fargateFIPSMode" - SettingName_tagResourceAuthorization SettingName = "tagResourceAuthorization" + SettingName_serviceLongArnFormat SettingName = "serviceLongArnFormat" + SettingName_taskLongArnFormat SettingName = "taskLongArnFormat" + SettingName_containerInstanceLongArnFormat SettingName = "containerInstanceLongArnFormat" + SettingName_awsvpcTrunking SettingName = "awsvpcTrunking" + SettingName_containerInsights SettingName = "containerInsights" + SettingName_fargateFIPSMode SettingName = "fargateFIPSMode" + SettingName_tagResourceAuthorization SettingName = "tagResourceAuthorization" + SettingName_fargateTaskRetirementWaitPeriod SettingName = "fargateTaskRetirementWaitPeriod" ) type SortOrder string diff --git a/apis/ecs/v1alpha1/zz_task_definition.go b/apis/ecs/v1alpha1/zz_task_definition.go index 150a0d320d..942bfeb0d4 100644 --- a/apis/ecs/v1alpha1/zz_task_definition.go +++ b/apis/ecs/v1alpha1/zz_task_definition.go @@ -195,19 +195,29 @@ type TaskDefinitionParameters struct { // in the Docker run reference. NetworkMode *string `json:"networkMode,omitempty"` // The process namespace to use for the containers in the task. The valid values - // are host or task. If host is specified, then all containers within the tasks - // that specified the host PID mode on the same container instance share the - // same process namespace with the host Amazon EC2 instance. If task is specified, - // all containers within the specified task share the same process namespace. - // If no value is specified, the default is a private namespace. For more information, - // see PID settings (https://docs.docker.com/engine/reference/run/#pid-settings---pid) + // are host or task. On Fargate for Linux containers, the only valid value is + // task. For example, monitoring sidecars might need pidMode to access information + // about other containers running in the same task. + // + // If host is specified, all containers within the tasks that specified the + // host PID mode on the same container instance share the same process namespace + // with the host Amazon EC2 instance. + // + // If task is specified, all containers within the specified task share the + // same process namespace. + // + // If no value is specified, the default is a private namespace for each container. + // For more information, see PID settings (https://docs.docker.com/engine/reference/run/#pid-settings---pid) // in the Docker run reference. // - // If the host PID mode is used, be aware that there is a heightened risk of - // undesired process namespace expose. For more information, see Docker security - // (https://docs.docker.com/engine/security/security/). + // If the host PID mode is used, there's a heightened risk of undesired process + // namespace exposure. For more information, see Docker security (https://docs.docker.com/engine/security/security/). // - // This parameter is not supported for Windows containers or tasks run on Fargate. + // This parameter is not supported for Windows containers. + // + // This parameter is only supported for tasks that are hosted on Fargate if + // the tasks are using platform version 1.4.0 or later (Linux). This isn't supported + // for Windows containers on Fargate. PIDMode *string `json:"pidMode,omitempty"` // An array of placement constraint objects to use for the task. You can specify // a maximum of 10 constraints for each task. This limit includes constraints diff --git a/apis/ecs/v1alpha1/zz_types.go b/apis/ecs/v1alpha1/zz_types.go index d8a92d8ccc..0700437c0c 100644 --- a/apis/ecs/v1alpha1/zz_types.go +++ b/apis/ecs/v1alpha1/zz_types.go @@ -247,22 +247,56 @@ type ContainerDefinition struct { // // * UNHEALTHY-The container health check has failed. // - // * UNKNOWN-The container health check is being evaluated or there's no - // container health check defined. + // * UNKNOWN-The container health check is being evaluated, there's no container + // health check defined, or Amazon ECS doesn't have the health status of + // the container. // - // The following describes the possible healthStatus values for a task. The - // container health check status of non-essential containers don't have an effect - // on the health status of a task. + // The following describes the possible healthStatus values based on the container + // health checker status of essential containers in the task with the following + // priority order (high to low): + // + // * UNHEALTHY-One or more essential containers have failed their health + // check. + // + // * UNKNOWN-Any essential container running within the task is in an UNKNOWN + // state and no other essential containers have an UNHEALTHY state. // // * HEALTHY-All essential containers within the task have passed their health // checks. // - // * UNHEALTHY-One or more essential containers have failed their health - // check. + // Consider the following task health example with 2 containers. + // + // * If Container1 is UNHEALTHY and Container2 is UNKNOWN, the task health + // is UNHEALTHY. + // + // * If Container1 is UNHEALTHY and Container2 is HEALTHY, the task health + // is UNHEALTHY. + // + // * If Container1 is HEALTHY and Container2 is UNKNOWN, the task health + // is UNKNOWN. + // + // * If Container1 is HEALTHY and Container2 is HEALTHY, the task health + // is HEALTHY. + // + // Consider the following task health example with 3 containers. + // + // * If Container1 is UNHEALTHY and Container2 is UNKNOWN, and Container3 + // is UNKNOWN, the task health is UNHEALTHY. + // + // * If Container1 is UNHEALTHY and Container2 is UNKNOWN, and Container3 + // is HEALTHY, the task health is UNHEALTHY. + // + // * If Container1 is UNHEALTHY and Container2 is HEALTHY, and Container3 + // is HEALTHY, the task health is UNHEALTHY. + // + // * If Container1 is HEALTHY and Container2 is UNKNOWN, and Container3 is + // HEALTHY, the task health is UNKNOWN. + // + // * If Container1 is HEALTHY and Container2 is UNKNOWN, and Container3 is + // UNKNOWN, the task health is UNKNOWN. // - // * UNKNOWN-The essential containers within the task are still having their - // health checks evaluated, there are only nonessential containers with health - // checks defined, or there are no container health checks defined. + // * If Container1 is HEALTHY and Container2 is HEALTHY, and Container3 is + // HEALTHY, the task health is HEALTHY. // // If a task is run manually, and not as part of a service, the task will continue // its lifecycle regardless of its health status. For tasks that are part of diff --git a/apis/efs/v1alpha1/zz_file_system.go b/apis/efs/v1alpha1/zz_file_system.go index 9009cb98fe..effd60385f 100644 --- a/apis/efs/v1alpha1/zz_file_system.go +++ b/apis/efs/v1alpha1/zz_file_system.go @@ -83,6 +83,8 @@ type FileSystemParameters struct { // performance mode can't be changed after the file system has been created. // // The maxIO mode is not supported on file systems using One Zone storage classes. + // + // Default is generalPurpose. PerformanceMode *string `json:"performanceMode,omitempty"` // Use to create one or more tags associated with the file system. Each tag // is a user-defined key-value pair. Name your file system on creation by including diff --git a/apis/eks/generator-config.yaml b/apis/eks/generator-config.yaml index ac16e9d7d0..8c39bd8a5b 100644 --- a/apis/eks/generator-config.yaml +++ b/apis/eks/generator-config.yaml @@ -3,6 +3,7 @@ ignore: - Nodegroup - Cluster - FargateProfile + - EksAnywhereSubscription shape_names: - Nodegroup - Cluster diff --git a/apis/eks/v1alpha1/zz_addon.go b/apis/eks/v1alpha1/zz_addon.go index 83d3b9ad33..b89c54346d 100644 --- a/apis/eks/v1alpha1/zz_addon.go +++ b/apis/eks/v1alpha1/zz_addon.go @@ -53,8 +53,11 @@ type AddonParameters struct { // existing value, Amazon EKS changes the value to the Amazon EKS default // value. // - // * Preserve – Not supported. You can set this value when updating an - // add-on though. For more information, see UpdateAddon (https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html). + // * Preserve – This is similar to the NONE option. If the self-managed + // version of the add-on is installed on your cluster Amazon EKS doesn't + // change the add-on resource properties. Creation of the add-on might fail + // if conflicts are detected. This option works differently during the update + // operation. For more information, see UpdateAddon (https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html). // // If you don't currently have the self-managed version of the add-on installed // on your cluster, the Amazon EKS add-on is installed. Amazon EKS sets all diff --git a/apis/eks/v1alpha1/zz_enums.go b/apis/eks/v1alpha1/zz_enums.go index e761bbe367..63fc4c65bf 100644 --- a/apis/eks/v1alpha1/zz_enums.go +++ b/apis/eks/v1alpha1/zz_enums.go @@ -71,12 +71,25 @@ const ( type ClusterIssueCode string const ( - ClusterIssueCode_AccessDenied ClusterIssueCode = "AccessDenied" - ClusterIssueCode_ClusterUnreachable ClusterIssueCode = "ClusterUnreachable" - ClusterIssueCode_ConfigurationConflict ClusterIssueCode = "ConfigurationConflict" - ClusterIssueCode_InternalFailure ClusterIssueCode = "InternalFailure" - ClusterIssueCode_ResourceLimitExceeded ClusterIssueCode = "ResourceLimitExceeded" - ClusterIssueCode_ResourceNotFound ClusterIssueCode = "ResourceNotFound" + ClusterIssueCode_AccessDenied ClusterIssueCode = "AccessDenied" + ClusterIssueCode_ClusterUnreachable ClusterIssueCode = "ClusterUnreachable" + ClusterIssueCode_ConfigurationConflict ClusterIssueCode = "ConfigurationConflict" + ClusterIssueCode_InternalFailure ClusterIssueCode = "InternalFailure" + ClusterIssueCode_ResourceLimitExceeded ClusterIssueCode = "ResourceLimitExceeded" + ClusterIssueCode_ResourceNotFound ClusterIssueCode = "ResourceNotFound" + ClusterIssueCode_IamRoleNotFound ClusterIssueCode = "IamRoleNotFound" + ClusterIssueCode_VpcNotFound ClusterIssueCode = "VpcNotFound" + ClusterIssueCode_InsufficientFreeAddresses ClusterIssueCode = "InsufficientFreeAddresses" + ClusterIssueCode_Ec2ServiceNotSubscribed ClusterIssueCode = "Ec2ServiceNotSubscribed" + ClusterIssueCode_Ec2SubnetNotFound ClusterIssueCode = "Ec2SubnetNotFound" + ClusterIssueCode_Ec2SecurityGroupNotFound ClusterIssueCode = "Ec2SecurityGroupNotFound" + ClusterIssueCode_KmsGrantRevoked ClusterIssueCode = "KmsGrantRevoked" + ClusterIssueCode_KmsKeyNotFound ClusterIssueCode = "KmsKeyNotFound" + ClusterIssueCode_KmsKeyMarkedForDeletion ClusterIssueCode = "KmsKeyMarkedForDeletion" + ClusterIssueCode_KmsKeyDisabled ClusterIssueCode = "KmsKeyDisabled" + ClusterIssueCode_StsRegionalEndpointDisabled ClusterIssueCode = "StsRegionalEndpointDisabled" + ClusterIssueCode_UnsupportedVersion ClusterIssueCode = "UnsupportedVersion" + ClusterIssueCode_Other ClusterIssueCode = "Other" ) type ClusterStatus string @@ -112,6 +125,29 @@ const ( ConnectorConfigProvider_OTHER ConnectorConfigProvider = "OTHER" ) +type EKSAnywhereSubscriptionLicenseType string + +const ( + EKSAnywhereSubscriptionLicenseType_Cluster EKSAnywhereSubscriptionLicenseType = "Cluster" +) + +type EKSAnywhereSubscriptionStatus string + +const ( + EKSAnywhereSubscriptionStatus_CREATING EKSAnywhereSubscriptionStatus = "CREATING" + EKSAnywhereSubscriptionStatus_ACTIVE EKSAnywhereSubscriptionStatus = "ACTIVE" + EKSAnywhereSubscriptionStatus_UPDATING EKSAnywhereSubscriptionStatus = "UPDATING" + EKSAnywhereSubscriptionStatus_EXPIRING EKSAnywhereSubscriptionStatus = "EXPIRING" + EKSAnywhereSubscriptionStatus_EXPIRED EKSAnywhereSubscriptionStatus = "EXPIRED" + EKSAnywhereSubscriptionStatus_DELETING EKSAnywhereSubscriptionStatus = "DELETING" +) + +type EKSAnywhereSubscriptionTermUnit string + +const ( + EKSAnywhereSubscriptionTermUnit_MONTHS EKSAnywhereSubscriptionTermUnit = "MONTHS" +) + type ErrorCode string const ( @@ -253,6 +289,9 @@ const ( UpdateParamType_ResolveConflicts UpdateParamType = "ResolveConflicts" UpdateParamType_MaxUnavailable UpdateParamType = "MaxUnavailable" UpdateParamType_MaxUnavailablePercentage UpdateParamType = "MaxUnavailablePercentage" + UpdateParamType_ConfigurationValues UpdateParamType = "ConfigurationValues" + UpdateParamType_SecurityGroups UpdateParamType = "SecurityGroups" + UpdateParamType_Subnets UpdateParamType = "Subnets" ) type UpdateStatus string @@ -275,4 +314,5 @@ const ( UpdateType_DisassociateIdentityProviderConfig UpdateType = "DisassociateIdentityProviderConfig" UpdateType_AssociateEncryptionConfig UpdateType = "AssociateEncryptionConfig" UpdateType_AddonUpdate UpdateType = "AddonUpdate" + UpdateType_VpcConfigUpdate UpdateType = "VpcConfigUpdate" ) diff --git a/apis/eks/v1alpha1/zz_generated.deepcopy.go b/apis/eks/v1alpha1/zz_generated.deepcopy.go index d8ed16f555..0e13e5cb40 100644 --- a/apis/eks/v1alpha1/zz_generated.deepcopy.go +++ b/apis/eks/v1alpha1/zz_generated.deepcopy.go @@ -701,6 +701,80 @@ func (in *CustomAddonParameters) DeepCopy() *CustomAddonParameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EKSAnywhereSubscription) DeepCopyInto(out *EKSAnywhereSubscription) { + *out = *in + if in.ARN != nil { + in, out := &in.ARN, &out.ARN + *out = new(string) + **out = **in + } + if in.AutoRenew != nil { + in, out := &in.AutoRenew, &out.AutoRenew + *out = new(bool) + **out = **in + } + if in.CreatedAt != nil { + in, out := &in.CreatedAt, &out.CreatedAt + *out = (*in).DeepCopy() + } + if in.EffectiveDate != nil { + in, out := &in.EffectiveDate, &out.EffectiveDate + *out = (*in).DeepCopy() + } + if in.ExpirationDate != nil { + in, out := &in.ExpirationDate, &out.ExpirationDate + *out = (*in).DeepCopy() + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.LicenseARNs != nil { + in, out := &in.LicenseARNs, &out.LicenseARNs + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSAnywhereSubscription. +func (in *EKSAnywhereSubscription) DeepCopy() *EKSAnywhereSubscription { + if in == nil { + return nil + } + out := new(EKSAnywhereSubscription) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EncryptionConfig) DeepCopyInto(out *EncryptionConfig) { *out = *in diff --git a/apis/eks/v1alpha1/zz_types.go b/apis/eks/v1alpha1/zz_types.go index b0753ac34c..2ea9bfc1e2 100644 --- a/apis/eks/v1alpha1/zz_types.go +++ b/apis/eks/v1alpha1/zz_types.go @@ -148,6 +148,27 @@ type ControlPlanePlacementResponse struct { GroupName *string `json:"groupName,omitempty"` } +// +kubebuilder:skipversion +type EKSAnywhereSubscription struct { + ARN *string `json:"arn,omitempty"` + + AutoRenew *bool `json:"autoRenew,omitempty"` + + CreatedAt *metav1.Time `json:"createdAt,omitempty"` + + EffectiveDate *metav1.Time `json:"effectiveDate,omitempty"` + + ExpirationDate *metav1.Time `json:"expirationDate,omitempty"` + + ID *string `json:"id,omitempty"` + + LicenseARNs []*string `json:"licenseARNs,omitempty"` + + Status *string `json:"status,omitempty"` + + Tags map[string]*string `json:"tags,omitempty"` +} + // +kubebuilder:skipversion type EncryptionConfig struct { Resources []*string `json:"resources,omitempty"` diff --git a/apis/firehose/v1alpha1/zz_delivery_stream.go b/apis/firehose/v1alpha1/zz_delivery_stream.go index 20781532d8..480e5bece0 100644 --- a/apis/firehose/v1alpha1/zz_delivery_stream.go +++ b/apis/firehose/v1alpha1/zz_delivery_stream.go @@ -61,6 +61,8 @@ type DeliveryStreamParameters struct { // a KinesisStreamSourceConfiguration containing the Kinesis data stream Amazon // Resource Name (ARN) and the role ARN for the source stream. KinesisStreamSourceConfiguration *KinesisStreamSourceConfiguration `json:"kinesisStreamSourceConfiguration,omitempty"` + + MSKSourceConfiguration *MSKSourceConfiguration `json:"mSKSourceConfiguration,omitempty"` // The destination in Amazon Redshift. You can specify only one destination. RedshiftDestinationConfiguration *RedshiftDestinationConfiguration `json:"redshiftDestinationConfiguration,omitempty"` // [Deprecated] The destination in Amazon S3. You can specify only one destination. diff --git a/apis/firehose/v1alpha1/zz_enums.go b/apis/firehose/v1alpha1/zz_enums.go index 9768136313..bc810e96d6 100644 --- a/apis/firehose/v1alpha1/zz_enums.go +++ b/apis/firehose/v1alpha1/zz_enums.go @@ -52,6 +52,13 @@ const ( CompressionFormat_HADOOP_SNAPPY CompressionFormat = "HADOOP_SNAPPY" ) +type Connectivity string + +const ( + Connectivity_PUBLIC Connectivity = "PUBLIC" + Connectivity_PRIVATE Connectivity = "PRIVATE" +) + type ContentEncoding string const ( @@ -59,6 +66,13 @@ const ( ContentEncoding_GZIP ContentEncoding = "GZIP" ) +type DefaultDocumentIDFormat string + +const ( + DefaultDocumentIDFormat_FIREHOSE_DEFAULT DefaultDocumentIDFormat = "FIREHOSE_DEFAULT" + DefaultDocumentIDFormat_NO_DOCUMENT_ID DefaultDocumentIDFormat = "NO_DOCUMENT_ID" +) + type DeliveryStreamEncryptionStatus string const ( @@ -105,6 +119,7 @@ type DeliveryStreamType string const ( DeliveryStreamType_DirectPut DeliveryStreamType = "DirectPut" DeliveryStreamType_KinesisStreamAsSource DeliveryStreamType = "KinesisStreamAsSource" + DeliveryStreamType_MSKAsSource DeliveryStreamType = "MSKAsSource" ) type ElasticsearchIndexRotationPeriod string @@ -193,12 +208,14 @@ const ( ProcessorParameterName_BufferIntervalInSeconds ProcessorParameterName = "BufferIntervalInSeconds" ProcessorParameterName_SubRecordType ProcessorParameterName = "SubRecordType" ProcessorParameterName_Delimiter ProcessorParameterName = "Delimiter" + ProcessorParameterName_CompressionFormat ProcessorParameterName = "CompressionFormat" ) type ProcessorType string const ( ProcessorType_RecordDeAggregation ProcessorType = "RecordDeAggregation" + ProcessorType_Decompression ProcessorType = "Decompression" ProcessorType_Lambda ProcessorType = "Lambda" ProcessorType_MetadataExtraction ProcessorType = "MetadataExtraction" ProcessorType_AppendDelimiterToRecord ProcessorType = "AppendDelimiterToRecord" diff --git a/apis/firehose/v1alpha1/zz_generated.deepcopy.go b/apis/firehose/v1alpha1/zz_generated.deepcopy.go index a9d66304eb..03c4b4cd02 100644 --- a/apis/firehose/v1alpha1/zz_generated.deepcopy.go +++ b/apis/firehose/v1alpha1/zz_generated.deepcopy.go @@ -293,6 +293,11 @@ func (in *AmazonopensearchserviceDestinationConfiguration) DeepCopyInto(out *Ama *out = new(string) **out = **in } + if in.DocumentIDOptions != nil { + in, out := &in.DocumentIDOptions, &out.DocumentIDOptions + *out = new(DocumentIDOptions) + (*in).DeepCopyInto(*out) + } if in.DomainARN != nil { in, out := &in.DomainARN, &out.DomainARN *out = new(string) @@ -373,6 +378,11 @@ func (in *AmazonopensearchserviceDestinationDescription) DeepCopyInto(out *Amazo *out = new(string) **out = **in } + if in.DocumentIDOptions != nil { + in, out := &in.DocumentIDOptions, &out.DocumentIDOptions + *out = new(DocumentIDOptions) + (*in).DeepCopyInto(*out) + } if in.DomainARN != nil { in, out := &in.DomainARN, &out.DomainARN *out = new(string) @@ -453,6 +463,11 @@ func (in *AmazonopensearchserviceDestinationUpdate) DeepCopyInto(out *Amazonopen *out = new(string) **out = **in } + if in.DocumentIDOptions != nil { + in, out := &in.DocumentIDOptions, &out.DocumentIDOptions + *out = new(DocumentIDOptions) + (*in).DeepCopyInto(*out) + } if in.DomainARN != nil { in, out := &in.DomainARN, &out.DomainARN *out = new(string) @@ -520,6 +535,31 @@ func (in *AmazonopensearchserviceRetryOptions) DeepCopy() *Amazonopensearchservi return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthenticationConfiguration) DeepCopyInto(out *AuthenticationConfiguration) { + *out = *in + if in.Connectivity != nil { + in, out := &in.Connectivity, &out.Connectivity + *out = new(string) + **out = **in + } + if in.RoleARN != nil { + in, out := &in.RoleARN, &out.RoleARN + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationConfiguration. +func (in *AuthenticationConfiguration) DeepCopy() *AuthenticationConfiguration { + if in == nil { + return nil + } + out := new(AuthenticationConfiguration) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BufferingHints) DeepCopyInto(out *BufferingHints) { *out = *in @@ -941,6 +981,11 @@ func (in *DeliveryStreamParameters) DeepCopyInto(out *DeliveryStreamParameters) *out = new(KinesisStreamSourceConfiguration) (*in).DeepCopyInto(*out) } + if in.MSKSourceConfiguration != nil { + in, out := &in.MSKSourceConfiguration, &out.MSKSourceConfiguration + *out = new(MSKSourceConfiguration) + (*in).DeepCopyInto(*out) + } if in.RedshiftDestinationConfiguration != nil { in, out := &in.RedshiftDestinationConfiguration, &out.RedshiftDestinationConfiguration *out = new(RedshiftDestinationConfiguration) @@ -1099,6 +1144,26 @@ func (in *DestinationDescription) DeepCopy() *DestinationDescription { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DocumentIDOptions) DeepCopyInto(out *DocumentIDOptions) { + *out = *in + if in.DefaultDocumentIDFormat != nil { + in, out := &in.DefaultDocumentIDFormat, &out.DefaultDocumentIDFormat + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentIDOptions. +func (in *DocumentIDOptions) DeepCopy() *DocumentIDOptions { + if in == nil { + return nil + } + out := new(DocumentIDOptions) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DynamicPartitioningConfiguration) DeepCopyInto(out *DynamicPartitioningConfiguration) { *out = *in @@ -1167,6 +1232,11 @@ func (in *ElasticsearchDestinationConfiguration) DeepCopyInto(out *Elasticsearch *out = new(string) **out = **in } + if in.DocumentIDOptions != nil { + in, out := &in.DocumentIDOptions, &out.DocumentIDOptions + *out = new(DocumentIDOptions) + (*in).DeepCopyInto(*out) + } if in.DomainARN != nil { in, out := &in.DomainARN, &out.DomainARN *out = new(string) @@ -1247,6 +1317,11 @@ func (in *ElasticsearchDestinationDescription) DeepCopyInto(out *ElasticsearchDe *out = new(string) **out = **in } + if in.DocumentIDOptions != nil { + in, out := &in.DocumentIDOptions, &out.DocumentIDOptions + *out = new(DocumentIDOptions) + (*in).DeepCopyInto(*out) + } if in.DomainARN != nil { in, out := &in.DomainARN, &out.DomainARN *out = new(string) @@ -1327,6 +1402,11 @@ func (in *ElasticsearchDestinationUpdate) DeepCopyInto(out *ElasticsearchDestina *out = new(string) **out = **in } + if in.DocumentIDOptions != nil { + in, out := &in.DocumentIDOptions, &out.DocumentIDOptions + *out = new(DocumentIDOptions) + (*in).DeepCopyInto(*out) + } if in.DomainARN != nil { in, out := &in.DomainARN, &out.DomainARN *out = new(string) @@ -2130,6 +2210,70 @@ func (in *KinesisStreamSourceDescription) DeepCopy() *KinesisStreamSourceDescrip return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MSKSourceConfiguration) DeepCopyInto(out *MSKSourceConfiguration) { + *out = *in + if in.AuthenticationConfiguration != nil { + in, out := &in.AuthenticationConfiguration, &out.AuthenticationConfiguration + *out = new(AuthenticationConfiguration) + (*in).DeepCopyInto(*out) + } + if in.MSKClusterARN != nil { + in, out := &in.MSKClusterARN, &out.MSKClusterARN + *out = new(string) + **out = **in + } + if in.TopicName != nil { + in, out := &in.TopicName, &out.TopicName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSKSourceConfiguration. +func (in *MSKSourceConfiguration) DeepCopy() *MSKSourceConfiguration { + if in == nil { + return nil + } + out := new(MSKSourceConfiguration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MSKSourceDescription) DeepCopyInto(out *MSKSourceDescription) { + *out = *in + if in.AuthenticationConfiguration != nil { + in, out := &in.AuthenticationConfiguration, &out.AuthenticationConfiguration + *out = new(AuthenticationConfiguration) + (*in).DeepCopyInto(*out) + } + if in.DeliveryStartTimestamp != nil { + in, out := &in.DeliveryStartTimestamp, &out.DeliveryStartTimestamp + *out = (*in).DeepCopy() + } + if in.MSKClusterARN != nil { + in, out := &in.MSKClusterARN, &out.MSKClusterARN + *out = new(string) + **out = **in + } + if in.TopicName != nil { + in, out := &in.TopicName, &out.TopicName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSKSourceDescription. +func (in *MSKSourceDescription) DeepCopy() *MSKSourceDescription { + if in == nil { + return nil + } + out := new(MSKSourceDescription) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *OpenXJSONSerDe) DeepCopyInto(out *OpenXJSONSerDe) { *out = *in @@ -2872,6 +3016,11 @@ func (in *SourceDescription) DeepCopyInto(out *SourceDescription) { *out = new(KinesisStreamSourceDescription) (*in).DeepCopyInto(*out) } + if in.MSKSourceDescription != nil { + in, out := &in.MSKSourceDescription, &out.MSKSourceDescription + *out = new(MSKSourceDescription) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceDescription. diff --git a/apis/firehose/v1alpha1/zz_types.go b/apis/firehose/v1alpha1/zz_types.go index 40754c1af4..9d79421459 100644 --- a/apis/firehose/v1alpha1/zz_types.go +++ b/apis/firehose/v1alpha1/zz_types.go @@ -56,7 +56,8 @@ type AmazonOpenSearchServerlessDestinationConfiguration struct { S3BackupMode *string `json:"s3BackupMode,omitempty"` // Describes the configuration of a destination in Amazon S3. S3Configuration *S3DestinationConfiguration `json:"s3Configuration,omitempty"` - // The details of the VPC of the Amazon ES destination. + // The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch Serverless + // destination. VPCConfiguration *VPCConfiguration `json:"vpcConfiguration,omitempty"` } @@ -127,6 +128,10 @@ type AmazonopensearchserviceDestinationConfiguration struct { CloudWatchLoggingOptions *CloudWatchLoggingOptions `json:"cloudWatchLoggingOptions,omitempty"` ClusterEndpoint *string `json:"clusterEndpoint,omitempty"` + // Indicates the method for setting up document ID. The supported methods are + // Kinesis Data Firehose generated document ID and OpenSearch Service generated + // document ID. + DocumentIDOptions *DocumentIDOptions `json:"documentIDOptions,omitempty"` DomainARN *string `json:"domainARN,omitempty"` @@ -146,7 +151,8 @@ type AmazonopensearchserviceDestinationConfiguration struct { S3Configuration *S3DestinationConfiguration `json:"s3Configuration,omitempty"` TypeName *string `json:"typeName,omitempty"` - // The details of the VPC of the Amazon ES destination. + // The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch Serverless + // destination. VPCConfiguration *VPCConfiguration `json:"vpcConfiguration,omitempty"` } @@ -159,6 +165,10 @@ type AmazonopensearchserviceDestinationDescription struct { CloudWatchLoggingOptions *CloudWatchLoggingOptions `json:"cloudWatchLoggingOptions,omitempty"` ClusterEndpoint *string `json:"clusterEndpoint,omitempty"` + // Indicates the method for setting up document ID. The supported methods are + // Kinesis Data Firehose generated document ID and OpenSearch Service generated + // document ID. + DocumentIDOptions *DocumentIDOptions `json:"documentIDOptions,omitempty"` DomainARN *string `json:"domainARN,omitempty"` @@ -191,6 +201,10 @@ type AmazonopensearchserviceDestinationUpdate struct { CloudWatchLoggingOptions *CloudWatchLoggingOptions `json:"cloudWatchLoggingOptions,omitempty"` ClusterEndpoint *string `json:"clusterEndpoint,omitempty"` + // Indicates the method for setting up document ID. The supported methods are + // Kinesis Data Firehose generated document ID and OpenSearch Service generated + // document ID. + DocumentIDOptions *DocumentIDOptions `json:"documentIDOptions,omitempty"` DomainARN *string `json:"domainARN,omitempty"` @@ -213,6 +227,13 @@ type AmazonopensearchserviceRetryOptions struct { DurationInSeconds *int64 `json:"durationInSeconds,omitempty"` } +// +kubebuilder:skipversion +type AuthenticationConfiguration struct { + Connectivity *string `json:"connectivity,omitempty"` + + RoleARN *string `json:"roleARN,omitempty"` +} + // +kubebuilder:skipversion type BufferingHints struct { IntervalInSeconds *int64 `json:"intervalInSeconds,omitempty"` @@ -347,6 +368,11 @@ type DestinationDescription struct { SplunkDestinationDescription *SplunkDestinationDescription `json:"splunkDestinationDescription,omitempty"` } +// +kubebuilder:skipversion +type DocumentIDOptions struct { + DefaultDocumentIDFormat *string `json:"defaultDocumentIDFormat,omitempty"` +} + // +kubebuilder:skipversion type DynamicPartitioningConfiguration struct { Enabled *bool `json:"enabled,omitempty"` @@ -371,6 +397,10 @@ type ElasticsearchDestinationConfiguration struct { CloudWatchLoggingOptions *CloudWatchLoggingOptions `json:"cloudWatchLoggingOptions,omitempty"` ClusterEndpoint *string `json:"clusterEndpoint,omitempty"` + // Indicates the method for setting up document ID. The supported methods are + // Kinesis Data Firehose generated document ID and OpenSearch Service generated + // document ID. + DocumentIDOptions *DocumentIDOptions `json:"documentIDOptions,omitempty"` DomainARN *string `json:"domainARN,omitempty"` @@ -390,7 +420,8 @@ type ElasticsearchDestinationConfiguration struct { S3Configuration *S3DestinationConfiguration `json:"s3Configuration,omitempty"` TypeName *string `json:"typeName,omitempty"` - // The details of the VPC of the Amazon ES destination. + // The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch Serverless + // destination. VPCConfiguration *VPCConfiguration `json:"vpcConfiguration,omitempty"` } @@ -403,6 +434,10 @@ type ElasticsearchDestinationDescription struct { CloudWatchLoggingOptions *CloudWatchLoggingOptions `json:"cloudWatchLoggingOptions,omitempty"` ClusterEndpoint *string `json:"clusterEndpoint,omitempty"` + // Indicates the method for setting up document ID. The supported methods are + // Kinesis Data Firehose generated document ID and OpenSearch Service generated + // document ID. + DocumentIDOptions *DocumentIDOptions `json:"documentIDOptions,omitempty"` DomainARN *string `json:"domainARN,omitempty"` @@ -435,6 +470,10 @@ type ElasticsearchDestinationUpdate struct { CloudWatchLoggingOptions *CloudWatchLoggingOptions `json:"cloudWatchLoggingOptions,omitempty"` ClusterEndpoint *string `json:"clusterEndpoint,omitempty"` + // Indicates the method for setting up document ID. The supported methods are + // Kinesis Data Firehose generated document ID and OpenSearch Service generated + // document ID. + DocumentIDOptions *DocumentIDOptions `json:"documentIDOptions,omitempty"` DomainARN *string `json:"domainARN,omitempty"` @@ -755,6 +794,28 @@ type KinesisStreamSourceDescription struct { RoleARN *string `json:"roleARN,omitempty"` } +// +kubebuilder:skipversion +type MSKSourceConfiguration struct { + // The authentication configuration of the Amazon MSK cluster. + AuthenticationConfiguration *AuthenticationConfiguration `json:"authenticationConfiguration,omitempty"` + + MSKClusterARN *string `json:"mSKClusterARN,omitempty"` + + TopicName *string `json:"topicName,omitempty"` +} + +// +kubebuilder:skipversion +type MSKSourceDescription struct { + // The authentication configuration of the Amazon MSK cluster. + AuthenticationConfiguration *AuthenticationConfiguration `json:"authenticationConfiguration,omitempty"` + + DeliveryStartTimestamp *metav1.Time `json:"deliveryStartTimestamp,omitempty"` + + MSKClusterARN *string `json:"mSKClusterARN,omitempty"` + + TopicName *string `json:"topicName,omitempty"` +} + // +kubebuilder:skipversion type OpenXJSONSerDe struct { CaseInsensitive *bool `json:"caseInsensitive,omitempty"` @@ -1016,6 +1077,9 @@ type SourceDescription struct { // Details about a Kinesis data stream used as the source for a Kinesis Data // Firehose delivery stream. KinesisStreamSourceDescription *KinesisStreamSourceDescription `json:"kinesisStreamSourceDescription,omitempty"` + // Details about the Amazon MSK cluster used as the source for a Kinesis Data + // Firehose delivery stream. + MSKSourceDescription *MSKSourceDescription `json:"mSKSourceDescription,omitempty"` } // +kubebuilder:skipversion diff --git a/apis/globalaccelerator/generator-config.yaml b/apis/globalaccelerator/generator-config.yaml index 33d2e9d94b..0ce70af097 100644 --- a/apis/globalaccelerator/generator-config.yaml +++ b/apis/globalaccelerator/generator-config.yaml @@ -9,6 +9,7 @@ ignore: - "CustomRoutingAccelerator" - "CustomRoutingEndpointGroup" - "CustomRoutingListener" + - "CrossAccountAttachment" resources: Accelerator: diff --git a/apis/globalaccelerator/v1alpha1/zz_generated.deepcopy.go b/apis/globalaccelerator/v1alpha1/zz_generated.deepcopy.go index e3534e1ed2..3e92c60cbb 100644 --- a/apis/globalaccelerator/v1alpha1/zz_generated.deepcopy.go +++ b/apis/globalaccelerator/v1alpha1/zz_generated.deepcopy.go @@ -370,6 +370,34 @@ func (in *Accelerator_SDK) DeepCopy() *Accelerator_SDK { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Attachment) DeepCopyInto(out *Attachment) { + *out = *in + if in.AttachmentARN != nil { + in, out := &in.AttachmentARN, &out.AttachmentARN + *out = new(string) + **out = **in + } + if in.CreatedTime != nil { + in, out := &in.CreatedTime, &out.CreatedTime + *out = (*in).DeepCopy() + } + if in.LastModifiedTime != nil { + in, out := &in.LastModifiedTime, &out.LastModifiedTime + *out = (*in).DeepCopy() + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Attachment. +func (in *Attachment) DeepCopy() *Attachment { + if in == nil { + return nil + } + out := new(Attachment) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ByoipCIDR) DeepCopyInto(out *ByoipCIDR) { *out = *in @@ -439,6 +467,31 @@ func (in *CIDRAuthorizationContext) DeepCopy() *CIDRAuthorizationContext { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CrossAccountResource) DeepCopyInto(out *CrossAccountResource) { + *out = *in + if in.AttachmentARN != nil { + in, out := &in.AttachmentARN, &out.AttachmentARN + *out = new(string) + **out = **in + } + if in.EndpointID != nil { + in, out := &in.EndpointID, &out.EndpointID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossAccountResource. +func (in *CrossAccountResource) DeepCopy() *CrossAccountResource { + if in == nil { + return nil + } + out := new(CrossAccountResource) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CustomAcceleratorParameters) DeepCopyInto(out *CustomAcceleratorParameters) { *out = *in @@ -656,6 +709,11 @@ func (in *CustomRoutingDestinationDescription) DeepCopy() *CustomRoutingDestinat // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CustomRoutingEndpointConfiguration) DeepCopyInto(out *CustomRoutingEndpointConfiguration) { *out = *in + if in.AttachmentARN != nil { + in, out := &in.AttachmentARN, &out.AttachmentARN + *out = new(string) + **out = **in + } if in.EndpointID != nil { in, out := &in.EndpointID, &out.EndpointID *out = new(string) @@ -792,6 +850,11 @@ func (in *DestinationPortMapping) DeepCopy() *DestinationPortMapping { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EndpointConfiguration) DeepCopyInto(out *EndpointConfiguration) { *out = *in + if in.AttachmentARN != nil { + in, out := &in.AttachmentARN, &out.AttachmentARN + *out = new(string) + **out = **in + } if in.ClientIPPreservationEnabled != nil { in, out := &in.ClientIPPreservationEnabled, &out.ClientIPPreservationEnabled *out = new(bool) @@ -1465,6 +1528,31 @@ func (in *PortRange) DeepCopy() *PortRange { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Resource) DeepCopyInto(out *Resource) { + *out = *in + if in.EndpointID != nil { + in, out := &in.EndpointID, &out.EndpointID + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource. +func (in *Resource) DeepCopy() *Resource { + if in == nil { + return nil + } + out := new(Resource) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SocketAddress) DeepCopyInto(out *SocketAddress) { *out = *in diff --git a/apis/globalaccelerator/v1alpha1/zz_types.go b/apis/globalaccelerator/v1alpha1/zz_types.go index 6939219298..ab34cbd757 100644 --- a/apis/globalaccelerator/v1alpha1/zz_types.go +++ b/apis/globalaccelerator/v1alpha1/zz_types.go @@ -68,6 +68,15 @@ type Accelerator_SDK struct { Status *string `json:"status,omitempty"` } +// +kubebuilder:skipversion +type Attachment struct { + AttachmentARN *string `json:"attachmentARN,omitempty"` + + CreatedTime *metav1.Time `json:"createdTime,omitempty"` + + LastModifiedTime *metav1.Time `json:"lastModifiedTime,omitempty"` +} + // +kubebuilder:skipversion type ByoipCIDR struct { CIDR *string `json:"cidr,omitempty"` @@ -87,6 +96,13 @@ type CIDRAuthorizationContext struct { Signature *string `json:"signature,omitempty"` } +// +kubebuilder:skipversion +type CrossAccountResource struct { + AttachmentARN *string `json:"attachmentARN,omitempty"` + + EndpointID *string `json:"endpointID,omitempty"` +} + // +kubebuilder:skipversion type CustomRoutingAccelerator struct { AcceleratorARN *string `json:"acceleratorARN,omitempty"` @@ -131,6 +147,8 @@ type CustomRoutingDestinationDescription struct { // +kubebuilder:skipversion type CustomRoutingEndpointConfiguration struct { + AttachmentARN *string `json:"attachmentARN,omitempty"` + EndpointID *string `json:"endpointID,omitempty"` } @@ -168,6 +186,8 @@ type DestinationPortMapping struct { // +kubebuilder:skipversion type EndpointConfiguration struct { + AttachmentARN *string `json:"attachmentARN,omitempty"` + ClientIPPreservationEnabled *bool `json:"clientIPPreservationEnabled,omitempty"` EndpointID *string `json:"endpointID,omitempty"` @@ -261,6 +281,13 @@ type PortRange struct { ToPort *int64 `json:"toPort,omitempty"` } +// +kubebuilder:skipversion +type Resource struct { + EndpointID *string `json:"endpointID,omitempty"` + + Region *string `json:"region,omitempty"` +} + // +kubebuilder:skipversion type SocketAddress struct { IPAddress *string `json:"ipAddress,omitempty"` diff --git a/apis/glue/generator-config.yaml b/apis/glue/generator-config.yaml index 86a91febc2..c2e3132716 100644 --- a/apis/glue/generator-config.yaml +++ b/apis/glue/generator-config.yaml @@ -8,6 +8,7 @@ ignore: - Schema - Script - Table + - TableOptimizer - UserDefinedFunction - Workflow - Partition diff --git a/apis/glue/v1alpha1/zz_enums.go b/apis/glue/v1alpha1/zz_enums.go index 15ba557069..3c8ec4d6b9 100644 --- a/apis/glue/v1alpha1/zz_enums.go +++ b/apis/glue/v1alpha1/zz_enums.go @@ -721,6 +721,8 @@ type SourceControlProvider string const ( SourceControlProvider_GITHUB SourceControlProvider = "GITHUB" + SourceControlProvider_GITLAB SourceControlProvider = "GITLAB" + SourceControlProvider_BITBUCKET SourceControlProvider = "BITBUCKET" SourceControlProvider_AWS_CODE_COMMIT SourceControlProvider = "AWS_CODE_COMMIT" ) @@ -744,6 +746,21 @@ const ( StatementState_ERROR StatementState = "ERROR" ) +type TableOptimizerEventType string + +const ( + TableOptimizerEventType_starting TableOptimizerEventType = "starting" + TableOptimizerEventType_completed TableOptimizerEventType = "completed" + TableOptimizerEventType_failed TableOptimizerEventType = "failed" + TableOptimizerEventType_in_progress TableOptimizerEventType = "in_progress" +) + +type TableOptimizerType string + +const ( + TableOptimizerType_compaction TableOptimizerType = "compaction" +) + type TargetFormat string const ( diff --git a/apis/glue/v1alpha1/zz_generated.deepcopy.go b/apis/glue/v1alpha1/zz_generated.deepcopy.go index d399003b4c..43fd6a5d83 100644 --- a/apis/glue/v1alpha1/zz_generated.deepcopy.go +++ b/apis/glue/v1alpha1/zz_generated.deepcopy.go @@ -579,6 +579,46 @@ func (in *BasicCatalogTarget) DeepCopy() *BasicCatalogTarget { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BatchGetTableOptimizerEntry) DeepCopyInto(out *BatchGetTableOptimizerEntry) { + *out = *in + if in.CatalogID != nil { + in, out := &in.CatalogID, &out.CatalogID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BatchGetTableOptimizerEntry. +func (in *BatchGetTableOptimizerEntry) DeepCopy() *BatchGetTableOptimizerEntry { + if in == nil { + return nil + } + out := new(BatchGetTableOptimizerEntry) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BatchGetTableOptimizerError) DeepCopyInto(out *BatchGetTableOptimizerError) { + *out = *in + if in.CatalogID != nil { + in, out := &in.CatalogID, &out.CatalogID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BatchGetTableOptimizerError. +func (in *BatchGetTableOptimizerError) DeepCopy() *BatchGetTableOptimizerError { + if in == nil { + return nil + } + out := new(BatchGetTableOptimizerError) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BatchStopJobRunError) DeepCopyInto(out *BatchStopJobRunError) { *out = *in @@ -629,6 +669,26 @@ func (in *BatchStopJobRunSuccessfulSubmission) DeepCopy() *BatchStopJobRunSucces return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BatchTableOptimizer) DeepCopyInto(out *BatchTableOptimizer) { + *out = *in + if in.CatalogID != nil { + in, out := &in.CatalogID, &out.CatalogID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BatchTableOptimizer. +func (in *BatchTableOptimizer) DeepCopy() *BatchTableOptimizer { + if in == nil { + return nil + } + out := new(BatchTableOptimizer) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Blueprint) DeepCopyInto(out *Blueprint) { *out = *in @@ -1344,6 +1404,16 @@ func (in *CodeGenConfigurationNode) DeepCopyInto(out *CodeGenConfigurationNode) *out = new(BasicCatalogTarget) (*in).DeepCopyInto(*out) } + if in.ConnectorDataSource != nil { + in, out := &in.ConnectorDataSource, &out.ConnectorDataSource + *out = new(ConnectorDataSource) + (*in).DeepCopyInto(*out) + } + if in.ConnectorDataTarget != nil { + in, out := &in.ConnectorDataTarget, &out.ConnectorDataTarget + *out = new(ConnectorDataTarget) + (*in).DeepCopyInto(*out) + } if in.CustomCode != nil { in, out := &in.CustomCode, &out.CustomCode *out = new(CustomCode) @@ -2177,6 +2247,110 @@ func (in *ConnectionsList) DeepCopy() *ConnectionsList { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectorDataSource) DeepCopyInto(out *ConnectorDataSource) { + *out = *in + if in.ConnectionType != nil { + in, out := &in.ConnectionType, &out.ConnectionType + *out = new(string) + **out = **in + } + if in.Data != nil { + in, out := &in.Data, &out.Data + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OutputSchemas != nil { + in, out := &in.OutputSchemas, &out.OutputSchemas + *out = make([]*GlueSchema, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(GlueSchema) + (*in).DeepCopyInto(*out) + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectorDataSource. +func (in *ConnectorDataSource) DeepCopy() *ConnectorDataSource { + if in == nil { + return nil + } + out := new(ConnectorDataSource) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectorDataTarget) DeepCopyInto(out *ConnectorDataTarget) { + *out = *in + if in.ConnectionType != nil { + in, out := &in.ConnectionType, &out.ConnectionType + *out = new(string) + **out = **in + } + if in.Data != nil { + in, out := &in.Data, &out.Data + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Inputs != nil { + in, out := &in.Inputs, &out.Inputs + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectorDataTarget. +func (in *ConnectorDataTarget) DeepCopy() *ConnectorDataTarget { + if in == nil { + return nil + } + out := new(ConnectorDataTarget) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Crawl) DeepCopyInto(out *Crawl) { *out = *in @@ -11944,6 +12118,26 @@ func (in *TableInput) DeepCopy() *TableInput { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TableOptimizerConfiguration) DeepCopyInto(out *TableOptimizerConfiguration) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableOptimizerConfiguration. +func (in *TableOptimizerConfiguration) DeepCopy() *TableOptimizerConfiguration { + if in == nil { + return nil + } + out := new(TableOptimizerConfiguration) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TableVersionError) DeepCopyInto(out *TableVersionError) { *out = *in diff --git a/apis/glue/v1alpha1/zz_types.go b/apis/glue/v1alpha1/zz_types.go index 2e83ea012c..a74b722b67 100644 --- a/apis/glue/v1alpha1/zz_types.go +++ b/apis/glue/v1alpha1/zz_types.go @@ -182,6 +182,16 @@ type BasicCatalogTarget struct { Table *string `json:"table,omitempty"` } +// +kubebuilder:skipversion +type BatchGetTableOptimizerEntry struct { + CatalogID *string `json:"catalogID,omitempty"` +} + +// +kubebuilder:skipversion +type BatchGetTableOptimizerError struct { + CatalogID *string `json:"catalogID,omitempty"` +} + // +kubebuilder:skipversion type BatchStopJobRunError struct { JobName *string `json:"jobName,omitempty"` @@ -196,6 +206,11 @@ type BatchStopJobRunSuccessfulSubmission struct { JobRunID *string `json:"jobRunID,omitempty"` } +// +kubebuilder:skipversion +type BatchTableOptimizer struct { + CatalogID *string `json:"catalogID,omitempty"` +} + // +kubebuilder:skipversion type Blueprint struct { BlueprintLocation *string `json:"blueprintLocation,omitempty"` @@ -378,6 +393,10 @@ type CodeGenConfigurationNode struct { CatalogSource *CatalogSource `json:"catalogSource,omitempty"` // Specifies a target that uses a Glue Data Catalog table. CatalogTarget *BasicCatalogTarget `json:"catalogTarget,omitempty"` + // Specifies a source generated with standard connection options. + ConnectorDataSource *ConnectorDataSource `json:"connectorDataSource,omitempty"` + // Specifies a target generated with standard connection options. + ConnectorDataTarget *ConnectorDataTarget `json:"connectorDataTarget,omitempty"` // Specifies a transform that uses custom code you provide to perform the data // transformation. The output is a collection of DynamicFrames. CustomCode *CustomCode `json:"customCode,omitempty"` @@ -617,6 +636,28 @@ type ConnectionsList struct { Connections []*string `json:"connections,omitempty"` } +// +kubebuilder:skipversion +type ConnectorDataSource struct { + ConnectionType *string `json:"connectionType,omitempty"` + + Data map[string]*string `json:"data,omitempty"` + + Name *string `json:"name,omitempty"` + + OutputSchemas []*GlueSchema `json:"outputSchemas,omitempty"` +} + +// +kubebuilder:skipversion +type ConnectorDataTarget struct { + ConnectionType *string `json:"connectionType,omitempty"` + + Data map[string]*string `json:"data,omitempty"` + + Inputs []*string `json:"inputs,omitempty"` + + Name *string `json:"name,omitempty"` +} + // +kubebuilder:skipversion type Crawl struct { CompletedOn *metav1.Time `json:"completedOn,omitempty"` @@ -2896,6 +2937,11 @@ type TableInput struct { Parameters map[string]*string `json:"parameters,omitempty"` } +// +kubebuilder:skipversion +type TableOptimizerConfiguration struct { + Enabled *bool `json:"enabled,omitempty"` +} + // +kubebuilder:skipversion type TableVersionError struct { TableName *string `json:"tableName,omitempty"` diff --git a/apis/iot/v1alpha1/zz_enums.go b/apis/iot/v1alpha1/zz_enums.go index b485bdbcf8..511d76c52e 100644 --- a/apis/iot/v1alpha1/zz_enums.go +++ b/apis/iot/v1alpha1/zz_enums.go @@ -442,11 +442,13 @@ const ( type LogTargetType string const ( - LogTargetType_DEFAULT LogTargetType = "DEFAULT" - LogTargetType_THING_GROUP LogTargetType = "THING_GROUP" - LogTargetType_CLIENT_ID LogTargetType = "CLIENT_ID" - LogTargetType_SOURCE_IP LogTargetType = "SOURCE_IP" - LogTargetType_PRINCIPAL_ID LogTargetType = "PRINCIPAL_ID" + LogTargetType_DEFAULT LogTargetType = "DEFAULT" + LogTargetType_THING_GROUP LogTargetType = "THING_GROUP" + LogTargetType_CLIENT_ID LogTargetType = "CLIENT_ID" + LogTargetType_SOURCE_IP LogTargetType = "SOURCE_IP" + LogTargetType_PRINCIPAL_ID LogTargetType = "PRINCIPAL_ID" + LogTargetType_EVENT_TYPE LogTargetType = "EVENT_TYPE" + LogTargetType_DEVICE_DEFENDER LogTargetType = "DEVICE_DEFENDER" ) type MessageFormat string diff --git a/apis/kafka/generator-config.yaml b/apis/kafka/generator-config.yaml index fb871ccd67..300a1567c5 100644 --- a/apis/kafka/generator-config.yaml +++ b/apis/kafka/generator-config.yaml @@ -2,6 +2,7 @@ ignore: resource_names: - ClusterV2 - VpcConnection + - Replicator field_paths: - CreateClusterInput.BrokerNodeGroupInfo - CreateClusterInput.ConfigurationInfo diff --git a/apis/kafka/v1alpha1/zz_enums.go b/apis/kafka/v1alpha1/zz_enums.go index a842e688fe..c6bdbd4fee 100644 --- a/apis/kafka/v1alpha1/zz_enums.go +++ b/apis/kafka/v1alpha1/zz_enums.go @@ -82,6 +82,16 @@ const ( NodeType_BROKER NodeType = "BROKER" ) +type ReplicatorState string + +const ( + ReplicatorState_RUNNING ReplicatorState = "RUNNING" + ReplicatorState_CREATING ReplicatorState = "CREATING" + ReplicatorState_UPDATING ReplicatorState = "UPDATING" + ReplicatorState_DELETING ReplicatorState = "DELETING" + ReplicatorState_FAILED ReplicatorState = "FAILED" +) + type StorageMode string const ( @@ -89,6 +99,16 @@ const ( StorageMode_TIERED StorageMode = "TIERED" ) +type TargetCompressionType string + +const ( + TargetCompressionType_NONE TargetCompressionType = "NONE" + TargetCompressionType_GZIP TargetCompressionType = "GZIP" + TargetCompressionType_SNAPPY TargetCompressionType = "SNAPPY" + TargetCompressionType_LZ4 TargetCompressionType = "LZ4" + TargetCompressionType_ZSTD TargetCompressionType = "ZSTD" +) + type UserIdentityType string const ( diff --git a/apis/kafka/v1alpha1/zz_generated.deepcopy.go b/apis/kafka/v1alpha1/zz_generated.deepcopy.go index 82ab0a4110..bea84aac45 100644 --- a/apis/kafka/v1alpha1/zz_generated.deepcopy.go +++ b/apis/kafka/v1alpha1/zz_generated.deepcopy.go @@ -26,6 +26,26 @@ import ( runtime "k8s.io/apimachinery/pkg/runtime" ) +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AmazonMskCluster) DeepCopyInto(out *AmazonMskCluster) { + *out = *in + if in.MskClusterARN != nil { + in, out := &in.MskClusterARN, &out.MskClusterARN + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AmazonMskCluster. +func (in *AmazonMskCluster) DeepCopy() *AmazonMskCluster { + if in == nil { + return nil + } + out := new(AmazonMskCluster) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BrokerEBSVolumeInfo) DeepCopyInto(out *BrokerEBSVolumeInfo) { *out = *in @@ -1212,6 +1232,56 @@ func (in *ConnectivityInfo) DeepCopy() *ConnectivityInfo { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConsumerGroupReplication) DeepCopyInto(out *ConsumerGroupReplication) { + *out = *in + if in.DetectAndCopyNewConsumerGroups != nil { + in, out := &in.DetectAndCopyNewConsumerGroups, &out.DetectAndCopyNewConsumerGroups + *out = new(bool) + **out = **in + } + if in.SynchroniseConsumerGroupOffsets != nil { + in, out := &in.SynchroniseConsumerGroupOffsets, &out.SynchroniseConsumerGroupOffsets + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsumerGroupReplication. +func (in *ConsumerGroupReplication) DeepCopy() *ConsumerGroupReplication { + if in == nil { + return nil + } + out := new(ConsumerGroupReplication) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConsumerGroupReplicationUpdate) DeepCopyInto(out *ConsumerGroupReplicationUpdate) { + *out = *in + if in.DetectAndCopyNewConsumerGroups != nil { + in, out := &in.DetectAndCopyNewConsumerGroups, &out.DetectAndCopyNewConsumerGroups + *out = new(bool) + **out = **in + } + if in.SynchroniseConsumerGroupOffsets != nil { + in, out := &in.SynchroniseConsumerGroupOffsets, &out.SynchroniseConsumerGroupOffsets + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsumerGroupReplicationUpdate. +func (in *ConsumerGroupReplicationUpdate) DeepCopy() *ConsumerGroupReplicationUpdate { + if in == nil { + return nil + } + out := new(ConsumerGroupReplicationUpdate) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CustomBrokerNodeGroupInfo) DeepCopyInto(out *CustomBrokerNodeGroupInfo) { *out = *in @@ -1623,6 +1693,83 @@ func (in *JmxExporterInfo) DeepCopy() *JmxExporterInfo { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterClientVPCConfig) DeepCopyInto(out *KafkaClusterClientVPCConfig) { + *out = *in + if in.SecurityGroupIDs != nil { + in, out := &in.SecurityGroupIDs, &out.SecurityGroupIDs + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetIDs != nil { + in, out := &in.SubnetIDs, &out.SubnetIDs + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterClientVPCConfig. +func (in *KafkaClusterClientVPCConfig) DeepCopy() *KafkaClusterClientVPCConfig { + if in == nil { + return nil + } + out := new(KafkaClusterClientVPCConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterDescription) DeepCopyInto(out *KafkaClusterDescription) { + *out = *in + if in.KafkaClusterAlias != nil { + in, out := &in.KafkaClusterAlias, &out.KafkaClusterAlias + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterDescription. +func (in *KafkaClusterDescription) DeepCopy() *KafkaClusterDescription { + if in == nil { + return nil + } + out := new(KafkaClusterDescription) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterSummary) DeepCopyInto(out *KafkaClusterSummary) { + *out = *in + if in.KafkaClusterAlias != nil { + in, out := &in.KafkaClusterAlias, &out.KafkaClusterAlias + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterSummary. +func (in *KafkaClusterSummary) DeepCopy() *KafkaClusterSummary { + if in == nil { + return nil + } + out := new(KafkaClusterSummary) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KafkaVersion) DeepCopyInto(out *KafkaVersion) { *out = *in @@ -2063,6 +2210,150 @@ func (in *PublicAccess) DeepCopy() *PublicAccess { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ReplicationInfo) DeepCopyInto(out *ReplicationInfo) { + *out = *in + if in.SourceKafkaClusterARN != nil { + in, out := &in.SourceKafkaClusterARN, &out.SourceKafkaClusterARN + *out = new(string) + **out = **in + } + if in.TargetKafkaClusterARN != nil { + in, out := &in.TargetKafkaClusterARN, &out.TargetKafkaClusterARN + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationInfo. +func (in *ReplicationInfo) DeepCopy() *ReplicationInfo { + if in == nil { + return nil + } + out := new(ReplicationInfo) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ReplicationInfoDescription) DeepCopyInto(out *ReplicationInfoDescription) { + *out = *in + if in.SourceKafkaClusterAlias != nil { + in, out := &in.SourceKafkaClusterAlias, &out.SourceKafkaClusterAlias + *out = new(string) + **out = **in + } + if in.TargetKafkaClusterAlias != nil { + in, out := &in.TargetKafkaClusterAlias, &out.TargetKafkaClusterAlias + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationInfoDescription. +func (in *ReplicationInfoDescription) DeepCopy() *ReplicationInfoDescription { + if in == nil { + return nil + } + out := new(ReplicationInfoDescription) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ReplicationInfoSummary) DeepCopyInto(out *ReplicationInfoSummary) { + *out = *in + if in.SourceKafkaClusterAlias != nil { + in, out := &in.SourceKafkaClusterAlias, &out.SourceKafkaClusterAlias + *out = new(string) + **out = **in + } + if in.TargetKafkaClusterAlias != nil { + in, out := &in.TargetKafkaClusterAlias, &out.TargetKafkaClusterAlias + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationInfoSummary. +func (in *ReplicationInfoSummary) DeepCopy() *ReplicationInfoSummary { + if in == nil { + return nil + } + out := new(ReplicationInfoSummary) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ReplicationStateInfo) DeepCopyInto(out *ReplicationStateInfo) { + *out = *in + if in.Code != nil { + in, out := &in.Code, &out.Code + *out = new(string) + **out = **in + } + if in.Message != nil { + in, out := &in.Message, &out.Message + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationStateInfo. +func (in *ReplicationStateInfo) DeepCopy() *ReplicationStateInfo { + if in == nil { + return nil + } + out := new(ReplicationStateInfo) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ReplicatorSummary) DeepCopyInto(out *ReplicatorSummary) { + *out = *in + if in.CreationTime != nil { + in, out := &in.CreationTime, &out.CreationTime + *out = (*in).DeepCopy() + } + if in.CurrentVersion != nil { + in, out := &in.CurrentVersion, &out.CurrentVersion + *out = new(string) + **out = **in + } + if in.IsReplicatorReference != nil { + in, out := &in.IsReplicatorReference, &out.IsReplicatorReference + *out = new(bool) + **out = **in + } + if in.ReplicatorARN != nil { + in, out := &in.ReplicatorARN, &out.ReplicatorARN + *out = new(string) + **out = **in + } + if in.ReplicatorName != nil { + in, out := &in.ReplicatorName, &out.ReplicatorName + *out = new(string) + **out = **in + } + if in.ReplicatorResourceARN != nil { + in, out := &in.ReplicatorResourceARN, &out.ReplicatorResourceARN + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicatorSummary. +func (in *ReplicatorSummary) DeepCopy() *ReplicatorSummary { + if in == nil { + return nil + } + out := new(ReplicatorSummary) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *S3) DeepCopyInto(out *S3) { *out = *in @@ -2234,6 +2525,66 @@ func (in *TLS) DeepCopy() *TLS { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicReplication) DeepCopyInto(out *TopicReplication) { + *out = *in + if in.CopyAccessControlListsForTopics != nil { + in, out := &in.CopyAccessControlListsForTopics, &out.CopyAccessControlListsForTopics + *out = new(bool) + **out = **in + } + if in.CopyTopicConfigurations != nil { + in, out := &in.CopyTopicConfigurations, &out.CopyTopicConfigurations + *out = new(bool) + **out = **in + } + if in.DetectAndCopyNewTopics != nil { + in, out := &in.DetectAndCopyNewTopics, &out.DetectAndCopyNewTopics + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicReplication. +func (in *TopicReplication) DeepCopy() *TopicReplication { + if in == nil { + return nil + } + out := new(TopicReplication) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicReplicationUpdate) DeepCopyInto(out *TopicReplicationUpdate) { + *out = *in + if in.CopyAccessControlListsForTopics != nil { + in, out := &in.CopyAccessControlListsForTopics, &out.CopyAccessControlListsForTopics + *out = new(bool) + **out = **in + } + if in.CopyTopicConfigurations != nil { + in, out := &in.CopyTopicConfigurations, &out.CopyTopicConfigurations + *out = new(bool) + **out = **in + } + if in.DetectAndCopyNewTopics != nil { + in, out := &in.DetectAndCopyNewTopics, &out.DetectAndCopyNewTopics + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicReplicationUpdate. +func (in *TopicReplicationUpdate) DeepCopy() *TopicReplicationUpdate { + if in == nil { + return nil + } + out := new(TopicReplicationUpdate) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Unauthenticated) DeepCopyInto(out *Unauthenticated) { *out = *in diff --git a/apis/kafka/v1alpha1/zz_types.go b/apis/kafka/v1alpha1/zz_types.go index 6b14690a3a..ef026933b8 100644 --- a/apis/kafka/v1alpha1/zz_types.go +++ b/apis/kafka/v1alpha1/zz_types.go @@ -27,6 +27,11 @@ var ( _ = &metav1.Time{} ) +// +kubebuilder:skipversion +type AmazonMskCluster struct { + MskClusterARN *string `json:"mskClusterARN,omitempty"` +} + // +kubebuilder:skipversion type BrokerEBSVolumeInfo struct { KafkaBrokerNodeID *string `json:"kafkaBrokerNodeID,omitempty"` @@ -289,6 +294,20 @@ type ConnectivityInfo struct { VPCConnectivity *VPCConnectivity `json:"vpcConnectivity,omitempty"` } +// +kubebuilder:skipversion +type ConsumerGroupReplication struct { + DetectAndCopyNewConsumerGroups *bool `json:"detectAndCopyNewConsumerGroups,omitempty"` + + SynchroniseConsumerGroupOffsets *bool `json:"synchroniseConsumerGroupOffsets,omitempty"` +} + +// +kubebuilder:skipversion +type ConsumerGroupReplicationUpdate struct { + DetectAndCopyNewConsumerGroups *bool `json:"detectAndCopyNewConsumerGroups,omitempty"` + + SynchroniseConsumerGroupOffsets *bool `json:"synchroniseConsumerGroupOffsets,omitempty"` +} + // +kubebuilder:skipversion type EBSStorageInfo struct { // Contains information about provisioned throughput for EBS storage volumes @@ -348,6 +367,23 @@ type JmxExporterInfo struct { EnabledInBroker *bool `json:"enabledInBroker,omitempty"` } +// +kubebuilder:skipversion +type KafkaClusterClientVPCConfig struct { + SecurityGroupIDs []*string `json:"securityGroupIDs,omitempty"` + + SubnetIDs []*string `json:"subnetIDs,omitempty"` +} + +// +kubebuilder:skipversion +type KafkaClusterDescription struct { + KafkaClusterAlias *string `json:"kafkaClusterAlias,omitempty"` +} + +// +kubebuilder:skipversion +type KafkaClusterSummary struct { + KafkaClusterAlias *string `json:"kafkaClusterAlias,omitempty"` +} + // +kubebuilder:skipversion type KafkaVersion struct { Version *string `json:"version,omitempty"` @@ -511,6 +547,49 @@ type PublicAccess struct { Type *string `json:"type_,omitempty"` } +// +kubebuilder:skipversion +type ReplicationInfo struct { + SourceKafkaClusterARN *string `json:"sourceKafkaClusterARN,omitempty"` + + TargetKafkaClusterARN *string `json:"targetKafkaClusterARN,omitempty"` +} + +// +kubebuilder:skipversion +type ReplicationInfoDescription struct { + SourceKafkaClusterAlias *string `json:"sourceKafkaClusterAlias,omitempty"` + + TargetKafkaClusterAlias *string `json:"targetKafkaClusterAlias,omitempty"` +} + +// +kubebuilder:skipversion +type ReplicationInfoSummary struct { + SourceKafkaClusterAlias *string `json:"sourceKafkaClusterAlias,omitempty"` + + TargetKafkaClusterAlias *string `json:"targetKafkaClusterAlias,omitempty"` +} + +// +kubebuilder:skipversion +type ReplicationStateInfo struct { + Code *string `json:"code,omitempty"` + + Message *string `json:"message,omitempty"` +} + +// +kubebuilder:skipversion +type ReplicatorSummary struct { + CreationTime *metav1.Time `json:"creationTime,omitempty"` + + CurrentVersion *string `json:"currentVersion,omitempty"` + + IsReplicatorReference *bool `json:"isReplicatorReference,omitempty"` + + ReplicatorARN *string `json:"replicatorARN,omitempty"` + + ReplicatorName *string `json:"replicatorName,omitempty"` + + ReplicatorResourceARN *string `json:"replicatorResourceARN,omitempty"` +} + // +kubebuilder:skipversion type S3 struct { Bucket *string `json:"bucket,omitempty"` @@ -558,6 +637,24 @@ type TLS struct { Enabled *bool `json:"enabled,omitempty"` } +// +kubebuilder:skipversion +type TopicReplication struct { + CopyAccessControlListsForTopics *bool `json:"copyAccessControlListsForTopics,omitempty"` + + CopyTopicConfigurations *bool `json:"copyTopicConfigurations,omitempty"` + + DetectAndCopyNewTopics *bool `json:"detectAndCopyNewTopics,omitempty"` +} + +// +kubebuilder:skipversion +type TopicReplicationUpdate struct { + CopyAccessControlListsForTopics *bool `json:"copyAccessControlListsForTopics,omitempty"` + + CopyTopicConfigurations *bool `json:"copyTopicConfigurations,omitempty"` + + DetectAndCopyNewTopics *bool `json:"detectAndCopyNewTopics,omitempty"` +} + // +kubebuilder:skipversion type Unauthenticated struct { Enabled *bool `json:"enabled,omitempty"` diff --git a/apis/lambda/v1alpha1/zz_enums.go b/apis/lambda/v1alpha1/zz_enums.go index 22e392cba4..93137726ae 100644 --- a/apis/lambda/v1alpha1/zz_enums.go +++ b/apis/lambda/v1alpha1/zz_enums.go @@ -153,38 +153,41 @@ const ( type Runtime string const ( - Runtime_nodejs Runtime = "nodejs" - Runtime_nodejs4_3 Runtime = "nodejs4.3" - Runtime_nodejs6_10 Runtime = "nodejs6.10" - Runtime_nodejs8_10 Runtime = "nodejs8.10" - Runtime_nodejs10_x Runtime = "nodejs10.x" - Runtime_nodejs12_x Runtime = "nodejs12.x" - Runtime_nodejs14_x Runtime = "nodejs14.x" - Runtime_nodejs16_x Runtime = "nodejs16.x" - Runtime_java8 Runtime = "java8" - Runtime_java8_al2 Runtime = "java8.al2" - Runtime_java11 Runtime = "java11" - Runtime_python2_7 Runtime = "python2.7" - Runtime_python3_6 Runtime = "python3.6" - Runtime_python3_7 Runtime = "python3.7" - Runtime_python3_8 Runtime = "python3.8" - Runtime_python3_9 Runtime = "python3.9" - Runtime_dotnetcore1_0 Runtime = "dotnetcore1.0" - Runtime_dotnetcore2_0 Runtime = "dotnetcore2.0" - Runtime_dotnetcore2_1 Runtime = "dotnetcore2.1" - Runtime_dotnetcore3_1 Runtime = "dotnetcore3.1" - Runtime_dotnet6 Runtime = "dotnet6" - Runtime_nodejs4_3_edge Runtime = "nodejs4.3-edge" - Runtime_go1_x Runtime = "go1.x" - Runtime_ruby2_5 Runtime = "ruby2.5" - Runtime_ruby2_7 Runtime = "ruby2.7" - Runtime_provided Runtime = "provided" - Runtime_provided_al2 Runtime = "provided.al2" - Runtime_nodejs18_x Runtime = "nodejs18.x" - Runtime_python3_10 Runtime = "python3.10" - Runtime_java17 Runtime = "java17" - Runtime_ruby3_2 Runtime = "ruby3.2" - Runtime_python3_11 Runtime = "python3.11" + Runtime_nodejs Runtime = "nodejs" + Runtime_nodejs4_3 Runtime = "nodejs4.3" + Runtime_nodejs6_10 Runtime = "nodejs6.10" + Runtime_nodejs8_10 Runtime = "nodejs8.10" + Runtime_nodejs10_x Runtime = "nodejs10.x" + Runtime_nodejs12_x Runtime = "nodejs12.x" + Runtime_nodejs14_x Runtime = "nodejs14.x" + Runtime_nodejs16_x Runtime = "nodejs16.x" + Runtime_java8 Runtime = "java8" + Runtime_java8_al2 Runtime = "java8.al2" + Runtime_java11 Runtime = "java11" + Runtime_python2_7 Runtime = "python2.7" + Runtime_python3_6 Runtime = "python3.6" + Runtime_python3_7 Runtime = "python3.7" + Runtime_python3_8 Runtime = "python3.8" + Runtime_python3_9 Runtime = "python3.9" + Runtime_dotnetcore1_0 Runtime = "dotnetcore1.0" + Runtime_dotnetcore2_0 Runtime = "dotnetcore2.0" + Runtime_dotnetcore2_1 Runtime = "dotnetcore2.1" + Runtime_dotnetcore3_1 Runtime = "dotnetcore3.1" + Runtime_dotnet6 Runtime = "dotnet6" + Runtime_nodejs4_3_edge Runtime = "nodejs4.3-edge" + Runtime_go1_x Runtime = "go1.x" + Runtime_ruby2_5 Runtime = "ruby2.5" + Runtime_ruby2_7 Runtime = "ruby2.7" + Runtime_provided Runtime = "provided" + Runtime_provided_al2 Runtime = "provided.al2" + Runtime_nodejs18_x Runtime = "nodejs18.x" + Runtime_python3_10 Runtime = "python3.10" + Runtime_java17 Runtime = "java17" + Runtime_ruby3_2 Runtime = "ruby3.2" + Runtime_python3_11 Runtime = "python3.11" + Runtime_nodejs20_x Runtime = "nodejs20.x" + Runtime_provided_al2023 Runtime = "provided.al2023" + Runtime_python3_12 Runtime = "python3.12" ) type SnapStartApplyOn string diff --git a/apis/lambda/v1alpha1/zz_generated.deepcopy.go b/apis/lambda/v1alpha1/zz_generated.deepcopy.go index 2da747fa66..6275597067 100644 --- a/apis/lambda/v1alpha1/zz_generated.deepcopy.go +++ b/apis/lambda/v1alpha1/zz_generated.deepcopy.go @@ -1751,6 +1751,11 @@ func (in *TracingConfigResponse) DeepCopy() *TracingConfigResponse { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VPCConfig) DeepCopyInto(out *VPCConfig) { *out = *in + if in.IPv6AllowedForDualStack != nil { + in, out := &in.IPv6AllowedForDualStack, &out.IPv6AllowedForDualStack + *out = new(bool) + **out = **in + } if in.SecurityGroupIDs != nil { in, out := &in.SecurityGroupIDs, &out.SecurityGroupIDs *out = make([]*string, len(*in)) @@ -1788,6 +1793,11 @@ func (in *VPCConfig) DeepCopy() *VPCConfig { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VPCConfigResponse) DeepCopyInto(out *VPCConfigResponse) { *out = *in + if in.IPv6AllowedForDualStack != nil { + in, out := &in.IPv6AllowedForDualStack, &out.IPv6AllowedForDualStack + *out = new(bool) + **out = **in + } if in.SecurityGroupIDs != nil { in, out := &in.SecurityGroupIDs, &out.SecurityGroupIDs *out = make([]*string, len(*in)) diff --git a/apis/lambda/v1alpha1/zz_types.go b/apis/lambda/v1alpha1/zz_types.go index d86a4b721a..c7fbf3bf15 100644 --- a/apis/lambda/v1alpha1/zz_types.go +++ b/apis/lambda/v1alpha1/zz_types.go @@ -137,7 +137,8 @@ type FunctionConfiguration struct { // fails, the response contains details about the error. Environment *EnvironmentResponse `json:"environment,omitempty"` // The size of the function's /tmp directory in MB. The default value is 512, - // but it can be any whole number between 512 and 10,240 MB. + // but can be any whole number between 512 and 10,240 MB. For more information, + // see Configuring ephemeral storage (console) (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). EphemeralStorage *EphemeralStorage `json:"ephemeralStorage,omitempty"` FileSystemConfigs []*FileSystemConfig `json:"fileSystemConfigs,omitempty"` @@ -342,6 +343,8 @@ type TracingConfigResponse struct { // +kubebuilder:skipversion type VPCConfig struct { + IPv6AllowedForDualStack *bool `json:"ipv6AllowedForDualStack,omitempty"` + SecurityGroupIDs []*string `json:"securityGroupIDs,omitempty"` SubnetIDs []*string `json:"subnetIDs,omitempty"` @@ -349,6 +352,8 @@ type VPCConfig struct { // +kubebuilder:skipversion type VPCConfigResponse struct { + IPv6AllowedForDualStack *bool `json:"ipv6AllowedForDualStack,omitempty"` + SecurityGroupIDs []*string `json:"securityGroupIDs,omitempty"` SubnetIDs []*string `json:"subnetIDs,omitempty"` diff --git a/apis/lambda/v1beta1/zz_enums.go b/apis/lambda/v1beta1/zz_enums.go index 8864f25c29..4dbad2b917 100644 --- a/apis/lambda/v1beta1/zz_enums.go +++ b/apis/lambda/v1beta1/zz_enums.go @@ -153,38 +153,41 @@ const ( type Runtime string const ( - Runtime_nodejs Runtime = "nodejs" - Runtime_nodejs4_3 Runtime = "nodejs4.3" - Runtime_nodejs6_10 Runtime = "nodejs6.10" - Runtime_nodejs8_10 Runtime = "nodejs8.10" - Runtime_nodejs10_x Runtime = "nodejs10.x" - Runtime_nodejs12_x Runtime = "nodejs12.x" - Runtime_nodejs14_x Runtime = "nodejs14.x" - Runtime_nodejs16_x Runtime = "nodejs16.x" - Runtime_java8 Runtime = "java8" - Runtime_java8_al2 Runtime = "java8.al2" - Runtime_java11 Runtime = "java11" - Runtime_python2_7 Runtime = "python2.7" - Runtime_python3_6 Runtime = "python3.6" - Runtime_python3_7 Runtime = "python3.7" - Runtime_python3_8 Runtime = "python3.8" - Runtime_python3_9 Runtime = "python3.9" - Runtime_dotnetcore1_0 Runtime = "dotnetcore1.0" - Runtime_dotnetcore2_0 Runtime = "dotnetcore2.0" - Runtime_dotnetcore2_1 Runtime = "dotnetcore2.1" - Runtime_dotnetcore3_1 Runtime = "dotnetcore3.1" - Runtime_dotnet6 Runtime = "dotnet6" - Runtime_nodejs4_3_edge Runtime = "nodejs4.3-edge" - Runtime_go1_x Runtime = "go1.x" - Runtime_ruby2_5 Runtime = "ruby2.5" - Runtime_ruby2_7 Runtime = "ruby2.7" - Runtime_provided Runtime = "provided" - Runtime_provided_al2 Runtime = "provided.al2" - Runtime_nodejs18_x Runtime = "nodejs18.x" - Runtime_python3_10 Runtime = "python3.10" - Runtime_java17 Runtime = "java17" - Runtime_ruby3_2 Runtime = "ruby3.2" - Runtime_python3_11 Runtime = "python3.11" + Runtime_nodejs Runtime = "nodejs" + Runtime_nodejs4_3 Runtime = "nodejs4.3" + Runtime_nodejs6_10 Runtime = "nodejs6.10" + Runtime_nodejs8_10 Runtime = "nodejs8.10" + Runtime_nodejs10_x Runtime = "nodejs10.x" + Runtime_nodejs12_x Runtime = "nodejs12.x" + Runtime_nodejs14_x Runtime = "nodejs14.x" + Runtime_nodejs16_x Runtime = "nodejs16.x" + Runtime_java8 Runtime = "java8" + Runtime_java8_al2 Runtime = "java8.al2" + Runtime_java11 Runtime = "java11" + Runtime_python2_7 Runtime = "python2.7" + Runtime_python3_6 Runtime = "python3.6" + Runtime_python3_7 Runtime = "python3.7" + Runtime_python3_8 Runtime = "python3.8" + Runtime_python3_9 Runtime = "python3.9" + Runtime_dotnetcore1_0 Runtime = "dotnetcore1.0" + Runtime_dotnetcore2_0 Runtime = "dotnetcore2.0" + Runtime_dotnetcore2_1 Runtime = "dotnetcore2.1" + Runtime_dotnetcore3_1 Runtime = "dotnetcore3.1" + Runtime_dotnet6 Runtime = "dotnet6" + Runtime_nodejs4_3_edge Runtime = "nodejs4.3-edge" + Runtime_go1_x Runtime = "go1.x" + Runtime_ruby2_5 Runtime = "ruby2.5" + Runtime_ruby2_7 Runtime = "ruby2.7" + Runtime_provided Runtime = "provided" + Runtime_provided_al2 Runtime = "provided.al2" + Runtime_nodejs18_x Runtime = "nodejs18.x" + Runtime_python3_10 Runtime = "python3.10" + Runtime_java17 Runtime = "java17" + Runtime_ruby3_2 Runtime = "ruby3.2" + Runtime_python3_11 Runtime = "python3.11" + Runtime_nodejs20_x Runtime = "nodejs20.x" + Runtime_provided_al2023 Runtime = "provided.al2023" + Runtime_python3_12 Runtime = "python3.12" ) type SnapStartApplyOn string diff --git a/apis/lambda/v1beta1/zz_function.go b/apis/lambda/v1beta1/zz_function.go index 7c55f15be5..839dd90698 100644 --- a/apis/lambda/v1beta1/zz_function.go +++ b/apis/lambda/v1beta1/zz_function.go @@ -46,7 +46,8 @@ type FunctionParameters struct { // Environment variables that are accessible from function code during execution. Environment *Environment `json:"environment,omitempty"` // The size of the function's /tmp directory in MB. The default value is 512, - // but can be any whole number between 512 and 10,240 MB. + // but can be any whole number between 512 and 10,240 MB. For more information, + // see Configuring ephemeral storage (console) (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). EphemeralStorage *EphemeralStorage `json:"ephemeralStorage,omitempty"` // Connection settings for an Amazon EFS file system. FileSystemConfigs []*FileSystemConfig `json:"fileSystemConfigs,omitempty"` diff --git a/apis/lambda/v1beta1/zz_generated.deepcopy.go b/apis/lambda/v1beta1/zz_generated.deepcopy.go index 5f9232c7c6..d2c7894c3a 100644 --- a/apis/lambda/v1beta1/zz_generated.deepcopy.go +++ b/apis/lambda/v1beta1/zz_generated.deepcopy.go @@ -1588,6 +1588,11 @@ func (in *TracingConfigResponse) DeepCopy() *TracingConfigResponse { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VPCConfig) DeepCopyInto(out *VPCConfig) { *out = *in + if in.IPv6AllowedForDualStack != nil { + in, out := &in.IPv6AllowedForDualStack, &out.IPv6AllowedForDualStack + *out = new(bool) + **out = **in + } if in.SecurityGroupIDs != nil { in, out := &in.SecurityGroupIDs, &out.SecurityGroupIDs *out = make([]*string, len(*in)) @@ -1625,6 +1630,11 @@ func (in *VPCConfig) DeepCopy() *VPCConfig { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VPCConfigResponse) DeepCopyInto(out *VPCConfigResponse) { *out = *in + if in.IPv6AllowedForDualStack != nil { + in, out := &in.IPv6AllowedForDualStack, &out.IPv6AllowedForDualStack + *out = new(bool) + **out = **in + } if in.SecurityGroupIDs != nil { in, out := &in.SecurityGroupIDs, &out.SecurityGroupIDs *out = make([]*string, len(*in)) diff --git a/apis/lambda/v1beta1/zz_types.go b/apis/lambda/v1beta1/zz_types.go index 8383937c11..36cd38c8c5 100644 --- a/apis/lambda/v1beta1/zz_types.go +++ b/apis/lambda/v1beta1/zz_types.go @@ -137,7 +137,8 @@ type FunctionConfiguration struct { // fails, the response contains details about the error. Environment *EnvironmentResponse `json:"environment,omitempty"` // The size of the function's /tmp directory in MB. The default value is 512, - // but it can be any whole number between 512 and 10,240 MB. + // but can be any whole number between 512 and 10,240 MB. For more information, + // see Configuring ephemeral storage (console) (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). EphemeralStorage *EphemeralStorage `json:"ephemeralStorage,omitempty"` FileSystemConfigs []*FileSystemConfig `json:"fileSystemConfigs,omitempty"` @@ -342,6 +343,8 @@ type TracingConfigResponse struct { // +kubebuilder:skipversion type VPCConfig struct { + IPv6AllowedForDualStack *bool `json:"ipv6AllowedForDualStack,omitempty"` + SecurityGroupIDs []*string `json:"securityGroupIDs,omitempty"` SubnetIDs []*string `json:"subnetIDs,omitempty"` @@ -349,6 +352,8 @@ type VPCConfig struct { // +kubebuilder:skipversion type VPCConfigResponse struct { + IPv6AllowedForDualStack *bool `json:"ipv6AllowedForDualStack,omitempty"` + SecurityGroupIDs []*string `json:"securityGroupIDs,omitempty"` SubnetIDs []*string `json:"subnetIDs,omitempty"` diff --git a/apis/mwaa/v1alpha1/zz_environment.go b/apis/mwaa/v1alpha1/zz_environment.go index 20a1d31bdf..478e29424e 100644 --- a/apis/mwaa/v1alpha1/zz_environment.go +++ b/apis/mwaa/v1alpha1/zz_environment.go @@ -34,9 +34,10 @@ type EnvironmentParameters struct { // Airflow configuration options (https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html). AirflowConfigurationOptions map[string]*string `json:"airflowConfigurationOptions,omitempty"` // The Apache Airflow version for your environment. If no value is specified, - // it defaults to the latest version. Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, - // and 2.5.1. For more information, see Apache Airflow versions on Amazon Managed - // Workflows for Apache Airflow (MWAA) (https://docs.aws.amazon.com/mwaa/latest/userguide/airflow-versions.html). + // it defaults to the latest version. For more information, see Apache Airflow + // versions on Amazon Managed Workflows for Apache Airflow (MWAA) (https://docs.aws.amazon.com/mwaa/latest/userguide/airflow-versions.html). + // + // Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, 2.5.1, 2.6.3, 2.7.2. AirflowVersion *string `json:"airflowVersion,omitempty"` // The relative path to the DAGs folder on your Amazon S3 bucket. For example, // dags. For more information, see Adding or updating DAGs (https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html). diff --git a/apis/neptune/v1alpha1/zz_db_cluster.go b/apis/neptune/v1alpha1/zz_db_cluster.go index f069880654..15a1215d74 100644 --- a/apis/neptune/v1alpha1/zz_db_cluster.go +++ b/apis/neptune/v1alpha1/zz_db_cluster.go @@ -131,8 +131,8 @@ type DBClusterParameters struct { // backups are enabled using the BackupRetentionPeriod parameter. // // The default is a 30-minute window selected at random from an 8-hour block - // of time for each Amazon Region. To see the time blocks available, see Adjusting - // the Preferred Maintenance Window (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) + // of time for each Amazon Region. To see the time blocks available, see Neptune + // Maintenance Window (https://docs.aws.amazon.com/neptune/latest/userguide/manage-console-maintaining.html#manage-console-maintaining-window) // in the Amazon Neptune User Guide. // // Constraints: @@ -152,8 +152,7 @@ type DBClusterParameters struct { // // The default is a 30-minute window selected at random from an 8-hour block // of time for each Amazon Region, occurring on a random day of the week. To - // see the time blocks available, see Adjusting the Preferred Maintenance Window - // (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) + // see the time blocks available, see Neptune Maintenance Window (https://docs.aws.amazon.com/neptune/latest/userguide/manage-console-maintaining.html#manage-console-maintaining-window) // in the Amazon Neptune User Guide. // // Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. @@ -163,7 +162,10 @@ type DBClusterParameters struct { // The Amazon Resource Name (ARN) of the source DB instance or DB cluster if // this DB cluster is created as a Read Replica. ReplicationSourceIdentifier *string `json:"replicationSourceIdentifier,omitempty"` - + // Contains the scaling configuration of a Neptune Serverless DB cluster. + // + // For more information, see Using Amazon Neptune Serverless (https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-using.html) + // in the Amazon Neptune User Guide. ServerlessV2ScalingConfiguration *ServerlessV2ScalingConfiguration `json:"serverlessV2ScalingConfiguration,omitempty"` // SourceRegion is the source region where the resource exists. This is not // sent over the wire and is only used for presigning. This value should always diff --git a/apis/opensearchservice/v1alpha1/zz_domain.go b/apis/opensearchservice/v1alpha1/zz_domain.go index 0bb5976ff1..b27979a177 100644 --- a/apis/opensearchservice/v1alpha1/zz_domain.go +++ b/apis/opensearchservice/v1alpha1/zz_domain.go @@ -78,6 +78,8 @@ type DomainParameters struct { // Elasticsearch_7.9. For more information, see Creating and managing Amazon // OpenSearch Service domains (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomains). EngineVersion *string `json:"engineVersion,omitempty"` + // The type of IP addresses supported by the endpoint for the domain. + IPAddressType *string `json:"iPAddressType,omitempty"` // Key-value pairs to configure log publishing. LogPublishingOptions map[string]*LogPublishingOption `json:"logPublishingOptions,omitempty"` // Enables node-to-node encryption. @@ -143,6 +145,8 @@ type DomainObservation struct { // Domain-specific endpoint used to submit index, search, and data upload requests // to the domain. Endpoint *string `json:"endpoint,omitempty"` + + EndpointV2 *string `json:"endpointV2,omitempty"` // The key-value pair that exists if the OpenSearch Service domain uses VPC // endpoints.. Example key, value: 'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'. Endpoints map[string]*string `json:"endpoints,omitempty"` diff --git a/apis/opensearchservice/v1alpha1/zz_enums.go b/apis/opensearchservice/v1alpha1/zz_enums.go index 3b78a9aca9..9296fc2435 100644 --- a/apis/opensearchservice/v1alpha1/zz_enums.go +++ b/apis/opensearchservice/v1alpha1/zz_enums.go @@ -95,6 +95,8 @@ const ( DescribePackagesFilterName_PackageID DescribePackagesFilterName = "PackageID" DescribePackagesFilterName_PackageName DescribePackagesFilterName = "PackageName" DescribePackagesFilterName_PackageStatus DescribePackagesFilterName = "PackageStatus" + DescribePackagesFilterName_PackageType DescribePackagesFilterName = "PackageType" + DescribePackagesFilterName_EngineVersion DescribePackagesFilterName = "EngineVersion" ) type DomainHealth string @@ -138,6 +140,13 @@ const ( EngineType_Elasticsearch EngineType = "Elasticsearch" ) +type IPAddressType string + +const ( + IPAddressType_ipv4 IPAddressType = "ipv4" + IPAddressType_dualstack IPAddressType = "dualstack" +) + type InboundConnectionStatusCode string const ( @@ -160,6 +169,24 @@ const ( LogType_AUDIT_LOGS LogType = "AUDIT_LOGS" ) +type MaintenanceStatus string + +const ( + MaintenanceStatus_PENDING MaintenanceStatus = "PENDING" + MaintenanceStatus_IN_PROGRESS MaintenanceStatus = "IN_PROGRESS" + MaintenanceStatus_COMPLETED MaintenanceStatus = "COMPLETED" + MaintenanceStatus_FAILED MaintenanceStatus = "FAILED" + MaintenanceStatus_TIMED_OUT MaintenanceStatus = "TIMED_OUT" +) + +type MaintenanceType string + +const ( + MaintenanceType_REBOOT_NODE MaintenanceType = "REBOOT_NODE" + MaintenanceType_RESTART_SEARCH_PROCESS MaintenanceType = "RESTART_SEARCH_PROCESS" + MaintenanceType_RESTART_DASHBOARD MaintenanceType = "RESTART_DASHBOARD" +) + type MasterNodeStatus string const ( @@ -340,6 +367,7 @@ type PackageType string const ( PackageType_TXT_DICTIONARY PackageType = "TXT-DICTIONARY" + PackageType_ZIP_PLUGIN PackageType = "ZIP-PLUGIN" ) type PrincipalType string diff --git a/apis/opensearchservice/v1alpha1/zz_generated.deepcopy.go b/apis/opensearchservice/v1alpha1/zz_generated.deepcopy.go index 6ceed4221a..e521166f5b 100644 --- a/apis/opensearchservice/v1alpha1/zz_generated.deepcopy.go +++ b/apis/opensearchservice/v1alpha1/zz_generated.deepcopy.go @@ -918,6 +918,26 @@ func (in *DomainList) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DomainMaintenanceDetails) DeepCopyInto(out *DomainMaintenanceDetails) { + *out = *in + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainMaintenanceDetails. +func (in *DomainMaintenanceDetails) DeepCopy() *DomainMaintenanceDetails { + if in == nil { + return nil + } + out := new(DomainMaintenanceDetails) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DomainNodesStatus) DeepCopyInto(out *DomainNodesStatus) { *out = *in @@ -1032,6 +1052,11 @@ func (in *DomainObservation) DeepCopyInto(out *DomainObservation) { *out = new(string) **out = **in } + if in.EndpointV2 != nil { + in, out := &in.EndpointV2, &out.EndpointV2 + *out = new(string) + **out = **in + } if in.Endpoints != nil { in, out := &in.Endpoints, &out.Endpoints *out = make(map[string]*string, len(*in)) @@ -1174,6 +1199,11 @@ func (in *DomainParameters) DeepCopyInto(out *DomainParameters) { *out = new(string) **out = **in } + if in.IPAddressType != nil { + in, out := &in.IPAddressType, &out.IPAddressType + *out = new(string) + **out = **in + } if in.LogPublishingOptions != nil { in, out := &in.LogPublishingOptions, &out.LogPublishingOptions *out = make(map[string]*LogPublishingOption, len(*in)) @@ -1357,6 +1387,11 @@ func (in *DomainStatus_SDK) DeepCopyInto(out *DomainStatus_SDK) { *out = new(string) **out = **in } + if in.EndpointV2 != nil { + in, out := &in.EndpointV2, &out.EndpointV2 + *out = new(string) + **out = **in + } if in.Endpoints != nil { in, out := &in.Endpoints, &out.Endpoints *out = make(map[string]*string, len(*in)) @@ -1378,6 +1413,11 @@ func (in *DomainStatus_SDK) DeepCopyInto(out *DomainStatus_SDK) { *out = new(string) **out = **in } + if in.IPAddressType != nil { + in, out := &in.IPAddressType, &out.IPAddressType + *out = new(string) + **out = **in + } if in.LogPublishingOptions != nil { in, out := &in.LogPublishingOptions, &out.LogPublishingOptions *out = make(map[string]*LogPublishingOption, len(*in)) @@ -1631,6 +1671,26 @@ func (in *EncryptionAtRestOptionsStatus) DeepCopy() *EncryptionAtRestOptionsStat return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPAddressTypeStatus) DeepCopyInto(out *IPAddressTypeStatus) { + *out = *in + if in.Options != nil { + in, out := &in.Options, &out.Options + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressTypeStatus. +func (in *IPAddressTypeStatus) DeepCopy() *IPAddressTypeStatus { + if in == nil { + return nil + } + out := new(IPAddressTypeStatus) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *InstanceTypeDetails) DeepCopyInto(out *InstanceTypeDetails) { *out = *in diff --git a/apis/opensearchservice/v1alpha1/zz_types.go b/apis/opensearchservice/v1alpha1/zz_types.go index 327ae2eab8..eb3fb8a3f6 100644 --- a/apis/opensearchservice/v1alpha1/zz_types.go +++ b/apis/opensearchservice/v1alpha1/zz_types.go @@ -261,6 +261,13 @@ type DomainInfo struct { DomainName *string `json:"domainName,omitempty"` } +// +kubebuilder:skipversion +type DomainMaintenanceDetails struct { + // The name of an OpenSearch Service domain. Domain names are unique across + // the domains owned by an account within an Amazon Web Services Region. + DomainName *string `json:"domainName,omitempty"` +} + // +kubebuilder:skipversion type DomainNodesStatus struct { InstanceType *string `json:"instanceType,omitempty"` @@ -333,11 +340,16 @@ type DomainStatus_SDK struct { // The domain endpoint to which index and search requests are submitted. For // example, search-imdb-movies-oopcnjfn6ugo.eu-west-1.es.amazonaws.com or doc-imdb-movies-oopcnjfn6u.eu-west-1.es.amazonaws.com. Endpoint *string `json:"endpoint,omitempty"` + // The domain endpoint to which index and search requests are submitted. For + // example, search-imdb-movies-oopcnjfn6ugo.eu-west-1.es.amazonaws.com or doc-imdb-movies-oopcnjfn6u.eu-west-1.es.amazonaws.com. + EndpointV2 *string `json:"endpointV2,omitempty"` Endpoints map[string]*string `json:"endpoints,omitempty"` EngineVersion *string `json:"engineVersion,omitempty"` + IPAddressType *string `json:"iPAddressType,omitempty"` + LogPublishingOptions map[string]*LogPublishingOption `json:"logPublishingOptions,omitempty"` // Enables or disables node-to-node encryption. For more information, see Node-to-node // encryption for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ntn.html). @@ -427,6 +439,11 @@ type EncryptionAtRestOptionsStatus struct { Options *EncryptionAtRestOptions `json:"options,omitempty"` } +// +kubebuilder:skipversion +type IPAddressTypeStatus struct { + Options *string `json:"options,omitempty"` +} + // +kubebuilder:skipversion type InstanceTypeDetails struct { AdvancedSecurityEnabled *bool `json:"advancedSecurityEnabled,omitempty"` diff --git a/apis/rds/generator-config.yaml b/apis/rds/generator-config.yaml index 57dbb7c65f..00a1e08995 100644 --- a/apis/rds/generator-config.yaml +++ b/apis/rds/generator-config.yaml @@ -88,4 +88,6 @@ ignore: - DBSnapshot - DBSubnetGroup - EventSubscription - - BlueGreenDeployment \ No newline at end of file + - BlueGreenDeployment + - Integration + - TenantDatabase \ No newline at end of file diff --git a/apis/rds/v1alpha1/zz_db_cluster.go b/apis/rds/v1alpha1/zz_db_cluster.go index e90bf80450..2f3737ab35 100644 --- a/apis/rds/v1alpha1/zz_db_cluster.go +++ b/apis/rds/v1alpha1/zz_db_cluster.go @@ -38,7 +38,7 @@ type DBClusterParameters struct { AllocatedStorage *int64 `json:"allocatedStorage,omitempty"` // Specifies whether major version upgrades are allowed. // - // Valid for Cluster Type: Aurora DB clusters only + // Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters // // Constraints: // @@ -547,6 +547,8 @@ type DBClusterParameters struct { // * If the subnets are part of a VPC that has an internet gateway attached // to it, the DB cluster is public. PubliclyAccessible *bool `json:"publiclyAccessible,omitempty"` + // Reserved for future use. + RdsCustomClusterConfiguration *RdsCustomClusterConfiguration `json:"rdsCustomClusterConfiguration,omitempty"` // The Amazon Resource Name (ARN) of the source DB instance or DB cluster if // this DB cluster is created as a read replica. // @@ -634,6 +636,9 @@ type DBClusterObservation struct { AssociatedRoles []*DBClusterRole `json:"associatedRoles,omitempty"` // The time when a stopped DB cluster is restarted automatically. AutomaticRestartTime *metav1.Time `json:"automaticRestartTime,omitempty"` + // The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services + // Backup. + AWSBackupRecoveryPointARN *string `json:"awsBackupRecoveryPointARN,omitempty"` // The number of change records stored for Backtrack. BacktrackConsumedChangeRecords *int64 `json:"backtrackConsumedChangeRecords,omitempty"` // The current capacity of an Aurora Serverless v1 DB cluster. The capacity @@ -688,7 +693,7 @@ type DBClusterObservation struct { Endpoint *string `json:"endpoint,omitempty"` // The version of the database engine. EngineVersion *string `json:"engineVersion,omitempty"` - // Specifies whether write forwarding is enabled for a secondary cluster in + // Indicates whether write forwarding is enabled for a secondary cluster in // an Aurora global database. Because write forwarding takes time to enable, // check the value of GlobalWriteForwardingStatus to confirm that the request // has completed before using the write forwarding feature for this cluster. @@ -718,7 +723,7 @@ type DBClusterObservation struct { IOOptimizedNextAllowedModificationTime *metav1.Time `json:"iOOptimizedNextAllowedModificationTime,omitempty"` // The latest time to which a database can be restored with point-in-time restore. LatestRestorableTime *metav1.Time `json:"latestRestorableTime,omitempty"` - // Specifies whether an Aurora DB cluster has in-cluster write forwarding enabled, + // Indicates whether an Aurora DB cluster has in-cluster write forwarding enabled, // not enabled, requested, or is in the process of enabling it. LocalWriteForwardingStatus *string `json:"localWriteForwardingStatus,omitempty"` // The secret managed by RDS in Amazon Web Services Secrets Manager for the diff --git a/apis/rds/v1alpha1/zz_db_instance.go b/apis/rds/v1alpha1/zz_db_instance.go index b70ad41921..374d377937 100644 --- a/apis/rds/v1alpha1/zz_db_instance.go +++ b/apis/rds/v1alpha1/zz_db_instance.go @@ -377,6 +377,8 @@ type DBInstanceParameters struct { // Oracle background processes. If you don't specify a SID, the value defaults // to RDSCDB. The Oracle SID is also the name of your CDB. DBSystemID *string `json:"dbSystemID,omitempty"` + // Indicates whether the DB instance has a dedicated log volume (DLV) enabled. + DedicatedLogVolume *bool `json:"dedicatedLogVolume,omitempty"` // Specifies whether the DB instance has deletion protection enabled. The database // can't be deleted when deletion protection is enabled. By default, deletion // protection isn't enabled. For more information, see Deleting a DB Instance @@ -690,6 +692,20 @@ type DBInstanceParameters struct { // // * RDS Custom MultiAZ *bool `json:"multiAZ,omitempty"` + // Specifies whether to use the multi-tenant configuration or the single-tenant + // configuration (default). This parameter only applies to RDS for Oracle container + // database (CDB) engines. + // + // Note the following restrictions: + // + // * The DB engine that you specify in the request must support the multi-tenant + // configuration. If you attempt to enable the multi-tenant configuration + // on a DB engine that doesn't support it, the request fails. + // + // * If you specify the multi-tenant configuration when you create your DB + // instance, you can't later modify this DB instance to use the single-tenant + // configuration. + MultiTenant *bool `json:"multiTenant,omitempty"` // The name of the NCHAR character set for the Oracle DB instance. // // This setting doesn't apply to RDS Custom DB instances. @@ -1013,6 +1029,12 @@ type DBInstanceObservation struct { IAMDatabaseAuthenticationEnabled *bool `json:"iamDatabaseAuthenticationEnabled,omitempty"` // The date and time when the DB instance was created. InstanceCreateTime *metav1.Time `json:"instanceCreateTime,omitempty"` + // Indicates whether an upgrade is recommended for the storage file system configuration + // on the DB instance. To migrate to the preferred configuration, you can either + // create a blue/green deployment, or create a read replica from the DB instance. + // For more information, see Upgrading the storage file system for a DB instance + // (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.UpgradeFileSystem). + IsStorageConfigUpgradeAvailable *bool `json:"isStorageConfigUpgradeAvailable,omitempty"` // The latest time to which a database in this DB instance can be restored with // point-in-time restore. LatestRestorableTime *metav1.Time `json:"latestRestorableTime,omitempty"` diff --git a/apis/rds/v1alpha1/zz_enums.go b/apis/rds/v1alpha1/zz_enums.go index 77f96f945a..a01fd1fb71 100644 --- a/apis/rds/v1alpha1/zz_enums.go +++ b/apis/rds/v1alpha1/zz_enums.go @@ -157,6 +157,18 @@ const ( IAMAuthMode_ENABLED IAMAuthMode = "ENABLED" ) +type IntegrationStatus string + +const ( + IntegrationStatus_creating IntegrationStatus = "creating" + IntegrationStatus_active IntegrationStatus = "active" + IntegrationStatus_modifying IntegrationStatus = "modifying" + IntegrationStatus_failed IntegrationStatus = "failed" + IntegrationStatus_deleting IntegrationStatus = "deleting" + IntegrationStatus_syncing IntegrationStatus = "syncing" + IntegrationStatus_needs_attention IntegrationStatus = "needs_attention" +) + type LocalWriteForwardingStatus string const ( diff --git a/apis/rds/v1alpha1/zz_generated.deepcopy.go b/apis/rds/v1alpha1/zz_generated.deepcopy.go index af1318c0d5..7d4313b127 100644 --- a/apis/rds/v1alpha1/zz_generated.deepcopy.go +++ b/apis/rds/v1alpha1/zz_generated.deepcopy.go @@ -310,6 +310,11 @@ func (in *ClusterPendingModifiedValues) DeepCopyInto(out *ClusterPendingModified *out = new(PendingCloudwatchLogsExports) (*in).DeepCopyInto(*out) } + if in.RdsCustomClusterConfiguration != nil { + in, out := &in.RdsCustomClusterConfiguration, &out.RdsCustomClusterConfiguration + *out = new(RdsCustomClusterConfiguration) + (*in).DeepCopyInto(*out) + } if in.StorageType != nil { in, out := &in.StorageType, &out.StorageType *out = new(string) @@ -987,6 +992,11 @@ func (in *DBClusterAutomatedBackup) DeepCopyInto(out *DBClusterAutomatedBackup) } } } + if in.AWSBackupRecoveryPointARN != nil { + in, out := &in.AWSBackupRecoveryPointARN, &out.AWSBackupRecoveryPointARN + *out = new(string) + **out = **in + } if in.BackupRetentionPeriod != nil { in, out := &in.BackupRetentionPeriod, &out.BackupRetentionPeriod *out = new(int64) @@ -1280,6 +1290,11 @@ func (in *DBClusterObservation) DeepCopyInto(out *DBClusterObservation) { in, out := &in.AutomaticRestartTime, &out.AutomaticRestartTime *out = (*in).DeepCopy() } + if in.AWSBackupRecoveryPointARN != nil { + in, out := &in.AWSBackupRecoveryPointARN, &out.AWSBackupRecoveryPointARN + *out = new(string) + **out = **in + } if in.BacktrackConsumedChangeRecords != nil { in, out := &in.BacktrackConsumedChangeRecords, &out.BacktrackConsumedChangeRecords *out = new(int64) @@ -1960,6 +1975,11 @@ func (in *DBClusterParameters) DeepCopyInto(out *DBClusterParameters) { *out = new(bool) **out = **in } + if in.RdsCustomClusterConfiguration != nil { + in, out := &in.RdsCustomClusterConfiguration, &out.RdsCustomClusterConfiguration + *out = new(RdsCustomClusterConfiguration) + (*in).DeepCopyInto(*out) + } if in.ReplicationSourceIdentifier != nil { in, out := &in.ReplicationSourceIdentifier, &out.ReplicationSourceIdentifier *out = new(string) @@ -2327,6 +2347,11 @@ func (in *DBCluster_SDK) DeepCopyInto(out *DBCluster_SDK) { } } } + if in.AWSBackupRecoveryPointARN != nil { + in, out := &in.AWSBackupRecoveryPointARN, &out.AWSBackupRecoveryPointARN + *out = new(string) + **out = **in + } if in.BacktrackConsumedChangeRecords != nil { in, out := &in.BacktrackConsumedChangeRecords, &out.BacktrackConsumedChangeRecords *out = new(int64) @@ -2617,6 +2642,11 @@ func (in *DBCluster_SDK) DeepCopyInto(out *DBCluster_SDK) { *out = new(bool) **out = **in } + if in.RdsCustomClusterConfiguration != nil { + in, out := &in.RdsCustomClusterConfiguration, &out.RdsCustomClusterConfiguration + *out = new(RdsCustomClusterConfiguration) + (*in).DeepCopyInto(*out) + } if in.ReadReplicaIdentifiers != nil { in, out := &in.ReadReplicaIdentifiers, &out.ReadReplicaIdentifiers *out = make([]*string, len(*in)) @@ -2801,6 +2831,11 @@ func (in *DBEngineVersion) DeepCopyInto(out *DBEngineVersion) { *out = new(bool) **out = **in } + if in.SupportsIntegrations != nil { + in, out := &in.SupportsIntegrations, &out.SupportsIntegrations + *out = new(bool) + **out = **in + } if in.SupportsLocalWriteForwarding != nil { in, out := &in.SupportsLocalWriteForwarding, &out.SupportsLocalWriteForwarding *out = new(bool) @@ -2884,6 +2919,11 @@ func (in *DBInstanceAutomatedBackup) DeepCopyInto(out *DBInstanceAutomatedBackup *out = new(string) **out = **in } + if in.AWSBackupRecoveryPointARN != nil { + in, out := &in.AWSBackupRecoveryPointARN, &out.AWSBackupRecoveryPointARN + *out = new(string) + **out = **in + } if in.BackupRetentionPeriod != nil { in, out := &in.BackupRetentionPeriod, &out.BackupRetentionPeriod *out = new(int64) @@ -2925,6 +2965,11 @@ func (in *DBInstanceAutomatedBackup) DeepCopyInto(out *DBInstanceAutomatedBackup *out = new(string) **out = **in } + if in.DedicatedLogVolume != nil { + in, out := &in.DedicatedLogVolume, &out.DedicatedLogVolume + *out = new(bool) + **out = **in + } if in.Encrypted != nil { in, out := &in.Encrypted, &out.Encrypted *out = new(bool) @@ -2969,6 +3014,11 @@ func (in *DBInstanceAutomatedBackup) DeepCopyInto(out *DBInstanceAutomatedBackup *out = new(string) **out = **in } + if in.MultiTenant != nil { + in, out := &in.MultiTenant, &out.MultiTenant + *out = new(bool) + **out = **in + } if in.OptionGroupName != nil { in, out := &in.OptionGroupName, &out.OptionGroupName *out = new(string) @@ -3260,6 +3310,11 @@ func (in *DBInstanceObservation) DeepCopyInto(out *DBInstanceObservation) { in, out := &in.InstanceCreateTime, &out.InstanceCreateTime *out = (*in).DeepCopy() } + if in.IsStorageConfigUpgradeAvailable != nil { + in, out := &in.IsStorageConfigUpgradeAvailable, &out.IsStorageConfigUpgradeAvailable + *out = new(bool) + **out = **in + } if in.LatestRestorableTime != nil { in, out := &in.LatestRestorableTime, &out.LatestRestorableTime *out = (*in).DeepCopy() @@ -3474,6 +3529,11 @@ func (in *DBInstanceParameters) DeepCopyInto(out *DBInstanceParameters) { *out = new(string) **out = **in } + if in.DedicatedLogVolume != nil { + in, out := &in.DedicatedLogVolume, &out.DedicatedLogVolume + *out = new(bool) + **out = **in + } if in.DeletionProtection != nil { in, out := &in.DeletionProtection, &out.DeletionProtection *out = new(bool) @@ -3596,6 +3656,11 @@ func (in *DBInstanceParameters) DeepCopyInto(out *DBInstanceParameters) { *out = new(bool) **out = **in } + if in.MultiTenant != nil { + in, out := &in.MultiTenant, &out.MultiTenant + *out = new(bool) + **out = **in + } if in.NcharCharacterSetName != nil { in, out := &in.NcharCharacterSetName, &out.NcharCharacterSetName *out = new(string) @@ -4135,6 +4200,11 @@ func (in *DBInstance_SDK) DeepCopyInto(out *DBInstance_SDK) { *out = new(string) **out = **in } + if in.DedicatedLogVolume != nil { + in, out := &in.DedicatedLogVolume, &out.DedicatedLogVolume + *out = new(bool) + **out = **in + } if in.DeletionProtection != nil { in, out := &in.DeletionProtection, &out.DeletionProtection *out = new(bool) @@ -4196,6 +4266,11 @@ func (in *DBInstance_SDK) DeepCopyInto(out *DBInstance_SDK) { *out = new(int64) **out = **in } + if in.IsStorageConfigUpgradeAvailable != nil { + in, out := &in.IsStorageConfigUpgradeAvailable, &out.IsStorageConfigUpgradeAvailable + *out = new(bool) + **out = **in + } if in.KMSKeyID != nil { in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) @@ -4245,6 +4320,11 @@ func (in *DBInstance_SDK) DeepCopyInto(out *DBInstance_SDK) { *out = new(bool) **out = **in } + if in.MultiTenant != nil { + in, out := &in.MultiTenant, &out.MultiTenant + *out = new(bool) + **out = **in + } if in.NcharCharacterSetName != nil { in, out := &in.NcharCharacterSetName, &out.NcharCharacterSetName *out = new(string) @@ -5025,6 +5105,11 @@ func (in *DBSnapshot) DeepCopyInto(out *DBSnapshot) { *out = new(string) **out = **in } + if in.DedicatedLogVolume != nil { + in, out := &in.DedicatedLogVolume, &out.DedicatedLogVolume + *out = new(bool) + **out = **in + } if in.Encrypted != nil { in, out := &in.Encrypted, &out.Encrypted *out = new(bool) @@ -5069,6 +5154,11 @@ func (in *DBSnapshot) DeepCopyInto(out *DBSnapshot) { *out = new(string) **out = **in } + if in.MultiTenant != nil { + in, out := &in.MultiTenant, &out.MultiTenant + *out = new(bool) + **out = **in + } if in.OptionGroupName != nil { in, out := &in.OptionGroupName, &out.OptionGroupName *out = new(string) @@ -5220,6 +5310,91 @@ func (in *DBSnapshotAttributesResult) DeepCopy() *DBSnapshotAttributesResult { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DBSnapshotTenantDatabase) DeepCopyInto(out *DBSnapshotTenantDatabase) { + *out = *in + if in.CharacterSetName != nil { + in, out := &in.CharacterSetName, &out.CharacterSetName + *out = new(string) + **out = **in + } + if in.DBInstanceIdentifier != nil { + in, out := &in.DBInstanceIdentifier, &out.DBInstanceIdentifier + *out = new(string) + **out = **in + } + if in.DBSnapshotIdentifier != nil { + in, out := &in.DBSnapshotIdentifier, &out.DBSnapshotIdentifier + *out = new(string) + **out = **in + } + if in.DBSnapshotTenantDatabaseARN != nil { + in, out := &in.DBSnapshotTenantDatabaseARN, &out.DBSnapshotTenantDatabaseARN + *out = new(string) + **out = **in + } + if in.DBIResourceID != nil { + in, out := &in.DBIResourceID, &out.DBIResourceID + *out = new(string) + **out = **in + } + if in.EngineName != nil { + in, out := &in.EngineName, &out.EngineName + *out = new(string) + **out = **in + } + if in.MasterUsername != nil { + in, out := &in.MasterUsername, &out.MasterUsername + *out = new(string) + **out = **in + } + if in.NcharCharacterSetName != nil { + in, out := &in.NcharCharacterSetName, &out.NcharCharacterSetName + *out = new(string) + **out = **in + } + if in.SnapshotType != nil { + in, out := &in.SnapshotType, &out.SnapshotType + *out = new(string) + **out = **in + } + if in.TagList != nil { + in, out := &in.TagList, &out.TagList + *out = make([]*Tag, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(Tag) + (*in).DeepCopyInto(*out) + } + } + } + if in.TenantDBName != nil { + in, out := &in.TenantDBName, &out.TenantDBName + *out = new(string) + **out = **in + } + if in.TenantDatabaseCreateTime != nil { + in, out := &in.TenantDatabaseCreateTime, &out.TenantDatabaseCreateTime + *out = (*in).DeepCopy() + } + if in.TenantDatabaseResourceID != nil { + in, out := &in.TenantDatabaseResourceID, &out.TenantDatabaseResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBSnapshotTenantDatabase. +func (in *DBSnapshotTenantDatabase) DeepCopy() *DBSnapshotTenantDatabase { + if in == nil { + return nil + } + out := new(DBSnapshotTenantDatabase) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DBSubnetGroup) DeepCopyInto(out *DBSubnetGroup) { *out = *in @@ -6064,6 +6239,66 @@ func (in *IPRange) DeepCopy() *IPRange { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Integration) DeepCopyInto(out *Integration) { + *out = *in + if in.CreateTime != nil { + in, out := &in.CreateTime, &out.CreateTime + *out = (*in).DeepCopy() + } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make([]*Tag, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(Tag) + (*in).DeepCopyInto(*out) + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Integration. +func (in *Integration) DeepCopy() *Integration { + if in == nil { + return nil + } + out := new(Integration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntegrationError) DeepCopyInto(out *IntegrationError) { + *out = *in + if in.ErrorCode != nil { + in, out := &in.ErrorCode, &out.ErrorCode + *out = new(string) + **out = **in + } + if in.ErrorMessage != nil { + in, out := &in.ErrorMessage, &out.ErrorMessage + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationError. +func (in *IntegrationError) DeepCopy() *IntegrationError { + if in == nil { + return nil + } + out := new(IntegrationError) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MasterUserSecret) DeepCopyInto(out *MasterUserSecret) { *out = *in @@ -6895,6 +7130,11 @@ func (in *OrderableDBInstanceOption) DeepCopyInto(out *OrderableDBInstanceOption *out = new(bool) **out = **in } + if in.SupportsDedicatedLogVolume != nil { + in, out := &in.SupportsDedicatedLogVolume, &out.SupportsDedicatedLogVolume + *out = new(bool) + **out = **in + } if in.SupportsEnhancedMonitoring != nil { in, out := &in.SupportsEnhancedMonitoring, &out.SupportsEnhancedMonitoring *out = new(bool) @@ -7170,6 +7410,11 @@ func (in *PendingModifiedValues) DeepCopyInto(out *PendingModifiedValues) { *out = new(string) **out = **in } + if in.DedicatedLogVolume != nil { + in, out := &in.DedicatedLogVolume, &out.DedicatedLogVolume + *out = new(bool) + **out = **in + } if in.Engine != nil { in, out := &in.Engine, &out.Engine *out = new(string) @@ -7205,6 +7450,11 @@ func (in *PendingModifiedValues) DeepCopyInto(out *PendingModifiedValues) { *out = new(bool) **out = **in } + if in.MultiTenant != nil { + in, out := &in.MultiTenant, &out.MultiTenant + *out = new(bool) + **out = **in + } if in.PendingCloudwatchLogsExports != nil { in, out := &in.PendingCloudwatchLogsExports, &out.PendingCloudwatchLogsExports *out = new(PendingCloudwatchLogsExports) @@ -7380,6 +7630,31 @@ func (in *Range) DeepCopy() *Range { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RdsCustomClusterConfiguration) DeepCopyInto(out *RdsCustomClusterConfiguration) { + *out = *in + if in.InterconnectSubnetID != nil { + in, out := &in.InterconnectSubnetID, &out.InterconnectSubnetID + *out = new(string) + **out = **in + } + if in.TransitGatewayMulticastDomainID != nil { + in, out := &in.TransitGatewayMulticastDomainID, &out.TransitGatewayMulticastDomainID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RdsCustomClusterConfiguration. +func (in *RdsCustomClusterConfiguration) DeepCopy() *RdsCustomClusterConfiguration { + if in == nil { + return nil + } + out := new(RdsCustomClusterConfiguration) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RecurringCharge) DeepCopyInto(out *RecurringCharge) { *out = *in @@ -7957,6 +8232,106 @@ func (in *TargetHealth) DeepCopy() *TargetHealth { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TenantDatabase) DeepCopyInto(out *TenantDatabase) { + *out = *in + if in.CharacterSetName != nil { + in, out := &in.CharacterSetName, &out.CharacterSetName + *out = new(string) + **out = **in + } + if in.DBInstanceIdentifier != nil { + in, out := &in.DBInstanceIdentifier, &out.DBInstanceIdentifier + *out = new(string) + **out = **in + } + if in.DBIResourceID != nil { + in, out := &in.DBIResourceID, &out.DBIResourceID + *out = new(string) + **out = **in + } + if in.DeletionProtection != nil { + in, out := &in.DeletionProtection, &out.DeletionProtection + *out = new(bool) + **out = **in + } + if in.MasterUsername != nil { + in, out := &in.MasterUsername, &out.MasterUsername + *out = new(string) + **out = **in + } + if in.NcharCharacterSetName != nil { + in, out := &in.NcharCharacterSetName, &out.NcharCharacterSetName + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } + if in.TagList != nil { + in, out := &in.TagList, &out.TagList + *out = make([]*Tag, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(Tag) + (*in).DeepCopyInto(*out) + } + } + } + if in.TenantDBName != nil { + in, out := &in.TenantDBName, &out.TenantDBName + *out = new(string) + **out = **in + } + if in.TenantDatabaseARN != nil { + in, out := &in.TenantDatabaseARN, &out.TenantDatabaseARN + *out = new(string) + **out = **in + } + if in.TenantDatabaseCreateTime != nil { + in, out := &in.TenantDatabaseCreateTime, &out.TenantDatabaseCreateTime + *out = (*in).DeepCopy() + } + if in.TenantDatabaseResourceID != nil { + in, out := &in.TenantDatabaseResourceID, &out.TenantDatabaseResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantDatabase. +func (in *TenantDatabase) DeepCopy() *TenantDatabase { + if in == nil { + return nil + } + out := new(TenantDatabase) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TenantDatabasePendingModifiedValues) DeepCopyInto(out *TenantDatabasePendingModifiedValues) { + *out = *in + if in.TenantDBName != nil { + in, out := &in.TenantDBName, &out.TenantDBName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantDatabasePendingModifiedValues. +func (in *TenantDatabasePendingModifiedValues) DeepCopy() *TenantDatabasePendingModifiedValues { + if in == nil { + return nil + } + out := new(TenantDatabasePendingModifiedValues) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Timezone) DeepCopyInto(out *Timezone) { *out = *in @@ -8026,6 +8401,11 @@ func (in *UpgradeTarget) DeepCopyInto(out *UpgradeTarget) { *out = new(bool) **out = **in } + if in.SupportsIntegrations != nil { + in, out := &in.SupportsIntegrations, &out.SupportsIntegrations + *out = new(bool) + **out = **in + } if in.SupportsLocalWriteForwarding != nil { in, out := &in.SupportsLocalWriteForwarding, &out.SupportsLocalWriteForwarding *out = new(bool) @@ -8133,6 +8513,26 @@ func (in *VPCSecurityGroupMembership) DeepCopy() *VPCSecurityGroupMembership { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ValidDBInstanceModificationsMessage) DeepCopyInto(out *ValidDBInstanceModificationsMessage) { + *out = *in + if in.SupportsDedicatedLogVolume != nil { + in, out := &in.SupportsDedicatedLogVolume, &out.SupportsDedicatedLogVolume + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidDBInstanceModificationsMessage. +func (in *ValidDBInstanceModificationsMessage) DeepCopy() *ValidDBInstanceModificationsMessage { + if in == nil { + return nil + } + out := new(ValidDBInstanceModificationsMessage) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ValidStorageOptions) DeepCopyInto(out *ValidStorageOptions) { *out = *in diff --git a/apis/rds/v1alpha1/zz_types.go b/apis/rds/v1alpha1/zz_types.go index 89219eaa33..60a0fc05b3 100644 --- a/apis/rds/v1alpha1/zz_types.go +++ b/apis/rds/v1alpha1/zz_types.go @@ -114,6 +114,8 @@ type ClusterPendingModifiedValues struct { // A list of the log types whose configuration is still pending. In other words, // these log types are in the process of being activated or deactivated. PendingCloudwatchLogsExports *PendingCloudwatchLogsExports `json:"pendingCloudwatchLogsExports,omitempty"` + // Reserved for future use. + RdsCustomClusterConfiguration *RdsCustomClusterConfiguration `json:"rdsCustomClusterConfiguration,omitempty"` StorageType *string `json:"storageType,omitempty"` } @@ -157,6 +159,8 @@ type DBClusterAutomatedBackup struct { AvailabilityZones []*string `json:"availabilityZones,omitempty"` + AWSBackupRecoveryPointARN *string `json:"awsBackupRecoveryPointARN,omitempty"` + BackupRetentionPeriod *int64 `json:"backupRetentionPeriod,omitempty"` ClusterCreateTime *metav1.Time `json:"clusterCreateTime,omitempty"` @@ -343,6 +347,8 @@ type DBCluster_SDK struct { AvailabilityZones []*string `json:"availabilityZones,omitempty"` + AWSBackupRecoveryPointARN *string `json:"awsBackupRecoveryPointARN,omitempty"` + BacktrackConsumedChangeRecords *int64 `json:"backtrackConsumedChangeRecords,omitempty"` BacktrackWindow *int64 `json:"backtrackWindow,omitempty"` @@ -455,6 +461,8 @@ type DBCluster_SDK struct { PreferredMaintenanceWindow *string `json:"preferredMaintenanceWindow,omitempty"` PubliclyAccessible *bool `json:"publiclyAccessible,omitempty"` + // Reserved for future use. + RdsCustomClusterConfiguration *RdsCustomClusterConfiguration `json:"rdsCustomClusterConfiguration,omitempty"` ReadReplicaIdentifiers []*string `json:"readReplicaIdentifiers,omitempty"` @@ -523,6 +531,8 @@ type DBEngineVersion struct { SupportsGlobalDatabases *bool `json:"supportsGlobalDatabases,omitempty"` + SupportsIntegrations *bool `json:"supportsIntegrations,omitempty"` + SupportsLocalWriteForwarding *bool `json:"supportsLocalWriteForwarding,omitempty"` SupportsLogExportsToCloudwatchLogs *bool `json:"supportsLogExportsToCloudwatchLogs,omitempty"` @@ -541,6 +551,8 @@ type DBInstanceAutomatedBackup struct { AvailabilityZone *string `json:"availabilityZone,omitempty"` + AWSBackupRecoveryPointARN *string `json:"awsBackupRecoveryPointARN,omitempty"` + BackupRetentionPeriod *int64 `json:"backupRetentionPeriod,omitempty"` BackupTarget *string `json:"backupTarget,omitempty"` @@ -555,6 +567,8 @@ type DBInstanceAutomatedBackup struct { DBIResourceID *string `json:"dbiResourceID,omitempty"` + DedicatedLogVolume *bool `json:"dedicatedLogVolume,omitempty"` + Encrypted *bool `json:"encrypted,omitempty"` Engine *string `json:"engine,omitempty"` @@ -573,6 +587,8 @@ type DBInstanceAutomatedBackup struct { MasterUsername *string `json:"masterUsername,omitempty"` + MultiTenant *bool `json:"multiTenant,omitempty"` + OptionGroupName *string `json:"optionGroupName,omitempty"` Port *int64 `json:"port,omitempty"` @@ -696,6 +712,8 @@ type DBInstance_SDK struct { DBIResourceID *string `json:"dbiResourceID,omitempty"` + DedicatedLogVolume *bool `json:"dedicatedLogVolume,omitempty"` + DeletionProtection *bool `json:"deletionProtection,omitempty"` DomainMemberships []*DomainMembership `json:"domainMemberships,omitempty"` @@ -727,6 +745,8 @@ type DBInstance_SDK struct { IOPS *int64 `json:"iops,omitempty"` + IsStorageConfigUpgradeAvailable *bool `json:"isStorageConfigUpgradeAvailable,omitempty"` + KMSKeyID *string `json:"kmsKeyID,omitempty"` LatestRestorableTime *metav1.Time `json:"latestRestorableTime,omitempty"` @@ -765,6 +785,8 @@ type DBInstance_SDK struct { MultiAZ *bool `json:"multiAZ,omitempty"` + MultiTenant *bool `json:"multiTenant,omitempty"` + NcharCharacterSetName *string `json:"ncharCharacterSetName,omitempty"` NetworkType *string `json:"networkType,omitempty"` @@ -958,6 +980,8 @@ type DBSnapshot struct { DBIResourceID *string `json:"dbiResourceID,omitempty"` + DedicatedLogVolume *bool `json:"dedicatedLogVolume,omitempty"` + Encrypted *bool `json:"encrypted,omitempty"` Engine *string `json:"engine,omitempty"` @@ -976,6 +1000,8 @@ type DBSnapshot struct { MasterUsername *string `json:"masterUsername,omitempty"` + MultiTenant *bool `json:"multiTenant,omitempty"` + OptionGroupName *string `json:"optionGroupName,omitempty"` OriginalSnapshotCreateTime *metav1.Time `json:"originalSnapshotCreateTime,omitempty"` @@ -1024,6 +1050,36 @@ type DBSnapshotAttributesResult struct { DBSnapshotIdentifier *string `json:"dbSnapshotIdentifier,omitempty"` } +// +kubebuilder:skipversion +type DBSnapshotTenantDatabase struct { + CharacterSetName *string `json:"characterSetName,omitempty"` + + DBInstanceIdentifier *string `json:"dbInstanceIdentifier,omitempty"` + + DBSnapshotIdentifier *string `json:"dbSnapshotIdentifier,omitempty"` + + DBSnapshotTenantDatabaseARN *string `json:"dbSnapshotTenantDatabaseARN,omitempty"` + + DBIResourceID *string `json:"dbiResourceID,omitempty"` + + EngineName *string `json:"engineName,omitempty"` + + MasterUsername *string `json:"masterUsername,omitempty"` + + NcharCharacterSetName *string `json:"ncharCharacterSetName,omitempty"` + + SnapshotType *string `json:"snapshotType,omitempty"` + // A list of tags. For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + // in the Amazon RDS User Guide. + TagList []*Tag `json:"tagList,omitempty"` + + TenantDBName *string `json:"tenantDBName,omitempty"` + + TenantDatabaseCreateTime *metav1.Time `json:"tenantDatabaseCreateTime,omitempty"` + + TenantDatabaseResourceID *string `json:"tenantDatabaseResourceID,omitempty"` +} + // +kubebuilder:skipversion type DBSubnetGroup struct { DBSubnetGroupARN *string `json:"dbSubnetGroupARN,omitempty"` @@ -1225,6 +1281,23 @@ type IPRange struct { Status *string `json:"status,omitempty"` } +// +kubebuilder:skipversion +type Integration struct { + CreateTime *metav1.Time `json:"createTime,omitempty"` + + KMSKeyID *string `json:"kmsKeyID,omitempty"` + // A list of tags. For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + // in the Amazon RDS User Guide. + Tags []*Tag `json:"tags,omitempty"` +} + +// +kubebuilder:skipversion +type IntegrationError struct { + ErrorCode *string `json:"errorCode,omitempty"` + + ErrorMessage *string `json:"errorMessage,omitempty"` +} + // +kubebuilder:skipversion type MasterUserSecret struct { KMSKeyID *string `json:"kmsKeyID,omitempty"` @@ -1429,6 +1502,8 @@ type OrderableDBInstanceOption struct { SupportsClusters *bool `json:"supportsClusters,omitempty"` + SupportsDedicatedLogVolume *bool `json:"supportsDedicatedLogVolume,omitempty"` + SupportsEnhancedMonitoring *bool `json:"supportsEnhancedMonitoring,omitempty"` SupportsGlobalDatabases *bool `json:"supportsGlobalDatabases,omitempty"` @@ -1518,6 +1593,8 @@ type PendingModifiedValues struct { DBSubnetGroupName *string `json:"dbSubnetGroupName,omitempty"` + DedicatedLogVolume *bool `json:"dedicatedLogVolume,omitempty"` + Engine *string `json:"engine,omitempty"` EngineVersion *string `json:"engineVersion,omitempty"` @@ -1531,6 +1608,8 @@ type PendingModifiedValues struct { MasterUserPassword *string `json:"masterUserPassword,omitempty"` MultiAZ *bool `json:"multiAZ,omitempty"` + + MultiTenant *bool `json:"multiTenant,omitempty"` // A list of the log types whose configuration is still pending. In other words, // these log types are in the process of being activated or deactivated. PendingCloudwatchLogsExports *PendingCloudwatchLogsExports `json:"pendingCloudwatchLogsExports,omitempty"` @@ -1562,6 +1641,13 @@ type Range struct { To *int64 `json:"to,omitempty"` } +// +kubebuilder:skipversion +type RdsCustomClusterConfiguration struct { + InterconnectSubnetID *string `json:"interconnectSubnetID,omitempty"` + + TransitGatewayMulticastDomainID *string `json:"transitGatewayMulticastDomainID,omitempty"` +} + // +kubebuilder:skipversion type RecurringCharge struct { RecurringChargeFrequency *string `json:"recurringChargeFrequency,omitempty"` @@ -1711,6 +1797,39 @@ type TargetHealth struct { Description *string `json:"description,omitempty"` } +// +kubebuilder:skipversion +type TenantDatabase struct { + CharacterSetName *string `json:"characterSetName,omitempty"` + + DBInstanceIdentifier *string `json:"dbInstanceIdentifier,omitempty"` + + DBIResourceID *string `json:"dbiResourceID,omitempty"` + + DeletionProtection *bool `json:"deletionProtection,omitempty"` + + MasterUsername *string `json:"masterUsername,omitempty"` + + NcharCharacterSetName *string `json:"ncharCharacterSetName,omitempty"` + + Status *string `json:"status,omitempty"` + // A list of tags. For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + // in the Amazon RDS User Guide. + TagList []*Tag `json:"tagList,omitempty"` + + TenantDBName *string `json:"tenantDBName,omitempty"` + + TenantDatabaseARN *string `json:"tenantDatabaseARN,omitempty"` + + TenantDatabaseCreateTime *metav1.Time `json:"tenantDatabaseCreateTime,omitempty"` + + TenantDatabaseResourceID *string `json:"tenantDatabaseResourceID,omitempty"` +} + +// +kubebuilder:skipversion +type TenantDatabasePendingModifiedValues struct { + TenantDBName *string `json:"tenantDBName,omitempty"` +} + // +kubebuilder:skipversion type Timezone struct { TimezoneName *string `json:"timezoneName,omitempty"` @@ -1734,6 +1853,8 @@ type UpgradeTarget struct { SupportsGlobalDatabases *bool `json:"supportsGlobalDatabases,omitempty"` + SupportsIntegrations *bool `json:"supportsIntegrations,omitempty"` + SupportsLocalWriteForwarding *bool `json:"supportsLocalWriteForwarding,omitempty"` SupportsParallelQuery *bool `json:"supportsParallelQuery,omitempty"` @@ -1764,6 +1885,11 @@ type VPCSecurityGroupMembership struct { VPCSecurityGroupID *string `json:"vpcSecurityGroupID,omitempty"` } +// +kubebuilder:skipversion +type ValidDBInstanceModificationsMessage struct { + SupportsDedicatedLogVolume *bool `json:"supportsDedicatedLogVolume,omitempty"` +} + // +kubebuilder:skipversion type ValidStorageOptions struct { StorageType *string `json:"storageType,omitempty"` diff --git a/apis/secretsmanager/v1beta1/zz_secret.go b/apis/secretsmanager/v1beta1/zz_secret.go index 7fef7b561e..a718d6120f 100644 --- a/apis/secretsmanager/v1beta1/zz_secret.go +++ b/apis/secretsmanager/v1beta1/zz_secret.go @@ -72,25 +72,8 @@ type SecretParameters struct { // you should use single quotes to avoid confusion with the double quotes required // in the JSON text. // - // The following restrictions apply to tags: - // - // * Maximum number of tags per secret: 50 - // - // * Maximum key length: 127 Unicode characters in UTF-8 - // - // * Maximum value length: 255 Unicode characters in UTF-8 - // - // * Tag keys and values are case sensitive. - // - // * Do not use the aws: prefix in your tag names or values because Amazon - // Web Services reserves it for Amazon Web Services use. You can't edit or - // delete tag names or values with this prefix. Tags with this prefix do - // not count against your tags per secret limit. - // - // * If you use your tagging schema across multiple services and resources, - // other services might have restrictions on allowed characters. Generally - // allowed characters: letters, spaces, and numbers representable in UTF-8, - // plus the following special characters: + - = . _ : / @. + // For tag quotas and naming restrictions, see Service quotas for Tagging (https://docs.aws.amazon.com/general/latest/gr/arg.html#taged-reference-quotas) + // in the Amazon Web Services General Reference guide. Tags []*Tag `json:"tags,omitempty"` CustomSecretParameters `json:",inline"` } diff --git a/apis/servicecatalog/v1alpha1/zz_enums.go b/apis/servicecatalog/v1alpha1/zz_enums.go index 7c03b2eaa0..99a3b8ed09 100644 --- a/apis/servicecatalog/v1alpha1/zz_enums.go +++ b/apis/servicecatalog/v1alpha1/zz_enums.go @@ -122,6 +122,7 @@ const ( ProductType_MARKETPLACE ProductType = "MARKETPLACE" ProductType_TERRAFORM_OPEN_SOURCE ProductType = "TERRAFORM_OPEN_SOURCE" ProductType_TERRAFORM_CLOUD ProductType = "TERRAFORM_CLOUD" + ProductType_EXTERNAL ProductType = "EXTERNAL" ) type ProductViewFilterBy string @@ -202,6 +203,7 @@ const ( ProvisioningArtifactType_MARKETPLACE_CAR ProvisioningArtifactType = "MARKETPLACE_CAR" ProvisioningArtifactType_TERRAFORM_OPEN_SOURCE ProvisioningArtifactType = "TERRAFORM_OPEN_SOURCE" ProvisioningArtifactType_TERRAFORM_CLOUD ProvisioningArtifactType = "TERRAFORM_CLOUD" + ProvisioningArtifactType_EXTERNAL ProvisioningArtifactType = "EXTERNAL" ) type RecordStatus string diff --git a/apis/servicecatalog/v1alpha1/zz_provisioned_product.go b/apis/servicecatalog/v1alpha1/zz_provisioned_product.go index f378cee196..8d51969b5e 100644 --- a/apis/servicecatalog/v1alpha1/zz_provisioned_product.go +++ b/apis/servicecatalog/v1alpha1/zz_provisioned_product.go @@ -104,7 +104,7 @@ type ProvisionedProductObservation struct { // The user-friendly name of the provisioned product. ProvisionedProductName *string `json:"provisionedProductName,omitempty"` // The type of provisioned product. The supported values are CFN_STACK, CFN_STACKSET, - // TERRAFORM_OPEN_SOURCE, and TERRAFORM_CLOUD. + // TERRAFORM_OPEN_SOURCE, TERRAFORM_CLOUD, and EXTERNAL. ProvisionedProductType *string `json:"provisionedProductType,omitempty"` // The errors that occurred. RecordErrors []*RecordError `json:"recordErrors,omitempty"` diff --git a/apis/sesv2/v1alpha1/zz_enums.go b/apis/sesv2/v1alpha1/zz_enums.go index 3f6db83c7c..41e5ecd1fa 100644 --- a/apis/sesv2/v1alpha1/zz_enums.go +++ b/apis/sesv2/v1alpha1/zz_enums.go @@ -327,6 +327,16 @@ const ( TLSPolicy_OPTIONAL TLSPolicy = "OPTIONAL" ) +type VerificationError string + +const ( + VerificationError_SERVICE_ERROR VerificationError = "SERVICE_ERROR" + VerificationError_DNS_SERVER_ERROR VerificationError = "DNS_SERVER_ERROR" + VerificationError_HOST_NOT_FOUND VerificationError = "HOST_NOT_FOUND" + VerificationError_TYPE_NOT_FOUND VerificationError = "TYPE_NOT_FOUND" + VerificationError_INVALID_VALUE VerificationError = "INVALID_VALUE" +) + type VerificationStatus string const ( diff --git a/apis/sesv2/v1alpha1/zz_generated.deepcopy.go b/apis/sesv2/v1alpha1/zz_generated.deepcopy.go index 543e7869b0..ae5870a479 100644 --- a/apis/sesv2/v1alpha1/zz_generated.deepcopy.go +++ b/apis/sesv2/v1alpha1/zz_generated.deepcopy.go @@ -1122,6 +1122,36 @@ func (in *ReputationOptions) DeepCopy() *ReputationOptions { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SOARecord) DeepCopyInto(out *SOARecord) { + *out = *in + if in.AdminEmail != nil { + in, out := &in.AdminEmail, &out.AdminEmail + *out = new(string) + **out = **in + } + if in.PrimaryNameServer != nil { + in, out := &in.PrimaryNameServer, &out.PrimaryNameServer + *out = new(string) + **out = **in + } + if in.SerialNumber != nil { + in, out := &in.SerialNumber, &out.SerialNumber + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SOARecord. +func (in *SOARecord) DeepCopy() *SOARecord { + if in == nil { + return nil + } + out := new(SOARecord) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SendingOptions) DeepCopyInto(out *SendingOptions) { *out = *in @@ -1351,3 +1381,36 @@ func (in *VdmOptions) DeepCopy() *VdmOptions { in.DeepCopyInto(out) return out } + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VerificationInfo) DeepCopyInto(out *VerificationInfo) { + *out = *in + if in.ErrorType != nil { + in, out := &in.ErrorType, &out.ErrorType + *out = new(string) + **out = **in + } + if in.LastCheckedTimestamp != nil { + in, out := &in.LastCheckedTimestamp, &out.LastCheckedTimestamp + *out = (*in).DeepCopy() + } + if in.LastSuccessTimestamp != nil { + in, out := &in.LastSuccessTimestamp, &out.LastSuccessTimestamp + *out = (*in).DeepCopy() + } + if in.SOARecord != nil { + in, out := &in.SOARecord, &out.SOARecord + *out = new(SOARecord) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerificationInfo. +func (in *VerificationInfo) DeepCopy() *VerificationInfo { + if in == nil { + return nil + } + out := new(VerificationInfo) + in.DeepCopyInto(out) + return out +} diff --git a/apis/sesv2/v1alpha1/zz_types.go b/apis/sesv2/v1alpha1/zz_types.go index 0e73295b5b..0990d18227 100644 --- a/apis/sesv2/v1alpha1/zz_types.go +++ b/apis/sesv2/v1alpha1/zz_types.go @@ -228,6 +228,15 @@ type ReputationOptions struct { ReputationMetricsEnabled *bool `json:"reputationMetricsEnabled,omitempty"` } +// +kubebuilder:skipversion +type SOARecord struct { + AdminEmail *string `json:"adminEmail,omitempty"` + + PrimaryNameServer *string `json:"primaryNameServer,omitempty"` + + SerialNumber *int64 `json:"serialNumber,omitempty"` +} + // +kubebuilder:skipversion type SendingOptions struct { SendingEnabled *bool `json:"sendingEnabled,omitempty"` @@ -307,3 +316,15 @@ type VdmOptions struct { // to the Guardian. GuardianOptions *GuardianOptions `json:"guardianOptions,omitempty"` } + +// +kubebuilder:skipversion +type VerificationInfo struct { + ErrorType *string `json:"errorType,omitempty"` + + LastCheckedTimestamp *metav1.Time `json:"lastCheckedTimestamp,omitempty"` + + LastSuccessTimestamp *metav1.Time `json:"lastSuccessTimestamp,omitempty"` + // An object that contains information about the start of authority (SOA) record + // associated with the identity. + SOARecord *SOARecord `json:"sOARecord,omitempty"` +} diff --git a/apis/sfn/v1alpha1/zz_enums.go b/apis/sfn/v1alpha1/zz_enums.go index f277b3350a..ba514c8cf6 100644 --- a/apis/sfn/v1alpha1/zz_enums.go +++ b/apis/sfn/v1alpha1/zz_enums.go @@ -18,14 +18,30 @@ limitations under the License. package v1alpha1 +type ExecutionRedriveFilter string + +const ( + ExecutionRedriveFilter_REDRIVEN ExecutionRedriveFilter = "REDRIVEN" + ExecutionRedriveFilter_NOT_REDRIVEN ExecutionRedriveFilter = "NOT_REDRIVEN" +) + +type ExecutionRedriveStatus string + +const ( + ExecutionRedriveStatus_REDRIVABLE ExecutionRedriveStatus = "REDRIVABLE" + ExecutionRedriveStatus_NOT_REDRIVABLE ExecutionRedriveStatus = "NOT_REDRIVABLE" + ExecutionRedriveStatus_REDRIVABLE_BY_MAP_RUN ExecutionRedriveStatus = "REDRIVABLE_BY_MAP_RUN" +) + type ExecutionStatus string const ( - ExecutionStatus_RUNNING ExecutionStatus = "RUNNING" - ExecutionStatus_SUCCEEDED ExecutionStatus = "SUCCEEDED" - ExecutionStatus_FAILED ExecutionStatus = "FAILED" - ExecutionStatus_TIMED_OUT ExecutionStatus = "TIMED_OUT" - ExecutionStatus_ABORTED ExecutionStatus = "ABORTED" + ExecutionStatus_RUNNING ExecutionStatus = "RUNNING" + ExecutionStatus_SUCCEEDED ExecutionStatus = "SUCCEEDED" + ExecutionStatus_FAILED ExecutionStatus = "FAILED" + ExecutionStatus_TIMED_OUT ExecutionStatus = "TIMED_OUT" + ExecutionStatus_ABORTED ExecutionStatus = "ABORTED" + ExecutionStatus_PENDING_REDRIVE ExecutionStatus = "PENDING_REDRIVE" ) type HistoryEventType string @@ -90,6 +106,8 @@ const ( HistoryEventType_MapRunFailed HistoryEventType = "MapRunFailed" HistoryEventType_MapRunStarted HistoryEventType = "MapRunStarted" HistoryEventType_MapRunSucceeded HistoryEventType = "MapRunSucceeded" + HistoryEventType_ExecutionRedriven HistoryEventType = "ExecutionRedriven" + HistoryEventType_MapRunRedriven HistoryEventType = "MapRunRedriven" ) type LogLevel string diff --git a/apis/sfn/v1alpha1/zz_generated.deepcopy.go b/apis/sfn/v1alpha1/zz_generated.deepcopy.go index a92675cd04..bca866d0be 100644 --- a/apis/sfn/v1alpha1/zz_generated.deepcopy.go +++ b/apis/sfn/v1alpha1/zz_generated.deepcopy.go @@ -301,6 +301,10 @@ func (in *ExecutionListItem) DeepCopyInto(out *ExecutionListItem) { *out = new(string) **out = **in } + if in.RedriveDate != nil { + in, out := &in.RedriveDate, &out.RedriveDate + *out = (*in).DeepCopy() + } if in.StartDate != nil { in, out := &in.StartDate, &out.StartDate *out = (*in).DeepCopy() diff --git a/apis/sfn/v1alpha1/zz_types.go b/apis/sfn/v1alpha1/zz_types.go index 691647aa15..8528f2b569 100644 --- a/apis/sfn/v1alpha1/zz_types.go +++ b/apis/sfn/v1alpha1/zz_types.go @@ -52,6 +52,8 @@ type ExecutionListItem struct { Name *string `json:"name,omitempty"` + RedriveDate *metav1.Time `json:"redriveDate,omitempty"` + StartDate *metav1.Time `json:"startDate,omitempty"` StateMachineAliasARN *string `json:"stateMachineAliasARN,omitempty"` diff --git a/apis/transfer/v1alpha1/zz_user.go b/apis/transfer/v1alpha1/zz_user.go index 73781fb4f0..973a7ea359 100644 --- a/apis/transfer/v1alpha1/zz_user.go +++ b/apis/transfer/v1alpha1/zz_user.go @@ -33,6 +33,8 @@ type UserParameters struct { // using the client. // // A HomeDirectory example is /bucket_name/home/mydirectory. + // + // The HomeDirectory parameter is only used if HomeDirectoryType is set to PATH. HomeDirectory *string `json:"homeDirectory,omitempty"` // Logical directory mappings that specify what Amazon S3 or Amazon EFS paths // and keys should be visible to your user and how you want to make them visible. @@ -57,10 +59,15 @@ type UserParameters struct { HomeDirectoryMappings []*HomeDirectoryMapEntry `json:"homeDirectoryMappings,omitempty"` // The type of landing directory (folder) that you want your users' home directory // to be when they log in to the server. If you set it to PATH, the user will - // see the absolute Amazon S3 bucket or EFS paths as is in their file transfer - // protocol clients. If you set it LOGICAL, you need to provide mappings in - // the HomeDirectoryMappings for how you want to make Amazon S3 or Amazon EFS - // paths visible to your users. + // see the absolute Amazon S3 bucket or Amazon EFS path as is in their file + // transfer protocol clients. If you set it to LOGICAL, you need to provide + // mappings in the HomeDirectoryMappings for how you want to make Amazon S3 + // or Amazon EFS paths visible to your users. + // + // If HomeDirectoryType is LOGICAL, you must provide mappings, using the HomeDirectoryMappings + // parameter. If, on the other hand, HomeDirectoryType is PATH, you provide + // an absolute path using the HomeDirectory parameter. You cannot have both + // HomeDirectory and HomeDirectoryMappings in your template. HomeDirectoryType *string `json:"homeDirectoryType,omitempty"` // A session policy for your user so that you can use the same Identity and // Access Management (IAM) role across multiple users. This policy scopes down diff --git a/go.mod b/go.mod index d7b167a328..8d93a52bb4 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/aws-controllers-k8s/code-generator v0.26.1 - github.com/aws/aws-sdk-go v1.44.334 + github.com/aws/aws-sdk-go v1.47.11 github.com/aws/aws-sdk-go-v2 v1.31.0 github.com/aws/aws-sdk-go-v2/config v1.27.39 github.com/aws/aws-sdk-go-v2/credentials v1.17.37 diff --git a/go.sum b/go.sum index 4f5b879fc1..93143b092b 100644 --- a/go.sum +++ b/go.sum @@ -77,8 +77,8 @@ github.com/aws-controllers-k8s/pkg v0.0.4 h1:fQX18NZZG6eVKdG3WWp/oE7QJgFe7Dz/Ubl github.com/aws-controllers-k8s/pkg v0.0.4/go.mod h1:LC/9DlYrXu8FWNwLquZLq1WhcyRo7qXb7upRLAEosQk= github.com/aws-controllers-k8s/runtime v0.26.0 h1:XKqygFzHSBtM74Ov9IroZbyCVeYei9Eskp4aKbJ2SFw= github.com/aws-controllers-k8s/runtime v0.26.0/go.mod h1:jizDzKikL09cueIuA9ZxoZ+4pfn5U7oKW5s/ZAqOA6E= -github.com/aws/aws-sdk-go v1.44.334 h1:h2bdbGb//fez6Sv6PaYv868s9liDeoYM6hYsAqTB4MU= -github.com/aws/aws-sdk-go v1.44.334/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= +github.com/aws/aws-sdk-go v1.47.11 h1:Dol+MA+hQblbnXUI3Vk9qvoekU6O1uDEuAItezjiWNQ= +github.com/aws/aws-sdk-go v1.47.11/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/aws/aws-sdk-go-v2 v1.31.0 h1:3V05LbxTSItI5kUqNwhJrrrY1BAXxXt0sN0l72QmG5U= github.com/aws/aws-sdk-go-v2 v1.31.0/go.mod h1:ztolYtaEUtdpf9Wftr31CJfLVjOnD/CVRkKOOYgF8hA= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.5 h1:xDAuZTn4IMm8o1LnBZvmrL8JA1io4o3YWNXgohbf20g= @@ -810,7 +810,6 @@ golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwY golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= @@ -888,14 +887,12 @@ golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= golang.org/x/term v0.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8= golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= @@ -909,7 +906,6 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= -golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= diff --git a/package/crds/docdb.aws.crossplane.io_dbinstances.yaml b/package/crds/docdb.aws.crossplane.io_dbinstances.yaml index 897ff3dfe1..cfc6bdc0bd 100644 --- a/package/crds/docdb.aws.crossplane.io_dbinstances.yaml +++ b/package/crds/docdb.aws.crossplane.io_dbinstances.yaml @@ -453,10 +453,15 @@ spec: snapshots are retained. format: int64 type: integer - caCertificateIdentifier: - description: The identifier of the CA certificate for this DB - instance. - type: string + certificateDetails: + description: The details of the DB instance's server certificate. + properties: + cAIdentifier: + type: string + validTill: + format: date-time + type: string + type: object dbClusterIdentifier: description: |- Contains the name of the cluster that the instance is a member of if the diff --git a/package/crds/ec2.aws.crossplane.io_launchtemplates.yaml b/package/crds/ec2.aws.crossplane.io_launchtemplates.yaml index 805cd94c8b..8dd5fe282c 100644 --- a/package/crds/ec2.aws.crossplane.io_launchtemplates.yaml +++ b/package/crds/ec2.aws.crossplane.io_launchtemplates.yaml @@ -481,6 +481,20 @@ spec: deviceIndex: format: int64 type: integer + enaSrdSpecification: + description: Launch instances with ENA Express settings + configured from your launch template. + properties: + enaSrdEnabled: + type: boolean + enaSrdUDPSpecification: + description: Configures ENA Express for UDP network + traffic from your launch template. + properties: + enaSrdUDPEnabled: + type: boolean + type: object + type: object groups: items: type: string diff --git a/package/crds/ec2.aws.crossplane.io_launchtemplateversions.yaml b/package/crds/ec2.aws.crossplane.io_launchtemplateversions.yaml index e557c3f74b..b9da22241d 100644 --- a/package/crds/ec2.aws.crossplane.io_launchtemplateversions.yaml +++ b/package/crds/ec2.aws.crossplane.io_launchtemplateversions.yaml @@ -482,6 +482,20 @@ spec: deviceIndex: format: int64 type: integer + enaSrdSpecification: + description: Launch instances with ENA Express settings + configured from your launch template. + properties: + enaSrdEnabled: + type: boolean + enaSrdUDPSpecification: + description: Configures ENA Express for UDP network + traffic from your launch template. + properties: + enaSrdUDPEnabled: + type: boolean + type: object + type: object groups: items: type: string @@ -1165,8 +1179,10 @@ spec: you can't specify InstanceRequirements. - For more information, see Attribute-based instance type selection for EC2 - Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), + For more information, see Create a mixed instances group using attribute-based + instance type selection (https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html) + in the Amazon EC2 Auto Scaling User Guide, and also Attribute-based instance + type selection for EC2 Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), Attribute-based instance type selection for Spot Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html), and Spot placement score (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) in the Amazon EC2 User Guide. @@ -1381,6 +1397,37 @@ spec: deviceIndex: format: int64 type: integer + enaSrdSpecification: + description: |- + ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology + to increase the maximum bandwidth used per stream and minimize tail latency + of network traffic between EC2 instances. With ENA Express, you can communicate + between two EC2 instances in the same subnet within the same account, or + in different accounts. Both sending and receiving instances must have ENA + Express enabled. + + + To improve the reliability of network packet delivery, ENA Express reorders + network packets on the receiving end by default. However, some UDP-based + applications are designed to handle network packets that are out of order + to reduce the overhead for packet delivery at the network layer. When ENA + Express is enabled, you can specify whether UDP network traffic uses it. + properties: + enaSrdEnabled: + type: boolean + enaSrdUDPSpecification: + description: |- + ENA Express is compatible with both TCP and UDP transport protocols. When + it's enabled, TCP traffic automatically uses it. However, some UDP-based + applications are designed to handle network packets that are out of order, + without a need for retransmission, such as live video broadcasting or other + near-real-time applications. For UDP traffic, you can specify whether to + use ENA Express, based on your application environment needs. + properties: + enaSrdUDPEnabled: + type: boolean + type: object + type: object groups: items: type: string diff --git a/package/crds/ecs.aws.crossplane.io_taskdefinitionfamilies.yaml b/package/crds/ecs.aws.crossplane.io_taskdefinitionfamilies.yaml index 09287254dd..cbc855b430 100644 --- a/package/crds/ecs.aws.crossplane.io_taskdefinitionfamilies.yaml +++ b/package/crds/ecs.aws.crossplane.io_taskdefinitionfamilies.yaml @@ -199,26 +199,72 @@ spec: * UNHEALTHY-The container health check has failed. - * UNKNOWN-The container health check is being evaluated or there's no - container health check defined. + * UNKNOWN-The container health check is being evaluated, there's no container + health check defined, or Amazon ECS doesn't have the health status of + the container. - The following describes the possible healthStatus values for a task. The - container health check status of non-essential containers don't have an effect - on the health status of a task. + The following describes the possible healthStatus values based on the container + health checker status of essential containers in the task with the following + priority order (high to low): + + + * UNHEALTHY-One or more essential containers have failed their health + check. + + + * UNKNOWN-Any essential container running within the task is in an UNKNOWN + state and no other essential containers have an UNHEALTHY state. * HEALTHY-All essential containers within the task have passed their health checks. - * UNHEALTHY-One or more essential containers have failed their health - check. + Consider the following task health example with 2 containers. + + + * If Container1 is UNHEALTHY and Container2 is UNKNOWN, the task health + is UNHEALTHY. + + + * If Container1 is UNHEALTHY and Container2 is HEALTHY, the task health + is UNHEALTHY. + + + * If Container1 is HEALTHY and Container2 is UNKNOWN, the task health + is UNKNOWN. + + + * If Container1 is HEALTHY and Container2 is HEALTHY, the task health + is HEALTHY. + + + Consider the following task health example with 3 containers. + + + * If Container1 is UNHEALTHY and Container2 is UNKNOWN, and Container3 + is UNKNOWN, the task health is UNHEALTHY. + + + * If Container1 is UNHEALTHY and Container2 is UNKNOWN, and Container3 + is HEALTHY, the task health is UNHEALTHY. + + + * If Container1 is UNHEALTHY and Container2 is HEALTHY, and Container3 + is HEALTHY, the task health is UNHEALTHY. + + + * If Container1 is HEALTHY and Container2 is UNKNOWN, and Container3 is + HEALTHY, the task health is UNKNOWN. + + + * If Container1 is HEALTHY and Container2 is UNKNOWN, and Container3 is + UNKNOWN, the task health is UNKNOWN. - * UNKNOWN-The essential containers within the task are still having their - health checks evaluated, there are only nonessential containers with health - checks defined, or there are no container health checks defined. + * If Container1 is HEALTHY and Container2 is HEALTHY, and Container3 is + HEALTHY, the task health is HEALTHY. If a task is run manually, and not as part of a service, the task will continue @@ -1602,26 +1648,72 @@ spec: * UNHEALTHY-The container health check has failed. - * UNKNOWN-The container health check is being evaluated or there's no - container health check defined. + * UNKNOWN-The container health check is being evaluated, there's no container + health check defined, or Amazon ECS doesn't have the health status of + the container. - The following describes the possible healthStatus values for a task. The - container health check status of non-essential containers don't have an effect - on the health status of a task. + The following describes the possible healthStatus values based on the container + health checker status of essential containers in the task with the following + priority order (high to low): + + + * UNHEALTHY-One or more essential containers have failed their health + check. + + + * UNKNOWN-Any essential container running within the task is in an UNKNOWN + state and no other essential containers have an UNHEALTHY state. * HEALTHY-All essential containers within the task have passed their health checks. - * UNHEALTHY-One or more essential containers have failed their health - check. + Consider the following task health example with 2 containers. + + + * If Container1 is UNHEALTHY and Container2 is UNKNOWN, the task health + is UNHEALTHY. + + + * If Container1 is UNHEALTHY and Container2 is HEALTHY, the task health + is UNHEALTHY. + + + * If Container1 is HEALTHY and Container2 is UNKNOWN, the task health + is UNKNOWN. + + + * If Container1 is HEALTHY and Container2 is HEALTHY, the task health + is HEALTHY. + + + Consider the following task health example with 3 containers. + + + * If Container1 is UNHEALTHY and Container2 is UNKNOWN, and Container3 + is UNKNOWN, the task health is UNHEALTHY. + + + * If Container1 is UNHEALTHY and Container2 is UNKNOWN, and Container3 + is HEALTHY, the task health is UNHEALTHY. + + + * If Container1 is UNHEALTHY and Container2 is HEALTHY, and Container3 + is HEALTHY, the task health is UNHEALTHY. + + + * If Container1 is HEALTHY and Container2 is UNKNOWN, and Container3 is + HEALTHY, the task health is UNKNOWN. + + + * If Container1 is HEALTHY and Container2 is UNKNOWN, and Container3 is + UNKNOWN, the task health is UNKNOWN. - * UNKNOWN-The essential containers within the task are still having their - health checks evaluated, there are only nonessential containers with health - checks defined, or there are no container health checks defined. + * If Container1 is HEALTHY and Container2 is HEALTHY, and Container3 is + HEALTHY, the task health is HEALTHY. If a task is run manually, and not as part of a service, the task will continue diff --git a/package/crds/ecs.aws.crossplane.io_taskdefinitions.yaml b/package/crds/ecs.aws.crossplane.io_taskdefinitions.yaml index bd412adc41..74e9d1bc07 100644 --- a/package/crds/ecs.aws.crossplane.io_taskdefinitions.yaml +++ b/package/crds/ecs.aws.crossplane.io_taskdefinitions.yaml @@ -198,26 +198,72 @@ spec: * UNHEALTHY-The container health check has failed. - * UNKNOWN-The container health check is being evaluated or there's no - container health check defined. + * UNKNOWN-The container health check is being evaluated, there's no container + health check defined, or Amazon ECS doesn't have the health status of + the container. - The following describes the possible healthStatus values for a task. The - container health check status of non-essential containers don't have an effect - on the health status of a task. + The following describes the possible healthStatus values based on the container + health checker status of essential containers in the task with the following + priority order (high to low): + + + * UNHEALTHY-One or more essential containers have failed their health + check. + + + * UNKNOWN-Any essential container running within the task is in an UNKNOWN + state and no other essential containers have an UNHEALTHY state. * HEALTHY-All essential containers within the task have passed their health checks. - * UNHEALTHY-One or more essential containers have failed their health - check. + Consider the following task health example with 2 containers. + + + * If Container1 is UNHEALTHY and Container2 is UNKNOWN, the task health + is UNHEALTHY. + + + * If Container1 is UNHEALTHY and Container2 is HEALTHY, the task health + is UNHEALTHY. + + + * If Container1 is HEALTHY and Container2 is UNKNOWN, the task health + is UNKNOWN. + + + * If Container1 is HEALTHY and Container2 is HEALTHY, the task health + is HEALTHY. + + Consider the following task health example with 3 containers. - * UNKNOWN-The essential containers within the task are still having their - health checks evaluated, there are only nonessential containers with health - checks defined, or there are no container health checks defined. + + * If Container1 is UNHEALTHY and Container2 is UNKNOWN, and Container3 + is UNKNOWN, the task health is UNHEALTHY. + + + * If Container1 is UNHEALTHY and Container2 is UNKNOWN, and Container3 + is HEALTHY, the task health is UNHEALTHY. + + + * If Container1 is UNHEALTHY and Container2 is HEALTHY, and Container3 + is HEALTHY, the task health is UNHEALTHY. + + + * If Container1 is HEALTHY and Container2 is UNKNOWN, and Container3 is + HEALTHY, the task health is UNKNOWN. + + + * If Container1 is HEALTHY and Container2 is UNKNOWN, and Container3 is + UNKNOWN, the task health is UNKNOWN. + + + * If Container1 is HEALTHY and Container2 is HEALTHY, and Container3 is + HEALTHY, the task health is HEALTHY. If a task is run manually, and not as part of a service, the task will continue @@ -821,21 +867,35 @@ spec: pidMode: description: |- The process namespace to use for the containers in the task. The valid values - are host or task. If host is specified, then all containers within the tasks - that specified the host PID mode on the same container instance share the - same process namespace with the host Amazon EC2 instance. If task is specified, - all containers within the specified task share the same process namespace. - If no value is specified, the default is a private namespace. For more information, - see PID settings (https://docs.docker.com/engine/reference/run/#pid-settings---pid) + are host or task. On Fargate for Linux containers, the only valid value is + task. For example, monitoring sidecars might need pidMode to access information + about other containers running in the same task. + + + If host is specified, all containers within the tasks that specified the + host PID mode on the same container instance share the same process namespace + with the host Amazon EC2 instance. + + + If task is specified, all containers within the specified task share the + same process namespace. + + + If no value is specified, the default is a private namespace for each container. + For more information, see PID settings (https://docs.docker.com/engine/reference/run/#pid-settings---pid) in the Docker run reference. - If the host PID mode is used, be aware that there is a heightened risk of - undesired process namespace expose. For more information, see Docker security - (https://docs.docker.com/engine/security/security/). + If the host PID mode is used, there's a heightened risk of undesired process + namespace exposure. For more information, see Docker security (https://docs.docker.com/engine/security/security/). - This parameter is not supported for Windows containers or tasks run on Fargate. + This parameter is not supported for Windows containers. + + + This parameter is only supported for tasks that are hosted on Fargate if + the tasks are using platform version 1.4.0 or later (Linux). This isn't supported + for Windows containers on Fargate. type: string placementConstraints: description: |- @@ -1600,26 +1660,72 @@ spec: * UNHEALTHY-The container health check has failed. - * UNKNOWN-The container health check is being evaluated or there's no - container health check defined. + * UNKNOWN-The container health check is being evaluated, there's no container + health check defined, or Amazon ECS doesn't have the health status of + the container. - The following describes the possible healthStatus values for a task. The - container health check status of non-essential containers don't have an effect - on the health status of a task. + The following describes the possible healthStatus values based on the container + health checker status of essential containers in the task with the following + priority order (high to low): + + + * UNHEALTHY-One or more essential containers have failed their health + check. + + + * UNKNOWN-Any essential container running within the task is in an UNKNOWN + state and no other essential containers have an UNHEALTHY state. * HEALTHY-All essential containers within the task have passed their health checks. - * UNHEALTHY-One or more essential containers have failed their health - check. + Consider the following task health example with 2 containers. + + + * If Container1 is UNHEALTHY and Container2 is UNKNOWN, the task health + is UNHEALTHY. + + + * If Container1 is UNHEALTHY and Container2 is HEALTHY, the task health + is UNHEALTHY. + + + * If Container1 is HEALTHY and Container2 is UNKNOWN, the task health + is UNKNOWN. + + + * If Container1 is HEALTHY and Container2 is HEALTHY, the task health + is HEALTHY. + + + Consider the following task health example with 3 containers. + + + * If Container1 is UNHEALTHY and Container2 is UNKNOWN, and Container3 + is UNKNOWN, the task health is UNHEALTHY. + + + * If Container1 is UNHEALTHY and Container2 is UNKNOWN, and Container3 + is HEALTHY, the task health is UNHEALTHY. + + + * If Container1 is UNHEALTHY and Container2 is HEALTHY, and Container3 + is HEALTHY, the task health is UNHEALTHY. + + + * If Container1 is HEALTHY and Container2 is UNKNOWN, and Container3 is + HEALTHY, the task health is UNKNOWN. + + + * If Container1 is HEALTHY and Container2 is UNKNOWN, and Container3 is + UNKNOWN, the task health is UNKNOWN. - * UNKNOWN-The essential containers within the task are still having their - health checks evaluated, there are only nonessential containers with health - checks defined, or there are no container health checks defined. + * If Container1 is HEALTHY and Container2 is HEALTHY, and Container3 is + HEALTHY, the task health is HEALTHY. If a task is run manually, and not as part of a service, the task will continue diff --git a/package/crds/efs.aws.crossplane.io_filesystems.yaml b/package/crds/efs.aws.crossplane.io_filesystems.yaml index 9012c91df4..340da32ebb 100644 --- a/package/crds/efs.aws.crossplane.io_filesystems.yaml +++ b/package/crds/efs.aws.crossplane.io_filesystems.yaml @@ -225,6 +225,9 @@ spec: The maxIO mode is not supported on file systems using One Zone storage classes. + + + Default is generalPurpose. type: string provisionedThroughputInMibps: description: |- diff --git a/package/crds/eks.aws.crossplane.io_addons.yaml b/package/crds/eks.aws.crossplane.io_addons.yaml index 9a8a082e84..c98251757a 100644 --- a/package/crds/eks.aws.crossplane.io_addons.yaml +++ b/package/crds/eks.aws.crossplane.io_addons.yaml @@ -191,8 +191,11 @@ spec: value. - * Preserve – Not supported. You can set this value when updating an - add-on though. For more information, see UpdateAddon (https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html). + * Preserve – This is similar to the NONE option. If the self-managed + version of the add-on is installed on your cluster Amazon EKS doesn't + change the add-on resource properties. Creation of the add-on might fail + if conflicts are detected. This option works differently during the update + operation. For more information, see UpdateAddon (https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html). If you don't currently have the self-managed version of the add-on installed diff --git a/package/crds/firehose.aws.crossplane.io_deliverystreams.yaml b/package/crds/firehose.aws.crossplane.io_deliverystreams.yaml index 24c29bdd47..1ffee9e8a7 100644 --- a/package/crds/firehose.aws.crossplane.io_deliverystreams.yaml +++ b/package/crds/firehose.aws.crossplane.io_deliverystreams.yaml @@ -197,7 +197,9 @@ spec: type: string type: object vpcConfiguration: - description: The details of the VPC of the Amazon ES destination. + description: |- + The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch Serverless + destination. properties: roleARN: type: string @@ -240,6 +242,15 @@ spec: type: object clusterEndpoint: type: string + documentIDOptions: + description: |- + Indicates the method for setting up document ID. The supported methods are + Kinesis Data Firehose generated document ID and OpenSearch Service generated + document ID. + properties: + defaultDocumentIDFormat: + type: string + type: object domainARN: type: string indexName: @@ -339,7 +350,9 @@ spec: typeName: type: string vpcConfiguration: - description: The details of the VPC of the Amazon ES destination. + description: |- + The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch Serverless + destination. properties: roleARN: type: string @@ -410,6 +423,15 @@ spec: type: object clusterEndpoint: type: string + documentIDOptions: + description: |- + Indicates the method for setting up document ID. The supported methods are + Kinesis Data Firehose generated document ID and OpenSearch Service generated + document ID. + properties: + defaultDocumentIDFormat: + type: string + type: object domainARN: type: string indexName: @@ -509,7 +531,9 @@ spec: typeName: type: string vpcConfiguration: - description: The details of the VPC of the Amazon ES destination. + description: |- + The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch Serverless + destination. properties: roleARN: type: string @@ -1056,6 +1080,22 @@ spec: type: string type: object type: object + mSKSourceConfiguration: + properties: + authenticationConfiguration: + description: The authentication configuration of the Amazon + MSK cluster. + properties: + connectivity: + type: string + roleARN: + type: string + type: object + mSKClusterARN: + type: string + topicName: + type: string + type: object redshiftDestinationConfiguration: description: The destination in Amazon Redshift. You can specify only one destination. diff --git a/package/crds/globalaccelerator.aws.crossplane.io_endpointgroups.yaml b/package/crds/globalaccelerator.aws.crossplane.io_endpointgroups.yaml index b6162b2454..befdddcd8d 100644 --- a/package/crds/globalaccelerator.aws.crossplane.io_endpointgroups.yaml +++ b/package/crds/globalaccelerator.aws.crossplane.io_endpointgroups.yaml @@ -78,6 +78,8 @@ spec: description: The list of endpoint objects. items: properties: + attachmentARN: + type: string clientIPPreservationEnabled: type: boolean endpointID: diff --git a/package/crds/glue.aws.crossplane.io_jobs.yaml b/package/crds/glue.aws.crossplane.io_jobs.yaml index af891d041d..e799d5a444 100644 --- a/package/crds/glue.aws.crossplane.io_jobs.yaml +++ b/package/crds/glue.aws.crossplane.io_jobs.yaml @@ -692,6 +692,50 @@ spec: table: type: string type: object + connectorDataSource: + description: Specifies a source generated with standard + connection options. + properties: + connectionType: + type: string + data: + additionalProperties: + type: string + type: object + name: + type: string + outputSchemas: + items: + properties: + columns: + items: + properties: + name: + type: string + type_: + type: string + type: object + type: array + type: object + type: array + type: object + connectorDataTarget: + description: Specifies a target generated with standard + connection options. + properties: + connectionType: + type: string + data: + additionalProperties: + type: string + type: object + inputs: + items: + type: string + type: array + name: + type: string + type: object customCode: description: |- Specifies a transform that uses custom code you provide to perform the data diff --git a/package/crds/lambda.aws.crossplane.io_functions.yaml b/package/crds/lambda.aws.crossplane.io_functions.yaml index d306441c4a..e9ad8662a6 100644 --- a/package/crds/lambda.aws.crossplane.io_functions.yaml +++ b/package/crds/lambda.aws.crossplane.io_functions.yaml @@ -885,6 +885,8 @@ spec: vpcConfig: description: The function's networking configuration. properties: + ipv6AllowedForDualStack: + type: boolean securityGroupIDs: items: type: string @@ -1138,7 +1140,8 @@ spec: ephemeralStorage: description: |- The size of the function's /tmp directory in MB. The default value is 512, - but can be any whole number between 512 and 10,240 MB. + but can be any whole number between 512 and 10,240 MB. For more information, + see Configuring ephemeral storage (console) (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). properties: size: format: int64 @@ -1880,6 +1883,8 @@ spec: vpcConfig: description: The function's networking configuration. properties: + ipv6AllowedForDualStack: + type: boolean securityGroupIDs: items: type: string diff --git a/package/crds/mwaa.aws.crossplane.io_environments.yaml b/package/crds/mwaa.aws.crossplane.io_environments.yaml index 188ac88d9d..d570a744f1 100644 --- a/package/crds/mwaa.aws.crossplane.io_environments.yaml +++ b/package/crds/mwaa.aws.crossplane.io_environments.yaml @@ -84,9 +84,11 @@ spec: airflowVersion: description: |- The Apache Airflow version for your environment. If no value is specified, - it defaults to the latest version. Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, - and 2.5.1. For more information, see Apache Airflow versions on Amazon Managed - Workflows for Apache Airflow (MWAA) (https://docs.aws.amazon.com/mwaa/latest/userguide/airflow-versions.html). + it defaults to the latest version. For more information, see Apache Airflow + versions on Amazon Managed Workflows for Apache Airflow (MWAA) (https://docs.aws.amazon.com/mwaa/latest/userguide/airflow-versions.html). + + + Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, 2.5.1, 2.6.3, 2.7.2. type: string dagS3Path: description: |- diff --git a/package/crds/neptune.aws.crossplane.io_dbclusters.yaml b/package/crds/neptune.aws.crossplane.io_dbclusters.yaml index 7a7c6c88b7..582fe99ca3 100644 --- a/package/crds/neptune.aws.crossplane.io_dbclusters.yaml +++ b/package/crds/neptune.aws.crossplane.io_dbclusters.yaml @@ -247,8 +247,8 @@ spec: The default is a 30-minute window selected at random from an 8-hour block - of time for each Amazon Region. To see the time blocks available, see Adjusting - the Preferred Maintenance Window (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) + of time for each Amazon Region. To see the time blocks available, see Neptune + Maintenance Window (https://docs.aws.amazon.com/neptune/latest/userguide/manage-console-maintaining.html#manage-console-maintaining-window) in the Amazon Neptune User Guide. @@ -277,8 +277,7 @@ spec: The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region, occurring on a random day of the week. To - see the time blocks available, see Adjusting the Preferred Maintenance Window - (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) + see the time blocks available, see Neptune Maintenance Window (https://docs.aws.amazon.com/neptune/latest/userguide/manage-console-maintaining.html#manage-console-maintaining-window) in the Amazon Neptune User Guide. @@ -296,6 +295,12 @@ spec: this DB cluster is created as a Read Replica. type: string serverlessV2ScalingConfiguration: + description: |- + Contains the scaling configuration of a Neptune Serverless DB cluster. + + + For more information, see Using Amazon Neptune Serverless (https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-using.html) + in the Amazon Neptune User Guide. properties: maxCapacity: type: number diff --git a/package/crds/opensearchservice.aws.crossplane.io_domains.yaml b/package/crds/opensearchservice.aws.crossplane.io_domains.yaml index 43c6d7cf3b..266f2a3295 100644 --- a/package/crds/opensearchservice.aws.crossplane.io_domains.yaml +++ b/package/crds/opensearchservice.aws.crossplane.io_domains.yaml @@ -389,6 +389,10 @@ spec: Elasticsearch_7.9. For more information, see Creating and managing Amazon OpenSearch Service domains (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomains). type: string + iPAddressType: + description: The type of IP addresses supported by the endpoint + for the domain. + type: string logPublishingOptions: additionalProperties: properties: @@ -1015,6 +1019,8 @@ spec: Domain-specific endpoint used to submit index, search, and data upload requests to the domain. type: string + endpointV2: + type: string endpoints: additionalProperties: type: string diff --git a/package/crds/rds.aws.crossplane.io_dbclusters.yaml b/package/crds/rds.aws.crossplane.io_dbclusters.yaml index 90e3d156b8..38d113c96d 100644 --- a/package/crds/rds.aws.crossplane.io_dbclusters.yaml +++ b/package/crds/rds.aws.crossplane.io_dbclusters.yaml @@ -90,7 +90,7 @@ spec: Specifies whether major version upgrades are allowed. - Valid for Cluster Type: Aurora DB clusters only + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters Constraints: @@ -1295,6 +1295,14 @@ spec: * If the subnets are part of a VPC that has an internet gateway attached to it, the DB cluster is public. type: boolean + rdsCustomClusterConfiguration: + description: Reserved for future use. + properties: + interconnectSubnetID: + type: string + transitGatewayMulticastDomainID: + type: string + type: object region: description: Region is which region the DBCluster will be created. type: string @@ -1849,6 +1857,11 @@ spec: description: The time when a stopped DB cluster is restarted automatically. format: date-time type: string + awsBackupRecoveryPointARN: + description: |- + The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services + Backup. + type: string backtrackConsumedChangeRecords: description: The number of change records stored for Backtrack. format: int64 @@ -1986,7 +1999,7 @@ spec: type: string globalWriteForwardingRequested: description: |- - Specifies whether write forwarding is enabled for a secondary cluster in + Indicates whether write forwarding is enabled for a secondary cluster in an Aurora global database. Because write forwarding takes time to enable, check the value of GlobalWriteForwardingStatus to confirm that the request has completed before using the write forwarding feature for this cluster. @@ -2035,7 +2048,7 @@ spec: type: string localWriteForwardingStatus: description: |- - Specifies whether an Aurora DB cluster has in-cluster write forwarding enabled, + Indicates whether an Aurora DB cluster has in-cluster write forwarding enabled, not enabled, requested, or is in the process of enabling it. type: string masterUserSecret: diff --git a/package/crds/rds.aws.crossplane.io_dbinstances.yaml b/package/crds/rds.aws.crossplane.io_dbinstances.yaml index d5d9ea44fb..ee64b8aff1 100644 --- a/package/crds/rds.aws.crossplane.io_dbinstances.yaml +++ b/package/crds/rds.aws.crossplane.io_dbinstances.yaml @@ -838,6 +838,10 @@ spec: Oracle background processes. If you don't specify a SID, the value defaults to RDSCDB. The Oracle SID is also the name of your CDB. type: string + dedicatedLogVolume: + description: Indicates whether the DB instance has a dedicated + log volume (DLV) enabled. + type: boolean deleteAutomatedBackups: description: |- DeleteAutomatedBackups indicates whether to remove automated backups @@ -1655,6 +1659,25 @@ spec: * RDS Custom type: boolean + multiTenant: + description: |- + Specifies whether to use the multi-tenant configuration or the single-tenant + configuration (default). This parameter only applies to RDS for Oracle container + database (CDB) engines. + + + Note the following restrictions: + + + * The DB engine that you specify in the request must support the multi-tenant + configuration. If you attempt to enable the multi-tenant configuration + on a DB engine that doesn't support it, the request fails. + + + * If you specify the multi-tenant configuration when you create your DB + instance, you can't later modify this DB instance to use the single-tenant + configuration. + type: boolean ncharCharacterSetName: description: |- The name of the NCHAR character set for the Oracle DB instance. @@ -2639,6 +2662,14 @@ spec: description: The date and time when the DB instance was created. format: date-time type: string + isStorageConfigUpgradeAvailable: + description: |- + Indicates whether an upgrade is recommended for the storage file system configuration + on the DB instance. To migrate to the preferred configuration, you can either + create a blue/green deployment, or create a read replica from the DB instance. + For more information, see Upgrading the storage file system for a DB instance + (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.UpgradeFileSystem). + type: boolean latestRestorableTime: description: |- The latest time to which a database in this DB instance can be restored with @@ -2707,6 +2738,8 @@ spec: type: string dbSubnetGroupName: type: string + dedicatedLogVolume: + type: boolean engine: type: string engineVersion: @@ -2722,6 +2755,8 @@ spec: type: string multiAZ: type: boolean + multiTenant: + type: boolean pendingCloudwatchLogsExports: description: |- A list of the log types whose configuration is still pending. In other words, diff --git a/package/crds/secretsmanager.aws.crossplane.io_secrets.yaml b/package/crds/secretsmanager.aws.crossplane.io_secrets.yaml index 5ef1f8dd76..62bf60a87c 100644 --- a/package/crds/secretsmanager.aws.crossplane.io_secrets.yaml +++ b/package/crds/secretsmanager.aws.crossplane.io_secrets.yaml @@ -882,31 +882,8 @@ spec: in the JSON text. - The following restrictions apply to tags: - - - * Maximum number of tags per secret: 50 - - - * Maximum key length: 127 Unicode characters in UTF-8 - - - * Maximum value length: 255 Unicode characters in UTF-8 - - - * Tag keys and values are case sensitive. - - - * Do not use the aws: prefix in your tag names or values because Amazon - Web Services reserves it for Amazon Web Services use. You can't edit or - delete tag names or values with this prefix. Tags with this prefix do - not count against your tags per secret limit. - - - * If you use your tagging schema across multiple services and resources, - other services might have restrictions on allowed characters. Generally - allowed characters: letters, spaces, and numbers representable in UTF-8, - plus the following special characters: + - = . _ : / @. + For tag quotas and naming restrictions, see Service quotas for Tagging (https://docs.aws.amazon.com/general/latest/gr/arg.html#taged-reference-quotas) + in the Amazon Web Services General Reference guide. items: properties: key: diff --git a/package/crds/servicecatalog.aws.crossplane.io_provisionedproducts.yaml b/package/crds/servicecatalog.aws.crossplane.io_provisionedproducts.yaml index 03e7696aa7..4062a43d01 100644 --- a/package/crds/servicecatalog.aws.crossplane.io_provisionedproducts.yaml +++ b/package/crds/servicecatalog.aws.crossplane.io_provisionedproducts.yaml @@ -414,7 +414,7 @@ spec: provisionedProductType: description: |- The type of provisioned product. The supported values are CFN_STACK, CFN_STACKSET, - TERRAFORM_OPEN_SOURCE, and TERRAFORM_CLOUD. + TERRAFORM_OPEN_SOURCE, TERRAFORM_CLOUD, and EXTERNAL. type: string recordErrors: description: The errors that occurred. diff --git a/package/crds/transfer.aws.crossplane.io_users.yaml b/package/crds/transfer.aws.crossplane.io_users.yaml index 28d474d13f..6228191d32 100644 --- a/package/crds/transfer.aws.crossplane.io_users.yaml +++ b/package/crds/transfer.aws.crossplane.io_users.yaml @@ -80,6 +80,9 @@ spec: A HomeDirectory example is /bucket_name/home/mydirectory. + + + The HomeDirectory parameter is only used if HomeDirectoryType is set to PATH. type: string homeDirectoryMappings: description: |- @@ -120,10 +123,16 @@ spec: description: |- The type of landing directory (folder) that you want your users' home directory to be when they log in to the server. If you set it to PATH, the user will - see the absolute Amazon S3 bucket or EFS paths as is in their file transfer - protocol clients. If you set it LOGICAL, you need to provide mappings in - the HomeDirectoryMappings for how you want to make Amazon S3 or Amazon EFS - paths visible to your users. + see the absolute Amazon S3 bucket or Amazon EFS path as is in their file + transfer protocol clients. If you set it to LOGICAL, you need to provide + mappings in the HomeDirectoryMappings for how you want to make Amazon S3 + or Amazon EFS paths visible to your users. + + + If HomeDirectoryType is LOGICAL, you must provide mappings, using the HomeDirectoryMappings + parameter. If, on the other hand, HomeDirectoryType is PATH, you provide + an absolute path using the HomeDirectory parameter. You cannot have both + HomeDirectory and HomeDirectoryMappings in your template. type: string policy: description: |- diff --git a/pkg/clients/mock/ec2iface/zz_ec2_api.go b/pkg/clients/mock/ec2iface/zz_ec2_api.go index bb48da359a..9cde0d86b6 100644 --- a/pkg/clients/mock/ec2iface/zz_ec2_api.go +++ b/pkg/clients/mock/ec2iface/zz_ec2_api.go @@ -11485,6 +11485,89 @@ func (mr *MockEC2APIMockRecorder) DescribeByoipCidrsWithContext(arg0, arg1 inter return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeByoipCidrsWithContext", reflect.TypeOf((*MockEC2API)(nil).DescribeByoipCidrsWithContext), varargs...) } +// DescribeCapacityBlockOfferings mocks base method. +func (m *MockEC2API) DescribeCapacityBlockOfferings(arg0 *ec2.DescribeCapacityBlockOfferingsInput) (*ec2.DescribeCapacityBlockOfferingsOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeCapacityBlockOfferings", arg0) + ret0, _ := ret[0].(*ec2.DescribeCapacityBlockOfferingsOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeCapacityBlockOfferings indicates an expected call of DescribeCapacityBlockOfferings. +func (mr *MockEC2APIMockRecorder) DescribeCapacityBlockOfferings(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCapacityBlockOfferings", reflect.TypeOf((*MockEC2API)(nil).DescribeCapacityBlockOfferings), arg0) +} + +// DescribeCapacityBlockOfferingsPages mocks base method. +func (m *MockEC2API) DescribeCapacityBlockOfferingsPages(arg0 *ec2.DescribeCapacityBlockOfferingsInput, arg1 func(*ec2.DescribeCapacityBlockOfferingsOutput, bool) bool) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeCapacityBlockOfferingsPages", arg0, arg1) + ret0, _ := ret[0].(error) + return ret0 +} + +// DescribeCapacityBlockOfferingsPages indicates an expected call of DescribeCapacityBlockOfferingsPages. +func (mr *MockEC2APIMockRecorder) DescribeCapacityBlockOfferingsPages(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCapacityBlockOfferingsPages", reflect.TypeOf((*MockEC2API)(nil).DescribeCapacityBlockOfferingsPages), arg0, arg1) +} + +// DescribeCapacityBlockOfferingsPagesWithContext mocks base method. +func (m *MockEC2API) DescribeCapacityBlockOfferingsPagesWithContext(arg0 context.Context, arg1 *ec2.DescribeCapacityBlockOfferingsInput, arg2 func(*ec2.DescribeCapacityBlockOfferingsOutput, bool) bool, arg3 ...request.Option) error { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1, arg2} + for _, a := range arg3 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "DescribeCapacityBlockOfferingsPagesWithContext", varargs...) + ret0, _ := ret[0].(error) + return ret0 +} + +// DescribeCapacityBlockOfferingsPagesWithContext indicates an expected call of DescribeCapacityBlockOfferingsPagesWithContext. +func (mr *MockEC2APIMockRecorder) DescribeCapacityBlockOfferingsPagesWithContext(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCapacityBlockOfferingsPagesWithContext", reflect.TypeOf((*MockEC2API)(nil).DescribeCapacityBlockOfferingsPagesWithContext), varargs...) +} + +// DescribeCapacityBlockOfferingsRequest mocks base method. +func (m *MockEC2API) DescribeCapacityBlockOfferingsRequest(arg0 *ec2.DescribeCapacityBlockOfferingsInput) (*request.Request, *ec2.DescribeCapacityBlockOfferingsOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeCapacityBlockOfferingsRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*ec2.DescribeCapacityBlockOfferingsOutput) + return ret0, ret1 +} + +// DescribeCapacityBlockOfferingsRequest indicates an expected call of DescribeCapacityBlockOfferingsRequest. +func (mr *MockEC2APIMockRecorder) DescribeCapacityBlockOfferingsRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCapacityBlockOfferingsRequest", reflect.TypeOf((*MockEC2API)(nil).DescribeCapacityBlockOfferingsRequest), arg0) +} + +// DescribeCapacityBlockOfferingsWithContext mocks base method. +func (m *MockEC2API) DescribeCapacityBlockOfferingsWithContext(arg0 context.Context, arg1 *ec2.DescribeCapacityBlockOfferingsInput, arg2 ...request.Option) (*ec2.DescribeCapacityBlockOfferingsOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "DescribeCapacityBlockOfferingsWithContext", varargs...) + ret0, _ := ret[0].(*ec2.DescribeCapacityBlockOfferingsOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeCapacityBlockOfferingsWithContext indicates an expected call of DescribeCapacityBlockOfferingsWithContext. +func (mr *MockEC2APIMockRecorder) DescribeCapacityBlockOfferingsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCapacityBlockOfferingsWithContext", reflect.TypeOf((*MockEC2API)(nil).DescribeCapacityBlockOfferingsWithContext), varargs...) +} + // DescribeCapacityReservationFleets mocks base method. func (m *MockEC2API) DescribeCapacityReservationFleets(arg0 *ec2.DescribeCapacityReservationFleetsInput) (*ec2.DescribeCapacityReservationFleetsOutput, error) { m.ctrl.T.Helper() @@ -14492,6 +14575,89 @@ func (mr *MockEC2APIMockRecorder) DescribeInstanceStatusWithContext(arg0, arg1 i return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceStatusWithContext", reflect.TypeOf((*MockEC2API)(nil).DescribeInstanceStatusWithContext), varargs...) } +// DescribeInstanceTopology mocks base method. +func (m *MockEC2API) DescribeInstanceTopology(arg0 *ec2.DescribeInstanceTopologyInput) (*ec2.DescribeInstanceTopologyOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceTopology", arg0) + ret0, _ := ret[0].(*ec2.DescribeInstanceTopologyOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInstanceTopology indicates an expected call of DescribeInstanceTopology. +func (mr *MockEC2APIMockRecorder) DescribeInstanceTopology(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceTopology", reflect.TypeOf((*MockEC2API)(nil).DescribeInstanceTopology), arg0) +} + +// DescribeInstanceTopologyPages mocks base method. +func (m *MockEC2API) DescribeInstanceTopologyPages(arg0 *ec2.DescribeInstanceTopologyInput, arg1 func(*ec2.DescribeInstanceTopologyOutput, bool) bool) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceTopologyPages", arg0, arg1) + ret0, _ := ret[0].(error) + return ret0 +} + +// DescribeInstanceTopologyPages indicates an expected call of DescribeInstanceTopologyPages. +func (mr *MockEC2APIMockRecorder) DescribeInstanceTopologyPages(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceTopologyPages", reflect.TypeOf((*MockEC2API)(nil).DescribeInstanceTopologyPages), arg0, arg1) +} + +// DescribeInstanceTopologyPagesWithContext mocks base method. +func (m *MockEC2API) DescribeInstanceTopologyPagesWithContext(arg0 context.Context, arg1 *ec2.DescribeInstanceTopologyInput, arg2 func(*ec2.DescribeInstanceTopologyOutput, bool) bool, arg3 ...request.Option) error { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1, arg2} + for _, a := range arg3 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "DescribeInstanceTopologyPagesWithContext", varargs...) + ret0, _ := ret[0].(error) + return ret0 +} + +// DescribeInstanceTopologyPagesWithContext indicates an expected call of DescribeInstanceTopologyPagesWithContext. +func (mr *MockEC2APIMockRecorder) DescribeInstanceTopologyPagesWithContext(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceTopologyPagesWithContext", reflect.TypeOf((*MockEC2API)(nil).DescribeInstanceTopologyPagesWithContext), varargs...) +} + +// DescribeInstanceTopologyRequest mocks base method. +func (m *MockEC2API) DescribeInstanceTopologyRequest(arg0 *ec2.DescribeInstanceTopologyInput) (*request.Request, *ec2.DescribeInstanceTopologyOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceTopologyRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*ec2.DescribeInstanceTopologyOutput) + return ret0, ret1 +} + +// DescribeInstanceTopologyRequest indicates an expected call of DescribeInstanceTopologyRequest. +func (mr *MockEC2APIMockRecorder) DescribeInstanceTopologyRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceTopologyRequest", reflect.TypeOf((*MockEC2API)(nil).DescribeInstanceTopologyRequest), arg0) +} + +// DescribeInstanceTopologyWithContext mocks base method. +func (m *MockEC2API) DescribeInstanceTopologyWithContext(arg0 context.Context, arg1 *ec2.DescribeInstanceTopologyInput, arg2 ...request.Option) (*ec2.DescribeInstanceTopologyOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "DescribeInstanceTopologyWithContext", varargs...) + ret0, _ := ret[0].(*ec2.DescribeInstanceTopologyOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInstanceTopologyWithContext indicates an expected call of DescribeInstanceTopologyWithContext. +func (mr *MockEC2APIMockRecorder) DescribeInstanceTopologyWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceTopologyWithContext", reflect.TypeOf((*MockEC2API)(nil).DescribeInstanceTopologyWithContext), varargs...) +} + // DescribeInstanceTypeOfferings mocks base method. func (m *MockEC2API) DescribeInstanceTypeOfferings(arg0 *ec2.DescribeInstanceTypeOfferingsInput) (*ec2.DescribeInstanceTypeOfferingsOutput, error) { m.ctrl.T.Helper() @@ -22366,6 +22532,71 @@ func (mr *MockEC2APIMockRecorder) DisableFastSnapshotRestoresWithContext(arg0, a return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableFastSnapshotRestoresWithContext", reflect.TypeOf((*MockEC2API)(nil).DisableFastSnapshotRestoresWithContext), varargs...) } +// DisableImage mocks base method. +func (m *MockEC2API) DisableImage(arg0 *ec2.DisableImageInput) (*ec2.DisableImageOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DisableImage", arg0) + ret0, _ := ret[0].(*ec2.DisableImageOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DisableImage indicates an expected call of DisableImage. +func (mr *MockEC2APIMockRecorder) DisableImage(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableImage", reflect.TypeOf((*MockEC2API)(nil).DisableImage), arg0) +} + +// DisableImageBlockPublicAccess mocks base method. +func (m *MockEC2API) DisableImageBlockPublicAccess(arg0 *ec2.DisableImageBlockPublicAccessInput) (*ec2.DisableImageBlockPublicAccessOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DisableImageBlockPublicAccess", arg0) + ret0, _ := ret[0].(*ec2.DisableImageBlockPublicAccessOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DisableImageBlockPublicAccess indicates an expected call of DisableImageBlockPublicAccess. +func (mr *MockEC2APIMockRecorder) DisableImageBlockPublicAccess(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableImageBlockPublicAccess", reflect.TypeOf((*MockEC2API)(nil).DisableImageBlockPublicAccess), arg0) +} + +// DisableImageBlockPublicAccessRequest mocks base method. +func (m *MockEC2API) DisableImageBlockPublicAccessRequest(arg0 *ec2.DisableImageBlockPublicAccessInput) (*request.Request, *ec2.DisableImageBlockPublicAccessOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DisableImageBlockPublicAccessRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*ec2.DisableImageBlockPublicAccessOutput) + return ret0, ret1 +} + +// DisableImageBlockPublicAccessRequest indicates an expected call of DisableImageBlockPublicAccessRequest. +func (mr *MockEC2APIMockRecorder) DisableImageBlockPublicAccessRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableImageBlockPublicAccessRequest", reflect.TypeOf((*MockEC2API)(nil).DisableImageBlockPublicAccessRequest), arg0) +} + +// DisableImageBlockPublicAccessWithContext mocks base method. +func (m *MockEC2API) DisableImageBlockPublicAccessWithContext(arg0 context.Context, arg1 *ec2.DisableImageBlockPublicAccessInput, arg2 ...request.Option) (*ec2.DisableImageBlockPublicAccessOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "DisableImageBlockPublicAccessWithContext", varargs...) + ret0, _ := ret[0].(*ec2.DisableImageBlockPublicAccessOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DisableImageBlockPublicAccessWithContext indicates an expected call of DisableImageBlockPublicAccessWithContext. +func (mr *MockEC2APIMockRecorder) DisableImageBlockPublicAccessWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableImageBlockPublicAccessWithContext", reflect.TypeOf((*MockEC2API)(nil).DisableImageBlockPublicAccessWithContext), varargs...) +} + // DisableImageDeprecation mocks base method. func (m *MockEC2API) DisableImageDeprecation(arg0 *ec2.DisableImageDeprecationInput) (*ec2.DisableImageDeprecationOutput, error) { m.ctrl.T.Helper() @@ -22416,6 +22647,41 @@ func (mr *MockEC2APIMockRecorder) DisableImageDeprecationWithContext(arg0, arg1 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableImageDeprecationWithContext", reflect.TypeOf((*MockEC2API)(nil).DisableImageDeprecationWithContext), varargs...) } +// DisableImageRequest mocks base method. +func (m *MockEC2API) DisableImageRequest(arg0 *ec2.DisableImageInput) (*request.Request, *ec2.DisableImageOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DisableImageRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*ec2.DisableImageOutput) + return ret0, ret1 +} + +// DisableImageRequest indicates an expected call of DisableImageRequest. +func (mr *MockEC2APIMockRecorder) DisableImageRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableImageRequest", reflect.TypeOf((*MockEC2API)(nil).DisableImageRequest), arg0) +} + +// DisableImageWithContext mocks base method. +func (m *MockEC2API) DisableImageWithContext(arg0 context.Context, arg1 *ec2.DisableImageInput, arg2 ...request.Option) (*ec2.DisableImageOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "DisableImageWithContext", varargs...) + ret0, _ := ret[0].(*ec2.DisableImageOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DisableImageWithContext indicates an expected call of DisableImageWithContext. +func (mr *MockEC2APIMockRecorder) DisableImageWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableImageWithContext", reflect.TypeOf((*MockEC2API)(nil).DisableImageWithContext), varargs...) +} + // DisableIpamOrganizationAdminAccount mocks base method. func (m *MockEC2API) DisableIpamOrganizationAdminAccount(arg0 *ec2.DisableIpamOrganizationAdminAccountInput) (*ec2.DisableIpamOrganizationAdminAccountOutput, error) { m.ctrl.T.Helper() @@ -22516,6 +22782,56 @@ func (mr *MockEC2APIMockRecorder) DisableSerialConsoleAccessWithContext(arg0, ar return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableSerialConsoleAccessWithContext", reflect.TypeOf((*MockEC2API)(nil).DisableSerialConsoleAccessWithContext), varargs...) } +// DisableSnapshotBlockPublicAccess mocks base method. +func (m *MockEC2API) DisableSnapshotBlockPublicAccess(arg0 *ec2.DisableSnapshotBlockPublicAccessInput) (*ec2.DisableSnapshotBlockPublicAccessOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DisableSnapshotBlockPublicAccess", arg0) + ret0, _ := ret[0].(*ec2.DisableSnapshotBlockPublicAccessOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DisableSnapshotBlockPublicAccess indicates an expected call of DisableSnapshotBlockPublicAccess. +func (mr *MockEC2APIMockRecorder) DisableSnapshotBlockPublicAccess(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableSnapshotBlockPublicAccess", reflect.TypeOf((*MockEC2API)(nil).DisableSnapshotBlockPublicAccess), arg0) +} + +// DisableSnapshotBlockPublicAccessRequest mocks base method. +func (m *MockEC2API) DisableSnapshotBlockPublicAccessRequest(arg0 *ec2.DisableSnapshotBlockPublicAccessInput) (*request.Request, *ec2.DisableSnapshotBlockPublicAccessOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DisableSnapshotBlockPublicAccessRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*ec2.DisableSnapshotBlockPublicAccessOutput) + return ret0, ret1 +} + +// DisableSnapshotBlockPublicAccessRequest indicates an expected call of DisableSnapshotBlockPublicAccessRequest. +func (mr *MockEC2APIMockRecorder) DisableSnapshotBlockPublicAccessRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableSnapshotBlockPublicAccessRequest", reflect.TypeOf((*MockEC2API)(nil).DisableSnapshotBlockPublicAccessRequest), arg0) +} + +// DisableSnapshotBlockPublicAccessWithContext mocks base method. +func (m *MockEC2API) DisableSnapshotBlockPublicAccessWithContext(arg0 context.Context, arg1 *ec2.DisableSnapshotBlockPublicAccessInput, arg2 ...request.Option) (*ec2.DisableSnapshotBlockPublicAccessOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "DisableSnapshotBlockPublicAccessWithContext", varargs...) + ret0, _ := ret[0].(*ec2.DisableSnapshotBlockPublicAccessOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DisableSnapshotBlockPublicAccessWithContext indicates an expected call of DisableSnapshotBlockPublicAccessWithContext. +func (mr *MockEC2APIMockRecorder) DisableSnapshotBlockPublicAccessWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableSnapshotBlockPublicAccessWithContext", reflect.TypeOf((*MockEC2API)(nil).DisableSnapshotBlockPublicAccessWithContext), varargs...) +} + // DisableTransitGatewayRouteTablePropagation mocks base method. func (m *MockEC2API) DisableTransitGatewayRouteTablePropagation(arg0 *ec2.DisableTransitGatewayRouteTablePropagationInput) (*ec2.DisableTransitGatewayRouteTablePropagationOutput, error) { m.ctrl.T.Helper() @@ -23666,6 +23982,71 @@ func (mr *MockEC2APIMockRecorder) EnableFastSnapshotRestoresWithContext(arg0, ar return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableFastSnapshotRestoresWithContext", reflect.TypeOf((*MockEC2API)(nil).EnableFastSnapshotRestoresWithContext), varargs...) } +// EnableImage mocks base method. +func (m *MockEC2API) EnableImage(arg0 *ec2.EnableImageInput) (*ec2.EnableImageOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "EnableImage", arg0) + ret0, _ := ret[0].(*ec2.EnableImageOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// EnableImage indicates an expected call of EnableImage. +func (mr *MockEC2APIMockRecorder) EnableImage(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableImage", reflect.TypeOf((*MockEC2API)(nil).EnableImage), arg0) +} + +// EnableImageBlockPublicAccess mocks base method. +func (m *MockEC2API) EnableImageBlockPublicAccess(arg0 *ec2.EnableImageBlockPublicAccessInput) (*ec2.EnableImageBlockPublicAccessOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "EnableImageBlockPublicAccess", arg0) + ret0, _ := ret[0].(*ec2.EnableImageBlockPublicAccessOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// EnableImageBlockPublicAccess indicates an expected call of EnableImageBlockPublicAccess. +func (mr *MockEC2APIMockRecorder) EnableImageBlockPublicAccess(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableImageBlockPublicAccess", reflect.TypeOf((*MockEC2API)(nil).EnableImageBlockPublicAccess), arg0) +} + +// EnableImageBlockPublicAccessRequest mocks base method. +func (m *MockEC2API) EnableImageBlockPublicAccessRequest(arg0 *ec2.EnableImageBlockPublicAccessInput) (*request.Request, *ec2.EnableImageBlockPublicAccessOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "EnableImageBlockPublicAccessRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*ec2.EnableImageBlockPublicAccessOutput) + return ret0, ret1 +} + +// EnableImageBlockPublicAccessRequest indicates an expected call of EnableImageBlockPublicAccessRequest. +func (mr *MockEC2APIMockRecorder) EnableImageBlockPublicAccessRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableImageBlockPublicAccessRequest", reflect.TypeOf((*MockEC2API)(nil).EnableImageBlockPublicAccessRequest), arg0) +} + +// EnableImageBlockPublicAccessWithContext mocks base method. +func (m *MockEC2API) EnableImageBlockPublicAccessWithContext(arg0 context.Context, arg1 *ec2.EnableImageBlockPublicAccessInput, arg2 ...request.Option) (*ec2.EnableImageBlockPublicAccessOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "EnableImageBlockPublicAccessWithContext", varargs...) + ret0, _ := ret[0].(*ec2.EnableImageBlockPublicAccessOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// EnableImageBlockPublicAccessWithContext indicates an expected call of EnableImageBlockPublicAccessWithContext. +func (mr *MockEC2APIMockRecorder) EnableImageBlockPublicAccessWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableImageBlockPublicAccessWithContext", reflect.TypeOf((*MockEC2API)(nil).EnableImageBlockPublicAccessWithContext), varargs...) +} + // EnableImageDeprecation mocks base method. func (m *MockEC2API) EnableImageDeprecation(arg0 *ec2.EnableImageDeprecationInput) (*ec2.EnableImageDeprecationOutput, error) { m.ctrl.T.Helper() @@ -23716,6 +24097,41 @@ func (mr *MockEC2APIMockRecorder) EnableImageDeprecationWithContext(arg0, arg1 i return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableImageDeprecationWithContext", reflect.TypeOf((*MockEC2API)(nil).EnableImageDeprecationWithContext), varargs...) } +// EnableImageRequest mocks base method. +func (m *MockEC2API) EnableImageRequest(arg0 *ec2.EnableImageInput) (*request.Request, *ec2.EnableImageOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "EnableImageRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*ec2.EnableImageOutput) + return ret0, ret1 +} + +// EnableImageRequest indicates an expected call of EnableImageRequest. +func (mr *MockEC2APIMockRecorder) EnableImageRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableImageRequest", reflect.TypeOf((*MockEC2API)(nil).EnableImageRequest), arg0) +} + +// EnableImageWithContext mocks base method. +func (m *MockEC2API) EnableImageWithContext(arg0 context.Context, arg1 *ec2.EnableImageInput, arg2 ...request.Option) (*ec2.EnableImageOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "EnableImageWithContext", varargs...) + ret0, _ := ret[0].(*ec2.EnableImageOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// EnableImageWithContext indicates an expected call of EnableImageWithContext. +func (mr *MockEC2APIMockRecorder) EnableImageWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableImageWithContext", reflect.TypeOf((*MockEC2API)(nil).EnableImageWithContext), varargs...) +} + // EnableIpamOrganizationAdminAccount mocks base method. func (m *MockEC2API) EnableIpamOrganizationAdminAccount(arg0 *ec2.EnableIpamOrganizationAdminAccountInput) (*ec2.EnableIpamOrganizationAdminAccountOutput, error) { m.ctrl.T.Helper() @@ -23866,6 +24282,56 @@ func (mr *MockEC2APIMockRecorder) EnableSerialConsoleAccessWithContext(arg0, arg return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableSerialConsoleAccessWithContext", reflect.TypeOf((*MockEC2API)(nil).EnableSerialConsoleAccessWithContext), varargs...) } +// EnableSnapshotBlockPublicAccess mocks base method. +func (m *MockEC2API) EnableSnapshotBlockPublicAccess(arg0 *ec2.EnableSnapshotBlockPublicAccessInput) (*ec2.EnableSnapshotBlockPublicAccessOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "EnableSnapshotBlockPublicAccess", arg0) + ret0, _ := ret[0].(*ec2.EnableSnapshotBlockPublicAccessOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// EnableSnapshotBlockPublicAccess indicates an expected call of EnableSnapshotBlockPublicAccess. +func (mr *MockEC2APIMockRecorder) EnableSnapshotBlockPublicAccess(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableSnapshotBlockPublicAccess", reflect.TypeOf((*MockEC2API)(nil).EnableSnapshotBlockPublicAccess), arg0) +} + +// EnableSnapshotBlockPublicAccessRequest mocks base method. +func (m *MockEC2API) EnableSnapshotBlockPublicAccessRequest(arg0 *ec2.EnableSnapshotBlockPublicAccessInput) (*request.Request, *ec2.EnableSnapshotBlockPublicAccessOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "EnableSnapshotBlockPublicAccessRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*ec2.EnableSnapshotBlockPublicAccessOutput) + return ret0, ret1 +} + +// EnableSnapshotBlockPublicAccessRequest indicates an expected call of EnableSnapshotBlockPublicAccessRequest. +func (mr *MockEC2APIMockRecorder) EnableSnapshotBlockPublicAccessRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableSnapshotBlockPublicAccessRequest", reflect.TypeOf((*MockEC2API)(nil).EnableSnapshotBlockPublicAccessRequest), arg0) +} + +// EnableSnapshotBlockPublicAccessWithContext mocks base method. +func (m *MockEC2API) EnableSnapshotBlockPublicAccessWithContext(arg0 context.Context, arg1 *ec2.EnableSnapshotBlockPublicAccessInput, arg2 ...request.Option) (*ec2.EnableSnapshotBlockPublicAccessOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "EnableSnapshotBlockPublicAccessWithContext", varargs...) + ret0, _ := ret[0].(*ec2.EnableSnapshotBlockPublicAccessOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// EnableSnapshotBlockPublicAccessWithContext indicates an expected call of EnableSnapshotBlockPublicAccessWithContext. +func (mr *MockEC2APIMockRecorder) EnableSnapshotBlockPublicAccessWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableSnapshotBlockPublicAccessWithContext", reflect.TypeOf((*MockEC2API)(nil).EnableSnapshotBlockPublicAccessWithContext), varargs...) +} + // EnableTransitGatewayRouteTablePropagation mocks base method. func (m *MockEC2API) EnableTransitGatewayRouteTablePropagation(arg0 *ec2.EnableTransitGatewayRouteTablePropagationInput) (*ec2.EnableTransitGatewayRouteTablePropagationOutput, error) { m.ctrl.T.Helper() @@ -25065,6 +25531,56 @@ func (mr *MockEC2APIMockRecorder) GetHostReservationPurchasePreviewWithContext(a return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetHostReservationPurchasePreviewWithContext", reflect.TypeOf((*MockEC2API)(nil).GetHostReservationPurchasePreviewWithContext), varargs...) } +// GetImageBlockPublicAccessState mocks base method. +func (m *MockEC2API) GetImageBlockPublicAccessState(arg0 *ec2.GetImageBlockPublicAccessStateInput) (*ec2.GetImageBlockPublicAccessStateOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetImageBlockPublicAccessState", arg0) + ret0, _ := ret[0].(*ec2.GetImageBlockPublicAccessStateOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetImageBlockPublicAccessState indicates an expected call of GetImageBlockPublicAccessState. +func (mr *MockEC2APIMockRecorder) GetImageBlockPublicAccessState(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetImageBlockPublicAccessState", reflect.TypeOf((*MockEC2API)(nil).GetImageBlockPublicAccessState), arg0) +} + +// GetImageBlockPublicAccessStateRequest mocks base method. +func (m *MockEC2API) GetImageBlockPublicAccessStateRequest(arg0 *ec2.GetImageBlockPublicAccessStateInput) (*request.Request, *ec2.GetImageBlockPublicAccessStateOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetImageBlockPublicAccessStateRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*ec2.GetImageBlockPublicAccessStateOutput) + return ret0, ret1 +} + +// GetImageBlockPublicAccessStateRequest indicates an expected call of GetImageBlockPublicAccessStateRequest. +func (mr *MockEC2APIMockRecorder) GetImageBlockPublicAccessStateRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetImageBlockPublicAccessStateRequest", reflect.TypeOf((*MockEC2API)(nil).GetImageBlockPublicAccessStateRequest), arg0) +} + +// GetImageBlockPublicAccessStateWithContext mocks base method. +func (m *MockEC2API) GetImageBlockPublicAccessStateWithContext(arg0 context.Context, arg1 *ec2.GetImageBlockPublicAccessStateInput, arg2 ...request.Option) (*ec2.GetImageBlockPublicAccessStateOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetImageBlockPublicAccessStateWithContext", varargs...) + ret0, _ := ret[0].(*ec2.GetImageBlockPublicAccessStateOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetImageBlockPublicAccessStateWithContext indicates an expected call of GetImageBlockPublicAccessStateWithContext. +func (mr *MockEC2APIMockRecorder) GetImageBlockPublicAccessStateWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetImageBlockPublicAccessStateWithContext", reflect.TypeOf((*MockEC2API)(nil).GetImageBlockPublicAccessStateWithContext), varargs...) +} + // GetInstanceTypesFromInstanceRequirements mocks base method. func (m *MockEC2API) GetInstanceTypesFromInstanceRequirements(arg0 *ec2.GetInstanceTypesFromInstanceRequirementsInput) (*ec2.GetInstanceTypesFromInstanceRequirementsOutput, error) { m.ctrl.T.Helper() @@ -26145,6 +26661,89 @@ func (mr *MockEC2APIMockRecorder) GetReservedInstancesExchangeQuoteWithContext(a return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetReservedInstancesExchangeQuoteWithContext", reflect.TypeOf((*MockEC2API)(nil).GetReservedInstancesExchangeQuoteWithContext), varargs...) } +// GetSecurityGroupsForVpc mocks base method. +func (m *MockEC2API) GetSecurityGroupsForVpc(arg0 *ec2.GetSecurityGroupsForVpcInput) (*ec2.GetSecurityGroupsForVpcOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetSecurityGroupsForVpc", arg0) + ret0, _ := ret[0].(*ec2.GetSecurityGroupsForVpcOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetSecurityGroupsForVpc indicates an expected call of GetSecurityGroupsForVpc. +func (mr *MockEC2APIMockRecorder) GetSecurityGroupsForVpc(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecurityGroupsForVpc", reflect.TypeOf((*MockEC2API)(nil).GetSecurityGroupsForVpc), arg0) +} + +// GetSecurityGroupsForVpcPages mocks base method. +func (m *MockEC2API) GetSecurityGroupsForVpcPages(arg0 *ec2.GetSecurityGroupsForVpcInput, arg1 func(*ec2.GetSecurityGroupsForVpcOutput, bool) bool) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetSecurityGroupsForVpcPages", arg0, arg1) + ret0, _ := ret[0].(error) + return ret0 +} + +// GetSecurityGroupsForVpcPages indicates an expected call of GetSecurityGroupsForVpcPages. +func (mr *MockEC2APIMockRecorder) GetSecurityGroupsForVpcPages(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecurityGroupsForVpcPages", reflect.TypeOf((*MockEC2API)(nil).GetSecurityGroupsForVpcPages), arg0, arg1) +} + +// GetSecurityGroupsForVpcPagesWithContext mocks base method. +func (m *MockEC2API) GetSecurityGroupsForVpcPagesWithContext(arg0 context.Context, arg1 *ec2.GetSecurityGroupsForVpcInput, arg2 func(*ec2.GetSecurityGroupsForVpcOutput, bool) bool, arg3 ...request.Option) error { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1, arg2} + for _, a := range arg3 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetSecurityGroupsForVpcPagesWithContext", varargs...) + ret0, _ := ret[0].(error) + return ret0 +} + +// GetSecurityGroupsForVpcPagesWithContext indicates an expected call of GetSecurityGroupsForVpcPagesWithContext. +func (mr *MockEC2APIMockRecorder) GetSecurityGroupsForVpcPagesWithContext(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecurityGroupsForVpcPagesWithContext", reflect.TypeOf((*MockEC2API)(nil).GetSecurityGroupsForVpcPagesWithContext), varargs...) +} + +// GetSecurityGroupsForVpcRequest mocks base method. +func (m *MockEC2API) GetSecurityGroupsForVpcRequest(arg0 *ec2.GetSecurityGroupsForVpcInput) (*request.Request, *ec2.GetSecurityGroupsForVpcOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetSecurityGroupsForVpcRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*ec2.GetSecurityGroupsForVpcOutput) + return ret0, ret1 +} + +// GetSecurityGroupsForVpcRequest indicates an expected call of GetSecurityGroupsForVpcRequest. +func (mr *MockEC2APIMockRecorder) GetSecurityGroupsForVpcRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecurityGroupsForVpcRequest", reflect.TypeOf((*MockEC2API)(nil).GetSecurityGroupsForVpcRequest), arg0) +} + +// GetSecurityGroupsForVpcWithContext mocks base method. +func (m *MockEC2API) GetSecurityGroupsForVpcWithContext(arg0 context.Context, arg1 *ec2.GetSecurityGroupsForVpcInput, arg2 ...request.Option) (*ec2.GetSecurityGroupsForVpcOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetSecurityGroupsForVpcWithContext", varargs...) + ret0, _ := ret[0].(*ec2.GetSecurityGroupsForVpcOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetSecurityGroupsForVpcWithContext indicates an expected call of GetSecurityGroupsForVpcWithContext. +func (mr *MockEC2APIMockRecorder) GetSecurityGroupsForVpcWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecurityGroupsForVpcWithContext", reflect.TypeOf((*MockEC2API)(nil).GetSecurityGroupsForVpcWithContext), varargs...) +} + // GetSerialConsoleAccessStatus mocks base method. func (m *MockEC2API) GetSerialConsoleAccessStatus(arg0 *ec2.GetSerialConsoleAccessStatusInput) (*ec2.GetSerialConsoleAccessStatusOutput, error) { m.ctrl.T.Helper() @@ -26195,6 +26794,56 @@ func (mr *MockEC2APIMockRecorder) GetSerialConsoleAccessStatusWithContext(arg0, return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSerialConsoleAccessStatusWithContext", reflect.TypeOf((*MockEC2API)(nil).GetSerialConsoleAccessStatusWithContext), varargs...) } +// GetSnapshotBlockPublicAccessState mocks base method. +func (m *MockEC2API) GetSnapshotBlockPublicAccessState(arg0 *ec2.GetSnapshotBlockPublicAccessStateInput) (*ec2.GetSnapshotBlockPublicAccessStateOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetSnapshotBlockPublicAccessState", arg0) + ret0, _ := ret[0].(*ec2.GetSnapshotBlockPublicAccessStateOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetSnapshotBlockPublicAccessState indicates an expected call of GetSnapshotBlockPublicAccessState. +func (mr *MockEC2APIMockRecorder) GetSnapshotBlockPublicAccessState(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSnapshotBlockPublicAccessState", reflect.TypeOf((*MockEC2API)(nil).GetSnapshotBlockPublicAccessState), arg0) +} + +// GetSnapshotBlockPublicAccessStateRequest mocks base method. +func (m *MockEC2API) GetSnapshotBlockPublicAccessStateRequest(arg0 *ec2.GetSnapshotBlockPublicAccessStateInput) (*request.Request, *ec2.GetSnapshotBlockPublicAccessStateOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetSnapshotBlockPublicAccessStateRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*ec2.GetSnapshotBlockPublicAccessStateOutput) + return ret0, ret1 +} + +// GetSnapshotBlockPublicAccessStateRequest indicates an expected call of GetSnapshotBlockPublicAccessStateRequest. +func (mr *MockEC2APIMockRecorder) GetSnapshotBlockPublicAccessStateRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSnapshotBlockPublicAccessStateRequest", reflect.TypeOf((*MockEC2API)(nil).GetSnapshotBlockPublicAccessStateRequest), arg0) +} + +// GetSnapshotBlockPublicAccessStateWithContext mocks base method. +func (m *MockEC2API) GetSnapshotBlockPublicAccessStateWithContext(arg0 context.Context, arg1 *ec2.GetSnapshotBlockPublicAccessStateInput, arg2 ...request.Option) (*ec2.GetSnapshotBlockPublicAccessStateOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetSnapshotBlockPublicAccessStateWithContext", varargs...) + ret0, _ := ret[0].(*ec2.GetSnapshotBlockPublicAccessStateOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetSnapshotBlockPublicAccessStateWithContext indicates an expected call of GetSnapshotBlockPublicAccessStateWithContext. +func (mr *MockEC2APIMockRecorder) GetSnapshotBlockPublicAccessStateWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSnapshotBlockPublicAccessStateWithContext", reflect.TypeOf((*MockEC2API)(nil).GetSnapshotBlockPublicAccessStateWithContext), varargs...) +} + // GetSpotPlacementScores mocks base method. func (m *MockEC2API) GetSpotPlacementScores(arg0 *ec2.GetSpotPlacementScoresInput) (*ec2.GetSpotPlacementScoresOutput, error) { m.ctrl.T.Helper() @@ -31125,6 +31774,56 @@ func (mr *MockEC2APIMockRecorder) ProvisionPublicIpv4PoolCidrWithContext(arg0, a return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ProvisionPublicIpv4PoolCidrWithContext", reflect.TypeOf((*MockEC2API)(nil).ProvisionPublicIpv4PoolCidrWithContext), varargs...) } +// PurchaseCapacityBlock mocks base method. +func (m *MockEC2API) PurchaseCapacityBlock(arg0 *ec2.PurchaseCapacityBlockInput) (*ec2.PurchaseCapacityBlockOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "PurchaseCapacityBlock", arg0) + ret0, _ := ret[0].(*ec2.PurchaseCapacityBlockOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// PurchaseCapacityBlock indicates an expected call of PurchaseCapacityBlock. +func (mr *MockEC2APIMockRecorder) PurchaseCapacityBlock(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PurchaseCapacityBlock", reflect.TypeOf((*MockEC2API)(nil).PurchaseCapacityBlock), arg0) +} + +// PurchaseCapacityBlockRequest mocks base method. +func (m *MockEC2API) PurchaseCapacityBlockRequest(arg0 *ec2.PurchaseCapacityBlockInput) (*request.Request, *ec2.PurchaseCapacityBlockOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "PurchaseCapacityBlockRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*ec2.PurchaseCapacityBlockOutput) + return ret0, ret1 +} + +// PurchaseCapacityBlockRequest indicates an expected call of PurchaseCapacityBlockRequest. +func (mr *MockEC2APIMockRecorder) PurchaseCapacityBlockRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PurchaseCapacityBlockRequest", reflect.TypeOf((*MockEC2API)(nil).PurchaseCapacityBlockRequest), arg0) +} + +// PurchaseCapacityBlockWithContext mocks base method. +func (m *MockEC2API) PurchaseCapacityBlockWithContext(arg0 context.Context, arg1 *ec2.PurchaseCapacityBlockInput, arg2 ...request.Option) (*ec2.PurchaseCapacityBlockOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "PurchaseCapacityBlockWithContext", varargs...) + ret0, _ := ret[0].(*ec2.PurchaseCapacityBlockOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// PurchaseCapacityBlockWithContext indicates an expected call of PurchaseCapacityBlockWithContext. +func (mr *MockEC2APIMockRecorder) PurchaseCapacityBlockWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PurchaseCapacityBlockWithContext", reflect.TypeOf((*MockEC2API)(nil).PurchaseCapacityBlockWithContext), varargs...) +} + // PurchaseHostReservation mocks base method. func (m *MockEC2API) PurchaseHostReservation(arg0 *ec2.PurchaseHostReservationInput) (*ec2.PurchaseHostReservationOutput, error) { m.ctrl.T.Helper() diff --git a/pkg/clients/mock/eksiface/zz_eks_api.go b/pkg/clients/mock/eksiface/zz_eks_api.go index 8470b53104..f443a19207 100644 --- a/pkg/clients/mock/eksiface/zz_eks_api.go +++ b/pkg/clients/mock/eksiface/zz_eks_api.go @@ -253,6 +253,56 @@ func (mr *MockEKSAPIMockRecorder) CreateClusterWithContext(arg0, arg1 interface{ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateClusterWithContext", reflect.TypeOf((*MockEKSAPI)(nil).CreateClusterWithContext), varargs...) } +// CreateEksAnywhereSubscription mocks base method. +func (m *MockEKSAPI) CreateEksAnywhereSubscription(arg0 *eks.CreateEksAnywhereSubscriptionInput) (*eks.CreateEksAnywhereSubscriptionOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "CreateEksAnywhereSubscription", arg0) + ret0, _ := ret[0].(*eks.CreateEksAnywhereSubscriptionOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// CreateEksAnywhereSubscription indicates an expected call of CreateEksAnywhereSubscription. +func (mr *MockEKSAPIMockRecorder) CreateEksAnywhereSubscription(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateEksAnywhereSubscription", reflect.TypeOf((*MockEKSAPI)(nil).CreateEksAnywhereSubscription), arg0) +} + +// CreateEksAnywhereSubscriptionRequest mocks base method. +func (m *MockEKSAPI) CreateEksAnywhereSubscriptionRequest(arg0 *eks.CreateEksAnywhereSubscriptionInput) (*request.Request, *eks.CreateEksAnywhereSubscriptionOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "CreateEksAnywhereSubscriptionRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*eks.CreateEksAnywhereSubscriptionOutput) + return ret0, ret1 +} + +// CreateEksAnywhereSubscriptionRequest indicates an expected call of CreateEksAnywhereSubscriptionRequest. +func (mr *MockEKSAPIMockRecorder) CreateEksAnywhereSubscriptionRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateEksAnywhereSubscriptionRequest", reflect.TypeOf((*MockEKSAPI)(nil).CreateEksAnywhereSubscriptionRequest), arg0) +} + +// CreateEksAnywhereSubscriptionWithContext mocks base method. +func (m *MockEKSAPI) CreateEksAnywhereSubscriptionWithContext(arg0 context.Context, arg1 *eks.CreateEksAnywhereSubscriptionInput, arg2 ...request.Option) (*eks.CreateEksAnywhereSubscriptionOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "CreateEksAnywhereSubscriptionWithContext", varargs...) + ret0, _ := ret[0].(*eks.CreateEksAnywhereSubscriptionOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// CreateEksAnywhereSubscriptionWithContext indicates an expected call of CreateEksAnywhereSubscriptionWithContext. +func (mr *MockEKSAPIMockRecorder) CreateEksAnywhereSubscriptionWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateEksAnywhereSubscriptionWithContext", reflect.TypeOf((*MockEKSAPI)(nil).CreateEksAnywhereSubscriptionWithContext), varargs...) +} + // CreateFargateProfile mocks base method. func (m *MockEKSAPI) CreateFargateProfile(arg0 *eks.CreateFargateProfileInput) (*eks.CreateFargateProfileOutput, error) { m.ctrl.T.Helper() @@ -453,6 +503,56 @@ func (mr *MockEKSAPIMockRecorder) DeleteClusterWithContext(arg0, arg1 interface{ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteClusterWithContext", reflect.TypeOf((*MockEKSAPI)(nil).DeleteClusterWithContext), varargs...) } +// DeleteEksAnywhereSubscription mocks base method. +func (m *MockEKSAPI) DeleteEksAnywhereSubscription(arg0 *eks.DeleteEksAnywhereSubscriptionInput) (*eks.DeleteEksAnywhereSubscriptionOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DeleteEksAnywhereSubscription", arg0) + ret0, _ := ret[0].(*eks.DeleteEksAnywhereSubscriptionOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DeleteEksAnywhereSubscription indicates an expected call of DeleteEksAnywhereSubscription. +func (mr *MockEKSAPIMockRecorder) DeleteEksAnywhereSubscription(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteEksAnywhereSubscription", reflect.TypeOf((*MockEKSAPI)(nil).DeleteEksAnywhereSubscription), arg0) +} + +// DeleteEksAnywhereSubscriptionRequest mocks base method. +func (m *MockEKSAPI) DeleteEksAnywhereSubscriptionRequest(arg0 *eks.DeleteEksAnywhereSubscriptionInput) (*request.Request, *eks.DeleteEksAnywhereSubscriptionOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DeleteEksAnywhereSubscriptionRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*eks.DeleteEksAnywhereSubscriptionOutput) + return ret0, ret1 +} + +// DeleteEksAnywhereSubscriptionRequest indicates an expected call of DeleteEksAnywhereSubscriptionRequest. +func (mr *MockEKSAPIMockRecorder) DeleteEksAnywhereSubscriptionRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteEksAnywhereSubscriptionRequest", reflect.TypeOf((*MockEKSAPI)(nil).DeleteEksAnywhereSubscriptionRequest), arg0) +} + +// DeleteEksAnywhereSubscriptionWithContext mocks base method. +func (m *MockEKSAPI) DeleteEksAnywhereSubscriptionWithContext(arg0 context.Context, arg1 *eks.DeleteEksAnywhereSubscriptionInput, arg2 ...request.Option) (*eks.DeleteEksAnywhereSubscriptionOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "DeleteEksAnywhereSubscriptionWithContext", varargs...) + ret0, _ := ret[0].(*eks.DeleteEksAnywhereSubscriptionOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DeleteEksAnywhereSubscriptionWithContext indicates an expected call of DeleteEksAnywhereSubscriptionWithContext. +func (mr *MockEKSAPIMockRecorder) DeleteEksAnywhereSubscriptionWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteEksAnywhereSubscriptionWithContext", reflect.TypeOf((*MockEKSAPI)(nil).DeleteEksAnywhereSubscriptionWithContext), varargs...) +} + // DeleteFargateProfile mocks base method. func (m *MockEKSAPI) DeleteFargateProfile(arg0 *eks.DeleteFargateProfileInput) (*eks.DeleteFargateProfileOutput, error) { m.ctrl.T.Helper() @@ -836,6 +936,56 @@ func (mr *MockEKSAPIMockRecorder) DescribeClusterWithContext(arg0, arg1 interfac return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeClusterWithContext", reflect.TypeOf((*MockEKSAPI)(nil).DescribeClusterWithContext), varargs...) } +// DescribeEksAnywhereSubscription mocks base method. +func (m *MockEKSAPI) DescribeEksAnywhereSubscription(arg0 *eks.DescribeEksAnywhereSubscriptionInput) (*eks.DescribeEksAnywhereSubscriptionOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeEksAnywhereSubscription", arg0) + ret0, _ := ret[0].(*eks.DescribeEksAnywhereSubscriptionOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeEksAnywhereSubscription indicates an expected call of DescribeEksAnywhereSubscription. +func (mr *MockEKSAPIMockRecorder) DescribeEksAnywhereSubscription(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeEksAnywhereSubscription", reflect.TypeOf((*MockEKSAPI)(nil).DescribeEksAnywhereSubscription), arg0) +} + +// DescribeEksAnywhereSubscriptionRequest mocks base method. +func (m *MockEKSAPI) DescribeEksAnywhereSubscriptionRequest(arg0 *eks.DescribeEksAnywhereSubscriptionInput) (*request.Request, *eks.DescribeEksAnywhereSubscriptionOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeEksAnywhereSubscriptionRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*eks.DescribeEksAnywhereSubscriptionOutput) + return ret0, ret1 +} + +// DescribeEksAnywhereSubscriptionRequest indicates an expected call of DescribeEksAnywhereSubscriptionRequest. +func (mr *MockEKSAPIMockRecorder) DescribeEksAnywhereSubscriptionRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeEksAnywhereSubscriptionRequest", reflect.TypeOf((*MockEKSAPI)(nil).DescribeEksAnywhereSubscriptionRequest), arg0) +} + +// DescribeEksAnywhereSubscriptionWithContext mocks base method. +func (m *MockEKSAPI) DescribeEksAnywhereSubscriptionWithContext(arg0 context.Context, arg1 *eks.DescribeEksAnywhereSubscriptionInput, arg2 ...request.Option) (*eks.DescribeEksAnywhereSubscriptionOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "DescribeEksAnywhereSubscriptionWithContext", varargs...) + ret0, _ := ret[0].(*eks.DescribeEksAnywhereSubscriptionOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeEksAnywhereSubscriptionWithContext indicates an expected call of DescribeEksAnywhereSubscriptionWithContext. +func (mr *MockEKSAPIMockRecorder) DescribeEksAnywhereSubscriptionWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeEksAnywhereSubscriptionWithContext", reflect.TypeOf((*MockEKSAPI)(nil).DescribeEksAnywhereSubscriptionWithContext), varargs...) +} + // DescribeFargateProfile mocks base method. func (m *MockEKSAPI) DescribeFargateProfile(arg0 *eks.DescribeFargateProfileInput) (*eks.DescribeFargateProfileOutput, error) { m.ctrl.T.Helper() @@ -1252,6 +1402,56 @@ func (mr *MockEKSAPIMockRecorder) ListClustersWithContext(arg0, arg1 interface{} return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListClustersWithContext", reflect.TypeOf((*MockEKSAPI)(nil).ListClustersWithContext), varargs...) } +// ListEksAnywhereSubscriptions mocks base method. +func (m *MockEKSAPI) ListEksAnywhereSubscriptions(arg0 *eks.ListEksAnywhereSubscriptionsInput) (*eks.ListEksAnywhereSubscriptionsOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ListEksAnywhereSubscriptions", arg0) + ret0, _ := ret[0].(*eks.ListEksAnywhereSubscriptionsOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// ListEksAnywhereSubscriptions indicates an expected call of ListEksAnywhereSubscriptions. +func (mr *MockEKSAPIMockRecorder) ListEksAnywhereSubscriptions(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListEksAnywhereSubscriptions", reflect.TypeOf((*MockEKSAPI)(nil).ListEksAnywhereSubscriptions), arg0) +} + +// ListEksAnywhereSubscriptionsRequest mocks base method. +func (m *MockEKSAPI) ListEksAnywhereSubscriptionsRequest(arg0 *eks.ListEksAnywhereSubscriptionsInput) (*request.Request, *eks.ListEksAnywhereSubscriptionsOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ListEksAnywhereSubscriptionsRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*eks.ListEksAnywhereSubscriptionsOutput) + return ret0, ret1 +} + +// ListEksAnywhereSubscriptionsRequest indicates an expected call of ListEksAnywhereSubscriptionsRequest. +func (mr *MockEKSAPIMockRecorder) ListEksAnywhereSubscriptionsRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListEksAnywhereSubscriptionsRequest", reflect.TypeOf((*MockEKSAPI)(nil).ListEksAnywhereSubscriptionsRequest), arg0) +} + +// ListEksAnywhereSubscriptionsWithContext mocks base method. +func (m *MockEKSAPI) ListEksAnywhereSubscriptionsWithContext(arg0 context.Context, arg1 *eks.ListEksAnywhereSubscriptionsInput, arg2 ...request.Option) (*eks.ListEksAnywhereSubscriptionsOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "ListEksAnywhereSubscriptionsWithContext", varargs...) + ret0, _ := ret[0].(*eks.ListEksAnywhereSubscriptionsOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// ListEksAnywhereSubscriptionsWithContext indicates an expected call of ListEksAnywhereSubscriptionsWithContext. +func (mr *MockEKSAPIMockRecorder) ListEksAnywhereSubscriptionsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListEksAnywhereSubscriptionsWithContext", reflect.TypeOf((*MockEKSAPI)(nil).ListEksAnywhereSubscriptionsWithContext), varargs...) +} + // ListFargateProfiles mocks base method. func (m *MockEKSAPI) ListFargateProfiles(arg0 *eks.ListFargateProfilesInput) (*eks.ListFargateProfilesOutput, error) { m.ctrl.T.Helper() @@ -1934,6 +2134,56 @@ func (mr *MockEKSAPIMockRecorder) UpdateClusterVersionWithContext(arg0, arg1 int return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateClusterVersionWithContext", reflect.TypeOf((*MockEKSAPI)(nil).UpdateClusterVersionWithContext), varargs...) } +// UpdateEksAnywhereSubscription mocks base method. +func (m *MockEKSAPI) UpdateEksAnywhereSubscription(arg0 *eks.UpdateEksAnywhereSubscriptionInput) (*eks.UpdateEksAnywhereSubscriptionOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "UpdateEksAnywhereSubscription", arg0) + ret0, _ := ret[0].(*eks.UpdateEksAnywhereSubscriptionOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// UpdateEksAnywhereSubscription indicates an expected call of UpdateEksAnywhereSubscription. +func (mr *MockEKSAPIMockRecorder) UpdateEksAnywhereSubscription(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateEksAnywhereSubscription", reflect.TypeOf((*MockEKSAPI)(nil).UpdateEksAnywhereSubscription), arg0) +} + +// UpdateEksAnywhereSubscriptionRequest mocks base method. +func (m *MockEKSAPI) UpdateEksAnywhereSubscriptionRequest(arg0 *eks.UpdateEksAnywhereSubscriptionInput) (*request.Request, *eks.UpdateEksAnywhereSubscriptionOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "UpdateEksAnywhereSubscriptionRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*eks.UpdateEksAnywhereSubscriptionOutput) + return ret0, ret1 +} + +// UpdateEksAnywhereSubscriptionRequest indicates an expected call of UpdateEksAnywhereSubscriptionRequest. +func (mr *MockEKSAPIMockRecorder) UpdateEksAnywhereSubscriptionRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateEksAnywhereSubscriptionRequest", reflect.TypeOf((*MockEKSAPI)(nil).UpdateEksAnywhereSubscriptionRequest), arg0) +} + +// UpdateEksAnywhereSubscriptionWithContext mocks base method. +func (m *MockEKSAPI) UpdateEksAnywhereSubscriptionWithContext(arg0 context.Context, arg1 *eks.UpdateEksAnywhereSubscriptionInput, arg2 ...request.Option) (*eks.UpdateEksAnywhereSubscriptionOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "UpdateEksAnywhereSubscriptionWithContext", varargs...) + ret0, _ := ret[0].(*eks.UpdateEksAnywhereSubscriptionOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// UpdateEksAnywhereSubscriptionWithContext indicates an expected call of UpdateEksAnywhereSubscriptionWithContext. +func (mr *MockEKSAPIMockRecorder) UpdateEksAnywhereSubscriptionWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateEksAnywhereSubscriptionWithContext", reflect.TypeOf((*MockEKSAPI)(nil).UpdateEksAnywhereSubscriptionWithContext), varargs...) +} + // UpdateNodegroupConfig mocks base method. func (m *MockEKSAPI) UpdateNodegroupConfig(arg0 *eks.UpdateNodegroupConfigInput) (*eks.UpdateNodegroupConfigOutput, error) { m.ctrl.T.Helper() diff --git a/pkg/controller/docdb/dbinstance/setup_test.go b/pkg/controller/docdb/dbinstance/setup_test.go index dbf9ee9640..9557313f02 100644 --- a/pkg/controller/docdb/dbinstance/setup_test.go +++ b/pkg/controller/docdb/dbinstance/setup_test.go @@ -49,6 +49,7 @@ var ( testAvailabilityZone = "test-zone-a" testOtherAvailabilityZone = "test-zone-b" testCACertificateIdentifier = "some-certificate" + testCACertificateDetails = docdb.CertificateDetails{CAIdentifier: pointer.ToOrNilIfZeroValue(testCACertificateIdentifier)} testOtherCACertificateIdentifier = "some-other-certificate" testDBInstanceClass = "some-db-instance-class" testOtherDBInstanceClass = "some-other-db-instance-class" @@ -139,7 +140,9 @@ func withCACertificateIdentifier(value string) docDBModifier { func withStatusCACertificateIdentifier(value string) docDBModifier { return func(o *svcapitypes.DBInstance) { - o.Status.AtProvider.CACertificateIdentifier = pointer.ToOrNilIfZeroValue(value) + o.Status.AtProvider.CertificateDetails = &svcapitypes.CertificateDetails{ + CAIdentifier: pointer.ToOrNilIfZeroValue(value), + } } } @@ -372,6 +375,7 @@ func TestObserve(t *testing.T) { DBInstanceArn: pointer.ToOrNilIfZeroValue(testDBInstanceArn), Endpoint: &docdb.Endpoint{Address: pointer.ToOrNilIfZeroValue(testAddress), Port: pointer.ToIntAsInt64(testPort)}, CACertificateIdentifier: pointer.ToOrNilIfZeroValue(testCACertificateIdentifier), + CertificateDetails: pointer.ToOrNilIfZeroValue(testCACertificateDetails), }, }}, nil }, @@ -383,6 +387,7 @@ func TestObserve(t *testing.T) { withExternalName(testDBIdentifier), withDBIdentifier(testDBIdentifier), withCACertificateIdentifier(testOtherCACertificateIdentifier), + withStatusCACertificateIdentifier(testOtherCACertificateIdentifier), ), }, want: want{ @@ -887,6 +892,7 @@ func TestObserve(t *testing.T) { DBInstanceIdentifier: pointer.ToOrNilIfZeroValue(testDBIdentifier), Endpoint: &docdb.Endpoint{Address: pointer.ToOrNilIfZeroValue(testAddress), Port: pointer.ToIntAsInt64(testPort)}, CACertificateIdentifier: pointer.ToOrNilIfZeroValue(testCACertificateIdentifier), + CertificateDetails: pointer.ToOrNilIfZeroValue(testCACertificateDetails), }, }}, nil }, @@ -1399,6 +1405,7 @@ func TestObserve(t *testing.T) { DBInstanceIdentifier: pointer.ToOrNilIfZeroValue(testDBIdentifier), Endpoint: &docdb.Endpoint{Address: pointer.ToOrNilIfZeroValue(testAddress), Port: pointer.ToIntAsInt64(testPort)}, CACertificateIdentifier: pointer.ToOrNilIfZeroValue(testCACertificateIdentifier), + CertificateDetails: pointer.ToOrNilIfZeroValue(testCACertificateDetails), }, }}, nil }, @@ -1911,6 +1918,7 @@ func TestObserve(t *testing.T) { DBInstanceIdentifier: pointer.ToOrNilIfZeroValue(testDBIdentifier), Endpoint: &docdb.Endpoint{Address: pointer.ToOrNilIfZeroValue(testAddress), Port: pointer.ToIntAsInt64(testPort)}, CACertificateIdentifier: pointer.ToOrNilIfZeroValue(testCACertificateIdentifier), + CertificateDetails: pointer.ToOrNilIfZeroValue(testCACertificateDetails), }, }}, nil }, @@ -2352,6 +2360,8 @@ func TestCreate(t *testing.T) { DBInstance: &docdb.DBInstance{ AutoMinorVersionUpgrade: pointer.ToOrNilIfZeroValue(true), AvailabilityZone: &testAvailabilityZone, + CACertificateIdentifier: &testCACertificateIdentifier, + CertificateDetails: pointer.ToOrNilIfZeroValue(testCACertificateDetails), DBInstanceClass: &testDBInstanceClass, DBInstanceIdentifier: pointer.ToOrNilIfZeroValue(testDBIdentifier), Endpoint: &docdb.Endpoint{ @@ -2382,6 +2392,7 @@ func TestCreate(t *testing.T) { withAutoMinorVersionUpgrade(true), withAvailabilityZone(testAvailabilityZone), withCACertificateIdentifier(testCACertificateIdentifier), + withStatusCACertificateIdentifier(testCACertificateIdentifier), withDBInstanceClass(testDBInstanceClass), withPreferredMaintenanceWindow(testPreferredMaintenanceWindow), withPromotionTier(testPromotionTier), @@ -2400,6 +2411,7 @@ func TestCreate(t *testing.T) { { Ctx: context.Background(), I: &docdb.CreateDBInstanceInput{ + CACertificateIdentifier: pointer.ToOrNilIfZeroValue(testCACertificateIdentifier), DBInstanceIdentifier: pointer.ToOrNilIfZeroValue(testDBIdentifier), AutoMinorVersionUpgrade: pointer.ToOrNilIfZeroValue(true), AvailabilityZone: pointer.ToOrNilIfZeroValue(testAvailabilityZone), diff --git a/pkg/controller/docdb/dbinstance/zz_controller.go b/pkg/controller/docdb/dbinstance/zz_controller.go index 67b0369bf2..bca0dc07a1 100644 --- a/pkg/controller/docdb/dbinstance/zz_controller.go +++ b/pkg/controller/docdb/dbinstance/zz_controller.go @@ -140,9 +140,21 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Status.AtProvider.BackupRetentionPeriod = nil } if resp.DBInstance.CACertificateIdentifier != nil { - cr.Status.AtProvider.CACertificateIdentifier = resp.DBInstance.CACertificateIdentifier + cr.Spec.ForProvider.CACertificateIdentifier = resp.DBInstance.CACertificateIdentifier } else { - cr.Status.AtProvider.CACertificateIdentifier = nil + cr.Spec.ForProvider.CACertificateIdentifier = nil + } + if resp.DBInstance.CertificateDetails != nil { + f4 := &svcapitypes.CertificateDetails{} + if resp.DBInstance.CertificateDetails.CAIdentifier != nil { + f4.CAIdentifier = resp.DBInstance.CertificateDetails.CAIdentifier + } + if resp.DBInstance.CertificateDetails.ValidTill != nil { + f4.ValidTill = &metav1.Time{*resp.DBInstance.CertificateDetails.ValidTill} + } + cr.Status.AtProvider.CertificateDetails = f4 + } else { + cr.Status.AtProvider.CertificateDetails = nil } if resp.DBInstance.CopyTagsToSnapshot != nil { cr.Spec.ForProvider.CopyTagsToSnapshot = resp.DBInstance.CopyTagsToSnapshot @@ -175,44 +187,44 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Status.AtProvider.DBInstanceStatus = nil } if resp.DBInstance.DBSubnetGroup != nil { - f10 := &svcapitypes.DBSubnetGroup_SDK{} + f11 := &svcapitypes.DBSubnetGroup_SDK{} if resp.DBInstance.DBSubnetGroup.DBSubnetGroupArn != nil { - f10.DBSubnetGroupARN = resp.DBInstance.DBSubnetGroup.DBSubnetGroupArn + f11.DBSubnetGroupARN = resp.DBInstance.DBSubnetGroup.DBSubnetGroupArn } if resp.DBInstance.DBSubnetGroup.DBSubnetGroupDescription != nil { - f10.DBSubnetGroupDescription = resp.DBInstance.DBSubnetGroup.DBSubnetGroupDescription + f11.DBSubnetGroupDescription = resp.DBInstance.DBSubnetGroup.DBSubnetGroupDescription } if resp.DBInstance.DBSubnetGroup.DBSubnetGroupName != nil { - f10.DBSubnetGroupName = resp.DBInstance.DBSubnetGroup.DBSubnetGroupName + f11.DBSubnetGroupName = resp.DBInstance.DBSubnetGroup.DBSubnetGroupName } if resp.DBInstance.DBSubnetGroup.SubnetGroupStatus != nil { - f10.SubnetGroupStatus = resp.DBInstance.DBSubnetGroup.SubnetGroupStatus + f11.SubnetGroupStatus = resp.DBInstance.DBSubnetGroup.SubnetGroupStatus } if resp.DBInstance.DBSubnetGroup.Subnets != nil { - f10f4 := []*svcapitypes.Subnet{} - for _, f10f4iter := range resp.DBInstance.DBSubnetGroup.Subnets { - f10f4elem := &svcapitypes.Subnet{} - if f10f4iter.SubnetAvailabilityZone != nil { - f10f4elemf0 := &svcapitypes.AvailabilityZone{} - if f10f4iter.SubnetAvailabilityZone.Name != nil { - f10f4elemf0.Name = f10f4iter.SubnetAvailabilityZone.Name + f11f4 := []*svcapitypes.Subnet{} + for _, f11f4iter := range resp.DBInstance.DBSubnetGroup.Subnets { + f11f4elem := &svcapitypes.Subnet{} + if f11f4iter.SubnetAvailabilityZone != nil { + f11f4elemf0 := &svcapitypes.AvailabilityZone{} + if f11f4iter.SubnetAvailabilityZone.Name != nil { + f11f4elemf0.Name = f11f4iter.SubnetAvailabilityZone.Name } - f10f4elem.SubnetAvailabilityZone = f10f4elemf0 + f11f4elem.SubnetAvailabilityZone = f11f4elemf0 } - if f10f4iter.SubnetIdentifier != nil { - f10f4elem.SubnetIdentifier = f10f4iter.SubnetIdentifier + if f11f4iter.SubnetIdentifier != nil { + f11f4elem.SubnetIdentifier = f11f4iter.SubnetIdentifier } - if f10f4iter.SubnetStatus != nil { - f10f4elem.SubnetStatus = f10f4iter.SubnetStatus + if f11f4iter.SubnetStatus != nil { + f11f4elem.SubnetStatus = f11f4iter.SubnetStatus } - f10f4 = append(f10f4, f10f4elem) + f11f4 = append(f11f4, f11f4elem) } - f10.Subnets = f10f4 + f11.Subnets = f11f4 } if resp.DBInstance.DBSubnetGroup.VpcId != nil { - f10.VPCID = resp.DBInstance.DBSubnetGroup.VpcId + f11.VPCID = resp.DBInstance.DBSubnetGroup.VpcId } - cr.Status.AtProvider.DBSubnetGroup = f10 + cr.Status.AtProvider.DBSubnetGroup = f11 } else { cr.Status.AtProvider.DBSubnetGroup = nil } @@ -222,28 +234,28 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Status.AtProvider.DBIResourceID = nil } if resp.DBInstance.EnabledCloudwatchLogsExports != nil { - f12 := []*string{} - for _, f12iter := range resp.DBInstance.EnabledCloudwatchLogsExports { - var f12elem string - f12elem = *f12iter - f12 = append(f12, &f12elem) + f13 := []*string{} + for _, f13iter := range resp.DBInstance.EnabledCloudwatchLogsExports { + var f13elem string + f13elem = *f13iter + f13 = append(f13, &f13elem) } - cr.Status.AtProvider.EnabledCloudwatchLogsExports = f12 + cr.Status.AtProvider.EnabledCloudwatchLogsExports = f13 } else { cr.Status.AtProvider.EnabledCloudwatchLogsExports = nil } if resp.DBInstance.Endpoint != nil { - f13 := &svcapitypes.Endpoint{} + f14 := &svcapitypes.Endpoint{} if resp.DBInstance.Endpoint.Address != nil { - f13.Address = resp.DBInstance.Endpoint.Address + f14.Address = resp.DBInstance.Endpoint.Address } if resp.DBInstance.Endpoint.HostedZoneId != nil { - f13.HostedZoneID = resp.DBInstance.Endpoint.HostedZoneId + f14.HostedZoneID = resp.DBInstance.Endpoint.HostedZoneId } if resp.DBInstance.Endpoint.Port != nil { - f13.Port = resp.DBInstance.Endpoint.Port + f14.Port = resp.DBInstance.Endpoint.Port } - cr.Status.AtProvider.Endpoint = f13 + cr.Status.AtProvider.Endpoint = f14 } else { cr.Status.AtProvider.Endpoint = nil } @@ -273,69 +285,69 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Status.AtProvider.LatestRestorableTime = nil } if resp.DBInstance.PendingModifiedValues != nil { - f19 := &svcapitypes.PendingModifiedValues{} + f20 := &svcapitypes.PendingModifiedValues{} if resp.DBInstance.PendingModifiedValues.AllocatedStorage != nil { - f19.AllocatedStorage = resp.DBInstance.PendingModifiedValues.AllocatedStorage + f20.AllocatedStorage = resp.DBInstance.PendingModifiedValues.AllocatedStorage } if resp.DBInstance.PendingModifiedValues.BackupRetentionPeriod != nil { - f19.BackupRetentionPeriod = resp.DBInstance.PendingModifiedValues.BackupRetentionPeriod + f20.BackupRetentionPeriod = resp.DBInstance.PendingModifiedValues.BackupRetentionPeriod } if resp.DBInstance.PendingModifiedValues.CACertificateIdentifier != nil { - f19.CACertificateIdentifier = resp.DBInstance.PendingModifiedValues.CACertificateIdentifier + f20.CACertificateIdentifier = resp.DBInstance.PendingModifiedValues.CACertificateIdentifier } if resp.DBInstance.PendingModifiedValues.DBInstanceClass != nil { - f19.DBInstanceClass = resp.DBInstance.PendingModifiedValues.DBInstanceClass + f20.DBInstanceClass = resp.DBInstance.PendingModifiedValues.DBInstanceClass } if resp.DBInstance.PendingModifiedValues.DBInstanceIdentifier != nil { - f19.DBInstanceIdentifier = resp.DBInstance.PendingModifiedValues.DBInstanceIdentifier + f20.DBInstanceIdentifier = resp.DBInstance.PendingModifiedValues.DBInstanceIdentifier } if resp.DBInstance.PendingModifiedValues.DBSubnetGroupName != nil { - f19.DBSubnetGroupName = resp.DBInstance.PendingModifiedValues.DBSubnetGroupName + f20.DBSubnetGroupName = resp.DBInstance.PendingModifiedValues.DBSubnetGroupName } if resp.DBInstance.PendingModifiedValues.EngineVersion != nil { - f19.EngineVersion = resp.DBInstance.PendingModifiedValues.EngineVersion + f20.EngineVersion = resp.DBInstance.PendingModifiedValues.EngineVersion } if resp.DBInstance.PendingModifiedValues.Iops != nil { - f19.IOPS = resp.DBInstance.PendingModifiedValues.Iops + f20.IOPS = resp.DBInstance.PendingModifiedValues.Iops } if resp.DBInstance.PendingModifiedValues.LicenseModel != nil { - f19.LicenseModel = resp.DBInstance.PendingModifiedValues.LicenseModel + f20.LicenseModel = resp.DBInstance.PendingModifiedValues.LicenseModel } if resp.DBInstance.PendingModifiedValues.MasterUserPassword != nil { - f19.MasterUserPassword = resp.DBInstance.PendingModifiedValues.MasterUserPassword + f20.MasterUserPassword = resp.DBInstance.PendingModifiedValues.MasterUserPassword } if resp.DBInstance.PendingModifiedValues.MultiAZ != nil { - f19.MultiAZ = resp.DBInstance.PendingModifiedValues.MultiAZ + f20.MultiAZ = resp.DBInstance.PendingModifiedValues.MultiAZ } if resp.DBInstance.PendingModifiedValues.PendingCloudwatchLogsExports != nil { - f19f11 := &svcapitypes.PendingCloudwatchLogsExports{} + f20f11 := &svcapitypes.PendingCloudwatchLogsExports{} if resp.DBInstance.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToDisable != nil { - f19f11f0 := []*string{} - for _, f19f11f0iter := range resp.DBInstance.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToDisable { - var f19f11f0elem string - f19f11f0elem = *f19f11f0iter - f19f11f0 = append(f19f11f0, &f19f11f0elem) + f20f11f0 := []*string{} + for _, f20f11f0iter := range resp.DBInstance.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToDisable { + var f20f11f0elem string + f20f11f0elem = *f20f11f0iter + f20f11f0 = append(f20f11f0, &f20f11f0elem) } - f19f11.LogTypesToDisable = f19f11f0 + f20f11.LogTypesToDisable = f20f11f0 } if resp.DBInstance.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToEnable != nil { - f19f11f1 := []*string{} - for _, f19f11f1iter := range resp.DBInstance.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToEnable { - var f19f11f1elem string - f19f11f1elem = *f19f11f1iter - f19f11f1 = append(f19f11f1, &f19f11f1elem) + f20f11f1 := []*string{} + for _, f20f11f1iter := range resp.DBInstance.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToEnable { + var f20f11f1elem string + f20f11f1elem = *f20f11f1iter + f20f11f1 = append(f20f11f1, &f20f11f1elem) } - f19f11.LogTypesToEnable = f19f11f1 + f20f11.LogTypesToEnable = f20f11f1 } - f19.PendingCloudwatchLogsExports = f19f11 + f20.PendingCloudwatchLogsExports = f20f11 } if resp.DBInstance.PendingModifiedValues.Port != nil { - f19.Port = resp.DBInstance.PendingModifiedValues.Port + f20.Port = resp.DBInstance.PendingModifiedValues.Port } if resp.DBInstance.PendingModifiedValues.StorageType != nil { - f19.StorageType = resp.DBInstance.PendingModifiedValues.StorageType + f20.StorageType = resp.DBInstance.PendingModifiedValues.StorageType } - cr.Status.AtProvider.PendingModifiedValues = f19 + cr.Status.AtProvider.PendingModifiedValues = f20 } else { cr.Status.AtProvider.PendingModifiedValues = nil } @@ -360,24 +372,24 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Status.AtProvider.PubliclyAccessible = nil } if resp.DBInstance.StatusInfos != nil { - f24 := []*svcapitypes.DBInstanceStatusInfo{} - for _, f24iter := range resp.DBInstance.StatusInfos { - f24elem := &svcapitypes.DBInstanceStatusInfo{} - if f24iter.Message != nil { - f24elem.Message = f24iter.Message + f25 := []*svcapitypes.DBInstanceStatusInfo{} + for _, f25iter := range resp.DBInstance.StatusInfos { + f25elem := &svcapitypes.DBInstanceStatusInfo{} + if f25iter.Message != nil { + f25elem.Message = f25iter.Message } - if f24iter.Normal != nil { - f24elem.Normal = f24iter.Normal + if f25iter.Normal != nil { + f25elem.Normal = f25iter.Normal } - if f24iter.Status != nil { - f24elem.Status = f24iter.Status + if f25iter.Status != nil { + f25elem.Status = f25iter.Status } - if f24iter.StatusType != nil { - f24elem.StatusType = f24iter.StatusType + if f25iter.StatusType != nil { + f25elem.StatusType = f25iter.StatusType } - f24 = append(f24, f24elem) + f25 = append(f25, f25elem) } - cr.Status.AtProvider.StatusInfos = f24 + cr.Status.AtProvider.StatusInfos = f25 } else { cr.Status.AtProvider.StatusInfos = nil } @@ -387,18 +399,18 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Status.AtProvider.StorageEncrypted = nil } if resp.DBInstance.VpcSecurityGroups != nil { - f26 := []*svcapitypes.VPCSecurityGroupMembership{} - for _, f26iter := range resp.DBInstance.VpcSecurityGroups { - f26elem := &svcapitypes.VPCSecurityGroupMembership{} - if f26iter.Status != nil { - f26elem.Status = f26iter.Status + f27 := []*svcapitypes.VPCSecurityGroupMembership{} + for _, f27iter := range resp.DBInstance.VpcSecurityGroups { + f27elem := &svcapitypes.VPCSecurityGroupMembership{} + if f27iter.Status != nil { + f27elem.Status = f27iter.Status } - if f26iter.VpcSecurityGroupId != nil { - f26elem.VPCSecurityGroupID = f26iter.VpcSecurityGroupId + if f27iter.VpcSecurityGroupId != nil { + f27elem.VPCSecurityGroupID = f27iter.VpcSecurityGroupId } - f26 = append(f26, f26elem) + f27 = append(f27, f27elem) } - cr.Status.AtProvider.VPCSecurityGroups = f26 + cr.Status.AtProvider.VPCSecurityGroups = f27 } else { cr.Status.AtProvider.VPCSecurityGroups = nil } diff --git a/pkg/controller/docdb/dbinstance/zz_conversions.go b/pkg/controller/docdb/dbinstance/zz_conversions.go index 1d86cb71c0..2fec2dd77b 100644 --- a/pkg/controller/docdb/dbinstance/zz_conversions.go +++ b/pkg/controller/docdb/dbinstance/zz_conversions.go @@ -63,9 +63,21 @@ func GenerateDBInstance(resp *svcsdk.DescribeDBInstancesOutput) *svcapitypes.DBI cr.Status.AtProvider.BackupRetentionPeriod = nil } if elem.CACertificateIdentifier != nil { - cr.Status.AtProvider.CACertificateIdentifier = elem.CACertificateIdentifier + cr.Spec.ForProvider.CACertificateIdentifier = elem.CACertificateIdentifier } else { - cr.Status.AtProvider.CACertificateIdentifier = nil + cr.Spec.ForProvider.CACertificateIdentifier = nil + } + if elem.CertificateDetails != nil { + f4 := &svcapitypes.CertificateDetails{} + if elem.CertificateDetails.CAIdentifier != nil { + f4.CAIdentifier = elem.CertificateDetails.CAIdentifier + } + if elem.CertificateDetails.ValidTill != nil { + f4.ValidTill = &metav1.Time{*elem.CertificateDetails.ValidTill} + } + cr.Status.AtProvider.CertificateDetails = f4 + } else { + cr.Status.AtProvider.CertificateDetails = nil } if elem.CopyTagsToSnapshot != nil { cr.Spec.ForProvider.CopyTagsToSnapshot = elem.CopyTagsToSnapshot @@ -98,44 +110,44 @@ func GenerateDBInstance(resp *svcsdk.DescribeDBInstancesOutput) *svcapitypes.DBI cr.Status.AtProvider.DBInstanceStatus = nil } if elem.DBSubnetGroup != nil { - f10 := &svcapitypes.DBSubnetGroup_SDK{} + f11 := &svcapitypes.DBSubnetGroup_SDK{} if elem.DBSubnetGroup.DBSubnetGroupArn != nil { - f10.DBSubnetGroupARN = elem.DBSubnetGroup.DBSubnetGroupArn + f11.DBSubnetGroupARN = elem.DBSubnetGroup.DBSubnetGroupArn } if elem.DBSubnetGroup.DBSubnetGroupDescription != nil { - f10.DBSubnetGroupDescription = elem.DBSubnetGroup.DBSubnetGroupDescription + f11.DBSubnetGroupDescription = elem.DBSubnetGroup.DBSubnetGroupDescription } if elem.DBSubnetGroup.DBSubnetGroupName != nil { - f10.DBSubnetGroupName = elem.DBSubnetGroup.DBSubnetGroupName + f11.DBSubnetGroupName = elem.DBSubnetGroup.DBSubnetGroupName } if elem.DBSubnetGroup.SubnetGroupStatus != nil { - f10.SubnetGroupStatus = elem.DBSubnetGroup.SubnetGroupStatus + f11.SubnetGroupStatus = elem.DBSubnetGroup.SubnetGroupStatus } if elem.DBSubnetGroup.Subnets != nil { - f10f4 := []*svcapitypes.Subnet{} - for _, f10f4iter := range elem.DBSubnetGroup.Subnets { - f10f4elem := &svcapitypes.Subnet{} - if f10f4iter.SubnetAvailabilityZone != nil { - f10f4elemf0 := &svcapitypes.AvailabilityZone{} - if f10f4iter.SubnetAvailabilityZone.Name != nil { - f10f4elemf0.Name = f10f4iter.SubnetAvailabilityZone.Name + f11f4 := []*svcapitypes.Subnet{} + for _, f11f4iter := range elem.DBSubnetGroup.Subnets { + f11f4elem := &svcapitypes.Subnet{} + if f11f4iter.SubnetAvailabilityZone != nil { + f11f4elemf0 := &svcapitypes.AvailabilityZone{} + if f11f4iter.SubnetAvailabilityZone.Name != nil { + f11f4elemf0.Name = f11f4iter.SubnetAvailabilityZone.Name } - f10f4elem.SubnetAvailabilityZone = f10f4elemf0 + f11f4elem.SubnetAvailabilityZone = f11f4elemf0 } - if f10f4iter.SubnetIdentifier != nil { - f10f4elem.SubnetIdentifier = f10f4iter.SubnetIdentifier + if f11f4iter.SubnetIdentifier != nil { + f11f4elem.SubnetIdentifier = f11f4iter.SubnetIdentifier } - if f10f4iter.SubnetStatus != nil { - f10f4elem.SubnetStatus = f10f4iter.SubnetStatus + if f11f4iter.SubnetStatus != nil { + f11f4elem.SubnetStatus = f11f4iter.SubnetStatus } - f10f4 = append(f10f4, f10f4elem) + f11f4 = append(f11f4, f11f4elem) } - f10.Subnets = f10f4 + f11.Subnets = f11f4 } if elem.DBSubnetGroup.VpcId != nil { - f10.VPCID = elem.DBSubnetGroup.VpcId + f11.VPCID = elem.DBSubnetGroup.VpcId } - cr.Status.AtProvider.DBSubnetGroup = f10 + cr.Status.AtProvider.DBSubnetGroup = f11 } else { cr.Status.AtProvider.DBSubnetGroup = nil } @@ -145,28 +157,28 @@ func GenerateDBInstance(resp *svcsdk.DescribeDBInstancesOutput) *svcapitypes.DBI cr.Status.AtProvider.DBIResourceID = nil } if elem.EnabledCloudwatchLogsExports != nil { - f12 := []*string{} - for _, f12iter := range elem.EnabledCloudwatchLogsExports { - var f12elem string - f12elem = *f12iter - f12 = append(f12, &f12elem) + f13 := []*string{} + for _, f13iter := range elem.EnabledCloudwatchLogsExports { + var f13elem string + f13elem = *f13iter + f13 = append(f13, &f13elem) } - cr.Status.AtProvider.EnabledCloudwatchLogsExports = f12 + cr.Status.AtProvider.EnabledCloudwatchLogsExports = f13 } else { cr.Status.AtProvider.EnabledCloudwatchLogsExports = nil } if elem.Endpoint != nil { - f13 := &svcapitypes.Endpoint{} + f14 := &svcapitypes.Endpoint{} if elem.Endpoint.Address != nil { - f13.Address = elem.Endpoint.Address + f14.Address = elem.Endpoint.Address } if elem.Endpoint.HostedZoneId != nil { - f13.HostedZoneID = elem.Endpoint.HostedZoneId + f14.HostedZoneID = elem.Endpoint.HostedZoneId } if elem.Endpoint.Port != nil { - f13.Port = elem.Endpoint.Port + f14.Port = elem.Endpoint.Port } - cr.Status.AtProvider.Endpoint = f13 + cr.Status.AtProvider.Endpoint = f14 } else { cr.Status.AtProvider.Endpoint = nil } @@ -196,69 +208,69 @@ func GenerateDBInstance(resp *svcsdk.DescribeDBInstancesOutput) *svcapitypes.DBI cr.Status.AtProvider.LatestRestorableTime = nil } if elem.PendingModifiedValues != nil { - f19 := &svcapitypes.PendingModifiedValues{} + f20 := &svcapitypes.PendingModifiedValues{} if elem.PendingModifiedValues.AllocatedStorage != nil { - f19.AllocatedStorage = elem.PendingModifiedValues.AllocatedStorage + f20.AllocatedStorage = elem.PendingModifiedValues.AllocatedStorage } if elem.PendingModifiedValues.BackupRetentionPeriod != nil { - f19.BackupRetentionPeriod = elem.PendingModifiedValues.BackupRetentionPeriod + f20.BackupRetentionPeriod = elem.PendingModifiedValues.BackupRetentionPeriod } if elem.PendingModifiedValues.CACertificateIdentifier != nil { - f19.CACertificateIdentifier = elem.PendingModifiedValues.CACertificateIdentifier + f20.CACertificateIdentifier = elem.PendingModifiedValues.CACertificateIdentifier } if elem.PendingModifiedValues.DBInstanceClass != nil { - f19.DBInstanceClass = elem.PendingModifiedValues.DBInstanceClass + f20.DBInstanceClass = elem.PendingModifiedValues.DBInstanceClass } if elem.PendingModifiedValues.DBInstanceIdentifier != nil { - f19.DBInstanceIdentifier = elem.PendingModifiedValues.DBInstanceIdentifier + f20.DBInstanceIdentifier = elem.PendingModifiedValues.DBInstanceIdentifier } if elem.PendingModifiedValues.DBSubnetGroupName != nil { - f19.DBSubnetGroupName = elem.PendingModifiedValues.DBSubnetGroupName + f20.DBSubnetGroupName = elem.PendingModifiedValues.DBSubnetGroupName } if elem.PendingModifiedValues.EngineVersion != nil { - f19.EngineVersion = elem.PendingModifiedValues.EngineVersion + f20.EngineVersion = elem.PendingModifiedValues.EngineVersion } if elem.PendingModifiedValues.Iops != nil { - f19.IOPS = elem.PendingModifiedValues.Iops + f20.IOPS = elem.PendingModifiedValues.Iops } if elem.PendingModifiedValues.LicenseModel != nil { - f19.LicenseModel = elem.PendingModifiedValues.LicenseModel + f20.LicenseModel = elem.PendingModifiedValues.LicenseModel } if elem.PendingModifiedValues.MasterUserPassword != nil { - f19.MasterUserPassword = elem.PendingModifiedValues.MasterUserPassword + f20.MasterUserPassword = elem.PendingModifiedValues.MasterUserPassword } if elem.PendingModifiedValues.MultiAZ != nil { - f19.MultiAZ = elem.PendingModifiedValues.MultiAZ + f20.MultiAZ = elem.PendingModifiedValues.MultiAZ } if elem.PendingModifiedValues.PendingCloudwatchLogsExports != nil { - f19f11 := &svcapitypes.PendingCloudwatchLogsExports{} + f20f11 := &svcapitypes.PendingCloudwatchLogsExports{} if elem.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToDisable != nil { - f19f11f0 := []*string{} - for _, f19f11f0iter := range elem.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToDisable { - var f19f11f0elem string - f19f11f0elem = *f19f11f0iter - f19f11f0 = append(f19f11f0, &f19f11f0elem) + f20f11f0 := []*string{} + for _, f20f11f0iter := range elem.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToDisable { + var f20f11f0elem string + f20f11f0elem = *f20f11f0iter + f20f11f0 = append(f20f11f0, &f20f11f0elem) } - f19f11.LogTypesToDisable = f19f11f0 + f20f11.LogTypesToDisable = f20f11f0 } if elem.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToEnable != nil { - f19f11f1 := []*string{} - for _, f19f11f1iter := range elem.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToEnable { - var f19f11f1elem string - f19f11f1elem = *f19f11f1iter - f19f11f1 = append(f19f11f1, &f19f11f1elem) + f20f11f1 := []*string{} + for _, f20f11f1iter := range elem.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToEnable { + var f20f11f1elem string + f20f11f1elem = *f20f11f1iter + f20f11f1 = append(f20f11f1, &f20f11f1elem) } - f19f11.LogTypesToEnable = f19f11f1 + f20f11.LogTypesToEnable = f20f11f1 } - f19.PendingCloudwatchLogsExports = f19f11 + f20.PendingCloudwatchLogsExports = f20f11 } if elem.PendingModifiedValues.Port != nil { - f19.Port = elem.PendingModifiedValues.Port + f20.Port = elem.PendingModifiedValues.Port } if elem.PendingModifiedValues.StorageType != nil { - f19.StorageType = elem.PendingModifiedValues.StorageType + f20.StorageType = elem.PendingModifiedValues.StorageType } - cr.Status.AtProvider.PendingModifiedValues = f19 + cr.Status.AtProvider.PendingModifiedValues = f20 } else { cr.Status.AtProvider.PendingModifiedValues = nil } @@ -283,24 +295,24 @@ func GenerateDBInstance(resp *svcsdk.DescribeDBInstancesOutput) *svcapitypes.DBI cr.Status.AtProvider.PubliclyAccessible = nil } if elem.StatusInfos != nil { - f24 := []*svcapitypes.DBInstanceStatusInfo{} - for _, f24iter := range elem.StatusInfos { - f24elem := &svcapitypes.DBInstanceStatusInfo{} - if f24iter.Message != nil { - f24elem.Message = f24iter.Message + f25 := []*svcapitypes.DBInstanceStatusInfo{} + for _, f25iter := range elem.StatusInfos { + f25elem := &svcapitypes.DBInstanceStatusInfo{} + if f25iter.Message != nil { + f25elem.Message = f25iter.Message } - if f24iter.Normal != nil { - f24elem.Normal = f24iter.Normal + if f25iter.Normal != nil { + f25elem.Normal = f25iter.Normal } - if f24iter.Status != nil { - f24elem.Status = f24iter.Status + if f25iter.Status != nil { + f25elem.Status = f25iter.Status } - if f24iter.StatusType != nil { - f24elem.StatusType = f24iter.StatusType + if f25iter.StatusType != nil { + f25elem.StatusType = f25iter.StatusType } - f24 = append(f24, f24elem) + f25 = append(f25, f25elem) } - cr.Status.AtProvider.StatusInfos = f24 + cr.Status.AtProvider.StatusInfos = f25 } else { cr.Status.AtProvider.StatusInfos = nil } @@ -310,18 +322,18 @@ func GenerateDBInstance(resp *svcsdk.DescribeDBInstancesOutput) *svcapitypes.DBI cr.Status.AtProvider.StorageEncrypted = nil } if elem.VpcSecurityGroups != nil { - f26 := []*svcapitypes.VPCSecurityGroupMembership{} - for _, f26iter := range elem.VpcSecurityGroups { - f26elem := &svcapitypes.VPCSecurityGroupMembership{} - if f26iter.Status != nil { - f26elem.Status = f26iter.Status + f27 := []*svcapitypes.VPCSecurityGroupMembership{} + for _, f27iter := range elem.VpcSecurityGroups { + f27elem := &svcapitypes.VPCSecurityGroupMembership{} + if f27iter.Status != nil { + f27elem.Status = f27iter.Status } - if f26iter.VpcSecurityGroupId != nil { - f26elem.VPCSecurityGroupID = f26iter.VpcSecurityGroupId + if f27iter.VpcSecurityGroupId != nil { + f27elem.VPCSecurityGroupID = f27iter.VpcSecurityGroupId } - f26 = append(f26, f26elem) + f27 = append(f27, f27elem) } - cr.Status.AtProvider.VPCSecurityGroups = f26 + cr.Status.AtProvider.VPCSecurityGroups = f27 } else { cr.Status.AtProvider.VPCSecurityGroups = nil } @@ -345,6 +357,9 @@ func GenerateCreateDBInstanceInput(cr *svcapitypes.DBInstance) *svcsdk.CreateDBI if cr.Spec.ForProvider.AvailabilityZone != nil { res.SetAvailabilityZone(*cr.Spec.ForProvider.AvailabilityZone) } + if cr.Spec.ForProvider.CACertificateIdentifier != nil { + res.SetCACertificateIdentifier(*cr.Spec.ForProvider.CACertificateIdentifier) + } if cr.Spec.ForProvider.CopyTagsToSnapshot != nil { res.SetCopyTagsToSnapshot(*cr.Spec.ForProvider.CopyTagsToSnapshot) } @@ -367,18 +382,18 @@ func GenerateCreateDBInstanceInput(cr *svcapitypes.DBInstance) *svcsdk.CreateDBI res.SetPromotionTier(*cr.Spec.ForProvider.PromotionTier) } if cr.Spec.ForProvider.Tags != nil { - f9 := []*svcsdk.Tag{} - for _, f9iter := range cr.Spec.ForProvider.Tags { - f9elem := &svcsdk.Tag{} - if f9iter.Key != nil { - f9elem.SetKey(*f9iter.Key) + f10 := []*svcsdk.Tag{} + for _, f10iter := range cr.Spec.ForProvider.Tags { + f10elem := &svcsdk.Tag{} + if f10iter.Key != nil { + f10elem.SetKey(*f10iter.Key) } - if f9iter.Value != nil { - f9elem.SetValue(*f9iter.Value) + if f10iter.Value != nil { + f10elem.SetValue(*f10iter.Value) } - f9 = append(f9, f9elem) + f10 = append(f10, f10elem) } - res.SetTags(f9) + res.SetTags(f10) } return res @@ -391,8 +406,8 @@ func GenerateModifyDBInstanceInput(cr *svcapitypes.DBInstance) *svcsdk.ModifyDBI if cr.Spec.ForProvider.AutoMinorVersionUpgrade != nil { res.SetAutoMinorVersionUpgrade(*cr.Spec.ForProvider.AutoMinorVersionUpgrade) } - if cr.Status.AtProvider.CACertificateIdentifier != nil { - res.SetCACertificateIdentifier(*cr.Status.AtProvider.CACertificateIdentifier) + if cr.Spec.ForProvider.CACertificateIdentifier != nil { + res.SetCACertificateIdentifier(*cr.Spec.ForProvider.CACertificateIdentifier) } if cr.Spec.ForProvider.CopyTagsToSnapshot != nil { res.SetCopyTagsToSnapshot(*cr.Spec.ForProvider.CopyTagsToSnapshot) diff --git a/pkg/controller/ec2/launchtemplate/zz_conversions.go b/pkg/controller/ec2/launchtemplate/zz_conversions.go index 0558a8b4d5..bf30686554 100644 --- a/pkg/controller/ec2/launchtemplate/zz_conversions.go +++ b/pkg/controller/ec2/launchtemplate/zz_conversions.go @@ -497,14 +497,28 @@ func GenerateCreateLaunchTemplateInput(cr *svcapitypes.LaunchTemplate) *svcsdk.C if f0f23iter.DeviceIndex != nil { f0f23elem.SetDeviceIndex(*f0f23iter.DeviceIndex) } + if f0f23iter.ENASrdSpecification != nil { + f0f23elemf5 := &svcsdk.EnaSrdSpecificationRequest{} + if f0f23iter.ENASrdSpecification.ENASrdEnabled != nil { + f0f23elemf5.SetEnaSrdEnabled(*f0f23iter.ENASrdSpecification.ENASrdEnabled) + } + if f0f23iter.ENASrdSpecification.ENASrdUDPSpecification != nil { + f0f23elemf5f1 := &svcsdk.EnaSrdUdpSpecificationRequest{} + if f0f23iter.ENASrdSpecification.ENASrdUDPSpecification.ENASrdUDPEnabled != nil { + f0f23elemf5f1.SetEnaSrdUdpEnabled(*f0f23iter.ENASrdSpecification.ENASrdUDPSpecification.ENASrdUDPEnabled) + } + f0f23elemf5.SetEnaSrdUdpSpecification(f0f23elemf5f1) + } + f0f23elem.SetEnaSrdSpecification(f0f23elemf5) + } if f0f23iter.Groups != nil { - f0f23elemf5 := []*string{} - for _, f0f23elemf5iter := range f0f23iter.Groups { - var f0f23elemf5elem string - f0f23elemf5elem = *f0f23elemf5iter - f0f23elemf5 = append(f0f23elemf5, &f0f23elemf5elem) + f0f23elemf6 := []*string{} + for _, f0f23elemf6iter := range f0f23iter.Groups { + var f0f23elemf6elem string + f0f23elemf6elem = *f0f23elemf6iter + f0f23elemf6 = append(f0f23elemf6, &f0f23elemf6elem) } - f0f23elem.SetGroups(f0f23elemf5) + f0f23elem.SetGroups(f0f23elemf6) } if f0f23iter.InterfaceType != nil { f0f23elem.SetInterfaceType(*f0f23iter.InterfaceType) @@ -513,43 +527,43 @@ func GenerateCreateLaunchTemplateInput(cr *svcapitypes.LaunchTemplate) *svcsdk.C f0f23elem.SetIpv4PrefixCount(*f0f23iter.IPv4PrefixCount) } if f0f23iter.IPv4Prefixes != nil { - f0f23elemf8 := []*svcsdk.Ipv4PrefixSpecificationRequest{} - for _, f0f23elemf8iter := range f0f23iter.IPv4Prefixes { - f0f23elemf8elem := &svcsdk.Ipv4PrefixSpecificationRequest{} - if f0f23elemf8iter.IPv4Prefix != nil { - f0f23elemf8elem.SetIpv4Prefix(*f0f23elemf8iter.IPv4Prefix) + f0f23elemf9 := []*svcsdk.Ipv4PrefixSpecificationRequest{} + for _, f0f23elemf9iter := range f0f23iter.IPv4Prefixes { + f0f23elemf9elem := &svcsdk.Ipv4PrefixSpecificationRequest{} + if f0f23elemf9iter.IPv4Prefix != nil { + f0f23elemf9elem.SetIpv4Prefix(*f0f23elemf9iter.IPv4Prefix) } - f0f23elemf8 = append(f0f23elemf8, f0f23elemf8elem) + f0f23elemf9 = append(f0f23elemf9, f0f23elemf9elem) } - f0f23elem.SetIpv4Prefixes(f0f23elemf8) + f0f23elem.SetIpv4Prefixes(f0f23elemf9) } if f0f23iter.IPv6AddressCount != nil { f0f23elem.SetIpv6AddressCount(*f0f23iter.IPv6AddressCount) } if f0f23iter.IPv6Addresses != nil { - f0f23elemf10 := []*svcsdk.InstanceIpv6AddressRequest{} - for _, f0f23elemf10iter := range f0f23iter.IPv6Addresses { - f0f23elemf10elem := &svcsdk.InstanceIpv6AddressRequest{} - if f0f23elemf10iter.IPv6Address != nil { - f0f23elemf10elem.SetIpv6Address(*f0f23elemf10iter.IPv6Address) + f0f23elemf11 := []*svcsdk.InstanceIpv6AddressRequest{} + for _, f0f23elemf11iter := range f0f23iter.IPv6Addresses { + f0f23elemf11elem := &svcsdk.InstanceIpv6AddressRequest{} + if f0f23elemf11iter.IPv6Address != nil { + f0f23elemf11elem.SetIpv6Address(*f0f23elemf11iter.IPv6Address) } - f0f23elemf10 = append(f0f23elemf10, f0f23elemf10elem) + f0f23elemf11 = append(f0f23elemf11, f0f23elemf11elem) } - f0f23elem.SetIpv6Addresses(f0f23elemf10) + f0f23elem.SetIpv6Addresses(f0f23elemf11) } if f0f23iter.IPv6PrefixCount != nil { f0f23elem.SetIpv6PrefixCount(*f0f23iter.IPv6PrefixCount) } if f0f23iter.IPv6Prefixes != nil { - f0f23elemf12 := []*svcsdk.Ipv6PrefixSpecificationRequest{} - for _, f0f23elemf12iter := range f0f23iter.IPv6Prefixes { - f0f23elemf12elem := &svcsdk.Ipv6PrefixSpecificationRequest{} - if f0f23elemf12iter.IPv6Prefix != nil { - f0f23elemf12elem.SetIpv6Prefix(*f0f23elemf12iter.IPv6Prefix) + f0f23elemf13 := []*svcsdk.Ipv6PrefixSpecificationRequest{} + for _, f0f23elemf13iter := range f0f23iter.IPv6Prefixes { + f0f23elemf13elem := &svcsdk.Ipv6PrefixSpecificationRequest{} + if f0f23elemf13iter.IPv6Prefix != nil { + f0f23elemf13elem.SetIpv6Prefix(*f0f23elemf13iter.IPv6Prefix) } - f0f23elemf12 = append(f0f23elemf12, f0f23elemf12elem) + f0f23elemf13 = append(f0f23elemf13, f0f23elemf13elem) } - f0f23elem.SetIpv6Prefixes(f0f23elemf12) + f0f23elem.SetIpv6Prefixes(f0f23elemf13) } if f0f23iter.NetworkCardIndex != nil { f0f23elem.SetNetworkCardIndex(*f0f23iter.NetworkCardIndex) @@ -564,18 +578,18 @@ func GenerateCreateLaunchTemplateInput(cr *svcapitypes.LaunchTemplate) *svcsdk.C f0f23elem.SetPrivateIpAddress(*f0f23iter.PrivateIPAddress) } if f0f23iter.PrivateIPAddresses != nil { - f0f23elemf17 := []*svcsdk.PrivateIpAddressSpecification{} - for _, f0f23elemf17iter := range f0f23iter.PrivateIPAddresses { - f0f23elemf17elem := &svcsdk.PrivateIpAddressSpecification{} - if f0f23elemf17iter.Primary != nil { - f0f23elemf17elem.SetPrimary(*f0f23elemf17iter.Primary) + f0f23elemf18 := []*svcsdk.PrivateIpAddressSpecification{} + for _, f0f23elemf18iter := range f0f23iter.PrivateIPAddresses { + f0f23elemf18elem := &svcsdk.PrivateIpAddressSpecification{} + if f0f23elemf18iter.Primary != nil { + f0f23elemf18elem.SetPrimary(*f0f23elemf18iter.Primary) } - if f0f23elemf17iter.PrivateIPAddress != nil { - f0f23elemf17elem.SetPrivateIpAddress(*f0f23elemf17iter.PrivateIPAddress) + if f0f23elemf18iter.PrivateIPAddress != nil { + f0f23elemf18elem.SetPrivateIpAddress(*f0f23elemf18iter.PrivateIPAddress) } - f0f23elemf17 = append(f0f23elemf17, f0f23elemf17elem) + f0f23elemf18 = append(f0f23elemf18, f0f23elemf18elem) } - f0f23elem.SetPrivateIpAddresses(f0f23elemf17) + f0f23elem.SetPrivateIpAddresses(f0f23elemf18) } if f0f23iter.SecondaryPrivateIPAddressCount != nil { f0f23elem.SetSecondaryPrivateIpAddressCount(*f0f23iter.SecondaryPrivateIPAddressCount) diff --git a/pkg/controller/ec2/launchtemplateversion/zz_controller.go b/pkg/controller/ec2/launchtemplateversion/zz_controller.go index 3184ab47d5..abf9e51385 100644 --- a/pkg/controller/ec2/launchtemplateversion/zz_controller.go +++ b/pkg/controller/ec2/launchtemplateversion/zz_controller.go @@ -568,14 +568,28 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E if f0f3f23iter.DeviceIndex != nil { f0f3f23elem.DeviceIndex = f0f3f23iter.DeviceIndex } + if f0f3f23iter.EnaSrdSpecification != nil { + f0f3f23elemf5 := &svcapitypes.LaunchTemplateENASrdSpecification{} + if f0f3f23iter.EnaSrdSpecification.EnaSrdEnabled != nil { + f0f3f23elemf5.ENASrdEnabled = f0f3f23iter.EnaSrdSpecification.EnaSrdEnabled + } + if f0f3f23iter.EnaSrdSpecification.EnaSrdUdpSpecification != nil { + f0f3f23elemf5f1 := &svcapitypes.LaunchTemplateENASrdUDPSpecification{} + if f0f3f23iter.EnaSrdSpecification.EnaSrdUdpSpecification.EnaSrdUdpEnabled != nil { + f0f3f23elemf5f1.ENASrdUDPEnabled = f0f3f23iter.EnaSrdSpecification.EnaSrdUdpSpecification.EnaSrdUdpEnabled + } + f0f3f23elemf5.ENASrdUDPSpecification = f0f3f23elemf5f1 + } + f0f3f23elem.ENASrdSpecification = f0f3f23elemf5 + } if f0f3f23iter.Groups != nil { - f0f3f23elemf5 := []*string{} - for _, f0f3f23elemf5iter := range f0f3f23iter.Groups { - var f0f3f23elemf5elem string - f0f3f23elemf5elem = *f0f3f23elemf5iter - f0f3f23elemf5 = append(f0f3f23elemf5, &f0f3f23elemf5elem) + f0f3f23elemf6 := []*string{} + for _, f0f3f23elemf6iter := range f0f3f23iter.Groups { + var f0f3f23elemf6elem string + f0f3f23elemf6elem = *f0f3f23elemf6iter + f0f3f23elemf6 = append(f0f3f23elemf6, &f0f3f23elemf6elem) } - f0f3f23elem.Groups = f0f3f23elemf5 + f0f3f23elem.Groups = f0f3f23elemf6 } if f0f3f23iter.InterfaceType != nil { f0f3f23elem.InterfaceType = f0f3f23iter.InterfaceType @@ -584,46 +598,46 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E f0f3f23elem.IPv4PrefixCount = f0f3f23iter.Ipv4PrefixCount } if f0f3f23iter.Ipv4Prefixes != nil { - f0f3f23elemf8 := []*svcapitypes.IPv4PrefixSpecificationResponse{} - for _, f0f3f23elemf8iter := range f0f3f23iter.Ipv4Prefixes { - f0f3f23elemf8elem := &svcapitypes.IPv4PrefixSpecificationResponse{} - if f0f3f23elemf8iter.Ipv4Prefix != nil { - f0f3f23elemf8elem.IPv4Prefix = f0f3f23elemf8iter.Ipv4Prefix + f0f3f23elemf9 := []*svcapitypes.IPv4PrefixSpecificationResponse{} + for _, f0f3f23elemf9iter := range f0f3f23iter.Ipv4Prefixes { + f0f3f23elemf9elem := &svcapitypes.IPv4PrefixSpecificationResponse{} + if f0f3f23elemf9iter.Ipv4Prefix != nil { + f0f3f23elemf9elem.IPv4Prefix = f0f3f23elemf9iter.Ipv4Prefix } - f0f3f23elemf8 = append(f0f3f23elemf8, f0f3f23elemf8elem) + f0f3f23elemf9 = append(f0f3f23elemf9, f0f3f23elemf9elem) } - f0f3f23elem.IPv4Prefixes = f0f3f23elemf8 + f0f3f23elem.IPv4Prefixes = f0f3f23elemf9 } if f0f3f23iter.Ipv6AddressCount != nil { f0f3f23elem.IPv6AddressCount = f0f3f23iter.Ipv6AddressCount } if f0f3f23iter.Ipv6Addresses != nil { - f0f3f23elemf10 := []*svcapitypes.InstanceIPv6Address{} - for _, f0f3f23elemf10iter := range f0f3f23iter.Ipv6Addresses { - f0f3f23elemf10elem := &svcapitypes.InstanceIPv6Address{} - if f0f3f23elemf10iter.Ipv6Address != nil { - f0f3f23elemf10elem.IPv6Address = f0f3f23elemf10iter.Ipv6Address + f0f3f23elemf11 := []*svcapitypes.InstanceIPv6Address{} + for _, f0f3f23elemf11iter := range f0f3f23iter.Ipv6Addresses { + f0f3f23elemf11elem := &svcapitypes.InstanceIPv6Address{} + if f0f3f23elemf11iter.Ipv6Address != nil { + f0f3f23elemf11elem.IPv6Address = f0f3f23elemf11iter.Ipv6Address } - if f0f3f23elemf10iter.IsPrimaryIpv6 != nil { - f0f3f23elemf10elem.IsPrimaryIPv6 = f0f3f23elemf10iter.IsPrimaryIpv6 + if f0f3f23elemf11iter.IsPrimaryIpv6 != nil { + f0f3f23elemf11elem.IsPrimaryIPv6 = f0f3f23elemf11iter.IsPrimaryIpv6 } - f0f3f23elemf10 = append(f0f3f23elemf10, f0f3f23elemf10elem) + f0f3f23elemf11 = append(f0f3f23elemf11, f0f3f23elemf11elem) } - f0f3f23elem.IPv6Addresses = f0f3f23elemf10 + f0f3f23elem.IPv6Addresses = f0f3f23elemf11 } if f0f3f23iter.Ipv6PrefixCount != nil { f0f3f23elem.IPv6PrefixCount = f0f3f23iter.Ipv6PrefixCount } if f0f3f23iter.Ipv6Prefixes != nil { - f0f3f23elemf12 := []*svcapitypes.IPv6PrefixSpecificationResponse{} - for _, f0f3f23elemf12iter := range f0f3f23iter.Ipv6Prefixes { - f0f3f23elemf12elem := &svcapitypes.IPv6PrefixSpecificationResponse{} - if f0f3f23elemf12iter.Ipv6Prefix != nil { - f0f3f23elemf12elem.IPv6Prefix = f0f3f23elemf12iter.Ipv6Prefix + f0f3f23elemf13 := []*svcapitypes.IPv6PrefixSpecificationResponse{} + for _, f0f3f23elemf13iter := range f0f3f23iter.Ipv6Prefixes { + f0f3f23elemf13elem := &svcapitypes.IPv6PrefixSpecificationResponse{} + if f0f3f23elemf13iter.Ipv6Prefix != nil { + f0f3f23elemf13elem.IPv6Prefix = f0f3f23elemf13iter.Ipv6Prefix } - f0f3f23elemf12 = append(f0f3f23elemf12, f0f3f23elemf12elem) + f0f3f23elemf13 = append(f0f3f23elemf13, f0f3f23elemf13elem) } - f0f3f23elem.IPv6Prefixes = f0f3f23elemf12 + f0f3f23elem.IPv6Prefixes = f0f3f23elemf13 } if f0f3f23iter.NetworkCardIndex != nil { f0f3f23elem.NetworkCardIndex = f0f3f23iter.NetworkCardIndex @@ -638,18 +652,18 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E f0f3f23elem.PrivateIPAddress = f0f3f23iter.PrivateIpAddress } if f0f3f23iter.PrivateIpAddresses != nil { - f0f3f23elemf17 := []*svcapitypes.PrivateIPAddressSpecification{} - for _, f0f3f23elemf17iter := range f0f3f23iter.PrivateIpAddresses { - f0f3f23elemf17elem := &svcapitypes.PrivateIPAddressSpecification{} - if f0f3f23elemf17iter.Primary != nil { - f0f3f23elemf17elem.Primary = f0f3f23elemf17iter.Primary + f0f3f23elemf18 := []*svcapitypes.PrivateIPAddressSpecification{} + for _, f0f3f23elemf18iter := range f0f3f23iter.PrivateIpAddresses { + f0f3f23elemf18elem := &svcapitypes.PrivateIPAddressSpecification{} + if f0f3f23elemf18iter.Primary != nil { + f0f3f23elemf18elem.Primary = f0f3f23elemf18iter.Primary } - if f0f3f23elemf17iter.PrivateIpAddress != nil { - f0f3f23elemf17elem.PrivateIPAddress = f0f3f23elemf17iter.PrivateIpAddress + if f0f3f23elemf18iter.PrivateIpAddress != nil { + f0f3f23elemf18elem.PrivateIPAddress = f0f3f23elemf18iter.PrivateIpAddress } - f0f3f23elemf17 = append(f0f3f23elemf17, f0f3f23elemf17elem) + f0f3f23elemf18 = append(f0f3f23elemf18, f0f3f23elemf18elem) } - f0f3f23elem.PrivateIPAddresses = f0f3f23elemf17 + f0f3f23elem.PrivateIPAddresses = f0f3f23elemf18 } if f0f3f23iter.SecondaryPrivateIpAddressCount != nil { f0f3f23elem.SecondaryPrivateIPAddressCount = f0f3f23iter.SecondaryPrivateIpAddressCount diff --git a/pkg/controller/ec2/launchtemplateversion/zz_conversions.go b/pkg/controller/ec2/launchtemplateversion/zz_conversions.go index e80cee76c6..ec53eea4cf 100644 --- a/pkg/controller/ec2/launchtemplateversion/zz_conversions.go +++ b/pkg/controller/ec2/launchtemplateversion/zz_conversions.go @@ -477,14 +477,28 @@ func GenerateLaunchTemplateVersion(resp *svcsdk.DescribeLaunchTemplateVersionsOu if f3f23iter.DeviceIndex != nil { f3f23elem.DeviceIndex = f3f23iter.DeviceIndex } + if f3f23iter.EnaSrdSpecification != nil { + f3f23elemf5 := &svcapitypes.ENASrdSpecificationRequest{} + if f3f23iter.EnaSrdSpecification.EnaSrdEnabled != nil { + f3f23elemf5.ENASrdEnabled = f3f23iter.EnaSrdSpecification.EnaSrdEnabled + } + if f3f23iter.EnaSrdSpecification.EnaSrdUdpSpecification != nil { + f3f23elemf5f1 := &svcapitypes.ENASrdUDPSpecificationRequest{} + if f3f23iter.EnaSrdSpecification.EnaSrdUdpSpecification.EnaSrdUdpEnabled != nil { + f3f23elemf5f1.ENASrdUDPEnabled = f3f23iter.EnaSrdSpecification.EnaSrdUdpSpecification.EnaSrdUdpEnabled + } + f3f23elemf5.ENASrdUDPSpecification = f3f23elemf5f1 + } + f3f23elem.ENASrdSpecification = f3f23elemf5 + } if f3f23iter.Groups != nil { - f3f23elemf5 := []*string{} - for _, f3f23elemf5iter := range f3f23iter.Groups { - var f3f23elemf5elem string - f3f23elemf5elem = *f3f23elemf5iter - f3f23elemf5 = append(f3f23elemf5, &f3f23elemf5elem) + f3f23elemf6 := []*string{} + for _, f3f23elemf6iter := range f3f23iter.Groups { + var f3f23elemf6elem string + f3f23elemf6elem = *f3f23elemf6iter + f3f23elemf6 = append(f3f23elemf6, &f3f23elemf6elem) } - f3f23elem.Groups = f3f23elemf5 + f3f23elem.Groups = f3f23elemf6 } if f3f23iter.InterfaceType != nil { f3f23elem.InterfaceType = f3f23iter.InterfaceType @@ -493,43 +507,43 @@ func GenerateLaunchTemplateVersion(resp *svcsdk.DescribeLaunchTemplateVersionsOu f3f23elem.IPv4PrefixCount = f3f23iter.Ipv4PrefixCount } if f3f23iter.Ipv4Prefixes != nil { - f3f23elemf8 := []*svcapitypes.IPv4PrefixSpecificationRequest{} - for _, f3f23elemf8iter := range f3f23iter.Ipv4Prefixes { - f3f23elemf8elem := &svcapitypes.IPv4PrefixSpecificationRequest{} - if f3f23elemf8iter.Ipv4Prefix != nil { - f3f23elemf8elem.IPv4Prefix = f3f23elemf8iter.Ipv4Prefix + f3f23elemf9 := []*svcapitypes.IPv4PrefixSpecificationRequest{} + for _, f3f23elemf9iter := range f3f23iter.Ipv4Prefixes { + f3f23elemf9elem := &svcapitypes.IPv4PrefixSpecificationRequest{} + if f3f23elemf9iter.Ipv4Prefix != nil { + f3f23elemf9elem.IPv4Prefix = f3f23elemf9iter.Ipv4Prefix } - f3f23elemf8 = append(f3f23elemf8, f3f23elemf8elem) + f3f23elemf9 = append(f3f23elemf9, f3f23elemf9elem) } - f3f23elem.IPv4Prefixes = f3f23elemf8 + f3f23elem.IPv4Prefixes = f3f23elemf9 } if f3f23iter.Ipv6AddressCount != nil { f3f23elem.IPv6AddressCount = f3f23iter.Ipv6AddressCount } if f3f23iter.Ipv6Addresses != nil { - f3f23elemf10 := []*svcapitypes.InstanceIPv6AddressRequest{} - for _, f3f23elemf10iter := range f3f23iter.Ipv6Addresses { - f3f23elemf10elem := &svcapitypes.InstanceIPv6AddressRequest{} - if f3f23elemf10iter.Ipv6Address != nil { - f3f23elemf10elem.IPv6Address = f3f23elemf10iter.Ipv6Address + f3f23elemf11 := []*svcapitypes.InstanceIPv6AddressRequest{} + for _, f3f23elemf11iter := range f3f23iter.Ipv6Addresses { + f3f23elemf11elem := &svcapitypes.InstanceIPv6AddressRequest{} + if f3f23elemf11iter.Ipv6Address != nil { + f3f23elemf11elem.IPv6Address = f3f23elemf11iter.Ipv6Address } - f3f23elemf10 = append(f3f23elemf10, f3f23elemf10elem) + f3f23elemf11 = append(f3f23elemf11, f3f23elemf11elem) } - f3f23elem.IPv6Addresses = f3f23elemf10 + f3f23elem.IPv6Addresses = f3f23elemf11 } if f3f23iter.Ipv6PrefixCount != nil { f3f23elem.IPv6PrefixCount = f3f23iter.Ipv6PrefixCount } if f3f23iter.Ipv6Prefixes != nil { - f3f23elemf12 := []*svcapitypes.IPv6PrefixSpecificationRequest{} - for _, f3f23elemf12iter := range f3f23iter.Ipv6Prefixes { - f3f23elemf12elem := &svcapitypes.IPv6PrefixSpecificationRequest{} - if f3f23elemf12iter.Ipv6Prefix != nil { - f3f23elemf12elem.IPv6Prefix = f3f23elemf12iter.Ipv6Prefix + f3f23elemf13 := []*svcapitypes.IPv6PrefixSpecificationRequest{} + for _, f3f23elemf13iter := range f3f23iter.Ipv6Prefixes { + f3f23elemf13elem := &svcapitypes.IPv6PrefixSpecificationRequest{} + if f3f23elemf13iter.Ipv6Prefix != nil { + f3f23elemf13elem.IPv6Prefix = f3f23elemf13iter.Ipv6Prefix } - f3f23elemf12 = append(f3f23elemf12, f3f23elemf12elem) + f3f23elemf13 = append(f3f23elemf13, f3f23elemf13elem) } - f3f23elem.IPv6Prefixes = f3f23elemf12 + f3f23elem.IPv6Prefixes = f3f23elemf13 } if f3f23iter.NetworkCardIndex != nil { f3f23elem.NetworkCardIndex = f3f23iter.NetworkCardIndex @@ -544,18 +558,18 @@ func GenerateLaunchTemplateVersion(resp *svcsdk.DescribeLaunchTemplateVersionsOu f3f23elem.PrivateIPAddress = f3f23iter.PrivateIpAddress } if f3f23iter.PrivateIpAddresses != nil { - f3f23elemf17 := []*svcapitypes.PrivateIPAddressSpecification{} - for _, f3f23elemf17iter := range f3f23iter.PrivateIpAddresses { - f3f23elemf17elem := &svcapitypes.PrivateIPAddressSpecification{} - if f3f23elemf17iter.Primary != nil { - f3f23elemf17elem.Primary = f3f23elemf17iter.Primary + f3f23elemf18 := []*svcapitypes.PrivateIPAddressSpecification{} + for _, f3f23elemf18iter := range f3f23iter.PrivateIpAddresses { + f3f23elemf18elem := &svcapitypes.PrivateIPAddressSpecification{} + if f3f23elemf18iter.Primary != nil { + f3f23elemf18elem.Primary = f3f23elemf18iter.Primary } - if f3f23elemf17iter.PrivateIpAddress != nil { - f3f23elemf17elem.PrivateIPAddress = f3f23elemf17iter.PrivateIpAddress + if f3f23elemf18iter.PrivateIpAddress != nil { + f3f23elemf18elem.PrivateIPAddress = f3f23elemf18iter.PrivateIpAddress } - f3f23elemf17 = append(f3f23elemf17, f3f23elemf17elem) + f3f23elemf18 = append(f3f23elemf18, f3f23elemf18elem) } - f3f23elem.PrivateIPAddresses = f3f23elemf17 + f3f23elem.PrivateIPAddresses = f3f23elemf18 } if f3f23iter.SecondaryPrivateIpAddressCount != nil { f3f23elem.SecondaryPrivateIPAddressCount = f3f23iter.SecondaryPrivateIpAddressCount @@ -1113,14 +1127,28 @@ func GenerateCreateLaunchTemplateVersionInput(cr *svcapitypes.LaunchTemplateVers if f0f23iter.DeviceIndex != nil { f0f23elem.SetDeviceIndex(*f0f23iter.DeviceIndex) } + if f0f23iter.ENASrdSpecification != nil { + f0f23elemf5 := &svcsdk.EnaSrdSpecificationRequest{} + if f0f23iter.ENASrdSpecification.ENASrdEnabled != nil { + f0f23elemf5.SetEnaSrdEnabled(*f0f23iter.ENASrdSpecification.ENASrdEnabled) + } + if f0f23iter.ENASrdSpecification.ENASrdUDPSpecification != nil { + f0f23elemf5f1 := &svcsdk.EnaSrdUdpSpecificationRequest{} + if f0f23iter.ENASrdSpecification.ENASrdUDPSpecification.ENASrdUDPEnabled != nil { + f0f23elemf5f1.SetEnaSrdUdpEnabled(*f0f23iter.ENASrdSpecification.ENASrdUDPSpecification.ENASrdUDPEnabled) + } + f0f23elemf5.SetEnaSrdUdpSpecification(f0f23elemf5f1) + } + f0f23elem.SetEnaSrdSpecification(f0f23elemf5) + } if f0f23iter.Groups != nil { - f0f23elemf5 := []*string{} - for _, f0f23elemf5iter := range f0f23iter.Groups { - var f0f23elemf5elem string - f0f23elemf5elem = *f0f23elemf5iter - f0f23elemf5 = append(f0f23elemf5, &f0f23elemf5elem) + f0f23elemf6 := []*string{} + for _, f0f23elemf6iter := range f0f23iter.Groups { + var f0f23elemf6elem string + f0f23elemf6elem = *f0f23elemf6iter + f0f23elemf6 = append(f0f23elemf6, &f0f23elemf6elem) } - f0f23elem.SetGroups(f0f23elemf5) + f0f23elem.SetGroups(f0f23elemf6) } if f0f23iter.InterfaceType != nil { f0f23elem.SetInterfaceType(*f0f23iter.InterfaceType) @@ -1129,43 +1157,43 @@ func GenerateCreateLaunchTemplateVersionInput(cr *svcapitypes.LaunchTemplateVers f0f23elem.SetIpv4PrefixCount(*f0f23iter.IPv4PrefixCount) } if f0f23iter.IPv4Prefixes != nil { - f0f23elemf8 := []*svcsdk.Ipv4PrefixSpecificationRequest{} - for _, f0f23elemf8iter := range f0f23iter.IPv4Prefixes { - f0f23elemf8elem := &svcsdk.Ipv4PrefixSpecificationRequest{} - if f0f23elemf8iter.IPv4Prefix != nil { - f0f23elemf8elem.SetIpv4Prefix(*f0f23elemf8iter.IPv4Prefix) + f0f23elemf9 := []*svcsdk.Ipv4PrefixSpecificationRequest{} + for _, f0f23elemf9iter := range f0f23iter.IPv4Prefixes { + f0f23elemf9elem := &svcsdk.Ipv4PrefixSpecificationRequest{} + if f0f23elemf9iter.IPv4Prefix != nil { + f0f23elemf9elem.SetIpv4Prefix(*f0f23elemf9iter.IPv4Prefix) } - f0f23elemf8 = append(f0f23elemf8, f0f23elemf8elem) + f0f23elemf9 = append(f0f23elemf9, f0f23elemf9elem) } - f0f23elem.SetIpv4Prefixes(f0f23elemf8) + f0f23elem.SetIpv4Prefixes(f0f23elemf9) } if f0f23iter.IPv6AddressCount != nil { f0f23elem.SetIpv6AddressCount(*f0f23iter.IPv6AddressCount) } if f0f23iter.IPv6Addresses != nil { - f0f23elemf10 := []*svcsdk.InstanceIpv6AddressRequest{} - for _, f0f23elemf10iter := range f0f23iter.IPv6Addresses { - f0f23elemf10elem := &svcsdk.InstanceIpv6AddressRequest{} - if f0f23elemf10iter.IPv6Address != nil { - f0f23elemf10elem.SetIpv6Address(*f0f23elemf10iter.IPv6Address) + f0f23elemf11 := []*svcsdk.InstanceIpv6AddressRequest{} + for _, f0f23elemf11iter := range f0f23iter.IPv6Addresses { + f0f23elemf11elem := &svcsdk.InstanceIpv6AddressRequest{} + if f0f23elemf11iter.IPv6Address != nil { + f0f23elemf11elem.SetIpv6Address(*f0f23elemf11iter.IPv6Address) } - f0f23elemf10 = append(f0f23elemf10, f0f23elemf10elem) + f0f23elemf11 = append(f0f23elemf11, f0f23elemf11elem) } - f0f23elem.SetIpv6Addresses(f0f23elemf10) + f0f23elem.SetIpv6Addresses(f0f23elemf11) } if f0f23iter.IPv6PrefixCount != nil { f0f23elem.SetIpv6PrefixCount(*f0f23iter.IPv6PrefixCount) } if f0f23iter.IPv6Prefixes != nil { - f0f23elemf12 := []*svcsdk.Ipv6PrefixSpecificationRequest{} - for _, f0f23elemf12iter := range f0f23iter.IPv6Prefixes { - f0f23elemf12elem := &svcsdk.Ipv6PrefixSpecificationRequest{} - if f0f23elemf12iter.IPv6Prefix != nil { - f0f23elemf12elem.SetIpv6Prefix(*f0f23elemf12iter.IPv6Prefix) + f0f23elemf13 := []*svcsdk.Ipv6PrefixSpecificationRequest{} + for _, f0f23elemf13iter := range f0f23iter.IPv6Prefixes { + f0f23elemf13elem := &svcsdk.Ipv6PrefixSpecificationRequest{} + if f0f23elemf13iter.IPv6Prefix != nil { + f0f23elemf13elem.SetIpv6Prefix(*f0f23elemf13iter.IPv6Prefix) } - f0f23elemf12 = append(f0f23elemf12, f0f23elemf12elem) + f0f23elemf13 = append(f0f23elemf13, f0f23elemf13elem) } - f0f23elem.SetIpv6Prefixes(f0f23elemf12) + f0f23elem.SetIpv6Prefixes(f0f23elemf13) } if f0f23iter.NetworkCardIndex != nil { f0f23elem.SetNetworkCardIndex(*f0f23iter.NetworkCardIndex) @@ -1180,18 +1208,18 @@ func GenerateCreateLaunchTemplateVersionInput(cr *svcapitypes.LaunchTemplateVers f0f23elem.SetPrivateIpAddress(*f0f23iter.PrivateIPAddress) } if f0f23iter.PrivateIPAddresses != nil { - f0f23elemf17 := []*svcsdk.PrivateIpAddressSpecification{} - for _, f0f23elemf17iter := range f0f23iter.PrivateIPAddresses { - f0f23elemf17elem := &svcsdk.PrivateIpAddressSpecification{} - if f0f23elemf17iter.Primary != nil { - f0f23elemf17elem.SetPrimary(*f0f23elemf17iter.Primary) + f0f23elemf18 := []*svcsdk.PrivateIpAddressSpecification{} + for _, f0f23elemf18iter := range f0f23iter.PrivateIPAddresses { + f0f23elemf18elem := &svcsdk.PrivateIpAddressSpecification{} + if f0f23elemf18iter.Primary != nil { + f0f23elemf18elem.SetPrimary(*f0f23elemf18iter.Primary) } - if f0f23elemf17iter.PrivateIPAddress != nil { - f0f23elemf17elem.SetPrivateIpAddress(*f0f23elemf17iter.PrivateIPAddress) + if f0f23elemf18iter.PrivateIPAddress != nil { + f0f23elemf18elem.SetPrivateIpAddress(*f0f23elemf18iter.PrivateIPAddress) } - f0f23elemf17 = append(f0f23elemf17, f0f23elemf17elem) + f0f23elemf18 = append(f0f23elemf18, f0f23elemf18elem) } - f0f23elem.SetPrivateIpAddresses(f0f23elemf17) + f0f23elem.SetPrivateIpAddresses(f0f23elemf18) } if f0f23iter.SecondaryPrivateIPAddressCount != nil { f0f23elem.SetSecondaryPrivateIpAddressCount(*f0f23iter.SecondaryPrivateIPAddressCount) diff --git a/pkg/controller/firehose/deliverystream/zz_conversions.go b/pkg/controller/firehose/deliverystream/zz_conversions.go index c21480223a..a112b5fa71 100644 --- a/pkg/controller/firehose/deliverystream/zz_conversions.go +++ b/pkg/controller/firehose/deliverystream/zz_conversions.go @@ -259,6 +259,13 @@ func GenerateCreateDeliveryStreamInput(cr *svcapitypes.DeliveryStream) *svcsdk.C if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.ClusterEndpoint != nil { f1.SetClusterEndpoint(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.ClusterEndpoint) } + if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.DocumentIDOptions != nil { + f1f3 := &svcsdk.DocumentIdOptions{} + if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.DocumentIDOptions.DefaultDocumentIDFormat != nil { + f1f3.SetDefaultDocumentIdFormat(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.DocumentIDOptions.DefaultDocumentIDFormat) + } + f1.SetDocumentIdOptions(f1f3) + } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.DomainARN != nil { f1.SetDomainARN(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.DomainARN) } @@ -269,43 +276,43 @@ func GenerateCreateDeliveryStreamInput(cr *svcapitypes.DeliveryStream) *svcsdk.C f1.SetIndexRotationPeriod(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.IndexRotationPeriod) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.ProcessingConfiguration != nil { - f1f6 := &svcsdk.ProcessingConfiguration{} + f1f7 := &svcsdk.ProcessingConfiguration{} if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.ProcessingConfiguration.Enabled != nil { - f1f6.SetEnabled(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.ProcessingConfiguration.Enabled) + f1f7.SetEnabled(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.ProcessingConfiguration.Enabled) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.ProcessingConfiguration.Processors != nil { - f1f6f1 := []*svcsdk.Processor{} - for _, f1f6f1iter := range cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.ProcessingConfiguration.Processors { - f1f6f1elem := &svcsdk.Processor{} - if f1f6f1iter.Parameters != nil { - f1f6f1elemf0 := []*svcsdk.ProcessorParameter{} - for _, f1f6f1elemf0iter := range f1f6f1iter.Parameters { - f1f6f1elemf0elem := &svcsdk.ProcessorParameter{} - if f1f6f1elemf0iter.ParameterName != nil { - f1f6f1elemf0elem.SetParameterName(*f1f6f1elemf0iter.ParameterName) + f1f7f1 := []*svcsdk.Processor{} + for _, f1f7f1iter := range cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.ProcessingConfiguration.Processors { + f1f7f1elem := &svcsdk.Processor{} + if f1f7f1iter.Parameters != nil { + f1f7f1elemf0 := []*svcsdk.ProcessorParameter{} + for _, f1f7f1elemf0iter := range f1f7f1iter.Parameters { + f1f7f1elemf0elem := &svcsdk.ProcessorParameter{} + if f1f7f1elemf0iter.ParameterName != nil { + f1f7f1elemf0elem.SetParameterName(*f1f7f1elemf0iter.ParameterName) } - if f1f6f1elemf0iter.ParameterValue != nil { - f1f6f1elemf0elem.SetParameterValue(*f1f6f1elemf0iter.ParameterValue) + if f1f7f1elemf0iter.ParameterValue != nil { + f1f7f1elemf0elem.SetParameterValue(*f1f7f1elemf0iter.ParameterValue) } - f1f6f1elemf0 = append(f1f6f1elemf0, f1f6f1elemf0elem) + f1f7f1elemf0 = append(f1f7f1elemf0, f1f7f1elemf0elem) } - f1f6f1elem.SetParameters(f1f6f1elemf0) + f1f7f1elem.SetParameters(f1f7f1elemf0) } - if f1f6f1iter.Type != nil { - f1f6f1elem.SetType(*f1f6f1iter.Type) + if f1f7f1iter.Type != nil { + f1f7f1elem.SetType(*f1f7f1iter.Type) } - f1f6f1 = append(f1f6f1, f1f6f1elem) + f1f7f1 = append(f1f7f1, f1f7f1elem) } - f1f6.SetProcessors(f1f6f1) + f1f7.SetProcessors(f1f7f1) } - f1.SetProcessingConfiguration(f1f6) + f1.SetProcessingConfiguration(f1f7) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.RetryOptions != nil { - f1f7 := &svcsdk.AmazonopensearchserviceRetryOptions{} + f1f8 := &svcsdk.AmazonopensearchserviceRetryOptions{} if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.RetryOptions.DurationInSeconds != nil { - f1f7.SetDurationInSeconds(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.RetryOptions.DurationInSeconds) + f1f8.SetDurationInSeconds(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.RetryOptions.DurationInSeconds) } - f1.SetRetryOptions(f1f7) + f1.SetRetryOptions(f1f8) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.RoleARN != nil { f1.SetRoleARN(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.RoleARN) @@ -314,88 +321,88 @@ func GenerateCreateDeliveryStreamInput(cr *svcapitypes.DeliveryStream) *svcsdk.C f1.SetS3BackupMode(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3BackupMode) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration != nil { - f1f10 := &svcsdk.S3DestinationConfiguration{} + f1f11 := &svcsdk.S3DestinationConfiguration{} if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.BucketARN != nil { - f1f10.SetBucketARN(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.BucketARN) + f1f11.SetBucketARN(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.BucketARN) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.BufferingHints != nil { - f1f10f1 := &svcsdk.BufferingHints{} + f1f11f1 := &svcsdk.BufferingHints{} if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.BufferingHints.IntervalInSeconds != nil { - f1f10f1.SetIntervalInSeconds(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.BufferingHints.IntervalInSeconds) + f1f11f1.SetIntervalInSeconds(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.BufferingHints.IntervalInSeconds) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.BufferingHints.SizeInMBs != nil { - f1f10f1.SetSizeInMBs(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.BufferingHints.SizeInMBs) + f1f11f1.SetSizeInMBs(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.BufferingHints.SizeInMBs) } - f1f10.SetBufferingHints(f1f10f1) + f1f11.SetBufferingHints(f1f11f1) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions != nil { - f1f10f2 := &svcsdk.CloudWatchLoggingOptions{} + f1f11f2 := &svcsdk.CloudWatchLoggingOptions{} if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.Enabled != nil { - f1f10f2.SetEnabled(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.Enabled) + f1f11f2.SetEnabled(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.Enabled) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogGroupName != nil { - f1f10f2.SetLogGroupName(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogGroupName) + f1f11f2.SetLogGroupName(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogGroupName) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogStreamName != nil { - f1f10f2.SetLogStreamName(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogStreamName) + f1f11f2.SetLogStreamName(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogStreamName) } - f1f10.SetCloudWatchLoggingOptions(f1f10f2) + f1f11.SetCloudWatchLoggingOptions(f1f11f2) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.CompressionFormat != nil { - f1f10.SetCompressionFormat(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.CompressionFormat) + f1f11.SetCompressionFormat(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.CompressionFormat) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.EncryptionConfiguration != nil { - f1f10f4 := &svcsdk.EncryptionConfiguration{} + f1f11f4 := &svcsdk.EncryptionConfiguration{} if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.EncryptionConfiguration.KMSEncryptionConfig != nil { - f1f10f4f0 := &svcsdk.KMSEncryptionConfig{} + f1f11f4f0 := &svcsdk.KMSEncryptionConfig{} if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN != nil { - f1f10f4f0.SetAWSKMSKeyARN(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN) + f1f11f4f0.SetAWSKMSKeyARN(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN) } - f1f10f4.SetKMSEncryptionConfig(f1f10f4f0) + f1f11f4.SetKMSEncryptionConfig(f1f11f4f0) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.EncryptionConfiguration.NoEncryptionConfig != nil { - f1f10f4.SetNoEncryptionConfig(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.EncryptionConfiguration.NoEncryptionConfig) + f1f11f4.SetNoEncryptionConfig(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.EncryptionConfiguration.NoEncryptionConfig) } - f1f10.SetEncryptionConfiguration(f1f10f4) + f1f11.SetEncryptionConfiguration(f1f11f4) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.ErrorOutputPrefix != nil { - f1f10.SetErrorOutputPrefix(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.ErrorOutputPrefix) + f1f11.SetErrorOutputPrefix(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.ErrorOutputPrefix) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.Prefix != nil { - f1f10.SetPrefix(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.Prefix) + f1f11.SetPrefix(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.Prefix) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.RoleARN != nil { - f1f10.SetRoleARN(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.RoleARN) + f1f11.SetRoleARN(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.S3Configuration.RoleARN) } - f1.SetS3Configuration(f1f10) + f1.SetS3Configuration(f1f11) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.TypeName != nil { f1.SetTypeName(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.TypeName) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.VPCConfiguration != nil { - f1f12 := &svcsdk.VpcConfiguration{} + f1f13 := &svcsdk.VpcConfiguration{} if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.VPCConfiguration.RoleARN != nil { - f1f12.SetRoleARN(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.VPCConfiguration.RoleARN) + f1f13.SetRoleARN(*cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.VPCConfiguration.RoleARN) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.VPCConfiguration.SecurityGroupIDs != nil { - f1f12f1 := []*string{} - for _, f1f12f1iter := range cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.VPCConfiguration.SecurityGroupIDs { - var f1f12f1elem string - f1f12f1elem = *f1f12f1iter - f1f12f1 = append(f1f12f1, &f1f12f1elem) + f1f13f1 := []*string{} + for _, f1f13f1iter := range cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.VPCConfiguration.SecurityGroupIDs { + var f1f13f1elem string + f1f13f1elem = *f1f13f1iter + f1f13f1 = append(f1f13f1, &f1f13f1elem) } - f1f12.SetSecurityGroupIds(f1f12f1) + f1f13.SetSecurityGroupIds(f1f13f1) } if cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.VPCConfiguration.SubnetIDs != nil { - f1f12f2 := []*string{} - for _, f1f12f2iter := range cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.VPCConfiguration.SubnetIDs { - var f1f12f2elem string - f1f12f2elem = *f1f12f2iter - f1f12f2 = append(f1f12f2, &f1f12f2elem) + f1f13f2 := []*string{} + for _, f1f13f2iter := range cr.Spec.ForProvider.AmazonopensearchserviceDestinationConfiguration.VPCConfiguration.SubnetIDs { + var f1f13f2elem string + f1f13f2elem = *f1f13f2iter + f1f13f2 = append(f1f13f2, &f1f13f2elem) } - f1f12.SetSubnetIds(f1f12f2) + f1f13.SetSubnetIds(f1f13f2) } - f1.SetVpcConfiguration(f1f12) + f1.SetVpcConfiguration(f1f13) } res.SetAmazonopensearchserviceDestinationConfiguration(f1) } @@ -443,6 +450,13 @@ func GenerateCreateDeliveryStreamInput(cr *svcapitypes.DeliveryStream) *svcsdk.C if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.ClusterEndpoint != nil { f5.SetClusterEndpoint(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.ClusterEndpoint) } + if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.DocumentIDOptions != nil { + f5f3 := &svcsdk.DocumentIdOptions{} + if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.DocumentIDOptions.DefaultDocumentIDFormat != nil { + f5f3.SetDefaultDocumentIdFormat(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.DocumentIDOptions.DefaultDocumentIDFormat) + } + f5.SetDocumentIdOptions(f5f3) + } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.DomainARN != nil { f5.SetDomainARN(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.DomainARN) } @@ -453,43 +467,43 @@ func GenerateCreateDeliveryStreamInput(cr *svcapitypes.DeliveryStream) *svcsdk.C f5.SetIndexRotationPeriod(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.IndexRotationPeriod) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.ProcessingConfiguration != nil { - f5f6 := &svcsdk.ProcessingConfiguration{} + f5f7 := &svcsdk.ProcessingConfiguration{} if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.ProcessingConfiguration.Enabled != nil { - f5f6.SetEnabled(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.ProcessingConfiguration.Enabled) + f5f7.SetEnabled(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.ProcessingConfiguration.Enabled) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.ProcessingConfiguration.Processors != nil { - f5f6f1 := []*svcsdk.Processor{} - for _, f5f6f1iter := range cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.ProcessingConfiguration.Processors { - f5f6f1elem := &svcsdk.Processor{} - if f5f6f1iter.Parameters != nil { - f5f6f1elemf0 := []*svcsdk.ProcessorParameter{} - for _, f5f6f1elemf0iter := range f5f6f1iter.Parameters { - f5f6f1elemf0elem := &svcsdk.ProcessorParameter{} - if f5f6f1elemf0iter.ParameterName != nil { - f5f6f1elemf0elem.SetParameterName(*f5f6f1elemf0iter.ParameterName) + f5f7f1 := []*svcsdk.Processor{} + for _, f5f7f1iter := range cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.ProcessingConfiguration.Processors { + f5f7f1elem := &svcsdk.Processor{} + if f5f7f1iter.Parameters != nil { + f5f7f1elemf0 := []*svcsdk.ProcessorParameter{} + for _, f5f7f1elemf0iter := range f5f7f1iter.Parameters { + f5f7f1elemf0elem := &svcsdk.ProcessorParameter{} + if f5f7f1elemf0iter.ParameterName != nil { + f5f7f1elemf0elem.SetParameterName(*f5f7f1elemf0iter.ParameterName) } - if f5f6f1elemf0iter.ParameterValue != nil { - f5f6f1elemf0elem.SetParameterValue(*f5f6f1elemf0iter.ParameterValue) + if f5f7f1elemf0iter.ParameterValue != nil { + f5f7f1elemf0elem.SetParameterValue(*f5f7f1elemf0iter.ParameterValue) } - f5f6f1elemf0 = append(f5f6f1elemf0, f5f6f1elemf0elem) + f5f7f1elemf0 = append(f5f7f1elemf0, f5f7f1elemf0elem) } - f5f6f1elem.SetParameters(f5f6f1elemf0) + f5f7f1elem.SetParameters(f5f7f1elemf0) } - if f5f6f1iter.Type != nil { - f5f6f1elem.SetType(*f5f6f1iter.Type) + if f5f7f1iter.Type != nil { + f5f7f1elem.SetType(*f5f7f1iter.Type) } - f5f6f1 = append(f5f6f1, f5f6f1elem) + f5f7f1 = append(f5f7f1, f5f7f1elem) } - f5f6.SetProcessors(f5f6f1) + f5f7.SetProcessors(f5f7f1) } - f5.SetProcessingConfiguration(f5f6) + f5.SetProcessingConfiguration(f5f7) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.RetryOptions != nil { - f5f7 := &svcsdk.ElasticsearchRetryOptions{} + f5f8 := &svcsdk.ElasticsearchRetryOptions{} if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.RetryOptions.DurationInSeconds != nil { - f5f7.SetDurationInSeconds(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.RetryOptions.DurationInSeconds) + f5f8.SetDurationInSeconds(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.RetryOptions.DurationInSeconds) } - f5.SetRetryOptions(f5f7) + f5.SetRetryOptions(f5f8) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.RoleARN != nil { f5.SetRoleARN(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.RoleARN) @@ -498,88 +512,88 @@ func GenerateCreateDeliveryStreamInput(cr *svcapitypes.DeliveryStream) *svcsdk.C f5.SetS3BackupMode(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3BackupMode) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration != nil { - f5f10 := &svcsdk.S3DestinationConfiguration{} + f5f11 := &svcsdk.S3DestinationConfiguration{} if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.BucketARN != nil { - f5f10.SetBucketARN(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.BucketARN) + f5f11.SetBucketARN(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.BucketARN) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.BufferingHints != nil { - f5f10f1 := &svcsdk.BufferingHints{} + f5f11f1 := &svcsdk.BufferingHints{} if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.BufferingHints.IntervalInSeconds != nil { - f5f10f1.SetIntervalInSeconds(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.BufferingHints.IntervalInSeconds) + f5f11f1.SetIntervalInSeconds(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.BufferingHints.IntervalInSeconds) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.BufferingHints.SizeInMBs != nil { - f5f10f1.SetSizeInMBs(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.BufferingHints.SizeInMBs) + f5f11f1.SetSizeInMBs(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.BufferingHints.SizeInMBs) } - f5f10.SetBufferingHints(f5f10f1) + f5f11.SetBufferingHints(f5f11f1) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions != nil { - f5f10f2 := &svcsdk.CloudWatchLoggingOptions{} + f5f11f2 := &svcsdk.CloudWatchLoggingOptions{} if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.Enabled != nil { - f5f10f2.SetEnabled(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.Enabled) + f5f11f2.SetEnabled(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.Enabled) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogGroupName != nil { - f5f10f2.SetLogGroupName(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogGroupName) + f5f11f2.SetLogGroupName(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogGroupName) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogStreamName != nil { - f5f10f2.SetLogStreamName(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogStreamName) + f5f11f2.SetLogStreamName(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogStreamName) } - f5f10.SetCloudWatchLoggingOptions(f5f10f2) + f5f11.SetCloudWatchLoggingOptions(f5f11f2) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.CompressionFormat != nil { - f5f10.SetCompressionFormat(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.CompressionFormat) + f5f11.SetCompressionFormat(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.CompressionFormat) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.EncryptionConfiguration != nil { - f5f10f4 := &svcsdk.EncryptionConfiguration{} + f5f11f4 := &svcsdk.EncryptionConfiguration{} if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.EncryptionConfiguration.KMSEncryptionConfig != nil { - f5f10f4f0 := &svcsdk.KMSEncryptionConfig{} + f5f11f4f0 := &svcsdk.KMSEncryptionConfig{} if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN != nil { - f5f10f4f0.SetAWSKMSKeyARN(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN) + f5f11f4f0.SetAWSKMSKeyARN(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN) } - f5f10f4.SetKMSEncryptionConfig(f5f10f4f0) + f5f11f4.SetKMSEncryptionConfig(f5f11f4f0) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.EncryptionConfiguration.NoEncryptionConfig != nil { - f5f10f4.SetNoEncryptionConfig(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.EncryptionConfiguration.NoEncryptionConfig) + f5f11f4.SetNoEncryptionConfig(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.EncryptionConfiguration.NoEncryptionConfig) } - f5f10.SetEncryptionConfiguration(f5f10f4) + f5f11.SetEncryptionConfiguration(f5f11f4) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.ErrorOutputPrefix != nil { - f5f10.SetErrorOutputPrefix(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.ErrorOutputPrefix) + f5f11.SetErrorOutputPrefix(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.ErrorOutputPrefix) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.Prefix != nil { - f5f10.SetPrefix(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.Prefix) + f5f11.SetPrefix(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.Prefix) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.RoleARN != nil { - f5f10.SetRoleARN(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.RoleARN) + f5f11.SetRoleARN(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.S3Configuration.RoleARN) } - f5.SetS3Configuration(f5f10) + f5.SetS3Configuration(f5f11) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.TypeName != nil { f5.SetTypeName(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.TypeName) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.VPCConfiguration != nil { - f5f12 := &svcsdk.VpcConfiguration{} + f5f13 := &svcsdk.VpcConfiguration{} if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.VPCConfiguration.RoleARN != nil { - f5f12.SetRoleARN(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.VPCConfiguration.RoleARN) + f5f13.SetRoleARN(*cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.VPCConfiguration.RoleARN) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.VPCConfiguration.SecurityGroupIDs != nil { - f5f12f1 := []*string{} - for _, f5f12f1iter := range cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.VPCConfiguration.SecurityGroupIDs { - var f5f12f1elem string - f5f12f1elem = *f5f12f1iter - f5f12f1 = append(f5f12f1, &f5f12f1elem) + f5f13f1 := []*string{} + for _, f5f13f1iter := range cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.VPCConfiguration.SecurityGroupIDs { + var f5f13f1elem string + f5f13f1elem = *f5f13f1iter + f5f13f1 = append(f5f13f1, &f5f13f1elem) } - f5f12.SetSecurityGroupIds(f5f12f1) + f5f13.SetSecurityGroupIds(f5f13f1) } if cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.VPCConfiguration.SubnetIDs != nil { - f5f12f2 := []*string{} - for _, f5f12f2iter := range cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.VPCConfiguration.SubnetIDs { - var f5f12f2elem string - f5f12f2elem = *f5f12f2iter - f5f12f2 = append(f5f12f2, &f5f12f2elem) + f5f13f2 := []*string{} + for _, f5f13f2iter := range cr.Spec.ForProvider.ElasticsearchDestinationConfiguration.VPCConfiguration.SubnetIDs { + var f5f13f2elem string + f5f13f2elem = *f5f13f2iter + f5f13f2 = append(f5f13f2, &f5f13f2elem) } - f5f12.SetSubnetIds(f5f12f2) + f5f13.SetSubnetIds(f5f13f2) } - f5.SetVpcConfiguration(f5f12) + f5.SetVpcConfiguration(f5f13) } res.SetElasticsearchDestinationConfiguration(f5) } @@ -1055,398 +1069,418 @@ func GenerateCreateDeliveryStreamInput(cr *svcapitypes.DeliveryStream) *svcsdk.C } res.SetKinesisStreamSourceConfiguration(f8) } + if cr.Spec.ForProvider.MSKSourceConfiguration != nil { + f9 := &svcsdk.MSKSourceConfiguration{} + if cr.Spec.ForProvider.MSKSourceConfiguration.AuthenticationConfiguration != nil { + f9f0 := &svcsdk.AuthenticationConfiguration{} + if cr.Spec.ForProvider.MSKSourceConfiguration.AuthenticationConfiguration.Connectivity != nil { + f9f0.SetConnectivity(*cr.Spec.ForProvider.MSKSourceConfiguration.AuthenticationConfiguration.Connectivity) + } + if cr.Spec.ForProvider.MSKSourceConfiguration.AuthenticationConfiguration.RoleARN != nil { + f9f0.SetRoleARN(*cr.Spec.ForProvider.MSKSourceConfiguration.AuthenticationConfiguration.RoleARN) + } + f9.SetAuthenticationConfiguration(f9f0) + } + if cr.Spec.ForProvider.MSKSourceConfiguration.MSKClusterARN != nil { + f9.SetMSKClusterARN(*cr.Spec.ForProvider.MSKSourceConfiguration.MSKClusterARN) + } + if cr.Spec.ForProvider.MSKSourceConfiguration.TopicName != nil { + f9.SetTopicName(*cr.Spec.ForProvider.MSKSourceConfiguration.TopicName) + } + res.SetMSKSourceConfiguration(f9) + } if cr.Spec.ForProvider.RedshiftDestinationConfiguration != nil { - f9 := &svcsdk.RedshiftDestinationConfiguration{} + f10 := &svcsdk.RedshiftDestinationConfiguration{} if cr.Spec.ForProvider.RedshiftDestinationConfiguration.CloudWatchLoggingOptions != nil { - f9f0 := &svcsdk.CloudWatchLoggingOptions{} + f10f0 := &svcsdk.CloudWatchLoggingOptions{} if cr.Spec.ForProvider.RedshiftDestinationConfiguration.CloudWatchLoggingOptions.Enabled != nil { - f9f0.SetEnabled(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.CloudWatchLoggingOptions.Enabled) + f10f0.SetEnabled(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.CloudWatchLoggingOptions.Enabled) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.CloudWatchLoggingOptions.LogGroupName != nil { - f9f0.SetLogGroupName(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.CloudWatchLoggingOptions.LogGroupName) + f10f0.SetLogGroupName(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.CloudWatchLoggingOptions.LogGroupName) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.CloudWatchLoggingOptions.LogStreamName != nil { - f9f0.SetLogStreamName(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.CloudWatchLoggingOptions.LogStreamName) + f10f0.SetLogStreamName(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.CloudWatchLoggingOptions.LogStreamName) } - f9.SetCloudWatchLoggingOptions(f9f0) + f10.SetCloudWatchLoggingOptions(f10f0) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.ClusterJDBCURL != nil { - f9.SetClusterJDBCURL(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.ClusterJDBCURL) + f10.SetClusterJDBCURL(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.ClusterJDBCURL) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.CopyCommand != nil { - f9f2 := &svcsdk.CopyCommand{} + f10f2 := &svcsdk.CopyCommand{} if cr.Spec.ForProvider.RedshiftDestinationConfiguration.CopyCommand.CopyOptions != nil { - f9f2.SetCopyOptions(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.CopyCommand.CopyOptions) + f10f2.SetCopyOptions(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.CopyCommand.CopyOptions) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.CopyCommand.DataTableColumns != nil { - f9f2.SetDataTableColumns(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.CopyCommand.DataTableColumns) + f10f2.SetDataTableColumns(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.CopyCommand.DataTableColumns) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.CopyCommand.DataTableName != nil { - f9f2.SetDataTableName(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.CopyCommand.DataTableName) + f10f2.SetDataTableName(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.CopyCommand.DataTableName) } - f9.SetCopyCommand(f9f2) + f10.SetCopyCommand(f10f2) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.Password != nil { - f9.SetPassword(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.Password) + f10.SetPassword(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.Password) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.ProcessingConfiguration != nil { - f9f4 := &svcsdk.ProcessingConfiguration{} + f10f4 := &svcsdk.ProcessingConfiguration{} if cr.Spec.ForProvider.RedshiftDestinationConfiguration.ProcessingConfiguration.Enabled != nil { - f9f4.SetEnabled(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.ProcessingConfiguration.Enabled) + f10f4.SetEnabled(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.ProcessingConfiguration.Enabled) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.ProcessingConfiguration.Processors != nil { - f9f4f1 := []*svcsdk.Processor{} - for _, f9f4f1iter := range cr.Spec.ForProvider.RedshiftDestinationConfiguration.ProcessingConfiguration.Processors { - f9f4f1elem := &svcsdk.Processor{} - if f9f4f1iter.Parameters != nil { - f9f4f1elemf0 := []*svcsdk.ProcessorParameter{} - for _, f9f4f1elemf0iter := range f9f4f1iter.Parameters { - f9f4f1elemf0elem := &svcsdk.ProcessorParameter{} - if f9f4f1elemf0iter.ParameterName != nil { - f9f4f1elemf0elem.SetParameterName(*f9f4f1elemf0iter.ParameterName) + f10f4f1 := []*svcsdk.Processor{} + for _, f10f4f1iter := range cr.Spec.ForProvider.RedshiftDestinationConfiguration.ProcessingConfiguration.Processors { + f10f4f1elem := &svcsdk.Processor{} + if f10f4f1iter.Parameters != nil { + f10f4f1elemf0 := []*svcsdk.ProcessorParameter{} + for _, f10f4f1elemf0iter := range f10f4f1iter.Parameters { + f10f4f1elemf0elem := &svcsdk.ProcessorParameter{} + if f10f4f1elemf0iter.ParameterName != nil { + f10f4f1elemf0elem.SetParameterName(*f10f4f1elemf0iter.ParameterName) } - if f9f4f1elemf0iter.ParameterValue != nil { - f9f4f1elemf0elem.SetParameterValue(*f9f4f1elemf0iter.ParameterValue) + if f10f4f1elemf0iter.ParameterValue != nil { + f10f4f1elemf0elem.SetParameterValue(*f10f4f1elemf0iter.ParameterValue) } - f9f4f1elemf0 = append(f9f4f1elemf0, f9f4f1elemf0elem) + f10f4f1elemf0 = append(f10f4f1elemf0, f10f4f1elemf0elem) } - f9f4f1elem.SetParameters(f9f4f1elemf0) + f10f4f1elem.SetParameters(f10f4f1elemf0) } - if f9f4f1iter.Type != nil { - f9f4f1elem.SetType(*f9f4f1iter.Type) + if f10f4f1iter.Type != nil { + f10f4f1elem.SetType(*f10f4f1iter.Type) } - f9f4f1 = append(f9f4f1, f9f4f1elem) + f10f4f1 = append(f10f4f1, f10f4f1elem) } - f9f4.SetProcessors(f9f4f1) + f10f4.SetProcessors(f10f4f1) } - f9.SetProcessingConfiguration(f9f4) + f10.SetProcessingConfiguration(f10f4) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.RetryOptions != nil { - f9f5 := &svcsdk.RedshiftRetryOptions{} + f10f5 := &svcsdk.RedshiftRetryOptions{} if cr.Spec.ForProvider.RedshiftDestinationConfiguration.RetryOptions.DurationInSeconds != nil { - f9f5.SetDurationInSeconds(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.RetryOptions.DurationInSeconds) + f10f5.SetDurationInSeconds(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.RetryOptions.DurationInSeconds) } - f9.SetRetryOptions(f9f5) + f10.SetRetryOptions(f10f5) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.RoleARN != nil { - f9.SetRoleARN(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.RoleARN) + f10.SetRoleARN(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.RoleARN) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration != nil { - f9f7 := &svcsdk.S3DestinationConfiguration{} + f10f7 := &svcsdk.S3DestinationConfiguration{} if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.BucketARN != nil { - f9f7.SetBucketARN(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.BucketARN) + f10f7.SetBucketARN(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.BucketARN) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.BufferingHints != nil { - f9f7f1 := &svcsdk.BufferingHints{} + f10f7f1 := &svcsdk.BufferingHints{} if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.BufferingHints.IntervalInSeconds != nil { - f9f7f1.SetIntervalInSeconds(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.BufferingHints.IntervalInSeconds) + f10f7f1.SetIntervalInSeconds(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.BufferingHints.IntervalInSeconds) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.BufferingHints.SizeInMBs != nil { - f9f7f1.SetSizeInMBs(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.BufferingHints.SizeInMBs) + f10f7f1.SetSizeInMBs(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.BufferingHints.SizeInMBs) } - f9f7.SetBufferingHints(f9f7f1) + f10f7.SetBufferingHints(f10f7f1) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.CloudWatchLoggingOptions != nil { - f9f7f2 := &svcsdk.CloudWatchLoggingOptions{} + f10f7f2 := &svcsdk.CloudWatchLoggingOptions{} if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.CloudWatchLoggingOptions.Enabled != nil { - f9f7f2.SetEnabled(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.CloudWatchLoggingOptions.Enabled) + f10f7f2.SetEnabled(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.CloudWatchLoggingOptions.Enabled) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.CloudWatchLoggingOptions.LogGroupName != nil { - f9f7f2.SetLogGroupName(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.CloudWatchLoggingOptions.LogGroupName) + f10f7f2.SetLogGroupName(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.CloudWatchLoggingOptions.LogGroupName) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.CloudWatchLoggingOptions.LogStreamName != nil { - f9f7f2.SetLogStreamName(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.CloudWatchLoggingOptions.LogStreamName) + f10f7f2.SetLogStreamName(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.CloudWatchLoggingOptions.LogStreamName) } - f9f7.SetCloudWatchLoggingOptions(f9f7f2) + f10f7.SetCloudWatchLoggingOptions(f10f7f2) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.CompressionFormat != nil { - f9f7.SetCompressionFormat(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.CompressionFormat) + f10f7.SetCompressionFormat(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.CompressionFormat) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.EncryptionConfiguration != nil { - f9f7f4 := &svcsdk.EncryptionConfiguration{} + f10f7f4 := &svcsdk.EncryptionConfiguration{} if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.EncryptionConfiguration.KMSEncryptionConfig != nil { - f9f7f4f0 := &svcsdk.KMSEncryptionConfig{} + f10f7f4f0 := &svcsdk.KMSEncryptionConfig{} if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN != nil { - f9f7f4f0.SetAWSKMSKeyARN(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN) + f10f7f4f0.SetAWSKMSKeyARN(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN) } - f9f7f4.SetKMSEncryptionConfig(f9f7f4f0) + f10f7f4.SetKMSEncryptionConfig(f10f7f4f0) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.EncryptionConfiguration.NoEncryptionConfig != nil { - f9f7f4.SetNoEncryptionConfig(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.EncryptionConfiguration.NoEncryptionConfig) + f10f7f4.SetNoEncryptionConfig(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.EncryptionConfiguration.NoEncryptionConfig) } - f9f7.SetEncryptionConfiguration(f9f7f4) + f10f7.SetEncryptionConfiguration(f10f7f4) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.ErrorOutputPrefix != nil { - f9f7.SetErrorOutputPrefix(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.ErrorOutputPrefix) + f10f7.SetErrorOutputPrefix(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.ErrorOutputPrefix) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.Prefix != nil { - f9f7.SetPrefix(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.Prefix) + f10f7.SetPrefix(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.Prefix) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.RoleARN != nil { - f9f7.SetRoleARN(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.RoleARN) + f10f7.SetRoleARN(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupConfiguration.RoleARN) } - f9.SetS3BackupConfiguration(f9f7) + f10.SetS3BackupConfiguration(f10f7) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupMode != nil { - f9.SetS3BackupMode(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupMode) + f10.SetS3BackupMode(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3BackupMode) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration != nil { - f9f9 := &svcsdk.S3DestinationConfiguration{} + f10f9 := &svcsdk.S3DestinationConfiguration{} if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.BucketARN != nil { - f9f9.SetBucketARN(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.BucketARN) + f10f9.SetBucketARN(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.BucketARN) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.BufferingHints != nil { - f9f9f1 := &svcsdk.BufferingHints{} + f10f9f1 := &svcsdk.BufferingHints{} if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.BufferingHints.IntervalInSeconds != nil { - f9f9f1.SetIntervalInSeconds(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.BufferingHints.IntervalInSeconds) + f10f9f1.SetIntervalInSeconds(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.BufferingHints.IntervalInSeconds) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.BufferingHints.SizeInMBs != nil { - f9f9f1.SetSizeInMBs(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.BufferingHints.SizeInMBs) + f10f9f1.SetSizeInMBs(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.BufferingHints.SizeInMBs) } - f9f9.SetBufferingHints(f9f9f1) + f10f9.SetBufferingHints(f10f9f1) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions != nil { - f9f9f2 := &svcsdk.CloudWatchLoggingOptions{} + f10f9f2 := &svcsdk.CloudWatchLoggingOptions{} if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.Enabled != nil { - f9f9f2.SetEnabled(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.Enabled) + f10f9f2.SetEnabled(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.Enabled) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogGroupName != nil { - f9f9f2.SetLogGroupName(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogGroupName) + f10f9f2.SetLogGroupName(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogGroupName) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogStreamName != nil { - f9f9f2.SetLogStreamName(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogStreamName) + f10f9f2.SetLogStreamName(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogStreamName) } - f9f9.SetCloudWatchLoggingOptions(f9f9f2) + f10f9.SetCloudWatchLoggingOptions(f10f9f2) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.CompressionFormat != nil { - f9f9.SetCompressionFormat(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.CompressionFormat) + f10f9.SetCompressionFormat(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.CompressionFormat) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.EncryptionConfiguration != nil { - f9f9f4 := &svcsdk.EncryptionConfiguration{} + f10f9f4 := &svcsdk.EncryptionConfiguration{} if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.EncryptionConfiguration.KMSEncryptionConfig != nil { - f9f9f4f0 := &svcsdk.KMSEncryptionConfig{} + f10f9f4f0 := &svcsdk.KMSEncryptionConfig{} if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN != nil { - f9f9f4f0.SetAWSKMSKeyARN(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN) + f10f9f4f0.SetAWSKMSKeyARN(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN) } - f9f9f4.SetKMSEncryptionConfig(f9f9f4f0) + f10f9f4.SetKMSEncryptionConfig(f10f9f4f0) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.EncryptionConfiguration.NoEncryptionConfig != nil { - f9f9f4.SetNoEncryptionConfig(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.EncryptionConfiguration.NoEncryptionConfig) + f10f9f4.SetNoEncryptionConfig(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.EncryptionConfiguration.NoEncryptionConfig) } - f9f9.SetEncryptionConfiguration(f9f9f4) + f10f9.SetEncryptionConfiguration(f10f9f4) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.ErrorOutputPrefix != nil { - f9f9.SetErrorOutputPrefix(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.ErrorOutputPrefix) + f10f9.SetErrorOutputPrefix(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.ErrorOutputPrefix) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.Prefix != nil { - f9f9.SetPrefix(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.Prefix) + f10f9.SetPrefix(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.Prefix) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.RoleARN != nil { - f9f9.SetRoleARN(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.RoleARN) + f10f9.SetRoleARN(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.S3Configuration.RoleARN) } - f9.SetS3Configuration(f9f9) + f10.SetS3Configuration(f10f9) } if cr.Spec.ForProvider.RedshiftDestinationConfiguration.Username != nil { - f9.SetUsername(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.Username) + f10.SetUsername(*cr.Spec.ForProvider.RedshiftDestinationConfiguration.Username) } - res.SetRedshiftDestinationConfiguration(f9) + res.SetRedshiftDestinationConfiguration(f10) } if cr.Spec.ForProvider.S3DestinationConfiguration != nil { - f10 := &svcsdk.S3DestinationConfiguration{} + f11 := &svcsdk.S3DestinationConfiguration{} if cr.Spec.ForProvider.S3DestinationConfiguration.BucketARN != nil { - f10.SetBucketARN(*cr.Spec.ForProvider.S3DestinationConfiguration.BucketARN) + f11.SetBucketARN(*cr.Spec.ForProvider.S3DestinationConfiguration.BucketARN) } if cr.Spec.ForProvider.S3DestinationConfiguration.BufferingHints != nil { - f10f1 := &svcsdk.BufferingHints{} + f11f1 := &svcsdk.BufferingHints{} if cr.Spec.ForProvider.S3DestinationConfiguration.BufferingHints.IntervalInSeconds != nil { - f10f1.SetIntervalInSeconds(*cr.Spec.ForProvider.S3DestinationConfiguration.BufferingHints.IntervalInSeconds) + f11f1.SetIntervalInSeconds(*cr.Spec.ForProvider.S3DestinationConfiguration.BufferingHints.IntervalInSeconds) } if cr.Spec.ForProvider.S3DestinationConfiguration.BufferingHints.SizeInMBs != nil { - f10f1.SetSizeInMBs(*cr.Spec.ForProvider.S3DestinationConfiguration.BufferingHints.SizeInMBs) + f11f1.SetSizeInMBs(*cr.Spec.ForProvider.S3DestinationConfiguration.BufferingHints.SizeInMBs) } - f10.SetBufferingHints(f10f1) + f11.SetBufferingHints(f11f1) } if cr.Spec.ForProvider.S3DestinationConfiguration.CloudWatchLoggingOptions != nil { - f10f2 := &svcsdk.CloudWatchLoggingOptions{} + f11f2 := &svcsdk.CloudWatchLoggingOptions{} if cr.Spec.ForProvider.S3DestinationConfiguration.CloudWatchLoggingOptions.Enabled != nil { - f10f2.SetEnabled(*cr.Spec.ForProvider.S3DestinationConfiguration.CloudWatchLoggingOptions.Enabled) + f11f2.SetEnabled(*cr.Spec.ForProvider.S3DestinationConfiguration.CloudWatchLoggingOptions.Enabled) } if cr.Spec.ForProvider.S3DestinationConfiguration.CloudWatchLoggingOptions.LogGroupName != nil { - f10f2.SetLogGroupName(*cr.Spec.ForProvider.S3DestinationConfiguration.CloudWatchLoggingOptions.LogGroupName) + f11f2.SetLogGroupName(*cr.Spec.ForProvider.S3DestinationConfiguration.CloudWatchLoggingOptions.LogGroupName) } if cr.Spec.ForProvider.S3DestinationConfiguration.CloudWatchLoggingOptions.LogStreamName != nil { - f10f2.SetLogStreamName(*cr.Spec.ForProvider.S3DestinationConfiguration.CloudWatchLoggingOptions.LogStreamName) + f11f2.SetLogStreamName(*cr.Spec.ForProvider.S3DestinationConfiguration.CloudWatchLoggingOptions.LogStreamName) } - f10.SetCloudWatchLoggingOptions(f10f2) + f11.SetCloudWatchLoggingOptions(f11f2) } if cr.Spec.ForProvider.S3DestinationConfiguration.CompressionFormat != nil { - f10.SetCompressionFormat(*cr.Spec.ForProvider.S3DestinationConfiguration.CompressionFormat) + f11.SetCompressionFormat(*cr.Spec.ForProvider.S3DestinationConfiguration.CompressionFormat) } if cr.Spec.ForProvider.S3DestinationConfiguration.EncryptionConfiguration != nil { - f10f4 := &svcsdk.EncryptionConfiguration{} + f11f4 := &svcsdk.EncryptionConfiguration{} if cr.Spec.ForProvider.S3DestinationConfiguration.EncryptionConfiguration.KMSEncryptionConfig != nil { - f10f4f0 := &svcsdk.KMSEncryptionConfig{} + f11f4f0 := &svcsdk.KMSEncryptionConfig{} if cr.Spec.ForProvider.S3DestinationConfiguration.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN != nil { - f10f4f0.SetAWSKMSKeyARN(*cr.Spec.ForProvider.S3DestinationConfiguration.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN) + f11f4f0.SetAWSKMSKeyARN(*cr.Spec.ForProvider.S3DestinationConfiguration.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN) } - f10f4.SetKMSEncryptionConfig(f10f4f0) + f11f4.SetKMSEncryptionConfig(f11f4f0) } if cr.Spec.ForProvider.S3DestinationConfiguration.EncryptionConfiguration.NoEncryptionConfig != nil { - f10f4.SetNoEncryptionConfig(*cr.Spec.ForProvider.S3DestinationConfiguration.EncryptionConfiguration.NoEncryptionConfig) + f11f4.SetNoEncryptionConfig(*cr.Spec.ForProvider.S3DestinationConfiguration.EncryptionConfiguration.NoEncryptionConfig) } - f10.SetEncryptionConfiguration(f10f4) + f11.SetEncryptionConfiguration(f11f4) } if cr.Spec.ForProvider.S3DestinationConfiguration.ErrorOutputPrefix != nil { - f10.SetErrorOutputPrefix(*cr.Spec.ForProvider.S3DestinationConfiguration.ErrorOutputPrefix) + f11.SetErrorOutputPrefix(*cr.Spec.ForProvider.S3DestinationConfiguration.ErrorOutputPrefix) } if cr.Spec.ForProvider.S3DestinationConfiguration.Prefix != nil { - f10.SetPrefix(*cr.Spec.ForProvider.S3DestinationConfiguration.Prefix) + f11.SetPrefix(*cr.Spec.ForProvider.S3DestinationConfiguration.Prefix) } if cr.Spec.ForProvider.S3DestinationConfiguration.RoleARN != nil { - f10.SetRoleARN(*cr.Spec.ForProvider.S3DestinationConfiguration.RoleARN) + f11.SetRoleARN(*cr.Spec.ForProvider.S3DestinationConfiguration.RoleARN) } - res.SetS3DestinationConfiguration(f10) + res.SetS3DestinationConfiguration(f11) } if cr.Spec.ForProvider.SplunkDestinationConfiguration != nil { - f11 := &svcsdk.SplunkDestinationConfiguration{} + f12 := &svcsdk.SplunkDestinationConfiguration{} if cr.Spec.ForProvider.SplunkDestinationConfiguration.CloudWatchLoggingOptions != nil { - f11f0 := &svcsdk.CloudWatchLoggingOptions{} + f12f0 := &svcsdk.CloudWatchLoggingOptions{} if cr.Spec.ForProvider.SplunkDestinationConfiguration.CloudWatchLoggingOptions.Enabled != nil { - f11f0.SetEnabled(*cr.Spec.ForProvider.SplunkDestinationConfiguration.CloudWatchLoggingOptions.Enabled) + f12f0.SetEnabled(*cr.Spec.ForProvider.SplunkDestinationConfiguration.CloudWatchLoggingOptions.Enabled) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.CloudWatchLoggingOptions.LogGroupName != nil { - f11f0.SetLogGroupName(*cr.Spec.ForProvider.SplunkDestinationConfiguration.CloudWatchLoggingOptions.LogGroupName) + f12f0.SetLogGroupName(*cr.Spec.ForProvider.SplunkDestinationConfiguration.CloudWatchLoggingOptions.LogGroupName) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.CloudWatchLoggingOptions.LogStreamName != nil { - f11f0.SetLogStreamName(*cr.Spec.ForProvider.SplunkDestinationConfiguration.CloudWatchLoggingOptions.LogStreamName) + f12f0.SetLogStreamName(*cr.Spec.ForProvider.SplunkDestinationConfiguration.CloudWatchLoggingOptions.LogStreamName) } - f11.SetCloudWatchLoggingOptions(f11f0) + f12.SetCloudWatchLoggingOptions(f12f0) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.HECAcknowledgmentTimeoutInSeconds != nil { - f11.SetHECAcknowledgmentTimeoutInSeconds(*cr.Spec.ForProvider.SplunkDestinationConfiguration.HECAcknowledgmentTimeoutInSeconds) + f12.SetHECAcknowledgmentTimeoutInSeconds(*cr.Spec.ForProvider.SplunkDestinationConfiguration.HECAcknowledgmentTimeoutInSeconds) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.HECEndpoint != nil { - f11.SetHECEndpoint(*cr.Spec.ForProvider.SplunkDestinationConfiguration.HECEndpoint) + f12.SetHECEndpoint(*cr.Spec.ForProvider.SplunkDestinationConfiguration.HECEndpoint) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.HECEndpointType != nil { - f11.SetHECEndpointType(*cr.Spec.ForProvider.SplunkDestinationConfiguration.HECEndpointType) + f12.SetHECEndpointType(*cr.Spec.ForProvider.SplunkDestinationConfiguration.HECEndpointType) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.HECToken != nil { - f11.SetHECToken(*cr.Spec.ForProvider.SplunkDestinationConfiguration.HECToken) + f12.SetHECToken(*cr.Spec.ForProvider.SplunkDestinationConfiguration.HECToken) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.ProcessingConfiguration != nil { - f11f5 := &svcsdk.ProcessingConfiguration{} + f12f5 := &svcsdk.ProcessingConfiguration{} if cr.Spec.ForProvider.SplunkDestinationConfiguration.ProcessingConfiguration.Enabled != nil { - f11f5.SetEnabled(*cr.Spec.ForProvider.SplunkDestinationConfiguration.ProcessingConfiguration.Enabled) + f12f5.SetEnabled(*cr.Spec.ForProvider.SplunkDestinationConfiguration.ProcessingConfiguration.Enabled) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.ProcessingConfiguration.Processors != nil { - f11f5f1 := []*svcsdk.Processor{} - for _, f11f5f1iter := range cr.Spec.ForProvider.SplunkDestinationConfiguration.ProcessingConfiguration.Processors { - f11f5f1elem := &svcsdk.Processor{} - if f11f5f1iter.Parameters != nil { - f11f5f1elemf0 := []*svcsdk.ProcessorParameter{} - for _, f11f5f1elemf0iter := range f11f5f1iter.Parameters { - f11f5f1elemf0elem := &svcsdk.ProcessorParameter{} - if f11f5f1elemf0iter.ParameterName != nil { - f11f5f1elemf0elem.SetParameterName(*f11f5f1elemf0iter.ParameterName) + f12f5f1 := []*svcsdk.Processor{} + for _, f12f5f1iter := range cr.Spec.ForProvider.SplunkDestinationConfiguration.ProcessingConfiguration.Processors { + f12f5f1elem := &svcsdk.Processor{} + if f12f5f1iter.Parameters != nil { + f12f5f1elemf0 := []*svcsdk.ProcessorParameter{} + for _, f12f5f1elemf0iter := range f12f5f1iter.Parameters { + f12f5f1elemf0elem := &svcsdk.ProcessorParameter{} + if f12f5f1elemf0iter.ParameterName != nil { + f12f5f1elemf0elem.SetParameterName(*f12f5f1elemf0iter.ParameterName) } - if f11f5f1elemf0iter.ParameterValue != nil { - f11f5f1elemf0elem.SetParameterValue(*f11f5f1elemf0iter.ParameterValue) + if f12f5f1elemf0iter.ParameterValue != nil { + f12f5f1elemf0elem.SetParameterValue(*f12f5f1elemf0iter.ParameterValue) } - f11f5f1elemf0 = append(f11f5f1elemf0, f11f5f1elemf0elem) + f12f5f1elemf0 = append(f12f5f1elemf0, f12f5f1elemf0elem) } - f11f5f1elem.SetParameters(f11f5f1elemf0) + f12f5f1elem.SetParameters(f12f5f1elemf0) } - if f11f5f1iter.Type != nil { - f11f5f1elem.SetType(*f11f5f1iter.Type) + if f12f5f1iter.Type != nil { + f12f5f1elem.SetType(*f12f5f1iter.Type) } - f11f5f1 = append(f11f5f1, f11f5f1elem) + f12f5f1 = append(f12f5f1, f12f5f1elem) } - f11f5.SetProcessors(f11f5f1) + f12f5.SetProcessors(f12f5f1) } - f11.SetProcessingConfiguration(f11f5) + f12.SetProcessingConfiguration(f12f5) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.RetryOptions != nil { - f11f6 := &svcsdk.SplunkRetryOptions{} + f12f6 := &svcsdk.SplunkRetryOptions{} if cr.Spec.ForProvider.SplunkDestinationConfiguration.RetryOptions.DurationInSeconds != nil { - f11f6.SetDurationInSeconds(*cr.Spec.ForProvider.SplunkDestinationConfiguration.RetryOptions.DurationInSeconds) + f12f6.SetDurationInSeconds(*cr.Spec.ForProvider.SplunkDestinationConfiguration.RetryOptions.DurationInSeconds) } - f11.SetRetryOptions(f11f6) + f12.SetRetryOptions(f12f6) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.S3BackupMode != nil { - f11.SetS3BackupMode(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3BackupMode) + f12.SetS3BackupMode(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3BackupMode) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration != nil { - f11f8 := &svcsdk.S3DestinationConfiguration{} + f12f8 := &svcsdk.S3DestinationConfiguration{} if cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.BucketARN != nil { - f11f8.SetBucketARN(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.BucketARN) + f12f8.SetBucketARN(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.BucketARN) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.BufferingHints != nil { - f11f8f1 := &svcsdk.BufferingHints{} + f12f8f1 := &svcsdk.BufferingHints{} if cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.BufferingHints.IntervalInSeconds != nil { - f11f8f1.SetIntervalInSeconds(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.BufferingHints.IntervalInSeconds) + f12f8f1.SetIntervalInSeconds(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.BufferingHints.IntervalInSeconds) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.BufferingHints.SizeInMBs != nil { - f11f8f1.SetSizeInMBs(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.BufferingHints.SizeInMBs) + f12f8f1.SetSizeInMBs(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.BufferingHints.SizeInMBs) } - f11f8.SetBufferingHints(f11f8f1) + f12f8.SetBufferingHints(f12f8f1) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions != nil { - f11f8f2 := &svcsdk.CloudWatchLoggingOptions{} + f12f8f2 := &svcsdk.CloudWatchLoggingOptions{} if cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.Enabled != nil { - f11f8f2.SetEnabled(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.Enabled) + f12f8f2.SetEnabled(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.Enabled) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogGroupName != nil { - f11f8f2.SetLogGroupName(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogGroupName) + f12f8f2.SetLogGroupName(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogGroupName) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogStreamName != nil { - f11f8f2.SetLogStreamName(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogStreamName) + f12f8f2.SetLogStreamName(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.CloudWatchLoggingOptions.LogStreamName) } - f11f8.SetCloudWatchLoggingOptions(f11f8f2) + f12f8.SetCloudWatchLoggingOptions(f12f8f2) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.CompressionFormat != nil { - f11f8.SetCompressionFormat(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.CompressionFormat) + f12f8.SetCompressionFormat(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.CompressionFormat) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.EncryptionConfiguration != nil { - f11f8f4 := &svcsdk.EncryptionConfiguration{} + f12f8f4 := &svcsdk.EncryptionConfiguration{} if cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.EncryptionConfiguration.KMSEncryptionConfig != nil { - f11f8f4f0 := &svcsdk.KMSEncryptionConfig{} + f12f8f4f0 := &svcsdk.KMSEncryptionConfig{} if cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN != nil { - f11f8f4f0.SetAWSKMSKeyARN(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN) + f12f8f4f0.SetAWSKMSKeyARN(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN) } - f11f8f4.SetKMSEncryptionConfig(f11f8f4f0) + f12f8f4.SetKMSEncryptionConfig(f12f8f4f0) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.EncryptionConfiguration.NoEncryptionConfig != nil { - f11f8f4.SetNoEncryptionConfig(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.EncryptionConfiguration.NoEncryptionConfig) + f12f8f4.SetNoEncryptionConfig(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.EncryptionConfiguration.NoEncryptionConfig) } - f11f8.SetEncryptionConfiguration(f11f8f4) + f12f8.SetEncryptionConfiguration(f12f8f4) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.ErrorOutputPrefix != nil { - f11f8.SetErrorOutputPrefix(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.ErrorOutputPrefix) + f12f8.SetErrorOutputPrefix(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.ErrorOutputPrefix) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.Prefix != nil { - f11f8.SetPrefix(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.Prefix) + f12f8.SetPrefix(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.Prefix) } if cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.RoleARN != nil { - f11f8.SetRoleARN(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.RoleARN) + f12f8.SetRoleARN(*cr.Spec.ForProvider.SplunkDestinationConfiguration.S3Configuration.RoleARN) } - f11.SetS3Configuration(f11f8) + f12.SetS3Configuration(f12f8) } - res.SetSplunkDestinationConfiguration(f11) + res.SetSplunkDestinationConfiguration(f12) } if cr.Spec.ForProvider.Tags != nil { - f12 := []*svcsdk.Tag{} - for _, f12iter := range cr.Spec.ForProvider.Tags { - f12elem := &svcsdk.Tag{} - if f12iter.Key != nil { - f12elem.SetKey(*f12iter.Key) + f13 := []*svcsdk.Tag{} + for _, f13iter := range cr.Spec.ForProvider.Tags { + f13elem := &svcsdk.Tag{} + if f13iter.Key != nil { + f13elem.SetKey(*f13iter.Key) } - if f12iter.Value != nil { - f12elem.SetValue(*f12iter.Value) + if f13iter.Value != nil { + f13elem.SetValue(*f13iter.Value) } - f12 = append(f12, f12elem) + f13 = append(f13, f13elem) } - res.SetTags(f12) + res.SetTags(f13) } return res diff --git a/pkg/controller/globalaccelerator/endpointgroup/zz_conversions.go b/pkg/controller/globalaccelerator/endpointgroup/zz_conversions.go index bdebf0f506..60fec0a3eb 100644 --- a/pkg/controller/globalaccelerator/endpointgroup/zz_conversions.go +++ b/pkg/controller/globalaccelerator/endpointgroup/zz_conversions.go @@ -137,6 +137,9 @@ func GenerateCreateEndpointGroupInput(cr *svcapitypes.EndpointGroup) *svcsdk.Cre f0 := []*svcsdk.EndpointConfiguration{} for _, f0iter := range cr.Spec.ForProvider.EndpointConfigurations { f0elem := &svcsdk.EndpointConfiguration{} + if f0iter.AttachmentARN != nil { + f0elem.SetAttachmentArn(*f0iter.AttachmentARN) + } if f0iter.ClientIPPreservationEnabled != nil { f0elem.SetClientIPPreservationEnabled(*f0iter.ClientIPPreservationEnabled) } @@ -197,6 +200,9 @@ func GenerateUpdateEndpointGroupInput(cr *svcapitypes.EndpointGroup) *svcsdk.Upd f0 := []*svcsdk.EndpointConfiguration{} for _, f0iter := range cr.Spec.ForProvider.EndpointConfigurations { f0elem := &svcsdk.EndpointConfiguration{} + if f0iter.AttachmentARN != nil { + f0elem.SetAttachmentArn(*f0iter.AttachmentARN) + } if f0iter.ClientIPPreservationEnabled != nil { f0elem.SetClientIPPreservationEnabled(*f0iter.ClientIPPreservationEnabled) } diff --git a/pkg/controller/glue/job/zz_conversions.go b/pkg/controller/glue/job/zz_conversions.go index c86564505a..8a911922c8 100644 --- a/pkg/controller/glue/job/zz_conversions.go +++ b/pkg/controller/glue/job/zz_conversions.go @@ -882,2702 +882,2771 @@ func GenerateJob(resp *svcsdk.GetJobOutput) *svcapitypes.Job { } f1val.CatalogTarget = f1valf10 } + if f1valiter.ConnectorDataSource != nil { + f1valf11 := &svcapitypes.ConnectorDataSource{} + if f1valiter.ConnectorDataSource.ConnectionType != nil { + f1valf11.ConnectionType = f1valiter.ConnectorDataSource.ConnectionType + } + if f1valiter.ConnectorDataSource.Data != nil { + f1valf11f1 := map[string]*string{} + for f1valf11f1key, f1valf11f1valiter := range f1valiter.ConnectorDataSource.Data { + var f1valf11f1val string + f1valf11f1val = *f1valf11f1valiter + f1valf11f1[f1valf11f1key] = &f1valf11f1val + } + f1valf11.Data = f1valf11f1 + } + if f1valiter.ConnectorDataSource.Name != nil { + f1valf11.Name = f1valiter.ConnectorDataSource.Name + } + if f1valiter.ConnectorDataSource.OutputSchemas != nil { + f1valf11f3 := []*svcapitypes.GlueSchema{} + for _, f1valf11f3iter := range f1valiter.ConnectorDataSource.OutputSchemas { + f1valf11f3elem := &svcapitypes.GlueSchema{} + if f1valf11f3iter.Columns != nil { + f1valf11f3elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} + for _, f1valf11f3elemf0iter := range f1valf11f3iter.Columns { + f1valf11f3elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} + if f1valf11f3elemf0iter.Name != nil { + f1valf11f3elemf0elem.Name = f1valf11f3elemf0iter.Name + } + if f1valf11f3elemf0iter.Type != nil { + f1valf11f3elemf0elem.Type = f1valf11f3elemf0iter.Type + } + f1valf11f3elemf0 = append(f1valf11f3elemf0, f1valf11f3elemf0elem) + } + f1valf11f3elem.Columns = f1valf11f3elemf0 + } + f1valf11f3 = append(f1valf11f3, f1valf11f3elem) + } + f1valf11.OutputSchemas = f1valf11f3 + } + f1val.ConnectorDataSource = f1valf11 + } + if f1valiter.ConnectorDataTarget != nil { + f1valf12 := &svcapitypes.ConnectorDataTarget{} + if f1valiter.ConnectorDataTarget.ConnectionType != nil { + f1valf12.ConnectionType = f1valiter.ConnectorDataTarget.ConnectionType + } + if f1valiter.ConnectorDataTarget.Data != nil { + f1valf12f1 := map[string]*string{} + for f1valf12f1key, f1valf12f1valiter := range f1valiter.ConnectorDataTarget.Data { + var f1valf12f1val string + f1valf12f1val = *f1valf12f1valiter + f1valf12f1[f1valf12f1key] = &f1valf12f1val + } + f1valf12.Data = f1valf12f1 + } + if f1valiter.ConnectorDataTarget.Inputs != nil { + f1valf12f2 := []*string{} + for _, f1valf12f2iter := range f1valiter.ConnectorDataTarget.Inputs { + var f1valf12f2elem string + f1valf12f2elem = *f1valf12f2iter + f1valf12f2 = append(f1valf12f2, &f1valf12f2elem) + } + f1valf12.Inputs = f1valf12f2 + } + if f1valiter.ConnectorDataTarget.Name != nil { + f1valf12.Name = f1valiter.ConnectorDataTarget.Name + } + f1val.ConnectorDataTarget = f1valf12 + } if f1valiter.CustomCode != nil { - f1valf11 := &svcapitypes.CustomCode{} + f1valf13 := &svcapitypes.CustomCode{} if f1valiter.CustomCode.ClassName != nil { - f1valf11.ClassName = f1valiter.CustomCode.ClassName + f1valf13.ClassName = f1valiter.CustomCode.ClassName } if f1valiter.CustomCode.Code != nil { - f1valf11.Code = f1valiter.CustomCode.Code + f1valf13.Code = f1valiter.CustomCode.Code } if f1valiter.CustomCode.Inputs != nil { - f1valf11f2 := []*string{} - for _, f1valf11f2iter := range f1valiter.CustomCode.Inputs { - var f1valf11f2elem string - f1valf11f2elem = *f1valf11f2iter - f1valf11f2 = append(f1valf11f2, &f1valf11f2elem) + f1valf13f2 := []*string{} + for _, f1valf13f2iter := range f1valiter.CustomCode.Inputs { + var f1valf13f2elem string + f1valf13f2elem = *f1valf13f2iter + f1valf13f2 = append(f1valf13f2, &f1valf13f2elem) } - f1valf11.Inputs = f1valf11f2 + f1valf13.Inputs = f1valf13f2 } if f1valiter.CustomCode.Name != nil { - f1valf11.Name = f1valiter.CustomCode.Name + f1valf13.Name = f1valiter.CustomCode.Name } if f1valiter.CustomCode.OutputSchemas != nil { - f1valf11f4 := []*svcapitypes.GlueSchema{} - for _, f1valf11f4iter := range f1valiter.CustomCode.OutputSchemas { - f1valf11f4elem := &svcapitypes.GlueSchema{} - if f1valf11f4iter.Columns != nil { - f1valf11f4elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} - for _, f1valf11f4elemf0iter := range f1valf11f4iter.Columns { - f1valf11f4elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} - if f1valf11f4elemf0iter.Name != nil { - f1valf11f4elemf0elem.Name = f1valf11f4elemf0iter.Name + f1valf13f4 := []*svcapitypes.GlueSchema{} + for _, f1valf13f4iter := range f1valiter.CustomCode.OutputSchemas { + f1valf13f4elem := &svcapitypes.GlueSchema{} + if f1valf13f4iter.Columns != nil { + f1valf13f4elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} + for _, f1valf13f4elemf0iter := range f1valf13f4iter.Columns { + f1valf13f4elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} + if f1valf13f4elemf0iter.Name != nil { + f1valf13f4elemf0elem.Name = f1valf13f4elemf0iter.Name } - if f1valf11f4elemf0iter.Type != nil { - f1valf11f4elemf0elem.Type = f1valf11f4elemf0iter.Type + if f1valf13f4elemf0iter.Type != nil { + f1valf13f4elemf0elem.Type = f1valf13f4elemf0iter.Type } - f1valf11f4elemf0 = append(f1valf11f4elemf0, f1valf11f4elemf0elem) + f1valf13f4elemf0 = append(f1valf13f4elemf0, f1valf13f4elemf0elem) } - f1valf11f4elem.Columns = f1valf11f4elemf0 + f1valf13f4elem.Columns = f1valf13f4elemf0 } - f1valf11f4 = append(f1valf11f4, f1valf11f4elem) + f1valf13f4 = append(f1valf13f4, f1valf13f4elem) } - f1valf11.OutputSchemas = f1valf11f4 + f1valf13.OutputSchemas = f1valf13f4 } - f1val.CustomCode = f1valf11 + f1val.CustomCode = f1valf13 } if f1valiter.DirectJDBCSource != nil { - f1valf12 := &svcapitypes.DirectJDBCSource{} + f1valf14 := &svcapitypes.DirectJDBCSource{} if f1valiter.DirectJDBCSource.ConnectionName != nil { - f1valf12.ConnectionName = f1valiter.DirectJDBCSource.ConnectionName + f1valf14.ConnectionName = f1valiter.DirectJDBCSource.ConnectionName } if f1valiter.DirectJDBCSource.ConnectionType != nil { - f1valf12.ConnectionType = f1valiter.DirectJDBCSource.ConnectionType + f1valf14.ConnectionType = f1valiter.DirectJDBCSource.ConnectionType } if f1valiter.DirectJDBCSource.Database != nil { - f1valf12.Database = f1valiter.DirectJDBCSource.Database + f1valf14.Database = f1valiter.DirectJDBCSource.Database } if f1valiter.DirectJDBCSource.Name != nil { - f1valf12.Name = f1valiter.DirectJDBCSource.Name + f1valf14.Name = f1valiter.DirectJDBCSource.Name } if f1valiter.DirectJDBCSource.RedshiftTmpDir != nil { - f1valf12.RedshiftTmpDir = f1valiter.DirectJDBCSource.RedshiftTmpDir + f1valf14.RedshiftTmpDir = f1valiter.DirectJDBCSource.RedshiftTmpDir } if f1valiter.DirectJDBCSource.Table != nil { - f1valf12.Table = f1valiter.DirectJDBCSource.Table + f1valf14.Table = f1valiter.DirectJDBCSource.Table } - f1val.DirectJDBCSource = f1valf12 + f1val.DirectJDBCSource = f1valf14 } if f1valiter.DirectKafkaSource != nil { - f1valf13 := &svcapitypes.DirectKafkaSource{} + f1valf15 := &svcapitypes.DirectKafkaSource{} if f1valiter.DirectKafkaSource.DataPreviewOptions != nil { - f1valf13f0 := &svcapitypes.StreamingDataPreviewOptions{} + f1valf15f0 := &svcapitypes.StreamingDataPreviewOptions{} if f1valiter.DirectKafkaSource.DataPreviewOptions.PollingTime != nil { - f1valf13f0.PollingTime = f1valiter.DirectKafkaSource.DataPreviewOptions.PollingTime + f1valf15f0.PollingTime = f1valiter.DirectKafkaSource.DataPreviewOptions.PollingTime } if f1valiter.DirectKafkaSource.DataPreviewOptions.RecordPollingLimit != nil { - f1valf13f0.RecordPollingLimit = f1valiter.DirectKafkaSource.DataPreviewOptions.RecordPollingLimit + f1valf15f0.RecordPollingLimit = f1valiter.DirectKafkaSource.DataPreviewOptions.RecordPollingLimit } - f1valf13.DataPreviewOptions = f1valf13f0 + f1valf15.DataPreviewOptions = f1valf15f0 } if f1valiter.DirectKafkaSource.DetectSchema != nil { - f1valf13.DetectSchema = f1valiter.DirectKafkaSource.DetectSchema + f1valf15.DetectSchema = f1valiter.DirectKafkaSource.DetectSchema } if f1valiter.DirectKafkaSource.Name != nil { - f1valf13.Name = f1valiter.DirectKafkaSource.Name + f1valf15.Name = f1valiter.DirectKafkaSource.Name } if f1valiter.DirectKafkaSource.StreamingOptions != nil { - f1valf13f3 := &svcapitypes.KafkaStreamingSourceOptions{} + f1valf15f3 := &svcapitypes.KafkaStreamingSourceOptions{} if f1valiter.DirectKafkaSource.StreamingOptions.AddRecordTimestamp != nil { - f1valf13f3.AddRecordTimestamp = f1valiter.DirectKafkaSource.StreamingOptions.AddRecordTimestamp + f1valf15f3.AddRecordTimestamp = f1valiter.DirectKafkaSource.StreamingOptions.AddRecordTimestamp } if f1valiter.DirectKafkaSource.StreamingOptions.Assign != nil { - f1valf13f3.Assign = f1valiter.DirectKafkaSource.StreamingOptions.Assign + f1valf15f3.Assign = f1valiter.DirectKafkaSource.StreamingOptions.Assign } if f1valiter.DirectKafkaSource.StreamingOptions.BootstrapServers != nil { - f1valf13f3.BootstrapServers = f1valiter.DirectKafkaSource.StreamingOptions.BootstrapServers + f1valf15f3.BootstrapServers = f1valiter.DirectKafkaSource.StreamingOptions.BootstrapServers } if f1valiter.DirectKafkaSource.StreamingOptions.Classification != nil { - f1valf13f3.Classification = f1valiter.DirectKafkaSource.StreamingOptions.Classification + f1valf15f3.Classification = f1valiter.DirectKafkaSource.StreamingOptions.Classification } if f1valiter.DirectKafkaSource.StreamingOptions.ConnectionName != nil { - f1valf13f3.ConnectionName = f1valiter.DirectKafkaSource.StreamingOptions.ConnectionName + f1valf15f3.ConnectionName = f1valiter.DirectKafkaSource.StreamingOptions.ConnectionName } if f1valiter.DirectKafkaSource.StreamingOptions.Delimiter != nil { - f1valf13f3.Delimiter = f1valiter.DirectKafkaSource.StreamingOptions.Delimiter + f1valf15f3.Delimiter = f1valiter.DirectKafkaSource.StreamingOptions.Delimiter } if f1valiter.DirectKafkaSource.StreamingOptions.EmitConsumerLagMetrics != nil { - f1valf13f3.EmitConsumerLagMetrics = f1valiter.DirectKafkaSource.StreamingOptions.EmitConsumerLagMetrics + f1valf15f3.EmitConsumerLagMetrics = f1valiter.DirectKafkaSource.StreamingOptions.EmitConsumerLagMetrics } if f1valiter.DirectKafkaSource.StreamingOptions.EndingOffsets != nil { - f1valf13f3.EndingOffsets = f1valiter.DirectKafkaSource.StreamingOptions.EndingOffsets + f1valf15f3.EndingOffsets = f1valiter.DirectKafkaSource.StreamingOptions.EndingOffsets } if f1valiter.DirectKafkaSource.StreamingOptions.IncludeHeaders != nil { - f1valf13f3.IncludeHeaders = f1valiter.DirectKafkaSource.StreamingOptions.IncludeHeaders + f1valf15f3.IncludeHeaders = f1valiter.DirectKafkaSource.StreamingOptions.IncludeHeaders } if f1valiter.DirectKafkaSource.StreamingOptions.MaxOffsetsPerTrigger != nil { - f1valf13f3.MaxOffsetsPerTrigger = f1valiter.DirectKafkaSource.StreamingOptions.MaxOffsetsPerTrigger + f1valf15f3.MaxOffsetsPerTrigger = f1valiter.DirectKafkaSource.StreamingOptions.MaxOffsetsPerTrigger } if f1valiter.DirectKafkaSource.StreamingOptions.MinPartitions != nil { - f1valf13f3.MinPartitions = f1valiter.DirectKafkaSource.StreamingOptions.MinPartitions + f1valf15f3.MinPartitions = f1valiter.DirectKafkaSource.StreamingOptions.MinPartitions } if f1valiter.DirectKafkaSource.StreamingOptions.NumRetries != nil { - f1valf13f3.NumRetries = f1valiter.DirectKafkaSource.StreamingOptions.NumRetries + f1valf15f3.NumRetries = f1valiter.DirectKafkaSource.StreamingOptions.NumRetries } if f1valiter.DirectKafkaSource.StreamingOptions.PollTimeoutMs != nil { - f1valf13f3.PollTimeoutMs = f1valiter.DirectKafkaSource.StreamingOptions.PollTimeoutMs + f1valf15f3.PollTimeoutMs = f1valiter.DirectKafkaSource.StreamingOptions.PollTimeoutMs } if f1valiter.DirectKafkaSource.StreamingOptions.RetryIntervalMs != nil { - f1valf13f3.RetryIntervalMs = f1valiter.DirectKafkaSource.StreamingOptions.RetryIntervalMs + f1valf15f3.RetryIntervalMs = f1valiter.DirectKafkaSource.StreamingOptions.RetryIntervalMs } if f1valiter.DirectKafkaSource.StreamingOptions.SecurityProtocol != nil { - f1valf13f3.SecurityProtocol = f1valiter.DirectKafkaSource.StreamingOptions.SecurityProtocol + f1valf15f3.SecurityProtocol = f1valiter.DirectKafkaSource.StreamingOptions.SecurityProtocol } if f1valiter.DirectKafkaSource.StreamingOptions.StartingOffsets != nil { - f1valf13f3.StartingOffsets = f1valiter.DirectKafkaSource.StreamingOptions.StartingOffsets + f1valf15f3.StartingOffsets = f1valiter.DirectKafkaSource.StreamingOptions.StartingOffsets } if f1valiter.DirectKafkaSource.StreamingOptions.StartingTimestamp != nil { - f1valf13f3.StartingTimestamp = &metav1.Time{*f1valiter.DirectKafkaSource.StreamingOptions.StartingTimestamp} + f1valf15f3.StartingTimestamp = &metav1.Time{*f1valiter.DirectKafkaSource.StreamingOptions.StartingTimestamp} } if f1valiter.DirectKafkaSource.StreamingOptions.SubscribePattern != nil { - f1valf13f3.SubscribePattern = f1valiter.DirectKafkaSource.StreamingOptions.SubscribePattern + f1valf15f3.SubscribePattern = f1valiter.DirectKafkaSource.StreamingOptions.SubscribePattern } if f1valiter.DirectKafkaSource.StreamingOptions.TopicName != nil { - f1valf13f3.TopicName = f1valiter.DirectKafkaSource.StreamingOptions.TopicName + f1valf15f3.TopicName = f1valiter.DirectKafkaSource.StreamingOptions.TopicName } - f1valf13.StreamingOptions = f1valf13f3 + f1valf15.StreamingOptions = f1valf15f3 } if f1valiter.DirectKafkaSource.WindowSize != nil { - f1valf13.WindowSize = f1valiter.DirectKafkaSource.WindowSize + f1valf15.WindowSize = f1valiter.DirectKafkaSource.WindowSize } - f1val.DirectKafkaSource = f1valf13 + f1val.DirectKafkaSource = f1valf15 } if f1valiter.DirectKinesisSource != nil { - f1valf14 := &svcapitypes.DirectKinesisSource{} + f1valf16 := &svcapitypes.DirectKinesisSource{} if f1valiter.DirectKinesisSource.DataPreviewOptions != nil { - f1valf14f0 := &svcapitypes.StreamingDataPreviewOptions{} + f1valf16f0 := &svcapitypes.StreamingDataPreviewOptions{} if f1valiter.DirectKinesisSource.DataPreviewOptions.PollingTime != nil { - f1valf14f0.PollingTime = f1valiter.DirectKinesisSource.DataPreviewOptions.PollingTime + f1valf16f0.PollingTime = f1valiter.DirectKinesisSource.DataPreviewOptions.PollingTime } if f1valiter.DirectKinesisSource.DataPreviewOptions.RecordPollingLimit != nil { - f1valf14f0.RecordPollingLimit = f1valiter.DirectKinesisSource.DataPreviewOptions.RecordPollingLimit + f1valf16f0.RecordPollingLimit = f1valiter.DirectKinesisSource.DataPreviewOptions.RecordPollingLimit } - f1valf14.DataPreviewOptions = f1valf14f0 + f1valf16.DataPreviewOptions = f1valf16f0 } if f1valiter.DirectKinesisSource.DetectSchema != nil { - f1valf14.DetectSchema = f1valiter.DirectKinesisSource.DetectSchema + f1valf16.DetectSchema = f1valiter.DirectKinesisSource.DetectSchema } if f1valiter.DirectKinesisSource.Name != nil { - f1valf14.Name = f1valiter.DirectKinesisSource.Name + f1valf16.Name = f1valiter.DirectKinesisSource.Name } if f1valiter.DirectKinesisSource.StreamingOptions != nil { - f1valf14f3 := &svcapitypes.KinesisStreamingSourceOptions{} + f1valf16f3 := &svcapitypes.KinesisStreamingSourceOptions{} if f1valiter.DirectKinesisSource.StreamingOptions.AddIdleTimeBetweenReads != nil { - f1valf14f3.AddIdleTimeBetweenReads = f1valiter.DirectKinesisSource.StreamingOptions.AddIdleTimeBetweenReads + f1valf16f3.AddIdleTimeBetweenReads = f1valiter.DirectKinesisSource.StreamingOptions.AddIdleTimeBetweenReads } if f1valiter.DirectKinesisSource.StreamingOptions.AddRecordTimestamp != nil { - f1valf14f3.AddRecordTimestamp = f1valiter.DirectKinesisSource.StreamingOptions.AddRecordTimestamp + f1valf16f3.AddRecordTimestamp = f1valiter.DirectKinesisSource.StreamingOptions.AddRecordTimestamp } if f1valiter.DirectKinesisSource.StreamingOptions.AvoidEmptyBatches != nil { - f1valf14f3.AvoidEmptyBatches = f1valiter.DirectKinesisSource.StreamingOptions.AvoidEmptyBatches + f1valf16f3.AvoidEmptyBatches = f1valiter.DirectKinesisSource.StreamingOptions.AvoidEmptyBatches } if f1valiter.DirectKinesisSource.StreamingOptions.Classification != nil { - f1valf14f3.Classification = f1valiter.DirectKinesisSource.StreamingOptions.Classification + f1valf16f3.Classification = f1valiter.DirectKinesisSource.StreamingOptions.Classification } if f1valiter.DirectKinesisSource.StreamingOptions.Delimiter != nil { - f1valf14f3.Delimiter = f1valiter.DirectKinesisSource.StreamingOptions.Delimiter + f1valf16f3.Delimiter = f1valiter.DirectKinesisSource.StreamingOptions.Delimiter } if f1valiter.DirectKinesisSource.StreamingOptions.DescribeShardInterval != nil { - f1valf14f3.DescribeShardInterval = f1valiter.DirectKinesisSource.StreamingOptions.DescribeShardInterval + f1valf16f3.DescribeShardInterval = f1valiter.DirectKinesisSource.StreamingOptions.DescribeShardInterval } if f1valiter.DirectKinesisSource.StreamingOptions.EmitConsumerLagMetrics != nil { - f1valf14f3.EmitConsumerLagMetrics = f1valiter.DirectKinesisSource.StreamingOptions.EmitConsumerLagMetrics + f1valf16f3.EmitConsumerLagMetrics = f1valiter.DirectKinesisSource.StreamingOptions.EmitConsumerLagMetrics } if f1valiter.DirectKinesisSource.StreamingOptions.EndpointUrl != nil { - f1valf14f3.EndpointURL = f1valiter.DirectKinesisSource.StreamingOptions.EndpointUrl + f1valf16f3.EndpointURL = f1valiter.DirectKinesisSource.StreamingOptions.EndpointUrl } if f1valiter.DirectKinesisSource.StreamingOptions.IdleTimeBetweenReadsInMs != nil { - f1valf14f3.IdleTimeBetweenReadsInMs = f1valiter.DirectKinesisSource.StreamingOptions.IdleTimeBetweenReadsInMs + f1valf16f3.IdleTimeBetweenReadsInMs = f1valiter.DirectKinesisSource.StreamingOptions.IdleTimeBetweenReadsInMs } if f1valiter.DirectKinesisSource.StreamingOptions.MaxFetchRecordsPerShard != nil { - f1valf14f3.MaxFetchRecordsPerShard = f1valiter.DirectKinesisSource.StreamingOptions.MaxFetchRecordsPerShard + f1valf16f3.MaxFetchRecordsPerShard = f1valiter.DirectKinesisSource.StreamingOptions.MaxFetchRecordsPerShard } if f1valiter.DirectKinesisSource.StreamingOptions.MaxFetchTimeInMs != nil { - f1valf14f3.MaxFetchTimeInMs = f1valiter.DirectKinesisSource.StreamingOptions.MaxFetchTimeInMs + f1valf16f3.MaxFetchTimeInMs = f1valiter.DirectKinesisSource.StreamingOptions.MaxFetchTimeInMs } if f1valiter.DirectKinesisSource.StreamingOptions.MaxRecordPerRead != nil { - f1valf14f3.MaxRecordPerRead = f1valiter.DirectKinesisSource.StreamingOptions.MaxRecordPerRead + f1valf16f3.MaxRecordPerRead = f1valiter.DirectKinesisSource.StreamingOptions.MaxRecordPerRead } if f1valiter.DirectKinesisSource.StreamingOptions.MaxRetryIntervalMs != nil { - f1valf14f3.MaxRetryIntervalMs = f1valiter.DirectKinesisSource.StreamingOptions.MaxRetryIntervalMs + f1valf16f3.MaxRetryIntervalMs = f1valiter.DirectKinesisSource.StreamingOptions.MaxRetryIntervalMs } if f1valiter.DirectKinesisSource.StreamingOptions.NumRetries != nil { - f1valf14f3.NumRetries = f1valiter.DirectKinesisSource.StreamingOptions.NumRetries + f1valf16f3.NumRetries = f1valiter.DirectKinesisSource.StreamingOptions.NumRetries } if f1valiter.DirectKinesisSource.StreamingOptions.RetryIntervalMs != nil { - f1valf14f3.RetryIntervalMs = f1valiter.DirectKinesisSource.StreamingOptions.RetryIntervalMs + f1valf16f3.RetryIntervalMs = f1valiter.DirectKinesisSource.StreamingOptions.RetryIntervalMs } if f1valiter.DirectKinesisSource.StreamingOptions.RoleArn != nil { - f1valf14f3.RoleARN = f1valiter.DirectKinesisSource.StreamingOptions.RoleArn + f1valf16f3.RoleARN = f1valiter.DirectKinesisSource.StreamingOptions.RoleArn } if f1valiter.DirectKinesisSource.StreamingOptions.RoleSessionName != nil { - f1valf14f3.RoleSessionName = f1valiter.DirectKinesisSource.StreamingOptions.RoleSessionName + f1valf16f3.RoleSessionName = f1valiter.DirectKinesisSource.StreamingOptions.RoleSessionName } if f1valiter.DirectKinesisSource.StreamingOptions.StartingPosition != nil { - f1valf14f3.StartingPosition = f1valiter.DirectKinesisSource.StreamingOptions.StartingPosition + f1valf16f3.StartingPosition = f1valiter.DirectKinesisSource.StreamingOptions.StartingPosition } if f1valiter.DirectKinesisSource.StreamingOptions.StartingTimestamp != nil { - f1valf14f3.StartingTimestamp = &metav1.Time{*f1valiter.DirectKinesisSource.StreamingOptions.StartingTimestamp} + f1valf16f3.StartingTimestamp = &metav1.Time{*f1valiter.DirectKinesisSource.StreamingOptions.StartingTimestamp} } if f1valiter.DirectKinesisSource.StreamingOptions.StreamArn != nil { - f1valf14f3.StreamARN = f1valiter.DirectKinesisSource.StreamingOptions.StreamArn + f1valf16f3.StreamARN = f1valiter.DirectKinesisSource.StreamingOptions.StreamArn } if f1valiter.DirectKinesisSource.StreamingOptions.StreamName != nil { - f1valf14f3.StreamName = f1valiter.DirectKinesisSource.StreamingOptions.StreamName + f1valf16f3.StreamName = f1valiter.DirectKinesisSource.StreamingOptions.StreamName } - f1valf14.StreamingOptions = f1valf14f3 + f1valf16.StreamingOptions = f1valf16f3 } if f1valiter.DirectKinesisSource.WindowSize != nil { - f1valf14.WindowSize = f1valiter.DirectKinesisSource.WindowSize + f1valf16.WindowSize = f1valiter.DirectKinesisSource.WindowSize } - f1val.DirectKinesisSource = f1valf14 + f1val.DirectKinesisSource = f1valf16 } if f1valiter.DropDuplicates != nil { - f1valf15 := &svcapitypes.DropDuplicates{} + f1valf17 := &svcapitypes.DropDuplicates{} if f1valiter.DropDuplicates.Columns != nil { - f1valf15f0 := [][]*string{} - for _, f1valf15f0iter := range f1valiter.DropDuplicates.Columns { - f1valf15f0elem := []*string{} - for _, f1valf15f0elemiter := range f1valf15f0iter { - var f1valf15f0elemelem string - f1valf15f0elemelem = *f1valf15f0elemiter - f1valf15f0elem = append(f1valf15f0elem, &f1valf15f0elemelem) + f1valf17f0 := [][]*string{} + for _, f1valf17f0iter := range f1valiter.DropDuplicates.Columns { + f1valf17f0elem := []*string{} + for _, f1valf17f0elemiter := range f1valf17f0iter { + var f1valf17f0elemelem string + f1valf17f0elemelem = *f1valf17f0elemiter + f1valf17f0elem = append(f1valf17f0elem, &f1valf17f0elemelem) } - f1valf15f0 = append(f1valf15f0, f1valf15f0elem) + f1valf17f0 = append(f1valf17f0, f1valf17f0elem) } - f1valf15.Columns = f1valf15f0 + f1valf17.Columns = f1valf17f0 } if f1valiter.DropDuplicates.Inputs != nil { - f1valf15f1 := []*string{} - for _, f1valf15f1iter := range f1valiter.DropDuplicates.Inputs { - var f1valf15f1elem string - f1valf15f1elem = *f1valf15f1iter - f1valf15f1 = append(f1valf15f1, &f1valf15f1elem) + f1valf17f1 := []*string{} + for _, f1valf17f1iter := range f1valiter.DropDuplicates.Inputs { + var f1valf17f1elem string + f1valf17f1elem = *f1valf17f1iter + f1valf17f1 = append(f1valf17f1, &f1valf17f1elem) } - f1valf15.Inputs = f1valf15f1 + f1valf17.Inputs = f1valf17f1 } if f1valiter.DropDuplicates.Name != nil { - f1valf15.Name = f1valiter.DropDuplicates.Name + f1valf17.Name = f1valiter.DropDuplicates.Name } - f1val.DropDuplicates = f1valf15 + f1val.DropDuplicates = f1valf17 } if f1valiter.DropFields != nil { - f1valf16 := &svcapitypes.DropFields{} + f1valf18 := &svcapitypes.DropFields{} if f1valiter.DropFields.Inputs != nil { - f1valf16f0 := []*string{} - for _, f1valf16f0iter := range f1valiter.DropFields.Inputs { - var f1valf16f0elem string - f1valf16f0elem = *f1valf16f0iter - f1valf16f0 = append(f1valf16f0, &f1valf16f0elem) + f1valf18f0 := []*string{} + for _, f1valf18f0iter := range f1valiter.DropFields.Inputs { + var f1valf18f0elem string + f1valf18f0elem = *f1valf18f0iter + f1valf18f0 = append(f1valf18f0, &f1valf18f0elem) } - f1valf16.Inputs = f1valf16f0 + f1valf18.Inputs = f1valf18f0 } if f1valiter.DropFields.Name != nil { - f1valf16.Name = f1valiter.DropFields.Name + f1valf18.Name = f1valiter.DropFields.Name } if f1valiter.DropFields.Paths != nil { - f1valf16f2 := [][]*string{} - for _, f1valf16f2iter := range f1valiter.DropFields.Paths { - f1valf16f2elem := []*string{} - for _, f1valf16f2elemiter := range f1valf16f2iter { - var f1valf16f2elemelem string - f1valf16f2elemelem = *f1valf16f2elemiter - f1valf16f2elem = append(f1valf16f2elem, &f1valf16f2elemelem) + f1valf18f2 := [][]*string{} + for _, f1valf18f2iter := range f1valiter.DropFields.Paths { + f1valf18f2elem := []*string{} + for _, f1valf18f2elemiter := range f1valf18f2iter { + var f1valf18f2elemelem string + f1valf18f2elemelem = *f1valf18f2elemiter + f1valf18f2elem = append(f1valf18f2elem, &f1valf18f2elemelem) } - f1valf16f2 = append(f1valf16f2, f1valf16f2elem) + f1valf18f2 = append(f1valf18f2, f1valf18f2elem) } - f1valf16.Paths = f1valf16f2 + f1valf18.Paths = f1valf18f2 } - f1val.DropFields = f1valf16 + f1val.DropFields = f1valf18 } if f1valiter.DropNullFields != nil { - f1valf17 := &svcapitypes.DropNullFields{} + f1valf19 := &svcapitypes.DropNullFields{} if f1valiter.DropNullFields.Inputs != nil { - f1valf17f0 := []*string{} - for _, f1valf17f0iter := range f1valiter.DropNullFields.Inputs { - var f1valf17f0elem string - f1valf17f0elem = *f1valf17f0iter - f1valf17f0 = append(f1valf17f0, &f1valf17f0elem) + f1valf19f0 := []*string{} + for _, f1valf19f0iter := range f1valiter.DropNullFields.Inputs { + var f1valf19f0elem string + f1valf19f0elem = *f1valf19f0iter + f1valf19f0 = append(f1valf19f0, &f1valf19f0elem) } - f1valf17.Inputs = f1valf17f0 + f1valf19.Inputs = f1valf19f0 } if f1valiter.DropNullFields.Name != nil { - f1valf17.Name = f1valiter.DropNullFields.Name + f1valf19.Name = f1valiter.DropNullFields.Name } if f1valiter.DropNullFields.NullCheckBoxList != nil { - f1valf17f2 := &svcapitypes.NullCheckBoxList{} + f1valf19f2 := &svcapitypes.NullCheckBoxList{} if f1valiter.DropNullFields.NullCheckBoxList.IsEmpty != nil { - f1valf17f2.IsEmpty = f1valiter.DropNullFields.NullCheckBoxList.IsEmpty + f1valf19f2.IsEmpty = f1valiter.DropNullFields.NullCheckBoxList.IsEmpty } if f1valiter.DropNullFields.NullCheckBoxList.IsNegOne != nil { - f1valf17f2.IsNegOne = f1valiter.DropNullFields.NullCheckBoxList.IsNegOne + f1valf19f2.IsNegOne = f1valiter.DropNullFields.NullCheckBoxList.IsNegOne } if f1valiter.DropNullFields.NullCheckBoxList.IsNullString != nil { - f1valf17f2.IsNullString = f1valiter.DropNullFields.NullCheckBoxList.IsNullString + f1valf19f2.IsNullString = f1valiter.DropNullFields.NullCheckBoxList.IsNullString } - f1valf17.NullCheckBoxList = f1valf17f2 + f1valf19.NullCheckBoxList = f1valf19f2 } if f1valiter.DropNullFields.NullTextList != nil { - f1valf17f3 := []*svcapitypes.NullValueField{} - for _, f1valf17f3iter := range f1valiter.DropNullFields.NullTextList { - f1valf17f3elem := &svcapitypes.NullValueField{} - if f1valf17f3iter.Datatype != nil { - f1valf17f3elemf0 := &svcapitypes.Datatype{} - if f1valf17f3iter.Datatype.Id != nil { - f1valf17f3elemf0.ID = f1valf17f3iter.Datatype.Id + f1valf19f3 := []*svcapitypes.NullValueField{} + for _, f1valf19f3iter := range f1valiter.DropNullFields.NullTextList { + f1valf19f3elem := &svcapitypes.NullValueField{} + if f1valf19f3iter.Datatype != nil { + f1valf19f3elemf0 := &svcapitypes.Datatype{} + if f1valf19f3iter.Datatype.Id != nil { + f1valf19f3elemf0.ID = f1valf19f3iter.Datatype.Id } - if f1valf17f3iter.Datatype.Label != nil { - f1valf17f3elemf0.Label = f1valf17f3iter.Datatype.Label + if f1valf19f3iter.Datatype.Label != nil { + f1valf19f3elemf0.Label = f1valf19f3iter.Datatype.Label } - f1valf17f3elem.Datatype = f1valf17f3elemf0 + f1valf19f3elem.Datatype = f1valf19f3elemf0 } - if f1valf17f3iter.Value != nil { - f1valf17f3elem.Value = f1valf17f3iter.Value + if f1valf19f3iter.Value != nil { + f1valf19f3elem.Value = f1valf19f3iter.Value } - f1valf17f3 = append(f1valf17f3, f1valf17f3elem) + f1valf19f3 = append(f1valf19f3, f1valf19f3elem) } - f1valf17.NullTextList = f1valf17f3 + f1valf19.NullTextList = f1valf19f3 } - f1val.DropNullFields = f1valf17 + f1val.DropNullFields = f1valf19 } if f1valiter.DynamicTransform != nil { - f1valf18 := &svcapitypes.DynamicTransform{} + f1valf20 := &svcapitypes.DynamicTransform{} if f1valiter.DynamicTransform.FunctionName != nil { - f1valf18.FunctionName = f1valiter.DynamicTransform.FunctionName + f1valf20.FunctionName = f1valiter.DynamicTransform.FunctionName } if f1valiter.DynamicTransform.Inputs != nil { - f1valf18f1 := []*string{} - for _, f1valf18f1iter := range f1valiter.DynamicTransform.Inputs { - var f1valf18f1elem string - f1valf18f1elem = *f1valf18f1iter - f1valf18f1 = append(f1valf18f1, &f1valf18f1elem) + f1valf20f1 := []*string{} + for _, f1valf20f1iter := range f1valiter.DynamicTransform.Inputs { + var f1valf20f1elem string + f1valf20f1elem = *f1valf20f1iter + f1valf20f1 = append(f1valf20f1, &f1valf20f1elem) } - f1valf18.Inputs = f1valf18f1 + f1valf20.Inputs = f1valf20f1 } if f1valiter.DynamicTransform.Name != nil { - f1valf18.Name = f1valiter.DynamicTransform.Name + f1valf20.Name = f1valiter.DynamicTransform.Name } if f1valiter.DynamicTransform.OutputSchemas != nil { - f1valf18f3 := []*svcapitypes.GlueSchema{} - for _, f1valf18f3iter := range f1valiter.DynamicTransform.OutputSchemas { - f1valf18f3elem := &svcapitypes.GlueSchema{} - if f1valf18f3iter.Columns != nil { - f1valf18f3elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} - for _, f1valf18f3elemf0iter := range f1valf18f3iter.Columns { - f1valf18f3elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} - if f1valf18f3elemf0iter.Name != nil { - f1valf18f3elemf0elem.Name = f1valf18f3elemf0iter.Name + f1valf20f3 := []*svcapitypes.GlueSchema{} + for _, f1valf20f3iter := range f1valiter.DynamicTransform.OutputSchemas { + f1valf20f3elem := &svcapitypes.GlueSchema{} + if f1valf20f3iter.Columns != nil { + f1valf20f3elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} + for _, f1valf20f3elemf0iter := range f1valf20f3iter.Columns { + f1valf20f3elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} + if f1valf20f3elemf0iter.Name != nil { + f1valf20f3elemf0elem.Name = f1valf20f3elemf0iter.Name } - if f1valf18f3elemf0iter.Type != nil { - f1valf18f3elemf0elem.Type = f1valf18f3elemf0iter.Type + if f1valf20f3elemf0iter.Type != nil { + f1valf20f3elemf0elem.Type = f1valf20f3elemf0iter.Type } - f1valf18f3elemf0 = append(f1valf18f3elemf0, f1valf18f3elemf0elem) + f1valf20f3elemf0 = append(f1valf20f3elemf0, f1valf20f3elemf0elem) } - f1valf18f3elem.Columns = f1valf18f3elemf0 + f1valf20f3elem.Columns = f1valf20f3elemf0 } - f1valf18f3 = append(f1valf18f3, f1valf18f3elem) + f1valf20f3 = append(f1valf20f3, f1valf20f3elem) } - f1valf18.OutputSchemas = f1valf18f3 + f1valf20.OutputSchemas = f1valf20f3 } if f1valiter.DynamicTransform.Parameters != nil { - f1valf18f4 := []*svcapitypes.TransformConfigParameter{} - for _, f1valf18f4iter := range f1valiter.DynamicTransform.Parameters { - f1valf18f4elem := &svcapitypes.TransformConfigParameter{} - if f1valf18f4iter.IsOptional != nil { - f1valf18f4elem.IsOptional = f1valf18f4iter.IsOptional + f1valf20f4 := []*svcapitypes.TransformConfigParameter{} + for _, f1valf20f4iter := range f1valiter.DynamicTransform.Parameters { + f1valf20f4elem := &svcapitypes.TransformConfigParameter{} + if f1valf20f4iter.IsOptional != nil { + f1valf20f4elem.IsOptional = f1valf20f4iter.IsOptional } - if f1valf18f4iter.ListType != nil { - f1valf18f4elem.ListType = f1valf18f4iter.ListType + if f1valf20f4iter.ListType != nil { + f1valf20f4elem.ListType = f1valf20f4iter.ListType } - if f1valf18f4iter.Name != nil { - f1valf18f4elem.Name = f1valf18f4iter.Name + if f1valf20f4iter.Name != nil { + f1valf20f4elem.Name = f1valf20f4iter.Name } - if f1valf18f4iter.Type != nil { - f1valf18f4elem.Type = f1valf18f4iter.Type + if f1valf20f4iter.Type != nil { + f1valf20f4elem.Type = f1valf20f4iter.Type } - if f1valf18f4iter.ValidationMessage != nil { - f1valf18f4elem.ValidationMessage = f1valf18f4iter.ValidationMessage + if f1valf20f4iter.ValidationMessage != nil { + f1valf20f4elem.ValidationMessage = f1valf20f4iter.ValidationMessage } - if f1valf18f4iter.ValidationRule != nil { - f1valf18f4elem.ValidationRule = f1valf18f4iter.ValidationRule + if f1valf20f4iter.ValidationRule != nil { + f1valf20f4elem.ValidationRule = f1valf20f4iter.ValidationRule } - if f1valf18f4iter.Value != nil { - f1valf18f4elemf6 := []*string{} - for _, f1valf18f4elemf6iter := range f1valf18f4iter.Value { - var f1valf18f4elemf6elem string - f1valf18f4elemf6elem = *f1valf18f4elemf6iter - f1valf18f4elemf6 = append(f1valf18f4elemf6, &f1valf18f4elemf6elem) + if f1valf20f4iter.Value != nil { + f1valf20f4elemf6 := []*string{} + for _, f1valf20f4elemf6iter := range f1valf20f4iter.Value { + var f1valf20f4elemf6elem string + f1valf20f4elemf6elem = *f1valf20f4elemf6iter + f1valf20f4elemf6 = append(f1valf20f4elemf6, &f1valf20f4elemf6elem) } - f1valf18f4elem.Value = f1valf18f4elemf6 + f1valf20f4elem.Value = f1valf20f4elemf6 } - f1valf18f4 = append(f1valf18f4, f1valf18f4elem) + f1valf20f4 = append(f1valf20f4, f1valf20f4elem) } - f1valf18.Parameters = f1valf18f4 + f1valf20.Parameters = f1valf20f4 } if f1valiter.DynamicTransform.Path != nil { - f1valf18.Path = f1valiter.DynamicTransform.Path + f1valf20.Path = f1valiter.DynamicTransform.Path } if f1valiter.DynamicTransform.TransformName != nil { - f1valf18.TransformName = f1valiter.DynamicTransform.TransformName + f1valf20.TransformName = f1valiter.DynamicTransform.TransformName } if f1valiter.DynamicTransform.Version != nil { - f1valf18.Version = f1valiter.DynamicTransform.Version + f1valf20.Version = f1valiter.DynamicTransform.Version } - f1val.DynamicTransform = f1valf18 + f1val.DynamicTransform = f1valf20 } if f1valiter.DynamoDBCatalogSource != nil { - f1valf19 := &svcapitypes.DynamoDBCatalogSource{} + f1valf21 := &svcapitypes.DynamoDBCatalogSource{} if f1valiter.DynamoDBCatalogSource.Database != nil { - f1valf19.Database = f1valiter.DynamoDBCatalogSource.Database + f1valf21.Database = f1valiter.DynamoDBCatalogSource.Database } if f1valiter.DynamoDBCatalogSource.Name != nil { - f1valf19.Name = f1valiter.DynamoDBCatalogSource.Name + f1valf21.Name = f1valiter.DynamoDBCatalogSource.Name } if f1valiter.DynamoDBCatalogSource.Table != nil { - f1valf19.Table = f1valiter.DynamoDBCatalogSource.Table + f1valf21.Table = f1valiter.DynamoDBCatalogSource.Table } - f1val.DynamoDBCatalogSource = f1valf19 + f1val.DynamoDBCatalogSource = f1valf21 } if f1valiter.EvaluateDataQuality != nil { - f1valf20 := &svcapitypes.EvaluateDataQuality{} + f1valf22 := &svcapitypes.EvaluateDataQuality{} if f1valiter.EvaluateDataQuality.Inputs != nil { - f1valf20f0 := []*string{} - for _, f1valf20f0iter := range f1valiter.EvaluateDataQuality.Inputs { - var f1valf20f0elem string - f1valf20f0elem = *f1valf20f0iter - f1valf20f0 = append(f1valf20f0, &f1valf20f0elem) + f1valf22f0 := []*string{} + for _, f1valf22f0iter := range f1valiter.EvaluateDataQuality.Inputs { + var f1valf22f0elem string + f1valf22f0elem = *f1valf22f0iter + f1valf22f0 = append(f1valf22f0, &f1valf22f0elem) } - f1valf20.Inputs = f1valf20f0 + f1valf22.Inputs = f1valf22f0 } if f1valiter.EvaluateDataQuality.Name != nil { - f1valf20.Name = f1valiter.EvaluateDataQuality.Name + f1valf22.Name = f1valiter.EvaluateDataQuality.Name } if f1valiter.EvaluateDataQuality.Output != nil { - f1valf20.Output = f1valiter.EvaluateDataQuality.Output + f1valf22.Output = f1valiter.EvaluateDataQuality.Output } if f1valiter.EvaluateDataQuality.PublishingOptions != nil { - f1valf20f3 := &svcapitypes.DQResultsPublishingOptions{} + f1valf22f3 := &svcapitypes.DQResultsPublishingOptions{} if f1valiter.EvaluateDataQuality.PublishingOptions.CloudWatchMetricsEnabled != nil { - f1valf20f3.CloudWatchMetricsEnabled = f1valiter.EvaluateDataQuality.PublishingOptions.CloudWatchMetricsEnabled + f1valf22f3.CloudWatchMetricsEnabled = f1valiter.EvaluateDataQuality.PublishingOptions.CloudWatchMetricsEnabled } if f1valiter.EvaluateDataQuality.PublishingOptions.EvaluationContext != nil { - f1valf20f3.EvaluationContext = f1valiter.EvaluateDataQuality.PublishingOptions.EvaluationContext + f1valf22f3.EvaluationContext = f1valiter.EvaluateDataQuality.PublishingOptions.EvaluationContext } if f1valiter.EvaluateDataQuality.PublishingOptions.ResultsPublishingEnabled != nil { - f1valf20f3.ResultsPublishingEnabled = f1valiter.EvaluateDataQuality.PublishingOptions.ResultsPublishingEnabled + f1valf22f3.ResultsPublishingEnabled = f1valiter.EvaluateDataQuality.PublishingOptions.ResultsPublishingEnabled } if f1valiter.EvaluateDataQuality.PublishingOptions.ResultsS3Prefix != nil { - f1valf20f3.ResultsS3Prefix = f1valiter.EvaluateDataQuality.PublishingOptions.ResultsS3Prefix + f1valf22f3.ResultsS3Prefix = f1valiter.EvaluateDataQuality.PublishingOptions.ResultsS3Prefix } - f1valf20.PublishingOptions = f1valf20f3 + f1valf22.PublishingOptions = f1valf22f3 } if f1valiter.EvaluateDataQuality.Ruleset != nil { - f1valf20.Ruleset = f1valiter.EvaluateDataQuality.Ruleset + f1valf22.Ruleset = f1valiter.EvaluateDataQuality.Ruleset } if f1valiter.EvaluateDataQuality.StopJobOnFailureOptions != nil { - f1valf20f5 := &svcapitypes.DQStopJobOnFailureOptions{} + f1valf22f5 := &svcapitypes.DQStopJobOnFailureOptions{} if f1valiter.EvaluateDataQuality.StopJobOnFailureOptions.StopJobOnFailureTiming != nil { - f1valf20f5.StopJobOnFailureTiming = f1valiter.EvaluateDataQuality.StopJobOnFailureOptions.StopJobOnFailureTiming + f1valf22f5.StopJobOnFailureTiming = f1valiter.EvaluateDataQuality.StopJobOnFailureOptions.StopJobOnFailureTiming } - f1valf20.StopJobOnFailureOptions = f1valf20f5 + f1valf22.StopJobOnFailureOptions = f1valf22f5 } - f1val.EvaluateDataQuality = f1valf20 + f1val.EvaluateDataQuality = f1valf22 } if f1valiter.EvaluateDataQualityMultiFrame != nil { - f1valf21 := &svcapitypes.EvaluateDataQualityMultiFrame{} + f1valf23 := &svcapitypes.EvaluateDataQualityMultiFrame{} if f1valiter.EvaluateDataQualityMultiFrame.AdditionalDataSources != nil { - f1valf21f0 := map[string]*string{} - for f1valf21f0key, f1valf21f0valiter := range f1valiter.EvaluateDataQualityMultiFrame.AdditionalDataSources { - var f1valf21f0val string - f1valf21f0val = *f1valf21f0valiter - f1valf21f0[f1valf21f0key] = &f1valf21f0val + f1valf23f0 := map[string]*string{} + for f1valf23f0key, f1valf23f0valiter := range f1valiter.EvaluateDataQualityMultiFrame.AdditionalDataSources { + var f1valf23f0val string + f1valf23f0val = *f1valf23f0valiter + f1valf23f0[f1valf23f0key] = &f1valf23f0val } - f1valf21.AdditionalDataSources = f1valf21f0 + f1valf23.AdditionalDataSources = f1valf23f0 } if f1valiter.EvaluateDataQualityMultiFrame.AdditionalOptions != nil { - f1valf21f1 := map[string]*string{} - for f1valf21f1key, f1valf21f1valiter := range f1valiter.EvaluateDataQualityMultiFrame.AdditionalOptions { - var f1valf21f1val string - f1valf21f1val = *f1valf21f1valiter - f1valf21f1[f1valf21f1key] = &f1valf21f1val + f1valf23f1 := map[string]*string{} + for f1valf23f1key, f1valf23f1valiter := range f1valiter.EvaluateDataQualityMultiFrame.AdditionalOptions { + var f1valf23f1val string + f1valf23f1val = *f1valf23f1valiter + f1valf23f1[f1valf23f1key] = &f1valf23f1val } - f1valf21.AdditionalOptions = f1valf21f1 + f1valf23.AdditionalOptions = f1valf23f1 } if f1valiter.EvaluateDataQualityMultiFrame.Inputs != nil { - f1valf21f2 := []*string{} - for _, f1valf21f2iter := range f1valiter.EvaluateDataQualityMultiFrame.Inputs { - var f1valf21f2elem string - f1valf21f2elem = *f1valf21f2iter - f1valf21f2 = append(f1valf21f2, &f1valf21f2elem) + f1valf23f2 := []*string{} + for _, f1valf23f2iter := range f1valiter.EvaluateDataQualityMultiFrame.Inputs { + var f1valf23f2elem string + f1valf23f2elem = *f1valf23f2iter + f1valf23f2 = append(f1valf23f2, &f1valf23f2elem) } - f1valf21.Inputs = f1valf21f2 + f1valf23.Inputs = f1valf23f2 } if f1valiter.EvaluateDataQualityMultiFrame.Name != nil { - f1valf21.Name = f1valiter.EvaluateDataQualityMultiFrame.Name + f1valf23.Name = f1valiter.EvaluateDataQualityMultiFrame.Name } if f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions != nil { - f1valf21f4 := &svcapitypes.DQResultsPublishingOptions{} + f1valf23f4 := &svcapitypes.DQResultsPublishingOptions{} if f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.CloudWatchMetricsEnabled != nil { - f1valf21f4.CloudWatchMetricsEnabled = f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.CloudWatchMetricsEnabled + f1valf23f4.CloudWatchMetricsEnabled = f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.CloudWatchMetricsEnabled } if f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.EvaluationContext != nil { - f1valf21f4.EvaluationContext = f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.EvaluationContext + f1valf23f4.EvaluationContext = f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.EvaluationContext } if f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.ResultsPublishingEnabled != nil { - f1valf21f4.ResultsPublishingEnabled = f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.ResultsPublishingEnabled + f1valf23f4.ResultsPublishingEnabled = f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.ResultsPublishingEnabled } if f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.ResultsS3Prefix != nil { - f1valf21f4.ResultsS3Prefix = f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.ResultsS3Prefix + f1valf23f4.ResultsS3Prefix = f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.ResultsS3Prefix } - f1valf21.PublishingOptions = f1valf21f4 + f1valf23.PublishingOptions = f1valf23f4 } if f1valiter.EvaluateDataQualityMultiFrame.Ruleset != nil { - f1valf21.Ruleset = f1valiter.EvaluateDataQualityMultiFrame.Ruleset + f1valf23.Ruleset = f1valiter.EvaluateDataQualityMultiFrame.Ruleset } if f1valiter.EvaluateDataQualityMultiFrame.StopJobOnFailureOptions != nil { - f1valf21f6 := &svcapitypes.DQStopJobOnFailureOptions{} + f1valf23f6 := &svcapitypes.DQStopJobOnFailureOptions{} if f1valiter.EvaluateDataQualityMultiFrame.StopJobOnFailureOptions.StopJobOnFailureTiming != nil { - f1valf21f6.StopJobOnFailureTiming = f1valiter.EvaluateDataQualityMultiFrame.StopJobOnFailureOptions.StopJobOnFailureTiming + f1valf23f6.StopJobOnFailureTiming = f1valiter.EvaluateDataQualityMultiFrame.StopJobOnFailureOptions.StopJobOnFailureTiming } - f1valf21.StopJobOnFailureOptions = f1valf21f6 + f1valf23.StopJobOnFailureOptions = f1valf23f6 } - f1val.EvaluateDataQualityMultiFrame = f1valf21 + f1val.EvaluateDataQualityMultiFrame = f1valf23 } if f1valiter.FillMissingValues != nil { - f1valf22 := &svcapitypes.FillMissingValues{} + f1valf24 := &svcapitypes.FillMissingValues{} if f1valiter.FillMissingValues.FilledPath != nil { - f1valf22.FilledPath = f1valiter.FillMissingValues.FilledPath + f1valf24.FilledPath = f1valiter.FillMissingValues.FilledPath } if f1valiter.FillMissingValues.ImputedPath != nil { - f1valf22.ImputedPath = f1valiter.FillMissingValues.ImputedPath + f1valf24.ImputedPath = f1valiter.FillMissingValues.ImputedPath } if f1valiter.FillMissingValues.Inputs != nil { - f1valf22f2 := []*string{} - for _, f1valf22f2iter := range f1valiter.FillMissingValues.Inputs { - var f1valf22f2elem string - f1valf22f2elem = *f1valf22f2iter - f1valf22f2 = append(f1valf22f2, &f1valf22f2elem) + f1valf24f2 := []*string{} + for _, f1valf24f2iter := range f1valiter.FillMissingValues.Inputs { + var f1valf24f2elem string + f1valf24f2elem = *f1valf24f2iter + f1valf24f2 = append(f1valf24f2, &f1valf24f2elem) } - f1valf22.Inputs = f1valf22f2 + f1valf24.Inputs = f1valf24f2 } if f1valiter.FillMissingValues.Name != nil { - f1valf22.Name = f1valiter.FillMissingValues.Name + f1valf24.Name = f1valiter.FillMissingValues.Name } - f1val.FillMissingValues = f1valf22 + f1val.FillMissingValues = f1valf24 } if f1valiter.Filter != nil { - f1valf23 := &svcapitypes.Filter{} + f1valf25 := &svcapitypes.Filter{} if f1valiter.Filter.Filters != nil { - f1valf23f0 := []*svcapitypes.FilterExpression{} - for _, f1valf23f0iter := range f1valiter.Filter.Filters { - f1valf23f0elem := &svcapitypes.FilterExpression{} - if f1valf23f0iter.Negated != nil { - f1valf23f0elem.Negated = f1valf23f0iter.Negated - } - if f1valf23f0iter.Operation != nil { - f1valf23f0elem.Operation = f1valf23f0iter.Operation - } - if f1valf23f0iter.Values != nil { - f1valf23f0elemf2 := []*svcapitypes.FilterValue{} - for _, f1valf23f0elemf2iter := range f1valf23f0iter.Values { - f1valf23f0elemf2elem := &svcapitypes.FilterValue{} - if f1valf23f0elemf2iter.Type != nil { - f1valf23f0elemf2elem.Type = f1valf23f0elemf2iter.Type + f1valf25f0 := []*svcapitypes.FilterExpression{} + for _, f1valf25f0iter := range f1valiter.Filter.Filters { + f1valf25f0elem := &svcapitypes.FilterExpression{} + if f1valf25f0iter.Negated != nil { + f1valf25f0elem.Negated = f1valf25f0iter.Negated + } + if f1valf25f0iter.Operation != nil { + f1valf25f0elem.Operation = f1valf25f0iter.Operation + } + if f1valf25f0iter.Values != nil { + f1valf25f0elemf2 := []*svcapitypes.FilterValue{} + for _, f1valf25f0elemf2iter := range f1valf25f0iter.Values { + f1valf25f0elemf2elem := &svcapitypes.FilterValue{} + if f1valf25f0elemf2iter.Type != nil { + f1valf25f0elemf2elem.Type = f1valf25f0elemf2iter.Type } - if f1valf23f0elemf2iter.Value != nil { - f1valf23f0elemf2elemf1 := []*string{} - for _, f1valf23f0elemf2elemf1iter := range f1valf23f0elemf2iter.Value { - var f1valf23f0elemf2elemf1elem string - f1valf23f0elemf2elemf1elem = *f1valf23f0elemf2elemf1iter - f1valf23f0elemf2elemf1 = append(f1valf23f0elemf2elemf1, &f1valf23f0elemf2elemf1elem) + if f1valf25f0elemf2iter.Value != nil { + f1valf25f0elemf2elemf1 := []*string{} + for _, f1valf25f0elemf2elemf1iter := range f1valf25f0elemf2iter.Value { + var f1valf25f0elemf2elemf1elem string + f1valf25f0elemf2elemf1elem = *f1valf25f0elemf2elemf1iter + f1valf25f0elemf2elemf1 = append(f1valf25f0elemf2elemf1, &f1valf25f0elemf2elemf1elem) } - f1valf23f0elemf2elem.Value = f1valf23f0elemf2elemf1 + f1valf25f0elemf2elem.Value = f1valf25f0elemf2elemf1 } - f1valf23f0elemf2 = append(f1valf23f0elemf2, f1valf23f0elemf2elem) + f1valf25f0elemf2 = append(f1valf25f0elemf2, f1valf25f0elemf2elem) } - f1valf23f0elem.Values = f1valf23f0elemf2 + f1valf25f0elem.Values = f1valf25f0elemf2 } - f1valf23f0 = append(f1valf23f0, f1valf23f0elem) + f1valf25f0 = append(f1valf25f0, f1valf25f0elem) } - f1valf23.Filters = f1valf23f0 + f1valf25.Filters = f1valf25f0 } if f1valiter.Filter.Inputs != nil { - f1valf23f1 := []*string{} - for _, f1valf23f1iter := range f1valiter.Filter.Inputs { - var f1valf23f1elem string - f1valf23f1elem = *f1valf23f1iter - f1valf23f1 = append(f1valf23f1, &f1valf23f1elem) + f1valf25f1 := []*string{} + for _, f1valf25f1iter := range f1valiter.Filter.Inputs { + var f1valf25f1elem string + f1valf25f1elem = *f1valf25f1iter + f1valf25f1 = append(f1valf25f1, &f1valf25f1elem) } - f1valf23.Inputs = f1valf23f1 + f1valf25.Inputs = f1valf25f1 } if f1valiter.Filter.LogicalOperator != nil { - f1valf23.LogicalOperator = f1valiter.Filter.LogicalOperator + f1valf25.LogicalOperator = f1valiter.Filter.LogicalOperator } if f1valiter.Filter.Name != nil { - f1valf23.Name = f1valiter.Filter.Name + f1valf25.Name = f1valiter.Filter.Name } - f1val.Filter = f1valf23 + f1val.Filter = f1valf25 } if f1valiter.GovernedCatalogSource != nil { - f1valf24 := &svcapitypes.GovernedCatalogSource{} + f1valf26 := &svcapitypes.GovernedCatalogSource{} if f1valiter.GovernedCatalogSource.AdditionalOptions != nil { - f1valf24f0 := &svcapitypes.S3SourceAdditionalOptions{} + f1valf26f0 := &svcapitypes.S3SourceAdditionalOptions{} if f1valiter.GovernedCatalogSource.AdditionalOptions.BoundedFiles != nil { - f1valf24f0.BoundedFiles = f1valiter.GovernedCatalogSource.AdditionalOptions.BoundedFiles + f1valf26f0.BoundedFiles = f1valiter.GovernedCatalogSource.AdditionalOptions.BoundedFiles } if f1valiter.GovernedCatalogSource.AdditionalOptions.BoundedSize != nil { - f1valf24f0.BoundedSize = f1valiter.GovernedCatalogSource.AdditionalOptions.BoundedSize + f1valf26f0.BoundedSize = f1valiter.GovernedCatalogSource.AdditionalOptions.BoundedSize } - f1valf24.AdditionalOptions = f1valf24f0 + f1valf26.AdditionalOptions = f1valf26f0 } if f1valiter.GovernedCatalogSource.Database != nil { - f1valf24.Database = f1valiter.GovernedCatalogSource.Database + f1valf26.Database = f1valiter.GovernedCatalogSource.Database } if f1valiter.GovernedCatalogSource.Name != nil { - f1valf24.Name = f1valiter.GovernedCatalogSource.Name + f1valf26.Name = f1valiter.GovernedCatalogSource.Name } if f1valiter.GovernedCatalogSource.PartitionPredicate != nil { - f1valf24.PartitionPredicate = f1valiter.GovernedCatalogSource.PartitionPredicate + f1valf26.PartitionPredicate = f1valiter.GovernedCatalogSource.PartitionPredicate } if f1valiter.GovernedCatalogSource.Table != nil { - f1valf24.Table = f1valiter.GovernedCatalogSource.Table + f1valf26.Table = f1valiter.GovernedCatalogSource.Table } - f1val.GovernedCatalogSource = f1valf24 + f1val.GovernedCatalogSource = f1valf26 } if f1valiter.GovernedCatalogTarget != nil { - f1valf25 := &svcapitypes.GovernedCatalogTarget{} + f1valf27 := &svcapitypes.GovernedCatalogTarget{} if f1valiter.GovernedCatalogTarget.Database != nil { - f1valf25.Database = f1valiter.GovernedCatalogTarget.Database + f1valf27.Database = f1valiter.GovernedCatalogTarget.Database } if f1valiter.GovernedCatalogTarget.Inputs != nil { - f1valf25f1 := []*string{} - for _, f1valf25f1iter := range f1valiter.GovernedCatalogTarget.Inputs { - var f1valf25f1elem string - f1valf25f1elem = *f1valf25f1iter - f1valf25f1 = append(f1valf25f1, &f1valf25f1elem) + f1valf27f1 := []*string{} + for _, f1valf27f1iter := range f1valiter.GovernedCatalogTarget.Inputs { + var f1valf27f1elem string + f1valf27f1elem = *f1valf27f1iter + f1valf27f1 = append(f1valf27f1, &f1valf27f1elem) } - f1valf25.Inputs = f1valf25f1 + f1valf27.Inputs = f1valf27f1 } if f1valiter.GovernedCatalogTarget.Name != nil { - f1valf25.Name = f1valiter.GovernedCatalogTarget.Name + f1valf27.Name = f1valiter.GovernedCatalogTarget.Name } if f1valiter.GovernedCatalogTarget.PartitionKeys != nil { - f1valf25f3 := [][]*string{} - for _, f1valf25f3iter := range f1valiter.GovernedCatalogTarget.PartitionKeys { - f1valf25f3elem := []*string{} - for _, f1valf25f3elemiter := range f1valf25f3iter { - var f1valf25f3elemelem string - f1valf25f3elemelem = *f1valf25f3elemiter - f1valf25f3elem = append(f1valf25f3elem, &f1valf25f3elemelem) + f1valf27f3 := [][]*string{} + for _, f1valf27f3iter := range f1valiter.GovernedCatalogTarget.PartitionKeys { + f1valf27f3elem := []*string{} + for _, f1valf27f3elemiter := range f1valf27f3iter { + var f1valf27f3elemelem string + f1valf27f3elemelem = *f1valf27f3elemiter + f1valf27f3elem = append(f1valf27f3elem, &f1valf27f3elemelem) } - f1valf25f3 = append(f1valf25f3, f1valf25f3elem) + f1valf27f3 = append(f1valf27f3, f1valf27f3elem) } - f1valf25.PartitionKeys = f1valf25f3 + f1valf27.PartitionKeys = f1valf27f3 } if f1valiter.GovernedCatalogTarget.SchemaChangePolicy != nil { - f1valf25f4 := &svcapitypes.CatalogSchemaChangePolicy{} + f1valf27f4 := &svcapitypes.CatalogSchemaChangePolicy{} if f1valiter.GovernedCatalogTarget.SchemaChangePolicy.EnableUpdateCatalog != nil { - f1valf25f4.EnableUpdateCatalog = f1valiter.GovernedCatalogTarget.SchemaChangePolicy.EnableUpdateCatalog + f1valf27f4.EnableUpdateCatalog = f1valiter.GovernedCatalogTarget.SchemaChangePolicy.EnableUpdateCatalog } if f1valiter.GovernedCatalogTarget.SchemaChangePolicy.UpdateBehavior != nil { - f1valf25f4.UpdateBehavior = f1valiter.GovernedCatalogTarget.SchemaChangePolicy.UpdateBehavior + f1valf27f4.UpdateBehavior = f1valiter.GovernedCatalogTarget.SchemaChangePolicy.UpdateBehavior } - f1valf25.SchemaChangePolicy = f1valf25f4 + f1valf27.SchemaChangePolicy = f1valf27f4 } if f1valiter.GovernedCatalogTarget.Table != nil { - f1valf25.Table = f1valiter.GovernedCatalogTarget.Table + f1valf27.Table = f1valiter.GovernedCatalogTarget.Table } - f1val.GovernedCatalogTarget = f1valf25 + f1val.GovernedCatalogTarget = f1valf27 } if f1valiter.JDBCConnectorSource != nil { - f1valf26 := &svcapitypes.JDBCConnectorSource{} + f1valf28 := &svcapitypes.JDBCConnectorSource{} if f1valiter.JDBCConnectorSource.AdditionalOptions != nil { - f1valf26f0 := &svcapitypes.JDBCConnectorOptions{} + f1valf28f0 := &svcapitypes.JDBCConnectorOptions{} if f1valiter.JDBCConnectorSource.AdditionalOptions.DataTypeMapping != nil { - f1valf26f0f0 := map[string]*string{} - for f1valf26f0f0key, f1valf26f0f0valiter := range f1valiter.JDBCConnectorSource.AdditionalOptions.DataTypeMapping { - var f1valf26f0f0val string - f1valf26f0f0val = *f1valf26f0f0valiter - f1valf26f0f0[f1valf26f0f0key] = &f1valf26f0f0val + f1valf28f0f0 := map[string]*string{} + for f1valf28f0f0key, f1valf28f0f0valiter := range f1valiter.JDBCConnectorSource.AdditionalOptions.DataTypeMapping { + var f1valf28f0f0val string + f1valf28f0f0val = *f1valf28f0f0valiter + f1valf28f0f0[f1valf28f0f0key] = &f1valf28f0f0val } - f1valf26f0.DataTypeMapping = f1valf26f0f0 + f1valf28f0.DataTypeMapping = f1valf28f0f0 } if f1valiter.JDBCConnectorSource.AdditionalOptions.FilterPredicate != nil { - f1valf26f0.FilterPredicate = f1valiter.JDBCConnectorSource.AdditionalOptions.FilterPredicate + f1valf28f0.FilterPredicate = f1valiter.JDBCConnectorSource.AdditionalOptions.FilterPredicate } if f1valiter.JDBCConnectorSource.AdditionalOptions.JobBookmarkKeys != nil { - f1valf26f0f2 := []*string{} - for _, f1valf26f0f2iter := range f1valiter.JDBCConnectorSource.AdditionalOptions.JobBookmarkKeys { - var f1valf26f0f2elem string - f1valf26f0f2elem = *f1valf26f0f2iter - f1valf26f0f2 = append(f1valf26f0f2, &f1valf26f0f2elem) + f1valf28f0f2 := []*string{} + for _, f1valf28f0f2iter := range f1valiter.JDBCConnectorSource.AdditionalOptions.JobBookmarkKeys { + var f1valf28f0f2elem string + f1valf28f0f2elem = *f1valf28f0f2iter + f1valf28f0f2 = append(f1valf28f0f2, &f1valf28f0f2elem) } - f1valf26f0.JobBookmarkKeys = f1valf26f0f2 + f1valf28f0.JobBookmarkKeys = f1valf28f0f2 } if f1valiter.JDBCConnectorSource.AdditionalOptions.JobBookmarkKeysSortOrder != nil { - f1valf26f0.JobBookmarkKeysSortOrder = f1valiter.JDBCConnectorSource.AdditionalOptions.JobBookmarkKeysSortOrder + f1valf28f0.JobBookmarkKeysSortOrder = f1valiter.JDBCConnectorSource.AdditionalOptions.JobBookmarkKeysSortOrder } if f1valiter.JDBCConnectorSource.AdditionalOptions.LowerBound != nil { - f1valf26f0.LowerBound = f1valiter.JDBCConnectorSource.AdditionalOptions.LowerBound + f1valf28f0.LowerBound = f1valiter.JDBCConnectorSource.AdditionalOptions.LowerBound } if f1valiter.JDBCConnectorSource.AdditionalOptions.NumPartitions != nil { - f1valf26f0.NumPartitions = f1valiter.JDBCConnectorSource.AdditionalOptions.NumPartitions + f1valf28f0.NumPartitions = f1valiter.JDBCConnectorSource.AdditionalOptions.NumPartitions } if f1valiter.JDBCConnectorSource.AdditionalOptions.PartitionColumn != nil { - f1valf26f0.PartitionColumn = f1valiter.JDBCConnectorSource.AdditionalOptions.PartitionColumn + f1valf28f0.PartitionColumn = f1valiter.JDBCConnectorSource.AdditionalOptions.PartitionColumn } if f1valiter.JDBCConnectorSource.AdditionalOptions.UpperBound != nil { - f1valf26f0.UpperBound = f1valiter.JDBCConnectorSource.AdditionalOptions.UpperBound + f1valf28f0.UpperBound = f1valiter.JDBCConnectorSource.AdditionalOptions.UpperBound } - f1valf26.AdditionalOptions = f1valf26f0 + f1valf28.AdditionalOptions = f1valf28f0 } if f1valiter.JDBCConnectorSource.ConnectionName != nil { - f1valf26.ConnectionName = f1valiter.JDBCConnectorSource.ConnectionName + f1valf28.ConnectionName = f1valiter.JDBCConnectorSource.ConnectionName } if f1valiter.JDBCConnectorSource.ConnectionTable != nil { - f1valf26.ConnectionTable = f1valiter.JDBCConnectorSource.ConnectionTable + f1valf28.ConnectionTable = f1valiter.JDBCConnectorSource.ConnectionTable } if f1valiter.JDBCConnectorSource.ConnectionType != nil { - f1valf26.ConnectionType = f1valiter.JDBCConnectorSource.ConnectionType + f1valf28.ConnectionType = f1valiter.JDBCConnectorSource.ConnectionType } if f1valiter.JDBCConnectorSource.ConnectorName != nil { - f1valf26.ConnectorName = f1valiter.JDBCConnectorSource.ConnectorName + f1valf28.ConnectorName = f1valiter.JDBCConnectorSource.ConnectorName } if f1valiter.JDBCConnectorSource.Name != nil { - f1valf26.Name = f1valiter.JDBCConnectorSource.Name + f1valf28.Name = f1valiter.JDBCConnectorSource.Name } if f1valiter.JDBCConnectorSource.OutputSchemas != nil { - f1valf26f6 := []*svcapitypes.GlueSchema{} - for _, f1valf26f6iter := range f1valiter.JDBCConnectorSource.OutputSchemas { - f1valf26f6elem := &svcapitypes.GlueSchema{} - if f1valf26f6iter.Columns != nil { - f1valf26f6elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} - for _, f1valf26f6elemf0iter := range f1valf26f6iter.Columns { - f1valf26f6elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} - if f1valf26f6elemf0iter.Name != nil { - f1valf26f6elemf0elem.Name = f1valf26f6elemf0iter.Name + f1valf28f6 := []*svcapitypes.GlueSchema{} + for _, f1valf28f6iter := range f1valiter.JDBCConnectorSource.OutputSchemas { + f1valf28f6elem := &svcapitypes.GlueSchema{} + if f1valf28f6iter.Columns != nil { + f1valf28f6elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} + for _, f1valf28f6elemf0iter := range f1valf28f6iter.Columns { + f1valf28f6elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} + if f1valf28f6elemf0iter.Name != nil { + f1valf28f6elemf0elem.Name = f1valf28f6elemf0iter.Name } - if f1valf26f6elemf0iter.Type != nil { - f1valf26f6elemf0elem.Type = f1valf26f6elemf0iter.Type + if f1valf28f6elemf0iter.Type != nil { + f1valf28f6elemf0elem.Type = f1valf28f6elemf0iter.Type } - f1valf26f6elemf0 = append(f1valf26f6elemf0, f1valf26f6elemf0elem) + f1valf28f6elemf0 = append(f1valf28f6elemf0, f1valf28f6elemf0elem) } - f1valf26f6elem.Columns = f1valf26f6elemf0 + f1valf28f6elem.Columns = f1valf28f6elemf0 } - f1valf26f6 = append(f1valf26f6, f1valf26f6elem) + f1valf28f6 = append(f1valf28f6, f1valf28f6elem) } - f1valf26.OutputSchemas = f1valf26f6 + f1valf28.OutputSchemas = f1valf28f6 } if f1valiter.JDBCConnectorSource.Query != nil { - f1valf26.Query = f1valiter.JDBCConnectorSource.Query + f1valf28.Query = f1valiter.JDBCConnectorSource.Query } - f1val.JDBCConnectorSource = f1valf26 + f1val.JDBCConnectorSource = f1valf28 } if f1valiter.JDBCConnectorTarget != nil { - f1valf27 := &svcapitypes.JDBCConnectorTarget{} + f1valf29 := &svcapitypes.JDBCConnectorTarget{} if f1valiter.JDBCConnectorTarget.AdditionalOptions != nil { - f1valf27f0 := map[string]*string{} - for f1valf27f0key, f1valf27f0valiter := range f1valiter.JDBCConnectorTarget.AdditionalOptions { - var f1valf27f0val string - f1valf27f0val = *f1valf27f0valiter - f1valf27f0[f1valf27f0key] = &f1valf27f0val + f1valf29f0 := map[string]*string{} + for f1valf29f0key, f1valf29f0valiter := range f1valiter.JDBCConnectorTarget.AdditionalOptions { + var f1valf29f0val string + f1valf29f0val = *f1valf29f0valiter + f1valf29f0[f1valf29f0key] = &f1valf29f0val } - f1valf27.AdditionalOptions = f1valf27f0 + f1valf29.AdditionalOptions = f1valf29f0 } if f1valiter.JDBCConnectorTarget.ConnectionName != nil { - f1valf27.ConnectionName = f1valiter.JDBCConnectorTarget.ConnectionName + f1valf29.ConnectionName = f1valiter.JDBCConnectorTarget.ConnectionName } if f1valiter.JDBCConnectorTarget.ConnectionTable != nil { - f1valf27.ConnectionTable = f1valiter.JDBCConnectorTarget.ConnectionTable + f1valf29.ConnectionTable = f1valiter.JDBCConnectorTarget.ConnectionTable } if f1valiter.JDBCConnectorTarget.ConnectionType != nil { - f1valf27.ConnectionType = f1valiter.JDBCConnectorTarget.ConnectionType + f1valf29.ConnectionType = f1valiter.JDBCConnectorTarget.ConnectionType } if f1valiter.JDBCConnectorTarget.ConnectorName != nil { - f1valf27.ConnectorName = f1valiter.JDBCConnectorTarget.ConnectorName + f1valf29.ConnectorName = f1valiter.JDBCConnectorTarget.ConnectorName } if f1valiter.JDBCConnectorTarget.Inputs != nil { - f1valf27f5 := []*string{} - for _, f1valf27f5iter := range f1valiter.JDBCConnectorTarget.Inputs { - var f1valf27f5elem string - f1valf27f5elem = *f1valf27f5iter - f1valf27f5 = append(f1valf27f5, &f1valf27f5elem) + f1valf29f5 := []*string{} + for _, f1valf29f5iter := range f1valiter.JDBCConnectorTarget.Inputs { + var f1valf29f5elem string + f1valf29f5elem = *f1valf29f5iter + f1valf29f5 = append(f1valf29f5, &f1valf29f5elem) } - f1valf27.Inputs = f1valf27f5 + f1valf29.Inputs = f1valf29f5 } if f1valiter.JDBCConnectorTarget.Name != nil { - f1valf27.Name = f1valiter.JDBCConnectorTarget.Name + f1valf29.Name = f1valiter.JDBCConnectorTarget.Name } if f1valiter.JDBCConnectorTarget.OutputSchemas != nil { - f1valf27f7 := []*svcapitypes.GlueSchema{} - for _, f1valf27f7iter := range f1valiter.JDBCConnectorTarget.OutputSchemas { - f1valf27f7elem := &svcapitypes.GlueSchema{} - if f1valf27f7iter.Columns != nil { - f1valf27f7elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} - for _, f1valf27f7elemf0iter := range f1valf27f7iter.Columns { - f1valf27f7elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} - if f1valf27f7elemf0iter.Name != nil { - f1valf27f7elemf0elem.Name = f1valf27f7elemf0iter.Name + f1valf29f7 := []*svcapitypes.GlueSchema{} + for _, f1valf29f7iter := range f1valiter.JDBCConnectorTarget.OutputSchemas { + f1valf29f7elem := &svcapitypes.GlueSchema{} + if f1valf29f7iter.Columns != nil { + f1valf29f7elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} + for _, f1valf29f7elemf0iter := range f1valf29f7iter.Columns { + f1valf29f7elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} + if f1valf29f7elemf0iter.Name != nil { + f1valf29f7elemf0elem.Name = f1valf29f7elemf0iter.Name } - if f1valf27f7elemf0iter.Type != nil { - f1valf27f7elemf0elem.Type = f1valf27f7elemf0iter.Type + if f1valf29f7elemf0iter.Type != nil { + f1valf29f7elemf0elem.Type = f1valf29f7elemf0iter.Type } - f1valf27f7elemf0 = append(f1valf27f7elemf0, f1valf27f7elemf0elem) + f1valf29f7elemf0 = append(f1valf29f7elemf0, f1valf29f7elemf0elem) } - f1valf27f7elem.Columns = f1valf27f7elemf0 + f1valf29f7elem.Columns = f1valf29f7elemf0 } - f1valf27f7 = append(f1valf27f7, f1valf27f7elem) + f1valf29f7 = append(f1valf29f7, f1valf29f7elem) } - f1valf27.OutputSchemas = f1valf27f7 + f1valf29.OutputSchemas = f1valf29f7 } - f1val.JDBCConnectorTarget = f1valf27 + f1val.JDBCConnectorTarget = f1valf29 } if f1valiter.Join != nil { - f1valf28 := &svcapitypes.Join{} + f1valf30 := &svcapitypes.Join{} if f1valiter.Join.Columns != nil { - f1valf28f0 := []*svcapitypes.JoinColumn{} - for _, f1valf28f0iter := range f1valiter.Join.Columns { - f1valf28f0elem := &svcapitypes.JoinColumn{} - if f1valf28f0iter.From != nil { - f1valf28f0elem.From = f1valf28f0iter.From - } - if f1valf28f0iter.Keys != nil { - f1valf28f0elemf1 := [][]*string{} - for _, f1valf28f0elemf1iter := range f1valf28f0iter.Keys { - f1valf28f0elemf1elem := []*string{} - for _, f1valf28f0elemf1elemiter := range f1valf28f0elemf1iter { - var f1valf28f0elemf1elemelem string - f1valf28f0elemf1elemelem = *f1valf28f0elemf1elemiter - f1valf28f0elemf1elem = append(f1valf28f0elemf1elem, &f1valf28f0elemf1elemelem) + f1valf30f0 := []*svcapitypes.JoinColumn{} + for _, f1valf30f0iter := range f1valiter.Join.Columns { + f1valf30f0elem := &svcapitypes.JoinColumn{} + if f1valf30f0iter.From != nil { + f1valf30f0elem.From = f1valf30f0iter.From + } + if f1valf30f0iter.Keys != nil { + f1valf30f0elemf1 := [][]*string{} + for _, f1valf30f0elemf1iter := range f1valf30f0iter.Keys { + f1valf30f0elemf1elem := []*string{} + for _, f1valf30f0elemf1elemiter := range f1valf30f0elemf1iter { + var f1valf30f0elemf1elemelem string + f1valf30f0elemf1elemelem = *f1valf30f0elemf1elemiter + f1valf30f0elemf1elem = append(f1valf30f0elemf1elem, &f1valf30f0elemf1elemelem) } - f1valf28f0elemf1 = append(f1valf28f0elemf1, f1valf28f0elemf1elem) + f1valf30f0elemf1 = append(f1valf30f0elemf1, f1valf30f0elemf1elem) } - f1valf28f0elem.Keys = f1valf28f0elemf1 + f1valf30f0elem.Keys = f1valf30f0elemf1 } - f1valf28f0 = append(f1valf28f0, f1valf28f0elem) + f1valf30f0 = append(f1valf30f0, f1valf30f0elem) } - f1valf28.Columns = f1valf28f0 + f1valf30.Columns = f1valf30f0 } if f1valiter.Join.Inputs != nil { - f1valf28f1 := []*string{} - for _, f1valf28f1iter := range f1valiter.Join.Inputs { - var f1valf28f1elem string - f1valf28f1elem = *f1valf28f1iter - f1valf28f1 = append(f1valf28f1, &f1valf28f1elem) + f1valf30f1 := []*string{} + for _, f1valf30f1iter := range f1valiter.Join.Inputs { + var f1valf30f1elem string + f1valf30f1elem = *f1valf30f1iter + f1valf30f1 = append(f1valf30f1, &f1valf30f1elem) } - f1valf28.Inputs = f1valf28f1 + f1valf30.Inputs = f1valf30f1 } if f1valiter.Join.JoinType != nil { - f1valf28.JoinType = f1valiter.Join.JoinType + f1valf30.JoinType = f1valiter.Join.JoinType } if f1valiter.Join.Name != nil { - f1valf28.Name = f1valiter.Join.Name + f1valf30.Name = f1valiter.Join.Name } - f1val.Join = f1valf28 + f1val.Join = f1valf30 } if f1valiter.Merge != nil { - f1valf29 := &svcapitypes.Merge{} + f1valf31 := &svcapitypes.Merge{} if f1valiter.Merge.Inputs != nil { - f1valf29f0 := []*string{} - for _, f1valf29f0iter := range f1valiter.Merge.Inputs { - var f1valf29f0elem string - f1valf29f0elem = *f1valf29f0iter - f1valf29f0 = append(f1valf29f0, &f1valf29f0elem) + f1valf31f0 := []*string{} + for _, f1valf31f0iter := range f1valiter.Merge.Inputs { + var f1valf31f0elem string + f1valf31f0elem = *f1valf31f0iter + f1valf31f0 = append(f1valf31f0, &f1valf31f0elem) } - f1valf29.Inputs = f1valf29f0 + f1valf31.Inputs = f1valf31f0 } if f1valiter.Merge.Name != nil { - f1valf29.Name = f1valiter.Merge.Name + f1valf31.Name = f1valiter.Merge.Name } if f1valiter.Merge.PrimaryKeys != nil { - f1valf29f2 := [][]*string{} - for _, f1valf29f2iter := range f1valiter.Merge.PrimaryKeys { - f1valf29f2elem := []*string{} - for _, f1valf29f2elemiter := range f1valf29f2iter { - var f1valf29f2elemelem string - f1valf29f2elemelem = *f1valf29f2elemiter - f1valf29f2elem = append(f1valf29f2elem, &f1valf29f2elemelem) + f1valf31f2 := [][]*string{} + for _, f1valf31f2iter := range f1valiter.Merge.PrimaryKeys { + f1valf31f2elem := []*string{} + for _, f1valf31f2elemiter := range f1valf31f2iter { + var f1valf31f2elemelem string + f1valf31f2elemelem = *f1valf31f2elemiter + f1valf31f2elem = append(f1valf31f2elem, &f1valf31f2elemelem) } - f1valf29f2 = append(f1valf29f2, f1valf29f2elem) + f1valf31f2 = append(f1valf31f2, f1valf31f2elem) } - f1valf29.PrimaryKeys = f1valf29f2 + f1valf31.PrimaryKeys = f1valf31f2 } if f1valiter.Merge.Source != nil { - f1valf29.Source = f1valiter.Merge.Source + f1valf31.Source = f1valiter.Merge.Source } - f1val.Merge = f1valf29 + f1val.Merge = f1valf31 } if f1valiter.MicrosoftSQLServerCatalogSource != nil { - f1valf30 := &svcapitypes.MicrosoftSQLServerCatalogSource{} + f1valf32 := &svcapitypes.MicrosoftSQLServerCatalogSource{} if f1valiter.MicrosoftSQLServerCatalogSource.Database != nil { - f1valf30.Database = f1valiter.MicrosoftSQLServerCatalogSource.Database + f1valf32.Database = f1valiter.MicrosoftSQLServerCatalogSource.Database } if f1valiter.MicrosoftSQLServerCatalogSource.Name != nil { - f1valf30.Name = f1valiter.MicrosoftSQLServerCatalogSource.Name + f1valf32.Name = f1valiter.MicrosoftSQLServerCatalogSource.Name } if f1valiter.MicrosoftSQLServerCatalogSource.Table != nil { - f1valf30.Table = f1valiter.MicrosoftSQLServerCatalogSource.Table + f1valf32.Table = f1valiter.MicrosoftSQLServerCatalogSource.Table } - f1val.MicrosoftSQLServerCatalogSource = f1valf30 + f1val.MicrosoftSQLServerCatalogSource = f1valf32 } if f1valiter.MicrosoftSQLServerCatalogTarget != nil { - f1valf31 := &svcapitypes.MicrosoftSQLServerCatalogTarget{} + f1valf33 := &svcapitypes.MicrosoftSQLServerCatalogTarget{} if f1valiter.MicrosoftSQLServerCatalogTarget.Database != nil { - f1valf31.Database = f1valiter.MicrosoftSQLServerCatalogTarget.Database + f1valf33.Database = f1valiter.MicrosoftSQLServerCatalogTarget.Database } if f1valiter.MicrosoftSQLServerCatalogTarget.Inputs != nil { - f1valf31f1 := []*string{} - for _, f1valf31f1iter := range f1valiter.MicrosoftSQLServerCatalogTarget.Inputs { - var f1valf31f1elem string - f1valf31f1elem = *f1valf31f1iter - f1valf31f1 = append(f1valf31f1, &f1valf31f1elem) + f1valf33f1 := []*string{} + for _, f1valf33f1iter := range f1valiter.MicrosoftSQLServerCatalogTarget.Inputs { + var f1valf33f1elem string + f1valf33f1elem = *f1valf33f1iter + f1valf33f1 = append(f1valf33f1, &f1valf33f1elem) } - f1valf31.Inputs = f1valf31f1 + f1valf33.Inputs = f1valf33f1 } if f1valiter.MicrosoftSQLServerCatalogTarget.Name != nil { - f1valf31.Name = f1valiter.MicrosoftSQLServerCatalogTarget.Name + f1valf33.Name = f1valiter.MicrosoftSQLServerCatalogTarget.Name } if f1valiter.MicrosoftSQLServerCatalogTarget.Table != nil { - f1valf31.Table = f1valiter.MicrosoftSQLServerCatalogTarget.Table + f1valf33.Table = f1valiter.MicrosoftSQLServerCatalogTarget.Table } - f1val.MicrosoftSQLServerCatalogTarget = f1valf31 + f1val.MicrosoftSQLServerCatalogTarget = f1valf33 } if f1valiter.MySQLCatalogSource != nil { - f1valf32 := &svcapitypes.MySQLCatalogSource{} + f1valf34 := &svcapitypes.MySQLCatalogSource{} if f1valiter.MySQLCatalogSource.Database != nil { - f1valf32.Database = f1valiter.MySQLCatalogSource.Database + f1valf34.Database = f1valiter.MySQLCatalogSource.Database } if f1valiter.MySQLCatalogSource.Name != nil { - f1valf32.Name = f1valiter.MySQLCatalogSource.Name + f1valf34.Name = f1valiter.MySQLCatalogSource.Name } if f1valiter.MySQLCatalogSource.Table != nil { - f1valf32.Table = f1valiter.MySQLCatalogSource.Table + f1valf34.Table = f1valiter.MySQLCatalogSource.Table } - f1val.MySQLCatalogSource = f1valf32 + f1val.MySQLCatalogSource = f1valf34 } if f1valiter.MySQLCatalogTarget != nil { - f1valf33 := &svcapitypes.MySQLCatalogTarget{} + f1valf35 := &svcapitypes.MySQLCatalogTarget{} if f1valiter.MySQLCatalogTarget.Database != nil { - f1valf33.Database = f1valiter.MySQLCatalogTarget.Database + f1valf35.Database = f1valiter.MySQLCatalogTarget.Database } if f1valiter.MySQLCatalogTarget.Inputs != nil { - f1valf33f1 := []*string{} - for _, f1valf33f1iter := range f1valiter.MySQLCatalogTarget.Inputs { - var f1valf33f1elem string - f1valf33f1elem = *f1valf33f1iter - f1valf33f1 = append(f1valf33f1, &f1valf33f1elem) + f1valf35f1 := []*string{} + for _, f1valf35f1iter := range f1valiter.MySQLCatalogTarget.Inputs { + var f1valf35f1elem string + f1valf35f1elem = *f1valf35f1iter + f1valf35f1 = append(f1valf35f1, &f1valf35f1elem) } - f1valf33.Inputs = f1valf33f1 + f1valf35.Inputs = f1valf35f1 } if f1valiter.MySQLCatalogTarget.Name != nil { - f1valf33.Name = f1valiter.MySQLCatalogTarget.Name + f1valf35.Name = f1valiter.MySQLCatalogTarget.Name } if f1valiter.MySQLCatalogTarget.Table != nil { - f1valf33.Table = f1valiter.MySQLCatalogTarget.Table + f1valf35.Table = f1valiter.MySQLCatalogTarget.Table } - f1val.MySQLCatalogTarget = f1valf33 + f1val.MySQLCatalogTarget = f1valf35 } if f1valiter.OracleSQLCatalogSource != nil { - f1valf34 := &svcapitypes.OracleSQLCatalogSource{} + f1valf36 := &svcapitypes.OracleSQLCatalogSource{} if f1valiter.OracleSQLCatalogSource.Database != nil { - f1valf34.Database = f1valiter.OracleSQLCatalogSource.Database + f1valf36.Database = f1valiter.OracleSQLCatalogSource.Database } if f1valiter.OracleSQLCatalogSource.Name != nil { - f1valf34.Name = f1valiter.OracleSQLCatalogSource.Name + f1valf36.Name = f1valiter.OracleSQLCatalogSource.Name } if f1valiter.OracleSQLCatalogSource.Table != nil { - f1valf34.Table = f1valiter.OracleSQLCatalogSource.Table + f1valf36.Table = f1valiter.OracleSQLCatalogSource.Table } - f1val.OracleSQLCatalogSource = f1valf34 + f1val.OracleSQLCatalogSource = f1valf36 } if f1valiter.OracleSQLCatalogTarget != nil { - f1valf35 := &svcapitypes.OracleSQLCatalogTarget{} + f1valf37 := &svcapitypes.OracleSQLCatalogTarget{} if f1valiter.OracleSQLCatalogTarget.Database != nil { - f1valf35.Database = f1valiter.OracleSQLCatalogTarget.Database + f1valf37.Database = f1valiter.OracleSQLCatalogTarget.Database } if f1valiter.OracleSQLCatalogTarget.Inputs != nil { - f1valf35f1 := []*string{} - for _, f1valf35f1iter := range f1valiter.OracleSQLCatalogTarget.Inputs { - var f1valf35f1elem string - f1valf35f1elem = *f1valf35f1iter - f1valf35f1 = append(f1valf35f1, &f1valf35f1elem) + f1valf37f1 := []*string{} + for _, f1valf37f1iter := range f1valiter.OracleSQLCatalogTarget.Inputs { + var f1valf37f1elem string + f1valf37f1elem = *f1valf37f1iter + f1valf37f1 = append(f1valf37f1, &f1valf37f1elem) } - f1valf35.Inputs = f1valf35f1 + f1valf37.Inputs = f1valf37f1 } if f1valiter.OracleSQLCatalogTarget.Name != nil { - f1valf35.Name = f1valiter.OracleSQLCatalogTarget.Name + f1valf37.Name = f1valiter.OracleSQLCatalogTarget.Name } if f1valiter.OracleSQLCatalogTarget.Table != nil { - f1valf35.Table = f1valiter.OracleSQLCatalogTarget.Table + f1valf37.Table = f1valiter.OracleSQLCatalogTarget.Table } - f1val.OracleSQLCatalogTarget = f1valf35 + f1val.OracleSQLCatalogTarget = f1valf37 } if f1valiter.PIIDetection != nil { - f1valf36 := &svcapitypes.PIIDetection{} + f1valf38 := &svcapitypes.PIIDetection{} if f1valiter.PIIDetection.EntityTypesToDetect != nil { - f1valf36f0 := []*string{} - for _, f1valf36f0iter := range f1valiter.PIIDetection.EntityTypesToDetect { - var f1valf36f0elem string - f1valf36f0elem = *f1valf36f0iter - f1valf36f0 = append(f1valf36f0, &f1valf36f0elem) + f1valf38f0 := []*string{} + for _, f1valf38f0iter := range f1valiter.PIIDetection.EntityTypesToDetect { + var f1valf38f0elem string + f1valf38f0elem = *f1valf38f0iter + f1valf38f0 = append(f1valf38f0, &f1valf38f0elem) } - f1valf36.EntityTypesToDetect = f1valf36f0 + f1valf38.EntityTypesToDetect = f1valf38f0 } if f1valiter.PIIDetection.Inputs != nil { - f1valf36f1 := []*string{} - for _, f1valf36f1iter := range f1valiter.PIIDetection.Inputs { - var f1valf36f1elem string - f1valf36f1elem = *f1valf36f1iter - f1valf36f1 = append(f1valf36f1, &f1valf36f1elem) + f1valf38f1 := []*string{} + for _, f1valf38f1iter := range f1valiter.PIIDetection.Inputs { + var f1valf38f1elem string + f1valf38f1elem = *f1valf38f1iter + f1valf38f1 = append(f1valf38f1, &f1valf38f1elem) } - f1valf36.Inputs = f1valf36f1 + f1valf38.Inputs = f1valf38f1 } if f1valiter.PIIDetection.MaskValue != nil { - f1valf36.MaskValue = f1valiter.PIIDetection.MaskValue + f1valf38.MaskValue = f1valiter.PIIDetection.MaskValue } if f1valiter.PIIDetection.Name != nil { - f1valf36.Name = f1valiter.PIIDetection.Name + f1valf38.Name = f1valiter.PIIDetection.Name } if f1valiter.PIIDetection.OutputColumnName != nil { - f1valf36.OutputColumnName = f1valiter.PIIDetection.OutputColumnName + f1valf38.OutputColumnName = f1valiter.PIIDetection.OutputColumnName } if f1valiter.PIIDetection.PiiType != nil { - f1valf36.PiiType = f1valiter.PIIDetection.PiiType + f1valf38.PiiType = f1valiter.PIIDetection.PiiType } if f1valiter.PIIDetection.SampleFraction != nil { - f1valf36.SampleFraction = f1valiter.PIIDetection.SampleFraction + f1valf38.SampleFraction = f1valiter.PIIDetection.SampleFraction } if f1valiter.PIIDetection.ThresholdFraction != nil { - f1valf36.ThresholdFraction = f1valiter.PIIDetection.ThresholdFraction + f1valf38.ThresholdFraction = f1valiter.PIIDetection.ThresholdFraction } - f1val.PIIDetection = f1valf36 + f1val.PIIDetection = f1valf38 } if f1valiter.PostgreSQLCatalogSource != nil { - f1valf37 := &svcapitypes.PostgreSQLCatalogSource{} + f1valf39 := &svcapitypes.PostgreSQLCatalogSource{} if f1valiter.PostgreSQLCatalogSource.Database != nil { - f1valf37.Database = f1valiter.PostgreSQLCatalogSource.Database + f1valf39.Database = f1valiter.PostgreSQLCatalogSource.Database } if f1valiter.PostgreSQLCatalogSource.Name != nil { - f1valf37.Name = f1valiter.PostgreSQLCatalogSource.Name + f1valf39.Name = f1valiter.PostgreSQLCatalogSource.Name } if f1valiter.PostgreSQLCatalogSource.Table != nil { - f1valf37.Table = f1valiter.PostgreSQLCatalogSource.Table + f1valf39.Table = f1valiter.PostgreSQLCatalogSource.Table } - f1val.PostgreSQLCatalogSource = f1valf37 + f1val.PostgreSQLCatalogSource = f1valf39 } if f1valiter.PostgreSQLCatalogTarget != nil { - f1valf38 := &svcapitypes.PostgreSQLCatalogTarget{} + f1valf40 := &svcapitypes.PostgreSQLCatalogTarget{} if f1valiter.PostgreSQLCatalogTarget.Database != nil { - f1valf38.Database = f1valiter.PostgreSQLCatalogTarget.Database + f1valf40.Database = f1valiter.PostgreSQLCatalogTarget.Database } if f1valiter.PostgreSQLCatalogTarget.Inputs != nil { - f1valf38f1 := []*string{} - for _, f1valf38f1iter := range f1valiter.PostgreSQLCatalogTarget.Inputs { - var f1valf38f1elem string - f1valf38f1elem = *f1valf38f1iter - f1valf38f1 = append(f1valf38f1, &f1valf38f1elem) + f1valf40f1 := []*string{} + for _, f1valf40f1iter := range f1valiter.PostgreSQLCatalogTarget.Inputs { + var f1valf40f1elem string + f1valf40f1elem = *f1valf40f1iter + f1valf40f1 = append(f1valf40f1, &f1valf40f1elem) } - f1valf38.Inputs = f1valf38f1 + f1valf40.Inputs = f1valf40f1 } if f1valiter.PostgreSQLCatalogTarget.Name != nil { - f1valf38.Name = f1valiter.PostgreSQLCatalogTarget.Name + f1valf40.Name = f1valiter.PostgreSQLCatalogTarget.Name } if f1valiter.PostgreSQLCatalogTarget.Table != nil { - f1valf38.Table = f1valiter.PostgreSQLCatalogTarget.Table + f1valf40.Table = f1valiter.PostgreSQLCatalogTarget.Table } - f1val.PostgreSQLCatalogTarget = f1valf38 + f1val.PostgreSQLCatalogTarget = f1valf40 } if f1valiter.Recipe != nil { - f1valf39 := &svcapitypes.Recipe{} + f1valf41 := &svcapitypes.Recipe{} if f1valiter.Recipe.Inputs != nil { - f1valf39f0 := []*string{} - for _, f1valf39f0iter := range f1valiter.Recipe.Inputs { - var f1valf39f0elem string - f1valf39f0elem = *f1valf39f0iter - f1valf39f0 = append(f1valf39f0, &f1valf39f0elem) + f1valf41f0 := []*string{} + for _, f1valf41f0iter := range f1valiter.Recipe.Inputs { + var f1valf41f0elem string + f1valf41f0elem = *f1valf41f0iter + f1valf41f0 = append(f1valf41f0, &f1valf41f0elem) } - f1valf39.Inputs = f1valf39f0 + f1valf41.Inputs = f1valf41f0 } if f1valiter.Recipe.Name != nil { - f1valf39.Name = f1valiter.Recipe.Name + f1valf41.Name = f1valiter.Recipe.Name } if f1valiter.Recipe.RecipeReference != nil { - f1valf39f2 := &svcapitypes.RecipeReference{} + f1valf41f2 := &svcapitypes.RecipeReference{} if f1valiter.Recipe.RecipeReference.RecipeArn != nil { - f1valf39f2.RecipeARN = f1valiter.Recipe.RecipeReference.RecipeArn + f1valf41f2.RecipeARN = f1valiter.Recipe.RecipeReference.RecipeArn } if f1valiter.Recipe.RecipeReference.RecipeVersion != nil { - f1valf39f2.RecipeVersion = f1valiter.Recipe.RecipeReference.RecipeVersion + f1valf41f2.RecipeVersion = f1valiter.Recipe.RecipeReference.RecipeVersion } - f1valf39.RecipeReference = f1valf39f2 + f1valf41.RecipeReference = f1valf41f2 } - f1val.Recipe = f1valf39 + f1val.Recipe = f1valf41 } if f1valiter.RedshiftSource != nil { - f1valf40 := &svcapitypes.RedshiftSource{} + f1valf42 := &svcapitypes.RedshiftSource{} if f1valiter.RedshiftSource.Database != nil { - f1valf40.Database = f1valiter.RedshiftSource.Database + f1valf42.Database = f1valiter.RedshiftSource.Database } if f1valiter.RedshiftSource.Name != nil { - f1valf40.Name = f1valiter.RedshiftSource.Name + f1valf42.Name = f1valiter.RedshiftSource.Name } if f1valiter.RedshiftSource.RedshiftTmpDir != nil { - f1valf40.RedshiftTmpDir = f1valiter.RedshiftSource.RedshiftTmpDir + f1valf42.RedshiftTmpDir = f1valiter.RedshiftSource.RedshiftTmpDir } if f1valiter.RedshiftSource.Table != nil { - f1valf40.Table = f1valiter.RedshiftSource.Table + f1valf42.Table = f1valiter.RedshiftSource.Table } if f1valiter.RedshiftSource.TmpDirIAMRole != nil { - f1valf40.TmpDirIAMRole = f1valiter.RedshiftSource.TmpDirIAMRole + f1valf42.TmpDirIAMRole = f1valiter.RedshiftSource.TmpDirIAMRole } - f1val.RedshiftSource = f1valf40 + f1val.RedshiftSource = f1valf42 } if f1valiter.RedshiftTarget != nil { - f1valf41 := &svcapitypes.RedshiftTarget{} + f1valf43 := &svcapitypes.RedshiftTarget{} if f1valiter.RedshiftTarget.Database != nil { - f1valf41.Database = f1valiter.RedshiftTarget.Database + f1valf43.Database = f1valiter.RedshiftTarget.Database } if f1valiter.RedshiftTarget.Inputs != nil { - f1valf41f1 := []*string{} - for _, f1valf41f1iter := range f1valiter.RedshiftTarget.Inputs { - var f1valf41f1elem string - f1valf41f1elem = *f1valf41f1iter - f1valf41f1 = append(f1valf41f1, &f1valf41f1elem) + f1valf43f1 := []*string{} + for _, f1valf43f1iter := range f1valiter.RedshiftTarget.Inputs { + var f1valf43f1elem string + f1valf43f1elem = *f1valf43f1iter + f1valf43f1 = append(f1valf43f1, &f1valf43f1elem) } - f1valf41.Inputs = f1valf41f1 + f1valf43.Inputs = f1valf43f1 } if f1valiter.RedshiftTarget.Name != nil { - f1valf41.Name = f1valiter.RedshiftTarget.Name + f1valf43.Name = f1valiter.RedshiftTarget.Name } if f1valiter.RedshiftTarget.RedshiftTmpDir != nil { - f1valf41.RedshiftTmpDir = f1valiter.RedshiftTarget.RedshiftTmpDir + f1valf43.RedshiftTmpDir = f1valiter.RedshiftTarget.RedshiftTmpDir } if f1valiter.RedshiftTarget.Table != nil { - f1valf41.Table = f1valiter.RedshiftTarget.Table + f1valf43.Table = f1valiter.RedshiftTarget.Table } if f1valiter.RedshiftTarget.TmpDirIAMRole != nil { - f1valf41.TmpDirIAMRole = f1valiter.RedshiftTarget.TmpDirIAMRole + f1valf43.TmpDirIAMRole = f1valiter.RedshiftTarget.TmpDirIAMRole } if f1valiter.RedshiftTarget.UpsertRedshiftOptions != nil { - f1valf41f6 := &svcapitypes.UpsertRedshiftTargetOptions{} + f1valf43f6 := &svcapitypes.UpsertRedshiftTargetOptions{} if f1valiter.RedshiftTarget.UpsertRedshiftOptions.ConnectionName != nil { - f1valf41f6.ConnectionName = f1valiter.RedshiftTarget.UpsertRedshiftOptions.ConnectionName + f1valf43f6.ConnectionName = f1valiter.RedshiftTarget.UpsertRedshiftOptions.ConnectionName } if f1valiter.RedshiftTarget.UpsertRedshiftOptions.TableLocation != nil { - f1valf41f6.TableLocation = f1valiter.RedshiftTarget.UpsertRedshiftOptions.TableLocation + f1valf43f6.TableLocation = f1valiter.RedshiftTarget.UpsertRedshiftOptions.TableLocation } if f1valiter.RedshiftTarget.UpsertRedshiftOptions.UpsertKeys != nil { - f1valf41f6f2 := []*string{} - for _, f1valf41f6f2iter := range f1valiter.RedshiftTarget.UpsertRedshiftOptions.UpsertKeys { - var f1valf41f6f2elem string - f1valf41f6f2elem = *f1valf41f6f2iter - f1valf41f6f2 = append(f1valf41f6f2, &f1valf41f6f2elem) + f1valf43f6f2 := []*string{} + for _, f1valf43f6f2iter := range f1valiter.RedshiftTarget.UpsertRedshiftOptions.UpsertKeys { + var f1valf43f6f2elem string + f1valf43f6f2elem = *f1valf43f6f2iter + f1valf43f6f2 = append(f1valf43f6f2, &f1valf43f6f2elem) } - f1valf41f6.UpsertKeys = f1valf41f6f2 + f1valf43f6.UpsertKeys = f1valf43f6f2 } - f1valf41.UpsertRedshiftOptions = f1valf41f6 + f1valf43.UpsertRedshiftOptions = f1valf43f6 } - f1val.RedshiftTarget = f1valf41 + f1val.RedshiftTarget = f1valf43 } if f1valiter.RelationalCatalogSource != nil { - f1valf42 := &svcapitypes.RelationalCatalogSource{} + f1valf44 := &svcapitypes.RelationalCatalogSource{} if f1valiter.RelationalCatalogSource.Database != nil { - f1valf42.Database = f1valiter.RelationalCatalogSource.Database + f1valf44.Database = f1valiter.RelationalCatalogSource.Database } if f1valiter.RelationalCatalogSource.Name != nil { - f1valf42.Name = f1valiter.RelationalCatalogSource.Name + f1valf44.Name = f1valiter.RelationalCatalogSource.Name } if f1valiter.RelationalCatalogSource.Table != nil { - f1valf42.Table = f1valiter.RelationalCatalogSource.Table + f1valf44.Table = f1valiter.RelationalCatalogSource.Table } - f1val.RelationalCatalogSource = f1valf42 + f1val.RelationalCatalogSource = f1valf44 } if f1valiter.RenameField != nil { - f1valf43 := &svcapitypes.RenameField{} + f1valf45 := &svcapitypes.RenameField{} if f1valiter.RenameField.Inputs != nil { - f1valf43f0 := []*string{} - for _, f1valf43f0iter := range f1valiter.RenameField.Inputs { - var f1valf43f0elem string - f1valf43f0elem = *f1valf43f0iter - f1valf43f0 = append(f1valf43f0, &f1valf43f0elem) + f1valf45f0 := []*string{} + for _, f1valf45f0iter := range f1valiter.RenameField.Inputs { + var f1valf45f0elem string + f1valf45f0elem = *f1valf45f0iter + f1valf45f0 = append(f1valf45f0, &f1valf45f0elem) } - f1valf43.Inputs = f1valf43f0 + f1valf45.Inputs = f1valf45f0 } if f1valiter.RenameField.Name != nil { - f1valf43.Name = f1valiter.RenameField.Name + f1valf45.Name = f1valiter.RenameField.Name } if f1valiter.RenameField.SourcePath != nil { - f1valf43f2 := []*string{} - for _, f1valf43f2iter := range f1valiter.RenameField.SourcePath { - var f1valf43f2elem string - f1valf43f2elem = *f1valf43f2iter - f1valf43f2 = append(f1valf43f2, &f1valf43f2elem) + f1valf45f2 := []*string{} + for _, f1valf45f2iter := range f1valiter.RenameField.SourcePath { + var f1valf45f2elem string + f1valf45f2elem = *f1valf45f2iter + f1valf45f2 = append(f1valf45f2, &f1valf45f2elem) } - f1valf43.SourcePath = f1valf43f2 + f1valf45.SourcePath = f1valf45f2 } if f1valiter.RenameField.TargetPath != nil { - f1valf43f3 := []*string{} - for _, f1valf43f3iter := range f1valiter.RenameField.TargetPath { - var f1valf43f3elem string - f1valf43f3elem = *f1valf43f3iter - f1valf43f3 = append(f1valf43f3, &f1valf43f3elem) + f1valf45f3 := []*string{} + for _, f1valf45f3iter := range f1valiter.RenameField.TargetPath { + var f1valf45f3elem string + f1valf45f3elem = *f1valf45f3iter + f1valf45f3 = append(f1valf45f3, &f1valf45f3elem) } - f1valf43.TargetPath = f1valf43f3 + f1valf45.TargetPath = f1valf45f3 } - f1val.RenameField = f1valf43 + f1val.RenameField = f1valf45 } if f1valiter.S3CatalogDeltaSource != nil { - f1valf44 := &svcapitypes.S3CatalogDeltaSource{} + f1valf46 := &svcapitypes.S3CatalogDeltaSource{} if f1valiter.S3CatalogDeltaSource.AdditionalDeltaOptions != nil { - f1valf44f0 := map[string]*string{} - for f1valf44f0key, f1valf44f0valiter := range f1valiter.S3CatalogDeltaSource.AdditionalDeltaOptions { - var f1valf44f0val string - f1valf44f0val = *f1valf44f0valiter - f1valf44f0[f1valf44f0key] = &f1valf44f0val + f1valf46f0 := map[string]*string{} + for f1valf46f0key, f1valf46f0valiter := range f1valiter.S3CatalogDeltaSource.AdditionalDeltaOptions { + var f1valf46f0val string + f1valf46f0val = *f1valf46f0valiter + f1valf46f0[f1valf46f0key] = &f1valf46f0val } - f1valf44.AdditionalDeltaOptions = f1valf44f0 + f1valf46.AdditionalDeltaOptions = f1valf46f0 } if f1valiter.S3CatalogDeltaSource.Database != nil { - f1valf44.Database = f1valiter.S3CatalogDeltaSource.Database + f1valf46.Database = f1valiter.S3CatalogDeltaSource.Database } if f1valiter.S3CatalogDeltaSource.Name != nil { - f1valf44.Name = f1valiter.S3CatalogDeltaSource.Name + f1valf46.Name = f1valiter.S3CatalogDeltaSource.Name } if f1valiter.S3CatalogDeltaSource.OutputSchemas != nil { - f1valf44f3 := []*svcapitypes.GlueSchema{} - for _, f1valf44f3iter := range f1valiter.S3CatalogDeltaSource.OutputSchemas { - f1valf44f3elem := &svcapitypes.GlueSchema{} - if f1valf44f3iter.Columns != nil { - f1valf44f3elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} - for _, f1valf44f3elemf0iter := range f1valf44f3iter.Columns { - f1valf44f3elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} - if f1valf44f3elemf0iter.Name != nil { - f1valf44f3elemf0elem.Name = f1valf44f3elemf0iter.Name + f1valf46f3 := []*svcapitypes.GlueSchema{} + for _, f1valf46f3iter := range f1valiter.S3CatalogDeltaSource.OutputSchemas { + f1valf46f3elem := &svcapitypes.GlueSchema{} + if f1valf46f3iter.Columns != nil { + f1valf46f3elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} + for _, f1valf46f3elemf0iter := range f1valf46f3iter.Columns { + f1valf46f3elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} + if f1valf46f3elemf0iter.Name != nil { + f1valf46f3elemf0elem.Name = f1valf46f3elemf0iter.Name } - if f1valf44f3elemf0iter.Type != nil { - f1valf44f3elemf0elem.Type = f1valf44f3elemf0iter.Type + if f1valf46f3elemf0iter.Type != nil { + f1valf46f3elemf0elem.Type = f1valf46f3elemf0iter.Type } - f1valf44f3elemf0 = append(f1valf44f3elemf0, f1valf44f3elemf0elem) + f1valf46f3elemf0 = append(f1valf46f3elemf0, f1valf46f3elemf0elem) } - f1valf44f3elem.Columns = f1valf44f3elemf0 + f1valf46f3elem.Columns = f1valf46f3elemf0 } - f1valf44f3 = append(f1valf44f3, f1valf44f3elem) + f1valf46f3 = append(f1valf46f3, f1valf46f3elem) } - f1valf44.OutputSchemas = f1valf44f3 + f1valf46.OutputSchemas = f1valf46f3 } if f1valiter.S3CatalogDeltaSource.Table != nil { - f1valf44.Table = f1valiter.S3CatalogDeltaSource.Table + f1valf46.Table = f1valiter.S3CatalogDeltaSource.Table } - f1val.S3CatalogDeltaSource = f1valf44 + f1val.S3CatalogDeltaSource = f1valf46 } if f1valiter.S3CatalogHudiSource != nil { - f1valf45 := &svcapitypes.S3CatalogHudiSource{} + f1valf47 := &svcapitypes.S3CatalogHudiSource{} if f1valiter.S3CatalogHudiSource.AdditionalHudiOptions != nil { - f1valf45f0 := map[string]*string{} - for f1valf45f0key, f1valf45f0valiter := range f1valiter.S3CatalogHudiSource.AdditionalHudiOptions { - var f1valf45f0val string - f1valf45f0val = *f1valf45f0valiter - f1valf45f0[f1valf45f0key] = &f1valf45f0val + f1valf47f0 := map[string]*string{} + for f1valf47f0key, f1valf47f0valiter := range f1valiter.S3CatalogHudiSource.AdditionalHudiOptions { + var f1valf47f0val string + f1valf47f0val = *f1valf47f0valiter + f1valf47f0[f1valf47f0key] = &f1valf47f0val } - f1valf45.AdditionalHudiOptions = f1valf45f0 + f1valf47.AdditionalHudiOptions = f1valf47f0 } if f1valiter.S3CatalogHudiSource.Database != nil { - f1valf45.Database = f1valiter.S3CatalogHudiSource.Database + f1valf47.Database = f1valiter.S3CatalogHudiSource.Database } if f1valiter.S3CatalogHudiSource.Name != nil { - f1valf45.Name = f1valiter.S3CatalogHudiSource.Name + f1valf47.Name = f1valiter.S3CatalogHudiSource.Name } if f1valiter.S3CatalogHudiSource.OutputSchemas != nil { - f1valf45f3 := []*svcapitypes.GlueSchema{} - for _, f1valf45f3iter := range f1valiter.S3CatalogHudiSource.OutputSchemas { - f1valf45f3elem := &svcapitypes.GlueSchema{} - if f1valf45f3iter.Columns != nil { - f1valf45f3elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} - for _, f1valf45f3elemf0iter := range f1valf45f3iter.Columns { - f1valf45f3elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} - if f1valf45f3elemf0iter.Name != nil { - f1valf45f3elemf0elem.Name = f1valf45f3elemf0iter.Name + f1valf47f3 := []*svcapitypes.GlueSchema{} + for _, f1valf47f3iter := range f1valiter.S3CatalogHudiSource.OutputSchemas { + f1valf47f3elem := &svcapitypes.GlueSchema{} + if f1valf47f3iter.Columns != nil { + f1valf47f3elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} + for _, f1valf47f3elemf0iter := range f1valf47f3iter.Columns { + f1valf47f3elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} + if f1valf47f3elemf0iter.Name != nil { + f1valf47f3elemf0elem.Name = f1valf47f3elemf0iter.Name } - if f1valf45f3elemf0iter.Type != nil { - f1valf45f3elemf0elem.Type = f1valf45f3elemf0iter.Type + if f1valf47f3elemf0iter.Type != nil { + f1valf47f3elemf0elem.Type = f1valf47f3elemf0iter.Type } - f1valf45f3elemf0 = append(f1valf45f3elemf0, f1valf45f3elemf0elem) + f1valf47f3elemf0 = append(f1valf47f3elemf0, f1valf47f3elemf0elem) } - f1valf45f3elem.Columns = f1valf45f3elemf0 + f1valf47f3elem.Columns = f1valf47f3elemf0 } - f1valf45f3 = append(f1valf45f3, f1valf45f3elem) + f1valf47f3 = append(f1valf47f3, f1valf47f3elem) } - f1valf45.OutputSchemas = f1valf45f3 + f1valf47.OutputSchemas = f1valf47f3 } if f1valiter.S3CatalogHudiSource.Table != nil { - f1valf45.Table = f1valiter.S3CatalogHudiSource.Table + f1valf47.Table = f1valiter.S3CatalogHudiSource.Table } - f1val.S3CatalogHudiSource = f1valf45 + f1val.S3CatalogHudiSource = f1valf47 } if f1valiter.S3CatalogSource != nil { - f1valf46 := &svcapitypes.S3CatalogSource{} + f1valf48 := &svcapitypes.S3CatalogSource{} if f1valiter.S3CatalogSource.AdditionalOptions != nil { - f1valf46f0 := &svcapitypes.S3SourceAdditionalOptions{} + f1valf48f0 := &svcapitypes.S3SourceAdditionalOptions{} if f1valiter.S3CatalogSource.AdditionalOptions.BoundedFiles != nil { - f1valf46f0.BoundedFiles = f1valiter.S3CatalogSource.AdditionalOptions.BoundedFiles + f1valf48f0.BoundedFiles = f1valiter.S3CatalogSource.AdditionalOptions.BoundedFiles } if f1valiter.S3CatalogSource.AdditionalOptions.BoundedSize != nil { - f1valf46f0.BoundedSize = f1valiter.S3CatalogSource.AdditionalOptions.BoundedSize + f1valf48f0.BoundedSize = f1valiter.S3CatalogSource.AdditionalOptions.BoundedSize } - f1valf46.AdditionalOptions = f1valf46f0 + f1valf48.AdditionalOptions = f1valf48f0 } if f1valiter.S3CatalogSource.Database != nil { - f1valf46.Database = f1valiter.S3CatalogSource.Database + f1valf48.Database = f1valiter.S3CatalogSource.Database } if f1valiter.S3CatalogSource.Name != nil { - f1valf46.Name = f1valiter.S3CatalogSource.Name + f1valf48.Name = f1valiter.S3CatalogSource.Name } if f1valiter.S3CatalogSource.PartitionPredicate != nil { - f1valf46.PartitionPredicate = f1valiter.S3CatalogSource.PartitionPredicate + f1valf48.PartitionPredicate = f1valiter.S3CatalogSource.PartitionPredicate } if f1valiter.S3CatalogSource.Table != nil { - f1valf46.Table = f1valiter.S3CatalogSource.Table + f1valf48.Table = f1valiter.S3CatalogSource.Table } - f1val.S3CatalogSource = f1valf46 + f1val.S3CatalogSource = f1valf48 } if f1valiter.S3CatalogTarget != nil { - f1valf47 := &svcapitypes.S3CatalogTarget{} + f1valf49 := &svcapitypes.S3CatalogTarget{} if f1valiter.S3CatalogTarget.Database != nil { - f1valf47.Database = f1valiter.S3CatalogTarget.Database + f1valf49.Database = f1valiter.S3CatalogTarget.Database } if f1valiter.S3CatalogTarget.Inputs != nil { - f1valf47f1 := []*string{} - for _, f1valf47f1iter := range f1valiter.S3CatalogTarget.Inputs { - var f1valf47f1elem string - f1valf47f1elem = *f1valf47f1iter - f1valf47f1 = append(f1valf47f1, &f1valf47f1elem) + f1valf49f1 := []*string{} + for _, f1valf49f1iter := range f1valiter.S3CatalogTarget.Inputs { + var f1valf49f1elem string + f1valf49f1elem = *f1valf49f1iter + f1valf49f1 = append(f1valf49f1, &f1valf49f1elem) } - f1valf47.Inputs = f1valf47f1 + f1valf49.Inputs = f1valf49f1 } if f1valiter.S3CatalogTarget.Name != nil { - f1valf47.Name = f1valiter.S3CatalogTarget.Name + f1valf49.Name = f1valiter.S3CatalogTarget.Name } if f1valiter.S3CatalogTarget.PartitionKeys != nil { - f1valf47f3 := [][]*string{} - for _, f1valf47f3iter := range f1valiter.S3CatalogTarget.PartitionKeys { - f1valf47f3elem := []*string{} - for _, f1valf47f3elemiter := range f1valf47f3iter { - var f1valf47f3elemelem string - f1valf47f3elemelem = *f1valf47f3elemiter - f1valf47f3elem = append(f1valf47f3elem, &f1valf47f3elemelem) + f1valf49f3 := [][]*string{} + for _, f1valf49f3iter := range f1valiter.S3CatalogTarget.PartitionKeys { + f1valf49f3elem := []*string{} + for _, f1valf49f3elemiter := range f1valf49f3iter { + var f1valf49f3elemelem string + f1valf49f3elemelem = *f1valf49f3elemiter + f1valf49f3elem = append(f1valf49f3elem, &f1valf49f3elemelem) } - f1valf47f3 = append(f1valf47f3, f1valf47f3elem) + f1valf49f3 = append(f1valf49f3, f1valf49f3elem) } - f1valf47.PartitionKeys = f1valf47f3 + f1valf49.PartitionKeys = f1valf49f3 } if f1valiter.S3CatalogTarget.SchemaChangePolicy != nil { - f1valf47f4 := &svcapitypes.CatalogSchemaChangePolicy{} + f1valf49f4 := &svcapitypes.CatalogSchemaChangePolicy{} if f1valiter.S3CatalogTarget.SchemaChangePolicy.EnableUpdateCatalog != nil { - f1valf47f4.EnableUpdateCatalog = f1valiter.S3CatalogTarget.SchemaChangePolicy.EnableUpdateCatalog + f1valf49f4.EnableUpdateCatalog = f1valiter.S3CatalogTarget.SchemaChangePolicy.EnableUpdateCatalog } if f1valiter.S3CatalogTarget.SchemaChangePolicy.UpdateBehavior != nil { - f1valf47f4.UpdateBehavior = f1valiter.S3CatalogTarget.SchemaChangePolicy.UpdateBehavior + f1valf49f4.UpdateBehavior = f1valiter.S3CatalogTarget.SchemaChangePolicy.UpdateBehavior } - f1valf47.SchemaChangePolicy = f1valf47f4 + f1valf49.SchemaChangePolicy = f1valf49f4 } if f1valiter.S3CatalogTarget.Table != nil { - f1valf47.Table = f1valiter.S3CatalogTarget.Table + f1valf49.Table = f1valiter.S3CatalogTarget.Table } - f1val.S3CatalogTarget = f1valf47 + f1val.S3CatalogTarget = f1valf49 } if f1valiter.S3CsvSource != nil { - f1valf48 := &svcapitypes.S3CsvSource{} + f1valf50 := &svcapitypes.S3CsvSource{} if f1valiter.S3CsvSource.AdditionalOptions != nil { - f1valf48f0 := &svcapitypes.S3DirectSourceAdditionalOptions{} + f1valf50f0 := &svcapitypes.S3DirectSourceAdditionalOptions{} if f1valiter.S3CsvSource.AdditionalOptions.BoundedFiles != nil { - f1valf48f0.BoundedFiles = f1valiter.S3CsvSource.AdditionalOptions.BoundedFiles + f1valf50f0.BoundedFiles = f1valiter.S3CsvSource.AdditionalOptions.BoundedFiles } if f1valiter.S3CsvSource.AdditionalOptions.BoundedSize != nil { - f1valf48f0.BoundedSize = f1valiter.S3CsvSource.AdditionalOptions.BoundedSize + f1valf50f0.BoundedSize = f1valiter.S3CsvSource.AdditionalOptions.BoundedSize } if f1valiter.S3CsvSource.AdditionalOptions.EnableSamplePath != nil { - f1valf48f0.EnableSamplePath = f1valiter.S3CsvSource.AdditionalOptions.EnableSamplePath + f1valf50f0.EnableSamplePath = f1valiter.S3CsvSource.AdditionalOptions.EnableSamplePath } if f1valiter.S3CsvSource.AdditionalOptions.SamplePath != nil { - f1valf48f0.SamplePath = f1valiter.S3CsvSource.AdditionalOptions.SamplePath + f1valf50f0.SamplePath = f1valiter.S3CsvSource.AdditionalOptions.SamplePath } - f1valf48.AdditionalOptions = f1valf48f0 + f1valf50.AdditionalOptions = f1valf50f0 } if f1valiter.S3CsvSource.CompressionType != nil { - f1valf48.CompressionType = f1valiter.S3CsvSource.CompressionType + f1valf50.CompressionType = f1valiter.S3CsvSource.CompressionType } if f1valiter.S3CsvSource.Escaper != nil { - f1valf48.Escaper = f1valiter.S3CsvSource.Escaper + f1valf50.Escaper = f1valiter.S3CsvSource.Escaper } if f1valiter.S3CsvSource.Exclusions != nil { - f1valf48f3 := []*string{} - for _, f1valf48f3iter := range f1valiter.S3CsvSource.Exclusions { - var f1valf48f3elem string - f1valf48f3elem = *f1valf48f3iter - f1valf48f3 = append(f1valf48f3, &f1valf48f3elem) + f1valf50f3 := []*string{} + for _, f1valf50f3iter := range f1valiter.S3CsvSource.Exclusions { + var f1valf50f3elem string + f1valf50f3elem = *f1valf50f3iter + f1valf50f3 = append(f1valf50f3, &f1valf50f3elem) } - f1valf48.Exclusions = f1valf48f3 + f1valf50.Exclusions = f1valf50f3 } if f1valiter.S3CsvSource.GroupFiles != nil { - f1valf48.GroupFiles = f1valiter.S3CsvSource.GroupFiles + f1valf50.GroupFiles = f1valiter.S3CsvSource.GroupFiles } if f1valiter.S3CsvSource.GroupSize != nil { - f1valf48.GroupSize = f1valiter.S3CsvSource.GroupSize + f1valf50.GroupSize = f1valiter.S3CsvSource.GroupSize } if f1valiter.S3CsvSource.MaxBand != nil { - f1valf48.MaxBand = f1valiter.S3CsvSource.MaxBand + f1valf50.MaxBand = f1valiter.S3CsvSource.MaxBand } if f1valiter.S3CsvSource.MaxFilesInBand != nil { - f1valf48.MaxFilesInBand = f1valiter.S3CsvSource.MaxFilesInBand + f1valf50.MaxFilesInBand = f1valiter.S3CsvSource.MaxFilesInBand } if f1valiter.S3CsvSource.Multiline != nil { - f1valf48.Multiline = f1valiter.S3CsvSource.Multiline + f1valf50.Multiline = f1valiter.S3CsvSource.Multiline } if f1valiter.S3CsvSource.Name != nil { - f1valf48.Name = f1valiter.S3CsvSource.Name + f1valf50.Name = f1valiter.S3CsvSource.Name } if f1valiter.S3CsvSource.OptimizePerformance != nil { - f1valf48.OptimizePerformance = f1valiter.S3CsvSource.OptimizePerformance + f1valf50.OptimizePerformance = f1valiter.S3CsvSource.OptimizePerformance } if f1valiter.S3CsvSource.OutputSchemas != nil { - f1valf48f11 := []*svcapitypes.GlueSchema{} - for _, f1valf48f11iter := range f1valiter.S3CsvSource.OutputSchemas { - f1valf48f11elem := &svcapitypes.GlueSchema{} - if f1valf48f11iter.Columns != nil { - f1valf48f11elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} - for _, f1valf48f11elemf0iter := range f1valf48f11iter.Columns { - f1valf48f11elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} - if f1valf48f11elemf0iter.Name != nil { - f1valf48f11elemf0elem.Name = f1valf48f11elemf0iter.Name + f1valf50f11 := []*svcapitypes.GlueSchema{} + for _, f1valf50f11iter := range f1valiter.S3CsvSource.OutputSchemas { + f1valf50f11elem := &svcapitypes.GlueSchema{} + if f1valf50f11iter.Columns != nil { + f1valf50f11elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} + for _, f1valf50f11elemf0iter := range f1valf50f11iter.Columns { + f1valf50f11elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} + if f1valf50f11elemf0iter.Name != nil { + f1valf50f11elemf0elem.Name = f1valf50f11elemf0iter.Name } - if f1valf48f11elemf0iter.Type != nil { - f1valf48f11elemf0elem.Type = f1valf48f11elemf0iter.Type + if f1valf50f11elemf0iter.Type != nil { + f1valf50f11elemf0elem.Type = f1valf50f11elemf0iter.Type } - f1valf48f11elemf0 = append(f1valf48f11elemf0, f1valf48f11elemf0elem) + f1valf50f11elemf0 = append(f1valf50f11elemf0, f1valf50f11elemf0elem) } - f1valf48f11elem.Columns = f1valf48f11elemf0 + f1valf50f11elem.Columns = f1valf50f11elemf0 } - f1valf48f11 = append(f1valf48f11, f1valf48f11elem) + f1valf50f11 = append(f1valf50f11, f1valf50f11elem) } - f1valf48.OutputSchemas = f1valf48f11 + f1valf50.OutputSchemas = f1valf50f11 } if f1valiter.S3CsvSource.Paths != nil { - f1valf48f12 := []*string{} - for _, f1valf48f12iter := range f1valiter.S3CsvSource.Paths { - var f1valf48f12elem string - f1valf48f12elem = *f1valf48f12iter - f1valf48f12 = append(f1valf48f12, &f1valf48f12elem) + f1valf50f12 := []*string{} + for _, f1valf50f12iter := range f1valiter.S3CsvSource.Paths { + var f1valf50f12elem string + f1valf50f12elem = *f1valf50f12iter + f1valf50f12 = append(f1valf50f12, &f1valf50f12elem) } - f1valf48.Paths = f1valf48f12 + f1valf50.Paths = f1valf50f12 } if f1valiter.S3CsvSource.QuoteChar != nil { - f1valf48.QuoteChar = f1valiter.S3CsvSource.QuoteChar + f1valf50.QuoteChar = f1valiter.S3CsvSource.QuoteChar } if f1valiter.S3CsvSource.Recurse != nil { - f1valf48.Recurse = f1valiter.S3CsvSource.Recurse + f1valf50.Recurse = f1valiter.S3CsvSource.Recurse } if f1valiter.S3CsvSource.Separator != nil { - f1valf48.Separator = f1valiter.S3CsvSource.Separator + f1valf50.Separator = f1valiter.S3CsvSource.Separator } if f1valiter.S3CsvSource.SkipFirst != nil { - f1valf48.SkipFirst = f1valiter.S3CsvSource.SkipFirst + f1valf50.SkipFirst = f1valiter.S3CsvSource.SkipFirst } if f1valiter.S3CsvSource.WithHeader != nil { - f1valf48.WithHeader = f1valiter.S3CsvSource.WithHeader + f1valf50.WithHeader = f1valiter.S3CsvSource.WithHeader } if f1valiter.S3CsvSource.WriteHeader != nil { - f1valf48.WriteHeader = f1valiter.S3CsvSource.WriteHeader + f1valf50.WriteHeader = f1valiter.S3CsvSource.WriteHeader } - f1val.S3CsvSource = f1valf48 + f1val.S3CsvSource = f1valf50 } if f1valiter.S3DeltaCatalogTarget != nil { - f1valf49 := &svcapitypes.S3DeltaCatalogTarget{} + f1valf51 := &svcapitypes.S3DeltaCatalogTarget{} if f1valiter.S3DeltaCatalogTarget.AdditionalOptions != nil { - f1valf49f0 := map[string]*string{} - for f1valf49f0key, f1valf49f0valiter := range f1valiter.S3DeltaCatalogTarget.AdditionalOptions { - var f1valf49f0val string - f1valf49f0val = *f1valf49f0valiter - f1valf49f0[f1valf49f0key] = &f1valf49f0val + f1valf51f0 := map[string]*string{} + for f1valf51f0key, f1valf51f0valiter := range f1valiter.S3DeltaCatalogTarget.AdditionalOptions { + var f1valf51f0val string + f1valf51f0val = *f1valf51f0valiter + f1valf51f0[f1valf51f0key] = &f1valf51f0val } - f1valf49.AdditionalOptions = f1valf49f0 + f1valf51.AdditionalOptions = f1valf51f0 } if f1valiter.S3DeltaCatalogTarget.Database != nil { - f1valf49.Database = f1valiter.S3DeltaCatalogTarget.Database + f1valf51.Database = f1valiter.S3DeltaCatalogTarget.Database } if f1valiter.S3DeltaCatalogTarget.Inputs != nil { - f1valf49f2 := []*string{} - for _, f1valf49f2iter := range f1valiter.S3DeltaCatalogTarget.Inputs { - var f1valf49f2elem string - f1valf49f2elem = *f1valf49f2iter - f1valf49f2 = append(f1valf49f2, &f1valf49f2elem) + f1valf51f2 := []*string{} + for _, f1valf51f2iter := range f1valiter.S3DeltaCatalogTarget.Inputs { + var f1valf51f2elem string + f1valf51f2elem = *f1valf51f2iter + f1valf51f2 = append(f1valf51f2, &f1valf51f2elem) } - f1valf49.Inputs = f1valf49f2 + f1valf51.Inputs = f1valf51f2 } if f1valiter.S3DeltaCatalogTarget.Name != nil { - f1valf49.Name = f1valiter.S3DeltaCatalogTarget.Name + f1valf51.Name = f1valiter.S3DeltaCatalogTarget.Name } if f1valiter.S3DeltaCatalogTarget.PartitionKeys != nil { - f1valf49f4 := [][]*string{} - for _, f1valf49f4iter := range f1valiter.S3DeltaCatalogTarget.PartitionKeys { - f1valf49f4elem := []*string{} - for _, f1valf49f4elemiter := range f1valf49f4iter { - var f1valf49f4elemelem string - f1valf49f4elemelem = *f1valf49f4elemiter - f1valf49f4elem = append(f1valf49f4elem, &f1valf49f4elemelem) + f1valf51f4 := [][]*string{} + for _, f1valf51f4iter := range f1valiter.S3DeltaCatalogTarget.PartitionKeys { + f1valf51f4elem := []*string{} + for _, f1valf51f4elemiter := range f1valf51f4iter { + var f1valf51f4elemelem string + f1valf51f4elemelem = *f1valf51f4elemiter + f1valf51f4elem = append(f1valf51f4elem, &f1valf51f4elemelem) } - f1valf49f4 = append(f1valf49f4, f1valf49f4elem) + f1valf51f4 = append(f1valf51f4, f1valf51f4elem) } - f1valf49.PartitionKeys = f1valf49f4 + f1valf51.PartitionKeys = f1valf51f4 } if f1valiter.S3DeltaCatalogTarget.SchemaChangePolicy != nil { - f1valf49f5 := &svcapitypes.CatalogSchemaChangePolicy{} + f1valf51f5 := &svcapitypes.CatalogSchemaChangePolicy{} if f1valiter.S3DeltaCatalogTarget.SchemaChangePolicy.EnableUpdateCatalog != nil { - f1valf49f5.EnableUpdateCatalog = f1valiter.S3DeltaCatalogTarget.SchemaChangePolicy.EnableUpdateCatalog + f1valf51f5.EnableUpdateCatalog = f1valiter.S3DeltaCatalogTarget.SchemaChangePolicy.EnableUpdateCatalog } if f1valiter.S3DeltaCatalogTarget.SchemaChangePolicy.UpdateBehavior != nil { - f1valf49f5.UpdateBehavior = f1valiter.S3DeltaCatalogTarget.SchemaChangePolicy.UpdateBehavior + f1valf51f5.UpdateBehavior = f1valiter.S3DeltaCatalogTarget.SchemaChangePolicy.UpdateBehavior } - f1valf49.SchemaChangePolicy = f1valf49f5 + f1valf51.SchemaChangePolicy = f1valf51f5 } if f1valiter.S3DeltaCatalogTarget.Table != nil { - f1valf49.Table = f1valiter.S3DeltaCatalogTarget.Table + f1valf51.Table = f1valiter.S3DeltaCatalogTarget.Table } - f1val.S3DeltaCatalogTarget = f1valf49 + f1val.S3DeltaCatalogTarget = f1valf51 } if f1valiter.S3DeltaDirectTarget != nil { - f1valf50 := &svcapitypes.S3DeltaDirectTarget{} + f1valf52 := &svcapitypes.S3DeltaDirectTarget{} if f1valiter.S3DeltaDirectTarget.AdditionalOptions != nil { - f1valf50f0 := map[string]*string{} - for f1valf50f0key, f1valf50f0valiter := range f1valiter.S3DeltaDirectTarget.AdditionalOptions { - var f1valf50f0val string - f1valf50f0val = *f1valf50f0valiter - f1valf50f0[f1valf50f0key] = &f1valf50f0val + f1valf52f0 := map[string]*string{} + for f1valf52f0key, f1valf52f0valiter := range f1valiter.S3DeltaDirectTarget.AdditionalOptions { + var f1valf52f0val string + f1valf52f0val = *f1valf52f0valiter + f1valf52f0[f1valf52f0key] = &f1valf52f0val } - f1valf50.AdditionalOptions = f1valf50f0 + f1valf52.AdditionalOptions = f1valf52f0 } if f1valiter.S3DeltaDirectTarget.Compression != nil { - f1valf50.Compression = f1valiter.S3DeltaDirectTarget.Compression + f1valf52.Compression = f1valiter.S3DeltaDirectTarget.Compression } if f1valiter.S3DeltaDirectTarget.Format != nil { - f1valf50.Format = f1valiter.S3DeltaDirectTarget.Format + f1valf52.Format = f1valiter.S3DeltaDirectTarget.Format } if f1valiter.S3DeltaDirectTarget.Inputs != nil { - f1valf50f3 := []*string{} - for _, f1valf50f3iter := range f1valiter.S3DeltaDirectTarget.Inputs { - var f1valf50f3elem string - f1valf50f3elem = *f1valf50f3iter - f1valf50f3 = append(f1valf50f3, &f1valf50f3elem) + f1valf52f3 := []*string{} + for _, f1valf52f3iter := range f1valiter.S3DeltaDirectTarget.Inputs { + var f1valf52f3elem string + f1valf52f3elem = *f1valf52f3iter + f1valf52f3 = append(f1valf52f3, &f1valf52f3elem) } - f1valf50.Inputs = f1valf50f3 + f1valf52.Inputs = f1valf52f3 } if f1valiter.S3DeltaDirectTarget.Name != nil { - f1valf50.Name = f1valiter.S3DeltaDirectTarget.Name + f1valf52.Name = f1valiter.S3DeltaDirectTarget.Name } if f1valiter.S3DeltaDirectTarget.PartitionKeys != nil { - f1valf50f5 := [][]*string{} - for _, f1valf50f5iter := range f1valiter.S3DeltaDirectTarget.PartitionKeys { - f1valf50f5elem := []*string{} - for _, f1valf50f5elemiter := range f1valf50f5iter { - var f1valf50f5elemelem string - f1valf50f5elemelem = *f1valf50f5elemiter - f1valf50f5elem = append(f1valf50f5elem, &f1valf50f5elemelem) + f1valf52f5 := [][]*string{} + for _, f1valf52f5iter := range f1valiter.S3DeltaDirectTarget.PartitionKeys { + f1valf52f5elem := []*string{} + for _, f1valf52f5elemiter := range f1valf52f5iter { + var f1valf52f5elemelem string + f1valf52f5elemelem = *f1valf52f5elemiter + f1valf52f5elem = append(f1valf52f5elem, &f1valf52f5elemelem) } - f1valf50f5 = append(f1valf50f5, f1valf50f5elem) + f1valf52f5 = append(f1valf52f5, f1valf52f5elem) } - f1valf50.PartitionKeys = f1valf50f5 + f1valf52.PartitionKeys = f1valf52f5 } if f1valiter.S3DeltaDirectTarget.Path != nil { - f1valf50.Path = f1valiter.S3DeltaDirectTarget.Path + f1valf52.Path = f1valiter.S3DeltaDirectTarget.Path } if f1valiter.S3DeltaDirectTarget.SchemaChangePolicy != nil { - f1valf50f7 := &svcapitypes.DirectSchemaChangePolicy{} + f1valf52f7 := &svcapitypes.DirectSchemaChangePolicy{} if f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.Database != nil { - f1valf50f7.Database = f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.Database + f1valf52f7.Database = f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.Database } if f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.EnableUpdateCatalog != nil { - f1valf50f7.EnableUpdateCatalog = f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.EnableUpdateCatalog + f1valf52f7.EnableUpdateCatalog = f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.EnableUpdateCatalog } if f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.Table != nil { - f1valf50f7.Table = f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.Table + f1valf52f7.Table = f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.Table } if f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.UpdateBehavior != nil { - f1valf50f7.UpdateBehavior = f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.UpdateBehavior + f1valf52f7.UpdateBehavior = f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.UpdateBehavior } - f1valf50.SchemaChangePolicy = f1valf50f7 + f1valf52.SchemaChangePolicy = f1valf52f7 } - f1val.S3DeltaDirectTarget = f1valf50 + f1val.S3DeltaDirectTarget = f1valf52 } if f1valiter.S3DeltaSource != nil { - f1valf51 := &svcapitypes.S3DeltaSource{} + f1valf53 := &svcapitypes.S3DeltaSource{} if f1valiter.S3DeltaSource.AdditionalDeltaOptions != nil { - f1valf51f0 := map[string]*string{} - for f1valf51f0key, f1valf51f0valiter := range f1valiter.S3DeltaSource.AdditionalDeltaOptions { - var f1valf51f0val string - f1valf51f0val = *f1valf51f0valiter - f1valf51f0[f1valf51f0key] = &f1valf51f0val + f1valf53f0 := map[string]*string{} + for f1valf53f0key, f1valf53f0valiter := range f1valiter.S3DeltaSource.AdditionalDeltaOptions { + var f1valf53f0val string + f1valf53f0val = *f1valf53f0valiter + f1valf53f0[f1valf53f0key] = &f1valf53f0val } - f1valf51.AdditionalDeltaOptions = f1valf51f0 + f1valf53.AdditionalDeltaOptions = f1valf53f0 } if f1valiter.S3DeltaSource.AdditionalOptions != nil { - f1valf51f1 := &svcapitypes.S3DirectSourceAdditionalOptions{} + f1valf53f1 := &svcapitypes.S3DirectSourceAdditionalOptions{} if f1valiter.S3DeltaSource.AdditionalOptions.BoundedFiles != nil { - f1valf51f1.BoundedFiles = f1valiter.S3DeltaSource.AdditionalOptions.BoundedFiles + f1valf53f1.BoundedFiles = f1valiter.S3DeltaSource.AdditionalOptions.BoundedFiles } if f1valiter.S3DeltaSource.AdditionalOptions.BoundedSize != nil { - f1valf51f1.BoundedSize = f1valiter.S3DeltaSource.AdditionalOptions.BoundedSize + f1valf53f1.BoundedSize = f1valiter.S3DeltaSource.AdditionalOptions.BoundedSize } if f1valiter.S3DeltaSource.AdditionalOptions.EnableSamplePath != nil { - f1valf51f1.EnableSamplePath = f1valiter.S3DeltaSource.AdditionalOptions.EnableSamplePath + f1valf53f1.EnableSamplePath = f1valiter.S3DeltaSource.AdditionalOptions.EnableSamplePath } if f1valiter.S3DeltaSource.AdditionalOptions.SamplePath != nil { - f1valf51f1.SamplePath = f1valiter.S3DeltaSource.AdditionalOptions.SamplePath + f1valf53f1.SamplePath = f1valiter.S3DeltaSource.AdditionalOptions.SamplePath } - f1valf51.AdditionalOptions = f1valf51f1 + f1valf53.AdditionalOptions = f1valf53f1 } if f1valiter.S3DeltaSource.Name != nil { - f1valf51.Name = f1valiter.S3DeltaSource.Name + f1valf53.Name = f1valiter.S3DeltaSource.Name } if f1valiter.S3DeltaSource.OutputSchemas != nil { - f1valf51f3 := []*svcapitypes.GlueSchema{} - for _, f1valf51f3iter := range f1valiter.S3DeltaSource.OutputSchemas { - f1valf51f3elem := &svcapitypes.GlueSchema{} - if f1valf51f3iter.Columns != nil { - f1valf51f3elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} - for _, f1valf51f3elemf0iter := range f1valf51f3iter.Columns { - f1valf51f3elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} - if f1valf51f3elemf0iter.Name != nil { - f1valf51f3elemf0elem.Name = f1valf51f3elemf0iter.Name + f1valf53f3 := []*svcapitypes.GlueSchema{} + for _, f1valf53f3iter := range f1valiter.S3DeltaSource.OutputSchemas { + f1valf53f3elem := &svcapitypes.GlueSchema{} + if f1valf53f3iter.Columns != nil { + f1valf53f3elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} + for _, f1valf53f3elemf0iter := range f1valf53f3iter.Columns { + f1valf53f3elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} + if f1valf53f3elemf0iter.Name != nil { + f1valf53f3elemf0elem.Name = f1valf53f3elemf0iter.Name } - if f1valf51f3elemf0iter.Type != nil { - f1valf51f3elemf0elem.Type = f1valf51f3elemf0iter.Type + if f1valf53f3elemf0iter.Type != nil { + f1valf53f3elemf0elem.Type = f1valf53f3elemf0iter.Type } - f1valf51f3elemf0 = append(f1valf51f3elemf0, f1valf51f3elemf0elem) + f1valf53f3elemf0 = append(f1valf53f3elemf0, f1valf53f3elemf0elem) } - f1valf51f3elem.Columns = f1valf51f3elemf0 + f1valf53f3elem.Columns = f1valf53f3elemf0 } - f1valf51f3 = append(f1valf51f3, f1valf51f3elem) + f1valf53f3 = append(f1valf53f3, f1valf53f3elem) } - f1valf51.OutputSchemas = f1valf51f3 + f1valf53.OutputSchemas = f1valf53f3 } if f1valiter.S3DeltaSource.Paths != nil { - f1valf51f4 := []*string{} - for _, f1valf51f4iter := range f1valiter.S3DeltaSource.Paths { - var f1valf51f4elem string - f1valf51f4elem = *f1valf51f4iter - f1valf51f4 = append(f1valf51f4, &f1valf51f4elem) + f1valf53f4 := []*string{} + for _, f1valf53f4iter := range f1valiter.S3DeltaSource.Paths { + var f1valf53f4elem string + f1valf53f4elem = *f1valf53f4iter + f1valf53f4 = append(f1valf53f4, &f1valf53f4elem) } - f1valf51.Paths = f1valf51f4 + f1valf53.Paths = f1valf53f4 } - f1val.S3DeltaSource = f1valf51 + f1val.S3DeltaSource = f1valf53 } if f1valiter.S3DirectTarget != nil { - f1valf52 := &svcapitypes.S3DirectTarget{} + f1valf54 := &svcapitypes.S3DirectTarget{} if f1valiter.S3DirectTarget.Compression != nil { - f1valf52.Compression = f1valiter.S3DirectTarget.Compression + f1valf54.Compression = f1valiter.S3DirectTarget.Compression } if f1valiter.S3DirectTarget.Format != nil { - f1valf52.Format = f1valiter.S3DirectTarget.Format + f1valf54.Format = f1valiter.S3DirectTarget.Format } if f1valiter.S3DirectTarget.Inputs != nil { - f1valf52f2 := []*string{} - for _, f1valf52f2iter := range f1valiter.S3DirectTarget.Inputs { - var f1valf52f2elem string - f1valf52f2elem = *f1valf52f2iter - f1valf52f2 = append(f1valf52f2, &f1valf52f2elem) + f1valf54f2 := []*string{} + for _, f1valf54f2iter := range f1valiter.S3DirectTarget.Inputs { + var f1valf54f2elem string + f1valf54f2elem = *f1valf54f2iter + f1valf54f2 = append(f1valf54f2, &f1valf54f2elem) } - f1valf52.Inputs = f1valf52f2 + f1valf54.Inputs = f1valf54f2 } if f1valiter.S3DirectTarget.Name != nil { - f1valf52.Name = f1valiter.S3DirectTarget.Name + f1valf54.Name = f1valiter.S3DirectTarget.Name } if f1valiter.S3DirectTarget.PartitionKeys != nil { - f1valf52f4 := [][]*string{} - for _, f1valf52f4iter := range f1valiter.S3DirectTarget.PartitionKeys { - f1valf52f4elem := []*string{} - for _, f1valf52f4elemiter := range f1valf52f4iter { - var f1valf52f4elemelem string - f1valf52f4elemelem = *f1valf52f4elemiter - f1valf52f4elem = append(f1valf52f4elem, &f1valf52f4elemelem) + f1valf54f4 := [][]*string{} + for _, f1valf54f4iter := range f1valiter.S3DirectTarget.PartitionKeys { + f1valf54f4elem := []*string{} + for _, f1valf54f4elemiter := range f1valf54f4iter { + var f1valf54f4elemelem string + f1valf54f4elemelem = *f1valf54f4elemiter + f1valf54f4elem = append(f1valf54f4elem, &f1valf54f4elemelem) } - f1valf52f4 = append(f1valf52f4, f1valf52f4elem) + f1valf54f4 = append(f1valf54f4, f1valf54f4elem) } - f1valf52.PartitionKeys = f1valf52f4 + f1valf54.PartitionKeys = f1valf54f4 } if f1valiter.S3DirectTarget.Path != nil { - f1valf52.Path = f1valiter.S3DirectTarget.Path + f1valf54.Path = f1valiter.S3DirectTarget.Path } if f1valiter.S3DirectTarget.SchemaChangePolicy != nil { - f1valf52f6 := &svcapitypes.DirectSchemaChangePolicy{} + f1valf54f6 := &svcapitypes.DirectSchemaChangePolicy{} if f1valiter.S3DirectTarget.SchemaChangePolicy.Database != nil { - f1valf52f6.Database = f1valiter.S3DirectTarget.SchemaChangePolicy.Database + f1valf54f6.Database = f1valiter.S3DirectTarget.SchemaChangePolicy.Database } if f1valiter.S3DirectTarget.SchemaChangePolicy.EnableUpdateCatalog != nil { - f1valf52f6.EnableUpdateCatalog = f1valiter.S3DirectTarget.SchemaChangePolicy.EnableUpdateCatalog + f1valf54f6.EnableUpdateCatalog = f1valiter.S3DirectTarget.SchemaChangePolicy.EnableUpdateCatalog } if f1valiter.S3DirectTarget.SchemaChangePolicy.Table != nil { - f1valf52f6.Table = f1valiter.S3DirectTarget.SchemaChangePolicy.Table + f1valf54f6.Table = f1valiter.S3DirectTarget.SchemaChangePolicy.Table } if f1valiter.S3DirectTarget.SchemaChangePolicy.UpdateBehavior != nil { - f1valf52f6.UpdateBehavior = f1valiter.S3DirectTarget.SchemaChangePolicy.UpdateBehavior + f1valf54f6.UpdateBehavior = f1valiter.S3DirectTarget.SchemaChangePolicy.UpdateBehavior } - f1valf52.SchemaChangePolicy = f1valf52f6 + f1valf54.SchemaChangePolicy = f1valf54f6 } - f1val.S3DirectTarget = f1valf52 + f1val.S3DirectTarget = f1valf54 } if f1valiter.S3GlueParquetTarget != nil { - f1valf53 := &svcapitypes.S3GlueParquetTarget{} + f1valf55 := &svcapitypes.S3GlueParquetTarget{} if f1valiter.S3GlueParquetTarget.Compression != nil { - f1valf53.Compression = f1valiter.S3GlueParquetTarget.Compression + f1valf55.Compression = f1valiter.S3GlueParquetTarget.Compression } if f1valiter.S3GlueParquetTarget.Inputs != nil { - f1valf53f1 := []*string{} - for _, f1valf53f1iter := range f1valiter.S3GlueParquetTarget.Inputs { - var f1valf53f1elem string - f1valf53f1elem = *f1valf53f1iter - f1valf53f1 = append(f1valf53f1, &f1valf53f1elem) + f1valf55f1 := []*string{} + for _, f1valf55f1iter := range f1valiter.S3GlueParquetTarget.Inputs { + var f1valf55f1elem string + f1valf55f1elem = *f1valf55f1iter + f1valf55f1 = append(f1valf55f1, &f1valf55f1elem) } - f1valf53.Inputs = f1valf53f1 + f1valf55.Inputs = f1valf55f1 } if f1valiter.S3GlueParquetTarget.Name != nil { - f1valf53.Name = f1valiter.S3GlueParquetTarget.Name + f1valf55.Name = f1valiter.S3GlueParquetTarget.Name } if f1valiter.S3GlueParquetTarget.PartitionKeys != nil { - f1valf53f3 := [][]*string{} - for _, f1valf53f3iter := range f1valiter.S3GlueParquetTarget.PartitionKeys { - f1valf53f3elem := []*string{} - for _, f1valf53f3elemiter := range f1valf53f3iter { - var f1valf53f3elemelem string - f1valf53f3elemelem = *f1valf53f3elemiter - f1valf53f3elem = append(f1valf53f3elem, &f1valf53f3elemelem) + f1valf55f3 := [][]*string{} + for _, f1valf55f3iter := range f1valiter.S3GlueParquetTarget.PartitionKeys { + f1valf55f3elem := []*string{} + for _, f1valf55f3elemiter := range f1valf55f3iter { + var f1valf55f3elemelem string + f1valf55f3elemelem = *f1valf55f3elemiter + f1valf55f3elem = append(f1valf55f3elem, &f1valf55f3elemelem) } - f1valf53f3 = append(f1valf53f3, f1valf53f3elem) + f1valf55f3 = append(f1valf55f3, f1valf55f3elem) } - f1valf53.PartitionKeys = f1valf53f3 + f1valf55.PartitionKeys = f1valf55f3 } if f1valiter.S3GlueParquetTarget.Path != nil { - f1valf53.Path = f1valiter.S3GlueParquetTarget.Path + f1valf55.Path = f1valiter.S3GlueParquetTarget.Path } if f1valiter.S3GlueParquetTarget.SchemaChangePolicy != nil { - f1valf53f5 := &svcapitypes.DirectSchemaChangePolicy{} + f1valf55f5 := &svcapitypes.DirectSchemaChangePolicy{} if f1valiter.S3GlueParquetTarget.SchemaChangePolicy.Database != nil { - f1valf53f5.Database = f1valiter.S3GlueParquetTarget.SchemaChangePolicy.Database + f1valf55f5.Database = f1valiter.S3GlueParquetTarget.SchemaChangePolicy.Database } if f1valiter.S3GlueParquetTarget.SchemaChangePolicy.EnableUpdateCatalog != nil { - f1valf53f5.EnableUpdateCatalog = f1valiter.S3GlueParquetTarget.SchemaChangePolicy.EnableUpdateCatalog + f1valf55f5.EnableUpdateCatalog = f1valiter.S3GlueParquetTarget.SchemaChangePolicy.EnableUpdateCatalog } if f1valiter.S3GlueParquetTarget.SchemaChangePolicy.Table != nil { - f1valf53f5.Table = f1valiter.S3GlueParquetTarget.SchemaChangePolicy.Table + f1valf55f5.Table = f1valiter.S3GlueParquetTarget.SchemaChangePolicy.Table } if f1valiter.S3GlueParquetTarget.SchemaChangePolicy.UpdateBehavior != nil { - f1valf53f5.UpdateBehavior = f1valiter.S3GlueParquetTarget.SchemaChangePolicy.UpdateBehavior + f1valf55f5.UpdateBehavior = f1valiter.S3GlueParquetTarget.SchemaChangePolicy.UpdateBehavior } - f1valf53.SchemaChangePolicy = f1valf53f5 + f1valf55.SchemaChangePolicy = f1valf55f5 } - f1val.S3GlueParquetTarget = f1valf53 + f1val.S3GlueParquetTarget = f1valf55 } if f1valiter.S3HudiCatalogTarget != nil { - f1valf54 := &svcapitypes.S3HudiCatalogTarget{} + f1valf56 := &svcapitypes.S3HudiCatalogTarget{} if f1valiter.S3HudiCatalogTarget.AdditionalOptions != nil { - f1valf54f0 := map[string]*string{} - for f1valf54f0key, f1valf54f0valiter := range f1valiter.S3HudiCatalogTarget.AdditionalOptions { - var f1valf54f0val string - f1valf54f0val = *f1valf54f0valiter - f1valf54f0[f1valf54f0key] = &f1valf54f0val + f1valf56f0 := map[string]*string{} + for f1valf56f0key, f1valf56f0valiter := range f1valiter.S3HudiCatalogTarget.AdditionalOptions { + var f1valf56f0val string + f1valf56f0val = *f1valf56f0valiter + f1valf56f0[f1valf56f0key] = &f1valf56f0val } - f1valf54.AdditionalOptions = f1valf54f0 + f1valf56.AdditionalOptions = f1valf56f0 } if f1valiter.S3HudiCatalogTarget.Database != nil { - f1valf54.Database = f1valiter.S3HudiCatalogTarget.Database + f1valf56.Database = f1valiter.S3HudiCatalogTarget.Database } if f1valiter.S3HudiCatalogTarget.Inputs != nil { - f1valf54f2 := []*string{} - for _, f1valf54f2iter := range f1valiter.S3HudiCatalogTarget.Inputs { - var f1valf54f2elem string - f1valf54f2elem = *f1valf54f2iter - f1valf54f2 = append(f1valf54f2, &f1valf54f2elem) + f1valf56f2 := []*string{} + for _, f1valf56f2iter := range f1valiter.S3HudiCatalogTarget.Inputs { + var f1valf56f2elem string + f1valf56f2elem = *f1valf56f2iter + f1valf56f2 = append(f1valf56f2, &f1valf56f2elem) } - f1valf54.Inputs = f1valf54f2 + f1valf56.Inputs = f1valf56f2 } if f1valiter.S3HudiCatalogTarget.Name != nil { - f1valf54.Name = f1valiter.S3HudiCatalogTarget.Name + f1valf56.Name = f1valiter.S3HudiCatalogTarget.Name } if f1valiter.S3HudiCatalogTarget.PartitionKeys != nil { - f1valf54f4 := [][]*string{} - for _, f1valf54f4iter := range f1valiter.S3HudiCatalogTarget.PartitionKeys { - f1valf54f4elem := []*string{} - for _, f1valf54f4elemiter := range f1valf54f4iter { - var f1valf54f4elemelem string - f1valf54f4elemelem = *f1valf54f4elemiter - f1valf54f4elem = append(f1valf54f4elem, &f1valf54f4elemelem) + f1valf56f4 := [][]*string{} + for _, f1valf56f4iter := range f1valiter.S3HudiCatalogTarget.PartitionKeys { + f1valf56f4elem := []*string{} + for _, f1valf56f4elemiter := range f1valf56f4iter { + var f1valf56f4elemelem string + f1valf56f4elemelem = *f1valf56f4elemiter + f1valf56f4elem = append(f1valf56f4elem, &f1valf56f4elemelem) } - f1valf54f4 = append(f1valf54f4, f1valf54f4elem) + f1valf56f4 = append(f1valf56f4, f1valf56f4elem) } - f1valf54.PartitionKeys = f1valf54f4 + f1valf56.PartitionKeys = f1valf56f4 } if f1valiter.S3HudiCatalogTarget.SchemaChangePolicy != nil { - f1valf54f5 := &svcapitypes.CatalogSchemaChangePolicy{} + f1valf56f5 := &svcapitypes.CatalogSchemaChangePolicy{} if f1valiter.S3HudiCatalogTarget.SchemaChangePolicy.EnableUpdateCatalog != nil { - f1valf54f5.EnableUpdateCatalog = f1valiter.S3HudiCatalogTarget.SchemaChangePolicy.EnableUpdateCatalog + f1valf56f5.EnableUpdateCatalog = f1valiter.S3HudiCatalogTarget.SchemaChangePolicy.EnableUpdateCatalog } if f1valiter.S3HudiCatalogTarget.SchemaChangePolicy.UpdateBehavior != nil { - f1valf54f5.UpdateBehavior = f1valiter.S3HudiCatalogTarget.SchemaChangePolicy.UpdateBehavior + f1valf56f5.UpdateBehavior = f1valiter.S3HudiCatalogTarget.SchemaChangePolicy.UpdateBehavior } - f1valf54.SchemaChangePolicy = f1valf54f5 + f1valf56.SchemaChangePolicy = f1valf56f5 } if f1valiter.S3HudiCatalogTarget.Table != nil { - f1valf54.Table = f1valiter.S3HudiCatalogTarget.Table + f1valf56.Table = f1valiter.S3HudiCatalogTarget.Table } - f1val.S3HudiCatalogTarget = f1valf54 + f1val.S3HudiCatalogTarget = f1valf56 } if f1valiter.S3HudiDirectTarget != nil { - f1valf55 := &svcapitypes.S3HudiDirectTarget{} + f1valf57 := &svcapitypes.S3HudiDirectTarget{} if f1valiter.S3HudiDirectTarget.AdditionalOptions != nil { - f1valf55f0 := map[string]*string{} - for f1valf55f0key, f1valf55f0valiter := range f1valiter.S3HudiDirectTarget.AdditionalOptions { - var f1valf55f0val string - f1valf55f0val = *f1valf55f0valiter - f1valf55f0[f1valf55f0key] = &f1valf55f0val + f1valf57f0 := map[string]*string{} + for f1valf57f0key, f1valf57f0valiter := range f1valiter.S3HudiDirectTarget.AdditionalOptions { + var f1valf57f0val string + f1valf57f0val = *f1valf57f0valiter + f1valf57f0[f1valf57f0key] = &f1valf57f0val } - f1valf55.AdditionalOptions = f1valf55f0 + f1valf57.AdditionalOptions = f1valf57f0 } if f1valiter.S3HudiDirectTarget.Compression != nil { - f1valf55.Compression = f1valiter.S3HudiDirectTarget.Compression + f1valf57.Compression = f1valiter.S3HudiDirectTarget.Compression } if f1valiter.S3HudiDirectTarget.Format != nil { - f1valf55.Format = f1valiter.S3HudiDirectTarget.Format + f1valf57.Format = f1valiter.S3HudiDirectTarget.Format } if f1valiter.S3HudiDirectTarget.Inputs != nil { - f1valf55f3 := []*string{} - for _, f1valf55f3iter := range f1valiter.S3HudiDirectTarget.Inputs { - var f1valf55f3elem string - f1valf55f3elem = *f1valf55f3iter - f1valf55f3 = append(f1valf55f3, &f1valf55f3elem) + f1valf57f3 := []*string{} + for _, f1valf57f3iter := range f1valiter.S3HudiDirectTarget.Inputs { + var f1valf57f3elem string + f1valf57f3elem = *f1valf57f3iter + f1valf57f3 = append(f1valf57f3, &f1valf57f3elem) } - f1valf55.Inputs = f1valf55f3 + f1valf57.Inputs = f1valf57f3 } if f1valiter.S3HudiDirectTarget.Name != nil { - f1valf55.Name = f1valiter.S3HudiDirectTarget.Name + f1valf57.Name = f1valiter.S3HudiDirectTarget.Name } if f1valiter.S3HudiDirectTarget.PartitionKeys != nil { - f1valf55f5 := [][]*string{} - for _, f1valf55f5iter := range f1valiter.S3HudiDirectTarget.PartitionKeys { - f1valf55f5elem := []*string{} - for _, f1valf55f5elemiter := range f1valf55f5iter { - var f1valf55f5elemelem string - f1valf55f5elemelem = *f1valf55f5elemiter - f1valf55f5elem = append(f1valf55f5elem, &f1valf55f5elemelem) + f1valf57f5 := [][]*string{} + for _, f1valf57f5iter := range f1valiter.S3HudiDirectTarget.PartitionKeys { + f1valf57f5elem := []*string{} + for _, f1valf57f5elemiter := range f1valf57f5iter { + var f1valf57f5elemelem string + f1valf57f5elemelem = *f1valf57f5elemiter + f1valf57f5elem = append(f1valf57f5elem, &f1valf57f5elemelem) } - f1valf55f5 = append(f1valf55f5, f1valf55f5elem) + f1valf57f5 = append(f1valf57f5, f1valf57f5elem) } - f1valf55.PartitionKeys = f1valf55f5 + f1valf57.PartitionKeys = f1valf57f5 } if f1valiter.S3HudiDirectTarget.Path != nil { - f1valf55.Path = f1valiter.S3HudiDirectTarget.Path + f1valf57.Path = f1valiter.S3HudiDirectTarget.Path } if f1valiter.S3HudiDirectTarget.SchemaChangePolicy != nil { - f1valf55f7 := &svcapitypes.DirectSchemaChangePolicy{} + f1valf57f7 := &svcapitypes.DirectSchemaChangePolicy{} if f1valiter.S3HudiDirectTarget.SchemaChangePolicy.Database != nil { - f1valf55f7.Database = f1valiter.S3HudiDirectTarget.SchemaChangePolicy.Database + f1valf57f7.Database = f1valiter.S3HudiDirectTarget.SchemaChangePolicy.Database } if f1valiter.S3HudiDirectTarget.SchemaChangePolicy.EnableUpdateCatalog != nil { - f1valf55f7.EnableUpdateCatalog = f1valiter.S3HudiDirectTarget.SchemaChangePolicy.EnableUpdateCatalog + f1valf57f7.EnableUpdateCatalog = f1valiter.S3HudiDirectTarget.SchemaChangePolicy.EnableUpdateCatalog } if f1valiter.S3HudiDirectTarget.SchemaChangePolicy.Table != nil { - f1valf55f7.Table = f1valiter.S3HudiDirectTarget.SchemaChangePolicy.Table + f1valf57f7.Table = f1valiter.S3HudiDirectTarget.SchemaChangePolicy.Table } if f1valiter.S3HudiDirectTarget.SchemaChangePolicy.UpdateBehavior != nil { - f1valf55f7.UpdateBehavior = f1valiter.S3HudiDirectTarget.SchemaChangePolicy.UpdateBehavior + f1valf57f7.UpdateBehavior = f1valiter.S3HudiDirectTarget.SchemaChangePolicy.UpdateBehavior } - f1valf55.SchemaChangePolicy = f1valf55f7 + f1valf57.SchemaChangePolicy = f1valf57f7 } - f1val.S3HudiDirectTarget = f1valf55 + f1val.S3HudiDirectTarget = f1valf57 } if f1valiter.S3HudiSource != nil { - f1valf56 := &svcapitypes.S3HudiSource{} + f1valf58 := &svcapitypes.S3HudiSource{} if f1valiter.S3HudiSource.AdditionalHudiOptions != nil { - f1valf56f0 := map[string]*string{} - for f1valf56f0key, f1valf56f0valiter := range f1valiter.S3HudiSource.AdditionalHudiOptions { - var f1valf56f0val string - f1valf56f0val = *f1valf56f0valiter - f1valf56f0[f1valf56f0key] = &f1valf56f0val + f1valf58f0 := map[string]*string{} + for f1valf58f0key, f1valf58f0valiter := range f1valiter.S3HudiSource.AdditionalHudiOptions { + var f1valf58f0val string + f1valf58f0val = *f1valf58f0valiter + f1valf58f0[f1valf58f0key] = &f1valf58f0val } - f1valf56.AdditionalHudiOptions = f1valf56f0 + f1valf58.AdditionalHudiOptions = f1valf58f0 } if f1valiter.S3HudiSource.AdditionalOptions != nil { - f1valf56f1 := &svcapitypes.S3DirectSourceAdditionalOptions{} + f1valf58f1 := &svcapitypes.S3DirectSourceAdditionalOptions{} if f1valiter.S3HudiSource.AdditionalOptions.BoundedFiles != nil { - f1valf56f1.BoundedFiles = f1valiter.S3HudiSource.AdditionalOptions.BoundedFiles + f1valf58f1.BoundedFiles = f1valiter.S3HudiSource.AdditionalOptions.BoundedFiles } if f1valiter.S3HudiSource.AdditionalOptions.BoundedSize != nil { - f1valf56f1.BoundedSize = f1valiter.S3HudiSource.AdditionalOptions.BoundedSize + f1valf58f1.BoundedSize = f1valiter.S3HudiSource.AdditionalOptions.BoundedSize } if f1valiter.S3HudiSource.AdditionalOptions.EnableSamplePath != nil { - f1valf56f1.EnableSamplePath = f1valiter.S3HudiSource.AdditionalOptions.EnableSamplePath + f1valf58f1.EnableSamplePath = f1valiter.S3HudiSource.AdditionalOptions.EnableSamplePath } if f1valiter.S3HudiSource.AdditionalOptions.SamplePath != nil { - f1valf56f1.SamplePath = f1valiter.S3HudiSource.AdditionalOptions.SamplePath + f1valf58f1.SamplePath = f1valiter.S3HudiSource.AdditionalOptions.SamplePath } - f1valf56.AdditionalOptions = f1valf56f1 + f1valf58.AdditionalOptions = f1valf58f1 } if f1valiter.S3HudiSource.Name != nil { - f1valf56.Name = f1valiter.S3HudiSource.Name + f1valf58.Name = f1valiter.S3HudiSource.Name } if f1valiter.S3HudiSource.OutputSchemas != nil { - f1valf56f3 := []*svcapitypes.GlueSchema{} - for _, f1valf56f3iter := range f1valiter.S3HudiSource.OutputSchemas { - f1valf56f3elem := &svcapitypes.GlueSchema{} - if f1valf56f3iter.Columns != nil { - f1valf56f3elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} - for _, f1valf56f3elemf0iter := range f1valf56f3iter.Columns { - f1valf56f3elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} - if f1valf56f3elemf0iter.Name != nil { - f1valf56f3elemf0elem.Name = f1valf56f3elemf0iter.Name + f1valf58f3 := []*svcapitypes.GlueSchema{} + for _, f1valf58f3iter := range f1valiter.S3HudiSource.OutputSchemas { + f1valf58f3elem := &svcapitypes.GlueSchema{} + if f1valf58f3iter.Columns != nil { + f1valf58f3elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} + for _, f1valf58f3elemf0iter := range f1valf58f3iter.Columns { + f1valf58f3elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} + if f1valf58f3elemf0iter.Name != nil { + f1valf58f3elemf0elem.Name = f1valf58f3elemf0iter.Name } - if f1valf56f3elemf0iter.Type != nil { - f1valf56f3elemf0elem.Type = f1valf56f3elemf0iter.Type + if f1valf58f3elemf0iter.Type != nil { + f1valf58f3elemf0elem.Type = f1valf58f3elemf0iter.Type } - f1valf56f3elemf0 = append(f1valf56f3elemf0, f1valf56f3elemf0elem) + f1valf58f3elemf0 = append(f1valf58f3elemf0, f1valf58f3elemf0elem) } - f1valf56f3elem.Columns = f1valf56f3elemf0 + f1valf58f3elem.Columns = f1valf58f3elemf0 } - f1valf56f3 = append(f1valf56f3, f1valf56f3elem) + f1valf58f3 = append(f1valf58f3, f1valf58f3elem) } - f1valf56.OutputSchemas = f1valf56f3 + f1valf58.OutputSchemas = f1valf58f3 } if f1valiter.S3HudiSource.Paths != nil { - f1valf56f4 := []*string{} - for _, f1valf56f4iter := range f1valiter.S3HudiSource.Paths { - var f1valf56f4elem string - f1valf56f4elem = *f1valf56f4iter - f1valf56f4 = append(f1valf56f4, &f1valf56f4elem) + f1valf58f4 := []*string{} + for _, f1valf58f4iter := range f1valiter.S3HudiSource.Paths { + var f1valf58f4elem string + f1valf58f4elem = *f1valf58f4iter + f1valf58f4 = append(f1valf58f4, &f1valf58f4elem) } - f1valf56.Paths = f1valf56f4 + f1valf58.Paths = f1valf58f4 } - f1val.S3HudiSource = f1valf56 + f1val.S3HudiSource = f1valf58 } if f1valiter.S3JsonSource != nil { - f1valf57 := &svcapitypes.S3JSONSource{} + f1valf59 := &svcapitypes.S3JSONSource{} if f1valiter.S3JsonSource.AdditionalOptions != nil { - f1valf57f0 := &svcapitypes.S3DirectSourceAdditionalOptions{} + f1valf59f0 := &svcapitypes.S3DirectSourceAdditionalOptions{} if f1valiter.S3JsonSource.AdditionalOptions.BoundedFiles != nil { - f1valf57f0.BoundedFiles = f1valiter.S3JsonSource.AdditionalOptions.BoundedFiles + f1valf59f0.BoundedFiles = f1valiter.S3JsonSource.AdditionalOptions.BoundedFiles } if f1valiter.S3JsonSource.AdditionalOptions.BoundedSize != nil { - f1valf57f0.BoundedSize = f1valiter.S3JsonSource.AdditionalOptions.BoundedSize + f1valf59f0.BoundedSize = f1valiter.S3JsonSource.AdditionalOptions.BoundedSize } if f1valiter.S3JsonSource.AdditionalOptions.EnableSamplePath != nil { - f1valf57f0.EnableSamplePath = f1valiter.S3JsonSource.AdditionalOptions.EnableSamplePath + f1valf59f0.EnableSamplePath = f1valiter.S3JsonSource.AdditionalOptions.EnableSamplePath } if f1valiter.S3JsonSource.AdditionalOptions.SamplePath != nil { - f1valf57f0.SamplePath = f1valiter.S3JsonSource.AdditionalOptions.SamplePath + f1valf59f0.SamplePath = f1valiter.S3JsonSource.AdditionalOptions.SamplePath } - f1valf57.AdditionalOptions = f1valf57f0 + f1valf59.AdditionalOptions = f1valf59f0 } if f1valiter.S3JsonSource.CompressionType != nil { - f1valf57.CompressionType = f1valiter.S3JsonSource.CompressionType + f1valf59.CompressionType = f1valiter.S3JsonSource.CompressionType } if f1valiter.S3JsonSource.Exclusions != nil { - f1valf57f2 := []*string{} - for _, f1valf57f2iter := range f1valiter.S3JsonSource.Exclusions { - var f1valf57f2elem string - f1valf57f2elem = *f1valf57f2iter - f1valf57f2 = append(f1valf57f2, &f1valf57f2elem) + f1valf59f2 := []*string{} + for _, f1valf59f2iter := range f1valiter.S3JsonSource.Exclusions { + var f1valf59f2elem string + f1valf59f2elem = *f1valf59f2iter + f1valf59f2 = append(f1valf59f2, &f1valf59f2elem) } - f1valf57.Exclusions = f1valf57f2 + f1valf59.Exclusions = f1valf59f2 } if f1valiter.S3JsonSource.GroupFiles != nil { - f1valf57.GroupFiles = f1valiter.S3JsonSource.GroupFiles + f1valf59.GroupFiles = f1valiter.S3JsonSource.GroupFiles } if f1valiter.S3JsonSource.GroupSize != nil { - f1valf57.GroupSize = f1valiter.S3JsonSource.GroupSize + f1valf59.GroupSize = f1valiter.S3JsonSource.GroupSize } if f1valiter.S3JsonSource.JsonPath != nil { - f1valf57.JSONPath = f1valiter.S3JsonSource.JsonPath + f1valf59.JSONPath = f1valiter.S3JsonSource.JsonPath } if f1valiter.S3JsonSource.MaxBand != nil { - f1valf57.MaxBand = f1valiter.S3JsonSource.MaxBand + f1valf59.MaxBand = f1valiter.S3JsonSource.MaxBand } if f1valiter.S3JsonSource.MaxFilesInBand != nil { - f1valf57.MaxFilesInBand = f1valiter.S3JsonSource.MaxFilesInBand + f1valf59.MaxFilesInBand = f1valiter.S3JsonSource.MaxFilesInBand } if f1valiter.S3JsonSource.Multiline != nil { - f1valf57.Multiline = f1valiter.S3JsonSource.Multiline + f1valf59.Multiline = f1valiter.S3JsonSource.Multiline } if f1valiter.S3JsonSource.Name != nil { - f1valf57.Name = f1valiter.S3JsonSource.Name + f1valf59.Name = f1valiter.S3JsonSource.Name } if f1valiter.S3JsonSource.OutputSchemas != nil { - f1valf57f10 := []*svcapitypes.GlueSchema{} - for _, f1valf57f10iter := range f1valiter.S3JsonSource.OutputSchemas { - f1valf57f10elem := &svcapitypes.GlueSchema{} - if f1valf57f10iter.Columns != nil { - f1valf57f10elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} - for _, f1valf57f10elemf0iter := range f1valf57f10iter.Columns { - f1valf57f10elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} - if f1valf57f10elemf0iter.Name != nil { - f1valf57f10elemf0elem.Name = f1valf57f10elemf0iter.Name + f1valf59f10 := []*svcapitypes.GlueSchema{} + for _, f1valf59f10iter := range f1valiter.S3JsonSource.OutputSchemas { + f1valf59f10elem := &svcapitypes.GlueSchema{} + if f1valf59f10iter.Columns != nil { + f1valf59f10elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} + for _, f1valf59f10elemf0iter := range f1valf59f10iter.Columns { + f1valf59f10elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} + if f1valf59f10elemf0iter.Name != nil { + f1valf59f10elemf0elem.Name = f1valf59f10elemf0iter.Name } - if f1valf57f10elemf0iter.Type != nil { - f1valf57f10elemf0elem.Type = f1valf57f10elemf0iter.Type + if f1valf59f10elemf0iter.Type != nil { + f1valf59f10elemf0elem.Type = f1valf59f10elemf0iter.Type } - f1valf57f10elemf0 = append(f1valf57f10elemf0, f1valf57f10elemf0elem) + f1valf59f10elemf0 = append(f1valf59f10elemf0, f1valf59f10elemf0elem) } - f1valf57f10elem.Columns = f1valf57f10elemf0 + f1valf59f10elem.Columns = f1valf59f10elemf0 } - f1valf57f10 = append(f1valf57f10, f1valf57f10elem) + f1valf59f10 = append(f1valf59f10, f1valf59f10elem) } - f1valf57.OutputSchemas = f1valf57f10 + f1valf59.OutputSchemas = f1valf59f10 } if f1valiter.S3JsonSource.Paths != nil { - f1valf57f11 := []*string{} - for _, f1valf57f11iter := range f1valiter.S3JsonSource.Paths { - var f1valf57f11elem string - f1valf57f11elem = *f1valf57f11iter - f1valf57f11 = append(f1valf57f11, &f1valf57f11elem) + f1valf59f11 := []*string{} + for _, f1valf59f11iter := range f1valiter.S3JsonSource.Paths { + var f1valf59f11elem string + f1valf59f11elem = *f1valf59f11iter + f1valf59f11 = append(f1valf59f11, &f1valf59f11elem) } - f1valf57.Paths = f1valf57f11 + f1valf59.Paths = f1valf59f11 } if f1valiter.S3JsonSource.Recurse != nil { - f1valf57.Recurse = f1valiter.S3JsonSource.Recurse + f1valf59.Recurse = f1valiter.S3JsonSource.Recurse } - f1val.S3JSONSource = f1valf57 + f1val.S3JSONSource = f1valf59 } if f1valiter.S3ParquetSource != nil { - f1valf58 := &svcapitypes.S3ParquetSource{} + f1valf60 := &svcapitypes.S3ParquetSource{} if f1valiter.S3ParquetSource.AdditionalOptions != nil { - f1valf58f0 := &svcapitypes.S3DirectSourceAdditionalOptions{} + f1valf60f0 := &svcapitypes.S3DirectSourceAdditionalOptions{} if f1valiter.S3ParquetSource.AdditionalOptions.BoundedFiles != nil { - f1valf58f0.BoundedFiles = f1valiter.S3ParquetSource.AdditionalOptions.BoundedFiles + f1valf60f0.BoundedFiles = f1valiter.S3ParquetSource.AdditionalOptions.BoundedFiles } if f1valiter.S3ParquetSource.AdditionalOptions.BoundedSize != nil { - f1valf58f0.BoundedSize = f1valiter.S3ParquetSource.AdditionalOptions.BoundedSize + f1valf60f0.BoundedSize = f1valiter.S3ParquetSource.AdditionalOptions.BoundedSize } if f1valiter.S3ParquetSource.AdditionalOptions.EnableSamplePath != nil { - f1valf58f0.EnableSamplePath = f1valiter.S3ParquetSource.AdditionalOptions.EnableSamplePath + f1valf60f0.EnableSamplePath = f1valiter.S3ParquetSource.AdditionalOptions.EnableSamplePath } if f1valiter.S3ParquetSource.AdditionalOptions.SamplePath != nil { - f1valf58f0.SamplePath = f1valiter.S3ParquetSource.AdditionalOptions.SamplePath + f1valf60f0.SamplePath = f1valiter.S3ParquetSource.AdditionalOptions.SamplePath } - f1valf58.AdditionalOptions = f1valf58f0 + f1valf60.AdditionalOptions = f1valf60f0 } if f1valiter.S3ParquetSource.CompressionType != nil { - f1valf58.CompressionType = f1valiter.S3ParquetSource.CompressionType + f1valf60.CompressionType = f1valiter.S3ParquetSource.CompressionType } if f1valiter.S3ParquetSource.Exclusions != nil { - f1valf58f2 := []*string{} - for _, f1valf58f2iter := range f1valiter.S3ParquetSource.Exclusions { - var f1valf58f2elem string - f1valf58f2elem = *f1valf58f2iter - f1valf58f2 = append(f1valf58f2, &f1valf58f2elem) + f1valf60f2 := []*string{} + for _, f1valf60f2iter := range f1valiter.S3ParquetSource.Exclusions { + var f1valf60f2elem string + f1valf60f2elem = *f1valf60f2iter + f1valf60f2 = append(f1valf60f2, &f1valf60f2elem) } - f1valf58.Exclusions = f1valf58f2 + f1valf60.Exclusions = f1valf60f2 } if f1valiter.S3ParquetSource.GroupFiles != nil { - f1valf58.GroupFiles = f1valiter.S3ParquetSource.GroupFiles + f1valf60.GroupFiles = f1valiter.S3ParquetSource.GroupFiles } if f1valiter.S3ParquetSource.GroupSize != nil { - f1valf58.GroupSize = f1valiter.S3ParquetSource.GroupSize + f1valf60.GroupSize = f1valiter.S3ParquetSource.GroupSize } if f1valiter.S3ParquetSource.MaxBand != nil { - f1valf58.MaxBand = f1valiter.S3ParquetSource.MaxBand + f1valf60.MaxBand = f1valiter.S3ParquetSource.MaxBand } if f1valiter.S3ParquetSource.MaxFilesInBand != nil { - f1valf58.MaxFilesInBand = f1valiter.S3ParquetSource.MaxFilesInBand + f1valf60.MaxFilesInBand = f1valiter.S3ParquetSource.MaxFilesInBand } if f1valiter.S3ParquetSource.Name != nil { - f1valf58.Name = f1valiter.S3ParquetSource.Name + f1valf60.Name = f1valiter.S3ParquetSource.Name } if f1valiter.S3ParquetSource.OutputSchemas != nil { - f1valf58f8 := []*svcapitypes.GlueSchema{} - for _, f1valf58f8iter := range f1valiter.S3ParquetSource.OutputSchemas { - f1valf58f8elem := &svcapitypes.GlueSchema{} - if f1valf58f8iter.Columns != nil { - f1valf58f8elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} - for _, f1valf58f8elemf0iter := range f1valf58f8iter.Columns { - f1valf58f8elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} - if f1valf58f8elemf0iter.Name != nil { - f1valf58f8elemf0elem.Name = f1valf58f8elemf0iter.Name + f1valf60f8 := []*svcapitypes.GlueSchema{} + for _, f1valf60f8iter := range f1valiter.S3ParquetSource.OutputSchemas { + f1valf60f8elem := &svcapitypes.GlueSchema{} + if f1valf60f8iter.Columns != nil { + f1valf60f8elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} + for _, f1valf60f8elemf0iter := range f1valf60f8iter.Columns { + f1valf60f8elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} + if f1valf60f8elemf0iter.Name != nil { + f1valf60f8elemf0elem.Name = f1valf60f8elemf0iter.Name } - if f1valf58f8elemf0iter.Type != nil { - f1valf58f8elemf0elem.Type = f1valf58f8elemf0iter.Type + if f1valf60f8elemf0iter.Type != nil { + f1valf60f8elemf0elem.Type = f1valf60f8elemf0iter.Type } - f1valf58f8elemf0 = append(f1valf58f8elemf0, f1valf58f8elemf0elem) + f1valf60f8elemf0 = append(f1valf60f8elemf0, f1valf60f8elemf0elem) } - f1valf58f8elem.Columns = f1valf58f8elemf0 + f1valf60f8elem.Columns = f1valf60f8elemf0 } - f1valf58f8 = append(f1valf58f8, f1valf58f8elem) + f1valf60f8 = append(f1valf60f8, f1valf60f8elem) } - f1valf58.OutputSchemas = f1valf58f8 + f1valf60.OutputSchemas = f1valf60f8 } if f1valiter.S3ParquetSource.Paths != nil { - f1valf58f9 := []*string{} - for _, f1valf58f9iter := range f1valiter.S3ParquetSource.Paths { - var f1valf58f9elem string - f1valf58f9elem = *f1valf58f9iter - f1valf58f9 = append(f1valf58f9, &f1valf58f9elem) + f1valf60f9 := []*string{} + for _, f1valf60f9iter := range f1valiter.S3ParquetSource.Paths { + var f1valf60f9elem string + f1valf60f9elem = *f1valf60f9iter + f1valf60f9 = append(f1valf60f9, &f1valf60f9elem) } - f1valf58.Paths = f1valf58f9 + f1valf60.Paths = f1valf60f9 } if f1valiter.S3ParquetSource.Recurse != nil { - f1valf58.Recurse = f1valiter.S3ParquetSource.Recurse + f1valf60.Recurse = f1valiter.S3ParquetSource.Recurse } - f1val.S3ParquetSource = f1valf58 + f1val.S3ParquetSource = f1valf60 } if f1valiter.SelectFields != nil { - f1valf59 := &svcapitypes.SelectFields{} + f1valf61 := &svcapitypes.SelectFields{} if f1valiter.SelectFields.Inputs != nil { - f1valf59f0 := []*string{} - for _, f1valf59f0iter := range f1valiter.SelectFields.Inputs { - var f1valf59f0elem string - f1valf59f0elem = *f1valf59f0iter - f1valf59f0 = append(f1valf59f0, &f1valf59f0elem) + f1valf61f0 := []*string{} + for _, f1valf61f0iter := range f1valiter.SelectFields.Inputs { + var f1valf61f0elem string + f1valf61f0elem = *f1valf61f0iter + f1valf61f0 = append(f1valf61f0, &f1valf61f0elem) } - f1valf59.Inputs = f1valf59f0 + f1valf61.Inputs = f1valf61f0 } if f1valiter.SelectFields.Name != nil { - f1valf59.Name = f1valiter.SelectFields.Name + f1valf61.Name = f1valiter.SelectFields.Name } if f1valiter.SelectFields.Paths != nil { - f1valf59f2 := [][]*string{} - for _, f1valf59f2iter := range f1valiter.SelectFields.Paths { - f1valf59f2elem := []*string{} - for _, f1valf59f2elemiter := range f1valf59f2iter { - var f1valf59f2elemelem string - f1valf59f2elemelem = *f1valf59f2elemiter - f1valf59f2elem = append(f1valf59f2elem, &f1valf59f2elemelem) + f1valf61f2 := [][]*string{} + for _, f1valf61f2iter := range f1valiter.SelectFields.Paths { + f1valf61f2elem := []*string{} + for _, f1valf61f2elemiter := range f1valf61f2iter { + var f1valf61f2elemelem string + f1valf61f2elemelem = *f1valf61f2elemiter + f1valf61f2elem = append(f1valf61f2elem, &f1valf61f2elemelem) } - f1valf59f2 = append(f1valf59f2, f1valf59f2elem) + f1valf61f2 = append(f1valf61f2, f1valf61f2elem) } - f1valf59.Paths = f1valf59f2 + f1valf61.Paths = f1valf61f2 } - f1val.SelectFields = f1valf59 + f1val.SelectFields = f1valf61 } if f1valiter.SelectFromCollection != nil { - f1valf60 := &svcapitypes.SelectFromCollection{} + f1valf62 := &svcapitypes.SelectFromCollection{} if f1valiter.SelectFromCollection.Index != nil { - f1valf60.Index = f1valiter.SelectFromCollection.Index + f1valf62.Index = f1valiter.SelectFromCollection.Index } if f1valiter.SelectFromCollection.Inputs != nil { - f1valf60f1 := []*string{} - for _, f1valf60f1iter := range f1valiter.SelectFromCollection.Inputs { - var f1valf60f1elem string - f1valf60f1elem = *f1valf60f1iter - f1valf60f1 = append(f1valf60f1, &f1valf60f1elem) + f1valf62f1 := []*string{} + for _, f1valf62f1iter := range f1valiter.SelectFromCollection.Inputs { + var f1valf62f1elem string + f1valf62f1elem = *f1valf62f1iter + f1valf62f1 = append(f1valf62f1, &f1valf62f1elem) } - f1valf60.Inputs = f1valf60f1 + f1valf62.Inputs = f1valf62f1 } if f1valiter.SelectFromCollection.Name != nil { - f1valf60.Name = f1valiter.SelectFromCollection.Name + f1valf62.Name = f1valiter.SelectFromCollection.Name } - f1val.SelectFromCollection = f1valf60 + f1val.SelectFromCollection = f1valf62 } if f1valiter.SnowflakeSource != nil { - f1valf61 := &svcapitypes.SnowflakeSource{} + f1valf63 := &svcapitypes.SnowflakeSource{} if f1valiter.SnowflakeSource.Data != nil { - f1valf61f0 := &svcapitypes.SnowflakeNodeData{} + f1valf63f0 := &svcapitypes.SnowflakeNodeData{} if f1valiter.SnowflakeSource.Data.Action != nil { - f1valf61f0.Action = f1valiter.SnowflakeSource.Data.Action + f1valf63f0.Action = f1valiter.SnowflakeSource.Data.Action } if f1valiter.SnowflakeSource.Data.AdditionalOptions != nil { - f1valf61f0f1 := map[string]*string{} - for f1valf61f0f1key, f1valf61f0f1valiter := range f1valiter.SnowflakeSource.Data.AdditionalOptions { - var f1valf61f0f1val string - f1valf61f0f1val = *f1valf61f0f1valiter - f1valf61f0f1[f1valf61f0f1key] = &f1valf61f0f1val + f1valf63f0f1 := map[string]*string{} + for f1valf63f0f1key, f1valf63f0f1valiter := range f1valiter.SnowflakeSource.Data.AdditionalOptions { + var f1valf63f0f1val string + f1valf63f0f1val = *f1valf63f0f1valiter + f1valf63f0f1[f1valf63f0f1key] = &f1valf63f0f1val } - f1valf61f0.AdditionalOptions = f1valf61f0f1 + f1valf63f0.AdditionalOptions = f1valf63f0f1 } if f1valiter.SnowflakeSource.Data.AutoPushdown != nil { - f1valf61f0.AutoPushdown = f1valiter.SnowflakeSource.Data.AutoPushdown + f1valf63f0.AutoPushdown = f1valiter.SnowflakeSource.Data.AutoPushdown } if f1valiter.SnowflakeSource.Data.Connection != nil { - f1valf61f0f3 := &svcapitypes.Option{} + f1valf63f0f3 := &svcapitypes.Option{} if f1valiter.SnowflakeSource.Data.Connection.Description != nil { - f1valf61f0f3.Description = f1valiter.SnowflakeSource.Data.Connection.Description + f1valf63f0f3.Description = f1valiter.SnowflakeSource.Data.Connection.Description } if f1valiter.SnowflakeSource.Data.Connection.Label != nil { - f1valf61f0f3.Label = f1valiter.SnowflakeSource.Data.Connection.Label + f1valf63f0f3.Label = f1valiter.SnowflakeSource.Data.Connection.Label } if f1valiter.SnowflakeSource.Data.Connection.Value != nil { - f1valf61f0f3.Value = f1valiter.SnowflakeSource.Data.Connection.Value + f1valf63f0f3.Value = f1valiter.SnowflakeSource.Data.Connection.Value } - f1valf61f0.Connection = f1valf61f0f3 + f1valf63f0.Connection = f1valf63f0f3 } if f1valiter.SnowflakeSource.Data.Database != nil { - f1valf61f0.Database = f1valiter.SnowflakeSource.Data.Database + f1valf63f0.Database = f1valiter.SnowflakeSource.Data.Database } if f1valiter.SnowflakeSource.Data.IamRole != nil { - f1valf61f0f5 := &svcapitypes.Option{} + f1valf63f0f5 := &svcapitypes.Option{} if f1valiter.SnowflakeSource.Data.IamRole.Description != nil { - f1valf61f0f5.Description = f1valiter.SnowflakeSource.Data.IamRole.Description + f1valf63f0f5.Description = f1valiter.SnowflakeSource.Data.IamRole.Description } if f1valiter.SnowflakeSource.Data.IamRole.Label != nil { - f1valf61f0f5.Label = f1valiter.SnowflakeSource.Data.IamRole.Label + f1valf63f0f5.Label = f1valiter.SnowflakeSource.Data.IamRole.Label } if f1valiter.SnowflakeSource.Data.IamRole.Value != nil { - f1valf61f0f5.Value = f1valiter.SnowflakeSource.Data.IamRole.Value + f1valf63f0f5.Value = f1valiter.SnowflakeSource.Data.IamRole.Value } - f1valf61f0.IAMRole = f1valf61f0f5 + f1valf63f0.IAMRole = f1valf63f0f5 } if f1valiter.SnowflakeSource.Data.MergeAction != nil { - f1valf61f0.MergeAction = f1valiter.SnowflakeSource.Data.MergeAction + f1valf63f0.MergeAction = f1valiter.SnowflakeSource.Data.MergeAction } if f1valiter.SnowflakeSource.Data.MergeClause != nil { - f1valf61f0.MergeClause = f1valiter.SnowflakeSource.Data.MergeClause + f1valf63f0.MergeClause = f1valiter.SnowflakeSource.Data.MergeClause } if f1valiter.SnowflakeSource.Data.MergeWhenMatched != nil { - f1valf61f0.MergeWhenMatched = f1valiter.SnowflakeSource.Data.MergeWhenMatched + f1valf63f0.MergeWhenMatched = f1valiter.SnowflakeSource.Data.MergeWhenMatched } if f1valiter.SnowflakeSource.Data.MergeWhenNotMatched != nil { - f1valf61f0.MergeWhenNotMatched = f1valiter.SnowflakeSource.Data.MergeWhenNotMatched + f1valf63f0.MergeWhenNotMatched = f1valiter.SnowflakeSource.Data.MergeWhenNotMatched } if f1valiter.SnowflakeSource.Data.PostAction != nil { - f1valf61f0.PostAction = f1valiter.SnowflakeSource.Data.PostAction + f1valf63f0.PostAction = f1valiter.SnowflakeSource.Data.PostAction } if f1valiter.SnowflakeSource.Data.PreAction != nil { - f1valf61f0.PreAction = f1valiter.SnowflakeSource.Data.PreAction + f1valf63f0.PreAction = f1valiter.SnowflakeSource.Data.PreAction } if f1valiter.SnowflakeSource.Data.SampleQuery != nil { - f1valf61f0.SampleQuery = f1valiter.SnowflakeSource.Data.SampleQuery + f1valf63f0.SampleQuery = f1valiter.SnowflakeSource.Data.SampleQuery } if f1valiter.SnowflakeSource.Data.Schema != nil { - f1valf61f0.Schema = f1valiter.SnowflakeSource.Data.Schema + f1valf63f0.Schema = f1valiter.SnowflakeSource.Data.Schema } if f1valiter.SnowflakeSource.Data.SelectedColumns != nil { - f1valf61f0f14 := []*svcapitypes.Option{} - for _, f1valf61f0f14iter := range f1valiter.SnowflakeSource.Data.SelectedColumns { - f1valf61f0f14elem := &svcapitypes.Option{} - if f1valf61f0f14iter.Description != nil { - f1valf61f0f14elem.Description = f1valf61f0f14iter.Description + f1valf63f0f14 := []*svcapitypes.Option{} + for _, f1valf63f0f14iter := range f1valiter.SnowflakeSource.Data.SelectedColumns { + f1valf63f0f14elem := &svcapitypes.Option{} + if f1valf63f0f14iter.Description != nil { + f1valf63f0f14elem.Description = f1valf63f0f14iter.Description } - if f1valf61f0f14iter.Label != nil { - f1valf61f0f14elem.Label = f1valf61f0f14iter.Label + if f1valf63f0f14iter.Label != nil { + f1valf63f0f14elem.Label = f1valf63f0f14iter.Label } - if f1valf61f0f14iter.Value != nil { - f1valf61f0f14elem.Value = f1valf61f0f14iter.Value + if f1valf63f0f14iter.Value != nil { + f1valf63f0f14elem.Value = f1valf63f0f14iter.Value } - f1valf61f0f14 = append(f1valf61f0f14, f1valf61f0f14elem) + f1valf63f0f14 = append(f1valf63f0f14, f1valf63f0f14elem) } - f1valf61f0.SelectedColumns = f1valf61f0f14 + f1valf63f0.SelectedColumns = f1valf63f0f14 } if f1valiter.SnowflakeSource.Data.SourceType != nil { - f1valf61f0.SourceType = f1valiter.SnowflakeSource.Data.SourceType + f1valf63f0.SourceType = f1valiter.SnowflakeSource.Data.SourceType } if f1valiter.SnowflakeSource.Data.StagingTable != nil { - f1valf61f0.StagingTable = f1valiter.SnowflakeSource.Data.StagingTable + f1valf63f0.StagingTable = f1valiter.SnowflakeSource.Data.StagingTable } if f1valiter.SnowflakeSource.Data.Table != nil { - f1valf61f0.Table = f1valiter.SnowflakeSource.Data.Table + f1valf63f0.Table = f1valiter.SnowflakeSource.Data.Table } if f1valiter.SnowflakeSource.Data.TableSchema != nil { - f1valf61f0f18 := []*svcapitypes.Option{} - for _, f1valf61f0f18iter := range f1valiter.SnowflakeSource.Data.TableSchema { - f1valf61f0f18elem := &svcapitypes.Option{} - if f1valf61f0f18iter.Description != nil { - f1valf61f0f18elem.Description = f1valf61f0f18iter.Description + f1valf63f0f18 := []*svcapitypes.Option{} + for _, f1valf63f0f18iter := range f1valiter.SnowflakeSource.Data.TableSchema { + f1valf63f0f18elem := &svcapitypes.Option{} + if f1valf63f0f18iter.Description != nil { + f1valf63f0f18elem.Description = f1valf63f0f18iter.Description } - if f1valf61f0f18iter.Label != nil { - f1valf61f0f18elem.Label = f1valf61f0f18iter.Label + if f1valf63f0f18iter.Label != nil { + f1valf63f0f18elem.Label = f1valf63f0f18iter.Label } - if f1valf61f0f18iter.Value != nil { - f1valf61f0f18elem.Value = f1valf61f0f18iter.Value + if f1valf63f0f18iter.Value != nil { + f1valf63f0f18elem.Value = f1valf63f0f18iter.Value } - f1valf61f0f18 = append(f1valf61f0f18, f1valf61f0f18elem) + f1valf63f0f18 = append(f1valf63f0f18, f1valf63f0f18elem) } - f1valf61f0.TableSchema = f1valf61f0f18 + f1valf63f0.TableSchema = f1valf63f0f18 } if f1valiter.SnowflakeSource.Data.TempDir != nil { - f1valf61f0.TempDir = f1valiter.SnowflakeSource.Data.TempDir + f1valf63f0.TempDir = f1valiter.SnowflakeSource.Data.TempDir } if f1valiter.SnowflakeSource.Data.Upsert != nil { - f1valf61f0.Upsert = f1valiter.SnowflakeSource.Data.Upsert + f1valf63f0.Upsert = f1valiter.SnowflakeSource.Data.Upsert } - f1valf61.Data = f1valf61f0 + f1valf63.Data = f1valf63f0 } if f1valiter.SnowflakeSource.Name != nil { - f1valf61.Name = f1valiter.SnowflakeSource.Name + f1valf63.Name = f1valiter.SnowflakeSource.Name } if f1valiter.SnowflakeSource.OutputSchemas != nil { - f1valf61f2 := []*svcapitypes.GlueSchema{} - for _, f1valf61f2iter := range f1valiter.SnowflakeSource.OutputSchemas { - f1valf61f2elem := &svcapitypes.GlueSchema{} - if f1valf61f2iter.Columns != nil { - f1valf61f2elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} - for _, f1valf61f2elemf0iter := range f1valf61f2iter.Columns { - f1valf61f2elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} - if f1valf61f2elemf0iter.Name != nil { - f1valf61f2elemf0elem.Name = f1valf61f2elemf0iter.Name + f1valf63f2 := []*svcapitypes.GlueSchema{} + for _, f1valf63f2iter := range f1valiter.SnowflakeSource.OutputSchemas { + f1valf63f2elem := &svcapitypes.GlueSchema{} + if f1valf63f2iter.Columns != nil { + f1valf63f2elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} + for _, f1valf63f2elemf0iter := range f1valf63f2iter.Columns { + f1valf63f2elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} + if f1valf63f2elemf0iter.Name != nil { + f1valf63f2elemf0elem.Name = f1valf63f2elemf0iter.Name } - if f1valf61f2elemf0iter.Type != nil { - f1valf61f2elemf0elem.Type = f1valf61f2elemf0iter.Type + if f1valf63f2elemf0iter.Type != nil { + f1valf63f2elemf0elem.Type = f1valf63f2elemf0iter.Type } - f1valf61f2elemf0 = append(f1valf61f2elemf0, f1valf61f2elemf0elem) + f1valf63f2elemf0 = append(f1valf63f2elemf0, f1valf63f2elemf0elem) } - f1valf61f2elem.Columns = f1valf61f2elemf0 + f1valf63f2elem.Columns = f1valf63f2elemf0 } - f1valf61f2 = append(f1valf61f2, f1valf61f2elem) + f1valf63f2 = append(f1valf63f2, f1valf63f2elem) } - f1valf61.OutputSchemas = f1valf61f2 + f1valf63.OutputSchemas = f1valf63f2 } - f1val.SnowflakeSource = f1valf61 + f1val.SnowflakeSource = f1valf63 } if f1valiter.SnowflakeTarget != nil { - f1valf62 := &svcapitypes.SnowflakeTarget{} + f1valf64 := &svcapitypes.SnowflakeTarget{} if f1valiter.SnowflakeTarget.Data != nil { - f1valf62f0 := &svcapitypes.SnowflakeNodeData{} + f1valf64f0 := &svcapitypes.SnowflakeNodeData{} if f1valiter.SnowflakeTarget.Data.Action != nil { - f1valf62f0.Action = f1valiter.SnowflakeTarget.Data.Action + f1valf64f0.Action = f1valiter.SnowflakeTarget.Data.Action } if f1valiter.SnowflakeTarget.Data.AdditionalOptions != nil { - f1valf62f0f1 := map[string]*string{} - for f1valf62f0f1key, f1valf62f0f1valiter := range f1valiter.SnowflakeTarget.Data.AdditionalOptions { - var f1valf62f0f1val string - f1valf62f0f1val = *f1valf62f0f1valiter - f1valf62f0f1[f1valf62f0f1key] = &f1valf62f0f1val + f1valf64f0f1 := map[string]*string{} + for f1valf64f0f1key, f1valf64f0f1valiter := range f1valiter.SnowflakeTarget.Data.AdditionalOptions { + var f1valf64f0f1val string + f1valf64f0f1val = *f1valf64f0f1valiter + f1valf64f0f1[f1valf64f0f1key] = &f1valf64f0f1val } - f1valf62f0.AdditionalOptions = f1valf62f0f1 + f1valf64f0.AdditionalOptions = f1valf64f0f1 } if f1valiter.SnowflakeTarget.Data.AutoPushdown != nil { - f1valf62f0.AutoPushdown = f1valiter.SnowflakeTarget.Data.AutoPushdown + f1valf64f0.AutoPushdown = f1valiter.SnowflakeTarget.Data.AutoPushdown } if f1valiter.SnowflakeTarget.Data.Connection != nil { - f1valf62f0f3 := &svcapitypes.Option{} + f1valf64f0f3 := &svcapitypes.Option{} if f1valiter.SnowflakeTarget.Data.Connection.Description != nil { - f1valf62f0f3.Description = f1valiter.SnowflakeTarget.Data.Connection.Description + f1valf64f0f3.Description = f1valiter.SnowflakeTarget.Data.Connection.Description } if f1valiter.SnowflakeTarget.Data.Connection.Label != nil { - f1valf62f0f3.Label = f1valiter.SnowflakeTarget.Data.Connection.Label + f1valf64f0f3.Label = f1valiter.SnowflakeTarget.Data.Connection.Label } if f1valiter.SnowflakeTarget.Data.Connection.Value != nil { - f1valf62f0f3.Value = f1valiter.SnowflakeTarget.Data.Connection.Value + f1valf64f0f3.Value = f1valiter.SnowflakeTarget.Data.Connection.Value } - f1valf62f0.Connection = f1valf62f0f3 + f1valf64f0.Connection = f1valf64f0f3 } if f1valiter.SnowflakeTarget.Data.Database != nil { - f1valf62f0.Database = f1valiter.SnowflakeTarget.Data.Database + f1valf64f0.Database = f1valiter.SnowflakeTarget.Data.Database } if f1valiter.SnowflakeTarget.Data.IamRole != nil { - f1valf62f0f5 := &svcapitypes.Option{} + f1valf64f0f5 := &svcapitypes.Option{} if f1valiter.SnowflakeTarget.Data.IamRole.Description != nil { - f1valf62f0f5.Description = f1valiter.SnowflakeTarget.Data.IamRole.Description + f1valf64f0f5.Description = f1valiter.SnowflakeTarget.Data.IamRole.Description } if f1valiter.SnowflakeTarget.Data.IamRole.Label != nil { - f1valf62f0f5.Label = f1valiter.SnowflakeTarget.Data.IamRole.Label + f1valf64f0f5.Label = f1valiter.SnowflakeTarget.Data.IamRole.Label } if f1valiter.SnowflakeTarget.Data.IamRole.Value != nil { - f1valf62f0f5.Value = f1valiter.SnowflakeTarget.Data.IamRole.Value + f1valf64f0f5.Value = f1valiter.SnowflakeTarget.Data.IamRole.Value } - f1valf62f0.IAMRole = f1valf62f0f5 + f1valf64f0.IAMRole = f1valf64f0f5 } if f1valiter.SnowflakeTarget.Data.MergeAction != nil { - f1valf62f0.MergeAction = f1valiter.SnowflakeTarget.Data.MergeAction + f1valf64f0.MergeAction = f1valiter.SnowflakeTarget.Data.MergeAction } if f1valiter.SnowflakeTarget.Data.MergeClause != nil { - f1valf62f0.MergeClause = f1valiter.SnowflakeTarget.Data.MergeClause + f1valf64f0.MergeClause = f1valiter.SnowflakeTarget.Data.MergeClause } if f1valiter.SnowflakeTarget.Data.MergeWhenMatched != nil { - f1valf62f0.MergeWhenMatched = f1valiter.SnowflakeTarget.Data.MergeWhenMatched + f1valf64f0.MergeWhenMatched = f1valiter.SnowflakeTarget.Data.MergeWhenMatched } if f1valiter.SnowflakeTarget.Data.MergeWhenNotMatched != nil { - f1valf62f0.MergeWhenNotMatched = f1valiter.SnowflakeTarget.Data.MergeWhenNotMatched + f1valf64f0.MergeWhenNotMatched = f1valiter.SnowflakeTarget.Data.MergeWhenNotMatched } if f1valiter.SnowflakeTarget.Data.PostAction != nil { - f1valf62f0.PostAction = f1valiter.SnowflakeTarget.Data.PostAction + f1valf64f0.PostAction = f1valiter.SnowflakeTarget.Data.PostAction } if f1valiter.SnowflakeTarget.Data.PreAction != nil { - f1valf62f0.PreAction = f1valiter.SnowflakeTarget.Data.PreAction + f1valf64f0.PreAction = f1valiter.SnowflakeTarget.Data.PreAction } if f1valiter.SnowflakeTarget.Data.SampleQuery != nil { - f1valf62f0.SampleQuery = f1valiter.SnowflakeTarget.Data.SampleQuery + f1valf64f0.SampleQuery = f1valiter.SnowflakeTarget.Data.SampleQuery } if f1valiter.SnowflakeTarget.Data.Schema != nil { - f1valf62f0.Schema = f1valiter.SnowflakeTarget.Data.Schema + f1valf64f0.Schema = f1valiter.SnowflakeTarget.Data.Schema } if f1valiter.SnowflakeTarget.Data.SelectedColumns != nil { - f1valf62f0f14 := []*svcapitypes.Option{} - for _, f1valf62f0f14iter := range f1valiter.SnowflakeTarget.Data.SelectedColumns { - f1valf62f0f14elem := &svcapitypes.Option{} - if f1valf62f0f14iter.Description != nil { - f1valf62f0f14elem.Description = f1valf62f0f14iter.Description + f1valf64f0f14 := []*svcapitypes.Option{} + for _, f1valf64f0f14iter := range f1valiter.SnowflakeTarget.Data.SelectedColumns { + f1valf64f0f14elem := &svcapitypes.Option{} + if f1valf64f0f14iter.Description != nil { + f1valf64f0f14elem.Description = f1valf64f0f14iter.Description } - if f1valf62f0f14iter.Label != nil { - f1valf62f0f14elem.Label = f1valf62f0f14iter.Label + if f1valf64f0f14iter.Label != nil { + f1valf64f0f14elem.Label = f1valf64f0f14iter.Label } - if f1valf62f0f14iter.Value != nil { - f1valf62f0f14elem.Value = f1valf62f0f14iter.Value + if f1valf64f0f14iter.Value != nil { + f1valf64f0f14elem.Value = f1valf64f0f14iter.Value } - f1valf62f0f14 = append(f1valf62f0f14, f1valf62f0f14elem) + f1valf64f0f14 = append(f1valf64f0f14, f1valf64f0f14elem) } - f1valf62f0.SelectedColumns = f1valf62f0f14 + f1valf64f0.SelectedColumns = f1valf64f0f14 } if f1valiter.SnowflakeTarget.Data.SourceType != nil { - f1valf62f0.SourceType = f1valiter.SnowflakeTarget.Data.SourceType + f1valf64f0.SourceType = f1valiter.SnowflakeTarget.Data.SourceType } if f1valiter.SnowflakeTarget.Data.StagingTable != nil { - f1valf62f0.StagingTable = f1valiter.SnowflakeTarget.Data.StagingTable + f1valf64f0.StagingTable = f1valiter.SnowflakeTarget.Data.StagingTable } if f1valiter.SnowflakeTarget.Data.Table != nil { - f1valf62f0.Table = f1valiter.SnowflakeTarget.Data.Table + f1valf64f0.Table = f1valiter.SnowflakeTarget.Data.Table } if f1valiter.SnowflakeTarget.Data.TableSchema != nil { - f1valf62f0f18 := []*svcapitypes.Option{} - for _, f1valf62f0f18iter := range f1valiter.SnowflakeTarget.Data.TableSchema { - f1valf62f0f18elem := &svcapitypes.Option{} - if f1valf62f0f18iter.Description != nil { - f1valf62f0f18elem.Description = f1valf62f0f18iter.Description + f1valf64f0f18 := []*svcapitypes.Option{} + for _, f1valf64f0f18iter := range f1valiter.SnowflakeTarget.Data.TableSchema { + f1valf64f0f18elem := &svcapitypes.Option{} + if f1valf64f0f18iter.Description != nil { + f1valf64f0f18elem.Description = f1valf64f0f18iter.Description } - if f1valf62f0f18iter.Label != nil { - f1valf62f0f18elem.Label = f1valf62f0f18iter.Label + if f1valf64f0f18iter.Label != nil { + f1valf64f0f18elem.Label = f1valf64f0f18iter.Label } - if f1valf62f0f18iter.Value != nil { - f1valf62f0f18elem.Value = f1valf62f0f18iter.Value + if f1valf64f0f18iter.Value != nil { + f1valf64f0f18elem.Value = f1valf64f0f18iter.Value } - f1valf62f0f18 = append(f1valf62f0f18, f1valf62f0f18elem) + f1valf64f0f18 = append(f1valf64f0f18, f1valf64f0f18elem) } - f1valf62f0.TableSchema = f1valf62f0f18 + f1valf64f0.TableSchema = f1valf64f0f18 } if f1valiter.SnowflakeTarget.Data.TempDir != nil { - f1valf62f0.TempDir = f1valiter.SnowflakeTarget.Data.TempDir + f1valf64f0.TempDir = f1valiter.SnowflakeTarget.Data.TempDir } if f1valiter.SnowflakeTarget.Data.Upsert != nil { - f1valf62f0.Upsert = f1valiter.SnowflakeTarget.Data.Upsert + f1valf64f0.Upsert = f1valiter.SnowflakeTarget.Data.Upsert } - f1valf62.Data = f1valf62f0 + f1valf64.Data = f1valf64f0 } if f1valiter.SnowflakeTarget.Inputs != nil { - f1valf62f1 := []*string{} - for _, f1valf62f1iter := range f1valiter.SnowflakeTarget.Inputs { - var f1valf62f1elem string - f1valf62f1elem = *f1valf62f1iter - f1valf62f1 = append(f1valf62f1, &f1valf62f1elem) + f1valf64f1 := []*string{} + for _, f1valf64f1iter := range f1valiter.SnowflakeTarget.Inputs { + var f1valf64f1elem string + f1valf64f1elem = *f1valf64f1iter + f1valf64f1 = append(f1valf64f1, &f1valf64f1elem) } - f1valf62.Inputs = f1valf62f1 + f1valf64.Inputs = f1valf64f1 } if f1valiter.SnowflakeTarget.Name != nil { - f1valf62.Name = f1valiter.SnowflakeTarget.Name + f1valf64.Name = f1valiter.SnowflakeTarget.Name } - f1val.SnowflakeTarget = f1valf62 + f1val.SnowflakeTarget = f1valf64 } if f1valiter.SparkConnectorSource != nil { - f1valf63 := &svcapitypes.SparkConnectorSource{} + f1valf65 := &svcapitypes.SparkConnectorSource{} if f1valiter.SparkConnectorSource.AdditionalOptions != nil { - f1valf63f0 := map[string]*string{} - for f1valf63f0key, f1valf63f0valiter := range f1valiter.SparkConnectorSource.AdditionalOptions { - var f1valf63f0val string - f1valf63f0val = *f1valf63f0valiter - f1valf63f0[f1valf63f0key] = &f1valf63f0val + f1valf65f0 := map[string]*string{} + for f1valf65f0key, f1valf65f0valiter := range f1valiter.SparkConnectorSource.AdditionalOptions { + var f1valf65f0val string + f1valf65f0val = *f1valf65f0valiter + f1valf65f0[f1valf65f0key] = &f1valf65f0val } - f1valf63.AdditionalOptions = f1valf63f0 + f1valf65.AdditionalOptions = f1valf65f0 } if f1valiter.SparkConnectorSource.ConnectionName != nil { - f1valf63.ConnectionName = f1valiter.SparkConnectorSource.ConnectionName + f1valf65.ConnectionName = f1valiter.SparkConnectorSource.ConnectionName } if f1valiter.SparkConnectorSource.ConnectionType != nil { - f1valf63.ConnectionType = f1valiter.SparkConnectorSource.ConnectionType + f1valf65.ConnectionType = f1valiter.SparkConnectorSource.ConnectionType } if f1valiter.SparkConnectorSource.ConnectorName != nil { - f1valf63.ConnectorName = f1valiter.SparkConnectorSource.ConnectorName + f1valf65.ConnectorName = f1valiter.SparkConnectorSource.ConnectorName } if f1valiter.SparkConnectorSource.Name != nil { - f1valf63.Name = f1valiter.SparkConnectorSource.Name + f1valf65.Name = f1valiter.SparkConnectorSource.Name } if f1valiter.SparkConnectorSource.OutputSchemas != nil { - f1valf63f5 := []*svcapitypes.GlueSchema{} - for _, f1valf63f5iter := range f1valiter.SparkConnectorSource.OutputSchemas { - f1valf63f5elem := &svcapitypes.GlueSchema{} - if f1valf63f5iter.Columns != nil { - f1valf63f5elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} - for _, f1valf63f5elemf0iter := range f1valf63f5iter.Columns { - f1valf63f5elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} - if f1valf63f5elemf0iter.Name != nil { - f1valf63f5elemf0elem.Name = f1valf63f5elemf0iter.Name + f1valf65f5 := []*svcapitypes.GlueSchema{} + for _, f1valf65f5iter := range f1valiter.SparkConnectorSource.OutputSchemas { + f1valf65f5elem := &svcapitypes.GlueSchema{} + if f1valf65f5iter.Columns != nil { + f1valf65f5elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} + for _, f1valf65f5elemf0iter := range f1valf65f5iter.Columns { + f1valf65f5elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} + if f1valf65f5elemf0iter.Name != nil { + f1valf65f5elemf0elem.Name = f1valf65f5elemf0iter.Name } - if f1valf63f5elemf0iter.Type != nil { - f1valf63f5elemf0elem.Type = f1valf63f5elemf0iter.Type + if f1valf65f5elemf0iter.Type != nil { + f1valf65f5elemf0elem.Type = f1valf65f5elemf0iter.Type } - f1valf63f5elemf0 = append(f1valf63f5elemf0, f1valf63f5elemf0elem) + f1valf65f5elemf0 = append(f1valf65f5elemf0, f1valf65f5elemf0elem) } - f1valf63f5elem.Columns = f1valf63f5elemf0 + f1valf65f5elem.Columns = f1valf65f5elemf0 } - f1valf63f5 = append(f1valf63f5, f1valf63f5elem) + f1valf65f5 = append(f1valf65f5, f1valf65f5elem) } - f1valf63.OutputSchemas = f1valf63f5 + f1valf65.OutputSchemas = f1valf65f5 } - f1val.SparkConnectorSource = f1valf63 + f1val.SparkConnectorSource = f1valf65 } if f1valiter.SparkConnectorTarget != nil { - f1valf64 := &svcapitypes.SparkConnectorTarget{} + f1valf66 := &svcapitypes.SparkConnectorTarget{} if f1valiter.SparkConnectorTarget.AdditionalOptions != nil { - f1valf64f0 := map[string]*string{} - for f1valf64f0key, f1valf64f0valiter := range f1valiter.SparkConnectorTarget.AdditionalOptions { - var f1valf64f0val string - f1valf64f0val = *f1valf64f0valiter - f1valf64f0[f1valf64f0key] = &f1valf64f0val + f1valf66f0 := map[string]*string{} + for f1valf66f0key, f1valf66f0valiter := range f1valiter.SparkConnectorTarget.AdditionalOptions { + var f1valf66f0val string + f1valf66f0val = *f1valf66f0valiter + f1valf66f0[f1valf66f0key] = &f1valf66f0val } - f1valf64.AdditionalOptions = f1valf64f0 + f1valf66.AdditionalOptions = f1valf66f0 } if f1valiter.SparkConnectorTarget.ConnectionName != nil { - f1valf64.ConnectionName = f1valiter.SparkConnectorTarget.ConnectionName + f1valf66.ConnectionName = f1valiter.SparkConnectorTarget.ConnectionName } if f1valiter.SparkConnectorTarget.ConnectionType != nil { - f1valf64.ConnectionType = f1valiter.SparkConnectorTarget.ConnectionType + f1valf66.ConnectionType = f1valiter.SparkConnectorTarget.ConnectionType } if f1valiter.SparkConnectorTarget.ConnectorName != nil { - f1valf64.ConnectorName = f1valiter.SparkConnectorTarget.ConnectorName + f1valf66.ConnectorName = f1valiter.SparkConnectorTarget.ConnectorName } if f1valiter.SparkConnectorTarget.Inputs != nil { - f1valf64f4 := []*string{} - for _, f1valf64f4iter := range f1valiter.SparkConnectorTarget.Inputs { - var f1valf64f4elem string - f1valf64f4elem = *f1valf64f4iter - f1valf64f4 = append(f1valf64f4, &f1valf64f4elem) + f1valf66f4 := []*string{} + for _, f1valf66f4iter := range f1valiter.SparkConnectorTarget.Inputs { + var f1valf66f4elem string + f1valf66f4elem = *f1valf66f4iter + f1valf66f4 = append(f1valf66f4, &f1valf66f4elem) } - f1valf64.Inputs = f1valf64f4 + f1valf66.Inputs = f1valf66f4 } if f1valiter.SparkConnectorTarget.Name != nil { - f1valf64.Name = f1valiter.SparkConnectorTarget.Name + f1valf66.Name = f1valiter.SparkConnectorTarget.Name } if f1valiter.SparkConnectorTarget.OutputSchemas != nil { - f1valf64f6 := []*svcapitypes.GlueSchema{} - for _, f1valf64f6iter := range f1valiter.SparkConnectorTarget.OutputSchemas { - f1valf64f6elem := &svcapitypes.GlueSchema{} - if f1valf64f6iter.Columns != nil { - f1valf64f6elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} - for _, f1valf64f6elemf0iter := range f1valf64f6iter.Columns { - f1valf64f6elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} - if f1valf64f6elemf0iter.Name != nil { - f1valf64f6elemf0elem.Name = f1valf64f6elemf0iter.Name + f1valf66f6 := []*svcapitypes.GlueSchema{} + for _, f1valf66f6iter := range f1valiter.SparkConnectorTarget.OutputSchemas { + f1valf66f6elem := &svcapitypes.GlueSchema{} + if f1valf66f6iter.Columns != nil { + f1valf66f6elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} + for _, f1valf66f6elemf0iter := range f1valf66f6iter.Columns { + f1valf66f6elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} + if f1valf66f6elemf0iter.Name != nil { + f1valf66f6elemf0elem.Name = f1valf66f6elemf0iter.Name } - if f1valf64f6elemf0iter.Type != nil { - f1valf64f6elemf0elem.Type = f1valf64f6elemf0iter.Type + if f1valf66f6elemf0iter.Type != nil { + f1valf66f6elemf0elem.Type = f1valf66f6elemf0iter.Type } - f1valf64f6elemf0 = append(f1valf64f6elemf0, f1valf64f6elemf0elem) + f1valf66f6elemf0 = append(f1valf66f6elemf0, f1valf66f6elemf0elem) } - f1valf64f6elem.Columns = f1valf64f6elemf0 + f1valf66f6elem.Columns = f1valf66f6elemf0 } - f1valf64f6 = append(f1valf64f6, f1valf64f6elem) + f1valf66f6 = append(f1valf66f6, f1valf66f6elem) } - f1valf64.OutputSchemas = f1valf64f6 + f1valf66.OutputSchemas = f1valf66f6 } - f1val.SparkConnectorTarget = f1valf64 + f1val.SparkConnectorTarget = f1valf66 } if f1valiter.SparkSQL != nil { - f1valf65 := &svcapitypes.SparkSQL{} + f1valf67 := &svcapitypes.SparkSQL{} if f1valiter.SparkSQL.Inputs != nil { - f1valf65f0 := []*string{} - for _, f1valf65f0iter := range f1valiter.SparkSQL.Inputs { - var f1valf65f0elem string - f1valf65f0elem = *f1valf65f0iter - f1valf65f0 = append(f1valf65f0, &f1valf65f0elem) + f1valf67f0 := []*string{} + for _, f1valf67f0iter := range f1valiter.SparkSQL.Inputs { + var f1valf67f0elem string + f1valf67f0elem = *f1valf67f0iter + f1valf67f0 = append(f1valf67f0, &f1valf67f0elem) } - f1valf65.Inputs = f1valf65f0 + f1valf67.Inputs = f1valf67f0 } if f1valiter.SparkSQL.Name != nil { - f1valf65.Name = f1valiter.SparkSQL.Name + f1valf67.Name = f1valiter.SparkSQL.Name } if f1valiter.SparkSQL.OutputSchemas != nil { - f1valf65f2 := []*svcapitypes.GlueSchema{} - for _, f1valf65f2iter := range f1valiter.SparkSQL.OutputSchemas { - f1valf65f2elem := &svcapitypes.GlueSchema{} - if f1valf65f2iter.Columns != nil { - f1valf65f2elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} - for _, f1valf65f2elemf0iter := range f1valf65f2iter.Columns { - f1valf65f2elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} - if f1valf65f2elemf0iter.Name != nil { - f1valf65f2elemf0elem.Name = f1valf65f2elemf0iter.Name + f1valf67f2 := []*svcapitypes.GlueSchema{} + for _, f1valf67f2iter := range f1valiter.SparkSQL.OutputSchemas { + f1valf67f2elem := &svcapitypes.GlueSchema{} + if f1valf67f2iter.Columns != nil { + f1valf67f2elemf0 := []*svcapitypes.GlueStudioSchemaColumn{} + for _, f1valf67f2elemf0iter := range f1valf67f2iter.Columns { + f1valf67f2elemf0elem := &svcapitypes.GlueStudioSchemaColumn{} + if f1valf67f2elemf0iter.Name != nil { + f1valf67f2elemf0elem.Name = f1valf67f2elemf0iter.Name } - if f1valf65f2elemf0iter.Type != nil { - f1valf65f2elemf0elem.Type = f1valf65f2elemf0iter.Type + if f1valf67f2elemf0iter.Type != nil { + f1valf67f2elemf0elem.Type = f1valf67f2elemf0iter.Type } - f1valf65f2elemf0 = append(f1valf65f2elemf0, f1valf65f2elemf0elem) + f1valf67f2elemf0 = append(f1valf67f2elemf0, f1valf67f2elemf0elem) } - f1valf65f2elem.Columns = f1valf65f2elemf0 + f1valf67f2elem.Columns = f1valf67f2elemf0 } - f1valf65f2 = append(f1valf65f2, f1valf65f2elem) + f1valf67f2 = append(f1valf67f2, f1valf67f2elem) } - f1valf65.OutputSchemas = f1valf65f2 + f1valf67.OutputSchemas = f1valf67f2 } if f1valiter.SparkSQL.SqlAliases != nil { - f1valf65f3 := []*svcapitypes.SQLAlias{} - for _, f1valf65f3iter := range f1valiter.SparkSQL.SqlAliases { - f1valf65f3elem := &svcapitypes.SQLAlias{} - if f1valf65f3iter.Alias != nil { - f1valf65f3elem.Alias = f1valf65f3iter.Alias + f1valf67f3 := []*svcapitypes.SQLAlias{} + for _, f1valf67f3iter := range f1valiter.SparkSQL.SqlAliases { + f1valf67f3elem := &svcapitypes.SQLAlias{} + if f1valf67f3iter.Alias != nil { + f1valf67f3elem.Alias = f1valf67f3iter.Alias } - if f1valf65f3iter.From != nil { - f1valf65f3elem.From = f1valf65f3iter.From + if f1valf67f3iter.From != nil { + f1valf67f3elem.From = f1valf67f3iter.From } - f1valf65f3 = append(f1valf65f3, f1valf65f3elem) + f1valf67f3 = append(f1valf67f3, f1valf67f3elem) } - f1valf65.SQLAliases = f1valf65f3 + f1valf67.SQLAliases = f1valf67f3 } if f1valiter.SparkSQL.SqlQuery != nil { - f1valf65.SQLQuery = f1valiter.SparkSQL.SqlQuery + f1valf67.SQLQuery = f1valiter.SparkSQL.SqlQuery } - f1val.SparkSQL = f1valf65 + f1val.SparkSQL = f1valf67 } if f1valiter.Spigot != nil { - f1valf66 := &svcapitypes.Spigot{} + f1valf68 := &svcapitypes.Spigot{} if f1valiter.Spigot.Inputs != nil { - f1valf66f0 := []*string{} - for _, f1valf66f0iter := range f1valiter.Spigot.Inputs { - var f1valf66f0elem string - f1valf66f0elem = *f1valf66f0iter - f1valf66f0 = append(f1valf66f0, &f1valf66f0elem) + f1valf68f0 := []*string{} + for _, f1valf68f0iter := range f1valiter.Spigot.Inputs { + var f1valf68f0elem string + f1valf68f0elem = *f1valf68f0iter + f1valf68f0 = append(f1valf68f0, &f1valf68f0elem) } - f1valf66.Inputs = f1valf66f0 + f1valf68.Inputs = f1valf68f0 } if f1valiter.Spigot.Name != nil { - f1valf66.Name = f1valiter.Spigot.Name + f1valf68.Name = f1valiter.Spigot.Name } if f1valiter.Spigot.Path != nil { - f1valf66.Path = f1valiter.Spigot.Path + f1valf68.Path = f1valiter.Spigot.Path } if f1valiter.Spigot.Prob != nil { - f1valf66.Prob = f1valiter.Spigot.Prob + f1valf68.Prob = f1valiter.Spigot.Prob } if f1valiter.Spigot.Topk != nil { - f1valf66.Topk = f1valiter.Spigot.Topk + f1valf68.Topk = f1valiter.Spigot.Topk } - f1val.Spigot = f1valf66 + f1val.Spigot = f1valf68 } if f1valiter.SplitFields != nil { - f1valf67 := &svcapitypes.SplitFields{} + f1valf69 := &svcapitypes.SplitFields{} if f1valiter.SplitFields.Inputs != nil { - f1valf67f0 := []*string{} - for _, f1valf67f0iter := range f1valiter.SplitFields.Inputs { - var f1valf67f0elem string - f1valf67f0elem = *f1valf67f0iter - f1valf67f0 = append(f1valf67f0, &f1valf67f0elem) + f1valf69f0 := []*string{} + for _, f1valf69f0iter := range f1valiter.SplitFields.Inputs { + var f1valf69f0elem string + f1valf69f0elem = *f1valf69f0iter + f1valf69f0 = append(f1valf69f0, &f1valf69f0elem) } - f1valf67.Inputs = f1valf67f0 + f1valf69.Inputs = f1valf69f0 } if f1valiter.SplitFields.Name != nil { - f1valf67.Name = f1valiter.SplitFields.Name + f1valf69.Name = f1valiter.SplitFields.Name } if f1valiter.SplitFields.Paths != nil { - f1valf67f2 := [][]*string{} - for _, f1valf67f2iter := range f1valiter.SplitFields.Paths { - f1valf67f2elem := []*string{} - for _, f1valf67f2elemiter := range f1valf67f2iter { - var f1valf67f2elemelem string - f1valf67f2elemelem = *f1valf67f2elemiter - f1valf67f2elem = append(f1valf67f2elem, &f1valf67f2elemelem) + f1valf69f2 := [][]*string{} + for _, f1valf69f2iter := range f1valiter.SplitFields.Paths { + f1valf69f2elem := []*string{} + for _, f1valf69f2elemiter := range f1valf69f2iter { + var f1valf69f2elemelem string + f1valf69f2elemelem = *f1valf69f2elemiter + f1valf69f2elem = append(f1valf69f2elem, &f1valf69f2elemelem) } - f1valf67f2 = append(f1valf67f2, f1valf67f2elem) + f1valf69f2 = append(f1valf69f2, f1valf69f2elem) } - f1valf67.Paths = f1valf67f2 + f1valf69.Paths = f1valf69f2 } - f1val.SplitFields = f1valf67 + f1val.SplitFields = f1valf69 } if f1valiter.Union != nil { - f1valf68 := &svcapitypes.Union{} + f1valf70 := &svcapitypes.Union{} if f1valiter.Union.Inputs != nil { - f1valf68f0 := []*string{} - for _, f1valf68f0iter := range f1valiter.Union.Inputs { - var f1valf68f0elem string - f1valf68f0elem = *f1valf68f0iter - f1valf68f0 = append(f1valf68f0, &f1valf68f0elem) + f1valf70f0 := []*string{} + for _, f1valf70f0iter := range f1valiter.Union.Inputs { + var f1valf70f0elem string + f1valf70f0elem = *f1valf70f0iter + f1valf70f0 = append(f1valf70f0, &f1valf70f0elem) } - f1valf68.Inputs = f1valf68f0 + f1valf70.Inputs = f1valf70f0 } if f1valiter.Union.Name != nil { - f1valf68.Name = f1valiter.Union.Name + f1valf70.Name = f1valiter.Union.Name } if f1valiter.Union.UnionType != nil { - f1valf68.UnionType = f1valiter.Union.UnionType + f1valf70.UnionType = f1valiter.Union.UnionType } - f1val.Union = f1valf68 + f1val.Union = f1valf70 } f1[f1key] = f1val } @@ -4580,2702 +4649,2771 @@ func GenerateCreateJobInput(cr *svcapitypes.Job) *svcsdk.CreateJobInput { } f1val.SetCatalogTarget(f1valf10) } + if f1valiter.ConnectorDataSource != nil { + f1valf11 := &svcsdk.ConnectorDataSource{} + if f1valiter.ConnectorDataSource.ConnectionType != nil { + f1valf11.SetConnectionType(*f1valiter.ConnectorDataSource.ConnectionType) + } + if f1valiter.ConnectorDataSource.Data != nil { + f1valf11f1 := map[string]*string{} + for f1valf11f1key, f1valf11f1valiter := range f1valiter.ConnectorDataSource.Data { + var f1valf11f1val string + f1valf11f1val = *f1valf11f1valiter + f1valf11f1[f1valf11f1key] = &f1valf11f1val + } + f1valf11.SetData(f1valf11f1) + } + if f1valiter.ConnectorDataSource.Name != nil { + f1valf11.SetName(*f1valiter.ConnectorDataSource.Name) + } + if f1valiter.ConnectorDataSource.OutputSchemas != nil { + f1valf11f3 := []*svcsdk.GlueSchema{} + for _, f1valf11f3iter := range f1valiter.ConnectorDataSource.OutputSchemas { + f1valf11f3elem := &svcsdk.GlueSchema{} + if f1valf11f3iter.Columns != nil { + f1valf11f3elemf0 := []*svcsdk.GlueStudioSchemaColumn{} + for _, f1valf11f3elemf0iter := range f1valf11f3iter.Columns { + f1valf11f3elemf0elem := &svcsdk.GlueStudioSchemaColumn{} + if f1valf11f3elemf0iter.Name != nil { + f1valf11f3elemf0elem.SetName(*f1valf11f3elemf0iter.Name) + } + if f1valf11f3elemf0iter.Type != nil { + f1valf11f3elemf0elem.SetType(*f1valf11f3elemf0iter.Type) + } + f1valf11f3elemf0 = append(f1valf11f3elemf0, f1valf11f3elemf0elem) + } + f1valf11f3elem.SetColumns(f1valf11f3elemf0) + } + f1valf11f3 = append(f1valf11f3, f1valf11f3elem) + } + f1valf11.SetOutputSchemas(f1valf11f3) + } + f1val.SetConnectorDataSource(f1valf11) + } + if f1valiter.ConnectorDataTarget != nil { + f1valf12 := &svcsdk.ConnectorDataTarget{} + if f1valiter.ConnectorDataTarget.ConnectionType != nil { + f1valf12.SetConnectionType(*f1valiter.ConnectorDataTarget.ConnectionType) + } + if f1valiter.ConnectorDataTarget.Data != nil { + f1valf12f1 := map[string]*string{} + for f1valf12f1key, f1valf12f1valiter := range f1valiter.ConnectorDataTarget.Data { + var f1valf12f1val string + f1valf12f1val = *f1valf12f1valiter + f1valf12f1[f1valf12f1key] = &f1valf12f1val + } + f1valf12.SetData(f1valf12f1) + } + if f1valiter.ConnectorDataTarget.Inputs != nil { + f1valf12f2 := []*string{} + for _, f1valf12f2iter := range f1valiter.ConnectorDataTarget.Inputs { + var f1valf12f2elem string + f1valf12f2elem = *f1valf12f2iter + f1valf12f2 = append(f1valf12f2, &f1valf12f2elem) + } + f1valf12.SetInputs(f1valf12f2) + } + if f1valiter.ConnectorDataTarget.Name != nil { + f1valf12.SetName(*f1valiter.ConnectorDataTarget.Name) + } + f1val.SetConnectorDataTarget(f1valf12) + } if f1valiter.CustomCode != nil { - f1valf11 := &svcsdk.CustomCode{} + f1valf13 := &svcsdk.CustomCode{} if f1valiter.CustomCode.ClassName != nil { - f1valf11.SetClassName(*f1valiter.CustomCode.ClassName) + f1valf13.SetClassName(*f1valiter.CustomCode.ClassName) } if f1valiter.CustomCode.Code != nil { - f1valf11.SetCode(*f1valiter.CustomCode.Code) + f1valf13.SetCode(*f1valiter.CustomCode.Code) } if f1valiter.CustomCode.Inputs != nil { - f1valf11f2 := []*string{} - for _, f1valf11f2iter := range f1valiter.CustomCode.Inputs { - var f1valf11f2elem string - f1valf11f2elem = *f1valf11f2iter - f1valf11f2 = append(f1valf11f2, &f1valf11f2elem) + f1valf13f2 := []*string{} + for _, f1valf13f2iter := range f1valiter.CustomCode.Inputs { + var f1valf13f2elem string + f1valf13f2elem = *f1valf13f2iter + f1valf13f2 = append(f1valf13f2, &f1valf13f2elem) } - f1valf11.SetInputs(f1valf11f2) + f1valf13.SetInputs(f1valf13f2) } if f1valiter.CustomCode.Name != nil { - f1valf11.SetName(*f1valiter.CustomCode.Name) + f1valf13.SetName(*f1valiter.CustomCode.Name) } if f1valiter.CustomCode.OutputSchemas != nil { - f1valf11f4 := []*svcsdk.GlueSchema{} - for _, f1valf11f4iter := range f1valiter.CustomCode.OutputSchemas { - f1valf11f4elem := &svcsdk.GlueSchema{} - if f1valf11f4iter.Columns != nil { - f1valf11f4elemf0 := []*svcsdk.GlueStudioSchemaColumn{} - for _, f1valf11f4elemf0iter := range f1valf11f4iter.Columns { - f1valf11f4elemf0elem := &svcsdk.GlueStudioSchemaColumn{} - if f1valf11f4elemf0iter.Name != nil { - f1valf11f4elemf0elem.SetName(*f1valf11f4elemf0iter.Name) + f1valf13f4 := []*svcsdk.GlueSchema{} + for _, f1valf13f4iter := range f1valiter.CustomCode.OutputSchemas { + f1valf13f4elem := &svcsdk.GlueSchema{} + if f1valf13f4iter.Columns != nil { + f1valf13f4elemf0 := []*svcsdk.GlueStudioSchemaColumn{} + for _, f1valf13f4elemf0iter := range f1valf13f4iter.Columns { + f1valf13f4elemf0elem := &svcsdk.GlueStudioSchemaColumn{} + if f1valf13f4elemf0iter.Name != nil { + f1valf13f4elemf0elem.SetName(*f1valf13f4elemf0iter.Name) } - if f1valf11f4elemf0iter.Type != nil { - f1valf11f4elemf0elem.SetType(*f1valf11f4elemf0iter.Type) + if f1valf13f4elemf0iter.Type != nil { + f1valf13f4elemf0elem.SetType(*f1valf13f4elemf0iter.Type) } - f1valf11f4elemf0 = append(f1valf11f4elemf0, f1valf11f4elemf0elem) + f1valf13f4elemf0 = append(f1valf13f4elemf0, f1valf13f4elemf0elem) } - f1valf11f4elem.SetColumns(f1valf11f4elemf0) + f1valf13f4elem.SetColumns(f1valf13f4elemf0) } - f1valf11f4 = append(f1valf11f4, f1valf11f4elem) + f1valf13f4 = append(f1valf13f4, f1valf13f4elem) } - f1valf11.SetOutputSchemas(f1valf11f4) + f1valf13.SetOutputSchemas(f1valf13f4) } - f1val.SetCustomCode(f1valf11) + f1val.SetCustomCode(f1valf13) } if f1valiter.DirectJDBCSource != nil { - f1valf12 := &svcsdk.DirectJDBCSource{} + f1valf14 := &svcsdk.DirectJDBCSource{} if f1valiter.DirectJDBCSource.ConnectionName != nil { - f1valf12.SetConnectionName(*f1valiter.DirectJDBCSource.ConnectionName) + f1valf14.SetConnectionName(*f1valiter.DirectJDBCSource.ConnectionName) } if f1valiter.DirectJDBCSource.ConnectionType != nil { - f1valf12.SetConnectionType(*f1valiter.DirectJDBCSource.ConnectionType) + f1valf14.SetConnectionType(*f1valiter.DirectJDBCSource.ConnectionType) } if f1valiter.DirectJDBCSource.Database != nil { - f1valf12.SetDatabase(*f1valiter.DirectJDBCSource.Database) + f1valf14.SetDatabase(*f1valiter.DirectJDBCSource.Database) } if f1valiter.DirectJDBCSource.Name != nil { - f1valf12.SetName(*f1valiter.DirectJDBCSource.Name) + f1valf14.SetName(*f1valiter.DirectJDBCSource.Name) } if f1valiter.DirectJDBCSource.RedshiftTmpDir != nil { - f1valf12.SetRedshiftTmpDir(*f1valiter.DirectJDBCSource.RedshiftTmpDir) + f1valf14.SetRedshiftTmpDir(*f1valiter.DirectJDBCSource.RedshiftTmpDir) } if f1valiter.DirectJDBCSource.Table != nil { - f1valf12.SetTable(*f1valiter.DirectJDBCSource.Table) + f1valf14.SetTable(*f1valiter.DirectJDBCSource.Table) } - f1val.SetDirectJDBCSource(f1valf12) + f1val.SetDirectJDBCSource(f1valf14) } if f1valiter.DirectKafkaSource != nil { - f1valf13 := &svcsdk.DirectKafkaSource{} + f1valf15 := &svcsdk.DirectKafkaSource{} if f1valiter.DirectKafkaSource.DataPreviewOptions != nil { - f1valf13f0 := &svcsdk.StreamingDataPreviewOptions{} + f1valf15f0 := &svcsdk.StreamingDataPreviewOptions{} if f1valiter.DirectKafkaSource.DataPreviewOptions.PollingTime != nil { - f1valf13f0.SetPollingTime(*f1valiter.DirectKafkaSource.DataPreviewOptions.PollingTime) + f1valf15f0.SetPollingTime(*f1valiter.DirectKafkaSource.DataPreviewOptions.PollingTime) } if f1valiter.DirectKafkaSource.DataPreviewOptions.RecordPollingLimit != nil { - f1valf13f0.SetRecordPollingLimit(*f1valiter.DirectKafkaSource.DataPreviewOptions.RecordPollingLimit) + f1valf15f0.SetRecordPollingLimit(*f1valiter.DirectKafkaSource.DataPreviewOptions.RecordPollingLimit) } - f1valf13.SetDataPreviewOptions(f1valf13f0) + f1valf15.SetDataPreviewOptions(f1valf15f0) } if f1valiter.DirectKafkaSource.DetectSchema != nil { - f1valf13.SetDetectSchema(*f1valiter.DirectKafkaSource.DetectSchema) + f1valf15.SetDetectSchema(*f1valiter.DirectKafkaSource.DetectSchema) } if f1valiter.DirectKafkaSource.Name != nil { - f1valf13.SetName(*f1valiter.DirectKafkaSource.Name) + f1valf15.SetName(*f1valiter.DirectKafkaSource.Name) } if f1valiter.DirectKafkaSource.StreamingOptions != nil { - f1valf13f3 := &svcsdk.KafkaStreamingSourceOptions{} + f1valf15f3 := &svcsdk.KafkaStreamingSourceOptions{} if f1valiter.DirectKafkaSource.StreamingOptions.AddRecordTimestamp != nil { - f1valf13f3.SetAddRecordTimestamp(*f1valiter.DirectKafkaSource.StreamingOptions.AddRecordTimestamp) + f1valf15f3.SetAddRecordTimestamp(*f1valiter.DirectKafkaSource.StreamingOptions.AddRecordTimestamp) } if f1valiter.DirectKafkaSource.StreamingOptions.Assign != nil { - f1valf13f3.SetAssign(*f1valiter.DirectKafkaSource.StreamingOptions.Assign) + f1valf15f3.SetAssign(*f1valiter.DirectKafkaSource.StreamingOptions.Assign) } if f1valiter.DirectKafkaSource.StreamingOptions.BootstrapServers != nil { - f1valf13f3.SetBootstrapServers(*f1valiter.DirectKafkaSource.StreamingOptions.BootstrapServers) + f1valf15f3.SetBootstrapServers(*f1valiter.DirectKafkaSource.StreamingOptions.BootstrapServers) } if f1valiter.DirectKafkaSource.StreamingOptions.Classification != nil { - f1valf13f3.SetClassification(*f1valiter.DirectKafkaSource.StreamingOptions.Classification) + f1valf15f3.SetClassification(*f1valiter.DirectKafkaSource.StreamingOptions.Classification) } if f1valiter.DirectKafkaSource.StreamingOptions.ConnectionName != nil { - f1valf13f3.SetConnectionName(*f1valiter.DirectKafkaSource.StreamingOptions.ConnectionName) + f1valf15f3.SetConnectionName(*f1valiter.DirectKafkaSource.StreamingOptions.ConnectionName) } if f1valiter.DirectKafkaSource.StreamingOptions.Delimiter != nil { - f1valf13f3.SetDelimiter(*f1valiter.DirectKafkaSource.StreamingOptions.Delimiter) + f1valf15f3.SetDelimiter(*f1valiter.DirectKafkaSource.StreamingOptions.Delimiter) } if f1valiter.DirectKafkaSource.StreamingOptions.EmitConsumerLagMetrics != nil { - f1valf13f3.SetEmitConsumerLagMetrics(*f1valiter.DirectKafkaSource.StreamingOptions.EmitConsumerLagMetrics) + f1valf15f3.SetEmitConsumerLagMetrics(*f1valiter.DirectKafkaSource.StreamingOptions.EmitConsumerLagMetrics) } if f1valiter.DirectKafkaSource.StreamingOptions.EndingOffsets != nil { - f1valf13f3.SetEndingOffsets(*f1valiter.DirectKafkaSource.StreamingOptions.EndingOffsets) + f1valf15f3.SetEndingOffsets(*f1valiter.DirectKafkaSource.StreamingOptions.EndingOffsets) } if f1valiter.DirectKafkaSource.StreamingOptions.IncludeHeaders != nil { - f1valf13f3.SetIncludeHeaders(*f1valiter.DirectKafkaSource.StreamingOptions.IncludeHeaders) + f1valf15f3.SetIncludeHeaders(*f1valiter.DirectKafkaSource.StreamingOptions.IncludeHeaders) } if f1valiter.DirectKafkaSource.StreamingOptions.MaxOffsetsPerTrigger != nil { - f1valf13f3.SetMaxOffsetsPerTrigger(*f1valiter.DirectKafkaSource.StreamingOptions.MaxOffsetsPerTrigger) + f1valf15f3.SetMaxOffsetsPerTrigger(*f1valiter.DirectKafkaSource.StreamingOptions.MaxOffsetsPerTrigger) } if f1valiter.DirectKafkaSource.StreamingOptions.MinPartitions != nil { - f1valf13f3.SetMinPartitions(*f1valiter.DirectKafkaSource.StreamingOptions.MinPartitions) + f1valf15f3.SetMinPartitions(*f1valiter.DirectKafkaSource.StreamingOptions.MinPartitions) } if f1valiter.DirectKafkaSource.StreamingOptions.NumRetries != nil { - f1valf13f3.SetNumRetries(*f1valiter.DirectKafkaSource.StreamingOptions.NumRetries) + f1valf15f3.SetNumRetries(*f1valiter.DirectKafkaSource.StreamingOptions.NumRetries) } if f1valiter.DirectKafkaSource.StreamingOptions.PollTimeoutMs != nil { - f1valf13f3.SetPollTimeoutMs(*f1valiter.DirectKafkaSource.StreamingOptions.PollTimeoutMs) + f1valf15f3.SetPollTimeoutMs(*f1valiter.DirectKafkaSource.StreamingOptions.PollTimeoutMs) } if f1valiter.DirectKafkaSource.StreamingOptions.RetryIntervalMs != nil { - f1valf13f3.SetRetryIntervalMs(*f1valiter.DirectKafkaSource.StreamingOptions.RetryIntervalMs) + f1valf15f3.SetRetryIntervalMs(*f1valiter.DirectKafkaSource.StreamingOptions.RetryIntervalMs) } if f1valiter.DirectKafkaSource.StreamingOptions.SecurityProtocol != nil { - f1valf13f3.SetSecurityProtocol(*f1valiter.DirectKafkaSource.StreamingOptions.SecurityProtocol) + f1valf15f3.SetSecurityProtocol(*f1valiter.DirectKafkaSource.StreamingOptions.SecurityProtocol) } if f1valiter.DirectKafkaSource.StreamingOptions.StartingOffsets != nil { - f1valf13f3.SetStartingOffsets(*f1valiter.DirectKafkaSource.StreamingOptions.StartingOffsets) + f1valf15f3.SetStartingOffsets(*f1valiter.DirectKafkaSource.StreamingOptions.StartingOffsets) } if f1valiter.DirectKafkaSource.StreamingOptions.StartingTimestamp != nil { - f1valf13f3.SetStartingTimestamp(f1valiter.DirectKafkaSource.StreamingOptions.StartingTimestamp.Time) + f1valf15f3.SetStartingTimestamp(f1valiter.DirectKafkaSource.StreamingOptions.StartingTimestamp.Time) } if f1valiter.DirectKafkaSource.StreamingOptions.SubscribePattern != nil { - f1valf13f3.SetSubscribePattern(*f1valiter.DirectKafkaSource.StreamingOptions.SubscribePattern) + f1valf15f3.SetSubscribePattern(*f1valiter.DirectKafkaSource.StreamingOptions.SubscribePattern) } if f1valiter.DirectKafkaSource.StreamingOptions.TopicName != nil { - f1valf13f3.SetTopicName(*f1valiter.DirectKafkaSource.StreamingOptions.TopicName) + f1valf15f3.SetTopicName(*f1valiter.DirectKafkaSource.StreamingOptions.TopicName) } - f1valf13.SetStreamingOptions(f1valf13f3) + f1valf15.SetStreamingOptions(f1valf15f3) } if f1valiter.DirectKafkaSource.WindowSize != nil { - f1valf13.SetWindowSize(*f1valiter.DirectKafkaSource.WindowSize) + f1valf15.SetWindowSize(*f1valiter.DirectKafkaSource.WindowSize) } - f1val.SetDirectKafkaSource(f1valf13) + f1val.SetDirectKafkaSource(f1valf15) } if f1valiter.DirectKinesisSource != nil { - f1valf14 := &svcsdk.DirectKinesisSource{} + f1valf16 := &svcsdk.DirectKinesisSource{} if f1valiter.DirectKinesisSource.DataPreviewOptions != nil { - f1valf14f0 := &svcsdk.StreamingDataPreviewOptions{} + f1valf16f0 := &svcsdk.StreamingDataPreviewOptions{} if f1valiter.DirectKinesisSource.DataPreviewOptions.PollingTime != nil { - f1valf14f0.SetPollingTime(*f1valiter.DirectKinesisSource.DataPreviewOptions.PollingTime) + f1valf16f0.SetPollingTime(*f1valiter.DirectKinesisSource.DataPreviewOptions.PollingTime) } if f1valiter.DirectKinesisSource.DataPreviewOptions.RecordPollingLimit != nil { - f1valf14f0.SetRecordPollingLimit(*f1valiter.DirectKinesisSource.DataPreviewOptions.RecordPollingLimit) + f1valf16f0.SetRecordPollingLimit(*f1valiter.DirectKinesisSource.DataPreviewOptions.RecordPollingLimit) } - f1valf14.SetDataPreviewOptions(f1valf14f0) + f1valf16.SetDataPreviewOptions(f1valf16f0) } if f1valiter.DirectKinesisSource.DetectSchema != nil { - f1valf14.SetDetectSchema(*f1valiter.DirectKinesisSource.DetectSchema) + f1valf16.SetDetectSchema(*f1valiter.DirectKinesisSource.DetectSchema) } if f1valiter.DirectKinesisSource.Name != nil { - f1valf14.SetName(*f1valiter.DirectKinesisSource.Name) + f1valf16.SetName(*f1valiter.DirectKinesisSource.Name) } if f1valiter.DirectKinesisSource.StreamingOptions != nil { - f1valf14f3 := &svcsdk.KinesisStreamingSourceOptions{} + f1valf16f3 := &svcsdk.KinesisStreamingSourceOptions{} if f1valiter.DirectKinesisSource.StreamingOptions.AddIdleTimeBetweenReads != nil { - f1valf14f3.SetAddIdleTimeBetweenReads(*f1valiter.DirectKinesisSource.StreamingOptions.AddIdleTimeBetweenReads) + f1valf16f3.SetAddIdleTimeBetweenReads(*f1valiter.DirectKinesisSource.StreamingOptions.AddIdleTimeBetweenReads) } if f1valiter.DirectKinesisSource.StreamingOptions.AddRecordTimestamp != nil { - f1valf14f3.SetAddRecordTimestamp(*f1valiter.DirectKinesisSource.StreamingOptions.AddRecordTimestamp) + f1valf16f3.SetAddRecordTimestamp(*f1valiter.DirectKinesisSource.StreamingOptions.AddRecordTimestamp) } if f1valiter.DirectKinesisSource.StreamingOptions.AvoidEmptyBatches != nil { - f1valf14f3.SetAvoidEmptyBatches(*f1valiter.DirectKinesisSource.StreamingOptions.AvoidEmptyBatches) + f1valf16f3.SetAvoidEmptyBatches(*f1valiter.DirectKinesisSource.StreamingOptions.AvoidEmptyBatches) } if f1valiter.DirectKinesisSource.StreamingOptions.Classification != nil { - f1valf14f3.SetClassification(*f1valiter.DirectKinesisSource.StreamingOptions.Classification) + f1valf16f3.SetClassification(*f1valiter.DirectKinesisSource.StreamingOptions.Classification) } if f1valiter.DirectKinesisSource.StreamingOptions.Delimiter != nil { - f1valf14f3.SetDelimiter(*f1valiter.DirectKinesisSource.StreamingOptions.Delimiter) + f1valf16f3.SetDelimiter(*f1valiter.DirectKinesisSource.StreamingOptions.Delimiter) } if f1valiter.DirectKinesisSource.StreamingOptions.DescribeShardInterval != nil { - f1valf14f3.SetDescribeShardInterval(*f1valiter.DirectKinesisSource.StreamingOptions.DescribeShardInterval) + f1valf16f3.SetDescribeShardInterval(*f1valiter.DirectKinesisSource.StreamingOptions.DescribeShardInterval) } if f1valiter.DirectKinesisSource.StreamingOptions.EmitConsumerLagMetrics != nil { - f1valf14f3.SetEmitConsumerLagMetrics(*f1valiter.DirectKinesisSource.StreamingOptions.EmitConsumerLagMetrics) + f1valf16f3.SetEmitConsumerLagMetrics(*f1valiter.DirectKinesisSource.StreamingOptions.EmitConsumerLagMetrics) } if f1valiter.DirectKinesisSource.StreamingOptions.EndpointURL != nil { - f1valf14f3.SetEndpointUrl(*f1valiter.DirectKinesisSource.StreamingOptions.EndpointURL) + f1valf16f3.SetEndpointUrl(*f1valiter.DirectKinesisSource.StreamingOptions.EndpointURL) } if f1valiter.DirectKinesisSource.StreamingOptions.IdleTimeBetweenReadsInMs != nil { - f1valf14f3.SetIdleTimeBetweenReadsInMs(*f1valiter.DirectKinesisSource.StreamingOptions.IdleTimeBetweenReadsInMs) + f1valf16f3.SetIdleTimeBetweenReadsInMs(*f1valiter.DirectKinesisSource.StreamingOptions.IdleTimeBetweenReadsInMs) } if f1valiter.DirectKinesisSource.StreamingOptions.MaxFetchRecordsPerShard != nil { - f1valf14f3.SetMaxFetchRecordsPerShard(*f1valiter.DirectKinesisSource.StreamingOptions.MaxFetchRecordsPerShard) + f1valf16f3.SetMaxFetchRecordsPerShard(*f1valiter.DirectKinesisSource.StreamingOptions.MaxFetchRecordsPerShard) } if f1valiter.DirectKinesisSource.StreamingOptions.MaxFetchTimeInMs != nil { - f1valf14f3.SetMaxFetchTimeInMs(*f1valiter.DirectKinesisSource.StreamingOptions.MaxFetchTimeInMs) + f1valf16f3.SetMaxFetchTimeInMs(*f1valiter.DirectKinesisSource.StreamingOptions.MaxFetchTimeInMs) } if f1valiter.DirectKinesisSource.StreamingOptions.MaxRecordPerRead != nil { - f1valf14f3.SetMaxRecordPerRead(*f1valiter.DirectKinesisSource.StreamingOptions.MaxRecordPerRead) + f1valf16f3.SetMaxRecordPerRead(*f1valiter.DirectKinesisSource.StreamingOptions.MaxRecordPerRead) } if f1valiter.DirectKinesisSource.StreamingOptions.MaxRetryIntervalMs != nil { - f1valf14f3.SetMaxRetryIntervalMs(*f1valiter.DirectKinesisSource.StreamingOptions.MaxRetryIntervalMs) + f1valf16f3.SetMaxRetryIntervalMs(*f1valiter.DirectKinesisSource.StreamingOptions.MaxRetryIntervalMs) } if f1valiter.DirectKinesisSource.StreamingOptions.NumRetries != nil { - f1valf14f3.SetNumRetries(*f1valiter.DirectKinesisSource.StreamingOptions.NumRetries) + f1valf16f3.SetNumRetries(*f1valiter.DirectKinesisSource.StreamingOptions.NumRetries) } if f1valiter.DirectKinesisSource.StreamingOptions.RetryIntervalMs != nil { - f1valf14f3.SetRetryIntervalMs(*f1valiter.DirectKinesisSource.StreamingOptions.RetryIntervalMs) + f1valf16f3.SetRetryIntervalMs(*f1valiter.DirectKinesisSource.StreamingOptions.RetryIntervalMs) } if f1valiter.DirectKinesisSource.StreamingOptions.RoleARN != nil { - f1valf14f3.SetRoleArn(*f1valiter.DirectKinesisSource.StreamingOptions.RoleARN) + f1valf16f3.SetRoleArn(*f1valiter.DirectKinesisSource.StreamingOptions.RoleARN) } if f1valiter.DirectKinesisSource.StreamingOptions.RoleSessionName != nil { - f1valf14f3.SetRoleSessionName(*f1valiter.DirectKinesisSource.StreamingOptions.RoleSessionName) + f1valf16f3.SetRoleSessionName(*f1valiter.DirectKinesisSource.StreamingOptions.RoleSessionName) } if f1valiter.DirectKinesisSource.StreamingOptions.StartingPosition != nil { - f1valf14f3.SetStartingPosition(*f1valiter.DirectKinesisSource.StreamingOptions.StartingPosition) + f1valf16f3.SetStartingPosition(*f1valiter.DirectKinesisSource.StreamingOptions.StartingPosition) } if f1valiter.DirectKinesisSource.StreamingOptions.StartingTimestamp != nil { - f1valf14f3.SetStartingTimestamp(f1valiter.DirectKinesisSource.StreamingOptions.StartingTimestamp.Time) + f1valf16f3.SetStartingTimestamp(f1valiter.DirectKinesisSource.StreamingOptions.StartingTimestamp.Time) } if f1valiter.DirectKinesisSource.StreamingOptions.StreamARN != nil { - f1valf14f3.SetStreamArn(*f1valiter.DirectKinesisSource.StreamingOptions.StreamARN) + f1valf16f3.SetStreamArn(*f1valiter.DirectKinesisSource.StreamingOptions.StreamARN) } if f1valiter.DirectKinesisSource.StreamingOptions.StreamName != nil { - f1valf14f3.SetStreamName(*f1valiter.DirectKinesisSource.StreamingOptions.StreamName) + f1valf16f3.SetStreamName(*f1valiter.DirectKinesisSource.StreamingOptions.StreamName) } - f1valf14.SetStreamingOptions(f1valf14f3) + f1valf16.SetStreamingOptions(f1valf16f3) } if f1valiter.DirectKinesisSource.WindowSize != nil { - f1valf14.SetWindowSize(*f1valiter.DirectKinesisSource.WindowSize) + f1valf16.SetWindowSize(*f1valiter.DirectKinesisSource.WindowSize) } - f1val.SetDirectKinesisSource(f1valf14) + f1val.SetDirectKinesisSource(f1valf16) } if f1valiter.DropDuplicates != nil { - f1valf15 := &svcsdk.DropDuplicates{} + f1valf17 := &svcsdk.DropDuplicates{} if f1valiter.DropDuplicates.Columns != nil { - f1valf15f0 := [][]*string{} - for _, f1valf15f0iter := range f1valiter.DropDuplicates.Columns { - f1valf15f0elem := []*string{} - for _, f1valf15f0elemiter := range f1valf15f0iter { - var f1valf15f0elemelem string - f1valf15f0elemelem = *f1valf15f0elemiter - f1valf15f0elem = append(f1valf15f0elem, &f1valf15f0elemelem) + f1valf17f0 := [][]*string{} + for _, f1valf17f0iter := range f1valiter.DropDuplicates.Columns { + f1valf17f0elem := []*string{} + for _, f1valf17f0elemiter := range f1valf17f0iter { + var f1valf17f0elemelem string + f1valf17f0elemelem = *f1valf17f0elemiter + f1valf17f0elem = append(f1valf17f0elem, &f1valf17f0elemelem) } - f1valf15f0 = append(f1valf15f0, f1valf15f0elem) + f1valf17f0 = append(f1valf17f0, f1valf17f0elem) } - f1valf15.SetColumns(f1valf15f0) + f1valf17.SetColumns(f1valf17f0) } if f1valiter.DropDuplicates.Inputs != nil { - f1valf15f1 := []*string{} - for _, f1valf15f1iter := range f1valiter.DropDuplicates.Inputs { - var f1valf15f1elem string - f1valf15f1elem = *f1valf15f1iter - f1valf15f1 = append(f1valf15f1, &f1valf15f1elem) + f1valf17f1 := []*string{} + for _, f1valf17f1iter := range f1valiter.DropDuplicates.Inputs { + var f1valf17f1elem string + f1valf17f1elem = *f1valf17f1iter + f1valf17f1 = append(f1valf17f1, &f1valf17f1elem) } - f1valf15.SetInputs(f1valf15f1) + f1valf17.SetInputs(f1valf17f1) } if f1valiter.DropDuplicates.Name != nil { - f1valf15.SetName(*f1valiter.DropDuplicates.Name) + f1valf17.SetName(*f1valiter.DropDuplicates.Name) } - f1val.SetDropDuplicates(f1valf15) + f1val.SetDropDuplicates(f1valf17) } if f1valiter.DropFields != nil { - f1valf16 := &svcsdk.DropFields{} + f1valf18 := &svcsdk.DropFields{} if f1valiter.DropFields.Inputs != nil { - f1valf16f0 := []*string{} - for _, f1valf16f0iter := range f1valiter.DropFields.Inputs { - var f1valf16f0elem string - f1valf16f0elem = *f1valf16f0iter - f1valf16f0 = append(f1valf16f0, &f1valf16f0elem) + f1valf18f0 := []*string{} + for _, f1valf18f0iter := range f1valiter.DropFields.Inputs { + var f1valf18f0elem string + f1valf18f0elem = *f1valf18f0iter + f1valf18f0 = append(f1valf18f0, &f1valf18f0elem) } - f1valf16.SetInputs(f1valf16f0) + f1valf18.SetInputs(f1valf18f0) } if f1valiter.DropFields.Name != nil { - f1valf16.SetName(*f1valiter.DropFields.Name) + f1valf18.SetName(*f1valiter.DropFields.Name) } if f1valiter.DropFields.Paths != nil { - f1valf16f2 := [][]*string{} - for _, f1valf16f2iter := range f1valiter.DropFields.Paths { - f1valf16f2elem := []*string{} - for _, f1valf16f2elemiter := range f1valf16f2iter { - var f1valf16f2elemelem string - f1valf16f2elemelem = *f1valf16f2elemiter - f1valf16f2elem = append(f1valf16f2elem, &f1valf16f2elemelem) + f1valf18f2 := [][]*string{} + for _, f1valf18f2iter := range f1valiter.DropFields.Paths { + f1valf18f2elem := []*string{} + for _, f1valf18f2elemiter := range f1valf18f2iter { + var f1valf18f2elemelem string + f1valf18f2elemelem = *f1valf18f2elemiter + f1valf18f2elem = append(f1valf18f2elem, &f1valf18f2elemelem) } - f1valf16f2 = append(f1valf16f2, f1valf16f2elem) + f1valf18f2 = append(f1valf18f2, f1valf18f2elem) } - f1valf16.SetPaths(f1valf16f2) + f1valf18.SetPaths(f1valf18f2) } - f1val.SetDropFields(f1valf16) + f1val.SetDropFields(f1valf18) } if f1valiter.DropNullFields != nil { - f1valf17 := &svcsdk.DropNullFields{} + f1valf19 := &svcsdk.DropNullFields{} if f1valiter.DropNullFields.Inputs != nil { - f1valf17f0 := []*string{} - for _, f1valf17f0iter := range f1valiter.DropNullFields.Inputs { - var f1valf17f0elem string - f1valf17f0elem = *f1valf17f0iter - f1valf17f0 = append(f1valf17f0, &f1valf17f0elem) + f1valf19f0 := []*string{} + for _, f1valf19f0iter := range f1valiter.DropNullFields.Inputs { + var f1valf19f0elem string + f1valf19f0elem = *f1valf19f0iter + f1valf19f0 = append(f1valf19f0, &f1valf19f0elem) } - f1valf17.SetInputs(f1valf17f0) + f1valf19.SetInputs(f1valf19f0) } if f1valiter.DropNullFields.Name != nil { - f1valf17.SetName(*f1valiter.DropNullFields.Name) + f1valf19.SetName(*f1valiter.DropNullFields.Name) } if f1valiter.DropNullFields.NullCheckBoxList != nil { - f1valf17f2 := &svcsdk.NullCheckBoxList{} + f1valf19f2 := &svcsdk.NullCheckBoxList{} if f1valiter.DropNullFields.NullCheckBoxList.IsEmpty != nil { - f1valf17f2.SetIsEmpty(*f1valiter.DropNullFields.NullCheckBoxList.IsEmpty) + f1valf19f2.SetIsEmpty(*f1valiter.DropNullFields.NullCheckBoxList.IsEmpty) } if f1valiter.DropNullFields.NullCheckBoxList.IsNegOne != nil { - f1valf17f2.SetIsNegOne(*f1valiter.DropNullFields.NullCheckBoxList.IsNegOne) + f1valf19f2.SetIsNegOne(*f1valiter.DropNullFields.NullCheckBoxList.IsNegOne) } if f1valiter.DropNullFields.NullCheckBoxList.IsNullString != nil { - f1valf17f2.SetIsNullString(*f1valiter.DropNullFields.NullCheckBoxList.IsNullString) + f1valf19f2.SetIsNullString(*f1valiter.DropNullFields.NullCheckBoxList.IsNullString) } - f1valf17.SetNullCheckBoxList(f1valf17f2) + f1valf19.SetNullCheckBoxList(f1valf19f2) } if f1valiter.DropNullFields.NullTextList != nil { - f1valf17f3 := []*svcsdk.NullValueField{} - for _, f1valf17f3iter := range f1valiter.DropNullFields.NullTextList { - f1valf17f3elem := &svcsdk.NullValueField{} - if f1valf17f3iter.Datatype != nil { - f1valf17f3elemf0 := &svcsdk.Datatype{} - if f1valf17f3iter.Datatype.ID != nil { - f1valf17f3elemf0.SetId(*f1valf17f3iter.Datatype.ID) + f1valf19f3 := []*svcsdk.NullValueField{} + for _, f1valf19f3iter := range f1valiter.DropNullFields.NullTextList { + f1valf19f3elem := &svcsdk.NullValueField{} + if f1valf19f3iter.Datatype != nil { + f1valf19f3elemf0 := &svcsdk.Datatype{} + if f1valf19f3iter.Datatype.ID != nil { + f1valf19f3elemf0.SetId(*f1valf19f3iter.Datatype.ID) } - if f1valf17f3iter.Datatype.Label != nil { - f1valf17f3elemf0.SetLabel(*f1valf17f3iter.Datatype.Label) + if f1valf19f3iter.Datatype.Label != nil { + f1valf19f3elemf0.SetLabel(*f1valf19f3iter.Datatype.Label) } - f1valf17f3elem.SetDatatype(f1valf17f3elemf0) + f1valf19f3elem.SetDatatype(f1valf19f3elemf0) } - if f1valf17f3iter.Value != nil { - f1valf17f3elem.SetValue(*f1valf17f3iter.Value) + if f1valf19f3iter.Value != nil { + f1valf19f3elem.SetValue(*f1valf19f3iter.Value) } - f1valf17f3 = append(f1valf17f3, f1valf17f3elem) + f1valf19f3 = append(f1valf19f3, f1valf19f3elem) } - f1valf17.SetNullTextList(f1valf17f3) + f1valf19.SetNullTextList(f1valf19f3) } - f1val.SetDropNullFields(f1valf17) + f1val.SetDropNullFields(f1valf19) } if f1valiter.DynamicTransform != nil { - f1valf18 := &svcsdk.DynamicTransform{} + f1valf20 := &svcsdk.DynamicTransform{} if f1valiter.DynamicTransform.FunctionName != nil { - f1valf18.SetFunctionName(*f1valiter.DynamicTransform.FunctionName) + f1valf20.SetFunctionName(*f1valiter.DynamicTransform.FunctionName) } if f1valiter.DynamicTransform.Inputs != nil { - f1valf18f1 := []*string{} - for _, f1valf18f1iter := range f1valiter.DynamicTransform.Inputs { - var f1valf18f1elem string - f1valf18f1elem = *f1valf18f1iter - f1valf18f1 = append(f1valf18f1, &f1valf18f1elem) + f1valf20f1 := []*string{} + for _, f1valf20f1iter := range f1valiter.DynamicTransform.Inputs { + var f1valf20f1elem string + f1valf20f1elem = *f1valf20f1iter + f1valf20f1 = append(f1valf20f1, &f1valf20f1elem) } - f1valf18.SetInputs(f1valf18f1) + f1valf20.SetInputs(f1valf20f1) } if f1valiter.DynamicTransform.Name != nil { - f1valf18.SetName(*f1valiter.DynamicTransform.Name) + f1valf20.SetName(*f1valiter.DynamicTransform.Name) } if f1valiter.DynamicTransform.OutputSchemas != nil { - f1valf18f3 := []*svcsdk.GlueSchema{} - for _, f1valf18f3iter := range f1valiter.DynamicTransform.OutputSchemas { - f1valf18f3elem := &svcsdk.GlueSchema{} - if f1valf18f3iter.Columns != nil { - f1valf18f3elemf0 := []*svcsdk.GlueStudioSchemaColumn{} - for _, f1valf18f3elemf0iter := range f1valf18f3iter.Columns { - f1valf18f3elemf0elem := &svcsdk.GlueStudioSchemaColumn{} - if f1valf18f3elemf0iter.Name != nil { - f1valf18f3elemf0elem.SetName(*f1valf18f3elemf0iter.Name) + f1valf20f3 := []*svcsdk.GlueSchema{} + for _, f1valf20f3iter := range f1valiter.DynamicTransform.OutputSchemas { + f1valf20f3elem := &svcsdk.GlueSchema{} + if f1valf20f3iter.Columns != nil { + f1valf20f3elemf0 := []*svcsdk.GlueStudioSchemaColumn{} + for _, f1valf20f3elemf0iter := range f1valf20f3iter.Columns { + f1valf20f3elemf0elem := &svcsdk.GlueStudioSchemaColumn{} + if f1valf20f3elemf0iter.Name != nil { + f1valf20f3elemf0elem.SetName(*f1valf20f3elemf0iter.Name) } - if f1valf18f3elemf0iter.Type != nil { - f1valf18f3elemf0elem.SetType(*f1valf18f3elemf0iter.Type) + if f1valf20f3elemf0iter.Type != nil { + f1valf20f3elemf0elem.SetType(*f1valf20f3elemf0iter.Type) } - f1valf18f3elemf0 = append(f1valf18f3elemf0, f1valf18f3elemf0elem) + f1valf20f3elemf0 = append(f1valf20f3elemf0, f1valf20f3elemf0elem) } - f1valf18f3elem.SetColumns(f1valf18f3elemf0) + f1valf20f3elem.SetColumns(f1valf20f3elemf0) } - f1valf18f3 = append(f1valf18f3, f1valf18f3elem) + f1valf20f3 = append(f1valf20f3, f1valf20f3elem) } - f1valf18.SetOutputSchemas(f1valf18f3) + f1valf20.SetOutputSchemas(f1valf20f3) } if f1valiter.DynamicTransform.Parameters != nil { - f1valf18f4 := []*svcsdk.TransformConfigParameter{} - for _, f1valf18f4iter := range f1valiter.DynamicTransform.Parameters { - f1valf18f4elem := &svcsdk.TransformConfigParameter{} - if f1valf18f4iter.IsOptional != nil { - f1valf18f4elem.SetIsOptional(*f1valf18f4iter.IsOptional) + f1valf20f4 := []*svcsdk.TransformConfigParameter{} + for _, f1valf20f4iter := range f1valiter.DynamicTransform.Parameters { + f1valf20f4elem := &svcsdk.TransformConfigParameter{} + if f1valf20f4iter.IsOptional != nil { + f1valf20f4elem.SetIsOptional(*f1valf20f4iter.IsOptional) } - if f1valf18f4iter.ListType != nil { - f1valf18f4elem.SetListType(*f1valf18f4iter.ListType) + if f1valf20f4iter.ListType != nil { + f1valf20f4elem.SetListType(*f1valf20f4iter.ListType) } - if f1valf18f4iter.Name != nil { - f1valf18f4elem.SetName(*f1valf18f4iter.Name) + if f1valf20f4iter.Name != nil { + f1valf20f4elem.SetName(*f1valf20f4iter.Name) } - if f1valf18f4iter.Type != nil { - f1valf18f4elem.SetType(*f1valf18f4iter.Type) + if f1valf20f4iter.Type != nil { + f1valf20f4elem.SetType(*f1valf20f4iter.Type) } - if f1valf18f4iter.ValidationMessage != nil { - f1valf18f4elem.SetValidationMessage(*f1valf18f4iter.ValidationMessage) + if f1valf20f4iter.ValidationMessage != nil { + f1valf20f4elem.SetValidationMessage(*f1valf20f4iter.ValidationMessage) } - if f1valf18f4iter.ValidationRule != nil { - f1valf18f4elem.SetValidationRule(*f1valf18f4iter.ValidationRule) + if f1valf20f4iter.ValidationRule != nil { + f1valf20f4elem.SetValidationRule(*f1valf20f4iter.ValidationRule) } - if f1valf18f4iter.Value != nil { - f1valf18f4elemf6 := []*string{} - for _, f1valf18f4elemf6iter := range f1valf18f4iter.Value { - var f1valf18f4elemf6elem string - f1valf18f4elemf6elem = *f1valf18f4elemf6iter - f1valf18f4elemf6 = append(f1valf18f4elemf6, &f1valf18f4elemf6elem) + if f1valf20f4iter.Value != nil { + f1valf20f4elemf6 := []*string{} + for _, f1valf20f4elemf6iter := range f1valf20f4iter.Value { + var f1valf20f4elemf6elem string + f1valf20f4elemf6elem = *f1valf20f4elemf6iter + f1valf20f4elemf6 = append(f1valf20f4elemf6, &f1valf20f4elemf6elem) } - f1valf18f4elem.SetValue(f1valf18f4elemf6) + f1valf20f4elem.SetValue(f1valf20f4elemf6) } - f1valf18f4 = append(f1valf18f4, f1valf18f4elem) + f1valf20f4 = append(f1valf20f4, f1valf20f4elem) } - f1valf18.SetParameters(f1valf18f4) + f1valf20.SetParameters(f1valf20f4) } if f1valiter.DynamicTransform.Path != nil { - f1valf18.SetPath(*f1valiter.DynamicTransform.Path) + f1valf20.SetPath(*f1valiter.DynamicTransform.Path) } if f1valiter.DynamicTransform.TransformName != nil { - f1valf18.SetTransformName(*f1valiter.DynamicTransform.TransformName) + f1valf20.SetTransformName(*f1valiter.DynamicTransform.TransformName) } if f1valiter.DynamicTransform.Version != nil { - f1valf18.SetVersion(*f1valiter.DynamicTransform.Version) + f1valf20.SetVersion(*f1valiter.DynamicTransform.Version) } - f1val.SetDynamicTransform(f1valf18) + f1val.SetDynamicTransform(f1valf20) } if f1valiter.DynamoDBCatalogSource != nil { - f1valf19 := &svcsdk.DynamoDBCatalogSource{} + f1valf21 := &svcsdk.DynamoDBCatalogSource{} if f1valiter.DynamoDBCatalogSource.Database != nil { - f1valf19.SetDatabase(*f1valiter.DynamoDBCatalogSource.Database) + f1valf21.SetDatabase(*f1valiter.DynamoDBCatalogSource.Database) } if f1valiter.DynamoDBCatalogSource.Name != nil { - f1valf19.SetName(*f1valiter.DynamoDBCatalogSource.Name) + f1valf21.SetName(*f1valiter.DynamoDBCatalogSource.Name) } if f1valiter.DynamoDBCatalogSource.Table != nil { - f1valf19.SetTable(*f1valiter.DynamoDBCatalogSource.Table) + f1valf21.SetTable(*f1valiter.DynamoDBCatalogSource.Table) } - f1val.SetDynamoDBCatalogSource(f1valf19) + f1val.SetDynamoDBCatalogSource(f1valf21) } if f1valiter.EvaluateDataQuality != nil { - f1valf20 := &svcsdk.EvaluateDataQuality{} + f1valf22 := &svcsdk.EvaluateDataQuality{} if f1valiter.EvaluateDataQuality.Inputs != nil { - f1valf20f0 := []*string{} - for _, f1valf20f0iter := range f1valiter.EvaluateDataQuality.Inputs { - var f1valf20f0elem string - f1valf20f0elem = *f1valf20f0iter - f1valf20f0 = append(f1valf20f0, &f1valf20f0elem) + f1valf22f0 := []*string{} + for _, f1valf22f0iter := range f1valiter.EvaluateDataQuality.Inputs { + var f1valf22f0elem string + f1valf22f0elem = *f1valf22f0iter + f1valf22f0 = append(f1valf22f0, &f1valf22f0elem) } - f1valf20.SetInputs(f1valf20f0) + f1valf22.SetInputs(f1valf22f0) } if f1valiter.EvaluateDataQuality.Name != nil { - f1valf20.SetName(*f1valiter.EvaluateDataQuality.Name) + f1valf22.SetName(*f1valiter.EvaluateDataQuality.Name) } if f1valiter.EvaluateDataQuality.Output != nil { - f1valf20.SetOutput(*f1valiter.EvaluateDataQuality.Output) + f1valf22.SetOutput(*f1valiter.EvaluateDataQuality.Output) } if f1valiter.EvaluateDataQuality.PublishingOptions != nil { - f1valf20f3 := &svcsdk.DQResultsPublishingOptions{} + f1valf22f3 := &svcsdk.DQResultsPublishingOptions{} if f1valiter.EvaluateDataQuality.PublishingOptions.CloudWatchMetricsEnabled != nil { - f1valf20f3.SetCloudWatchMetricsEnabled(*f1valiter.EvaluateDataQuality.PublishingOptions.CloudWatchMetricsEnabled) + f1valf22f3.SetCloudWatchMetricsEnabled(*f1valiter.EvaluateDataQuality.PublishingOptions.CloudWatchMetricsEnabled) } if f1valiter.EvaluateDataQuality.PublishingOptions.EvaluationContext != nil { - f1valf20f3.SetEvaluationContext(*f1valiter.EvaluateDataQuality.PublishingOptions.EvaluationContext) + f1valf22f3.SetEvaluationContext(*f1valiter.EvaluateDataQuality.PublishingOptions.EvaluationContext) } if f1valiter.EvaluateDataQuality.PublishingOptions.ResultsPublishingEnabled != nil { - f1valf20f3.SetResultsPublishingEnabled(*f1valiter.EvaluateDataQuality.PublishingOptions.ResultsPublishingEnabled) + f1valf22f3.SetResultsPublishingEnabled(*f1valiter.EvaluateDataQuality.PublishingOptions.ResultsPublishingEnabled) } if f1valiter.EvaluateDataQuality.PublishingOptions.ResultsS3Prefix != nil { - f1valf20f3.SetResultsS3Prefix(*f1valiter.EvaluateDataQuality.PublishingOptions.ResultsS3Prefix) + f1valf22f3.SetResultsS3Prefix(*f1valiter.EvaluateDataQuality.PublishingOptions.ResultsS3Prefix) } - f1valf20.SetPublishingOptions(f1valf20f3) + f1valf22.SetPublishingOptions(f1valf22f3) } if f1valiter.EvaluateDataQuality.Ruleset != nil { - f1valf20.SetRuleset(*f1valiter.EvaluateDataQuality.Ruleset) + f1valf22.SetRuleset(*f1valiter.EvaluateDataQuality.Ruleset) } if f1valiter.EvaluateDataQuality.StopJobOnFailureOptions != nil { - f1valf20f5 := &svcsdk.DQStopJobOnFailureOptions{} + f1valf22f5 := &svcsdk.DQStopJobOnFailureOptions{} if f1valiter.EvaluateDataQuality.StopJobOnFailureOptions.StopJobOnFailureTiming != nil { - f1valf20f5.SetStopJobOnFailureTiming(*f1valiter.EvaluateDataQuality.StopJobOnFailureOptions.StopJobOnFailureTiming) + f1valf22f5.SetStopJobOnFailureTiming(*f1valiter.EvaluateDataQuality.StopJobOnFailureOptions.StopJobOnFailureTiming) } - f1valf20.SetStopJobOnFailureOptions(f1valf20f5) + f1valf22.SetStopJobOnFailureOptions(f1valf22f5) } - f1val.SetEvaluateDataQuality(f1valf20) + f1val.SetEvaluateDataQuality(f1valf22) } if f1valiter.EvaluateDataQualityMultiFrame != nil { - f1valf21 := &svcsdk.EvaluateDataQualityMultiFrame{} + f1valf23 := &svcsdk.EvaluateDataQualityMultiFrame{} if f1valiter.EvaluateDataQualityMultiFrame.AdditionalDataSources != nil { - f1valf21f0 := map[string]*string{} - for f1valf21f0key, f1valf21f0valiter := range f1valiter.EvaluateDataQualityMultiFrame.AdditionalDataSources { - var f1valf21f0val string - f1valf21f0val = *f1valf21f0valiter - f1valf21f0[f1valf21f0key] = &f1valf21f0val + f1valf23f0 := map[string]*string{} + for f1valf23f0key, f1valf23f0valiter := range f1valiter.EvaluateDataQualityMultiFrame.AdditionalDataSources { + var f1valf23f0val string + f1valf23f0val = *f1valf23f0valiter + f1valf23f0[f1valf23f0key] = &f1valf23f0val } - f1valf21.SetAdditionalDataSources(f1valf21f0) + f1valf23.SetAdditionalDataSources(f1valf23f0) } if f1valiter.EvaluateDataQualityMultiFrame.AdditionalOptions != nil { - f1valf21f1 := map[string]*string{} - for f1valf21f1key, f1valf21f1valiter := range f1valiter.EvaluateDataQualityMultiFrame.AdditionalOptions { - var f1valf21f1val string - f1valf21f1val = *f1valf21f1valiter - f1valf21f1[f1valf21f1key] = &f1valf21f1val + f1valf23f1 := map[string]*string{} + for f1valf23f1key, f1valf23f1valiter := range f1valiter.EvaluateDataQualityMultiFrame.AdditionalOptions { + var f1valf23f1val string + f1valf23f1val = *f1valf23f1valiter + f1valf23f1[f1valf23f1key] = &f1valf23f1val } - f1valf21.SetAdditionalOptions(f1valf21f1) + f1valf23.SetAdditionalOptions(f1valf23f1) } if f1valiter.EvaluateDataQualityMultiFrame.Inputs != nil { - f1valf21f2 := []*string{} - for _, f1valf21f2iter := range f1valiter.EvaluateDataQualityMultiFrame.Inputs { - var f1valf21f2elem string - f1valf21f2elem = *f1valf21f2iter - f1valf21f2 = append(f1valf21f2, &f1valf21f2elem) + f1valf23f2 := []*string{} + for _, f1valf23f2iter := range f1valiter.EvaluateDataQualityMultiFrame.Inputs { + var f1valf23f2elem string + f1valf23f2elem = *f1valf23f2iter + f1valf23f2 = append(f1valf23f2, &f1valf23f2elem) } - f1valf21.SetInputs(f1valf21f2) + f1valf23.SetInputs(f1valf23f2) } if f1valiter.EvaluateDataQualityMultiFrame.Name != nil { - f1valf21.SetName(*f1valiter.EvaluateDataQualityMultiFrame.Name) + f1valf23.SetName(*f1valiter.EvaluateDataQualityMultiFrame.Name) } if f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions != nil { - f1valf21f4 := &svcsdk.DQResultsPublishingOptions{} + f1valf23f4 := &svcsdk.DQResultsPublishingOptions{} if f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.CloudWatchMetricsEnabled != nil { - f1valf21f4.SetCloudWatchMetricsEnabled(*f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.CloudWatchMetricsEnabled) + f1valf23f4.SetCloudWatchMetricsEnabled(*f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.CloudWatchMetricsEnabled) } if f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.EvaluationContext != nil { - f1valf21f4.SetEvaluationContext(*f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.EvaluationContext) + f1valf23f4.SetEvaluationContext(*f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.EvaluationContext) } if f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.ResultsPublishingEnabled != nil { - f1valf21f4.SetResultsPublishingEnabled(*f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.ResultsPublishingEnabled) + f1valf23f4.SetResultsPublishingEnabled(*f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.ResultsPublishingEnabled) } if f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.ResultsS3Prefix != nil { - f1valf21f4.SetResultsS3Prefix(*f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.ResultsS3Prefix) + f1valf23f4.SetResultsS3Prefix(*f1valiter.EvaluateDataQualityMultiFrame.PublishingOptions.ResultsS3Prefix) } - f1valf21.SetPublishingOptions(f1valf21f4) + f1valf23.SetPublishingOptions(f1valf23f4) } if f1valiter.EvaluateDataQualityMultiFrame.Ruleset != nil { - f1valf21.SetRuleset(*f1valiter.EvaluateDataQualityMultiFrame.Ruleset) + f1valf23.SetRuleset(*f1valiter.EvaluateDataQualityMultiFrame.Ruleset) } if f1valiter.EvaluateDataQualityMultiFrame.StopJobOnFailureOptions != nil { - f1valf21f6 := &svcsdk.DQStopJobOnFailureOptions{} + f1valf23f6 := &svcsdk.DQStopJobOnFailureOptions{} if f1valiter.EvaluateDataQualityMultiFrame.StopJobOnFailureOptions.StopJobOnFailureTiming != nil { - f1valf21f6.SetStopJobOnFailureTiming(*f1valiter.EvaluateDataQualityMultiFrame.StopJobOnFailureOptions.StopJobOnFailureTiming) + f1valf23f6.SetStopJobOnFailureTiming(*f1valiter.EvaluateDataQualityMultiFrame.StopJobOnFailureOptions.StopJobOnFailureTiming) } - f1valf21.SetStopJobOnFailureOptions(f1valf21f6) + f1valf23.SetStopJobOnFailureOptions(f1valf23f6) } - f1val.SetEvaluateDataQualityMultiFrame(f1valf21) + f1val.SetEvaluateDataQualityMultiFrame(f1valf23) } if f1valiter.FillMissingValues != nil { - f1valf22 := &svcsdk.FillMissingValues{} + f1valf24 := &svcsdk.FillMissingValues{} if f1valiter.FillMissingValues.FilledPath != nil { - f1valf22.SetFilledPath(*f1valiter.FillMissingValues.FilledPath) + f1valf24.SetFilledPath(*f1valiter.FillMissingValues.FilledPath) } if f1valiter.FillMissingValues.ImputedPath != nil { - f1valf22.SetImputedPath(*f1valiter.FillMissingValues.ImputedPath) + f1valf24.SetImputedPath(*f1valiter.FillMissingValues.ImputedPath) } if f1valiter.FillMissingValues.Inputs != nil { - f1valf22f2 := []*string{} - for _, f1valf22f2iter := range f1valiter.FillMissingValues.Inputs { - var f1valf22f2elem string - f1valf22f2elem = *f1valf22f2iter - f1valf22f2 = append(f1valf22f2, &f1valf22f2elem) + f1valf24f2 := []*string{} + for _, f1valf24f2iter := range f1valiter.FillMissingValues.Inputs { + var f1valf24f2elem string + f1valf24f2elem = *f1valf24f2iter + f1valf24f2 = append(f1valf24f2, &f1valf24f2elem) } - f1valf22.SetInputs(f1valf22f2) + f1valf24.SetInputs(f1valf24f2) } if f1valiter.FillMissingValues.Name != nil { - f1valf22.SetName(*f1valiter.FillMissingValues.Name) + f1valf24.SetName(*f1valiter.FillMissingValues.Name) } - f1val.SetFillMissingValues(f1valf22) + f1val.SetFillMissingValues(f1valf24) } if f1valiter.Filter != nil { - f1valf23 := &svcsdk.Filter{} + f1valf25 := &svcsdk.Filter{} if f1valiter.Filter.Filters != nil { - f1valf23f0 := []*svcsdk.FilterExpression{} - for _, f1valf23f0iter := range f1valiter.Filter.Filters { - f1valf23f0elem := &svcsdk.FilterExpression{} - if f1valf23f0iter.Negated != nil { - f1valf23f0elem.SetNegated(*f1valf23f0iter.Negated) - } - if f1valf23f0iter.Operation != nil { - f1valf23f0elem.SetOperation(*f1valf23f0iter.Operation) - } - if f1valf23f0iter.Values != nil { - f1valf23f0elemf2 := []*svcsdk.FilterValue{} - for _, f1valf23f0elemf2iter := range f1valf23f0iter.Values { - f1valf23f0elemf2elem := &svcsdk.FilterValue{} - if f1valf23f0elemf2iter.Type != nil { - f1valf23f0elemf2elem.SetType(*f1valf23f0elemf2iter.Type) + f1valf25f0 := []*svcsdk.FilterExpression{} + for _, f1valf25f0iter := range f1valiter.Filter.Filters { + f1valf25f0elem := &svcsdk.FilterExpression{} + if f1valf25f0iter.Negated != nil { + f1valf25f0elem.SetNegated(*f1valf25f0iter.Negated) + } + if f1valf25f0iter.Operation != nil { + f1valf25f0elem.SetOperation(*f1valf25f0iter.Operation) + } + if f1valf25f0iter.Values != nil { + f1valf25f0elemf2 := []*svcsdk.FilterValue{} + for _, f1valf25f0elemf2iter := range f1valf25f0iter.Values { + f1valf25f0elemf2elem := &svcsdk.FilterValue{} + if f1valf25f0elemf2iter.Type != nil { + f1valf25f0elemf2elem.SetType(*f1valf25f0elemf2iter.Type) } - if f1valf23f0elemf2iter.Value != nil { - f1valf23f0elemf2elemf1 := []*string{} - for _, f1valf23f0elemf2elemf1iter := range f1valf23f0elemf2iter.Value { - var f1valf23f0elemf2elemf1elem string - f1valf23f0elemf2elemf1elem = *f1valf23f0elemf2elemf1iter - f1valf23f0elemf2elemf1 = append(f1valf23f0elemf2elemf1, &f1valf23f0elemf2elemf1elem) + if f1valf25f0elemf2iter.Value != nil { + f1valf25f0elemf2elemf1 := []*string{} + for _, f1valf25f0elemf2elemf1iter := range f1valf25f0elemf2iter.Value { + var f1valf25f0elemf2elemf1elem string + f1valf25f0elemf2elemf1elem = *f1valf25f0elemf2elemf1iter + f1valf25f0elemf2elemf1 = append(f1valf25f0elemf2elemf1, &f1valf25f0elemf2elemf1elem) } - f1valf23f0elemf2elem.SetValue(f1valf23f0elemf2elemf1) + f1valf25f0elemf2elem.SetValue(f1valf25f0elemf2elemf1) } - f1valf23f0elemf2 = append(f1valf23f0elemf2, f1valf23f0elemf2elem) + f1valf25f0elemf2 = append(f1valf25f0elemf2, f1valf25f0elemf2elem) } - f1valf23f0elem.SetValues(f1valf23f0elemf2) + f1valf25f0elem.SetValues(f1valf25f0elemf2) } - f1valf23f0 = append(f1valf23f0, f1valf23f0elem) + f1valf25f0 = append(f1valf25f0, f1valf25f0elem) } - f1valf23.SetFilters(f1valf23f0) + f1valf25.SetFilters(f1valf25f0) } if f1valiter.Filter.Inputs != nil { - f1valf23f1 := []*string{} - for _, f1valf23f1iter := range f1valiter.Filter.Inputs { - var f1valf23f1elem string - f1valf23f1elem = *f1valf23f1iter - f1valf23f1 = append(f1valf23f1, &f1valf23f1elem) + f1valf25f1 := []*string{} + for _, f1valf25f1iter := range f1valiter.Filter.Inputs { + var f1valf25f1elem string + f1valf25f1elem = *f1valf25f1iter + f1valf25f1 = append(f1valf25f1, &f1valf25f1elem) } - f1valf23.SetInputs(f1valf23f1) + f1valf25.SetInputs(f1valf25f1) } if f1valiter.Filter.LogicalOperator != nil { - f1valf23.SetLogicalOperator(*f1valiter.Filter.LogicalOperator) + f1valf25.SetLogicalOperator(*f1valiter.Filter.LogicalOperator) } if f1valiter.Filter.Name != nil { - f1valf23.SetName(*f1valiter.Filter.Name) + f1valf25.SetName(*f1valiter.Filter.Name) } - f1val.SetFilter(f1valf23) + f1val.SetFilter(f1valf25) } if f1valiter.GovernedCatalogSource != nil { - f1valf24 := &svcsdk.GovernedCatalogSource{} + f1valf26 := &svcsdk.GovernedCatalogSource{} if f1valiter.GovernedCatalogSource.AdditionalOptions != nil { - f1valf24f0 := &svcsdk.S3SourceAdditionalOptions{} + f1valf26f0 := &svcsdk.S3SourceAdditionalOptions{} if f1valiter.GovernedCatalogSource.AdditionalOptions.BoundedFiles != nil { - f1valf24f0.SetBoundedFiles(*f1valiter.GovernedCatalogSource.AdditionalOptions.BoundedFiles) + f1valf26f0.SetBoundedFiles(*f1valiter.GovernedCatalogSource.AdditionalOptions.BoundedFiles) } if f1valiter.GovernedCatalogSource.AdditionalOptions.BoundedSize != nil { - f1valf24f0.SetBoundedSize(*f1valiter.GovernedCatalogSource.AdditionalOptions.BoundedSize) + f1valf26f0.SetBoundedSize(*f1valiter.GovernedCatalogSource.AdditionalOptions.BoundedSize) } - f1valf24.SetAdditionalOptions(f1valf24f0) + f1valf26.SetAdditionalOptions(f1valf26f0) } if f1valiter.GovernedCatalogSource.Database != nil { - f1valf24.SetDatabase(*f1valiter.GovernedCatalogSource.Database) + f1valf26.SetDatabase(*f1valiter.GovernedCatalogSource.Database) } if f1valiter.GovernedCatalogSource.Name != nil { - f1valf24.SetName(*f1valiter.GovernedCatalogSource.Name) + f1valf26.SetName(*f1valiter.GovernedCatalogSource.Name) } if f1valiter.GovernedCatalogSource.PartitionPredicate != nil { - f1valf24.SetPartitionPredicate(*f1valiter.GovernedCatalogSource.PartitionPredicate) + f1valf26.SetPartitionPredicate(*f1valiter.GovernedCatalogSource.PartitionPredicate) } if f1valiter.GovernedCatalogSource.Table != nil { - f1valf24.SetTable(*f1valiter.GovernedCatalogSource.Table) + f1valf26.SetTable(*f1valiter.GovernedCatalogSource.Table) } - f1val.SetGovernedCatalogSource(f1valf24) + f1val.SetGovernedCatalogSource(f1valf26) } if f1valiter.GovernedCatalogTarget != nil { - f1valf25 := &svcsdk.GovernedCatalogTarget{} + f1valf27 := &svcsdk.GovernedCatalogTarget{} if f1valiter.GovernedCatalogTarget.Database != nil { - f1valf25.SetDatabase(*f1valiter.GovernedCatalogTarget.Database) + f1valf27.SetDatabase(*f1valiter.GovernedCatalogTarget.Database) } if f1valiter.GovernedCatalogTarget.Inputs != nil { - f1valf25f1 := []*string{} - for _, f1valf25f1iter := range f1valiter.GovernedCatalogTarget.Inputs { - var f1valf25f1elem string - f1valf25f1elem = *f1valf25f1iter - f1valf25f1 = append(f1valf25f1, &f1valf25f1elem) + f1valf27f1 := []*string{} + for _, f1valf27f1iter := range f1valiter.GovernedCatalogTarget.Inputs { + var f1valf27f1elem string + f1valf27f1elem = *f1valf27f1iter + f1valf27f1 = append(f1valf27f1, &f1valf27f1elem) } - f1valf25.SetInputs(f1valf25f1) + f1valf27.SetInputs(f1valf27f1) } if f1valiter.GovernedCatalogTarget.Name != nil { - f1valf25.SetName(*f1valiter.GovernedCatalogTarget.Name) + f1valf27.SetName(*f1valiter.GovernedCatalogTarget.Name) } if f1valiter.GovernedCatalogTarget.PartitionKeys != nil { - f1valf25f3 := [][]*string{} - for _, f1valf25f3iter := range f1valiter.GovernedCatalogTarget.PartitionKeys { - f1valf25f3elem := []*string{} - for _, f1valf25f3elemiter := range f1valf25f3iter { - var f1valf25f3elemelem string - f1valf25f3elemelem = *f1valf25f3elemiter - f1valf25f3elem = append(f1valf25f3elem, &f1valf25f3elemelem) + f1valf27f3 := [][]*string{} + for _, f1valf27f3iter := range f1valiter.GovernedCatalogTarget.PartitionKeys { + f1valf27f3elem := []*string{} + for _, f1valf27f3elemiter := range f1valf27f3iter { + var f1valf27f3elemelem string + f1valf27f3elemelem = *f1valf27f3elemiter + f1valf27f3elem = append(f1valf27f3elem, &f1valf27f3elemelem) } - f1valf25f3 = append(f1valf25f3, f1valf25f3elem) + f1valf27f3 = append(f1valf27f3, f1valf27f3elem) } - f1valf25.SetPartitionKeys(f1valf25f3) + f1valf27.SetPartitionKeys(f1valf27f3) } if f1valiter.GovernedCatalogTarget.SchemaChangePolicy != nil { - f1valf25f4 := &svcsdk.CatalogSchemaChangePolicy{} + f1valf27f4 := &svcsdk.CatalogSchemaChangePolicy{} if f1valiter.GovernedCatalogTarget.SchemaChangePolicy.EnableUpdateCatalog != nil { - f1valf25f4.SetEnableUpdateCatalog(*f1valiter.GovernedCatalogTarget.SchemaChangePolicy.EnableUpdateCatalog) + f1valf27f4.SetEnableUpdateCatalog(*f1valiter.GovernedCatalogTarget.SchemaChangePolicy.EnableUpdateCatalog) } if f1valiter.GovernedCatalogTarget.SchemaChangePolicy.UpdateBehavior != nil { - f1valf25f4.SetUpdateBehavior(*f1valiter.GovernedCatalogTarget.SchemaChangePolicy.UpdateBehavior) + f1valf27f4.SetUpdateBehavior(*f1valiter.GovernedCatalogTarget.SchemaChangePolicy.UpdateBehavior) } - f1valf25.SetSchemaChangePolicy(f1valf25f4) + f1valf27.SetSchemaChangePolicy(f1valf27f4) } if f1valiter.GovernedCatalogTarget.Table != nil { - f1valf25.SetTable(*f1valiter.GovernedCatalogTarget.Table) + f1valf27.SetTable(*f1valiter.GovernedCatalogTarget.Table) } - f1val.SetGovernedCatalogTarget(f1valf25) + f1val.SetGovernedCatalogTarget(f1valf27) } if f1valiter.JDBCConnectorSource != nil { - f1valf26 := &svcsdk.JDBCConnectorSource{} + f1valf28 := &svcsdk.JDBCConnectorSource{} if f1valiter.JDBCConnectorSource.AdditionalOptions != nil { - f1valf26f0 := &svcsdk.JDBCConnectorOptions{} + f1valf28f0 := &svcsdk.JDBCConnectorOptions{} if f1valiter.JDBCConnectorSource.AdditionalOptions.DataTypeMapping != nil { - f1valf26f0f0 := map[string]*string{} - for f1valf26f0f0key, f1valf26f0f0valiter := range f1valiter.JDBCConnectorSource.AdditionalOptions.DataTypeMapping { - var f1valf26f0f0val string - f1valf26f0f0val = *f1valf26f0f0valiter - f1valf26f0f0[f1valf26f0f0key] = &f1valf26f0f0val + f1valf28f0f0 := map[string]*string{} + for f1valf28f0f0key, f1valf28f0f0valiter := range f1valiter.JDBCConnectorSource.AdditionalOptions.DataTypeMapping { + var f1valf28f0f0val string + f1valf28f0f0val = *f1valf28f0f0valiter + f1valf28f0f0[f1valf28f0f0key] = &f1valf28f0f0val } - f1valf26f0.SetDataTypeMapping(f1valf26f0f0) + f1valf28f0.SetDataTypeMapping(f1valf28f0f0) } if f1valiter.JDBCConnectorSource.AdditionalOptions.FilterPredicate != nil { - f1valf26f0.SetFilterPredicate(*f1valiter.JDBCConnectorSource.AdditionalOptions.FilterPredicate) + f1valf28f0.SetFilterPredicate(*f1valiter.JDBCConnectorSource.AdditionalOptions.FilterPredicate) } if f1valiter.JDBCConnectorSource.AdditionalOptions.JobBookmarkKeys != nil { - f1valf26f0f2 := []*string{} - for _, f1valf26f0f2iter := range f1valiter.JDBCConnectorSource.AdditionalOptions.JobBookmarkKeys { - var f1valf26f0f2elem string - f1valf26f0f2elem = *f1valf26f0f2iter - f1valf26f0f2 = append(f1valf26f0f2, &f1valf26f0f2elem) + f1valf28f0f2 := []*string{} + for _, f1valf28f0f2iter := range f1valiter.JDBCConnectorSource.AdditionalOptions.JobBookmarkKeys { + var f1valf28f0f2elem string + f1valf28f0f2elem = *f1valf28f0f2iter + f1valf28f0f2 = append(f1valf28f0f2, &f1valf28f0f2elem) } - f1valf26f0.SetJobBookmarkKeys(f1valf26f0f2) + f1valf28f0.SetJobBookmarkKeys(f1valf28f0f2) } if f1valiter.JDBCConnectorSource.AdditionalOptions.JobBookmarkKeysSortOrder != nil { - f1valf26f0.SetJobBookmarkKeysSortOrder(*f1valiter.JDBCConnectorSource.AdditionalOptions.JobBookmarkKeysSortOrder) + f1valf28f0.SetJobBookmarkKeysSortOrder(*f1valiter.JDBCConnectorSource.AdditionalOptions.JobBookmarkKeysSortOrder) } if f1valiter.JDBCConnectorSource.AdditionalOptions.LowerBound != nil { - f1valf26f0.SetLowerBound(*f1valiter.JDBCConnectorSource.AdditionalOptions.LowerBound) + f1valf28f0.SetLowerBound(*f1valiter.JDBCConnectorSource.AdditionalOptions.LowerBound) } if f1valiter.JDBCConnectorSource.AdditionalOptions.NumPartitions != nil { - f1valf26f0.SetNumPartitions(*f1valiter.JDBCConnectorSource.AdditionalOptions.NumPartitions) + f1valf28f0.SetNumPartitions(*f1valiter.JDBCConnectorSource.AdditionalOptions.NumPartitions) } if f1valiter.JDBCConnectorSource.AdditionalOptions.PartitionColumn != nil { - f1valf26f0.SetPartitionColumn(*f1valiter.JDBCConnectorSource.AdditionalOptions.PartitionColumn) + f1valf28f0.SetPartitionColumn(*f1valiter.JDBCConnectorSource.AdditionalOptions.PartitionColumn) } if f1valiter.JDBCConnectorSource.AdditionalOptions.UpperBound != nil { - f1valf26f0.SetUpperBound(*f1valiter.JDBCConnectorSource.AdditionalOptions.UpperBound) + f1valf28f0.SetUpperBound(*f1valiter.JDBCConnectorSource.AdditionalOptions.UpperBound) } - f1valf26.SetAdditionalOptions(f1valf26f0) + f1valf28.SetAdditionalOptions(f1valf28f0) } if f1valiter.JDBCConnectorSource.ConnectionName != nil { - f1valf26.SetConnectionName(*f1valiter.JDBCConnectorSource.ConnectionName) + f1valf28.SetConnectionName(*f1valiter.JDBCConnectorSource.ConnectionName) } if f1valiter.JDBCConnectorSource.ConnectionTable != nil { - f1valf26.SetConnectionTable(*f1valiter.JDBCConnectorSource.ConnectionTable) + f1valf28.SetConnectionTable(*f1valiter.JDBCConnectorSource.ConnectionTable) } if f1valiter.JDBCConnectorSource.ConnectionType != nil { - f1valf26.SetConnectionType(*f1valiter.JDBCConnectorSource.ConnectionType) + f1valf28.SetConnectionType(*f1valiter.JDBCConnectorSource.ConnectionType) } if f1valiter.JDBCConnectorSource.ConnectorName != nil { - f1valf26.SetConnectorName(*f1valiter.JDBCConnectorSource.ConnectorName) + f1valf28.SetConnectorName(*f1valiter.JDBCConnectorSource.ConnectorName) } if f1valiter.JDBCConnectorSource.Name != nil { - f1valf26.SetName(*f1valiter.JDBCConnectorSource.Name) + f1valf28.SetName(*f1valiter.JDBCConnectorSource.Name) } if f1valiter.JDBCConnectorSource.OutputSchemas != nil { - f1valf26f6 := []*svcsdk.GlueSchema{} - for _, f1valf26f6iter := range f1valiter.JDBCConnectorSource.OutputSchemas { - f1valf26f6elem := &svcsdk.GlueSchema{} - if f1valf26f6iter.Columns != nil { - f1valf26f6elemf0 := []*svcsdk.GlueStudioSchemaColumn{} - for _, f1valf26f6elemf0iter := range f1valf26f6iter.Columns { - f1valf26f6elemf0elem := &svcsdk.GlueStudioSchemaColumn{} - if f1valf26f6elemf0iter.Name != nil { - f1valf26f6elemf0elem.SetName(*f1valf26f6elemf0iter.Name) + f1valf28f6 := []*svcsdk.GlueSchema{} + for _, f1valf28f6iter := range f1valiter.JDBCConnectorSource.OutputSchemas { + f1valf28f6elem := &svcsdk.GlueSchema{} + if f1valf28f6iter.Columns != nil { + f1valf28f6elemf0 := []*svcsdk.GlueStudioSchemaColumn{} + for _, f1valf28f6elemf0iter := range f1valf28f6iter.Columns { + f1valf28f6elemf0elem := &svcsdk.GlueStudioSchemaColumn{} + if f1valf28f6elemf0iter.Name != nil { + f1valf28f6elemf0elem.SetName(*f1valf28f6elemf0iter.Name) } - if f1valf26f6elemf0iter.Type != nil { - f1valf26f6elemf0elem.SetType(*f1valf26f6elemf0iter.Type) + if f1valf28f6elemf0iter.Type != nil { + f1valf28f6elemf0elem.SetType(*f1valf28f6elemf0iter.Type) } - f1valf26f6elemf0 = append(f1valf26f6elemf0, f1valf26f6elemf0elem) + f1valf28f6elemf0 = append(f1valf28f6elemf0, f1valf28f6elemf0elem) } - f1valf26f6elem.SetColumns(f1valf26f6elemf0) + f1valf28f6elem.SetColumns(f1valf28f6elemf0) } - f1valf26f6 = append(f1valf26f6, f1valf26f6elem) + f1valf28f6 = append(f1valf28f6, f1valf28f6elem) } - f1valf26.SetOutputSchemas(f1valf26f6) + f1valf28.SetOutputSchemas(f1valf28f6) } if f1valiter.JDBCConnectorSource.Query != nil { - f1valf26.SetQuery(*f1valiter.JDBCConnectorSource.Query) + f1valf28.SetQuery(*f1valiter.JDBCConnectorSource.Query) } - f1val.SetJDBCConnectorSource(f1valf26) + f1val.SetJDBCConnectorSource(f1valf28) } if f1valiter.JDBCConnectorTarget != nil { - f1valf27 := &svcsdk.JDBCConnectorTarget{} + f1valf29 := &svcsdk.JDBCConnectorTarget{} if f1valiter.JDBCConnectorTarget.AdditionalOptions != nil { - f1valf27f0 := map[string]*string{} - for f1valf27f0key, f1valf27f0valiter := range f1valiter.JDBCConnectorTarget.AdditionalOptions { - var f1valf27f0val string - f1valf27f0val = *f1valf27f0valiter - f1valf27f0[f1valf27f0key] = &f1valf27f0val + f1valf29f0 := map[string]*string{} + for f1valf29f0key, f1valf29f0valiter := range f1valiter.JDBCConnectorTarget.AdditionalOptions { + var f1valf29f0val string + f1valf29f0val = *f1valf29f0valiter + f1valf29f0[f1valf29f0key] = &f1valf29f0val } - f1valf27.SetAdditionalOptions(f1valf27f0) + f1valf29.SetAdditionalOptions(f1valf29f0) } if f1valiter.JDBCConnectorTarget.ConnectionName != nil { - f1valf27.SetConnectionName(*f1valiter.JDBCConnectorTarget.ConnectionName) + f1valf29.SetConnectionName(*f1valiter.JDBCConnectorTarget.ConnectionName) } if f1valiter.JDBCConnectorTarget.ConnectionTable != nil { - f1valf27.SetConnectionTable(*f1valiter.JDBCConnectorTarget.ConnectionTable) + f1valf29.SetConnectionTable(*f1valiter.JDBCConnectorTarget.ConnectionTable) } if f1valiter.JDBCConnectorTarget.ConnectionType != nil { - f1valf27.SetConnectionType(*f1valiter.JDBCConnectorTarget.ConnectionType) + f1valf29.SetConnectionType(*f1valiter.JDBCConnectorTarget.ConnectionType) } if f1valiter.JDBCConnectorTarget.ConnectorName != nil { - f1valf27.SetConnectorName(*f1valiter.JDBCConnectorTarget.ConnectorName) + f1valf29.SetConnectorName(*f1valiter.JDBCConnectorTarget.ConnectorName) } if f1valiter.JDBCConnectorTarget.Inputs != nil { - f1valf27f5 := []*string{} - for _, f1valf27f5iter := range f1valiter.JDBCConnectorTarget.Inputs { - var f1valf27f5elem string - f1valf27f5elem = *f1valf27f5iter - f1valf27f5 = append(f1valf27f5, &f1valf27f5elem) + f1valf29f5 := []*string{} + for _, f1valf29f5iter := range f1valiter.JDBCConnectorTarget.Inputs { + var f1valf29f5elem string + f1valf29f5elem = *f1valf29f5iter + f1valf29f5 = append(f1valf29f5, &f1valf29f5elem) } - f1valf27.SetInputs(f1valf27f5) + f1valf29.SetInputs(f1valf29f5) } if f1valiter.JDBCConnectorTarget.Name != nil { - f1valf27.SetName(*f1valiter.JDBCConnectorTarget.Name) + f1valf29.SetName(*f1valiter.JDBCConnectorTarget.Name) } if f1valiter.JDBCConnectorTarget.OutputSchemas != nil { - f1valf27f7 := []*svcsdk.GlueSchema{} - for _, f1valf27f7iter := range f1valiter.JDBCConnectorTarget.OutputSchemas { - f1valf27f7elem := &svcsdk.GlueSchema{} - if f1valf27f7iter.Columns != nil { - f1valf27f7elemf0 := []*svcsdk.GlueStudioSchemaColumn{} - for _, f1valf27f7elemf0iter := range f1valf27f7iter.Columns { - f1valf27f7elemf0elem := &svcsdk.GlueStudioSchemaColumn{} - if f1valf27f7elemf0iter.Name != nil { - f1valf27f7elemf0elem.SetName(*f1valf27f7elemf0iter.Name) + f1valf29f7 := []*svcsdk.GlueSchema{} + for _, f1valf29f7iter := range f1valiter.JDBCConnectorTarget.OutputSchemas { + f1valf29f7elem := &svcsdk.GlueSchema{} + if f1valf29f7iter.Columns != nil { + f1valf29f7elemf0 := []*svcsdk.GlueStudioSchemaColumn{} + for _, f1valf29f7elemf0iter := range f1valf29f7iter.Columns { + f1valf29f7elemf0elem := &svcsdk.GlueStudioSchemaColumn{} + if f1valf29f7elemf0iter.Name != nil { + f1valf29f7elemf0elem.SetName(*f1valf29f7elemf0iter.Name) } - if f1valf27f7elemf0iter.Type != nil { - f1valf27f7elemf0elem.SetType(*f1valf27f7elemf0iter.Type) + if f1valf29f7elemf0iter.Type != nil { + f1valf29f7elemf0elem.SetType(*f1valf29f7elemf0iter.Type) } - f1valf27f7elemf0 = append(f1valf27f7elemf0, f1valf27f7elemf0elem) + f1valf29f7elemf0 = append(f1valf29f7elemf0, f1valf29f7elemf0elem) } - f1valf27f7elem.SetColumns(f1valf27f7elemf0) + f1valf29f7elem.SetColumns(f1valf29f7elemf0) } - f1valf27f7 = append(f1valf27f7, f1valf27f7elem) + f1valf29f7 = append(f1valf29f7, f1valf29f7elem) } - f1valf27.SetOutputSchemas(f1valf27f7) + f1valf29.SetOutputSchemas(f1valf29f7) } - f1val.SetJDBCConnectorTarget(f1valf27) + f1val.SetJDBCConnectorTarget(f1valf29) } if f1valiter.Join != nil { - f1valf28 := &svcsdk.Join{} + f1valf30 := &svcsdk.Join{} if f1valiter.Join.Columns != nil { - f1valf28f0 := []*svcsdk.JoinColumn{} - for _, f1valf28f0iter := range f1valiter.Join.Columns { - f1valf28f0elem := &svcsdk.JoinColumn{} - if f1valf28f0iter.From != nil { - f1valf28f0elem.SetFrom(*f1valf28f0iter.From) - } - if f1valf28f0iter.Keys != nil { - f1valf28f0elemf1 := [][]*string{} - for _, f1valf28f0elemf1iter := range f1valf28f0iter.Keys { - f1valf28f0elemf1elem := []*string{} - for _, f1valf28f0elemf1elemiter := range f1valf28f0elemf1iter { - var f1valf28f0elemf1elemelem string - f1valf28f0elemf1elemelem = *f1valf28f0elemf1elemiter - f1valf28f0elemf1elem = append(f1valf28f0elemf1elem, &f1valf28f0elemf1elemelem) + f1valf30f0 := []*svcsdk.JoinColumn{} + for _, f1valf30f0iter := range f1valiter.Join.Columns { + f1valf30f0elem := &svcsdk.JoinColumn{} + if f1valf30f0iter.From != nil { + f1valf30f0elem.SetFrom(*f1valf30f0iter.From) + } + if f1valf30f0iter.Keys != nil { + f1valf30f0elemf1 := [][]*string{} + for _, f1valf30f0elemf1iter := range f1valf30f0iter.Keys { + f1valf30f0elemf1elem := []*string{} + for _, f1valf30f0elemf1elemiter := range f1valf30f0elemf1iter { + var f1valf30f0elemf1elemelem string + f1valf30f0elemf1elemelem = *f1valf30f0elemf1elemiter + f1valf30f0elemf1elem = append(f1valf30f0elemf1elem, &f1valf30f0elemf1elemelem) } - f1valf28f0elemf1 = append(f1valf28f0elemf1, f1valf28f0elemf1elem) + f1valf30f0elemf1 = append(f1valf30f0elemf1, f1valf30f0elemf1elem) } - f1valf28f0elem.SetKeys(f1valf28f0elemf1) + f1valf30f0elem.SetKeys(f1valf30f0elemf1) } - f1valf28f0 = append(f1valf28f0, f1valf28f0elem) + f1valf30f0 = append(f1valf30f0, f1valf30f0elem) } - f1valf28.SetColumns(f1valf28f0) + f1valf30.SetColumns(f1valf30f0) } if f1valiter.Join.Inputs != nil { - f1valf28f1 := []*string{} - for _, f1valf28f1iter := range f1valiter.Join.Inputs { - var f1valf28f1elem string - f1valf28f1elem = *f1valf28f1iter - f1valf28f1 = append(f1valf28f1, &f1valf28f1elem) + f1valf30f1 := []*string{} + for _, f1valf30f1iter := range f1valiter.Join.Inputs { + var f1valf30f1elem string + f1valf30f1elem = *f1valf30f1iter + f1valf30f1 = append(f1valf30f1, &f1valf30f1elem) } - f1valf28.SetInputs(f1valf28f1) + f1valf30.SetInputs(f1valf30f1) } if f1valiter.Join.JoinType != nil { - f1valf28.SetJoinType(*f1valiter.Join.JoinType) + f1valf30.SetJoinType(*f1valiter.Join.JoinType) } if f1valiter.Join.Name != nil { - f1valf28.SetName(*f1valiter.Join.Name) + f1valf30.SetName(*f1valiter.Join.Name) } - f1val.SetJoin(f1valf28) + f1val.SetJoin(f1valf30) } if f1valiter.Merge != nil { - f1valf29 := &svcsdk.Merge{} + f1valf31 := &svcsdk.Merge{} if f1valiter.Merge.Inputs != nil { - f1valf29f0 := []*string{} - for _, f1valf29f0iter := range f1valiter.Merge.Inputs { - var f1valf29f0elem string - f1valf29f0elem = *f1valf29f0iter - f1valf29f0 = append(f1valf29f0, &f1valf29f0elem) + f1valf31f0 := []*string{} + for _, f1valf31f0iter := range f1valiter.Merge.Inputs { + var f1valf31f0elem string + f1valf31f0elem = *f1valf31f0iter + f1valf31f0 = append(f1valf31f0, &f1valf31f0elem) } - f1valf29.SetInputs(f1valf29f0) + f1valf31.SetInputs(f1valf31f0) } if f1valiter.Merge.Name != nil { - f1valf29.SetName(*f1valiter.Merge.Name) + f1valf31.SetName(*f1valiter.Merge.Name) } if f1valiter.Merge.PrimaryKeys != nil { - f1valf29f2 := [][]*string{} - for _, f1valf29f2iter := range f1valiter.Merge.PrimaryKeys { - f1valf29f2elem := []*string{} - for _, f1valf29f2elemiter := range f1valf29f2iter { - var f1valf29f2elemelem string - f1valf29f2elemelem = *f1valf29f2elemiter - f1valf29f2elem = append(f1valf29f2elem, &f1valf29f2elemelem) + f1valf31f2 := [][]*string{} + for _, f1valf31f2iter := range f1valiter.Merge.PrimaryKeys { + f1valf31f2elem := []*string{} + for _, f1valf31f2elemiter := range f1valf31f2iter { + var f1valf31f2elemelem string + f1valf31f2elemelem = *f1valf31f2elemiter + f1valf31f2elem = append(f1valf31f2elem, &f1valf31f2elemelem) } - f1valf29f2 = append(f1valf29f2, f1valf29f2elem) + f1valf31f2 = append(f1valf31f2, f1valf31f2elem) } - f1valf29.SetPrimaryKeys(f1valf29f2) + f1valf31.SetPrimaryKeys(f1valf31f2) } if f1valiter.Merge.Source != nil { - f1valf29.SetSource(*f1valiter.Merge.Source) + f1valf31.SetSource(*f1valiter.Merge.Source) } - f1val.SetMerge(f1valf29) + f1val.SetMerge(f1valf31) } if f1valiter.MicrosoftSQLServerCatalogSource != nil { - f1valf30 := &svcsdk.MicrosoftSQLServerCatalogSource{} + f1valf32 := &svcsdk.MicrosoftSQLServerCatalogSource{} if f1valiter.MicrosoftSQLServerCatalogSource.Database != nil { - f1valf30.SetDatabase(*f1valiter.MicrosoftSQLServerCatalogSource.Database) + f1valf32.SetDatabase(*f1valiter.MicrosoftSQLServerCatalogSource.Database) } if f1valiter.MicrosoftSQLServerCatalogSource.Name != nil { - f1valf30.SetName(*f1valiter.MicrosoftSQLServerCatalogSource.Name) + f1valf32.SetName(*f1valiter.MicrosoftSQLServerCatalogSource.Name) } if f1valiter.MicrosoftSQLServerCatalogSource.Table != nil { - f1valf30.SetTable(*f1valiter.MicrosoftSQLServerCatalogSource.Table) + f1valf32.SetTable(*f1valiter.MicrosoftSQLServerCatalogSource.Table) } - f1val.SetMicrosoftSQLServerCatalogSource(f1valf30) + f1val.SetMicrosoftSQLServerCatalogSource(f1valf32) } if f1valiter.MicrosoftSQLServerCatalogTarget != nil { - f1valf31 := &svcsdk.MicrosoftSQLServerCatalogTarget{} + f1valf33 := &svcsdk.MicrosoftSQLServerCatalogTarget{} if f1valiter.MicrosoftSQLServerCatalogTarget.Database != nil { - f1valf31.SetDatabase(*f1valiter.MicrosoftSQLServerCatalogTarget.Database) + f1valf33.SetDatabase(*f1valiter.MicrosoftSQLServerCatalogTarget.Database) } if f1valiter.MicrosoftSQLServerCatalogTarget.Inputs != nil { - f1valf31f1 := []*string{} - for _, f1valf31f1iter := range f1valiter.MicrosoftSQLServerCatalogTarget.Inputs { - var f1valf31f1elem string - f1valf31f1elem = *f1valf31f1iter - f1valf31f1 = append(f1valf31f1, &f1valf31f1elem) + f1valf33f1 := []*string{} + for _, f1valf33f1iter := range f1valiter.MicrosoftSQLServerCatalogTarget.Inputs { + var f1valf33f1elem string + f1valf33f1elem = *f1valf33f1iter + f1valf33f1 = append(f1valf33f1, &f1valf33f1elem) } - f1valf31.SetInputs(f1valf31f1) + f1valf33.SetInputs(f1valf33f1) } if f1valiter.MicrosoftSQLServerCatalogTarget.Name != nil { - f1valf31.SetName(*f1valiter.MicrosoftSQLServerCatalogTarget.Name) + f1valf33.SetName(*f1valiter.MicrosoftSQLServerCatalogTarget.Name) } if f1valiter.MicrosoftSQLServerCatalogTarget.Table != nil { - f1valf31.SetTable(*f1valiter.MicrosoftSQLServerCatalogTarget.Table) + f1valf33.SetTable(*f1valiter.MicrosoftSQLServerCatalogTarget.Table) } - f1val.SetMicrosoftSQLServerCatalogTarget(f1valf31) + f1val.SetMicrosoftSQLServerCatalogTarget(f1valf33) } if f1valiter.MySQLCatalogSource != nil { - f1valf32 := &svcsdk.MySQLCatalogSource{} + f1valf34 := &svcsdk.MySQLCatalogSource{} if f1valiter.MySQLCatalogSource.Database != nil { - f1valf32.SetDatabase(*f1valiter.MySQLCatalogSource.Database) + f1valf34.SetDatabase(*f1valiter.MySQLCatalogSource.Database) } if f1valiter.MySQLCatalogSource.Name != nil { - f1valf32.SetName(*f1valiter.MySQLCatalogSource.Name) + f1valf34.SetName(*f1valiter.MySQLCatalogSource.Name) } if f1valiter.MySQLCatalogSource.Table != nil { - f1valf32.SetTable(*f1valiter.MySQLCatalogSource.Table) + f1valf34.SetTable(*f1valiter.MySQLCatalogSource.Table) } - f1val.SetMySQLCatalogSource(f1valf32) + f1val.SetMySQLCatalogSource(f1valf34) } if f1valiter.MySQLCatalogTarget != nil { - f1valf33 := &svcsdk.MySQLCatalogTarget{} + f1valf35 := &svcsdk.MySQLCatalogTarget{} if f1valiter.MySQLCatalogTarget.Database != nil { - f1valf33.SetDatabase(*f1valiter.MySQLCatalogTarget.Database) + f1valf35.SetDatabase(*f1valiter.MySQLCatalogTarget.Database) } if f1valiter.MySQLCatalogTarget.Inputs != nil { - f1valf33f1 := []*string{} - for _, f1valf33f1iter := range f1valiter.MySQLCatalogTarget.Inputs { - var f1valf33f1elem string - f1valf33f1elem = *f1valf33f1iter - f1valf33f1 = append(f1valf33f1, &f1valf33f1elem) + f1valf35f1 := []*string{} + for _, f1valf35f1iter := range f1valiter.MySQLCatalogTarget.Inputs { + var f1valf35f1elem string + f1valf35f1elem = *f1valf35f1iter + f1valf35f1 = append(f1valf35f1, &f1valf35f1elem) } - f1valf33.SetInputs(f1valf33f1) + f1valf35.SetInputs(f1valf35f1) } if f1valiter.MySQLCatalogTarget.Name != nil { - f1valf33.SetName(*f1valiter.MySQLCatalogTarget.Name) + f1valf35.SetName(*f1valiter.MySQLCatalogTarget.Name) } if f1valiter.MySQLCatalogTarget.Table != nil { - f1valf33.SetTable(*f1valiter.MySQLCatalogTarget.Table) + f1valf35.SetTable(*f1valiter.MySQLCatalogTarget.Table) } - f1val.SetMySQLCatalogTarget(f1valf33) + f1val.SetMySQLCatalogTarget(f1valf35) } if f1valiter.OracleSQLCatalogSource != nil { - f1valf34 := &svcsdk.OracleSQLCatalogSource{} + f1valf36 := &svcsdk.OracleSQLCatalogSource{} if f1valiter.OracleSQLCatalogSource.Database != nil { - f1valf34.SetDatabase(*f1valiter.OracleSQLCatalogSource.Database) + f1valf36.SetDatabase(*f1valiter.OracleSQLCatalogSource.Database) } if f1valiter.OracleSQLCatalogSource.Name != nil { - f1valf34.SetName(*f1valiter.OracleSQLCatalogSource.Name) + f1valf36.SetName(*f1valiter.OracleSQLCatalogSource.Name) } if f1valiter.OracleSQLCatalogSource.Table != nil { - f1valf34.SetTable(*f1valiter.OracleSQLCatalogSource.Table) + f1valf36.SetTable(*f1valiter.OracleSQLCatalogSource.Table) } - f1val.SetOracleSQLCatalogSource(f1valf34) + f1val.SetOracleSQLCatalogSource(f1valf36) } if f1valiter.OracleSQLCatalogTarget != nil { - f1valf35 := &svcsdk.OracleSQLCatalogTarget{} + f1valf37 := &svcsdk.OracleSQLCatalogTarget{} if f1valiter.OracleSQLCatalogTarget.Database != nil { - f1valf35.SetDatabase(*f1valiter.OracleSQLCatalogTarget.Database) + f1valf37.SetDatabase(*f1valiter.OracleSQLCatalogTarget.Database) } if f1valiter.OracleSQLCatalogTarget.Inputs != nil { - f1valf35f1 := []*string{} - for _, f1valf35f1iter := range f1valiter.OracleSQLCatalogTarget.Inputs { - var f1valf35f1elem string - f1valf35f1elem = *f1valf35f1iter - f1valf35f1 = append(f1valf35f1, &f1valf35f1elem) + f1valf37f1 := []*string{} + for _, f1valf37f1iter := range f1valiter.OracleSQLCatalogTarget.Inputs { + var f1valf37f1elem string + f1valf37f1elem = *f1valf37f1iter + f1valf37f1 = append(f1valf37f1, &f1valf37f1elem) } - f1valf35.SetInputs(f1valf35f1) + f1valf37.SetInputs(f1valf37f1) } if f1valiter.OracleSQLCatalogTarget.Name != nil { - f1valf35.SetName(*f1valiter.OracleSQLCatalogTarget.Name) + f1valf37.SetName(*f1valiter.OracleSQLCatalogTarget.Name) } if f1valiter.OracleSQLCatalogTarget.Table != nil { - f1valf35.SetTable(*f1valiter.OracleSQLCatalogTarget.Table) + f1valf37.SetTable(*f1valiter.OracleSQLCatalogTarget.Table) } - f1val.SetOracleSQLCatalogTarget(f1valf35) + f1val.SetOracleSQLCatalogTarget(f1valf37) } if f1valiter.PIIDetection != nil { - f1valf36 := &svcsdk.PIIDetection{} + f1valf38 := &svcsdk.PIIDetection{} if f1valiter.PIIDetection.EntityTypesToDetect != nil { - f1valf36f0 := []*string{} - for _, f1valf36f0iter := range f1valiter.PIIDetection.EntityTypesToDetect { - var f1valf36f0elem string - f1valf36f0elem = *f1valf36f0iter - f1valf36f0 = append(f1valf36f0, &f1valf36f0elem) + f1valf38f0 := []*string{} + for _, f1valf38f0iter := range f1valiter.PIIDetection.EntityTypesToDetect { + var f1valf38f0elem string + f1valf38f0elem = *f1valf38f0iter + f1valf38f0 = append(f1valf38f0, &f1valf38f0elem) } - f1valf36.SetEntityTypesToDetect(f1valf36f0) + f1valf38.SetEntityTypesToDetect(f1valf38f0) } if f1valiter.PIIDetection.Inputs != nil { - f1valf36f1 := []*string{} - for _, f1valf36f1iter := range f1valiter.PIIDetection.Inputs { - var f1valf36f1elem string - f1valf36f1elem = *f1valf36f1iter - f1valf36f1 = append(f1valf36f1, &f1valf36f1elem) + f1valf38f1 := []*string{} + for _, f1valf38f1iter := range f1valiter.PIIDetection.Inputs { + var f1valf38f1elem string + f1valf38f1elem = *f1valf38f1iter + f1valf38f1 = append(f1valf38f1, &f1valf38f1elem) } - f1valf36.SetInputs(f1valf36f1) + f1valf38.SetInputs(f1valf38f1) } if f1valiter.PIIDetection.MaskValue != nil { - f1valf36.SetMaskValue(*f1valiter.PIIDetection.MaskValue) + f1valf38.SetMaskValue(*f1valiter.PIIDetection.MaskValue) } if f1valiter.PIIDetection.Name != nil { - f1valf36.SetName(*f1valiter.PIIDetection.Name) + f1valf38.SetName(*f1valiter.PIIDetection.Name) } if f1valiter.PIIDetection.OutputColumnName != nil { - f1valf36.SetOutputColumnName(*f1valiter.PIIDetection.OutputColumnName) + f1valf38.SetOutputColumnName(*f1valiter.PIIDetection.OutputColumnName) } if f1valiter.PIIDetection.PiiType != nil { - f1valf36.SetPiiType(*f1valiter.PIIDetection.PiiType) + f1valf38.SetPiiType(*f1valiter.PIIDetection.PiiType) } if f1valiter.PIIDetection.SampleFraction != nil { - f1valf36.SetSampleFraction(*f1valiter.PIIDetection.SampleFraction) + f1valf38.SetSampleFraction(*f1valiter.PIIDetection.SampleFraction) } if f1valiter.PIIDetection.ThresholdFraction != nil { - f1valf36.SetThresholdFraction(*f1valiter.PIIDetection.ThresholdFraction) + f1valf38.SetThresholdFraction(*f1valiter.PIIDetection.ThresholdFraction) } - f1val.SetPIIDetection(f1valf36) + f1val.SetPIIDetection(f1valf38) } if f1valiter.PostgreSQLCatalogSource != nil { - f1valf37 := &svcsdk.PostgreSQLCatalogSource{} + f1valf39 := &svcsdk.PostgreSQLCatalogSource{} if f1valiter.PostgreSQLCatalogSource.Database != nil { - f1valf37.SetDatabase(*f1valiter.PostgreSQLCatalogSource.Database) + f1valf39.SetDatabase(*f1valiter.PostgreSQLCatalogSource.Database) } if f1valiter.PostgreSQLCatalogSource.Name != nil { - f1valf37.SetName(*f1valiter.PostgreSQLCatalogSource.Name) + f1valf39.SetName(*f1valiter.PostgreSQLCatalogSource.Name) } if f1valiter.PostgreSQLCatalogSource.Table != nil { - f1valf37.SetTable(*f1valiter.PostgreSQLCatalogSource.Table) + f1valf39.SetTable(*f1valiter.PostgreSQLCatalogSource.Table) } - f1val.SetPostgreSQLCatalogSource(f1valf37) + f1val.SetPostgreSQLCatalogSource(f1valf39) } if f1valiter.PostgreSQLCatalogTarget != nil { - f1valf38 := &svcsdk.PostgreSQLCatalogTarget{} + f1valf40 := &svcsdk.PostgreSQLCatalogTarget{} if f1valiter.PostgreSQLCatalogTarget.Database != nil { - f1valf38.SetDatabase(*f1valiter.PostgreSQLCatalogTarget.Database) + f1valf40.SetDatabase(*f1valiter.PostgreSQLCatalogTarget.Database) } if f1valiter.PostgreSQLCatalogTarget.Inputs != nil { - f1valf38f1 := []*string{} - for _, f1valf38f1iter := range f1valiter.PostgreSQLCatalogTarget.Inputs { - var f1valf38f1elem string - f1valf38f1elem = *f1valf38f1iter - f1valf38f1 = append(f1valf38f1, &f1valf38f1elem) + f1valf40f1 := []*string{} + for _, f1valf40f1iter := range f1valiter.PostgreSQLCatalogTarget.Inputs { + var f1valf40f1elem string + f1valf40f1elem = *f1valf40f1iter + f1valf40f1 = append(f1valf40f1, &f1valf40f1elem) } - f1valf38.SetInputs(f1valf38f1) + f1valf40.SetInputs(f1valf40f1) } if f1valiter.PostgreSQLCatalogTarget.Name != nil { - f1valf38.SetName(*f1valiter.PostgreSQLCatalogTarget.Name) + f1valf40.SetName(*f1valiter.PostgreSQLCatalogTarget.Name) } if f1valiter.PostgreSQLCatalogTarget.Table != nil { - f1valf38.SetTable(*f1valiter.PostgreSQLCatalogTarget.Table) + f1valf40.SetTable(*f1valiter.PostgreSQLCatalogTarget.Table) } - f1val.SetPostgreSQLCatalogTarget(f1valf38) + f1val.SetPostgreSQLCatalogTarget(f1valf40) } if f1valiter.Recipe != nil { - f1valf39 := &svcsdk.Recipe{} + f1valf41 := &svcsdk.Recipe{} if f1valiter.Recipe.Inputs != nil { - f1valf39f0 := []*string{} - for _, f1valf39f0iter := range f1valiter.Recipe.Inputs { - var f1valf39f0elem string - f1valf39f0elem = *f1valf39f0iter - f1valf39f0 = append(f1valf39f0, &f1valf39f0elem) + f1valf41f0 := []*string{} + for _, f1valf41f0iter := range f1valiter.Recipe.Inputs { + var f1valf41f0elem string + f1valf41f0elem = *f1valf41f0iter + f1valf41f0 = append(f1valf41f0, &f1valf41f0elem) } - f1valf39.SetInputs(f1valf39f0) + f1valf41.SetInputs(f1valf41f0) } if f1valiter.Recipe.Name != nil { - f1valf39.SetName(*f1valiter.Recipe.Name) + f1valf41.SetName(*f1valiter.Recipe.Name) } if f1valiter.Recipe.RecipeReference != nil { - f1valf39f2 := &svcsdk.RecipeReference{} + f1valf41f2 := &svcsdk.RecipeReference{} if f1valiter.Recipe.RecipeReference.RecipeARN != nil { - f1valf39f2.SetRecipeArn(*f1valiter.Recipe.RecipeReference.RecipeARN) + f1valf41f2.SetRecipeArn(*f1valiter.Recipe.RecipeReference.RecipeARN) } if f1valiter.Recipe.RecipeReference.RecipeVersion != nil { - f1valf39f2.SetRecipeVersion(*f1valiter.Recipe.RecipeReference.RecipeVersion) + f1valf41f2.SetRecipeVersion(*f1valiter.Recipe.RecipeReference.RecipeVersion) } - f1valf39.SetRecipeReference(f1valf39f2) + f1valf41.SetRecipeReference(f1valf41f2) } - f1val.SetRecipe(f1valf39) + f1val.SetRecipe(f1valf41) } if f1valiter.RedshiftSource != nil { - f1valf40 := &svcsdk.RedshiftSource{} + f1valf42 := &svcsdk.RedshiftSource{} if f1valiter.RedshiftSource.Database != nil { - f1valf40.SetDatabase(*f1valiter.RedshiftSource.Database) + f1valf42.SetDatabase(*f1valiter.RedshiftSource.Database) } if f1valiter.RedshiftSource.Name != nil { - f1valf40.SetName(*f1valiter.RedshiftSource.Name) + f1valf42.SetName(*f1valiter.RedshiftSource.Name) } if f1valiter.RedshiftSource.RedshiftTmpDir != nil { - f1valf40.SetRedshiftTmpDir(*f1valiter.RedshiftSource.RedshiftTmpDir) + f1valf42.SetRedshiftTmpDir(*f1valiter.RedshiftSource.RedshiftTmpDir) } if f1valiter.RedshiftSource.Table != nil { - f1valf40.SetTable(*f1valiter.RedshiftSource.Table) + f1valf42.SetTable(*f1valiter.RedshiftSource.Table) } if f1valiter.RedshiftSource.TmpDirIAMRole != nil { - f1valf40.SetTmpDirIAMRole(*f1valiter.RedshiftSource.TmpDirIAMRole) + f1valf42.SetTmpDirIAMRole(*f1valiter.RedshiftSource.TmpDirIAMRole) } - f1val.SetRedshiftSource(f1valf40) + f1val.SetRedshiftSource(f1valf42) } if f1valiter.RedshiftTarget != nil { - f1valf41 := &svcsdk.RedshiftTarget{} + f1valf43 := &svcsdk.RedshiftTarget{} if f1valiter.RedshiftTarget.Database != nil { - f1valf41.SetDatabase(*f1valiter.RedshiftTarget.Database) + f1valf43.SetDatabase(*f1valiter.RedshiftTarget.Database) } if f1valiter.RedshiftTarget.Inputs != nil { - f1valf41f1 := []*string{} - for _, f1valf41f1iter := range f1valiter.RedshiftTarget.Inputs { - var f1valf41f1elem string - f1valf41f1elem = *f1valf41f1iter - f1valf41f1 = append(f1valf41f1, &f1valf41f1elem) + f1valf43f1 := []*string{} + for _, f1valf43f1iter := range f1valiter.RedshiftTarget.Inputs { + var f1valf43f1elem string + f1valf43f1elem = *f1valf43f1iter + f1valf43f1 = append(f1valf43f1, &f1valf43f1elem) } - f1valf41.SetInputs(f1valf41f1) + f1valf43.SetInputs(f1valf43f1) } if f1valiter.RedshiftTarget.Name != nil { - f1valf41.SetName(*f1valiter.RedshiftTarget.Name) + f1valf43.SetName(*f1valiter.RedshiftTarget.Name) } if f1valiter.RedshiftTarget.RedshiftTmpDir != nil { - f1valf41.SetRedshiftTmpDir(*f1valiter.RedshiftTarget.RedshiftTmpDir) + f1valf43.SetRedshiftTmpDir(*f1valiter.RedshiftTarget.RedshiftTmpDir) } if f1valiter.RedshiftTarget.Table != nil { - f1valf41.SetTable(*f1valiter.RedshiftTarget.Table) + f1valf43.SetTable(*f1valiter.RedshiftTarget.Table) } if f1valiter.RedshiftTarget.TmpDirIAMRole != nil { - f1valf41.SetTmpDirIAMRole(*f1valiter.RedshiftTarget.TmpDirIAMRole) + f1valf43.SetTmpDirIAMRole(*f1valiter.RedshiftTarget.TmpDirIAMRole) } if f1valiter.RedshiftTarget.UpsertRedshiftOptions != nil { - f1valf41f6 := &svcsdk.UpsertRedshiftTargetOptions{} + f1valf43f6 := &svcsdk.UpsertRedshiftTargetOptions{} if f1valiter.RedshiftTarget.UpsertRedshiftOptions.ConnectionName != nil { - f1valf41f6.SetConnectionName(*f1valiter.RedshiftTarget.UpsertRedshiftOptions.ConnectionName) + f1valf43f6.SetConnectionName(*f1valiter.RedshiftTarget.UpsertRedshiftOptions.ConnectionName) } if f1valiter.RedshiftTarget.UpsertRedshiftOptions.TableLocation != nil { - f1valf41f6.SetTableLocation(*f1valiter.RedshiftTarget.UpsertRedshiftOptions.TableLocation) + f1valf43f6.SetTableLocation(*f1valiter.RedshiftTarget.UpsertRedshiftOptions.TableLocation) } if f1valiter.RedshiftTarget.UpsertRedshiftOptions.UpsertKeys != nil { - f1valf41f6f2 := []*string{} - for _, f1valf41f6f2iter := range f1valiter.RedshiftTarget.UpsertRedshiftOptions.UpsertKeys { - var f1valf41f6f2elem string - f1valf41f6f2elem = *f1valf41f6f2iter - f1valf41f6f2 = append(f1valf41f6f2, &f1valf41f6f2elem) + f1valf43f6f2 := []*string{} + for _, f1valf43f6f2iter := range f1valiter.RedshiftTarget.UpsertRedshiftOptions.UpsertKeys { + var f1valf43f6f2elem string + f1valf43f6f2elem = *f1valf43f6f2iter + f1valf43f6f2 = append(f1valf43f6f2, &f1valf43f6f2elem) } - f1valf41f6.SetUpsertKeys(f1valf41f6f2) + f1valf43f6.SetUpsertKeys(f1valf43f6f2) } - f1valf41.SetUpsertRedshiftOptions(f1valf41f6) + f1valf43.SetUpsertRedshiftOptions(f1valf43f6) } - f1val.SetRedshiftTarget(f1valf41) + f1val.SetRedshiftTarget(f1valf43) } if f1valiter.RelationalCatalogSource != nil { - f1valf42 := &svcsdk.RelationalCatalogSource{} + f1valf44 := &svcsdk.RelationalCatalogSource{} if f1valiter.RelationalCatalogSource.Database != nil { - f1valf42.SetDatabase(*f1valiter.RelationalCatalogSource.Database) + f1valf44.SetDatabase(*f1valiter.RelationalCatalogSource.Database) } if f1valiter.RelationalCatalogSource.Name != nil { - f1valf42.SetName(*f1valiter.RelationalCatalogSource.Name) + f1valf44.SetName(*f1valiter.RelationalCatalogSource.Name) } if f1valiter.RelationalCatalogSource.Table != nil { - f1valf42.SetTable(*f1valiter.RelationalCatalogSource.Table) + f1valf44.SetTable(*f1valiter.RelationalCatalogSource.Table) } - f1val.SetRelationalCatalogSource(f1valf42) + f1val.SetRelationalCatalogSource(f1valf44) } if f1valiter.RenameField != nil { - f1valf43 := &svcsdk.RenameField{} + f1valf45 := &svcsdk.RenameField{} if f1valiter.RenameField.Inputs != nil { - f1valf43f0 := []*string{} - for _, f1valf43f0iter := range f1valiter.RenameField.Inputs { - var f1valf43f0elem string - f1valf43f0elem = *f1valf43f0iter - f1valf43f0 = append(f1valf43f0, &f1valf43f0elem) + f1valf45f0 := []*string{} + for _, f1valf45f0iter := range f1valiter.RenameField.Inputs { + var f1valf45f0elem string + f1valf45f0elem = *f1valf45f0iter + f1valf45f0 = append(f1valf45f0, &f1valf45f0elem) } - f1valf43.SetInputs(f1valf43f0) + f1valf45.SetInputs(f1valf45f0) } if f1valiter.RenameField.Name != nil { - f1valf43.SetName(*f1valiter.RenameField.Name) + f1valf45.SetName(*f1valiter.RenameField.Name) } if f1valiter.RenameField.SourcePath != nil { - f1valf43f2 := []*string{} - for _, f1valf43f2iter := range f1valiter.RenameField.SourcePath { - var f1valf43f2elem string - f1valf43f2elem = *f1valf43f2iter - f1valf43f2 = append(f1valf43f2, &f1valf43f2elem) + f1valf45f2 := []*string{} + for _, f1valf45f2iter := range f1valiter.RenameField.SourcePath { + var f1valf45f2elem string + f1valf45f2elem = *f1valf45f2iter + f1valf45f2 = append(f1valf45f2, &f1valf45f2elem) } - f1valf43.SetSourcePath(f1valf43f2) + f1valf45.SetSourcePath(f1valf45f2) } if f1valiter.RenameField.TargetPath != nil { - f1valf43f3 := []*string{} - for _, f1valf43f3iter := range f1valiter.RenameField.TargetPath { - var f1valf43f3elem string - f1valf43f3elem = *f1valf43f3iter - f1valf43f3 = append(f1valf43f3, &f1valf43f3elem) + f1valf45f3 := []*string{} + for _, f1valf45f3iter := range f1valiter.RenameField.TargetPath { + var f1valf45f3elem string + f1valf45f3elem = *f1valf45f3iter + f1valf45f3 = append(f1valf45f3, &f1valf45f3elem) } - f1valf43.SetTargetPath(f1valf43f3) + f1valf45.SetTargetPath(f1valf45f3) } - f1val.SetRenameField(f1valf43) + f1val.SetRenameField(f1valf45) } if f1valiter.S3CatalogDeltaSource != nil { - f1valf44 := &svcsdk.S3CatalogDeltaSource{} + f1valf46 := &svcsdk.S3CatalogDeltaSource{} if f1valiter.S3CatalogDeltaSource.AdditionalDeltaOptions != nil { - f1valf44f0 := map[string]*string{} - for f1valf44f0key, f1valf44f0valiter := range f1valiter.S3CatalogDeltaSource.AdditionalDeltaOptions { - var f1valf44f0val string - f1valf44f0val = *f1valf44f0valiter - f1valf44f0[f1valf44f0key] = &f1valf44f0val + f1valf46f0 := map[string]*string{} + for f1valf46f0key, f1valf46f0valiter := range f1valiter.S3CatalogDeltaSource.AdditionalDeltaOptions { + var f1valf46f0val string + f1valf46f0val = *f1valf46f0valiter + f1valf46f0[f1valf46f0key] = &f1valf46f0val } - f1valf44.SetAdditionalDeltaOptions(f1valf44f0) + f1valf46.SetAdditionalDeltaOptions(f1valf46f0) } if f1valiter.S3CatalogDeltaSource.Database != nil { - f1valf44.SetDatabase(*f1valiter.S3CatalogDeltaSource.Database) + f1valf46.SetDatabase(*f1valiter.S3CatalogDeltaSource.Database) } if f1valiter.S3CatalogDeltaSource.Name != nil { - f1valf44.SetName(*f1valiter.S3CatalogDeltaSource.Name) + f1valf46.SetName(*f1valiter.S3CatalogDeltaSource.Name) } if f1valiter.S3CatalogDeltaSource.OutputSchemas != nil { - f1valf44f3 := []*svcsdk.GlueSchema{} - for _, f1valf44f3iter := range f1valiter.S3CatalogDeltaSource.OutputSchemas { - f1valf44f3elem := &svcsdk.GlueSchema{} - if f1valf44f3iter.Columns != nil { - f1valf44f3elemf0 := []*svcsdk.GlueStudioSchemaColumn{} - for _, f1valf44f3elemf0iter := range f1valf44f3iter.Columns { - f1valf44f3elemf0elem := &svcsdk.GlueStudioSchemaColumn{} - if f1valf44f3elemf0iter.Name != nil { - f1valf44f3elemf0elem.SetName(*f1valf44f3elemf0iter.Name) + f1valf46f3 := []*svcsdk.GlueSchema{} + for _, f1valf46f3iter := range f1valiter.S3CatalogDeltaSource.OutputSchemas { + f1valf46f3elem := &svcsdk.GlueSchema{} + if f1valf46f3iter.Columns != nil { + f1valf46f3elemf0 := []*svcsdk.GlueStudioSchemaColumn{} + for _, f1valf46f3elemf0iter := range f1valf46f3iter.Columns { + f1valf46f3elemf0elem := &svcsdk.GlueStudioSchemaColumn{} + if f1valf46f3elemf0iter.Name != nil { + f1valf46f3elemf0elem.SetName(*f1valf46f3elemf0iter.Name) } - if f1valf44f3elemf0iter.Type != nil { - f1valf44f3elemf0elem.SetType(*f1valf44f3elemf0iter.Type) + if f1valf46f3elemf0iter.Type != nil { + f1valf46f3elemf0elem.SetType(*f1valf46f3elemf0iter.Type) } - f1valf44f3elemf0 = append(f1valf44f3elemf0, f1valf44f3elemf0elem) + f1valf46f3elemf0 = append(f1valf46f3elemf0, f1valf46f3elemf0elem) } - f1valf44f3elem.SetColumns(f1valf44f3elemf0) + f1valf46f3elem.SetColumns(f1valf46f3elemf0) } - f1valf44f3 = append(f1valf44f3, f1valf44f3elem) + f1valf46f3 = append(f1valf46f3, f1valf46f3elem) } - f1valf44.SetOutputSchemas(f1valf44f3) + f1valf46.SetOutputSchemas(f1valf46f3) } if f1valiter.S3CatalogDeltaSource.Table != nil { - f1valf44.SetTable(*f1valiter.S3CatalogDeltaSource.Table) + f1valf46.SetTable(*f1valiter.S3CatalogDeltaSource.Table) } - f1val.SetS3CatalogDeltaSource(f1valf44) + f1val.SetS3CatalogDeltaSource(f1valf46) } if f1valiter.S3CatalogHudiSource != nil { - f1valf45 := &svcsdk.S3CatalogHudiSource{} + f1valf47 := &svcsdk.S3CatalogHudiSource{} if f1valiter.S3CatalogHudiSource.AdditionalHudiOptions != nil { - f1valf45f0 := map[string]*string{} - for f1valf45f0key, f1valf45f0valiter := range f1valiter.S3CatalogHudiSource.AdditionalHudiOptions { - var f1valf45f0val string - f1valf45f0val = *f1valf45f0valiter - f1valf45f0[f1valf45f0key] = &f1valf45f0val + f1valf47f0 := map[string]*string{} + for f1valf47f0key, f1valf47f0valiter := range f1valiter.S3CatalogHudiSource.AdditionalHudiOptions { + var f1valf47f0val string + f1valf47f0val = *f1valf47f0valiter + f1valf47f0[f1valf47f0key] = &f1valf47f0val } - f1valf45.SetAdditionalHudiOptions(f1valf45f0) + f1valf47.SetAdditionalHudiOptions(f1valf47f0) } if f1valiter.S3CatalogHudiSource.Database != nil { - f1valf45.SetDatabase(*f1valiter.S3CatalogHudiSource.Database) + f1valf47.SetDatabase(*f1valiter.S3CatalogHudiSource.Database) } if f1valiter.S3CatalogHudiSource.Name != nil { - f1valf45.SetName(*f1valiter.S3CatalogHudiSource.Name) + f1valf47.SetName(*f1valiter.S3CatalogHudiSource.Name) } if f1valiter.S3CatalogHudiSource.OutputSchemas != nil { - f1valf45f3 := []*svcsdk.GlueSchema{} - for _, f1valf45f3iter := range f1valiter.S3CatalogHudiSource.OutputSchemas { - f1valf45f3elem := &svcsdk.GlueSchema{} - if f1valf45f3iter.Columns != nil { - f1valf45f3elemf0 := []*svcsdk.GlueStudioSchemaColumn{} - for _, f1valf45f3elemf0iter := range f1valf45f3iter.Columns { - f1valf45f3elemf0elem := &svcsdk.GlueStudioSchemaColumn{} - if f1valf45f3elemf0iter.Name != nil { - f1valf45f3elemf0elem.SetName(*f1valf45f3elemf0iter.Name) + f1valf47f3 := []*svcsdk.GlueSchema{} + for _, f1valf47f3iter := range f1valiter.S3CatalogHudiSource.OutputSchemas { + f1valf47f3elem := &svcsdk.GlueSchema{} + if f1valf47f3iter.Columns != nil { + f1valf47f3elemf0 := []*svcsdk.GlueStudioSchemaColumn{} + for _, f1valf47f3elemf0iter := range f1valf47f3iter.Columns { + f1valf47f3elemf0elem := &svcsdk.GlueStudioSchemaColumn{} + if f1valf47f3elemf0iter.Name != nil { + f1valf47f3elemf0elem.SetName(*f1valf47f3elemf0iter.Name) } - if f1valf45f3elemf0iter.Type != nil { - f1valf45f3elemf0elem.SetType(*f1valf45f3elemf0iter.Type) + if f1valf47f3elemf0iter.Type != nil { + f1valf47f3elemf0elem.SetType(*f1valf47f3elemf0iter.Type) } - f1valf45f3elemf0 = append(f1valf45f3elemf0, f1valf45f3elemf0elem) + f1valf47f3elemf0 = append(f1valf47f3elemf0, f1valf47f3elemf0elem) } - f1valf45f3elem.SetColumns(f1valf45f3elemf0) + f1valf47f3elem.SetColumns(f1valf47f3elemf0) } - f1valf45f3 = append(f1valf45f3, f1valf45f3elem) + f1valf47f3 = append(f1valf47f3, f1valf47f3elem) } - f1valf45.SetOutputSchemas(f1valf45f3) + f1valf47.SetOutputSchemas(f1valf47f3) } if f1valiter.S3CatalogHudiSource.Table != nil { - f1valf45.SetTable(*f1valiter.S3CatalogHudiSource.Table) + f1valf47.SetTable(*f1valiter.S3CatalogHudiSource.Table) } - f1val.SetS3CatalogHudiSource(f1valf45) + f1val.SetS3CatalogHudiSource(f1valf47) } if f1valiter.S3CatalogSource != nil { - f1valf46 := &svcsdk.S3CatalogSource{} + f1valf48 := &svcsdk.S3CatalogSource{} if f1valiter.S3CatalogSource.AdditionalOptions != nil { - f1valf46f0 := &svcsdk.S3SourceAdditionalOptions{} + f1valf48f0 := &svcsdk.S3SourceAdditionalOptions{} if f1valiter.S3CatalogSource.AdditionalOptions.BoundedFiles != nil { - f1valf46f0.SetBoundedFiles(*f1valiter.S3CatalogSource.AdditionalOptions.BoundedFiles) + f1valf48f0.SetBoundedFiles(*f1valiter.S3CatalogSource.AdditionalOptions.BoundedFiles) } if f1valiter.S3CatalogSource.AdditionalOptions.BoundedSize != nil { - f1valf46f0.SetBoundedSize(*f1valiter.S3CatalogSource.AdditionalOptions.BoundedSize) + f1valf48f0.SetBoundedSize(*f1valiter.S3CatalogSource.AdditionalOptions.BoundedSize) } - f1valf46.SetAdditionalOptions(f1valf46f0) + f1valf48.SetAdditionalOptions(f1valf48f0) } if f1valiter.S3CatalogSource.Database != nil { - f1valf46.SetDatabase(*f1valiter.S3CatalogSource.Database) + f1valf48.SetDatabase(*f1valiter.S3CatalogSource.Database) } if f1valiter.S3CatalogSource.Name != nil { - f1valf46.SetName(*f1valiter.S3CatalogSource.Name) + f1valf48.SetName(*f1valiter.S3CatalogSource.Name) } if f1valiter.S3CatalogSource.PartitionPredicate != nil { - f1valf46.SetPartitionPredicate(*f1valiter.S3CatalogSource.PartitionPredicate) + f1valf48.SetPartitionPredicate(*f1valiter.S3CatalogSource.PartitionPredicate) } if f1valiter.S3CatalogSource.Table != nil { - f1valf46.SetTable(*f1valiter.S3CatalogSource.Table) + f1valf48.SetTable(*f1valiter.S3CatalogSource.Table) } - f1val.SetS3CatalogSource(f1valf46) + f1val.SetS3CatalogSource(f1valf48) } if f1valiter.S3CatalogTarget != nil { - f1valf47 := &svcsdk.S3CatalogTarget{} + f1valf49 := &svcsdk.S3CatalogTarget{} if f1valiter.S3CatalogTarget.Database != nil { - f1valf47.SetDatabase(*f1valiter.S3CatalogTarget.Database) + f1valf49.SetDatabase(*f1valiter.S3CatalogTarget.Database) } if f1valiter.S3CatalogTarget.Inputs != nil { - f1valf47f1 := []*string{} - for _, f1valf47f1iter := range f1valiter.S3CatalogTarget.Inputs { - var f1valf47f1elem string - f1valf47f1elem = *f1valf47f1iter - f1valf47f1 = append(f1valf47f1, &f1valf47f1elem) + f1valf49f1 := []*string{} + for _, f1valf49f1iter := range f1valiter.S3CatalogTarget.Inputs { + var f1valf49f1elem string + f1valf49f1elem = *f1valf49f1iter + f1valf49f1 = append(f1valf49f1, &f1valf49f1elem) } - f1valf47.SetInputs(f1valf47f1) + f1valf49.SetInputs(f1valf49f1) } if f1valiter.S3CatalogTarget.Name != nil { - f1valf47.SetName(*f1valiter.S3CatalogTarget.Name) + f1valf49.SetName(*f1valiter.S3CatalogTarget.Name) } if f1valiter.S3CatalogTarget.PartitionKeys != nil { - f1valf47f3 := [][]*string{} - for _, f1valf47f3iter := range f1valiter.S3CatalogTarget.PartitionKeys { - f1valf47f3elem := []*string{} - for _, f1valf47f3elemiter := range f1valf47f3iter { - var f1valf47f3elemelem string - f1valf47f3elemelem = *f1valf47f3elemiter - f1valf47f3elem = append(f1valf47f3elem, &f1valf47f3elemelem) + f1valf49f3 := [][]*string{} + for _, f1valf49f3iter := range f1valiter.S3CatalogTarget.PartitionKeys { + f1valf49f3elem := []*string{} + for _, f1valf49f3elemiter := range f1valf49f3iter { + var f1valf49f3elemelem string + f1valf49f3elemelem = *f1valf49f3elemiter + f1valf49f3elem = append(f1valf49f3elem, &f1valf49f3elemelem) } - f1valf47f3 = append(f1valf47f3, f1valf47f3elem) + f1valf49f3 = append(f1valf49f3, f1valf49f3elem) } - f1valf47.SetPartitionKeys(f1valf47f3) + f1valf49.SetPartitionKeys(f1valf49f3) } if f1valiter.S3CatalogTarget.SchemaChangePolicy != nil { - f1valf47f4 := &svcsdk.CatalogSchemaChangePolicy{} + f1valf49f4 := &svcsdk.CatalogSchemaChangePolicy{} if f1valiter.S3CatalogTarget.SchemaChangePolicy.EnableUpdateCatalog != nil { - f1valf47f4.SetEnableUpdateCatalog(*f1valiter.S3CatalogTarget.SchemaChangePolicy.EnableUpdateCatalog) + f1valf49f4.SetEnableUpdateCatalog(*f1valiter.S3CatalogTarget.SchemaChangePolicy.EnableUpdateCatalog) } if f1valiter.S3CatalogTarget.SchemaChangePolicy.UpdateBehavior != nil { - f1valf47f4.SetUpdateBehavior(*f1valiter.S3CatalogTarget.SchemaChangePolicy.UpdateBehavior) + f1valf49f4.SetUpdateBehavior(*f1valiter.S3CatalogTarget.SchemaChangePolicy.UpdateBehavior) } - f1valf47.SetSchemaChangePolicy(f1valf47f4) + f1valf49.SetSchemaChangePolicy(f1valf49f4) } if f1valiter.S3CatalogTarget.Table != nil { - f1valf47.SetTable(*f1valiter.S3CatalogTarget.Table) + f1valf49.SetTable(*f1valiter.S3CatalogTarget.Table) } - f1val.SetS3CatalogTarget(f1valf47) + f1val.SetS3CatalogTarget(f1valf49) } if f1valiter.S3CsvSource != nil { - f1valf48 := &svcsdk.S3CsvSource{} + f1valf50 := &svcsdk.S3CsvSource{} if f1valiter.S3CsvSource.AdditionalOptions != nil { - f1valf48f0 := &svcsdk.S3DirectSourceAdditionalOptions{} + f1valf50f0 := &svcsdk.S3DirectSourceAdditionalOptions{} if f1valiter.S3CsvSource.AdditionalOptions.BoundedFiles != nil { - f1valf48f0.SetBoundedFiles(*f1valiter.S3CsvSource.AdditionalOptions.BoundedFiles) + f1valf50f0.SetBoundedFiles(*f1valiter.S3CsvSource.AdditionalOptions.BoundedFiles) } if f1valiter.S3CsvSource.AdditionalOptions.BoundedSize != nil { - f1valf48f0.SetBoundedSize(*f1valiter.S3CsvSource.AdditionalOptions.BoundedSize) + f1valf50f0.SetBoundedSize(*f1valiter.S3CsvSource.AdditionalOptions.BoundedSize) } if f1valiter.S3CsvSource.AdditionalOptions.EnableSamplePath != nil { - f1valf48f0.SetEnableSamplePath(*f1valiter.S3CsvSource.AdditionalOptions.EnableSamplePath) + f1valf50f0.SetEnableSamplePath(*f1valiter.S3CsvSource.AdditionalOptions.EnableSamplePath) } if f1valiter.S3CsvSource.AdditionalOptions.SamplePath != nil { - f1valf48f0.SetSamplePath(*f1valiter.S3CsvSource.AdditionalOptions.SamplePath) + f1valf50f0.SetSamplePath(*f1valiter.S3CsvSource.AdditionalOptions.SamplePath) } - f1valf48.SetAdditionalOptions(f1valf48f0) + f1valf50.SetAdditionalOptions(f1valf50f0) } if f1valiter.S3CsvSource.CompressionType != nil { - f1valf48.SetCompressionType(*f1valiter.S3CsvSource.CompressionType) + f1valf50.SetCompressionType(*f1valiter.S3CsvSource.CompressionType) } if f1valiter.S3CsvSource.Escaper != nil { - f1valf48.SetEscaper(*f1valiter.S3CsvSource.Escaper) + f1valf50.SetEscaper(*f1valiter.S3CsvSource.Escaper) } if f1valiter.S3CsvSource.Exclusions != nil { - f1valf48f3 := []*string{} - for _, f1valf48f3iter := range f1valiter.S3CsvSource.Exclusions { - var f1valf48f3elem string - f1valf48f3elem = *f1valf48f3iter - f1valf48f3 = append(f1valf48f3, &f1valf48f3elem) + f1valf50f3 := []*string{} + for _, f1valf50f3iter := range f1valiter.S3CsvSource.Exclusions { + var f1valf50f3elem string + f1valf50f3elem = *f1valf50f3iter + f1valf50f3 = append(f1valf50f3, &f1valf50f3elem) } - f1valf48.SetExclusions(f1valf48f3) + f1valf50.SetExclusions(f1valf50f3) } if f1valiter.S3CsvSource.GroupFiles != nil { - f1valf48.SetGroupFiles(*f1valiter.S3CsvSource.GroupFiles) + f1valf50.SetGroupFiles(*f1valiter.S3CsvSource.GroupFiles) } if f1valiter.S3CsvSource.GroupSize != nil { - f1valf48.SetGroupSize(*f1valiter.S3CsvSource.GroupSize) + f1valf50.SetGroupSize(*f1valiter.S3CsvSource.GroupSize) } if f1valiter.S3CsvSource.MaxBand != nil { - f1valf48.SetMaxBand(*f1valiter.S3CsvSource.MaxBand) + f1valf50.SetMaxBand(*f1valiter.S3CsvSource.MaxBand) } if f1valiter.S3CsvSource.MaxFilesInBand != nil { - f1valf48.SetMaxFilesInBand(*f1valiter.S3CsvSource.MaxFilesInBand) + f1valf50.SetMaxFilesInBand(*f1valiter.S3CsvSource.MaxFilesInBand) } if f1valiter.S3CsvSource.Multiline != nil { - f1valf48.SetMultiline(*f1valiter.S3CsvSource.Multiline) + f1valf50.SetMultiline(*f1valiter.S3CsvSource.Multiline) } if f1valiter.S3CsvSource.Name != nil { - f1valf48.SetName(*f1valiter.S3CsvSource.Name) + f1valf50.SetName(*f1valiter.S3CsvSource.Name) } if f1valiter.S3CsvSource.OptimizePerformance != nil { - f1valf48.SetOptimizePerformance(*f1valiter.S3CsvSource.OptimizePerformance) + f1valf50.SetOptimizePerformance(*f1valiter.S3CsvSource.OptimizePerformance) } if f1valiter.S3CsvSource.OutputSchemas != nil { - f1valf48f11 := []*svcsdk.GlueSchema{} - for _, f1valf48f11iter := range f1valiter.S3CsvSource.OutputSchemas { - f1valf48f11elem := &svcsdk.GlueSchema{} - if f1valf48f11iter.Columns != nil { - f1valf48f11elemf0 := []*svcsdk.GlueStudioSchemaColumn{} - for _, f1valf48f11elemf0iter := range f1valf48f11iter.Columns { - f1valf48f11elemf0elem := &svcsdk.GlueStudioSchemaColumn{} - if f1valf48f11elemf0iter.Name != nil { - f1valf48f11elemf0elem.SetName(*f1valf48f11elemf0iter.Name) + f1valf50f11 := []*svcsdk.GlueSchema{} + for _, f1valf50f11iter := range f1valiter.S3CsvSource.OutputSchemas { + f1valf50f11elem := &svcsdk.GlueSchema{} + if f1valf50f11iter.Columns != nil { + f1valf50f11elemf0 := []*svcsdk.GlueStudioSchemaColumn{} + for _, f1valf50f11elemf0iter := range f1valf50f11iter.Columns { + f1valf50f11elemf0elem := &svcsdk.GlueStudioSchemaColumn{} + if f1valf50f11elemf0iter.Name != nil { + f1valf50f11elemf0elem.SetName(*f1valf50f11elemf0iter.Name) } - if f1valf48f11elemf0iter.Type != nil { - f1valf48f11elemf0elem.SetType(*f1valf48f11elemf0iter.Type) + if f1valf50f11elemf0iter.Type != nil { + f1valf50f11elemf0elem.SetType(*f1valf50f11elemf0iter.Type) } - f1valf48f11elemf0 = append(f1valf48f11elemf0, f1valf48f11elemf0elem) + f1valf50f11elemf0 = append(f1valf50f11elemf0, f1valf50f11elemf0elem) } - f1valf48f11elem.SetColumns(f1valf48f11elemf0) + f1valf50f11elem.SetColumns(f1valf50f11elemf0) } - f1valf48f11 = append(f1valf48f11, f1valf48f11elem) + f1valf50f11 = append(f1valf50f11, f1valf50f11elem) } - f1valf48.SetOutputSchemas(f1valf48f11) + f1valf50.SetOutputSchemas(f1valf50f11) } if f1valiter.S3CsvSource.Paths != nil { - f1valf48f12 := []*string{} - for _, f1valf48f12iter := range f1valiter.S3CsvSource.Paths { - var f1valf48f12elem string - f1valf48f12elem = *f1valf48f12iter - f1valf48f12 = append(f1valf48f12, &f1valf48f12elem) + f1valf50f12 := []*string{} + for _, f1valf50f12iter := range f1valiter.S3CsvSource.Paths { + var f1valf50f12elem string + f1valf50f12elem = *f1valf50f12iter + f1valf50f12 = append(f1valf50f12, &f1valf50f12elem) } - f1valf48.SetPaths(f1valf48f12) + f1valf50.SetPaths(f1valf50f12) } if f1valiter.S3CsvSource.QuoteChar != nil { - f1valf48.SetQuoteChar(*f1valiter.S3CsvSource.QuoteChar) + f1valf50.SetQuoteChar(*f1valiter.S3CsvSource.QuoteChar) } if f1valiter.S3CsvSource.Recurse != nil { - f1valf48.SetRecurse(*f1valiter.S3CsvSource.Recurse) + f1valf50.SetRecurse(*f1valiter.S3CsvSource.Recurse) } if f1valiter.S3CsvSource.Separator != nil { - f1valf48.SetSeparator(*f1valiter.S3CsvSource.Separator) + f1valf50.SetSeparator(*f1valiter.S3CsvSource.Separator) } if f1valiter.S3CsvSource.SkipFirst != nil { - f1valf48.SetSkipFirst(*f1valiter.S3CsvSource.SkipFirst) + f1valf50.SetSkipFirst(*f1valiter.S3CsvSource.SkipFirst) } if f1valiter.S3CsvSource.WithHeader != nil { - f1valf48.SetWithHeader(*f1valiter.S3CsvSource.WithHeader) + f1valf50.SetWithHeader(*f1valiter.S3CsvSource.WithHeader) } if f1valiter.S3CsvSource.WriteHeader != nil { - f1valf48.SetWriteHeader(*f1valiter.S3CsvSource.WriteHeader) + f1valf50.SetWriteHeader(*f1valiter.S3CsvSource.WriteHeader) } - f1val.SetS3CsvSource(f1valf48) + f1val.SetS3CsvSource(f1valf50) } if f1valiter.S3DeltaCatalogTarget != nil { - f1valf49 := &svcsdk.S3DeltaCatalogTarget{} + f1valf51 := &svcsdk.S3DeltaCatalogTarget{} if f1valiter.S3DeltaCatalogTarget.AdditionalOptions != nil { - f1valf49f0 := map[string]*string{} - for f1valf49f0key, f1valf49f0valiter := range f1valiter.S3DeltaCatalogTarget.AdditionalOptions { - var f1valf49f0val string - f1valf49f0val = *f1valf49f0valiter - f1valf49f0[f1valf49f0key] = &f1valf49f0val + f1valf51f0 := map[string]*string{} + for f1valf51f0key, f1valf51f0valiter := range f1valiter.S3DeltaCatalogTarget.AdditionalOptions { + var f1valf51f0val string + f1valf51f0val = *f1valf51f0valiter + f1valf51f0[f1valf51f0key] = &f1valf51f0val } - f1valf49.SetAdditionalOptions(f1valf49f0) + f1valf51.SetAdditionalOptions(f1valf51f0) } if f1valiter.S3DeltaCatalogTarget.Database != nil { - f1valf49.SetDatabase(*f1valiter.S3DeltaCatalogTarget.Database) + f1valf51.SetDatabase(*f1valiter.S3DeltaCatalogTarget.Database) } if f1valiter.S3DeltaCatalogTarget.Inputs != nil { - f1valf49f2 := []*string{} - for _, f1valf49f2iter := range f1valiter.S3DeltaCatalogTarget.Inputs { - var f1valf49f2elem string - f1valf49f2elem = *f1valf49f2iter - f1valf49f2 = append(f1valf49f2, &f1valf49f2elem) + f1valf51f2 := []*string{} + for _, f1valf51f2iter := range f1valiter.S3DeltaCatalogTarget.Inputs { + var f1valf51f2elem string + f1valf51f2elem = *f1valf51f2iter + f1valf51f2 = append(f1valf51f2, &f1valf51f2elem) } - f1valf49.SetInputs(f1valf49f2) + f1valf51.SetInputs(f1valf51f2) } if f1valiter.S3DeltaCatalogTarget.Name != nil { - f1valf49.SetName(*f1valiter.S3DeltaCatalogTarget.Name) + f1valf51.SetName(*f1valiter.S3DeltaCatalogTarget.Name) } if f1valiter.S3DeltaCatalogTarget.PartitionKeys != nil { - f1valf49f4 := [][]*string{} - for _, f1valf49f4iter := range f1valiter.S3DeltaCatalogTarget.PartitionKeys { - f1valf49f4elem := []*string{} - for _, f1valf49f4elemiter := range f1valf49f4iter { - var f1valf49f4elemelem string - f1valf49f4elemelem = *f1valf49f4elemiter - f1valf49f4elem = append(f1valf49f4elem, &f1valf49f4elemelem) + f1valf51f4 := [][]*string{} + for _, f1valf51f4iter := range f1valiter.S3DeltaCatalogTarget.PartitionKeys { + f1valf51f4elem := []*string{} + for _, f1valf51f4elemiter := range f1valf51f4iter { + var f1valf51f4elemelem string + f1valf51f4elemelem = *f1valf51f4elemiter + f1valf51f4elem = append(f1valf51f4elem, &f1valf51f4elemelem) } - f1valf49f4 = append(f1valf49f4, f1valf49f4elem) + f1valf51f4 = append(f1valf51f4, f1valf51f4elem) } - f1valf49.SetPartitionKeys(f1valf49f4) + f1valf51.SetPartitionKeys(f1valf51f4) } if f1valiter.S3DeltaCatalogTarget.SchemaChangePolicy != nil { - f1valf49f5 := &svcsdk.CatalogSchemaChangePolicy{} + f1valf51f5 := &svcsdk.CatalogSchemaChangePolicy{} if f1valiter.S3DeltaCatalogTarget.SchemaChangePolicy.EnableUpdateCatalog != nil { - f1valf49f5.SetEnableUpdateCatalog(*f1valiter.S3DeltaCatalogTarget.SchemaChangePolicy.EnableUpdateCatalog) + f1valf51f5.SetEnableUpdateCatalog(*f1valiter.S3DeltaCatalogTarget.SchemaChangePolicy.EnableUpdateCatalog) } if f1valiter.S3DeltaCatalogTarget.SchemaChangePolicy.UpdateBehavior != nil { - f1valf49f5.SetUpdateBehavior(*f1valiter.S3DeltaCatalogTarget.SchemaChangePolicy.UpdateBehavior) + f1valf51f5.SetUpdateBehavior(*f1valiter.S3DeltaCatalogTarget.SchemaChangePolicy.UpdateBehavior) } - f1valf49.SetSchemaChangePolicy(f1valf49f5) + f1valf51.SetSchemaChangePolicy(f1valf51f5) } if f1valiter.S3DeltaCatalogTarget.Table != nil { - f1valf49.SetTable(*f1valiter.S3DeltaCatalogTarget.Table) + f1valf51.SetTable(*f1valiter.S3DeltaCatalogTarget.Table) } - f1val.SetS3DeltaCatalogTarget(f1valf49) + f1val.SetS3DeltaCatalogTarget(f1valf51) } if f1valiter.S3DeltaDirectTarget != nil { - f1valf50 := &svcsdk.S3DeltaDirectTarget{} + f1valf52 := &svcsdk.S3DeltaDirectTarget{} if f1valiter.S3DeltaDirectTarget.AdditionalOptions != nil { - f1valf50f0 := map[string]*string{} - for f1valf50f0key, f1valf50f0valiter := range f1valiter.S3DeltaDirectTarget.AdditionalOptions { - var f1valf50f0val string - f1valf50f0val = *f1valf50f0valiter - f1valf50f0[f1valf50f0key] = &f1valf50f0val + f1valf52f0 := map[string]*string{} + for f1valf52f0key, f1valf52f0valiter := range f1valiter.S3DeltaDirectTarget.AdditionalOptions { + var f1valf52f0val string + f1valf52f0val = *f1valf52f0valiter + f1valf52f0[f1valf52f0key] = &f1valf52f0val } - f1valf50.SetAdditionalOptions(f1valf50f0) + f1valf52.SetAdditionalOptions(f1valf52f0) } if f1valiter.S3DeltaDirectTarget.Compression != nil { - f1valf50.SetCompression(*f1valiter.S3DeltaDirectTarget.Compression) + f1valf52.SetCompression(*f1valiter.S3DeltaDirectTarget.Compression) } if f1valiter.S3DeltaDirectTarget.Format != nil { - f1valf50.SetFormat(*f1valiter.S3DeltaDirectTarget.Format) + f1valf52.SetFormat(*f1valiter.S3DeltaDirectTarget.Format) } if f1valiter.S3DeltaDirectTarget.Inputs != nil { - f1valf50f3 := []*string{} - for _, f1valf50f3iter := range f1valiter.S3DeltaDirectTarget.Inputs { - var f1valf50f3elem string - f1valf50f3elem = *f1valf50f3iter - f1valf50f3 = append(f1valf50f3, &f1valf50f3elem) + f1valf52f3 := []*string{} + for _, f1valf52f3iter := range f1valiter.S3DeltaDirectTarget.Inputs { + var f1valf52f3elem string + f1valf52f3elem = *f1valf52f3iter + f1valf52f3 = append(f1valf52f3, &f1valf52f3elem) } - f1valf50.SetInputs(f1valf50f3) + f1valf52.SetInputs(f1valf52f3) } if f1valiter.S3DeltaDirectTarget.Name != nil { - f1valf50.SetName(*f1valiter.S3DeltaDirectTarget.Name) + f1valf52.SetName(*f1valiter.S3DeltaDirectTarget.Name) } if f1valiter.S3DeltaDirectTarget.PartitionKeys != nil { - f1valf50f5 := [][]*string{} - for _, f1valf50f5iter := range f1valiter.S3DeltaDirectTarget.PartitionKeys { - f1valf50f5elem := []*string{} - for _, f1valf50f5elemiter := range f1valf50f5iter { - var f1valf50f5elemelem string - f1valf50f5elemelem = *f1valf50f5elemiter - f1valf50f5elem = append(f1valf50f5elem, &f1valf50f5elemelem) + f1valf52f5 := [][]*string{} + for _, f1valf52f5iter := range f1valiter.S3DeltaDirectTarget.PartitionKeys { + f1valf52f5elem := []*string{} + for _, f1valf52f5elemiter := range f1valf52f5iter { + var f1valf52f5elemelem string + f1valf52f5elemelem = *f1valf52f5elemiter + f1valf52f5elem = append(f1valf52f5elem, &f1valf52f5elemelem) } - f1valf50f5 = append(f1valf50f5, f1valf50f5elem) + f1valf52f5 = append(f1valf52f5, f1valf52f5elem) } - f1valf50.SetPartitionKeys(f1valf50f5) + f1valf52.SetPartitionKeys(f1valf52f5) } if f1valiter.S3DeltaDirectTarget.Path != nil { - f1valf50.SetPath(*f1valiter.S3DeltaDirectTarget.Path) + f1valf52.SetPath(*f1valiter.S3DeltaDirectTarget.Path) } if f1valiter.S3DeltaDirectTarget.SchemaChangePolicy != nil { - f1valf50f7 := &svcsdk.DirectSchemaChangePolicy{} + f1valf52f7 := &svcsdk.DirectSchemaChangePolicy{} if f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.Database != nil { - f1valf50f7.SetDatabase(*f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.Database) + f1valf52f7.SetDatabase(*f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.Database) } if f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.EnableUpdateCatalog != nil { - f1valf50f7.SetEnableUpdateCatalog(*f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.EnableUpdateCatalog) + f1valf52f7.SetEnableUpdateCatalog(*f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.EnableUpdateCatalog) } if f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.Table != nil { - f1valf50f7.SetTable(*f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.Table) + f1valf52f7.SetTable(*f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.Table) } if f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.UpdateBehavior != nil { - f1valf50f7.SetUpdateBehavior(*f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.UpdateBehavior) + f1valf52f7.SetUpdateBehavior(*f1valiter.S3DeltaDirectTarget.SchemaChangePolicy.UpdateBehavior) } - f1valf50.SetSchemaChangePolicy(f1valf50f7) + f1valf52.SetSchemaChangePolicy(f1valf52f7) } - f1val.SetS3DeltaDirectTarget(f1valf50) + f1val.SetS3DeltaDirectTarget(f1valf52) } if f1valiter.S3DeltaSource != nil { - f1valf51 := &svcsdk.S3DeltaSource{} + f1valf53 := &svcsdk.S3DeltaSource{} if f1valiter.S3DeltaSource.AdditionalDeltaOptions != nil { - f1valf51f0 := map[string]*string{} - for f1valf51f0key, f1valf51f0valiter := range f1valiter.S3DeltaSource.AdditionalDeltaOptions { - var f1valf51f0val string - f1valf51f0val = *f1valf51f0valiter - f1valf51f0[f1valf51f0key] = &f1valf51f0val + f1valf53f0 := map[string]*string{} + for f1valf53f0key, f1valf53f0valiter := range f1valiter.S3DeltaSource.AdditionalDeltaOptions { + var f1valf53f0val string + f1valf53f0val = *f1valf53f0valiter + f1valf53f0[f1valf53f0key] = &f1valf53f0val } - f1valf51.SetAdditionalDeltaOptions(f1valf51f0) + f1valf53.SetAdditionalDeltaOptions(f1valf53f0) } if f1valiter.S3DeltaSource.AdditionalOptions != nil { - f1valf51f1 := &svcsdk.S3DirectSourceAdditionalOptions{} + f1valf53f1 := &svcsdk.S3DirectSourceAdditionalOptions{} if f1valiter.S3DeltaSource.AdditionalOptions.BoundedFiles != nil { - f1valf51f1.SetBoundedFiles(*f1valiter.S3DeltaSource.AdditionalOptions.BoundedFiles) + f1valf53f1.SetBoundedFiles(*f1valiter.S3DeltaSource.AdditionalOptions.BoundedFiles) } if f1valiter.S3DeltaSource.AdditionalOptions.BoundedSize != nil { - f1valf51f1.SetBoundedSize(*f1valiter.S3DeltaSource.AdditionalOptions.BoundedSize) + f1valf53f1.SetBoundedSize(*f1valiter.S3DeltaSource.AdditionalOptions.BoundedSize) } if f1valiter.S3DeltaSource.AdditionalOptions.EnableSamplePath != nil { - f1valf51f1.SetEnableSamplePath(*f1valiter.S3DeltaSource.AdditionalOptions.EnableSamplePath) + f1valf53f1.SetEnableSamplePath(*f1valiter.S3DeltaSource.AdditionalOptions.EnableSamplePath) } if f1valiter.S3DeltaSource.AdditionalOptions.SamplePath != nil { - f1valf51f1.SetSamplePath(*f1valiter.S3DeltaSource.AdditionalOptions.SamplePath) + f1valf53f1.SetSamplePath(*f1valiter.S3DeltaSource.AdditionalOptions.SamplePath) } - f1valf51.SetAdditionalOptions(f1valf51f1) + f1valf53.SetAdditionalOptions(f1valf53f1) } if f1valiter.S3DeltaSource.Name != nil { - f1valf51.SetName(*f1valiter.S3DeltaSource.Name) + f1valf53.SetName(*f1valiter.S3DeltaSource.Name) } if f1valiter.S3DeltaSource.OutputSchemas != nil { - f1valf51f3 := []*svcsdk.GlueSchema{} - for _, f1valf51f3iter := range f1valiter.S3DeltaSource.OutputSchemas { - f1valf51f3elem := &svcsdk.GlueSchema{} - if f1valf51f3iter.Columns != nil { - f1valf51f3elemf0 := []*svcsdk.GlueStudioSchemaColumn{} - for _, f1valf51f3elemf0iter := range f1valf51f3iter.Columns { - f1valf51f3elemf0elem := &svcsdk.GlueStudioSchemaColumn{} - if f1valf51f3elemf0iter.Name != nil { - f1valf51f3elemf0elem.SetName(*f1valf51f3elemf0iter.Name) + f1valf53f3 := []*svcsdk.GlueSchema{} + for _, f1valf53f3iter := range f1valiter.S3DeltaSource.OutputSchemas { + f1valf53f3elem := &svcsdk.GlueSchema{} + if f1valf53f3iter.Columns != nil { + f1valf53f3elemf0 := []*svcsdk.GlueStudioSchemaColumn{} + for _, f1valf53f3elemf0iter := range f1valf53f3iter.Columns { + f1valf53f3elemf0elem := &svcsdk.GlueStudioSchemaColumn{} + if f1valf53f3elemf0iter.Name != nil { + f1valf53f3elemf0elem.SetName(*f1valf53f3elemf0iter.Name) } - if f1valf51f3elemf0iter.Type != nil { - f1valf51f3elemf0elem.SetType(*f1valf51f3elemf0iter.Type) + if f1valf53f3elemf0iter.Type != nil { + f1valf53f3elemf0elem.SetType(*f1valf53f3elemf0iter.Type) } - f1valf51f3elemf0 = append(f1valf51f3elemf0, f1valf51f3elemf0elem) + f1valf53f3elemf0 = append(f1valf53f3elemf0, f1valf53f3elemf0elem) } - f1valf51f3elem.SetColumns(f1valf51f3elemf0) + f1valf53f3elem.SetColumns(f1valf53f3elemf0) } - f1valf51f3 = append(f1valf51f3, f1valf51f3elem) + f1valf53f3 = append(f1valf53f3, f1valf53f3elem) } - f1valf51.SetOutputSchemas(f1valf51f3) + f1valf53.SetOutputSchemas(f1valf53f3) } if f1valiter.S3DeltaSource.Paths != nil { - f1valf51f4 := []*string{} - for _, f1valf51f4iter := range f1valiter.S3DeltaSource.Paths { - var f1valf51f4elem string - f1valf51f4elem = *f1valf51f4iter - f1valf51f4 = append(f1valf51f4, &f1valf51f4elem) + f1valf53f4 := []*string{} + for _, f1valf53f4iter := range f1valiter.S3DeltaSource.Paths { + var f1valf53f4elem string + f1valf53f4elem = *f1valf53f4iter + f1valf53f4 = append(f1valf53f4, &f1valf53f4elem) } - f1valf51.SetPaths(f1valf51f4) + f1valf53.SetPaths(f1valf53f4) } - f1val.SetS3DeltaSource(f1valf51) + f1val.SetS3DeltaSource(f1valf53) } if f1valiter.S3DirectTarget != nil { - f1valf52 := &svcsdk.S3DirectTarget{} + f1valf54 := &svcsdk.S3DirectTarget{} if f1valiter.S3DirectTarget.Compression != nil { - f1valf52.SetCompression(*f1valiter.S3DirectTarget.Compression) + f1valf54.SetCompression(*f1valiter.S3DirectTarget.Compression) } if f1valiter.S3DirectTarget.Format != nil { - f1valf52.SetFormat(*f1valiter.S3DirectTarget.Format) + f1valf54.SetFormat(*f1valiter.S3DirectTarget.Format) } if f1valiter.S3DirectTarget.Inputs != nil { - f1valf52f2 := []*string{} - for _, f1valf52f2iter := range f1valiter.S3DirectTarget.Inputs { - var f1valf52f2elem string - f1valf52f2elem = *f1valf52f2iter - f1valf52f2 = append(f1valf52f2, &f1valf52f2elem) + f1valf54f2 := []*string{} + for _, f1valf54f2iter := range f1valiter.S3DirectTarget.Inputs { + var f1valf54f2elem string + f1valf54f2elem = *f1valf54f2iter + f1valf54f2 = append(f1valf54f2, &f1valf54f2elem) } - f1valf52.SetInputs(f1valf52f2) + f1valf54.SetInputs(f1valf54f2) } if f1valiter.S3DirectTarget.Name != nil { - f1valf52.SetName(*f1valiter.S3DirectTarget.Name) + f1valf54.SetName(*f1valiter.S3DirectTarget.Name) } if f1valiter.S3DirectTarget.PartitionKeys != nil { - f1valf52f4 := [][]*string{} - for _, f1valf52f4iter := range f1valiter.S3DirectTarget.PartitionKeys { - f1valf52f4elem := []*string{} - for _, f1valf52f4elemiter := range f1valf52f4iter { - var f1valf52f4elemelem string - f1valf52f4elemelem = *f1valf52f4elemiter - f1valf52f4elem = append(f1valf52f4elem, &f1valf52f4elemelem) + f1valf54f4 := [][]*string{} + for _, f1valf54f4iter := range f1valiter.S3DirectTarget.PartitionKeys { + f1valf54f4elem := []*string{} + for _, f1valf54f4elemiter := range f1valf54f4iter { + var f1valf54f4elemelem string + f1valf54f4elemelem = *f1valf54f4elemiter + f1valf54f4elem = append(f1valf54f4elem, &f1valf54f4elemelem) } - f1valf52f4 = append(f1valf52f4, f1valf52f4elem) + f1valf54f4 = append(f1valf54f4, f1valf54f4elem) } - f1valf52.SetPartitionKeys(f1valf52f4) + f1valf54.SetPartitionKeys(f1valf54f4) } if f1valiter.S3DirectTarget.Path != nil { - f1valf52.SetPath(*f1valiter.S3DirectTarget.Path) + f1valf54.SetPath(*f1valiter.S3DirectTarget.Path) } if f1valiter.S3DirectTarget.SchemaChangePolicy != nil { - f1valf52f6 := &svcsdk.DirectSchemaChangePolicy{} + f1valf54f6 := &svcsdk.DirectSchemaChangePolicy{} if f1valiter.S3DirectTarget.SchemaChangePolicy.Database != nil { - f1valf52f6.SetDatabase(*f1valiter.S3DirectTarget.SchemaChangePolicy.Database) + f1valf54f6.SetDatabase(*f1valiter.S3DirectTarget.SchemaChangePolicy.Database) } if f1valiter.S3DirectTarget.SchemaChangePolicy.EnableUpdateCatalog != nil { - f1valf52f6.SetEnableUpdateCatalog(*f1valiter.S3DirectTarget.SchemaChangePolicy.EnableUpdateCatalog) + f1valf54f6.SetEnableUpdateCatalog(*f1valiter.S3DirectTarget.SchemaChangePolicy.EnableUpdateCatalog) } if f1valiter.S3DirectTarget.SchemaChangePolicy.Table != nil { - f1valf52f6.SetTable(*f1valiter.S3DirectTarget.SchemaChangePolicy.Table) + f1valf54f6.SetTable(*f1valiter.S3DirectTarget.SchemaChangePolicy.Table) } if f1valiter.S3DirectTarget.SchemaChangePolicy.UpdateBehavior != nil { - f1valf52f6.SetUpdateBehavior(*f1valiter.S3DirectTarget.SchemaChangePolicy.UpdateBehavior) + f1valf54f6.SetUpdateBehavior(*f1valiter.S3DirectTarget.SchemaChangePolicy.UpdateBehavior) } - f1valf52.SetSchemaChangePolicy(f1valf52f6) + f1valf54.SetSchemaChangePolicy(f1valf54f6) } - f1val.SetS3DirectTarget(f1valf52) + f1val.SetS3DirectTarget(f1valf54) } if f1valiter.S3GlueParquetTarget != nil { - f1valf53 := &svcsdk.S3GlueParquetTarget{} + f1valf55 := &svcsdk.S3GlueParquetTarget{} if f1valiter.S3GlueParquetTarget.Compression != nil { - f1valf53.SetCompression(*f1valiter.S3GlueParquetTarget.Compression) + f1valf55.SetCompression(*f1valiter.S3GlueParquetTarget.Compression) } if f1valiter.S3GlueParquetTarget.Inputs != nil { - f1valf53f1 := []*string{} - for _, f1valf53f1iter := range f1valiter.S3GlueParquetTarget.Inputs { - var f1valf53f1elem string - f1valf53f1elem = *f1valf53f1iter - f1valf53f1 = append(f1valf53f1, &f1valf53f1elem) + f1valf55f1 := []*string{} + for _, f1valf55f1iter := range f1valiter.S3GlueParquetTarget.Inputs { + var f1valf55f1elem string + f1valf55f1elem = *f1valf55f1iter + f1valf55f1 = append(f1valf55f1, &f1valf55f1elem) } - f1valf53.SetInputs(f1valf53f1) + f1valf55.SetInputs(f1valf55f1) } if f1valiter.S3GlueParquetTarget.Name != nil { - f1valf53.SetName(*f1valiter.S3GlueParquetTarget.Name) + f1valf55.SetName(*f1valiter.S3GlueParquetTarget.Name) } if f1valiter.S3GlueParquetTarget.PartitionKeys != nil { - f1valf53f3 := [][]*string{} - for _, f1valf53f3iter := range f1valiter.S3GlueParquetTarget.PartitionKeys { - f1valf53f3elem := []*string{} - for _, f1valf53f3elemiter := range f1valf53f3iter { - var f1valf53f3elemelem string - f1valf53f3elemelem = *f1valf53f3elemiter - f1valf53f3elem = append(f1valf53f3elem, &f1valf53f3elemelem) + f1valf55f3 := [][]*string{} + for _, f1valf55f3iter := range f1valiter.S3GlueParquetTarget.PartitionKeys { + f1valf55f3elem := []*string{} + for _, f1valf55f3elemiter := range f1valf55f3iter { + var f1valf55f3elemelem string + f1valf55f3elemelem = *f1valf55f3elemiter + f1valf55f3elem = append(f1valf55f3elem, &f1valf55f3elemelem) } - f1valf53f3 = append(f1valf53f3, f1valf53f3elem) + f1valf55f3 = append(f1valf55f3, f1valf55f3elem) } - f1valf53.SetPartitionKeys(f1valf53f3) + f1valf55.SetPartitionKeys(f1valf55f3) } if f1valiter.S3GlueParquetTarget.Path != nil { - f1valf53.SetPath(*f1valiter.S3GlueParquetTarget.Path) + f1valf55.SetPath(*f1valiter.S3GlueParquetTarget.Path) } if f1valiter.S3GlueParquetTarget.SchemaChangePolicy != nil { - f1valf53f5 := &svcsdk.DirectSchemaChangePolicy{} + f1valf55f5 := &svcsdk.DirectSchemaChangePolicy{} if f1valiter.S3GlueParquetTarget.SchemaChangePolicy.Database != nil { - f1valf53f5.SetDatabase(*f1valiter.S3GlueParquetTarget.SchemaChangePolicy.Database) + f1valf55f5.SetDatabase(*f1valiter.S3GlueParquetTarget.SchemaChangePolicy.Database) } if f1valiter.S3GlueParquetTarget.SchemaChangePolicy.EnableUpdateCatalog != nil { - f1valf53f5.SetEnableUpdateCatalog(*f1valiter.S3GlueParquetTarget.SchemaChangePolicy.EnableUpdateCatalog) + f1valf55f5.SetEnableUpdateCatalog(*f1valiter.S3GlueParquetTarget.SchemaChangePolicy.EnableUpdateCatalog) } if f1valiter.S3GlueParquetTarget.SchemaChangePolicy.Table != nil { - f1valf53f5.SetTable(*f1valiter.S3GlueParquetTarget.SchemaChangePolicy.Table) + f1valf55f5.SetTable(*f1valiter.S3GlueParquetTarget.SchemaChangePolicy.Table) } if f1valiter.S3GlueParquetTarget.SchemaChangePolicy.UpdateBehavior != nil { - f1valf53f5.SetUpdateBehavior(*f1valiter.S3GlueParquetTarget.SchemaChangePolicy.UpdateBehavior) + f1valf55f5.SetUpdateBehavior(*f1valiter.S3GlueParquetTarget.SchemaChangePolicy.UpdateBehavior) } - f1valf53.SetSchemaChangePolicy(f1valf53f5) + f1valf55.SetSchemaChangePolicy(f1valf55f5) } - f1val.SetS3GlueParquetTarget(f1valf53) + f1val.SetS3GlueParquetTarget(f1valf55) } if f1valiter.S3HudiCatalogTarget != nil { - f1valf54 := &svcsdk.S3HudiCatalogTarget{} + f1valf56 := &svcsdk.S3HudiCatalogTarget{} if f1valiter.S3HudiCatalogTarget.AdditionalOptions != nil { - f1valf54f0 := map[string]*string{} - for f1valf54f0key, f1valf54f0valiter := range f1valiter.S3HudiCatalogTarget.AdditionalOptions { - var f1valf54f0val string - f1valf54f0val = *f1valf54f0valiter - f1valf54f0[f1valf54f0key] = &f1valf54f0val + f1valf56f0 := map[string]*string{} + for f1valf56f0key, f1valf56f0valiter := range f1valiter.S3HudiCatalogTarget.AdditionalOptions { + var f1valf56f0val string + f1valf56f0val = *f1valf56f0valiter + f1valf56f0[f1valf56f0key] = &f1valf56f0val } - f1valf54.SetAdditionalOptions(f1valf54f0) + f1valf56.SetAdditionalOptions(f1valf56f0) } if f1valiter.S3HudiCatalogTarget.Database != nil { - f1valf54.SetDatabase(*f1valiter.S3HudiCatalogTarget.Database) + f1valf56.SetDatabase(*f1valiter.S3HudiCatalogTarget.Database) } if f1valiter.S3HudiCatalogTarget.Inputs != nil { - f1valf54f2 := []*string{} - for _, f1valf54f2iter := range f1valiter.S3HudiCatalogTarget.Inputs { - var f1valf54f2elem string - f1valf54f2elem = *f1valf54f2iter - f1valf54f2 = append(f1valf54f2, &f1valf54f2elem) + f1valf56f2 := []*string{} + for _, f1valf56f2iter := range f1valiter.S3HudiCatalogTarget.Inputs { + var f1valf56f2elem string + f1valf56f2elem = *f1valf56f2iter + f1valf56f2 = append(f1valf56f2, &f1valf56f2elem) } - f1valf54.SetInputs(f1valf54f2) + f1valf56.SetInputs(f1valf56f2) } if f1valiter.S3HudiCatalogTarget.Name != nil { - f1valf54.SetName(*f1valiter.S3HudiCatalogTarget.Name) + f1valf56.SetName(*f1valiter.S3HudiCatalogTarget.Name) } if f1valiter.S3HudiCatalogTarget.PartitionKeys != nil { - f1valf54f4 := [][]*string{} - for _, f1valf54f4iter := range f1valiter.S3HudiCatalogTarget.PartitionKeys { - f1valf54f4elem := []*string{} - for _, f1valf54f4elemiter := range f1valf54f4iter { - var f1valf54f4elemelem string - f1valf54f4elemelem = *f1valf54f4elemiter - f1valf54f4elem = append(f1valf54f4elem, &f1valf54f4elemelem) + f1valf56f4 := [][]*string{} + for _, f1valf56f4iter := range f1valiter.S3HudiCatalogTarget.PartitionKeys { + f1valf56f4elem := []*string{} + for _, f1valf56f4elemiter := range f1valf56f4iter { + var f1valf56f4elemelem string + f1valf56f4elemelem = *f1valf56f4elemiter + f1valf56f4elem = append(f1valf56f4elem, &f1valf56f4elemelem) } - f1valf54f4 = append(f1valf54f4, f1valf54f4elem) + f1valf56f4 = append(f1valf56f4, f1valf56f4elem) } - f1valf54.SetPartitionKeys(f1valf54f4) + f1valf56.SetPartitionKeys(f1valf56f4) } if f1valiter.S3HudiCatalogTarget.SchemaChangePolicy != nil { - f1valf54f5 := &svcsdk.CatalogSchemaChangePolicy{} + f1valf56f5 := &svcsdk.CatalogSchemaChangePolicy{} if f1valiter.S3HudiCatalogTarget.SchemaChangePolicy.EnableUpdateCatalog != nil { - f1valf54f5.SetEnableUpdateCatalog(*f1valiter.S3HudiCatalogTarget.SchemaChangePolicy.EnableUpdateCatalog) + f1valf56f5.SetEnableUpdateCatalog(*f1valiter.S3HudiCatalogTarget.SchemaChangePolicy.EnableUpdateCatalog) } if f1valiter.S3HudiCatalogTarget.SchemaChangePolicy.UpdateBehavior != nil { - f1valf54f5.SetUpdateBehavior(*f1valiter.S3HudiCatalogTarget.SchemaChangePolicy.UpdateBehavior) + f1valf56f5.SetUpdateBehavior(*f1valiter.S3HudiCatalogTarget.SchemaChangePolicy.UpdateBehavior) } - f1valf54.SetSchemaChangePolicy(f1valf54f5) + f1valf56.SetSchemaChangePolicy(f1valf56f5) } if f1valiter.S3HudiCatalogTarget.Table != nil { - f1valf54.SetTable(*f1valiter.S3HudiCatalogTarget.Table) + f1valf56.SetTable(*f1valiter.S3HudiCatalogTarget.Table) } - f1val.SetS3HudiCatalogTarget(f1valf54) + f1val.SetS3HudiCatalogTarget(f1valf56) } if f1valiter.S3HudiDirectTarget != nil { - f1valf55 := &svcsdk.S3HudiDirectTarget{} + f1valf57 := &svcsdk.S3HudiDirectTarget{} if f1valiter.S3HudiDirectTarget.AdditionalOptions != nil { - f1valf55f0 := map[string]*string{} - for f1valf55f0key, f1valf55f0valiter := range f1valiter.S3HudiDirectTarget.AdditionalOptions { - var f1valf55f0val string - f1valf55f0val = *f1valf55f0valiter - f1valf55f0[f1valf55f0key] = &f1valf55f0val + f1valf57f0 := map[string]*string{} + for f1valf57f0key, f1valf57f0valiter := range f1valiter.S3HudiDirectTarget.AdditionalOptions { + var f1valf57f0val string + f1valf57f0val = *f1valf57f0valiter + f1valf57f0[f1valf57f0key] = &f1valf57f0val } - f1valf55.SetAdditionalOptions(f1valf55f0) + f1valf57.SetAdditionalOptions(f1valf57f0) } if f1valiter.S3HudiDirectTarget.Compression != nil { - f1valf55.SetCompression(*f1valiter.S3HudiDirectTarget.Compression) + f1valf57.SetCompression(*f1valiter.S3HudiDirectTarget.Compression) } if f1valiter.S3HudiDirectTarget.Format != nil { - f1valf55.SetFormat(*f1valiter.S3HudiDirectTarget.Format) + f1valf57.SetFormat(*f1valiter.S3HudiDirectTarget.Format) } if f1valiter.S3HudiDirectTarget.Inputs != nil { - f1valf55f3 := []*string{} - for _, f1valf55f3iter := range f1valiter.S3HudiDirectTarget.Inputs { - var f1valf55f3elem string - f1valf55f3elem = *f1valf55f3iter - f1valf55f3 = append(f1valf55f3, &f1valf55f3elem) + f1valf57f3 := []*string{} + for _, f1valf57f3iter := range f1valiter.S3HudiDirectTarget.Inputs { + var f1valf57f3elem string + f1valf57f3elem = *f1valf57f3iter + f1valf57f3 = append(f1valf57f3, &f1valf57f3elem) } - f1valf55.SetInputs(f1valf55f3) + f1valf57.SetInputs(f1valf57f3) } if f1valiter.S3HudiDirectTarget.Name != nil { - f1valf55.SetName(*f1valiter.S3HudiDirectTarget.Name) + f1valf57.SetName(*f1valiter.S3HudiDirectTarget.Name) } if f1valiter.S3HudiDirectTarget.PartitionKeys != nil { - f1valf55f5 := [][]*string{} - for _, f1valf55f5iter := range f1valiter.S3HudiDirectTarget.PartitionKeys { - f1valf55f5elem := []*string{} - for _, f1valf55f5elemiter := range f1valf55f5iter { - var f1valf55f5elemelem string - f1valf55f5elemelem = *f1valf55f5elemiter - f1valf55f5elem = append(f1valf55f5elem, &f1valf55f5elemelem) + f1valf57f5 := [][]*string{} + for _, f1valf57f5iter := range f1valiter.S3HudiDirectTarget.PartitionKeys { + f1valf57f5elem := []*string{} + for _, f1valf57f5elemiter := range f1valf57f5iter { + var f1valf57f5elemelem string + f1valf57f5elemelem = *f1valf57f5elemiter + f1valf57f5elem = append(f1valf57f5elem, &f1valf57f5elemelem) } - f1valf55f5 = append(f1valf55f5, f1valf55f5elem) + f1valf57f5 = append(f1valf57f5, f1valf57f5elem) } - f1valf55.SetPartitionKeys(f1valf55f5) + f1valf57.SetPartitionKeys(f1valf57f5) } if f1valiter.S3HudiDirectTarget.Path != nil { - f1valf55.SetPath(*f1valiter.S3HudiDirectTarget.Path) + f1valf57.SetPath(*f1valiter.S3HudiDirectTarget.Path) } if f1valiter.S3HudiDirectTarget.SchemaChangePolicy != nil { - f1valf55f7 := &svcsdk.DirectSchemaChangePolicy{} + f1valf57f7 := &svcsdk.DirectSchemaChangePolicy{} if f1valiter.S3HudiDirectTarget.SchemaChangePolicy.Database != nil { - f1valf55f7.SetDatabase(*f1valiter.S3HudiDirectTarget.SchemaChangePolicy.Database) + f1valf57f7.SetDatabase(*f1valiter.S3HudiDirectTarget.SchemaChangePolicy.Database) } if f1valiter.S3HudiDirectTarget.SchemaChangePolicy.EnableUpdateCatalog != nil { - f1valf55f7.SetEnableUpdateCatalog(*f1valiter.S3HudiDirectTarget.SchemaChangePolicy.EnableUpdateCatalog) + f1valf57f7.SetEnableUpdateCatalog(*f1valiter.S3HudiDirectTarget.SchemaChangePolicy.EnableUpdateCatalog) } if f1valiter.S3HudiDirectTarget.SchemaChangePolicy.Table != nil { - f1valf55f7.SetTable(*f1valiter.S3HudiDirectTarget.SchemaChangePolicy.Table) + f1valf57f7.SetTable(*f1valiter.S3HudiDirectTarget.SchemaChangePolicy.Table) } if f1valiter.S3HudiDirectTarget.SchemaChangePolicy.UpdateBehavior != nil { - f1valf55f7.SetUpdateBehavior(*f1valiter.S3HudiDirectTarget.SchemaChangePolicy.UpdateBehavior) + f1valf57f7.SetUpdateBehavior(*f1valiter.S3HudiDirectTarget.SchemaChangePolicy.UpdateBehavior) } - f1valf55.SetSchemaChangePolicy(f1valf55f7) + f1valf57.SetSchemaChangePolicy(f1valf57f7) } - f1val.SetS3HudiDirectTarget(f1valf55) + f1val.SetS3HudiDirectTarget(f1valf57) } if f1valiter.S3HudiSource != nil { - f1valf56 := &svcsdk.S3HudiSource{} + f1valf58 := &svcsdk.S3HudiSource{} if f1valiter.S3HudiSource.AdditionalHudiOptions != nil { - f1valf56f0 := map[string]*string{} - for f1valf56f0key, f1valf56f0valiter := range f1valiter.S3HudiSource.AdditionalHudiOptions { - var f1valf56f0val string - f1valf56f0val = *f1valf56f0valiter - f1valf56f0[f1valf56f0key] = &f1valf56f0val + f1valf58f0 := map[string]*string{} + for f1valf58f0key, f1valf58f0valiter := range f1valiter.S3HudiSource.AdditionalHudiOptions { + var f1valf58f0val string + f1valf58f0val = *f1valf58f0valiter + f1valf58f0[f1valf58f0key] = &f1valf58f0val } - f1valf56.SetAdditionalHudiOptions(f1valf56f0) + f1valf58.SetAdditionalHudiOptions(f1valf58f0) } if f1valiter.S3HudiSource.AdditionalOptions != nil { - f1valf56f1 := &svcsdk.S3DirectSourceAdditionalOptions{} + f1valf58f1 := &svcsdk.S3DirectSourceAdditionalOptions{} if f1valiter.S3HudiSource.AdditionalOptions.BoundedFiles != nil { - f1valf56f1.SetBoundedFiles(*f1valiter.S3HudiSource.AdditionalOptions.BoundedFiles) + f1valf58f1.SetBoundedFiles(*f1valiter.S3HudiSource.AdditionalOptions.BoundedFiles) } if f1valiter.S3HudiSource.AdditionalOptions.BoundedSize != nil { - f1valf56f1.SetBoundedSize(*f1valiter.S3HudiSource.AdditionalOptions.BoundedSize) + f1valf58f1.SetBoundedSize(*f1valiter.S3HudiSource.AdditionalOptions.BoundedSize) } if f1valiter.S3HudiSource.AdditionalOptions.EnableSamplePath != nil { - f1valf56f1.SetEnableSamplePath(*f1valiter.S3HudiSource.AdditionalOptions.EnableSamplePath) + f1valf58f1.SetEnableSamplePath(*f1valiter.S3HudiSource.AdditionalOptions.EnableSamplePath) } if f1valiter.S3HudiSource.AdditionalOptions.SamplePath != nil { - f1valf56f1.SetSamplePath(*f1valiter.S3HudiSource.AdditionalOptions.SamplePath) + f1valf58f1.SetSamplePath(*f1valiter.S3HudiSource.AdditionalOptions.SamplePath) } - f1valf56.SetAdditionalOptions(f1valf56f1) + f1valf58.SetAdditionalOptions(f1valf58f1) } if f1valiter.S3HudiSource.Name != nil { - f1valf56.SetName(*f1valiter.S3HudiSource.Name) + f1valf58.SetName(*f1valiter.S3HudiSource.Name) } if f1valiter.S3HudiSource.OutputSchemas != nil { - f1valf56f3 := []*svcsdk.GlueSchema{} - for _, f1valf56f3iter := range f1valiter.S3HudiSource.OutputSchemas { - f1valf56f3elem := &svcsdk.GlueSchema{} - if f1valf56f3iter.Columns != nil { - f1valf56f3elemf0 := []*svcsdk.GlueStudioSchemaColumn{} - for _, f1valf56f3elemf0iter := range f1valf56f3iter.Columns { - f1valf56f3elemf0elem := &svcsdk.GlueStudioSchemaColumn{} - if f1valf56f3elemf0iter.Name != nil { - f1valf56f3elemf0elem.SetName(*f1valf56f3elemf0iter.Name) + f1valf58f3 := []*svcsdk.GlueSchema{} + for _, f1valf58f3iter := range f1valiter.S3HudiSource.OutputSchemas { + f1valf58f3elem := &svcsdk.GlueSchema{} + if f1valf58f3iter.Columns != nil { + f1valf58f3elemf0 := []*svcsdk.GlueStudioSchemaColumn{} + for _, f1valf58f3elemf0iter := range f1valf58f3iter.Columns { + f1valf58f3elemf0elem := &svcsdk.GlueStudioSchemaColumn{} + if f1valf58f3elemf0iter.Name != nil { + f1valf58f3elemf0elem.SetName(*f1valf58f3elemf0iter.Name) } - if f1valf56f3elemf0iter.Type != nil { - f1valf56f3elemf0elem.SetType(*f1valf56f3elemf0iter.Type) + if f1valf58f3elemf0iter.Type != nil { + f1valf58f3elemf0elem.SetType(*f1valf58f3elemf0iter.Type) } - f1valf56f3elemf0 = append(f1valf56f3elemf0, f1valf56f3elemf0elem) + f1valf58f3elemf0 = append(f1valf58f3elemf0, f1valf58f3elemf0elem) } - f1valf56f3elem.SetColumns(f1valf56f3elemf0) + f1valf58f3elem.SetColumns(f1valf58f3elemf0) } - f1valf56f3 = append(f1valf56f3, f1valf56f3elem) + f1valf58f3 = append(f1valf58f3, f1valf58f3elem) } - f1valf56.SetOutputSchemas(f1valf56f3) + f1valf58.SetOutputSchemas(f1valf58f3) } if f1valiter.S3HudiSource.Paths != nil { - f1valf56f4 := []*string{} - for _, f1valf56f4iter := range f1valiter.S3HudiSource.Paths { - var f1valf56f4elem string - f1valf56f4elem = *f1valf56f4iter - f1valf56f4 = append(f1valf56f4, &f1valf56f4elem) + f1valf58f4 := []*string{} + for _, f1valf58f4iter := range f1valiter.S3HudiSource.Paths { + var f1valf58f4elem string + f1valf58f4elem = *f1valf58f4iter + f1valf58f4 = append(f1valf58f4, &f1valf58f4elem) } - f1valf56.SetPaths(f1valf56f4) + f1valf58.SetPaths(f1valf58f4) } - f1val.SetS3HudiSource(f1valf56) + f1val.SetS3HudiSource(f1valf58) } if f1valiter.S3JSONSource != nil { - f1valf57 := &svcsdk.S3JsonSource{} + f1valf59 := &svcsdk.S3JsonSource{} if f1valiter.S3JSONSource.AdditionalOptions != nil { - f1valf57f0 := &svcsdk.S3DirectSourceAdditionalOptions{} + f1valf59f0 := &svcsdk.S3DirectSourceAdditionalOptions{} if f1valiter.S3JSONSource.AdditionalOptions.BoundedFiles != nil { - f1valf57f0.SetBoundedFiles(*f1valiter.S3JSONSource.AdditionalOptions.BoundedFiles) + f1valf59f0.SetBoundedFiles(*f1valiter.S3JSONSource.AdditionalOptions.BoundedFiles) } if f1valiter.S3JSONSource.AdditionalOptions.BoundedSize != nil { - f1valf57f0.SetBoundedSize(*f1valiter.S3JSONSource.AdditionalOptions.BoundedSize) + f1valf59f0.SetBoundedSize(*f1valiter.S3JSONSource.AdditionalOptions.BoundedSize) } if f1valiter.S3JSONSource.AdditionalOptions.EnableSamplePath != nil { - f1valf57f0.SetEnableSamplePath(*f1valiter.S3JSONSource.AdditionalOptions.EnableSamplePath) + f1valf59f0.SetEnableSamplePath(*f1valiter.S3JSONSource.AdditionalOptions.EnableSamplePath) } if f1valiter.S3JSONSource.AdditionalOptions.SamplePath != nil { - f1valf57f0.SetSamplePath(*f1valiter.S3JSONSource.AdditionalOptions.SamplePath) + f1valf59f0.SetSamplePath(*f1valiter.S3JSONSource.AdditionalOptions.SamplePath) } - f1valf57.SetAdditionalOptions(f1valf57f0) + f1valf59.SetAdditionalOptions(f1valf59f0) } if f1valiter.S3JSONSource.CompressionType != nil { - f1valf57.SetCompressionType(*f1valiter.S3JSONSource.CompressionType) + f1valf59.SetCompressionType(*f1valiter.S3JSONSource.CompressionType) } if f1valiter.S3JSONSource.Exclusions != nil { - f1valf57f2 := []*string{} - for _, f1valf57f2iter := range f1valiter.S3JSONSource.Exclusions { - var f1valf57f2elem string - f1valf57f2elem = *f1valf57f2iter - f1valf57f2 = append(f1valf57f2, &f1valf57f2elem) + f1valf59f2 := []*string{} + for _, f1valf59f2iter := range f1valiter.S3JSONSource.Exclusions { + var f1valf59f2elem string + f1valf59f2elem = *f1valf59f2iter + f1valf59f2 = append(f1valf59f2, &f1valf59f2elem) } - f1valf57.SetExclusions(f1valf57f2) + f1valf59.SetExclusions(f1valf59f2) } if f1valiter.S3JSONSource.GroupFiles != nil { - f1valf57.SetGroupFiles(*f1valiter.S3JSONSource.GroupFiles) + f1valf59.SetGroupFiles(*f1valiter.S3JSONSource.GroupFiles) } if f1valiter.S3JSONSource.GroupSize != nil { - f1valf57.SetGroupSize(*f1valiter.S3JSONSource.GroupSize) + f1valf59.SetGroupSize(*f1valiter.S3JSONSource.GroupSize) } if f1valiter.S3JSONSource.JSONPath != nil { - f1valf57.SetJsonPath(*f1valiter.S3JSONSource.JSONPath) + f1valf59.SetJsonPath(*f1valiter.S3JSONSource.JSONPath) } if f1valiter.S3JSONSource.MaxBand != nil { - f1valf57.SetMaxBand(*f1valiter.S3JSONSource.MaxBand) + f1valf59.SetMaxBand(*f1valiter.S3JSONSource.MaxBand) } if f1valiter.S3JSONSource.MaxFilesInBand != nil { - f1valf57.SetMaxFilesInBand(*f1valiter.S3JSONSource.MaxFilesInBand) + f1valf59.SetMaxFilesInBand(*f1valiter.S3JSONSource.MaxFilesInBand) } if f1valiter.S3JSONSource.Multiline != nil { - f1valf57.SetMultiline(*f1valiter.S3JSONSource.Multiline) + f1valf59.SetMultiline(*f1valiter.S3JSONSource.Multiline) } if f1valiter.S3JSONSource.Name != nil { - f1valf57.SetName(*f1valiter.S3JSONSource.Name) + f1valf59.SetName(*f1valiter.S3JSONSource.Name) } if f1valiter.S3JSONSource.OutputSchemas != nil { - f1valf57f10 := []*svcsdk.GlueSchema{} - for _, f1valf57f10iter := range f1valiter.S3JSONSource.OutputSchemas { - f1valf57f10elem := &svcsdk.GlueSchema{} - if f1valf57f10iter.Columns != nil { - f1valf57f10elemf0 := []*svcsdk.GlueStudioSchemaColumn{} - for _, f1valf57f10elemf0iter := range f1valf57f10iter.Columns { - f1valf57f10elemf0elem := &svcsdk.GlueStudioSchemaColumn{} - if f1valf57f10elemf0iter.Name != nil { - f1valf57f10elemf0elem.SetName(*f1valf57f10elemf0iter.Name) + f1valf59f10 := []*svcsdk.GlueSchema{} + for _, f1valf59f10iter := range f1valiter.S3JSONSource.OutputSchemas { + f1valf59f10elem := &svcsdk.GlueSchema{} + if f1valf59f10iter.Columns != nil { + f1valf59f10elemf0 := []*svcsdk.GlueStudioSchemaColumn{} + for _, f1valf59f10elemf0iter := range f1valf59f10iter.Columns { + f1valf59f10elemf0elem := &svcsdk.GlueStudioSchemaColumn{} + if f1valf59f10elemf0iter.Name != nil { + f1valf59f10elemf0elem.SetName(*f1valf59f10elemf0iter.Name) } - if f1valf57f10elemf0iter.Type != nil { - f1valf57f10elemf0elem.SetType(*f1valf57f10elemf0iter.Type) + if f1valf59f10elemf0iter.Type != nil { + f1valf59f10elemf0elem.SetType(*f1valf59f10elemf0iter.Type) } - f1valf57f10elemf0 = append(f1valf57f10elemf0, f1valf57f10elemf0elem) + f1valf59f10elemf0 = append(f1valf59f10elemf0, f1valf59f10elemf0elem) } - f1valf57f10elem.SetColumns(f1valf57f10elemf0) + f1valf59f10elem.SetColumns(f1valf59f10elemf0) } - f1valf57f10 = append(f1valf57f10, f1valf57f10elem) + f1valf59f10 = append(f1valf59f10, f1valf59f10elem) } - f1valf57.SetOutputSchemas(f1valf57f10) + f1valf59.SetOutputSchemas(f1valf59f10) } if f1valiter.S3JSONSource.Paths != nil { - f1valf57f11 := []*string{} - for _, f1valf57f11iter := range f1valiter.S3JSONSource.Paths { - var f1valf57f11elem string - f1valf57f11elem = *f1valf57f11iter - f1valf57f11 = append(f1valf57f11, &f1valf57f11elem) + f1valf59f11 := []*string{} + for _, f1valf59f11iter := range f1valiter.S3JSONSource.Paths { + var f1valf59f11elem string + f1valf59f11elem = *f1valf59f11iter + f1valf59f11 = append(f1valf59f11, &f1valf59f11elem) } - f1valf57.SetPaths(f1valf57f11) + f1valf59.SetPaths(f1valf59f11) } if f1valiter.S3JSONSource.Recurse != nil { - f1valf57.SetRecurse(*f1valiter.S3JSONSource.Recurse) + f1valf59.SetRecurse(*f1valiter.S3JSONSource.Recurse) } - f1val.SetS3JsonSource(f1valf57) + f1val.SetS3JsonSource(f1valf59) } if f1valiter.S3ParquetSource != nil { - f1valf58 := &svcsdk.S3ParquetSource{} + f1valf60 := &svcsdk.S3ParquetSource{} if f1valiter.S3ParquetSource.AdditionalOptions != nil { - f1valf58f0 := &svcsdk.S3DirectSourceAdditionalOptions{} + f1valf60f0 := &svcsdk.S3DirectSourceAdditionalOptions{} if f1valiter.S3ParquetSource.AdditionalOptions.BoundedFiles != nil { - f1valf58f0.SetBoundedFiles(*f1valiter.S3ParquetSource.AdditionalOptions.BoundedFiles) + f1valf60f0.SetBoundedFiles(*f1valiter.S3ParquetSource.AdditionalOptions.BoundedFiles) } if f1valiter.S3ParquetSource.AdditionalOptions.BoundedSize != nil { - f1valf58f0.SetBoundedSize(*f1valiter.S3ParquetSource.AdditionalOptions.BoundedSize) + f1valf60f0.SetBoundedSize(*f1valiter.S3ParquetSource.AdditionalOptions.BoundedSize) } if f1valiter.S3ParquetSource.AdditionalOptions.EnableSamplePath != nil { - f1valf58f0.SetEnableSamplePath(*f1valiter.S3ParquetSource.AdditionalOptions.EnableSamplePath) + f1valf60f0.SetEnableSamplePath(*f1valiter.S3ParquetSource.AdditionalOptions.EnableSamplePath) } if f1valiter.S3ParquetSource.AdditionalOptions.SamplePath != nil { - f1valf58f0.SetSamplePath(*f1valiter.S3ParquetSource.AdditionalOptions.SamplePath) + f1valf60f0.SetSamplePath(*f1valiter.S3ParquetSource.AdditionalOptions.SamplePath) } - f1valf58.SetAdditionalOptions(f1valf58f0) + f1valf60.SetAdditionalOptions(f1valf60f0) } if f1valiter.S3ParquetSource.CompressionType != nil { - f1valf58.SetCompressionType(*f1valiter.S3ParquetSource.CompressionType) + f1valf60.SetCompressionType(*f1valiter.S3ParquetSource.CompressionType) } if f1valiter.S3ParquetSource.Exclusions != nil { - f1valf58f2 := []*string{} - for _, f1valf58f2iter := range f1valiter.S3ParquetSource.Exclusions { - var f1valf58f2elem string - f1valf58f2elem = *f1valf58f2iter - f1valf58f2 = append(f1valf58f2, &f1valf58f2elem) + f1valf60f2 := []*string{} + for _, f1valf60f2iter := range f1valiter.S3ParquetSource.Exclusions { + var f1valf60f2elem string + f1valf60f2elem = *f1valf60f2iter + f1valf60f2 = append(f1valf60f2, &f1valf60f2elem) } - f1valf58.SetExclusions(f1valf58f2) + f1valf60.SetExclusions(f1valf60f2) } if f1valiter.S3ParquetSource.GroupFiles != nil { - f1valf58.SetGroupFiles(*f1valiter.S3ParquetSource.GroupFiles) + f1valf60.SetGroupFiles(*f1valiter.S3ParquetSource.GroupFiles) } if f1valiter.S3ParquetSource.GroupSize != nil { - f1valf58.SetGroupSize(*f1valiter.S3ParquetSource.GroupSize) + f1valf60.SetGroupSize(*f1valiter.S3ParquetSource.GroupSize) } if f1valiter.S3ParquetSource.MaxBand != nil { - f1valf58.SetMaxBand(*f1valiter.S3ParquetSource.MaxBand) + f1valf60.SetMaxBand(*f1valiter.S3ParquetSource.MaxBand) } if f1valiter.S3ParquetSource.MaxFilesInBand != nil { - f1valf58.SetMaxFilesInBand(*f1valiter.S3ParquetSource.MaxFilesInBand) + f1valf60.SetMaxFilesInBand(*f1valiter.S3ParquetSource.MaxFilesInBand) } if f1valiter.S3ParquetSource.Name != nil { - f1valf58.SetName(*f1valiter.S3ParquetSource.Name) + f1valf60.SetName(*f1valiter.S3ParquetSource.Name) } if f1valiter.S3ParquetSource.OutputSchemas != nil { - f1valf58f8 := []*svcsdk.GlueSchema{} - for _, f1valf58f8iter := range f1valiter.S3ParquetSource.OutputSchemas { - f1valf58f8elem := &svcsdk.GlueSchema{} - if f1valf58f8iter.Columns != nil { - f1valf58f8elemf0 := []*svcsdk.GlueStudioSchemaColumn{} - for _, f1valf58f8elemf0iter := range f1valf58f8iter.Columns { - f1valf58f8elemf0elem := &svcsdk.GlueStudioSchemaColumn{} - if f1valf58f8elemf0iter.Name != nil { - f1valf58f8elemf0elem.SetName(*f1valf58f8elemf0iter.Name) + f1valf60f8 := []*svcsdk.GlueSchema{} + for _, f1valf60f8iter := range f1valiter.S3ParquetSource.OutputSchemas { + f1valf60f8elem := &svcsdk.GlueSchema{} + if f1valf60f8iter.Columns != nil { + f1valf60f8elemf0 := []*svcsdk.GlueStudioSchemaColumn{} + for _, f1valf60f8elemf0iter := range f1valf60f8iter.Columns { + f1valf60f8elemf0elem := &svcsdk.GlueStudioSchemaColumn{} + if f1valf60f8elemf0iter.Name != nil { + f1valf60f8elemf0elem.SetName(*f1valf60f8elemf0iter.Name) } - if f1valf58f8elemf0iter.Type != nil { - f1valf58f8elemf0elem.SetType(*f1valf58f8elemf0iter.Type) + if f1valf60f8elemf0iter.Type != nil { + f1valf60f8elemf0elem.SetType(*f1valf60f8elemf0iter.Type) } - f1valf58f8elemf0 = append(f1valf58f8elemf0, f1valf58f8elemf0elem) + f1valf60f8elemf0 = append(f1valf60f8elemf0, f1valf60f8elemf0elem) } - f1valf58f8elem.SetColumns(f1valf58f8elemf0) + f1valf60f8elem.SetColumns(f1valf60f8elemf0) } - f1valf58f8 = append(f1valf58f8, f1valf58f8elem) + f1valf60f8 = append(f1valf60f8, f1valf60f8elem) } - f1valf58.SetOutputSchemas(f1valf58f8) + f1valf60.SetOutputSchemas(f1valf60f8) } if f1valiter.S3ParquetSource.Paths != nil { - f1valf58f9 := []*string{} - for _, f1valf58f9iter := range f1valiter.S3ParquetSource.Paths { - var f1valf58f9elem string - f1valf58f9elem = *f1valf58f9iter - f1valf58f9 = append(f1valf58f9, &f1valf58f9elem) + f1valf60f9 := []*string{} + for _, f1valf60f9iter := range f1valiter.S3ParquetSource.Paths { + var f1valf60f9elem string + f1valf60f9elem = *f1valf60f9iter + f1valf60f9 = append(f1valf60f9, &f1valf60f9elem) } - f1valf58.SetPaths(f1valf58f9) + f1valf60.SetPaths(f1valf60f9) } if f1valiter.S3ParquetSource.Recurse != nil { - f1valf58.SetRecurse(*f1valiter.S3ParquetSource.Recurse) + f1valf60.SetRecurse(*f1valiter.S3ParquetSource.Recurse) } - f1val.SetS3ParquetSource(f1valf58) + f1val.SetS3ParquetSource(f1valf60) } if f1valiter.SelectFields != nil { - f1valf59 := &svcsdk.SelectFields{} + f1valf61 := &svcsdk.SelectFields{} if f1valiter.SelectFields.Inputs != nil { - f1valf59f0 := []*string{} - for _, f1valf59f0iter := range f1valiter.SelectFields.Inputs { - var f1valf59f0elem string - f1valf59f0elem = *f1valf59f0iter - f1valf59f0 = append(f1valf59f0, &f1valf59f0elem) + f1valf61f0 := []*string{} + for _, f1valf61f0iter := range f1valiter.SelectFields.Inputs { + var f1valf61f0elem string + f1valf61f0elem = *f1valf61f0iter + f1valf61f0 = append(f1valf61f0, &f1valf61f0elem) } - f1valf59.SetInputs(f1valf59f0) + f1valf61.SetInputs(f1valf61f0) } if f1valiter.SelectFields.Name != nil { - f1valf59.SetName(*f1valiter.SelectFields.Name) + f1valf61.SetName(*f1valiter.SelectFields.Name) } if f1valiter.SelectFields.Paths != nil { - f1valf59f2 := [][]*string{} - for _, f1valf59f2iter := range f1valiter.SelectFields.Paths { - f1valf59f2elem := []*string{} - for _, f1valf59f2elemiter := range f1valf59f2iter { - var f1valf59f2elemelem string - f1valf59f2elemelem = *f1valf59f2elemiter - f1valf59f2elem = append(f1valf59f2elem, &f1valf59f2elemelem) + f1valf61f2 := [][]*string{} + for _, f1valf61f2iter := range f1valiter.SelectFields.Paths { + f1valf61f2elem := []*string{} + for _, f1valf61f2elemiter := range f1valf61f2iter { + var f1valf61f2elemelem string + f1valf61f2elemelem = *f1valf61f2elemiter + f1valf61f2elem = append(f1valf61f2elem, &f1valf61f2elemelem) } - f1valf59f2 = append(f1valf59f2, f1valf59f2elem) + f1valf61f2 = append(f1valf61f2, f1valf61f2elem) } - f1valf59.SetPaths(f1valf59f2) + f1valf61.SetPaths(f1valf61f2) } - f1val.SetSelectFields(f1valf59) + f1val.SetSelectFields(f1valf61) } if f1valiter.SelectFromCollection != nil { - f1valf60 := &svcsdk.SelectFromCollection{} + f1valf62 := &svcsdk.SelectFromCollection{} if f1valiter.SelectFromCollection.Index != nil { - f1valf60.SetIndex(*f1valiter.SelectFromCollection.Index) + f1valf62.SetIndex(*f1valiter.SelectFromCollection.Index) } if f1valiter.SelectFromCollection.Inputs != nil { - f1valf60f1 := []*string{} - for _, f1valf60f1iter := range f1valiter.SelectFromCollection.Inputs { - var f1valf60f1elem string - f1valf60f1elem = *f1valf60f1iter - f1valf60f1 = append(f1valf60f1, &f1valf60f1elem) + f1valf62f1 := []*string{} + for _, f1valf62f1iter := range f1valiter.SelectFromCollection.Inputs { + var f1valf62f1elem string + f1valf62f1elem = *f1valf62f1iter + f1valf62f1 = append(f1valf62f1, &f1valf62f1elem) } - f1valf60.SetInputs(f1valf60f1) + f1valf62.SetInputs(f1valf62f1) } if f1valiter.SelectFromCollection.Name != nil { - f1valf60.SetName(*f1valiter.SelectFromCollection.Name) + f1valf62.SetName(*f1valiter.SelectFromCollection.Name) } - f1val.SetSelectFromCollection(f1valf60) + f1val.SetSelectFromCollection(f1valf62) } if f1valiter.SnowflakeSource != nil { - f1valf61 := &svcsdk.SnowflakeSource{} + f1valf63 := &svcsdk.SnowflakeSource{} if f1valiter.SnowflakeSource.Data != nil { - f1valf61f0 := &svcsdk.SnowflakeNodeData{} + f1valf63f0 := &svcsdk.SnowflakeNodeData{} if f1valiter.SnowflakeSource.Data.Action != nil { - f1valf61f0.SetAction(*f1valiter.SnowflakeSource.Data.Action) + f1valf63f0.SetAction(*f1valiter.SnowflakeSource.Data.Action) } if f1valiter.SnowflakeSource.Data.AdditionalOptions != nil { - f1valf61f0f1 := map[string]*string{} - for f1valf61f0f1key, f1valf61f0f1valiter := range f1valiter.SnowflakeSource.Data.AdditionalOptions { - var f1valf61f0f1val string - f1valf61f0f1val = *f1valf61f0f1valiter - f1valf61f0f1[f1valf61f0f1key] = &f1valf61f0f1val + f1valf63f0f1 := map[string]*string{} + for f1valf63f0f1key, f1valf63f0f1valiter := range f1valiter.SnowflakeSource.Data.AdditionalOptions { + var f1valf63f0f1val string + f1valf63f0f1val = *f1valf63f0f1valiter + f1valf63f0f1[f1valf63f0f1key] = &f1valf63f0f1val } - f1valf61f0.SetAdditionalOptions(f1valf61f0f1) + f1valf63f0.SetAdditionalOptions(f1valf63f0f1) } if f1valiter.SnowflakeSource.Data.AutoPushdown != nil { - f1valf61f0.SetAutoPushdown(*f1valiter.SnowflakeSource.Data.AutoPushdown) + f1valf63f0.SetAutoPushdown(*f1valiter.SnowflakeSource.Data.AutoPushdown) } if f1valiter.SnowflakeSource.Data.Connection != nil { - f1valf61f0f3 := &svcsdk.Option{} + f1valf63f0f3 := &svcsdk.Option{} if f1valiter.SnowflakeSource.Data.Connection.Description != nil { - f1valf61f0f3.SetDescription(*f1valiter.SnowflakeSource.Data.Connection.Description) + f1valf63f0f3.SetDescription(*f1valiter.SnowflakeSource.Data.Connection.Description) } if f1valiter.SnowflakeSource.Data.Connection.Label != nil { - f1valf61f0f3.SetLabel(*f1valiter.SnowflakeSource.Data.Connection.Label) + f1valf63f0f3.SetLabel(*f1valiter.SnowflakeSource.Data.Connection.Label) } if f1valiter.SnowflakeSource.Data.Connection.Value != nil { - f1valf61f0f3.SetValue(*f1valiter.SnowflakeSource.Data.Connection.Value) + f1valf63f0f3.SetValue(*f1valiter.SnowflakeSource.Data.Connection.Value) } - f1valf61f0.SetConnection(f1valf61f0f3) + f1valf63f0.SetConnection(f1valf63f0f3) } if f1valiter.SnowflakeSource.Data.Database != nil { - f1valf61f0.SetDatabase(*f1valiter.SnowflakeSource.Data.Database) + f1valf63f0.SetDatabase(*f1valiter.SnowflakeSource.Data.Database) } if f1valiter.SnowflakeSource.Data.IAMRole != nil { - f1valf61f0f5 := &svcsdk.Option{} + f1valf63f0f5 := &svcsdk.Option{} if f1valiter.SnowflakeSource.Data.IAMRole.Description != nil { - f1valf61f0f5.SetDescription(*f1valiter.SnowflakeSource.Data.IAMRole.Description) + f1valf63f0f5.SetDescription(*f1valiter.SnowflakeSource.Data.IAMRole.Description) } if f1valiter.SnowflakeSource.Data.IAMRole.Label != nil { - f1valf61f0f5.SetLabel(*f1valiter.SnowflakeSource.Data.IAMRole.Label) + f1valf63f0f5.SetLabel(*f1valiter.SnowflakeSource.Data.IAMRole.Label) } if f1valiter.SnowflakeSource.Data.IAMRole.Value != nil { - f1valf61f0f5.SetValue(*f1valiter.SnowflakeSource.Data.IAMRole.Value) + f1valf63f0f5.SetValue(*f1valiter.SnowflakeSource.Data.IAMRole.Value) } - f1valf61f0.SetIamRole(f1valf61f0f5) + f1valf63f0.SetIamRole(f1valf63f0f5) } if f1valiter.SnowflakeSource.Data.MergeAction != nil { - f1valf61f0.SetMergeAction(*f1valiter.SnowflakeSource.Data.MergeAction) + f1valf63f0.SetMergeAction(*f1valiter.SnowflakeSource.Data.MergeAction) } if f1valiter.SnowflakeSource.Data.MergeClause != nil { - f1valf61f0.SetMergeClause(*f1valiter.SnowflakeSource.Data.MergeClause) + f1valf63f0.SetMergeClause(*f1valiter.SnowflakeSource.Data.MergeClause) } if f1valiter.SnowflakeSource.Data.MergeWhenMatched != nil { - f1valf61f0.SetMergeWhenMatched(*f1valiter.SnowflakeSource.Data.MergeWhenMatched) + f1valf63f0.SetMergeWhenMatched(*f1valiter.SnowflakeSource.Data.MergeWhenMatched) } if f1valiter.SnowflakeSource.Data.MergeWhenNotMatched != nil { - f1valf61f0.SetMergeWhenNotMatched(*f1valiter.SnowflakeSource.Data.MergeWhenNotMatched) + f1valf63f0.SetMergeWhenNotMatched(*f1valiter.SnowflakeSource.Data.MergeWhenNotMatched) } if f1valiter.SnowflakeSource.Data.PostAction != nil { - f1valf61f0.SetPostAction(*f1valiter.SnowflakeSource.Data.PostAction) + f1valf63f0.SetPostAction(*f1valiter.SnowflakeSource.Data.PostAction) } if f1valiter.SnowflakeSource.Data.PreAction != nil { - f1valf61f0.SetPreAction(*f1valiter.SnowflakeSource.Data.PreAction) + f1valf63f0.SetPreAction(*f1valiter.SnowflakeSource.Data.PreAction) } if f1valiter.SnowflakeSource.Data.SampleQuery != nil { - f1valf61f0.SetSampleQuery(*f1valiter.SnowflakeSource.Data.SampleQuery) + f1valf63f0.SetSampleQuery(*f1valiter.SnowflakeSource.Data.SampleQuery) } if f1valiter.SnowflakeSource.Data.Schema != nil { - f1valf61f0.SetSchema(*f1valiter.SnowflakeSource.Data.Schema) + f1valf63f0.SetSchema(*f1valiter.SnowflakeSource.Data.Schema) } if f1valiter.SnowflakeSource.Data.SelectedColumns != nil { - f1valf61f0f14 := []*svcsdk.Option{} - for _, f1valf61f0f14iter := range f1valiter.SnowflakeSource.Data.SelectedColumns { - f1valf61f0f14elem := &svcsdk.Option{} - if f1valf61f0f14iter.Description != nil { - f1valf61f0f14elem.SetDescription(*f1valf61f0f14iter.Description) + f1valf63f0f14 := []*svcsdk.Option{} + for _, f1valf63f0f14iter := range f1valiter.SnowflakeSource.Data.SelectedColumns { + f1valf63f0f14elem := &svcsdk.Option{} + if f1valf63f0f14iter.Description != nil { + f1valf63f0f14elem.SetDescription(*f1valf63f0f14iter.Description) } - if f1valf61f0f14iter.Label != nil { - f1valf61f0f14elem.SetLabel(*f1valf61f0f14iter.Label) + if f1valf63f0f14iter.Label != nil { + f1valf63f0f14elem.SetLabel(*f1valf63f0f14iter.Label) } - if f1valf61f0f14iter.Value != nil { - f1valf61f0f14elem.SetValue(*f1valf61f0f14iter.Value) + if f1valf63f0f14iter.Value != nil { + f1valf63f0f14elem.SetValue(*f1valf63f0f14iter.Value) } - f1valf61f0f14 = append(f1valf61f0f14, f1valf61f0f14elem) + f1valf63f0f14 = append(f1valf63f0f14, f1valf63f0f14elem) } - f1valf61f0.SetSelectedColumns(f1valf61f0f14) + f1valf63f0.SetSelectedColumns(f1valf63f0f14) } if f1valiter.SnowflakeSource.Data.SourceType != nil { - f1valf61f0.SetSourceType(*f1valiter.SnowflakeSource.Data.SourceType) + f1valf63f0.SetSourceType(*f1valiter.SnowflakeSource.Data.SourceType) } if f1valiter.SnowflakeSource.Data.StagingTable != nil { - f1valf61f0.SetStagingTable(*f1valiter.SnowflakeSource.Data.StagingTable) + f1valf63f0.SetStagingTable(*f1valiter.SnowflakeSource.Data.StagingTable) } if f1valiter.SnowflakeSource.Data.Table != nil { - f1valf61f0.SetTable(*f1valiter.SnowflakeSource.Data.Table) + f1valf63f0.SetTable(*f1valiter.SnowflakeSource.Data.Table) } if f1valiter.SnowflakeSource.Data.TableSchema != nil { - f1valf61f0f18 := []*svcsdk.Option{} - for _, f1valf61f0f18iter := range f1valiter.SnowflakeSource.Data.TableSchema { - f1valf61f0f18elem := &svcsdk.Option{} - if f1valf61f0f18iter.Description != nil { - f1valf61f0f18elem.SetDescription(*f1valf61f0f18iter.Description) + f1valf63f0f18 := []*svcsdk.Option{} + for _, f1valf63f0f18iter := range f1valiter.SnowflakeSource.Data.TableSchema { + f1valf63f0f18elem := &svcsdk.Option{} + if f1valf63f0f18iter.Description != nil { + f1valf63f0f18elem.SetDescription(*f1valf63f0f18iter.Description) } - if f1valf61f0f18iter.Label != nil { - f1valf61f0f18elem.SetLabel(*f1valf61f0f18iter.Label) + if f1valf63f0f18iter.Label != nil { + f1valf63f0f18elem.SetLabel(*f1valf63f0f18iter.Label) } - if f1valf61f0f18iter.Value != nil { - f1valf61f0f18elem.SetValue(*f1valf61f0f18iter.Value) + if f1valf63f0f18iter.Value != nil { + f1valf63f0f18elem.SetValue(*f1valf63f0f18iter.Value) } - f1valf61f0f18 = append(f1valf61f0f18, f1valf61f0f18elem) + f1valf63f0f18 = append(f1valf63f0f18, f1valf63f0f18elem) } - f1valf61f0.SetTableSchema(f1valf61f0f18) + f1valf63f0.SetTableSchema(f1valf63f0f18) } if f1valiter.SnowflakeSource.Data.TempDir != nil { - f1valf61f0.SetTempDir(*f1valiter.SnowflakeSource.Data.TempDir) + f1valf63f0.SetTempDir(*f1valiter.SnowflakeSource.Data.TempDir) } if f1valiter.SnowflakeSource.Data.Upsert != nil { - f1valf61f0.SetUpsert(*f1valiter.SnowflakeSource.Data.Upsert) + f1valf63f0.SetUpsert(*f1valiter.SnowflakeSource.Data.Upsert) } - f1valf61.SetData(f1valf61f0) + f1valf63.SetData(f1valf63f0) } if f1valiter.SnowflakeSource.Name != nil { - f1valf61.SetName(*f1valiter.SnowflakeSource.Name) + f1valf63.SetName(*f1valiter.SnowflakeSource.Name) } if f1valiter.SnowflakeSource.OutputSchemas != nil { - f1valf61f2 := []*svcsdk.GlueSchema{} - for _, f1valf61f2iter := range f1valiter.SnowflakeSource.OutputSchemas { - f1valf61f2elem := &svcsdk.GlueSchema{} - if f1valf61f2iter.Columns != nil { - f1valf61f2elemf0 := []*svcsdk.GlueStudioSchemaColumn{} - for _, f1valf61f2elemf0iter := range f1valf61f2iter.Columns { - f1valf61f2elemf0elem := &svcsdk.GlueStudioSchemaColumn{} - if f1valf61f2elemf0iter.Name != nil { - f1valf61f2elemf0elem.SetName(*f1valf61f2elemf0iter.Name) + f1valf63f2 := []*svcsdk.GlueSchema{} + for _, f1valf63f2iter := range f1valiter.SnowflakeSource.OutputSchemas { + f1valf63f2elem := &svcsdk.GlueSchema{} + if f1valf63f2iter.Columns != nil { + f1valf63f2elemf0 := []*svcsdk.GlueStudioSchemaColumn{} + for _, f1valf63f2elemf0iter := range f1valf63f2iter.Columns { + f1valf63f2elemf0elem := &svcsdk.GlueStudioSchemaColumn{} + if f1valf63f2elemf0iter.Name != nil { + f1valf63f2elemf0elem.SetName(*f1valf63f2elemf0iter.Name) } - if f1valf61f2elemf0iter.Type != nil { - f1valf61f2elemf0elem.SetType(*f1valf61f2elemf0iter.Type) + if f1valf63f2elemf0iter.Type != nil { + f1valf63f2elemf0elem.SetType(*f1valf63f2elemf0iter.Type) } - f1valf61f2elemf0 = append(f1valf61f2elemf0, f1valf61f2elemf0elem) + f1valf63f2elemf0 = append(f1valf63f2elemf0, f1valf63f2elemf0elem) } - f1valf61f2elem.SetColumns(f1valf61f2elemf0) + f1valf63f2elem.SetColumns(f1valf63f2elemf0) } - f1valf61f2 = append(f1valf61f2, f1valf61f2elem) + f1valf63f2 = append(f1valf63f2, f1valf63f2elem) } - f1valf61.SetOutputSchemas(f1valf61f2) + f1valf63.SetOutputSchemas(f1valf63f2) } - f1val.SetSnowflakeSource(f1valf61) + f1val.SetSnowflakeSource(f1valf63) } if f1valiter.SnowflakeTarget != nil { - f1valf62 := &svcsdk.SnowflakeTarget{} + f1valf64 := &svcsdk.SnowflakeTarget{} if f1valiter.SnowflakeTarget.Data != nil { - f1valf62f0 := &svcsdk.SnowflakeNodeData{} + f1valf64f0 := &svcsdk.SnowflakeNodeData{} if f1valiter.SnowflakeTarget.Data.Action != nil { - f1valf62f0.SetAction(*f1valiter.SnowflakeTarget.Data.Action) + f1valf64f0.SetAction(*f1valiter.SnowflakeTarget.Data.Action) } if f1valiter.SnowflakeTarget.Data.AdditionalOptions != nil { - f1valf62f0f1 := map[string]*string{} - for f1valf62f0f1key, f1valf62f0f1valiter := range f1valiter.SnowflakeTarget.Data.AdditionalOptions { - var f1valf62f0f1val string - f1valf62f0f1val = *f1valf62f0f1valiter - f1valf62f0f1[f1valf62f0f1key] = &f1valf62f0f1val + f1valf64f0f1 := map[string]*string{} + for f1valf64f0f1key, f1valf64f0f1valiter := range f1valiter.SnowflakeTarget.Data.AdditionalOptions { + var f1valf64f0f1val string + f1valf64f0f1val = *f1valf64f0f1valiter + f1valf64f0f1[f1valf64f0f1key] = &f1valf64f0f1val } - f1valf62f0.SetAdditionalOptions(f1valf62f0f1) + f1valf64f0.SetAdditionalOptions(f1valf64f0f1) } if f1valiter.SnowflakeTarget.Data.AutoPushdown != nil { - f1valf62f0.SetAutoPushdown(*f1valiter.SnowflakeTarget.Data.AutoPushdown) + f1valf64f0.SetAutoPushdown(*f1valiter.SnowflakeTarget.Data.AutoPushdown) } if f1valiter.SnowflakeTarget.Data.Connection != nil { - f1valf62f0f3 := &svcsdk.Option{} + f1valf64f0f3 := &svcsdk.Option{} if f1valiter.SnowflakeTarget.Data.Connection.Description != nil { - f1valf62f0f3.SetDescription(*f1valiter.SnowflakeTarget.Data.Connection.Description) + f1valf64f0f3.SetDescription(*f1valiter.SnowflakeTarget.Data.Connection.Description) } if f1valiter.SnowflakeTarget.Data.Connection.Label != nil { - f1valf62f0f3.SetLabel(*f1valiter.SnowflakeTarget.Data.Connection.Label) + f1valf64f0f3.SetLabel(*f1valiter.SnowflakeTarget.Data.Connection.Label) } if f1valiter.SnowflakeTarget.Data.Connection.Value != nil { - f1valf62f0f3.SetValue(*f1valiter.SnowflakeTarget.Data.Connection.Value) + f1valf64f0f3.SetValue(*f1valiter.SnowflakeTarget.Data.Connection.Value) } - f1valf62f0.SetConnection(f1valf62f0f3) + f1valf64f0.SetConnection(f1valf64f0f3) } if f1valiter.SnowflakeTarget.Data.Database != nil { - f1valf62f0.SetDatabase(*f1valiter.SnowflakeTarget.Data.Database) + f1valf64f0.SetDatabase(*f1valiter.SnowflakeTarget.Data.Database) } if f1valiter.SnowflakeTarget.Data.IAMRole != nil { - f1valf62f0f5 := &svcsdk.Option{} + f1valf64f0f5 := &svcsdk.Option{} if f1valiter.SnowflakeTarget.Data.IAMRole.Description != nil { - f1valf62f0f5.SetDescription(*f1valiter.SnowflakeTarget.Data.IAMRole.Description) + f1valf64f0f5.SetDescription(*f1valiter.SnowflakeTarget.Data.IAMRole.Description) } if f1valiter.SnowflakeTarget.Data.IAMRole.Label != nil { - f1valf62f0f5.SetLabel(*f1valiter.SnowflakeTarget.Data.IAMRole.Label) + f1valf64f0f5.SetLabel(*f1valiter.SnowflakeTarget.Data.IAMRole.Label) } if f1valiter.SnowflakeTarget.Data.IAMRole.Value != nil { - f1valf62f0f5.SetValue(*f1valiter.SnowflakeTarget.Data.IAMRole.Value) + f1valf64f0f5.SetValue(*f1valiter.SnowflakeTarget.Data.IAMRole.Value) } - f1valf62f0.SetIamRole(f1valf62f0f5) + f1valf64f0.SetIamRole(f1valf64f0f5) } if f1valiter.SnowflakeTarget.Data.MergeAction != nil { - f1valf62f0.SetMergeAction(*f1valiter.SnowflakeTarget.Data.MergeAction) + f1valf64f0.SetMergeAction(*f1valiter.SnowflakeTarget.Data.MergeAction) } if f1valiter.SnowflakeTarget.Data.MergeClause != nil { - f1valf62f0.SetMergeClause(*f1valiter.SnowflakeTarget.Data.MergeClause) + f1valf64f0.SetMergeClause(*f1valiter.SnowflakeTarget.Data.MergeClause) } if f1valiter.SnowflakeTarget.Data.MergeWhenMatched != nil { - f1valf62f0.SetMergeWhenMatched(*f1valiter.SnowflakeTarget.Data.MergeWhenMatched) + f1valf64f0.SetMergeWhenMatched(*f1valiter.SnowflakeTarget.Data.MergeWhenMatched) } if f1valiter.SnowflakeTarget.Data.MergeWhenNotMatched != nil { - f1valf62f0.SetMergeWhenNotMatched(*f1valiter.SnowflakeTarget.Data.MergeWhenNotMatched) + f1valf64f0.SetMergeWhenNotMatched(*f1valiter.SnowflakeTarget.Data.MergeWhenNotMatched) } if f1valiter.SnowflakeTarget.Data.PostAction != nil { - f1valf62f0.SetPostAction(*f1valiter.SnowflakeTarget.Data.PostAction) + f1valf64f0.SetPostAction(*f1valiter.SnowflakeTarget.Data.PostAction) } if f1valiter.SnowflakeTarget.Data.PreAction != nil { - f1valf62f0.SetPreAction(*f1valiter.SnowflakeTarget.Data.PreAction) + f1valf64f0.SetPreAction(*f1valiter.SnowflakeTarget.Data.PreAction) } if f1valiter.SnowflakeTarget.Data.SampleQuery != nil { - f1valf62f0.SetSampleQuery(*f1valiter.SnowflakeTarget.Data.SampleQuery) + f1valf64f0.SetSampleQuery(*f1valiter.SnowflakeTarget.Data.SampleQuery) } if f1valiter.SnowflakeTarget.Data.Schema != nil { - f1valf62f0.SetSchema(*f1valiter.SnowflakeTarget.Data.Schema) + f1valf64f0.SetSchema(*f1valiter.SnowflakeTarget.Data.Schema) } if f1valiter.SnowflakeTarget.Data.SelectedColumns != nil { - f1valf62f0f14 := []*svcsdk.Option{} - for _, f1valf62f0f14iter := range f1valiter.SnowflakeTarget.Data.SelectedColumns { - f1valf62f0f14elem := &svcsdk.Option{} - if f1valf62f0f14iter.Description != nil { - f1valf62f0f14elem.SetDescription(*f1valf62f0f14iter.Description) + f1valf64f0f14 := []*svcsdk.Option{} + for _, f1valf64f0f14iter := range f1valiter.SnowflakeTarget.Data.SelectedColumns { + f1valf64f0f14elem := &svcsdk.Option{} + if f1valf64f0f14iter.Description != nil { + f1valf64f0f14elem.SetDescription(*f1valf64f0f14iter.Description) } - if f1valf62f0f14iter.Label != nil { - f1valf62f0f14elem.SetLabel(*f1valf62f0f14iter.Label) + if f1valf64f0f14iter.Label != nil { + f1valf64f0f14elem.SetLabel(*f1valf64f0f14iter.Label) } - if f1valf62f0f14iter.Value != nil { - f1valf62f0f14elem.SetValue(*f1valf62f0f14iter.Value) + if f1valf64f0f14iter.Value != nil { + f1valf64f0f14elem.SetValue(*f1valf64f0f14iter.Value) } - f1valf62f0f14 = append(f1valf62f0f14, f1valf62f0f14elem) + f1valf64f0f14 = append(f1valf64f0f14, f1valf64f0f14elem) } - f1valf62f0.SetSelectedColumns(f1valf62f0f14) + f1valf64f0.SetSelectedColumns(f1valf64f0f14) } if f1valiter.SnowflakeTarget.Data.SourceType != nil { - f1valf62f0.SetSourceType(*f1valiter.SnowflakeTarget.Data.SourceType) + f1valf64f0.SetSourceType(*f1valiter.SnowflakeTarget.Data.SourceType) } if f1valiter.SnowflakeTarget.Data.StagingTable != nil { - f1valf62f0.SetStagingTable(*f1valiter.SnowflakeTarget.Data.StagingTable) + f1valf64f0.SetStagingTable(*f1valiter.SnowflakeTarget.Data.StagingTable) } if f1valiter.SnowflakeTarget.Data.Table != nil { - f1valf62f0.SetTable(*f1valiter.SnowflakeTarget.Data.Table) + f1valf64f0.SetTable(*f1valiter.SnowflakeTarget.Data.Table) } if f1valiter.SnowflakeTarget.Data.TableSchema != nil { - f1valf62f0f18 := []*svcsdk.Option{} - for _, f1valf62f0f18iter := range f1valiter.SnowflakeTarget.Data.TableSchema { - f1valf62f0f18elem := &svcsdk.Option{} - if f1valf62f0f18iter.Description != nil { - f1valf62f0f18elem.SetDescription(*f1valf62f0f18iter.Description) + f1valf64f0f18 := []*svcsdk.Option{} + for _, f1valf64f0f18iter := range f1valiter.SnowflakeTarget.Data.TableSchema { + f1valf64f0f18elem := &svcsdk.Option{} + if f1valf64f0f18iter.Description != nil { + f1valf64f0f18elem.SetDescription(*f1valf64f0f18iter.Description) } - if f1valf62f0f18iter.Label != nil { - f1valf62f0f18elem.SetLabel(*f1valf62f0f18iter.Label) + if f1valf64f0f18iter.Label != nil { + f1valf64f0f18elem.SetLabel(*f1valf64f0f18iter.Label) } - if f1valf62f0f18iter.Value != nil { - f1valf62f0f18elem.SetValue(*f1valf62f0f18iter.Value) + if f1valf64f0f18iter.Value != nil { + f1valf64f0f18elem.SetValue(*f1valf64f0f18iter.Value) } - f1valf62f0f18 = append(f1valf62f0f18, f1valf62f0f18elem) + f1valf64f0f18 = append(f1valf64f0f18, f1valf64f0f18elem) } - f1valf62f0.SetTableSchema(f1valf62f0f18) + f1valf64f0.SetTableSchema(f1valf64f0f18) } if f1valiter.SnowflakeTarget.Data.TempDir != nil { - f1valf62f0.SetTempDir(*f1valiter.SnowflakeTarget.Data.TempDir) + f1valf64f0.SetTempDir(*f1valiter.SnowflakeTarget.Data.TempDir) } if f1valiter.SnowflakeTarget.Data.Upsert != nil { - f1valf62f0.SetUpsert(*f1valiter.SnowflakeTarget.Data.Upsert) + f1valf64f0.SetUpsert(*f1valiter.SnowflakeTarget.Data.Upsert) } - f1valf62.SetData(f1valf62f0) + f1valf64.SetData(f1valf64f0) } if f1valiter.SnowflakeTarget.Inputs != nil { - f1valf62f1 := []*string{} - for _, f1valf62f1iter := range f1valiter.SnowflakeTarget.Inputs { - var f1valf62f1elem string - f1valf62f1elem = *f1valf62f1iter - f1valf62f1 = append(f1valf62f1, &f1valf62f1elem) + f1valf64f1 := []*string{} + for _, f1valf64f1iter := range f1valiter.SnowflakeTarget.Inputs { + var f1valf64f1elem string + f1valf64f1elem = *f1valf64f1iter + f1valf64f1 = append(f1valf64f1, &f1valf64f1elem) } - f1valf62.SetInputs(f1valf62f1) + f1valf64.SetInputs(f1valf64f1) } if f1valiter.SnowflakeTarget.Name != nil { - f1valf62.SetName(*f1valiter.SnowflakeTarget.Name) + f1valf64.SetName(*f1valiter.SnowflakeTarget.Name) } - f1val.SetSnowflakeTarget(f1valf62) + f1val.SetSnowflakeTarget(f1valf64) } if f1valiter.SparkConnectorSource != nil { - f1valf63 := &svcsdk.SparkConnectorSource{} + f1valf65 := &svcsdk.SparkConnectorSource{} if f1valiter.SparkConnectorSource.AdditionalOptions != nil { - f1valf63f0 := map[string]*string{} - for f1valf63f0key, f1valf63f0valiter := range f1valiter.SparkConnectorSource.AdditionalOptions { - var f1valf63f0val string - f1valf63f0val = *f1valf63f0valiter - f1valf63f0[f1valf63f0key] = &f1valf63f0val + f1valf65f0 := map[string]*string{} + for f1valf65f0key, f1valf65f0valiter := range f1valiter.SparkConnectorSource.AdditionalOptions { + var f1valf65f0val string + f1valf65f0val = *f1valf65f0valiter + f1valf65f0[f1valf65f0key] = &f1valf65f0val } - f1valf63.SetAdditionalOptions(f1valf63f0) + f1valf65.SetAdditionalOptions(f1valf65f0) } if f1valiter.SparkConnectorSource.ConnectionName != nil { - f1valf63.SetConnectionName(*f1valiter.SparkConnectorSource.ConnectionName) + f1valf65.SetConnectionName(*f1valiter.SparkConnectorSource.ConnectionName) } if f1valiter.SparkConnectorSource.ConnectionType != nil { - f1valf63.SetConnectionType(*f1valiter.SparkConnectorSource.ConnectionType) + f1valf65.SetConnectionType(*f1valiter.SparkConnectorSource.ConnectionType) } if f1valiter.SparkConnectorSource.ConnectorName != nil { - f1valf63.SetConnectorName(*f1valiter.SparkConnectorSource.ConnectorName) + f1valf65.SetConnectorName(*f1valiter.SparkConnectorSource.ConnectorName) } if f1valiter.SparkConnectorSource.Name != nil { - f1valf63.SetName(*f1valiter.SparkConnectorSource.Name) + f1valf65.SetName(*f1valiter.SparkConnectorSource.Name) } if f1valiter.SparkConnectorSource.OutputSchemas != nil { - f1valf63f5 := []*svcsdk.GlueSchema{} - for _, f1valf63f5iter := range f1valiter.SparkConnectorSource.OutputSchemas { - f1valf63f5elem := &svcsdk.GlueSchema{} - if f1valf63f5iter.Columns != nil { - f1valf63f5elemf0 := []*svcsdk.GlueStudioSchemaColumn{} - for _, f1valf63f5elemf0iter := range f1valf63f5iter.Columns { - f1valf63f5elemf0elem := &svcsdk.GlueStudioSchemaColumn{} - if f1valf63f5elemf0iter.Name != nil { - f1valf63f5elemf0elem.SetName(*f1valf63f5elemf0iter.Name) + f1valf65f5 := []*svcsdk.GlueSchema{} + for _, f1valf65f5iter := range f1valiter.SparkConnectorSource.OutputSchemas { + f1valf65f5elem := &svcsdk.GlueSchema{} + if f1valf65f5iter.Columns != nil { + f1valf65f5elemf0 := []*svcsdk.GlueStudioSchemaColumn{} + for _, f1valf65f5elemf0iter := range f1valf65f5iter.Columns { + f1valf65f5elemf0elem := &svcsdk.GlueStudioSchemaColumn{} + if f1valf65f5elemf0iter.Name != nil { + f1valf65f5elemf0elem.SetName(*f1valf65f5elemf0iter.Name) } - if f1valf63f5elemf0iter.Type != nil { - f1valf63f5elemf0elem.SetType(*f1valf63f5elemf0iter.Type) + if f1valf65f5elemf0iter.Type != nil { + f1valf65f5elemf0elem.SetType(*f1valf65f5elemf0iter.Type) } - f1valf63f5elemf0 = append(f1valf63f5elemf0, f1valf63f5elemf0elem) + f1valf65f5elemf0 = append(f1valf65f5elemf0, f1valf65f5elemf0elem) } - f1valf63f5elem.SetColumns(f1valf63f5elemf0) + f1valf65f5elem.SetColumns(f1valf65f5elemf0) } - f1valf63f5 = append(f1valf63f5, f1valf63f5elem) + f1valf65f5 = append(f1valf65f5, f1valf65f5elem) } - f1valf63.SetOutputSchemas(f1valf63f5) + f1valf65.SetOutputSchemas(f1valf65f5) } - f1val.SetSparkConnectorSource(f1valf63) + f1val.SetSparkConnectorSource(f1valf65) } if f1valiter.SparkConnectorTarget != nil { - f1valf64 := &svcsdk.SparkConnectorTarget{} + f1valf66 := &svcsdk.SparkConnectorTarget{} if f1valiter.SparkConnectorTarget.AdditionalOptions != nil { - f1valf64f0 := map[string]*string{} - for f1valf64f0key, f1valf64f0valiter := range f1valiter.SparkConnectorTarget.AdditionalOptions { - var f1valf64f0val string - f1valf64f0val = *f1valf64f0valiter - f1valf64f0[f1valf64f0key] = &f1valf64f0val + f1valf66f0 := map[string]*string{} + for f1valf66f0key, f1valf66f0valiter := range f1valiter.SparkConnectorTarget.AdditionalOptions { + var f1valf66f0val string + f1valf66f0val = *f1valf66f0valiter + f1valf66f0[f1valf66f0key] = &f1valf66f0val } - f1valf64.SetAdditionalOptions(f1valf64f0) + f1valf66.SetAdditionalOptions(f1valf66f0) } if f1valiter.SparkConnectorTarget.ConnectionName != nil { - f1valf64.SetConnectionName(*f1valiter.SparkConnectorTarget.ConnectionName) + f1valf66.SetConnectionName(*f1valiter.SparkConnectorTarget.ConnectionName) } if f1valiter.SparkConnectorTarget.ConnectionType != nil { - f1valf64.SetConnectionType(*f1valiter.SparkConnectorTarget.ConnectionType) + f1valf66.SetConnectionType(*f1valiter.SparkConnectorTarget.ConnectionType) } if f1valiter.SparkConnectorTarget.ConnectorName != nil { - f1valf64.SetConnectorName(*f1valiter.SparkConnectorTarget.ConnectorName) + f1valf66.SetConnectorName(*f1valiter.SparkConnectorTarget.ConnectorName) } if f1valiter.SparkConnectorTarget.Inputs != nil { - f1valf64f4 := []*string{} - for _, f1valf64f4iter := range f1valiter.SparkConnectorTarget.Inputs { - var f1valf64f4elem string - f1valf64f4elem = *f1valf64f4iter - f1valf64f4 = append(f1valf64f4, &f1valf64f4elem) + f1valf66f4 := []*string{} + for _, f1valf66f4iter := range f1valiter.SparkConnectorTarget.Inputs { + var f1valf66f4elem string + f1valf66f4elem = *f1valf66f4iter + f1valf66f4 = append(f1valf66f4, &f1valf66f4elem) } - f1valf64.SetInputs(f1valf64f4) + f1valf66.SetInputs(f1valf66f4) } if f1valiter.SparkConnectorTarget.Name != nil { - f1valf64.SetName(*f1valiter.SparkConnectorTarget.Name) + f1valf66.SetName(*f1valiter.SparkConnectorTarget.Name) } if f1valiter.SparkConnectorTarget.OutputSchemas != nil { - f1valf64f6 := []*svcsdk.GlueSchema{} - for _, f1valf64f6iter := range f1valiter.SparkConnectorTarget.OutputSchemas { - f1valf64f6elem := &svcsdk.GlueSchema{} - if f1valf64f6iter.Columns != nil { - f1valf64f6elemf0 := []*svcsdk.GlueStudioSchemaColumn{} - for _, f1valf64f6elemf0iter := range f1valf64f6iter.Columns { - f1valf64f6elemf0elem := &svcsdk.GlueStudioSchemaColumn{} - if f1valf64f6elemf0iter.Name != nil { - f1valf64f6elemf0elem.SetName(*f1valf64f6elemf0iter.Name) + f1valf66f6 := []*svcsdk.GlueSchema{} + for _, f1valf66f6iter := range f1valiter.SparkConnectorTarget.OutputSchemas { + f1valf66f6elem := &svcsdk.GlueSchema{} + if f1valf66f6iter.Columns != nil { + f1valf66f6elemf0 := []*svcsdk.GlueStudioSchemaColumn{} + for _, f1valf66f6elemf0iter := range f1valf66f6iter.Columns { + f1valf66f6elemf0elem := &svcsdk.GlueStudioSchemaColumn{} + if f1valf66f6elemf0iter.Name != nil { + f1valf66f6elemf0elem.SetName(*f1valf66f6elemf0iter.Name) } - if f1valf64f6elemf0iter.Type != nil { - f1valf64f6elemf0elem.SetType(*f1valf64f6elemf0iter.Type) + if f1valf66f6elemf0iter.Type != nil { + f1valf66f6elemf0elem.SetType(*f1valf66f6elemf0iter.Type) } - f1valf64f6elemf0 = append(f1valf64f6elemf0, f1valf64f6elemf0elem) + f1valf66f6elemf0 = append(f1valf66f6elemf0, f1valf66f6elemf0elem) } - f1valf64f6elem.SetColumns(f1valf64f6elemf0) + f1valf66f6elem.SetColumns(f1valf66f6elemf0) } - f1valf64f6 = append(f1valf64f6, f1valf64f6elem) + f1valf66f6 = append(f1valf66f6, f1valf66f6elem) } - f1valf64.SetOutputSchemas(f1valf64f6) + f1valf66.SetOutputSchemas(f1valf66f6) } - f1val.SetSparkConnectorTarget(f1valf64) + f1val.SetSparkConnectorTarget(f1valf66) } if f1valiter.SparkSQL != nil { - f1valf65 := &svcsdk.SparkSQL{} + f1valf67 := &svcsdk.SparkSQL{} if f1valiter.SparkSQL.Inputs != nil { - f1valf65f0 := []*string{} - for _, f1valf65f0iter := range f1valiter.SparkSQL.Inputs { - var f1valf65f0elem string - f1valf65f0elem = *f1valf65f0iter - f1valf65f0 = append(f1valf65f0, &f1valf65f0elem) + f1valf67f0 := []*string{} + for _, f1valf67f0iter := range f1valiter.SparkSQL.Inputs { + var f1valf67f0elem string + f1valf67f0elem = *f1valf67f0iter + f1valf67f0 = append(f1valf67f0, &f1valf67f0elem) } - f1valf65.SetInputs(f1valf65f0) + f1valf67.SetInputs(f1valf67f0) } if f1valiter.SparkSQL.Name != nil { - f1valf65.SetName(*f1valiter.SparkSQL.Name) + f1valf67.SetName(*f1valiter.SparkSQL.Name) } if f1valiter.SparkSQL.OutputSchemas != nil { - f1valf65f2 := []*svcsdk.GlueSchema{} - for _, f1valf65f2iter := range f1valiter.SparkSQL.OutputSchemas { - f1valf65f2elem := &svcsdk.GlueSchema{} - if f1valf65f2iter.Columns != nil { - f1valf65f2elemf0 := []*svcsdk.GlueStudioSchemaColumn{} - for _, f1valf65f2elemf0iter := range f1valf65f2iter.Columns { - f1valf65f2elemf0elem := &svcsdk.GlueStudioSchemaColumn{} - if f1valf65f2elemf0iter.Name != nil { - f1valf65f2elemf0elem.SetName(*f1valf65f2elemf0iter.Name) + f1valf67f2 := []*svcsdk.GlueSchema{} + for _, f1valf67f2iter := range f1valiter.SparkSQL.OutputSchemas { + f1valf67f2elem := &svcsdk.GlueSchema{} + if f1valf67f2iter.Columns != nil { + f1valf67f2elemf0 := []*svcsdk.GlueStudioSchemaColumn{} + for _, f1valf67f2elemf0iter := range f1valf67f2iter.Columns { + f1valf67f2elemf0elem := &svcsdk.GlueStudioSchemaColumn{} + if f1valf67f2elemf0iter.Name != nil { + f1valf67f2elemf0elem.SetName(*f1valf67f2elemf0iter.Name) } - if f1valf65f2elemf0iter.Type != nil { - f1valf65f2elemf0elem.SetType(*f1valf65f2elemf0iter.Type) + if f1valf67f2elemf0iter.Type != nil { + f1valf67f2elemf0elem.SetType(*f1valf67f2elemf0iter.Type) } - f1valf65f2elemf0 = append(f1valf65f2elemf0, f1valf65f2elemf0elem) + f1valf67f2elemf0 = append(f1valf67f2elemf0, f1valf67f2elemf0elem) } - f1valf65f2elem.SetColumns(f1valf65f2elemf0) + f1valf67f2elem.SetColumns(f1valf67f2elemf0) } - f1valf65f2 = append(f1valf65f2, f1valf65f2elem) + f1valf67f2 = append(f1valf67f2, f1valf67f2elem) } - f1valf65.SetOutputSchemas(f1valf65f2) + f1valf67.SetOutputSchemas(f1valf67f2) } if f1valiter.SparkSQL.SQLAliases != nil { - f1valf65f3 := []*svcsdk.SqlAlias{} - for _, f1valf65f3iter := range f1valiter.SparkSQL.SQLAliases { - f1valf65f3elem := &svcsdk.SqlAlias{} - if f1valf65f3iter.Alias != nil { - f1valf65f3elem.SetAlias(*f1valf65f3iter.Alias) + f1valf67f3 := []*svcsdk.SqlAlias{} + for _, f1valf67f3iter := range f1valiter.SparkSQL.SQLAliases { + f1valf67f3elem := &svcsdk.SqlAlias{} + if f1valf67f3iter.Alias != nil { + f1valf67f3elem.SetAlias(*f1valf67f3iter.Alias) } - if f1valf65f3iter.From != nil { - f1valf65f3elem.SetFrom(*f1valf65f3iter.From) + if f1valf67f3iter.From != nil { + f1valf67f3elem.SetFrom(*f1valf67f3iter.From) } - f1valf65f3 = append(f1valf65f3, f1valf65f3elem) + f1valf67f3 = append(f1valf67f3, f1valf67f3elem) } - f1valf65.SetSqlAliases(f1valf65f3) + f1valf67.SetSqlAliases(f1valf67f3) } if f1valiter.SparkSQL.SQLQuery != nil { - f1valf65.SetSqlQuery(*f1valiter.SparkSQL.SQLQuery) + f1valf67.SetSqlQuery(*f1valiter.SparkSQL.SQLQuery) } - f1val.SetSparkSQL(f1valf65) + f1val.SetSparkSQL(f1valf67) } if f1valiter.Spigot != nil { - f1valf66 := &svcsdk.Spigot{} + f1valf68 := &svcsdk.Spigot{} if f1valiter.Spigot.Inputs != nil { - f1valf66f0 := []*string{} - for _, f1valf66f0iter := range f1valiter.Spigot.Inputs { - var f1valf66f0elem string - f1valf66f0elem = *f1valf66f0iter - f1valf66f0 = append(f1valf66f0, &f1valf66f0elem) + f1valf68f0 := []*string{} + for _, f1valf68f0iter := range f1valiter.Spigot.Inputs { + var f1valf68f0elem string + f1valf68f0elem = *f1valf68f0iter + f1valf68f0 = append(f1valf68f0, &f1valf68f0elem) } - f1valf66.SetInputs(f1valf66f0) + f1valf68.SetInputs(f1valf68f0) } if f1valiter.Spigot.Name != nil { - f1valf66.SetName(*f1valiter.Spigot.Name) + f1valf68.SetName(*f1valiter.Spigot.Name) } if f1valiter.Spigot.Path != nil { - f1valf66.SetPath(*f1valiter.Spigot.Path) + f1valf68.SetPath(*f1valiter.Spigot.Path) } if f1valiter.Spigot.Prob != nil { - f1valf66.SetProb(*f1valiter.Spigot.Prob) + f1valf68.SetProb(*f1valiter.Spigot.Prob) } if f1valiter.Spigot.Topk != nil { - f1valf66.SetTopk(*f1valiter.Spigot.Topk) + f1valf68.SetTopk(*f1valiter.Spigot.Topk) } - f1val.SetSpigot(f1valf66) + f1val.SetSpigot(f1valf68) } if f1valiter.SplitFields != nil { - f1valf67 := &svcsdk.SplitFields{} + f1valf69 := &svcsdk.SplitFields{} if f1valiter.SplitFields.Inputs != nil { - f1valf67f0 := []*string{} - for _, f1valf67f0iter := range f1valiter.SplitFields.Inputs { - var f1valf67f0elem string - f1valf67f0elem = *f1valf67f0iter - f1valf67f0 = append(f1valf67f0, &f1valf67f0elem) + f1valf69f0 := []*string{} + for _, f1valf69f0iter := range f1valiter.SplitFields.Inputs { + var f1valf69f0elem string + f1valf69f0elem = *f1valf69f0iter + f1valf69f0 = append(f1valf69f0, &f1valf69f0elem) } - f1valf67.SetInputs(f1valf67f0) + f1valf69.SetInputs(f1valf69f0) } if f1valiter.SplitFields.Name != nil { - f1valf67.SetName(*f1valiter.SplitFields.Name) + f1valf69.SetName(*f1valiter.SplitFields.Name) } if f1valiter.SplitFields.Paths != nil { - f1valf67f2 := [][]*string{} - for _, f1valf67f2iter := range f1valiter.SplitFields.Paths { - f1valf67f2elem := []*string{} - for _, f1valf67f2elemiter := range f1valf67f2iter { - var f1valf67f2elemelem string - f1valf67f2elemelem = *f1valf67f2elemiter - f1valf67f2elem = append(f1valf67f2elem, &f1valf67f2elemelem) + f1valf69f2 := [][]*string{} + for _, f1valf69f2iter := range f1valiter.SplitFields.Paths { + f1valf69f2elem := []*string{} + for _, f1valf69f2elemiter := range f1valf69f2iter { + var f1valf69f2elemelem string + f1valf69f2elemelem = *f1valf69f2elemiter + f1valf69f2elem = append(f1valf69f2elem, &f1valf69f2elemelem) } - f1valf67f2 = append(f1valf67f2, f1valf67f2elem) + f1valf69f2 = append(f1valf69f2, f1valf69f2elem) } - f1valf67.SetPaths(f1valf67f2) + f1valf69.SetPaths(f1valf69f2) } - f1val.SetSplitFields(f1valf67) + f1val.SetSplitFields(f1valf69) } if f1valiter.Union != nil { - f1valf68 := &svcsdk.Union{} + f1valf70 := &svcsdk.Union{} if f1valiter.Union.Inputs != nil { - f1valf68f0 := []*string{} - for _, f1valf68f0iter := range f1valiter.Union.Inputs { - var f1valf68f0elem string - f1valf68f0elem = *f1valf68f0iter - f1valf68f0 = append(f1valf68f0, &f1valf68f0elem) + f1valf70f0 := []*string{} + for _, f1valf70f0iter := range f1valiter.Union.Inputs { + var f1valf70f0elem string + f1valf70f0elem = *f1valf70f0iter + f1valf70f0 = append(f1valf70f0, &f1valf70f0elem) } - f1valf68.SetInputs(f1valf68f0) + f1valf70.SetInputs(f1valf70f0) } if f1valiter.Union.Name != nil { - f1valf68.SetName(*f1valiter.Union.Name) + f1valf70.SetName(*f1valiter.Union.Name) } if f1valiter.Union.UnionType != nil { - f1valf68.SetUnionType(*f1valiter.Union.UnionType) + f1valf70.SetUnionType(*f1valiter.Union.UnionType) } - f1val.SetUnion(f1valf68) + f1val.SetUnion(f1valf70) } f1[f1key] = f1val } diff --git a/pkg/controller/lambda/function/zz_controller.go b/pkg/controller/lambda/function/zz_controller.go index fa2050e1d5..e166ec79a1 100644 --- a/pkg/controller/lambda/function/zz_controller.go +++ b/pkg/controller/lambda/function/zz_controller.go @@ -379,23 +379,26 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E } if resp.VpcConfig != nil { f33 := &svcapitypes.VPCConfigResponse{} - if resp.VpcConfig.SecurityGroupIds != nil { - f33f0 := []*string{} - for _, f33f0iter := range resp.VpcConfig.SecurityGroupIds { - var f33f0elem string - f33f0elem = *f33f0iter - f33f0 = append(f33f0, &f33f0elem) - } - f33.SecurityGroupIDs = f33f0 + if resp.VpcConfig.Ipv6AllowedForDualStack != nil { + f33.IPv6AllowedForDualStack = resp.VpcConfig.Ipv6AllowedForDualStack } - if resp.VpcConfig.SubnetIds != nil { + if resp.VpcConfig.SecurityGroupIds != nil { f33f1 := []*string{} - for _, f33f1iter := range resp.VpcConfig.SubnetIds { + for _, f33f1iter := range resp.VpcConfig.SecurityGroupIds { var f33f1elem string f33f1elem = *f33f1iter f33f1 = append(f33f1, &f33f1elem) } - f33.SubnetIDs = f33f1 + f33.SecurityGroupIDs = f33f1 + } + if resp.VpcConfig.SubnetIds != nil { + f33f2 := []*string{} + for _, f33f2iter := range resp.VpcConfig.SubnetIds { + var f33f2elem string + f33f2elem = *f33f2iter + f33f2 = append(f33f2, &f33f2elem) + } + f33.SubnetIDs = f33f2 } if resp.VpcConfig.VpcId != nil { f33.VPCID = resp.VpcConfig.VpcId diff --git a/pkg/controller/opensearchservice/domain/zz_controller.go b/pkg/controller/opensearchservice/domain/zz_controller.go index 7de6d08178..3fcb02e9c0 100644 --- a/pkg/controller/opensearchservice/domain/zz_controller.go +++ b/pkg/controller/opensearchservice/domain/zz_controller.go @@ -350,14 +350,19 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E } else { cr.Status.AtProvider.Endpoint = nil } + if resp.DomainStatus.EndpointV2 != nil { + cr.Status.AtProvider.EndpointV2 = resp.DomainStatus.EndpointV2 + } else { + cr.Status.AtProvider.EndpointV2 = nil + } if resp.DomainStatus.Endpoints != nil { - f16 := map[string]*string{} - for f16key, f16valiter := range resp.DomainStatus.Endpoints { - var f16val string - f16val = *f16valiter - f16[f16key] = &f16val + f17 := map[string]*string{} + for f17key, f17valiter := range resp.DomainStatus.Endpoints { + var f17val string + f17val = *f17valiter + f17[f17key] = &f17val } - cr.Status.AtProvider.Endpoints = f16 + cr.Status.AtProvider.Endpoints = f17 } else { cr.Status.AtProvider.Endpoints = nil } @@ -366,51 +371,56 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E } else { cr.Spec.ForProvider.EngineVersion = nil } + if resp.DomainStatus.IPAddressType != nil { + cr.Spec.ForProvider.IPAddressType = resp.DomainStatus.IPAddressType + } else { + cr.Spec.ForProvider.IPAddressType = nil + } if resp.DomainStatus.LogPublishingOptions != nil { - f18 := map[string]*svcapitypes.LogPublishingOption{} - for f18key, f18valiter := range resp.DomainStatus.LogPublishingOptions { - f18val := &svcapitypes.LogPublishingOption{} - if f18valiter.CloudWatchLogsLogGroupArn != nil { - f18val.CloudWatchLogsLogGroupARN = f18valiter.CloudWatchLogsLogGroupArn + f20 := map[string]*svcapitypes.LogPublishingOption{} + for f20key, f20valiter := range resp.DomainStatus.LogPublishingOptions { + f20val := &svcapitypes.LogPublishingOption{} + if f20valiter.CloudWatchLogsLogGroupArn != nil { + f20val.CloudWatchLogsLogGroupARN = f20valiter.CloudWatchLogsLogGroupArn } - if f18valiter.Enabled != nil { - f18val.Enabled = f18valiter.Enabled + if f20valiter.Enabled != nil { + f20val.Enabled = f20valiter.Enabled } - f18[f18key] = f18val + f20[f20key] = f20val } - cr.Spec.ForProvider.LogPublishingOptions = f18 + cr.Spec.ForProvider.LogPublishingOptions = f20 } else { cr.Spec.ForProvider.LogPublishingOptions = nil } if resp.DomainStatus.NodeToNodeEncryptionOptions != nil { - f19 := &svcapitypes.NodeToNodeEncryptionOptions{} + f21 := &svcapitypes.NodeToNodeEncryptionOptions{} if resp.DomainStatus.NodeToNodeEncryptionOptions.Enabled != nil { - f19.Enabled = resp.DomainStatus.NodeToNodeEncryptionOptions.Enabled + f21.Enabled = resp.DomainStatus.NodeToNodeEncryptionOptions.Enabled } - cr.Spec.ForProvider.NodeToNodeEncryptionOptions = f19 + cr.Spec.ForProvider.NodeToNodeEncryptionOptions = f21 } else { cr.Spec.ForProvider.NodeToNodeEncryptionOptions = nil } if resp.DomainStatus.OffPeakWindowOptions != nil { - f20 := &svcapitypes.OffPeakWindowOptions{} + f22 := &svcapitypes.OffPeakWindowOptions{} if resp.DomainStatus.OffPeakWindowOptions.Enabled != nil { - f20.Enabled = resp.DomainStatus.OffPeakWindowOptions.Enabled + f22.Enabled = resp.DomainStatus.OffPeakWindowOptions.Enabled } if resp.DomainStatus.OffPeakWindowOptions.OffPeakWindow != nil { - f20f1 := &svcapitypes.OffPeakWindow{} + f22f1 := &svcapitypes.OffPeakWindow{} if resp.DomainStatus.OffPeakWindowOptions.OffPeakWindow.WindowStartTime != nil { - f20f1f0 := &svcapitypes.WindowStartTime{} + f22f1f0 := &svcapitypes.WindowStartTime{} if resp.DomainStatus.OffPeakWindowOptions.OffPeakWindow.WindowStartTime.Hours != nil { - f20f1f0.Hours = resp.DomainStatus.OffPeakWindowOptions.OffPeakWindow.WindowStartTime.Hours + f22f1f0.Hours = resp.DomainStatus.OffPeakWindowOptions.OffPeakWindow.WindowStartTime.Hours } if resp.DomainStatus.OffPeakWindowOptions.OffPeakWindow.WindowStartTime.Minutes != nil { - f20f1f0.Minutes = resp.DomainStatus.OffPeakWindowOptions.OffPeakWindow.WindowStartTime.Minutes + f22f1f0.Minutes = resp.DomainStatus.OffPeakWindowOptions.OffPeakWindow.WindowStartTime.Minutes } - f20f1.WindowStartTime = f20f1f0 + f22f1.WindowStartTime = f22f1f0 } - f20.OffPeakWindow = f20f1 + f22.OffPeakWindow = f22f1 } - cr.Spec.ForProvider.OffPeakWindowOptions = f20 + cr.Spec.ForProvider.OffPeakWindowOptions = f22 } else { cr.Spec.ForProvider.OffPeakWindowOptions = nil } @@ -420,50 +430,50 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Status.AtProvider.Processing = nil } if resp.DomainStatus.ServiceSoftwareOptions != nil { - f22 := &svcapitypes.ServiceSoftwareOptions{} + f24 := &svcapitypes.ServiceSoftwareOptions{} if resp.DomainStatus.ServiceSoftwareOptions.AutomatedUpdateDate != nil { - f22.AutomatedUpdateDate = &metav1.Time{*resp.DomainStatus.ServiceSoftwareOptions.AutomatedUpdateDate} + f24.AutomatedUpdateDate = &metav1.Time{*resp.DomainStatus.ServiceSoftwareOptions.AutomatedUpdateDate} } if resp.DomainStatus.ServiceSoftwareOptions.Cancellable != nil { - f22.Cancellable = resp.DomainStatus.ServiceSoftwareOptions.Cancellable + f24.Cancellable = resp.DomainStatus.ServiceSoftwareOptions.Cancellable } if resp.DomainStatus.ServiceSoftwareOptions.CurrentVersion != nil { - f22.CurrentVersion = resp.DomainStatus.ServiceSoftwareOptions.CurrentVersion + f24.CurrentVersion = resp.DomainStatus.ServiceSoftwareOptions.CurrentVersion } if resp.DomainStatus.ServiceSoftwareOptions.Description != nil { - f22.Description = resp.DomainStatus.ServiceSoftwareOptions.Description + f24.Description = resp.DomainStatus.ServiceSoftwareOptions.Description } if resp.DomainStatus.ServiceSoftwareOptions.NewVersion != nil { - f22.NewVersion = resp.DomainStatus.ServiceSoftwareOptions.NewVersion + f24.NewVersion = resp.DomainStatus.ServiceSoftwareOptions.NewVersion } if resp.DomainStatus.ServiceSoftwareOptions.OptionalDeployment != nil { - f22.OptionalDeployment = resp.DomainStatus.ServiceSoftwareOptions.OptionalDeployment + f24.OptionalDeployment = resp.DomainStatus.ServiceSoftwareOptions.OptionalDeployment } if resp.DomainStatus.ServiceSoftwareOptions.UpdateAvailable != nil { - f22.UpdateAvailable = resp.DomainStatus.ServiceSoftwareOptions.UpdateAvailable + f24.UpdateAvailable = resp.DomainStatus.ServiceSoftwareOptions.UpdateAvailable } if resp.DomainStatus.ServiceSoftwareOptions.UpdateStatus != nil { - f22.UpdateStatus = resp.DomainStatus.ServiceSoftwareOptions.UpdateStatus + f24.UpdateStatus = resp.DomainStatus.ServiceSoftwareOptions.UpdateStatus } - cr.Status.AtProvider.ServiceSoftwareOptions = f22 + cr.Status.AtProvider.ServiceSoftwareOptions = f24 } else { cr.Status.AtProvider.ServiceSoftwareOptions = nil } if resp.DomainStatus.SnapshotOptions != nil { - f23 := &svcapitypes.SnapshotOptions{} + f25 := &svcapitypes.SnapshotOptions{} if resp.DomainStatus.SnapshotOptions.AutomatedSnapshotStartHour != nil { - f23.AutomatedSnapshotStartHour = resp.DomainStatus.SnapshotOptions.AutomatedSnapshotStartHour + f25.AutomatedSnapshotStartHour = resp.DomainStatus.SnapshotOptions.AutomatedSnapshotStartHour } - cr.Status.AtProvider.SnapshotOptions = f23 + cr.Status.AtProvider.SnapshotOptions = f25 } else { cr.Status.AtProvider.SnapshotOptions = nil } if resp.DomainStatus.SoftwareUpdateOptions != nil { - f24 := &svcapitypes.SoftwareUpdateOptions{} + f26 := &svcapitypes.SoftwareUpdateOptions{} if resp.DomainStatus.SoftwareUpdateOptions.AutoSoftwareUpdateEnabled != nil { - f24.AutoSoftwareUpdateEnabled = resp.DomainStatus.SoftwareUpdateOptions.AutoSoftwareUpdateEnabled + f26.AutoSoftwareUpdateEnabled = resp.DomainStatus.SoftwareUpdateOptions.AutoSoftwareUpdateEnabled } - cr.Spec.ForProvider.SoftwareUpdateOptions = f24 + cr.Spec.ForProvider.SoftwareUpdateOptions = f26 } else { cr.Spec.ForProvider.SoftwareUpdateOptions = nil } @@ -473,38 +483,38 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Status.AtProvider.UpgradeProcessing = nil } if resp.DomainStatus.VPCOptions != nil { - f26 := &svcapitypes.VPCDerivedInfo{} + f28 := &svcapitypes.VPCDerivedInfo{} if resp.DomainStatus.VPCOptions.AvailabilityZones != nil { - f26f0 := []*string{} - for _, f26f0iter := range resp.DomainStatus.VPCOptions.AvailabilityZones { - var f26f0elem string - f26f0elem = *f26f0iter - f26f0 = append(f26f0, &f26f0elem) + f28f0 := []*string{} + for _, f28f0iter := range resp.DomainStatus.VPCOptions.AvailabilityZones { + var f28f0elem string + f28f0elem = *f28f0iter + f28f0 = append(f28f0, &f28f0elem) } - f26.AvailabilityZones = f26f0 + f28.AvailabilityZones = f28f0 } if resp.DomainStatus.VPCOptions.SecurityGroupIds != nil { - f26f1 := []*string{} - for _, f26f1iter := range resp.DomainStatus.VPCOptions.SecurityGroupIds { - var f26f1elem string - f26f1elem = *f26f1iter - f26f1 = append(f26f1, &f26f1elem) + f28f1 := []*string{} + for _, f28f1iter := range resp.DomainStatus.VPCOptions.SecurityGroupIds { + var f28f1elem string + f28f1elem = *f28f1iter + f28f1 = append(f28f1, &f28f1elem) } - f26.SecurityGroupIDs = f26f1 + f28.SecurityGroupIDs = f28f1 } if resp.DomainStatus.VPCOptions.SubnetIds != nil { - f26f2 := []*string{} - for _, f26f2iter := range resp.DomainStatus.VPCOptions.SubnetIds { - var f26f2elem string - f26f2elem = *f26f2iter - f26f2 = append(f26f2, &f26f2elem) + f28f2 := []*string{} + for _, f28f2iter := range resp.DomainStatus.VPCOptions.SubnetIds { + var f28f2elem string + f28f2elem = *f28f2iter + f28f2 = append(f28f2, &f28f2elem) } - f26.SubnetIDs = f26f2 + f28.SubnetIDs = f28f2 } if resp.DomainStatus.VPCOptions.VPCId != nil { - f26.VPCID = resp.DomainStatus.VPCOptions.VPCId + f28.VPCID = resp.DomainStatus.VPCOptions.VPCId } - cr.Status.AtProvider.VPCOptions = f26 + cr.Status.AtProvider.VPCOptions = f28 } else { cr.Status.AtProvider.VPCOptions = nil } diff --git a/pkg/controller/opensearchservice/domain/zz_conversions.go b/pkg/controller/opensearchservice/domain/zz_conversions.go index 55e3484196..2c86a76e07 100644 --- a/pkg/controller/opensearchservice/domain/zz_conversions.go +++ b/pkg/controller/opensearchservice/domain/zz_conversions.go @@ -271,14 +271,19 @@ func GenerateDomain(resp *svcsdk.DescribeDomainOutput) *svcapitypes.Domain { } else { cr.Status.AtProvider.Endpoint = nil } + if resp.DomainStatus.EndpointV2 != nil { + cr.Status.AtProvider.EndpointV2 = resp.DomainStatus.EndpointV2 + } else { + cr.Status.AtProvider.EndpointV2 = nil + } if resp.DomainStatus.Endpoints != nil { - f16 := map[string]*string{} - for f16key, f16valiter := range resp.DomainStatus.Endpoints { - var f16val string - f16val = *f16valiter - f16[f16key] = &f16val + f17 := map[string]*string{} + for f17key, f17valiter := range resp.DomainStatus.Endpoints { + var f17val string + f17val = *f17valiter + f17[f17key] = &f17val } - cr.Status.AtProvider.Endpoints = f16 + cr.Status.AtProvider.Endpoints = f17 } else { cr.Status.AtProvider.Endpoints = nil } @@ -287,51 +292,56 @@ func GenerateDomain(resp *svcsdk.DescribeDomainOutput) *svcapitypes.Domain { } else { cr.Spec.ForProvider.EngineVersion = nil } + if resp.DomainStatus.IPAddressType != nil { + cr.Spec.ForProvider.IPAddressType = resp.DomainStatus.IPAddressType + } else { + cr.Spec.ForProvider.IPAddressType = nil + } if resp.DomainStatus.LogPublishingOptions != nil { - f18 := map[string]*svcapitypes.LogPublishingOption{} - for f18key, f18valiter := range resp.DomainStatus.LogPublishingOptions { - f18val := &svcapitypes.LogPublishingOption{} - if f18valiter.CloudWatchLogsLogGroupArn != nil { - f18val.CloudWatchLogsLogGroupARN = f18valiter.CloudWatchLogsLogGroupArn + f20 := map[string]*svcapitypes.LogPublishingOption{} + for f20key, f20valiter := range resp.DomainStatus.LogPublishingOptions { + f20val := &svcapitypes.LogPublishingOption{} + if f20valiter.CloudWatchLogsLogGroupArn != nil { + f20val.CloudWatchLogsLogGroupARN = f20valiter.CloudWatchLogsLogGroupArn } - if f18valiter.Enabled != nil { - f18val.Enabled = f18valiter.Enabled + if f20valiter.Enabled != nil { + f20val.Enabled = f20valiter.Enabled } - f18[f18key] = f18val + f20[f20key] = f20val } - cr.Spec.ForProvider.LogPublishingOptions = f18 + cr.Spec.ForProvider.LogPublishingOptions = f20 } else { cr.Spec.ForProvider.LogPublishingOptions = nil } if resp.DomainStatus.NodeToNodeEncryptionOptions != nil { - f19 := &svcapitypes.NodeToNodeEncryptionOptions{} + f21 := &svcapitypes.NodeToNodeEncryptionOptions{} if resp.DomainStatus.NodeToNodeEncryptionOptions.Enabled != nil { - f19.Enabled = resp.DomainStatus.NodeToNodeEncryptionOptions.Enabled + f21.Enabled = resp.DomainStatus.NodeToNodeEncryptionOptions.Enabled } - cr.Spec.ForProvider.NodeToNodeEncryptionOptions = f19 + cr.Spec.ForProvider.NodeToNodeEncryptionOptions = f21 } else { cr.Spec.ForProvider.NodeToNodeEncryptionOptions = nil } if resp.DomainStatus.OffPeakWindowOptions != nil { - f20 := &svcapitypes.OffPeakWindowOptions{} + f22 := &svcapitypes.OffPeakWindowOptions{} if resp.DomainStatus.OffPeakWindowOptions.Enabled != nil { - f20.Enabled = resp.DomainStatus.OffPeakWindowOptions.Enabled + f22.Enabled = resp.DomainStatus.OffPeakWindowOptions.Enabled } if resp.DomainStatus.OffPeakWindowOptions.OffPeakWindow != nil { - f20f1 := &svcapitypes.OffPeakWindow{} + f22f1 := &svcapitypes.OffPeakWindow{} if resp.DomainStatus.OffPeakWindowOptions.OffPeakWindow.WindowStartTime != nil { - f20f1f0 := &svcapitypes.WindowStartTime{} + f22f1f0 := &svcapitypes.WindowStartTime{} if resp.DomainStatus.OffPeakWindowOptions.OffPeakWindow.WindowStartTime.Hours != nil { - f20f1f0.Hours = resp.DomainStatus.OffPeakWindowOptions.OffPeakWindow.WindowStartTime.Hours + f22f1f0.Hours = resp.DomainStatus.OffPeakWindowOptions.OffPeakWindow.WindowStartTime.Hours } if resp.DomainStatus.OffPeakWindowOptions.OffPeakWindow.WindowStartTime.Minutes != nil { - f20f1f0.Minutes = resp.DomainStatus.OffPeakWindowOptions.OffPeakWindow.WindowStartTime.Minutes + f22f1f0.Minutes = resp.DomainStatus.OffPeakWindowOptions.OffPeakWindow.WindowStartTime.Minutes } - f20f1.WindowStartTime = f20f1f0 + f22f1.WindowStartTime = f22f1f0 } - f20.OffPeakWindow = f20f1 + f22.OffPeakWindow = f22f1 } - cr.Spec.ForProvider.OffPeakWindowOptions = f20 + cr.Spec.ForProvider.OffPeakWindowOptions = f22 } else { cr.Spec.ForProvider.OffPeakWindowOptions = nil } @@ -341,50 +351,50 @@ func GenerateDomain(resp *svcsdk.DescribeDomainOutput) *svcapitypes.Domain { cr.Status.AtProvider.Processing = nil } if resp.DomainStatus.ServiceSoftwareOptions != nil { - f22 := &svcapitypes.ServiceSoftwareOptions{} + f24 := &svcapitypes.ServiceSoftwareOptions{} if resp.DomainStatus.ServiceSoftwareOptions.AutomatedUpdateDate != nil { - f22.AutomatedUpdateDate = &metav1.Time{*resp.DomainStatus.ServiceSoftwareOptions.AutomatedUpdateDate} + f24.AutomatedUpdateDate = &metav1.Time{*resp.DomainStatus.ServiceSoftwareOptions.AutomatedUpdateDate} } if resp.DomainStatus.ServiceSoftwareOptions.Cancellable != nil { - f22.Cancellable = resp.DomainStatus.ServiceSoftwareOptions.Cancellable + f24.Cancellable = resp.DomainStatus.ServiceSoftwareOptions.Cancellable } if resp.DomainStatus.ServiceSoftwareOptions.CurrentVersion != nil { - f22.CurrentVersion = resp.DomainStatus.ServiceSoftwareOptions.CurrentVersion + f24.CurrentVersion = resp.DomainStatus.ServiceSoftwareOptions.CurrentVersion } if resp.DomainStatus.ServiceSoftwareOptions.Description != nil { - f22.Description = resp.DomainStatus.ServiceSoftwareOptions.Description + f24.Description = resp.DomainStatus.ServiceSoftwareOptions.Description } if resp.DomainStatus.ServiceSoftwareOptions.NewVersion != nil { - f22.NewVersion = resp.DomainStatus.ServiceSoftwareOptions.NewVersion + f24.NewVersion = resp.DomainStatus.ServiceSoftwareOptions.NewVersion } if resp.DomainStatus.ServiceSoftwareOptions.OptionalDeployment != nil { - f22.OptionalDeployment = resp.DomainStatus.ServiceSoftwareOptions.OptionalDeployment + f24.OptionalDeployment = resp.DomainStatus.ServiceSoftwareOptions.OptionalDeployment } if resp.DomainStatus.ServiceSoftwareOptions.UpdateAvailable != nil { - f22.UpdateAvailable = resp.DomainStatus.ServiceSoftwareOptions.UpdateAvailable + f24.UpdateAvailable = resp.DomainStatus.ServiceSoftwareOptions.UpdateAvailable } if resp.DomainStatus.ServiceSoftwareOptions.UpdateStatus != nil { - f22.UpdateStatus = resp.DomainStatus.ServiceSoftwareOptions.UpdateStatus + f24.UpdateStatus = resp.DomainStatus.ServiceSoftwareOptions.UpdateStatus } - cr.Status.AtProvider.ServiceSoftwareOptions = f22 + cr.Status.AtProvider.ServiceSoftwareOptions = f24 } else { cr.Status.AtProvider.ServiceSoftwareOptions = nil } if resp.DomainStatus.SnapshotOptions != nil { - f23 := &svcapitypes.SnapshotOptions{} + f25 := &svcapitypes.SnapshotOptions{} if resp.DomainStatus.SnapshotOptions.AutomatedSnapshotStartHour != nil { - f23.AutomatedSnapshotStartHour = resp.DomainStatus.SnapshotOptions.AutomatedSnapshotStartHour + f25.AutomatedSnapshotStartHour = resp.DomainStatus.SnapshotOptions.AutomatedSnapshotStartHour } - cr.Status.AtProvider.SnapshotOptions = f23 + cr.Status.AtProvider.SnapshotOptions = f25 } else { cr.Status.AtProvider.SnapshotOptions = nil } if resp.DomainStatus.SoftwareUpdateOptions != nil { - f24 := &svcapitypes.SoftwareUpdateOptions{} + f26 := &svcapitypes.SoftwareUpdateOptions{} if resp.DomainStatus.SoftwareUpdateOptions.AutoSoftwareUpdateEnabled != nil { - f24.AutoSoftwareUpdateEnabled = resp.DomainStatus.SoftwareUpdateOptions.AutoSoftwareUpdateEnabled + f26.AutoSoftwareUpdateEnabled = resp.DomainStatus.SoftwareUpdateOptions.AutoSoftwareUpdateEnabled } - cr.Spec.ForProvider.SoftwareUpdateOptions = f24 + cr.Spec.ForProvider.SoftwareUpdateOptions = f26 } else { cr.Spec.ForProvider.SoftwareUpdateOptions = nil } @@ -394,38 +404,38 @@ func GenerateDomain(resp *svcsdk.DescribeDomainOutput) *svcapitypes.Domain { cr.Status.AtProvider.UpgradeProcessing = nil } if resp.DomainStatus.VPCOptions != nil { - f26 := &svcapitypes.VPCDerivedInfo{} + f28 := &svcapitypes.VPCDerivedInfo{} if resp.DomainStatus.VPCOptions.AvailabilityZones != nil { - f26f0 := []*string{} - for _, f26f0iter := range resp.DomainStatus.VPCOptions.AvailabilityZones { - var f26f0elem string - f26f0elem = *f26f0iter - f26f0 = append(f26f0, &f26f0elem) + f28f0 := []*string{} + for _, f28f0iter := range resp.DomainStatus.VPCOptions.AvailabilityZones { + var f28f0elem string + f28f0elem = *f28f0iter + f28f0 = append(f28f0, &f28f0elem) } - f26.AvailabilityZones = f26f0 + f28.AvailabilityZones = f28f0 } if resp.DomainStatus.VPCOptions.SecurityGroupIds != nil { - f26f1 := []*string{} - for _, f26f1iter := range resp.DomainStatus.VPCOptions.SecurityGroupIds { - var f26f1elem string - f26f1elem = *f26f1iter - f26f1 = append(f26f1, &f26f1elem) + f28f1 := []*string{} + for _, f28f1iter := range resp.DomainStatus.VPCOptions.SecurityGroupIds { + var f28f1elem string + f28f1elem = *f28f1iter + f28f1 = append(f28f1, &f28f1elem) } - f26.SecurityGroupIDs = f26f1 + f28.SecurityGroupIDs = f28f1 } if resp.DomainStatus.VPCOptions.SubnetIds != nil { - f26f2 := []*string{} - for _, f26f2iter := range resp.DomainStatus.VPCOptions.SubnetIds { - var f26f2elem string - f26f2elem = *f26f2iter - f26f2 = append(f26f2, &f26f2elem) + f28f2 := []*string{} + for _, f28f2iter := range resp.DomainStatus.VPCOptions.SubnetIds { + var f28f2elem string + f28f2elem = *f28f2iter + f28f2 = append(f28f2, &f28f2elem) } - f26.SubnetIDs = f26f2 + f28.SubnetIDs = f28f2 } if resp.DomainStatus.VPCOptions.VPCId != nil { - f26.VPCID = resp.DomainStatus.VPCOptions.VPCId + f28.VPCID = resp.DomainStatus.VPCOptions.VPCId } - cr.Status.AtProvider.VPCOptions = f26 + cr.Status.AtProvider.VPCOptions = f28 } else { cr.Status.AtProvider.VPCOptions = nil } @@ -646,68 +656,71 @@ func GenerateCreateDomainInput(cr *svcapitypes.Domain) *svcsdk.CreateDomainInput if cr.Spec.ForProvider.EngineVersion != nil { res.SetEngineVersion(*cr.Spec.ForProvider.EngineVersion) } + if cr.Spec.ForProvider.IPAddressType != nil { + res.SetIPAddressType(*cr.Spec.ForProvider.IPAddressType) + } if cr.Spec.ForProvider.LogPublishingOptions != nil { - f9 := map[string]*svcsdk.LogPublishingOption{} - for f9key, f9valiter := range cr.Spec.ForProvider.LogPublishingOptions { - f9val := &svcsdk.LogPublishingOption{} - if f9valiter.CloudWatchLogsLogGroupARN != nil { - f9val.SetCloudWatchLogsLogGroupArn(*f9valiter.CloudWatchLogsLogGroupARN) + f10 := map[string]*svcsdk.LogPublishingOption{} + for f10key, f10valiter := range cr.Spec.ForProvider.LogPublishingOptions { + f10val := &svcsdk.LogPublishingOption{} + if f10valiter.CloudWatchLogsLogGroupARN != nil { + f10val.SetCloudWatchLogsLogGroupArn(*f10valiter.CloudWatchLogsLogGroupARN) } - if f9valiter.Enabled != nil { - f9val.SetEnabled(*f9valiter.Enabled) + if f10valiter.Enabled != nil { + f10val.SetEnabled(*f10valiter.Enabled) } - f9[f9key] = f9val + f10[f10key] = f10val } - res.SetLogPublishingOptions(f9) + res.SetLogPublishingOptions(f10) } if cr.Spec.ForProvider.NodeToNodeEncryptionOptions != nil { - f10 := &svcsdk.NodeToNodeEncryptionOptions{} + f11 := &svcsdk.NodeToNodeEncryptionOptions{} if cr.Spec.ForProvider.NodeToNodeEncryptionOptions.Enabled != nil { - f10.SetEnabled(*cr.Spec.ForProvider.NodeToNodeEncryptionOptions.Enabled) + f11.SetEnabled(*cr.Spec.ForProvider.NodeToNodeEncryptionOptions.Enabled) } - res.SetNodeToNodeEncryptionOptions(f10) + res.SetNodeToNodeEncryptionOptions(f11) } if cr.Spec.ForProvider.OffPeakWindowOptions != nil { - f11 := &svcsdk.OffPeakWindowOptions{} + f12 := &svcsdk.OffPeakWindowOptions{} if cr.Spec.ForProvider.OffPeakWindowOptions.Enabled != nil { - f11.SetEnabled(*cr.Spec.ForProvider.OffPeakWindowOptions.Enabled) + f12.SetEnabled(*cr.Spec.ForProvider.OffPeakWindowOptions.Enabled) } if cr.Spec.ForProvider.OffPeakWindowOptions.OffPeakWindow != nil { - f11f1 := &svcsdk.OffPeakWindow{} + f12f1 := &svcsdk.OffPeakWindow{} if cr.Spec.ForProvider.OffPeakWindowOptions.OffPeakWindow.WindowStartTime != nil { - f11f1f0 := &svcsdk.WindowStartTime{} + f12f1f0 := &svcsdk.WindowStartTime{} if cr.Spec.ForProvider.OffPeakWindowOptions.OffPeakWindow.WindowStartTime.Hours != nil { - f11f1f0.SetHours(*cr.Spec.ForProvider.OffPeakWindowOptions.OffPeakWindow.WindowStartTime.Hours) + f12f1f0.SetHours(*cr.Spec.ForProvider.OffPeakWindowOptions.OffPeakWindow.WindowStartTime.Hours) } if cr.Spec.ForProvider.OffPeakWindowOptions.OffPeakWindow.WindowStartTime.Minutes != nil { - f11f1f0.SetMinutes(*cr.Spec.ForProvider.OffPeakWindowOptions.OffPeakWindow.WindowStartTime.Minutes) + f12f1f0.SetMinutes(*cr.Spec.ForProvider.OffPeakWindowOptions.OffPeakWindow.WindowStartTime.Minutes) } - f11f1.SetWindowStartTime(f11f1f0) + f12f1.SetWindowStartTime(f12f1f0) } - f11.SetOffPeakWindow(f11f1) + f12.SetOffPeakWindow(f12f1) } - res.SetOffPeakWindowOptions(f11) + res.SetOffPeakWindowOptions(f12) } if cr.Spec.ForProvider.SoftwareUpdateOptions != nil { - f12 := &svcsdk.SoftwareUpdateOptions{} + f13 := &svcsdk.SoftwareUpdateOptions{} if cr.Spec.ForProvider.SoftwareUpdateOptions.AutoSoftwareUpdateEnabled != nil { - f12.SetAutoSoftwareUpdateEnabled(*cr.Spec.ForProvider.SoftwareUpdateOptions.AutoSoftwareUpdateEnabled) + f13.SetAutoSoftwareUpdateEnabled(*cr.Spec.ForProvider.SoftwareUpdateOptions.AutoSoftwareUpdateEnabled) } - res.SetSoftwareUpdateOptions(f12) + res.SetSoftwareUpdateOptions(f13) } if cr.Spec.ForProvider.Tags != nil { - f13 := []*svcsdk.Tag{} - for _, f13iter := range cr.Spec.ForProvider.Tags { - f13elem := &svcsdk.Tag{} - if f13iter.Key != nil { - f13elem.SetKey(*f13iter.Key) + f14 := []*svcsdk.Tag{} + for _, f14iter := range cr.Spec.ForProvider.Tags { + f14elem := &svcsdk.Tag{} + if f14iter.Key != nil { + f14elem.SetKey(*f14iter.Key) } - if f13iter.Value != nil { - f13elem.SetValue(*f13iter.Value) + if f14iter.Value != nil { + f14elem.SetValue(*f14iter.Value) } - f13 = append(f13, f13elem) + f14 = append(f14, f14elem) } - res.SetTagList(f13) + res.SetTagList(f14) } return res diff --git a/pkg/controller/rds/dbcluster/zz_controller.go b/pkg/controller/rds/dbcluster/zz_controller.go index 3982781272..a3bf206d47 100644 --- a/pkg/controller/rds/dbcluster/zz_controller.go +++ b/pkg/controller/rds/dbcluster/zz_controller.go @@ -189,6 +189,11 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E } else { cr.Spec.ForProvider.AvailabilityZones = nil } + if resp.DBCluster.AwsBackupRecoveryPointArn != nil { + cr.Status.AtProvider.AWSBackupRecoveryPointARN = resp.DBCluster.AwsBackupRecoveryPointArn + } else { + cr.Status.AtProvider.AWSBackupRecoveryPointARN = nil + } if resp.DBCluster.BacktrackConsumedChangeRecords != nil { cr.Status.AtProvider.BacktrackConsumedChangeRecords = resp.DBCluster.BacktrackConsumedChangeRecords } else { @@ -235,13 +240,13 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Status.AtProvider.CrossAccountClone = nil } if resp.DBCluster.CustomEndpoints != nil { - f18 := []*string{} - for _, f18iter := range resp.DBCluster.CustomEndpoints { - var f18elem string - f18elem = *f18iter - f18 = append(f18, &f18elem) + f19 := []*string{} + for _, f19iter := range resp.DBCluster.CustomEndpoints { + var f19elem string + f19elem = *f19iter + f19 = append(f19, &f19elem) } - cr.Status.AtProvider.CustomEndpoints = f18 + cr.Status.AtProvider.CustomEndpoints = f19 } else { cr.Status.AtProvider.CustomEndpoints = nil } @@ -261,40 +266,40 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Spec.ForProvider.DBClusterInstanceClass = nil } if resp.DBCluster.DBClusterMembers != nil { - f22 := []*svcapitypes.DBClusterMember{} - for _, f22iter := range resp.DBCluster.DBClusterMembers { - f22elem := &svcapitypes.DBClusterMember{} - if f22iter.DBClusterParameterGroupStatus != nil { - f22elem.DBClusterParameterGroupStatus = f22iter.DBClusterParameterGroupStatus + f23 := []*svcapitypes.DBClusterMember{} + for _, f23iter := range resp.DBCluster.DBClusterMembers { + f23elem := &svcapitypes.DBClusterMember{} + if f23iter.DBClusterParameterGroupStatus != nil { + f23elem.DBClusterParameterGroupStatus = f23iter.DBClusterParameterGroupStatus } - if f22iter.DBInstanceIdentifier != nil { - f22elem.DBInstanceIdentifier = f22iter.DBInstanceIdentifier + if f23iter.DBInstanceIdentifier != nil { + f23elem.DBInstanceIdentifier = f23iter.DBInstanceIdentifier } - if f22iter.IsClusterWriter != nil { - f22elem.IsClusterWriter = f22iter.IsClusterWriter + if f23iter.IsClusterWriter != nil { + f23elem.IsClusterWriter = f23iter.IsClusterWriter } - if f22iter.PromotionTier != nil { - f22elem.PromotionTier = f22iter.PromotionTier + if f23iter.PromotionTier != nil { + f23elem.PromotionTier = f23iter.PromotionTier } - f22 = append(f22, f22elem) + f23 = append(f23, f23elem) } - cr.Status.AtProvider.DBClusterMembers = f22 + cr.Status.AtProvider.DBClusterMembers = f23 } else { cr.Status.AtProvider.DBClusterMembers = nil } if resp.DBCluster.DBClusterOptionGroupMemberships != nil { - f23 := []*svcapitypes.DBClusterOptionGroupStatus{} - for _, f23iter := range resp.DBCluster.DBClusterOptionGroupMemberships { - f23elem := &svcapitypes.DBClusterOptionGroupStatus{} - if f23iter.DBClusterOptionGroupName != nil { - f23elem.DBClusterOptionGroupName = f23iter.DBClusterOptionGroupName + f24 := []*svcapitypes.DBClusterOptionGroupStatus{} + for _, f24iter := range resp.DBCluster.DBClusterOptionGroupMemberships { + f24elem := &svcapitypes.DBClusterOptionGroupStatus{} + if f24iter.DBClusterOptionGroupName != nil { + f24elem.DBClusterOptionGroupName = f24iter.DBClusterOptionGroupName } - if f23iter.Status != nil { - f23elem.Status = f23iter.Status + if f24iter.Status != nil { + f24elem.Status = f24iter.Status } - f23 = append(f23, f23elem) + f24 = append(f24, f24elem) } - cr.Status.AtProvider.DBClusterOptionGroupMemberships = f23 + cr.Status.AtProvider.DBClusterOptionGroupMemberships = f24 } else { cr.Status.AtProvider.DBClusterOptionGroupMemberships = nil } @@ -329,39 +334,39 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Spec.ForProvider.DeletionProtection = nil } if resp.DBCluster.DomainMemberships != nil { - f30 := []*svcapitypes.DomainMembership{} - for _, f30iter := range resp.DBCluster.DomainMemberships { - f30elem := &svcapitypes.DomainMembership{} - if f30iter.AuthSecretArn != nil { - f30elem.AuthSecretARN = f30iter.AuthSecretArn + f31 := []*svcapitypes.DomainMembership{} + for _, f31iter := range resp.DBCluster.DomainMemberships { + f31elem := &svcapitypes.DomainMembership{} + if f31iter.AuthSecretArn != nil { + f31elem.AuthSecretARN = f31iter.AuthSecretArn } - if f30iter.DnsIps != nil { - f30elemf1 := []*string{} - for _, f30elemf1iter := range f30iter.DnsIps { - var f30elemf1elem string - f30elemf1elem = *f30elemf1iter - f30elemf1 = append(f30elemf1, &f30elemf1elem) + if f31iter.DnsIps != nil { + f31elemf1 := []*string{} + for _, f31elemf1iter := range f31iter.DnsIps { + var f31elemf1elem string + f31elemf1elem = *f31elemf1iter + f31elemf1 = append(f31elemf1, &f31elemf1elem) } - f30elem.DNSIPs = f30elemf1 + f31elem.DNSIPs = f31elemf1 } - if f30iter.Domain != nil { - f30elem.Domain = f30iter.Domain + if f31iter.Domain != nil { + f31elem.Domain = f31iter.Domain } - if f30iter.FQDN != nil { - f30elem.FQDN = f30iter.FQDN + if f31iter.FQDN != nil { + f31elem.FQDN = f31iter.FQDN } - if f30iter.IAMRoleName != nil { - f30elem.IAMRoleName = f30iter.IAMRoleName + if f31iter.IAMRoleName != nil { + f31elem.IAMRoleName = f31iter.IAMRoleName } - if f30iter.OU != nil { - f30elem.OU = f30iter.OU + if f31iter.OU != nil { + f31elem.OU = f31iter.OU } - if f30iter.Status != nil { - f30elem.Status = f30iter.Status + if f31iter.Status != nil { + f31elem.Status = f31iter.Status } - f30 = append(f30, f30elem) + f31 = append(f31, f31elem) } - cr.Status.AtProvider.DomainMemberships = f30 + cr.Status.AtProvider.DomainMemberships = f31 } else { cr.Status.AtProvider.DomainMemberships = nil } @@ -376,13 +381,13 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Status.AtProvider.EarliestRestorableTime = nil } if resp.DBCluster.EnabledCloudwatchLogsExports != nil { - f33 := []*string{} - for _, f33iter := range resp.DBCluster.EnabledCloudwatchLogsExports { - var f33elem string - f33elem = *f33iter - f33 = append(f33, &f33elem) + f34 := []*string{} + for _, f34iter := range resp.DBCluster.EnabledCloudwatchLogsExports { + var f34elem string + f34elem = *f34iter + f34 = append(f34, &f34elem) } - cr.Status.AtProvider.EnabledCloudwatchLogsExports = f33 + cr.Status.AtProvider.EnabledCloudwatchLogsExports = f34 } else { cr.Status.AtProvider.EnabledCloudwatchLogsExports = nil } @@ -457,17 +462,17 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Status.AtProvider.LocalWriteForwardingStatus = nil } if resp.DBCluster.MasterUserSecret != nil { - f48 := &svcapitypes.MasterUserSecret{} + f49 := &svcapitypes.MasterUserSecret{} if resp.DBCluster.MasterUserSecret.KmsKeyId != nil { - f48.KMSKeyID = resp.DBCluster.MasterUserSecret.KmsKeyId + f49.KMSKeyID = resp.DBCluster.MasterUserSecret.KmsKeyId } if resp.DBCluster.MasterUserSecret.SecretArn != nil { - f48.SecretARN = resp.DBCluster.MasterUserSecret.SecretArn + f49.SecretARN = resp.DBCluster.MasterUserSecret.SecretArn } if resp.DBCluster.MasterUserSecret.SecretStatus != nil { - f48.SecretStatus = resp.DBCluster.MasterUserSecret.SecretStatus + f49.SecretStatus = resp.DBCluster.MasterUserSecret.SecretStatus } - cr.Status.AtProvider.MasterUserSecret = f48 + cr.Status.AtProvider.MasterUserSecret = f49 } else { cr.Status.AtProvider.MasterUserSecret = nil } @@ -536,14 +541,26 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E } else { cr.Spec.ForProvider.PubliclyAccessible = nil } + if resp.DBCluster.RdsCustomClusterConfiguration != nil { + f63 := &svcapitypes.RdsCustomClusterConfiguration{} + if resp.DBCluster.RdsCustomClusterConfiguration.InterconnectSubnetId != nil { + f63.InterconnectSubnetID = resp.DBCluster.RdsCustomClusterConfiguration.InterconnectSubnetId + } + if resp.DBCluster.RdsCustomClusterConfiguration.TransitGatewayMulticastDomainId != nil { + f63.TransitGatewayMulticastDomainID = resp.DBCluster.RdsCustomClusterConfiguration.TransitGatewayMulticastDomainId + } + cr.Spec.ForProvider.RdsCustomClusterConfiguration = f63 + } else { + cr.Spec.ForProvider.RdsCustomClusterConfiguration = nil + } if resp.DBCluster.ReadReplicaIdentifiers != nil { - f62 := []*string{} - for _, f62iter := range resp.DBCluster.ReadReplicaIdentifiers { - var f62elem string - f62elem = *f62iter - f62 = append(f62, &f62elem) + f64 := []*string{} + for _, f64iter := range resp.DBCluster.ReadReplicaIdentifiers { + var f64elem string + f64elem = *f64iter + f64 = append(f64, &f64elem) } - cr.Status.AtProvider.ReadReplicaIdentifiers = f62 + cr.Status.AtProvider.ReadReplicaIdentifiers = f64 } else { cr.Status.AtProvider.ReadReplicaIdentifiers = nil } @@ -558,38 +575,38 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Spec.ForProvider.ReplicationSourceIdentifier = nil } if resp.DBCluster.ScalingConfigurationInfo != nil { - f65 := &svcapitypes.ScalingConfigurationInfo{} + f67 := &svcapitypes.ScalingConfigurationInfo{} if resp.DBCluster.ScalingConfigurationInfo.AutoPause != nil { - f65.AutoPause = resp.DBCluster.ScalingConfigurationInfo.AutoPause + f67.AutoPause = resp.DBCluster.ScalingConfigurationInfo.AutoPause } if resp.DBCluster.ScalingConfigurationInfo.MaxCapacity != nil { - f65.MaxCapacity = resp.DBCluster.ScalingConfigurationInfo.MaxCapacity + f67.MaxCapacity = resp.DBCluster.ScalingConfigurationInfo.MaxCapacity } if resp.DBCluster.ScalingConfigurationInfo.MinCapacity != nil { - f65.MinCapacity = resp.DBCluster.ScalingConfigurationInfo.MinCapacity + f67.MinCapacity = resp.DBCluster.ScalingConfigurationInfo.MinCapacity } if resp.DBCluster.ScalingConfigurationInfo.SecondsBeforeTimeout != nil { - f65.SecondsBeforeTimeout = resp.DBCluster.ScalingConfigurationInfo.SecondsBeforeTimeout + f67.SecondsBeforeTimeout = resp.DBCluster.ScalingConfigurationInfo.SecondsBeforeTimeout } if resp.DBCluster.ScalingConfigurationInfo.SecondsUntilAutoPause != nil { - f65.SecondsUntilAutoPause = resp.DBCluster.ScalingConfigurationInfo.SecondsUntilAutoPause + f67.SecondsUntilAutoPause = resp.DBCluster.ScalingConfigurationInfo.SecondsUntilAutoPause } if resp.DBCluster.ScalingConfigurationInfo.TimeoutAction != nil { - f65.TimeoutAction = resp.DBCluster.ScalingConfigurationInfo.TimeoutAction + f67.TimeoutAction = resp.DBCluster.ScalingConfigurationInfo.TimeoutAction } - cr.Status.AtProvider.ScalingConfigurationInfo = f65 + cr.Status.AtProvider.ScalingConfigurationInfo = f67 } else { cr.Status.AtProvider.ScalingConfigurationInfo = nil } if resp.DBCluster.ServerlessV2ScalingConfiguration != nil { - f66 := &svcapitypes.ServerlessV2ScalingConfiguration{} + f68 := &svcapitypes.ServerlessV2ScalingConfiguration{} if resp.DBCluster.ServerlessV2ScalingConfiguration.MaxCapacity != nil { - f66.MaxCapacity = resp.DBCluster.ServerlessV2ScalingConfiguration.MaxCapacity + f68.MaxCapacity = resp.DBCluster.ServerlessV2ScalingConfiguration.MaxCapacity } if resp.DBCluster.ServerlessV2ScalingConfiguration.MinCapacity != nil { - f66.MinCapacity = resp.DBCluster.ServerlessV2ScalingConfiguration.MinCapacity + f68.MinCapacity = resp.DBCluster.ServerlessV2ScalingConfiguration.MinCapacity } - cr.Spec.ForProvider.ServerlessV2ScalingConfiguration = f66 + cr.Spec.ForProvider.ServerlessV2ScalingConfiguration = f68 } else { cr.Spec.ForProvider.ServerlessV2ScalingConfiguration = nil } @@ -609,34 +626,34 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Spec.ForProvider.StorageType = nil } if resp.DBCluster.TagList != nil { - f70 := []*svcapitypes.Tag{} - for _, f70iter := range resp.DBCluster.TagList { - f70elem := &svcapitypes.Tag{} - if f70iter.Key != nil { - f70elem.Key = f70iter.Key + f72 := []*svcapitypes.Tag{} + for _, f72iter := range resp.DBCluster.TagList { + f72elem := &svcapitypes.Tag{} + if f72iter.Key != nil { + f72elem.Key = f72iter.Key } - if f70iter.Value != nil { - f70elem.Value = f70iter.Value + if f72iter.Value != nil { + f72elem.Value = f72iter.Value } - f70 = append(f70, f70elem) + f72 = append(f72, f72elem) } - cr.Status.AtProvider.TagList = f70 + cr.Status.AtProvider.TagList = f72 } else { cr.Status.AtProvider.TagList = nil } if resp.DBCluster.VpcSecurityGroups != nil { - f71 := []*svcapitypes.VPCSecurityGroupMembership{} - for _, f71iter := range resp.DBCluster.VpcSecurityGroups { - f71elem := &svcapitypes.VPCSecurityGroupMembership{} - if f71iter.Status != nil { - f71elem.Status = f71iter.Status + f73 := []*svcapitypes.VPCSecurityGroupMembership{} + for _, f73iter := range resp.DBCluster.VpcSecurityGroups { + f73elem := &svcapitypes.VPCSecurityGroupMembership{} + if f73iter.Status != nil { + f73elem.Status = f73iter.Status } - if f71iter.VpcSecurityGroupId != nil { - f71elem.VPCSecurityGroupID = f71iter.VpcSecurityGroupId + if f73iter.VpcSecurityGroupId != nil { + f73elem.VPCSecurityGroupID = f73iter.VpcSecurityGroupId } - f71 = append(f71, f71elem) + f73 = append(f73, f73elem) } - cr.Status.AtProvider.VPCSecurityGroups = f71 + cr.Status.AtProvider.VPCSecurityGroups = f73 } else { cr.Status.AtProvider.VPCSecurityGroups = nil } diff --git a/pkg/controller/rds/dbcluster/zz_conversions.go b/pkg/controller/rds/dbcluster/zz_conversions.go index 6893dba0ee..106789e893 100644 --- a/pkg/controller/rds/dbcluster/zz_conversions.go +++ b/pkg/controller/rds/dbcluster/zz_conversions.go @@ -108,6 +108,11 @@ func GenerateDBCluster(resp *svcsdk.DescribeDBClustersOutput) *svcapitypes.DBClu } else { cr.Spec.ForProvider.AvailabilityZones = nil } + if elem.AwsBackupRecoveryPointArn != nil { + cr.Status.AtProvider.AWSBackupRecoveryPointARN = elem.AwsBackupRecoveryPointArn + } else { + cr.Status.AtProvider.AWSBackupRecoveryPointARN = nil + } if elem.BacktrackConsumedChangeRecords != nil { cr.Status.AtProvider.BacktrackConsumedChangeRecords = elem.BacktrackConsumedChangeRecords } else { @@ -154,13 +159,13 @@ func GenerateDBCluster(resp *svcsdk.DescribeDBClustersOutput) *svcapitypes.DBClu cr.Status.AtProvider.CrossAccountClone = nil } if elem.CustomEndpoints != nil { - f18 := []*string{} - for _, f18iter := range elem.CustomEndpoints { - var f18elem string - f18elem = *f18iter - f18 = append(f18, &f18elem) + f19 := []*string{} + for _, f19iter := range elem.CustomEndpoints { + var f19elem string + f19elem = *f19iter + f19 = append(f19, &f19elem) } - cr.Status.AtProvider.CustomEndpoints = f18 + cr.Status.AtProvider.CustomEndpoints = f19 } else { cr.Status.AtProvider.CustomEndpoints = nil } @@ -180,40 +185,40 @@ func GenerateDBCluster(resp *svcsdk.DescribeDBClustersOutput) *svcapitypes.DBClu cr.Spec.ForProvider.DBClusterInstanceClass = nil } if elem.DBClusterMembers != nil { - f22 := []*svcapitypes.DBClusterMember{} - for _, f22iter := range elem.DBClusterMembers { - f22elem := &svcapitypes.DBClusterMember{} - if f22iter.DBClusterParameterGroupStatus != nil { - f22elem.DBClusterParameterGroupStatus = f22iter.DBClusterParameterGroupStatus + f23 := []*svcapitypes.DBClusterMember{} + for _, f23iter := range elem.DBClusterMembers { + f23elem := &svcapitypes.DBClusterMember{} + if f23iter.DBClusterParameterGroupStatus != nil { + f23elem.DBClusterParameterGroupStatus = f23iter.DBClusterParameterGroupStatus } - if f22iter.DBInstanceIdentifier != nil { - f22elem.DBInstanceIdentifier = f22iter.DBInstanceIdentifier + if f23iter.DBInstanceIdentifier != nil { + f23elem.DBInstanceIdentifier = f23iter.DBInstanceIdentifier } - if f22iter.IsClusterWriter != nil { - f22elem.IsClusterWriter = f22iter.IsClusterWriter + if f23iter.IsClusterWriter != nil { + f23elem.IsClusterWriter = f23iter.IsClusterWriter } - if f22iter.PromotionTier != nil { - f22elem.PromotionTier = f22iter.PromotionTier + if f23iter.PromotionTier != nil { + f23elem.PromotionTier = f23iter.PromotionTier } - f22 = append(f22, f22elem) + f23 = append(f23, f23elem) } - cr.Status.AtProvider.DBClusterMembers = f22 + cr.Status.AtProvider.DBClusterMembers = f23 } else { cr.Status.AtProvider.DBClusterMembers = nil } if elem.DBClusterOptionGroupMemberships != nil { - f23 := []*svcapitypes.DBClusterOptionGroupStatus{} - for _, f23iter := range elem.DBClusterOptionGroupMemberships { - f23elem := &svcapitypes.DBClusterOptionGroupStatus{} - if f23iter.DBClusterOptionGroupName != nil { - f23elem.DBClusterOptionGroupName = f23iter.DBClusterOptionGroupName + f24 := []*svcapitypes.DBClusterOptionGroupStatus{} + for _, f24iter := range elem.DBClusterOptionGroupMemberships { + f24elem := &svcapitypes.DBClusterOptionGroupStatus{} + if f24iter.DBClusterOptionGroupName != nil { + f24elem.DBClusterOptionGroupName = f24iter.DBClusterOptionGroupName } - if f23iter.Status != nil { - f23elem.Status = f23iter.Status + if f24iter.Status != nil { + f24elem.Status = f24iter.Status } - f23 = append(f23, f23elem) + f24 = append(f24, f24elem) } - cr.Status.AtProvider.DBClusterOptionGroupMemberships = f23 + cr.Status.AtProvider.DBClusterOptionGroupMemberships = f24 } else { cr.Status.AtProvider.DBClusterOptionGroupMemberships = nil } @@ -248,39 +253,39 @@ func GenerateDBCluster(resp *svcsdk.DescribeDBClustersOutput) *svcapitypes.DBClu cr.Spec.ForProvider.DeletionProtection = nil } if elem.DomainMemberships != nil { - f30 := []*svcapitypes.DomainMembership{} - for _, f30iter := range elem.DomainMemberships { - f30elem := &svcapitypes.DomainMembership{} - if f30iter.AuthSecretArn != nil { - f30elem.AuthSecretARN = f30iter.AuthSecretArn + f31 := []*svcapitypes.DomainMembership{} + for _, f31iter := range elem.DomainMemberships { + f31elem := &svcapitypes.DomainMembership{} + if f31iter.AuthSecretArn != nil { + f31elem.AuthSecretARN = f31iter.AuthSecretArn } - if f30iter.DnsIps != nil { - f30elemf1 := []*string{} - for _, f30elemf1iter := range f30iter.DnsIps { - var f30elemf1elem string - f30elemf1elem = *f30elemf1iter - f30elemf1 = append(f30elemf1, &f30elemf1elem) + if f31iter.DnsIps != nil { + f31elemf1 := []*string{} + for _, f31elemf1iter := range f31iter.DnsIps { + var f31elemf1elem string + f31elemf1elem = *f31elemf1iter + f31elemf1 = append(f31elemf1, &f31elemf1elem) } - f30elem.DNSIPs = f30elemf1 + f31elem.DNSIPs = f31elemf1 } - if f30iter.Domain != nil { - f30elem.Domain = f30iter.Domain + if f31iter.Domain != nil { + f31elem.Domain = f31iter.Domain } - if f30iter.FQDN != nil { - f30elem.FQDN = f30iter.FQDN + if f31iter.FQDN != nil { + f31elem.FQDN = f31iter.FQDN } - if f30iter.IAMRoleName != nil { - f30elem.IAMRoleName = f30iter.IAMRoleName + if f31iter.IAMRoleName != nil { + f31elem.IAMRoleName = f31iter.IAMRoleName } - if f30iter.OU != nil { - f30elem.OU = f30iter.OU + if f31iter.OU != nil { + f31elem.OU = f31iter.OU } - if f30iter.Status != nil { - f30elem.Status = f30iter.Status + if f31iter.Status != nil { + f31elem.Status = f31iter.Status } - f30 = append(f30, f30elem) + f31 = append(f31, f31elem) } - cr.Status.AtProvider.DomainMemberships = f30 + cr.Status.AtProvider.DomainMemberships = f31 } else { cr.Status.AtProvider.DomainMemberships = nil } @@ -295,13 +300,13 @@ func GenerateDBCluster(resp *svcsdk.DescribeDBClustersOutput) *svcapitypes.DBClu cr.Status.AtProvider.EarliestRestorableTime = nil } if elem.EnabledCloudwatchLogsExports != nil { - f33 := []*string{} - for _, f33iter := range elem.EnabledCloudwatchLogsExports { - var f33elem string - f33elem = *f33iter - f33 = append(f33, &f33elem) + f34 := []*string{} + for _, f34iter := range elem.EnabledCloudwatchLogsExports { + var f34elem string + f34elem = *f34iter + f34 = append(f34, &f34elem) } - cr.Status.AtProvider.EnabledCloudwatchLogsExports = f33 + cr.Status.AtProvider.EnabledCloudwatchLogsExports = f34 } else { cr.Status.AtProvider.EnabledCloudwatchLogsExports = nil } @@ -376,17 +381,17 @@ func GenerateDBCluster(resp *svcsdk.DescribeDBClustersOutput) *svcapitypes.DBClu cr.Status.AtProvider.LocalWriteForwardingStatus = nil } if elem.MasterUserSecret != nil { - f48 := &svcapitypes.MasterUserSecret{} + f49 := &svcapitypes.MasterUserSecret{} if elem.MasterUserSecret.KmsKeyId != nil { - f48.KMSKeyID = elem.MasterUserSecret.KmsKeyId + f49.KMSKeyID = elem.MasterUserSecret.KmsKeyId } if elem.MasterUserSecret.SecretArn != nil { - f48.SecretARN = elem.MasterUserSecret.SecretArn + f49.SecretARN = elem.MasterUserSecret.SecretArn } if elem.MasterUserSecret.SecretStatus != nil { - f48.SecretStatus = elem.MasterUserSecret.SecretStatus + f49.SecretStatus = elem.MasterUserSecret.SecretStatus } - cr.Status.AtProvider.MasterUserSecret = f48 + cr.Status.AtProvider.MasterUserSecret = f49 } else { cr.Status.AtProvider.MasterUserSecret = nil } @@ -455,14 +460,26 @@ func GenerateDBCluster(resp *svcsdk.DescribeDBClustersOutput) *svcapitypes.DBClu } else { cr.Spec.ForProvider.PubliclyAccessible = nil } + if elem.RdsCustomClusterConfiguration != nil { + f63 := &svcapitypes.RdsCustomClusterConfiguration{} + if elem.RdsCustomClusterConfiguration.InterconnectSubnetId != nil { + f63.InterconnectSubnetID = elem.RdsCustomClusterConfiguration.InterconnectSubnetId + } + if elem.RdsCustomClusterConfiguration.TransitGatewayMulticastDomainId != nil { + f63.TransitGatewayMulticastDomainID = elem.RdsCustomClusterConfiguration.TransitGatewayMulticastDomainId + } + cr.Spec.ForProvider.RdsCustomClusterConfiguration = f63 + } else { + cr.Spec.ForProvider.RdsCustomClusterConfiguration = nil + } if elem.ReadReplicaIdentifiers != nil { - f62 := []*string{} - for _, f62iter := range elem.ReadReplicaIdentifiers { - var f62elem string - f62elem = *f62iter - f62 = append(f62, &f62elem) + f64 := []*string{} + for _, f64iter := range elem.ReadReplicaIdentifiers { + var f64elem string + f64elem = *f64iter + f64 = append(f64, &f64elem) } - cr.Status.AtProvider.ReadReplicaIdentifiers = f62 + cr.Status.AtProvider.ReadReplicaIdentifiers = f64 } else { cr.Status.AtProvider.ReadReplicaIdentifiers = nil } @@ -477,38 +494,38 @@ func GenerateDBCluster(resp *svcsdk.DescribeDBClustersOutput) *svcapitypes.DBClu cr.Spec.ForProvider.ReplicationSourceIdentifier = nil } if elem.ScalingConfigurationInfo != nil { - f65 := &svcapitypes.ScalingConfigurationInfo{} + f67 := &svcapitypes.ScalingConfigurationInfo{} if elem.ScalingConfigurationInfo.AutoPause != nil { - f65.AutoPause = elem.ScalingConfigurationInfo.AutoPause + f67.AutoPause = elem.ScalingConfigurationInfo.AutoPause } if elem.ScalingConfigurationInfo.MaxCapacity != nil { - f65.MaxCapacity = elem.ScalingConfigurationInfo.MaxCapacity + f67.MaxCapacity = elem.ScalingConfigurationInfo.MaxCapacity } if elem.ScalingConfigurationInfo.MinCapacity != nil { - f65.MinCapacity = elem.ScalingConfigurationInfo.MinCapacity + f67.MinCapacity = elem.ScalingConfigurationInfo.MinCapacity } if elem.ScalingConfigurationInfo.SecondsBeforeTimeout != nil { - f65.SecondsBeforeTimeout = elem.ScalingConfigurationInfo.SecondsBeforeTimeout + f67.SecondsBeforeTimeout = elem.ScalingConfigurationInfo.SecondsBeforeTimeout } if elem.ScalingConfigurationInfo.SecondsUntilAutoPause != nil { - f65.SecondsUntilAutoPause = elem.ScalingConfigurationInfo.SecondsUntilAutoPause + f67.SecondsUntilAutoPause = elem.ScalingConfigurationInfo.SecondsUntilAutoPause } if elem.ScalingConfigurationInfo.TimeoutAction != nil { - f65.TimeoutAction = elem.ScalingConfigurationInfo.TimeoutAction + f67.TimeoutAction = elem.ScalingConfigurationInfo.TimeoutAction } - cr.Status.AtProvider.ScalingConfigurationInfo = f65 + cr.Status.AtProvider.ScalingConfigurationInfo = f67 } else { cr.Status.AtProvider.ScalingConfigurationInfo = nil } if elem.ServerlessV2ScalingConfiguration != nil { - f66 := &svcapitypes.ServerlessV2ScalingConfiguration{} + f68 := &svcapitypes.ServerlessV2ScalingConfiguration{} if elem.ServerlessV2ScalingConfiguration.MaxCapacity != nil { - f66.MaxCapacity = elem.ServerlessV2ScalingConfiguration.MaxCapacity + f68.MaxCapacity = elem.ServerlessV2ScalingConfiguration.MaxCapacity } if elem.ServerlessV2ScalingConfiguration.MinCapacity != nil { - f66.MinCapacity = elem.ServerlessV2ScalingConfiguration.MinCapacity + f68.MinCapacity = elem.ServerlessV2ScalingConfiguration.MinCapacity } - cr.Spec.ForProvider.ServerlessV2ScalingConfiguration = f66 + cr.Spec.ForProvider.ServerlessV2ScalingConfiguration = f68 } else { cr.Spec.ForProvider.ServerlessV2ScalingConfiguration = nil } @@ -528,34 +545,34 @@ func GenerateDBCluster(resp *svcsdk.DescribeDBClustersOutput) *svcapitypes.DBClu cr.Spec.ForProvider.StorageType = nil } if elem.TagList != nil { - f70 := []*svcapitypes.Tag{} - for _, f70iter := range elem.TagList { - f70elem := &svcapitypes.Tag{} - if f70iter.Key != nil { - f70elem.Key = f70iter.Key + f72 := []*svcapitypes.Tag{} + for _, f72iter := range elem.TagList { + f72elem := &svcapitypes.Tag{} + if f72iter.Key != nil { + f72elem.Key = f72iter.Key } - if f70iter.Value != nil { - f70elem.Value = f70iter.Value + if f72iter.Value != nil { + f72elem.Value = f72iter.Value } - f70 = append(f70, f70elem) + f72 = append(f72, f72elem) } - cr.Status.AtProvider.TagList = f70 + cr.Status.AtProvider.TagList = f72 } else { cr.Status.AtProvider.TagList = nil } if elem.VpcSecurityGroups != nil { - f71 := []*svcapitypes.VPCSecurityGroupMembership{} - for _, f71iter := range elem.VpcSecurityGroups { - f71elem := &svcapitypes.VPCSecurityGroupMembership{} - if f71iter.Status != nil { - f71elem.Status = f71iter.Status + f73 := []*svcapitypes.VPCSecurityGroupMembership{} + for _, f73iter := range elem.VpcSecurityGroups { + f73elem := &svcapitypes.VPCSecurityGroupMembership{} + if f73iter.Status != nil { + f73elem.Status = f73iter.Status } - if f71iter.VpcSecurityGroupId != nil { - f71elem.VPCSecurityGroupID = f71iter.VpcSecurityGroupId + if f73iter.VpcSecurityGroupId != nil { + f73elem.VPCSecurityGroupID = f73iter.VpcSecurityGroupId } - f71 = append(f71, f71elem) + f73 = append(f73, f73elem) } - cr.Status.AtProvider.VPCSecurityGroups = f71 + cr.Status.AtProvider.VPCSecurityGroups = f73 } else { cr.Status.AtProvider.VPCSecurityGroups = nil } @@ -708,40 +725,50 @@ func GenerateCreateDBClusterInput(cr *svcapitypes.DBCluster) *svcsdk.CreateDBClu if cr.Spec.ForProvider.PubliclyAccessible != nil { res.SetPubliclyAccessible(*cr.Spec.ForProvider.PubliclyAccessible) } + if cr.Spec.ForProvider.RdsCustomClusterConfiguration != nil { + f41 := &svcsdk.RdsCustomClusterConfiguration{} + if cr.Spec.ForProvider.RdsCustomClusterConfiguration.InterconnectSubnetID != nil { + f41.SetInterconnectSubnetId(*cr.Spec.ForProvider.RdsCustomClusterConfiguration.InterconnectSubnetID) + } + if cr.Spec.ForProvider.RdsCustomClusterConfiguration.TransitGatewayMulticastDomainID != nil { + f41.SetTransitGatewayMulticastDomainId(*cr.Spec.ForProvider.RdsCustomClusterConfiguration.TransitGatewayMulticastDomainID) + } + res.SetRdsCustomClusterConfiguration(f41) + } if cr.Spec.ForProvider.ReplicationSourceIdentifier != nil { res.SetReplicationSourceIdentifier(*cr.Spec.ForProvider.ReplicationSourceIdentifier) } if cr.Spec.ForProvider.ScalingConfiguration != nil { - f42 := &svcsdk.ScalingConfiguration{} + f43 := &svcsdk.ScalingConfiguration{} if cr.Spec.ForProvider.ScalingConfiguration.AutoPause != nil { - f42.SetAutoPause(*cr.Spec.ForProvider.ScalingConfiguration.AutoPause) + f43.SetAutoPause(*cr.Spec.ForProvider.ScalingConfiguration.AutoPause) } if cr.Spec.ForProvider.ScalingConfiguration.MaxCapacity != nil { - f42.SetMaxCapacity(*cr.Spec.ForProvider.ScalingConfiguration.MaxCapacity) + f43.SetMaxCapacity(*cr.Spec.ForProvider.ScalingConfiguration.MaxCapacity) } if cr.Spec.ForProvider.ScalingConfiguration.MinCapacity != nil { - f42.SetMinCapacity(*cr.Spec.ForProvider.ScalingConfiguration.MinCapacity) + f43.SetMinCapacity(*cr.Spec.ForProvider.ScalingConfiguration.MinCapacity) } if cr.Spec.ForProvider.ScalingConfiguration.SecondsBeforeTimeout != nil { - f42.SetSecondsBeforeTimeout(*cr.Spec.ForProvider.ScalingConfiguration.SecondsBeforeTimeout) + f43.SetSecondsBeforeTimeout(*cr.Spec.ForProvider.ScalingConfiguration.SecondsBeforeTimeout) } if cr.Spec.ForProvider.ScalingConfiguration.SecondsUntilAutoPause != nil { - f42.SetSecondsUntilAutoPause(*cr.Spec.ForProvider.ScalingConfiguration.SecondsUntilAutoPause) + f43.SetSecondsUntilAutoPause(*cr.Spec.ForProvider.ScalingConfiguration.SecondsUntilAutoPause) } if cr.Spec.ForProvider.ScalingConfiguration.TimeoutAction != nil { - f42.SetTimeoutAction(*cr.Spec.ForProvider.ScalingConfiguration.TimeoutAction) + f43.SetTimeoutAction(*cr.Spec.ForProvider.ScalingConfiguration.TimeoutAction) } - res.SetScalingConfiguration(f42) + res.SetScalingConfiguration(f43) } if cr.Spec.ForProvider.ServerlessV2ScalingConfiguration != nil { - f43 := &svcsdk.ServerlessV2ScalingConfiguration{} + f44 := &svcsdk.ServerlessV2ScalingConfiguration{} if cr.Spec.ForProvider.ServerlessV2ScalingConfiguration.MaxCapacity != nil { - f43.SetMaxCapacity(*cr.Spec.ForProvider.ServerlessV2ScalingConfiguration.MaxCapacity) + f44.SetMaxCapacity(*cr.Spec.ForProvider.ServerlessV2ScalingConfiguration.MaxCapacity) } if cr.Spec.ForProvider.ServerlessV2ScalingConfiguration.MinCapacity != nil { - f43.SetMinCapacity(*cr.Spec.ForProvider.ServerlessV2ScalingConfiguration.MinCapacity) + f44.SetMinCapacity(*cr.Spec.ForProvider.ServerlessV2ScalingConfiguration.MinCapacity) } - res.SetServerlessV2ScalingConfiguration(f43) + res.SetServerlessV2ScalingConfiguration(f44) } if cr.Spec.ForProvider.SourceRegion != nil { res.SetSourceRegion(*cr.Spec.ForProvider.SourceRegion) @@ -753,18 +780,18 @@ func GenerateCreateDBClusterInput(cr *svcapitypes.DBCluster) *svcsdk.CreateDBClu res.SetStorageType(*cr.Spec.ForProvider.StorageType) } if cr.Spec.ForProvider.Tags != nil { - f47 := []*svcsdk.Tag{} - for _, f47iter := range cr.Spec.ForProvider.Tags { - f47elem := &svcsdk.Tag{} - if f47iter.Key != nil { - f47elem.SetKey(*f47iter.Key) + f48 := []*svcsdk.Tag{} + for _, f48iter := range cr.Spec.ForProvider.Tags { + f48elem := &svcsdk.Tag{} + if f48iter.Key != nil { + f48elem.SetKey(*f48iter.Key) } - if f47iter.Value != nil { - f47elem.SetValue(*f47iter.Value) + if f48iter.Value != nil { + f48elem.SetValue(*f48iter.Value) } - f47 = append(f47, f47elem) + f48 = append(f48, f48elem) } - res.SetTags(f47) + res.SetTags(f48) } return res @@ -783,6 +810,9 @@ func GenerateModifyDBClusterInput(cr *svcapitypes.DBCluster) *svcsdk.ModifyDBClu if cr.Spec.ForProvider.AutoMinorVersionUpgrade != nil { res.SetAutoMinorVersionUpgrade(*cr.Spec.ForProvider.AutoMinorVersionUpgrade) } + if cr.Status.AtProvider.AWSBackupRecoveryPointARN != nil { + res.SetAwsBackupRecoveryPointArn(*cr.Status.AtProvider.AWSBackupRecoveryPointARN) + } if cr.Spec.ForProvider.BacktrackWindow != nil { res.SetBacktrackWindow(*cr.Spec.ForProvider.BacktrackWindow) } @@ -862,36 +892,36 @@ func GenerateModifyDBClusterInput(cr *svcapitypes.DBCluster) *svcsdk.ModifyDBClu res.SetPreferredMaintenanceWindow(*cr.Spec.ForProvider.PreferredMaintenanceWindow) } if cr.Spec.ForProvider.ScalingConfiguration != nil { - f35 := &svcsdk.ScalingConfiguration{} + f36 := &svcsdk.ScalingConfiguration{} if cr.Spec.ForProvider.ScalingConfiguration.AutoPause != nil { - f35.SetAutoPause(*cr.Spec.ForProvider.ScalingConfiguration.AutoPause) + f36.SetAutoPause(*cr.Spec.ForProvider.ScalingConfiguration.AutoPause) } if cr.Spec.ForProvider.ScalingConfiguration.MaxCapacity != nil { - f35.SetMaxCapacity(*cr.Spec.ForProvider.ScalingConfiguration.MaxCapacity) + f36.SetMaxCapacity(*cr.Spec.ForProvider.ScalingConfiguration.MaxCapacity) } if cr.Spec.ForProvider.ScalingConfiguration.MinCapacity != nil { - f35.SetMinCapacity(*cr.Spec.ForProvider.ScalingConfiguration.MinCapacity) + f36.SetMinCapacity(*cr.Spec.ForProvider.ScalingConfiguration.MinCapacity) } if cr.Spec.ForProvider.ScalingConfiguration.SecondsBeforeTimeout != nil { - f35.SetSecondsBeforeTimeout(*cr.Spec.ForProvider.ScalingConfiguration.SecondsBeforeTimeout) + f36.SetSecondsBeforeTimeout(*cr.Spec.ForProvider.ScalingConfiguration.SecondsBeforeTimeout) } if cr.Spec.ForProvider.ScalingConfiguration.SecondsUntilAutoPause != nil { - f35.SetSecondsUntilAutoPause(*cr.Spec.ForProvider.ScalingConfiguration.SecondsUntilAutoPause) + f36.SetSecondsUntilAutoPause(*cr.Spec.ForProvider.ScalingConfiguration.SecondsUntilAutoPause) } if cr.Spec.ForProvider.ScalingConfiguration.TimeoutAction != nil { - f35.SetTimeoutAction(*cr.Spec.ForProvider.ScalingConfiguration.TimeoutAction) + f36.SetTimeoutAction(*cr.Spec.ForProvider.ScalingConfiguration.TimeoutAction) } - res.SetScalingConfiguration(f35) + res.SetScalingConfiguration(f36) } if cr.Spec.ForProvider.ServerlessV2ScalingConfiguration != nil { - f36 := &svcsdk.ServerlessV2ScalingConfiguration{} + f37 := &svcsdk.ServerlessV2ScalingConfiguration{} if cr.Spec.ForProvider.ServerlessV2ScalingConfiguration.MaxCapacity != nil { - f36.SetMaxCapacity(*cr.Spec.ForProvider.ServerlessV2ScalingConfiguration.MaxCapacity) + f37.SetMaxCapacity(*cr.Spec.ForProvider.ServerlessV2ScalingConfiguration.MaxCapacity) } if cr.Spec.ForProvider.ServerlessV2ScalingConfiguration.MinCapacity != nil { - f36.SetMinCapacity(*cr.Spec.ForProvider.ServerlessV2ScalingConfiguration.MinCapacity) + f37.SetMinCapacity(*cr.Spec.ForProvider.ServerlessV2ScalingConfiguration.MinCapacity) } - res.SetServerlessV2ScalingConfiguration(f36) + res.SetServerlessV2ScalingConfiguration(f37) } if cr.Spec.ForProvider.StorageType != nil { res.SetStorageType(*cr.Spec.ForProvider.StorageType) diff --git a/pkg/controller/rds/dbinstance/zz_controller.go b/pkg/controller/rds/dbinstance/zz_controller.go index f9b9b3aaf7..8664780fa9 100644 --- a/pkg/controller/rds/dbinstance/zz_controller.go +++ b/pkg/controller/rds/dbinstance/zz_controller.go @@ -398,71 +398,76 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E } else { cr.Status.AtProvider.DBIResourceID = nil } + if resp.DBInstance.DedicatedLogVolume != nil { + cr.Spec.ForProvider.DedicatedLogVolume = resp.DBInstance.DedicatedLogVolume + } else { + cr.Spec.ForProvider.DedicatedLogVolume = nil + } if resp.DBInstance.DeletionProtection != nil { cr.Spec.ForProvider.DeletionProtection = resp.DBInstance.DeletionProtection } else { cr.Spec.ForProvider.DeletionProtection = nil } if resp.DBInstance.DomainMemberships != nil { - f35 := []*svcapitypes.DomainMembership{} - for _, f35iter := range resp.DBInstance.DomainMemberships { - f35elem := &svcapitypes.DomainMembership{} - if f35iter.AuthSecretArn != nil { - f35elem.AuthSecretARN = f35iter.AuthSecretArn - } - if f35iter.DnsIps != nil { - f35elemf1 := []*string{} - for _, f35elemf1iter := range f35iter.DnsIps { - var f35elemf1elem string - f35elemf1elem = *f35elemf1iter - f35elemf1 = append(f35elemf1, &f35elemf1elem) + f36 := []*svcapitypes.DomainMembership{} + for _, f36iter := range resp.DBInstance.DomainMemberships { + f36elem := &svcapitypes.DomainMembership{} + if f36iter.AuthSecretArn != nil { + f36elem.AuthSecretARN = f36iter.AuthSecretArn + } + if f36iter.DnsIps != nil { + f36elemf1 := []*string{} + for _, f36elemf1iter := range f36iter.DnsIps { + var f36elemf1elem string + f36elemf1elem = *f36elemf1iter + f36elemf1 = append(f36elemf1, &f36elemf1elem) } - f35elem.DNSIPs = f35elemf1 + f36elem.DNSIPs = f36elemf1 } - if f35iter.Domain != nil { - f35elem.Domain = f35iter.Domain + if f36iter.Domain != nil { + f36elem.Domain = f36iter.Domain } - if f35iter.FQDN != nil { - f35elem.FQDN = f35iter.FQDN + if f36iter.FQDN != nil { + f36elem.FQDN = f36iter.FQDN } - if f35iter.IAMRoleName != nil { - f35elem.IAMRoleName = f35iter.IAMRoleName + if f36iter.IAMRoleName != nil { + f36elem.IAMRoleName = f36iter.IAMRoleName } - if f35iter.OU != nil { - f35elem.OU = f35iter.OU + if f36iter.OU != nil { + f36elem.OU = f36iter.OU } - if f35iter.Status != nil { - f35elem.Status = f35iter.Status + if f36iter.Status != nil { + f36elem.Status = f36iter.Status } - f35 = append(f35, f35elem) + f36 = append(f36, f36elem) } - cr.Status.AtProvider.DomainMemberships = f35 + cr.Status.AtProvider.DomainMemberships = f36 } else { cr.Status.AtProvider.DomainMemberships = nil } if resp.DBInstance.EnabledCloudwatchLogsExports != nil { - f36 := []*string{} - for _, f36iter := range resp.DBInstance.EnabledCloudwatchLogsExports { - var f36elem string - f36elem = *f36iter - f36 = append(f36, &f36elem) + f37 := []*string{} + for _, f37iter := range resp.DBInstance.EnabledCloudwatchLogsExports { + var f37elem string + f37elem = *f37iter + f37 = append(f37, &f37elem) } - cr.Status.AtProvider.EnabledCloudwatchLogsExports = f36 + cr.Status.AtProvider.EnabledCloudwatchLogsExports = f37 } else { cr.Status.AtProvider.EnabledCloudwatchLogsExports = nil } if resp.DBInstance.Endpoint != nil { - f37 := &svcapitypes.Endpoint{} + f38 := &svcapitypes.Endpoint{} if resp.DBInstance.Endpoint.Address != nil { - f37.Address = resp.DBInstance.Endpoint.Address + f38.Address = resp.DBInstance.Endpoint.Address } if resp.DBInstance.Endpoint.HostedZoneId != nil { - f37.HostedZoneID = resp.DBInstance.Endpoint.HostedZoneId + f38.HostedZoneID = resp.DBInstance.Endpoint.HostedZoneId } if resp.DBInstance.Endpoint.Port != nil { - f37.Port = resp.DBInstance.Endpoint.Port + f38.Port = resp.DBInstance.Endpoint.Port } - cr.Status.AtProvider.Endpoint = f37 + cr.Status.AtProvider.Endpoint = f38 } else { cr.Status.AtProvider.Endpoint = nil } @@ -496,6 +501,11 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E } else { cr.Spec.ForProvider.IOPS = nil } + if resp.DBInstance.IsStorageConfigUpgradeAvailable != nil { + cr.Status.AtProvider.IsStorageConfigUpgradeAvailable = resp.DBInstance.IsStorageConfigUpgradeAvailable + } else { + cr.Status.AtProvider.IsStorageConfigUpgradeAvailable = nil + } if resp.DBInstance.KmsKeyId != nil { cr.Spec.ForProvider.KMSKeyID = resp.DBInstance.KmsKeyId } else { @@ -512,32 +522,32 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Spec.ForProvider.LicenseModel = nil } if resp.DBInstance.ListenerEndpoint != nil { - f47 := &svcapitypes.Endpoint{} + f49 := &svcapitypes.Endpoint{} if resp.DBInstance.ListenerEndpoint.Address != nil { - f47.Address = resp.DBInstance.ListenerEndpoint.Address + f49.Address = resp.DBInstance.ListenerEndpoint.Address } if resp.DBInstance.ListenerEndpoint.HostedZoneId != nil { - f47.HostedZoneID = resp.DBInstance.ListenerEndpoint.HostedZoneId + f49.HostedZoneID = resp.DBInstance.ListenerEndpoint.HostedZoneId } if resp.DBInstance.ListenerEndpoint.Port != nil { - f47.Port = resp.DBInstance.ListenerEndpoint.Port + f49.Port = resp.DBInstance.ListenerEndpoint.Port } - cr.Status.AtProvider.ListenerEndpoint = f47 + cr.Status.AtProvider.ListenerEndpoint = f49 } else { cr.Status.AtProvider.ListenerEndpoint = nil } if resp.DBInstance.MasterUserSecret != nil { - f48 := &svcapitypes.MasterUserSecret{} + f50 := &svcapitypes.MasterUserSecret{} if resp.DBInstance.MasterUserSecret.KmsKeyId != nil { - f48.KMSKeyID = resp.DBInstance.MasterUserSecret.KmsKeyId + f50.KMSKeyID = resp.DBInstance.MasterUserSecret.KmsKeyId } if resp.DBInstance.MasterUserSecret.SecretArn != nil { - f48.SecretARN = resp.DBInstance.MasterUserSecret.SecretArn + f50.SecretARN = resp.DBInstance.MasterUserSecret.SecretArn } if resp.DBInstance.MasterUserSecret.SecretStatus != nil { - f48.SecretStatus = resp.DBInstance.MasterUserSecret.SecretStatus + f50.SecretStatus = resp.DBInstance.MasterUserSecret.SecretStatus } - cr.Status.AtProvider.MasterUserSecret = f48 + cr.Status.AtProvider.MasterUserSecret = f50 } else { cr.Status.AtProvider.MasterUserSecret = nil } @@ -566,6 +576,11 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E } else { cr.Spec.ForProvider.MultiAZ = nil } + if resp.DBInstance.MultiTenant != nil { + cr.Spec.ForProvider.MultiTenant = resp.DBInstance.MultiTenant + } else { + cr.Spec.ForProvider.MultiTenant = nil + } if resp.DBInstance.NcharCharacterSetName != nil { cr.Spec.ForProvider.NcharCharacterSetName = resp.DBInstance.NcharCharacterSetName } else { @@ -577,114 +592,120 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Spec.ForProvider.NetworkType = nil } if resp.DBInstance.OptionGroupMemberships != nil { - f56 := []*svcapitypes.OptionGroupMembership{} - for _, f56iter := range resp.DBInstance.OptionGroupMemberships { - f56elem := &svcapitypes.OptionGroupMembership{} - if f56iter.OptionGroupName != nil { - f56elem.OptionGroupName = f56iter.OptionGroupName + f59 := []*svcapitypes.OptionGroupMembership{} + for _, f59iter := range resp.DBInstance.OptionGroupMemberships { + f59elem := &svcapitypes.OptionGroupMembership{} + if f59iter.OptionGroupName != nil { + f59elem.OptionGroupName = f59iter.OptionGroupName } - if f56iter.Status != nil { - f56elem.Status = f56iter.Status + if f59iter.Status != nil { + f59elem.Status = f59iter.Status } - f56 = append(f56, f56elem) + f59 = append(f59, f59elem) } - cr.Status.AtProvider.OptionGroupMemberships = f56 + cr.Status.AtProvider.OptionGroupMemberships = f59 } else { cr.Status.AtProvider.OptionGroupMemberships = nil } if resp.DBInstance.PendingModifiedValues != nil { - f57 := &svcapitypes.PendingModifiedValues{} + f60 := &svcapitypes.PendingModifiedValues{} if resp.DBInstance.PendingModifiedValues.AllocatedStorage != nil { - f57.AllocatedStorage = resp.DBInstance.PendingModifiedValues.AllocatedStorage + f60.AllocatedStorage = resp.DBInstance.PendingModifiedValues.AllocatedStorage } if resp.DBInstance.PendingModifiedValues.AutomationMode != nil { - f57.AutomationMode = resp.DBInstance.PendingModifiedValues.AutomationMode + f60.AutomationMode = resp.DBInstance.PendingModifiedValues.AutomationMode } if resp.DBInstance.PendingModifiedValues.BackupRetentionPeriod != nil { - f57.BackupRetentionPeriod = resp.DBInstance.PendingModifiedValues.BackupRetentionPeriod + f60.BackupRetentionPeriod = resp.DBInstance.PendingModifiedValues.BackupRetentionPeriod } if resp.DBInstance.PendingModifiedValues.CACertificateIdentifier != nil { - f57.CACertificateIdentifier = resp.DBInstance.PendingModifiedValues.CACertificateIdentifier + f60.CACertificateIdentifier = resp.DBInstance.PendingModifiedValues.CACertificateIdentifier } if resp.DBInstance.PendingModifiedValues.DBInstanceClass != nil { - f57.DBInstanceClass = resp.DBInstance.PendingModifiedValues.DBInstanceClass + f60.DBInstanceClass = resp.DBInstance.PendingModifiedValues.DBInstanceClass } if resp.DBInstance.PendingModifiedValues.DBInstanceIdentifier != nil { - f57.DBInstanceIdentifier = resp.DBInstance.PendingModifiedValues.DBInstanceIdentifier + f60.DBInstanceIdentifier = resp.DBInstance.PendingModifiedValues.DBInstanceIdentifier } if resp.DBInstance.PendingModifiedValues.DBSubnetGroupName != nil { - f57.DBSubnetGroupName = resp.DBInstance.PendingModifiedValues.DBSubnetGroupName + f60.DBSubnetGroupName = resp.DBInstance.PendingModifiedValues.DBSubnetGroupName + } + if resp.DBInstance.PendingModifiedValues.DedicatedLogVolume != nil { + f60.DedicatedLogVolume = resp.DBInstance.PendingModifiedValues.DedicatedLogVolume } if resp.DBInstance.PendingModifiedValues.Engine != nil { - f57.Engine = resp.DBInstance.PendingModifiedValues.Engine + f60.Engine = resp.DBInstance.PendingModifiedValues.Engine } if resp.DBInstance.PendingModifiedValues.EngineVersion != nil { - f57.EngineVersion = resp.DBInstance.PendingModifiedValues.EngineVersion + f60.EngineVersion = resp.DBInstance.PendingModifiedValues.EngineVersion } if resp.DBInstance.PendingModifiedValues.IAMDatabaseAuthenticationEnabled != nil { - f57.IAMDatabaseAuthenticationEnabled = resp.DBInstance.PendingModifiedValues.IAMDatabaseAuthenticationEnabled + f60.IAMDatabaseAuthenticationEnabled = resp.DBInstance.PendingModifiedValues.IAMDatabaseAuthenticationEnabled } if resp.DBInstance.PendingModifiedValues.Iops != nil { - f57.IOPS = resp.DBInstance.PendingModifiedValues.Iops + f60.IOPS = resp.DBInstance.PendingModifiedValues.Iops } if resp.DBInstance.PendingModifiedValues.LicenseModel != nil { - f57.LicenseModel = resp.DBInstance.PendingModifiedValues.LicenseModel + f60.LicenseModel = resp.DBInstance.PendingModifiedValues.LicenseModel } if resp.DBInstance.PendingModifiedValues.MasterUserPassword != nil { - f57.MasterUserPassword = resp.DBInstance.PendingModifiedValues.MasterUserPassword + f60.MasterUserPassword = resp.DBInstance.PendingModifiedValues.MasterUserPassword } if resp.DBInstance.PendingModifiedValues.MultiAZ != nil { - f57.MultiAZ = resp.DBInstance.PendingModifiedValues.MultiAZ + f60.MultiAZ = resp.DBInstance.PendingModifiedValues.MultiAZ + } + if resp.DBInstance.PendingModifiedValues.MultiTenant != nil { + f60.MultiTenant = resp.DBInstance.PendingModifiedValues.MultiTenant } if resp.DBInstance.PendingModifiedValues.PendingCloudwatchLogsExports != nil { - f57f14 := &svcapitypes.PendingCloudwatchLogsExports{} + f60f16 := &svcapitypes.PendingCloudwatchLogsExports{} if resp.DBInstance.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToDisable != nil { - f57f14f0 := []*string{} - for _, f57f14f0iter := range resp.DBInstance.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToDisable { - var f57f14f0elem string - f57f14f0elem = *f57f14f0iter - f57f14f0 = append(f57f14f0, &f57f14f0elem) + f60f16f0 := []*string{} + for _, f60f16f0iter := range resp.DBInstance.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToDisable { + var f60f16f0elem string + f60f16f0elem = *f60f16f0iter + f60f16f0 = append(f60f16f0, &f60f16f0elem) } - f57f14.LogTypesToDisable = f57f14f0 + f60f16.LogTypesToDisable = f60f16f0 } if resp.DBInstance.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToEnable != nil { - f57f14f1 := []*string{} - for _, f57f14f1iter := range resp.DBInstance.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToEnable { - var f57f14f1elem string - f57f14f1elem = *f57f14f1iter - f57f14f1 = append(f57f14f1, &f57f14f1elem) + f60f16f1 := []*string{} + for _, f60f16f1iter := range resp.DBInstance.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToEnable { + var f60f16f1elem string + f60f16f1elem = *f60f16f1iter + f60f16f1 = append(f60f16f1, &f60f16f1elem) } - f57f14.LogTypesToEnable = f57f14f1 + f60f16.LogTypesToEnable = f60f16f1 } - f57.PendingCloudwatchLogsExports = f57f14 + f60.PendingCloudwatchLogsExports = f60f16 } if resp.DBInstance.PendingModifiedValues.Port != nil { - f57.Port = resp.DBInstance.PendingModifiedValues.Port + f60.Port = resp.DBInstance.PendingModifiedValues.Port } if resp.DBInstance.PendingModifiedValues.ProcessorFeatures != nil { - f57f16 := []*svcapitypes.ProcessorFeature{} - for _, f57f16iter := range resp.DBInstance.PendingModifiedValues.ProcessorFeatures { - f57f16elem := &svcapitypes.ProcessorFeature{} - if f57f16iter.Name != nil { - f57f16elem.Name = f57f16iter.Name + f60f18 := []*svcapitypes.ProcessorFeature{} + for _, f60f18iter := range resp.DBInstance.PendingModifiedValues.ProcessorFeatures { + f60f18elem := &svcapitypes.ProcessorFeature{} + if f60f18iter.Name != nil { + f60f18elem.Name = f60f18iter.Name } - if f57f16iter.Value != nil { - f57f16elem.Value = f57f16iter.Value + if f60f18iter.Value != nil { + f60f18elem.Value = f60f18iter.Value } - f57f16 = append(f57f16, f57f16elem) + f60f18 = append(f60f18, f60f18elem) } - f57.ProcessorFeatures = f57f16 + f60.ProcessorFeatures = f60f18 } if resp.DBInstance.PendingModifiedValues.ResumeFullAutomationModeTime != nil { - f57.ResumeFullAutomationModeTime = &metav1.Time{*resp.DBInstance.PendingModifiedValues.ResumeFullAutomationModeTime} + f60.ResumeFullAutomationModeTime = &metav1.Time{*resp.DBInstance.PendingModifiedValues.ResumeFullAutomationModeTime} } if resp.DBInstance.PendingModifiedValues.StorageThroughput != nil { - f57.StorageThroughput = resp.DBInstance.PendingModifiedValues.StorageThroughput + f60.StorageThroughput = resp.DBInstance.PendingModifiedValues.StorageThroughput } if resp.DBInstance.PendingModifiedValues.StorageType != nil { - f57.StorageType = resp.DBInstance.PendingModifiedValues.StorageType + f60.StorageType = resp.DBInstance.PendingModifiedValues.StorageType } - cr.Status.AtProvider.PendingModifiedValues = f57 + cr.Status.AtProvider.PendingModifiedValues = f60 } else { cr.Status.AtProvider.PendingModifiedValues = nil } @@ -719,18 +740,18 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Spec.ForProvider.PreferredMaintenanceWindow = nil } if resp.DBInstance.ProcessorFeatures != nil { - f64 := []*svcapitypes.ProcessorFeature{} - for _, f64iter := range resp.DBInstance.ProcessorFeatures { - f64elem := &svcapitypes.ProcessorFeature{} - if f64iter.Name != nil { - f64elem.Name = f64iter.Name + f67 := []*svcapitypes.ProcessorFeature{} + for _, f67iter := range resp.DBInstance.ProcessorFeatures { + f67elem := &svcapitypes.ProcessorFeature{} + if f67iter.Name != nil { + f67elem.Name = f67iter.Name } - if f64iter.Value != nil { - f64elem.Value = f64iter.Value + if f67iter.Value != nil { + f67elem.Value = f67iter.Value } - f64 = append(f64, f64elem) + f67 = append(f67, f67elem) } - cr.Spec.ForProvider.ProcessorFeatures = f64 + cr.Spec.ForProvider.ProcessorFeatures = f67 } else { cr.Spec.ForProvider.ProcessorFeatures = nil } @@ -745,24 +766,24 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Spec.ForProvider.PubliclyAccessible = nil } if resp.DBInstance.ReadReplicaDBClusterIdentifiers != nil { - f67 := []*string{} - for _, f67iter := range resp.DBInstance.ReadReplicaDBClusterIdentifiers { - var f67elem string - f67elem = *f67iter - f67 = append(f67, &f67elem) + f70 := []*string{} + for _, f70iter := range resp.DBInstance.ReadReplicaDBClusterIdentifiers { + var f70elem string + f70elem = *f70iter + f70 = append(f70, &f70elem) } - cr.Status.AtProvider.ReadReplicaDBClusterIdentifiers = f67 + cr.Status.AtProvider.ReadReplicaDBClusterIdentifiers = f70 } else { cr.Status.AtProvider.ReadReplicaDBClusterIdentifiers = nil } if resp.DBInstance.ReadReplicaDBInstanceIdentifiers != nil { - f68 := []*string{} - for _, f68iter := range resp.DBInstance.ReadReplicaDBInstanceIdentifiers { - var f68elem string - f68elem = *f68iter - f68 = append(f68, &f68elem) + f71 := []*string{} + for _, f71iter := range resp.DBInstance.ReadReplicaDBInstanceIdentifiers { + var f71elem string + f71elem = *f71iter + f71 = append(f71, &f71elem) } - cr.Status.AtProvider.ReadReplicaDBInstanceIdentifiers = f68 + cr.Status.AtProvider.ReadReplicaDBInstanceIdentifiers = f71 } else { cr.Status.AtProvider.ReadReplicaDBInstanceIdentifiers = nil } @@ -792,24 +813,24 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Status.AtProvider.SecondaryAvailabilityZone = nil } if resp.DBInstance.StatusInfos != nil { - f74 := []*svcapitypes.DBInstanceStatusInfo{} - for _, f74iter := range resp.DBInstance.StatusInfos { - f74elem := &svcapitypes.DBInstanceStatusInfo{} - if f74iter.Message != nil { - f74elem.Message = f74iter.Message + f77 := []*svcapitypes.DBInstanceStatusInfo{} + for _, f77iter := range resp.DBInstance.StatusInfos { + f77elem := &svcapitypes.DBInstanceStatusInfo{} + if f77iter.Message != nil { + f77elem.Message = f77iter.Message } - if f74iter.Normal != nil { - f74elem.Normal = f74iter.Normal + if f77iter.Normal != nil { + f77elem.Normal = f77iter.Normal } - if f74iter.Status != nil { - f74elem.Status = f74iter.Status + if f77iter.Status != nil { + f77elem.Status = f77iter.Status } - if f74iter.StatusType != nil { - f74elem.StatusType = f74iter.StatusType + if f77iter.StatusType != nil { + f77elem.StatusType = f77iter.StatusType } - f74 = append(f74, f74elem) + f77 = append(f77, f77elem) } - cr.Status.AtProvider.StatusInfos = f74 + cr.Status.AtProvider.StatusInfos = f77 } else { cr.Status.AtProvider.StatusInfos = nil } @@ -829,18 +850,18 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Spec.ForProvider.StorageType = nil } if resp.DBInstance.TagList != nil { - f78 := []*svcapitypes.Tag{} - for _, f78iter := range resp.DBInstance.TagList { - f78elem := &svcapitypes.Tag{} - if f78iter.Key != nil { - f78elem.Key = f78iter.Key + f81 := []*svcapitypes.Tag{} + for _, f81iter := range resp.DBInstance.TagList { + f81elem := &svcapitypes.Tag{} + if f81iter.Key != nil { + f81elem.Key = f81iter.Key } - if f78iter.Value != nil { - f78elem.Value = f78iter.Value + if f81iter.Value != nil { + f81elem.Value = f81iter.Value } - f78 = append(f78, f78elem) + f81 = append(f81, f81elem) } - cr.Status.AtProvider.TagList = f78 + cr.Status.AtProvider.TagList = f81 } else { cr.Status.AtProvider.TagList = nil } @@ -855,18 +876,18 @@ func (e *external) Create(ctx context.Context, mg cpresource.Managed) (managed.E cr.Spec.ForProvider.Timezone = nil } if resp.DBInstance.VpcSecurityGroups != nil { - f81 := []*svcapitypes.VPCSecurityGroupMembership{} - for _, f81iter := range resp.DBInstance.VpcSecurityGroups { - f81elem := &svcapitypes.VPCSecurityGroupMembership{} - if f81iter.Status != nil { - f81elem.Status = f81iter.Status + f84 := []*svcapitypes.VPCSecurityGroupMembership{} + for _, f84iter := range resp.DBInstance.VpcSecurityGroups { + f84elem := &svcapitypes.VPCSecurityGroupMembership{} + if f84iter.Status != nil { + f84elem.Status = f84iter.Status } - if f81iter.VpcSecurityGroupId != nil { - f81elem.VPCSecurityGroupID = f81iter.VpcSecurityGroupId + if f84iter.VpcSecurityGroupId != nil { + f84elem.VPCSecurityGroupID = f84iter.VpcSecurityGroupId } - f81 = append(f81, f81elem) + f84 = append(f84, f84elem) } - cr.Status.AtProvider.VPCSecurityGroups = f81 + cr.Status.AtProvider.VPCSecurityGroups = f84 } else { cr.Status.AtProvider.VPCSecurityGroups = nil } diff --git a/pkg/controller/rds/dbinstance/zz_conversions.go b/pkg/controller/rds/dbinstance/zz_conversions.go index 18cb164426..47b7659200 100644 --- a/pkg/controller/rds/dbinstance/zz_conversions.go +++ b/pkg/controller/rds/dbinstance/zz_conversions.go @@ -321,71 +321,76 @@ func GenerateDBInstance(resp *svcsdk.DescribeDBInstancesOutput) *svcapitypes.DBI } else { cr.Status.AtProvider.DBIResourceID = nil } + if elem.DedicatedLogVolume != nil { + cr.Spec.ForProvider.DedicatedLogVolume = elem.DedicatedLogVolume + } else { + cr.Spec.ForProvider.DedicatedLogVolume = nil + } if elem.DeletionProtection != nil { cr.Spec.ForProvider.DeletionProtection = elem.DeletionProtection } else { cr.Spec.ForProvider.DeletionProtection = nil } if elem.DomainMemberships != nil { - f35 := []*svcapitypes.DomainMembership{} - for _, f35iter := range elem.DomainMemberships { - f35elem := &svcapitypes.DomainMembership{} - if f35iter.AuthSecretArn != nil { - f35elem.AuthSecretARN = f35iter.AuthSecretArn + f36 := []*svcapitypes.DomainMembership{} + for _, f36iter := range elem.DomainMemberships { + f36elem := &svcapitypes.DomainMembership{} + if f36iter.AuthSecretArn != nil { + f36elem.AuthSecretARN = f36iter.AuthSecretArn } - if f35iter.DnsIps != nil { - f35elemf1 := []*string{} - for _, f35elemf1iter := range f35iter.DnsIps { - var f35elemf1elem string - f35elemf1elem = *f35elemf1iter - f35elemf1 = append(f35elemf1, &f35elemf1elem) + if f36iter.DnsIps != nil { + f36elemf1 := []*string{} + for _, f36elemf1iter := range f36iter.DnsIps { + var f36elemf1elem string + f36elemf1elem = *f36elemf1iter + f36elemf1 = append(f36elemf1, &f36elemf1elem) } - f35elem.DNSIPs = f35elemf1 + f36elem.DNSIPs = f36elemf1 } - if f35iter.Domain != nil { - f35elem.Domain = f35iter.Domain + if f36iter.Domain != nil { + f36elem.Domain = f36iter.Domain } - if f35iter.FQDN != nil { - f35elem.FQDN = f35iter.FQDN + if f36iter.FQDN != nil { + f36elem.FQDN = f36iter.FQDN } - if f35iter.IAMRoleName != nil { - f35elem.IAMRoleName = f35iter.IAMRoleName + if f36iter.IAMRoleName != nil { + f36elem.IAMRoleName = f36iter.IAMRoleName } - if f35iter.OU != nil { - f35elem.OU = f35iter.OU + if f36iter.OU != nil { + f36elem.OU = f36iter.OU } - if f35iter.Status != nil { - f35elem.Status = f35iter.Status + if f36iter.Status != nil { + f36elem.Status = f36iter.Status } - f35 = append(f35, f35elem) + f36 = append(f36, f36elem) } - cr.Status.AtProvider.DomainMemberships = f35 + cr.Status.AtProvider.DomainMemberships = f36 } else { cr.Status.AtProvider.DomainMemberships = nil } if elem.EnabledCloudwatchLogsExports != nil { - f36 := []*string{} - for _, f36iter := range elem.EnabledCloudwatchLogsExports { - var f36elem string - f36elem = *f36iter - f36 = append(f36, &f36elem) + f37 := []*string{} + for _, f37iter := range elem.EnabledCloudwatchLogsExports { + var f37elem string + f37elem = *f37iter + f37 = append(f37, &f37elem) } - cr.Status.AtProvider.EnabledCloudwatchLogsExports = f36 + cr.Status.AtProvider.EnabledCloudwatchLogsExports = f37 } else { cr.Status.AtProvider.EnabledCloudwatchLogsExports = nil } if elem.Endpoint != nil { - f37 := &svcapitypes.Endpoint{} + f38 := &svcapitypes.Endpoint{} if elem.Endpoint.Address != nil { - f37.Address = elem.Endpoint.Address + f38.Address = elem.Endpoint.Address } if elem.Endpoint.HostedZoneId != nil { - f37.HostedZoneID = elem.Endpoint.HostedZoneId + f38.HostedZoneID = elem.Endpoint.HostedZoneId } if elem.Endpoint.Port != nil { - f37.Port = elem.Endpoint.Port + f38.Port = elem.Endpoint.Port } - cr.Status.AtProvider.Endpoint = f37 + cr.Status.AtProvider.Endpoint = f38 } else { cr.Status.AtProvider.Endpoint = nil } @@ -419,6 +424,11 @@ func GenerateDBInstance(resp *svcsdk.DescribeDBInstancesOutput) *svcapitypes.DBI } else { cr.Spec.ForProvider.IOPS = nil } + if elem.IsStorageConfigUpgradeAvailable != nil { + cr.Status.AtProvider.IsStorageConfigUpgradeAvailable = elem.IsStorageConfigUpgradeAvailable + } else { + cr.Status.AtProvider.IsStorageConfigUpgradeAvailable = nil + } if elem.KmsKeyId != nil { cr.Spec.ForProvider.KMSKeyID = elem.KmsKeyId } else { @@ -435,32 +445,32 @@ func GenerateDBInstance(resp *svcsdk.DescribeDBInstancesOutput) *svcapitypes.DBI cr.Spec.ForProvider.LicenseModel = nil } if elem.ListenerEndpoint != nil { - f47 := &svcapitypes.Endpoint{} + f49 := &svcapitypes.Endpoint{} if elem.ListenerEndpoint.Address != nil { - f47.Address = elem.ListenerEndpoint.Address + f49.Address = elem.ListenerEndpoint.Address } if elem.ListenerEndpoint.HostedZoneId != nil { - f47.HostedZoneID = elem.ListenerEndpoint.HostedZoneId + f49.HostedZoneID = elem.ListenerEndpoint.HostedZoneId } if elem.ListenerEndpoint.Port != nil { - f47.Port = elem.ListenerEndpoint.Port + f49.Port = elem.ListenerEndpoint.Port } - cr.Status.AtProvider.ListenerEndpoint = f47 + cr.Status.AtProvider.ListenerEndpoint = f49 } else { cr.Status.AtProvider.ListenerEndpoint = nil } if elem.MasterUserSecret != nil { - f48 := &svcapitypes.MasterUserSecret{} + f50 := &svcapitypes.MasterUserSecret{} if elem.MasterUserSecret.KmsKeyId != nil { - f48.KMSKeyID = elem.MasterUserSecret.KmsKeyId + f50.KMSKeyID = elem.MasterUserSecret.KmsKeyId } if elem.MasterUserSecret.SecretArn != nil { - f48.SecretARN = elem.MasterUserSecret.SecretArn + f50.SecretARN = elem.MasterUserSecret.SecretArn } if elem.MasterUserSecret.SecretStatus != nil { - f48.SecretStatus = elem.MasterUserSecret.SecretStatus + f50.SecretStatus = elem.MasterUserSecret.SecretStatus } - cr.Status.AtProvider.MasterUserSecret = f48 + cr.Status.AtProvider.MasterUserSecret = f50 } else { cr.Status.AtProvider.MasterUserSecret = nil } @@ -489,6 +499,11 @@ func GenerateDBInstance(resp *svcsdk.DescribeDBInstancesOutput) *svcapitypes.DBI } else { cr.Spec.ForProvider.MultiAZ = nil } + if elem.MultiTenant != nil { + cr.Spec.ForProvider.MultiTenant = elem.MultiTenant + } else { + cr.Spec.ForProvider.MultiTenant = nil + } if elem.NcharCharacterSetName != nil { cr.Spec.ForProvider.NcharCharacterSetName = elem.NcharCharacterSetName } else { @@ -500,114 +515,120 @@ func GenerateDBInstance(resp *svcsdk.DescribeDBInstancesOutput) *svcapitypes.DBI cr.Spec.ForProvider.NetworkType = nil } if elem.OptionGroupMemberships != nil { - f56 := []*svcapitypes.OptionGroupMembership{} - for _, f56iter := range elem.OptionGroupMemberships { - f56elem := &svcapitypes.OptionGroupMembership{} - if f56iter.OptionGroupName != nil { - f56elem.OptionGroupName = f56iter.OptionGroupName + f59 := []*svcapitypes.OptionGroupMembership{} + for _, f59iter := range elem.OptionGroupMemberships { + f59elem := &svcapitypes.OptionGroupMembership{} + if f59iter.OptionGroupName != nil { + f59elem.OptionGroupName = f59iter.OptionGroupName } - if f56iter.Status != nil { - f56elem.Status = f56iter.Status + if f59iter.Status != nil { + f59elem.Status = f59iter.Status } - f56 = append(f56, f56elem) + f59 = append(f59, f59elem) } - cr.Status.AtProvider.OptionGroupMemberships = f56 + cr.Status.AtProvider.OptionGroupMemberships = f59 } else { cr.Status.AtProvider.OptionGroupMemberships = nil } if elem.PendingModifiedValues != nil { - f57 := &svcapitypes.PendingModifiedValues{} + f60 := &svcapitypes.PendingModifiedValues{} if elem.PendingModifiedValues.AllocatedStorage != nil { - f57.AllocatedStorage = elem.PendingModifiedValues.AllocatedStorage + f60.AllocatedStorage = elem.PendingModifiedValues.AllocatedStorage } if elem.PendingModifiedValues.AutomationMode != nil { - f57.AutomationMode = elem.PendingModifiedValues.AutomationMode + f60.AutomationMode = elem.PendingModifiedValues.AutomationMode } if elem.PendingModifiedValues.BackupRetentionPeriod != nil { - f57.BackupRetentionPeriod = elem.PendingModifiedValues.BackupRetentionPeriod + f60.BackupRetentionPeriod = elem.PendingModifiedValues.BackupRetentionPeriod } if elem.PendingModifiedValues.CACertificateIdentifier != nil { - f57.CACertificateIdentifier = elem.PendingModifiedValues.CACertificateIdentifier + f60.CACertificateIdentifier = elem.PendingModifiedValues.CACertificateIdentifier } if elem.PendingModifiedValues.DBInstanceClass != nil { - f57.DBInstanceClass = elem.PendingModifiedValues.DBInstanceClass + f60.DBInstanceClass = elem.PendingModifiedValues.DBInstanceClass } if elem.PendingModifiedValues.DBInstanceIdentifier != nil { - f57.DBInstanceIdentifier = elem.PendingModifiedValues.DBInstanceIdentifier + f60.DBInstanceIdentifier = elem.PendingModifiedValues.DBInstanceIdentifier } if elem.PendingModifiedValues.DBSubnetGroupName != nil { - f57.DBSubnetGroupName = elem.PendingModifiedValues.DBSubnetGroupName + f60.DBSubnetGroupName = elem.PendingModifiedValues.DBSubnetGroupName + } + if elem.PendingModifiedValues.DedicatedLogVolume != nil { + f60.DedicatedLogVolume = elem.PendingModifiedValues.DedicatedLogVolume } if elem.PendingModifiedValues.Engine != nil { - f57.Engine = elem.PendingModifiedValues.Engine + f60.Engine = elem.PendingModifiedValues.Engine } if elem.PendingModifiedValues.EngineVersion != nil { - f57.EngineVersion = elem.PendingModifiedValues.EngineVersion + f60.EngineVersion = elem.PendingModifiedValues.EngineVersion } if elem.PendingModifiedValues.IAMDatabaseAuthenticationEnabled != nil { - f57.IAMDatabaseAuthenticationEnabled = elem.PendingModifiedValues.IAMDatabaseAuthenticationEnabled + f60.IAMDatabaseAuthenticationEnabled = elem.PendingModifiedValues.IAMDatabaseAuthenticationEnabled } if elem.PendingModifiedValues.Iops != nil { - f57.IOPS = elem.PendingModifiedValues.Iops + f60.IOPS = elem.PendingModifiedValues.Iops } if elem.PendingModifiedValues.LicenseModel != nil { - f57.LicenseModel = elem.PendingModifiedValues.LicenseModel + f60.LicenseModel = elem.PendingModifiedValues.LicenseModel } if elem.PendingModifiedValues.MasterUserPassword != nil { - f57.MasterUserPassword = elem.PendingModifiedValues.MasterUserPassword + f60.MasterUserPassword = elem.PendingModifiedValues.MasterUserPassword } if elem.PendingModifiedValues.MultiAZ != nil { - f57.MultiAZ = elem.PendingModifiedValues.MultiAZ + f60.MultiAZ = elem.PendingModifiedValues.MultiAZ + } + if elem.PendingModifiedValues.MultiTenant != nil { + f60.MultiTenant = elem.PendingModifiedValues.MultiTenant } if elem.PendingModifiedValues.PendingCloudwatchLogsExports != nil { - f57f14 := &svcapitypes.PendingCloudwatchLogsExports{} + f60f16 := &svcapitypes.PendingCloudwatchLogsExports{} if elem.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToDisable != nil { - f57f14f0 := []*string{} - for _, f57f14f0iter := range elem.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToDisable { - var f57f14f0elem string - f57f14f0elem = *f57f14f0iter - f57f14f0 = append(f57f14f0, &f57f14f0elem) + f60f16f0 := []*string{} + for _, f60f16f0iter := range elem.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToDisable { + var f60f16f0elem string + f60f16f0elem = *f60f16f0iter + f60f16f0 = append(f60f16f0, &f60f16f0elem) } - f57f14.LogTypesToDisable = f57f14f0 + f60f16.LogTypesToDisable = f60f16f0 } if elem.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToEnable != nil { - f57f14f1 := []*string{} - for _, f57f14f1iter := range elem.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToEnable { - var f57f14f1elem string - f57f14f1elem = *f57f14f1iter - f57f14f1 = append(f57f14f1, &f57f14f1elem) + f60f16f1 := []*string{} + for _, f60f16f1iter := range elem.PendingModifiedValues.PendingCloudwatchLogsExports.LogTypesToEnable { + var f60f16f1elem string + f60f16f1elem = *f60f16f1iter + f60f16f1 = append(f60f16f1, &f60f16f1elem) } - f57f14.LogTypesToEnable = f57f14f1 + f60f16.LogTypesToEnable = f60f16f1 } - f57.PendingCloudwatchLogsExports = f57f14 + f60.PendingCloudwatchLogsExports = f60f16 } if elem.PendingModifiedValues.Port != nil { - f57.Port = elem.PendingModifiedValues.Port + f60.Port = elem.PendingModifiedValues.Port } if elem.PendingModifiedValues.ProcessorFeatures != nil { - f57f16 := []*svcapitypes.ProcessorFeature{} - for _, f57f16iter := range elem.PendingModifiedValues.ProcessorFeatures { - f57f16elem := &svcapitypes.ProcessorFeature{} - if f57f16iter.Name != nil { - f57f16elem.Name = f57f16iter.Name + f60f18 := []*svcapitypes.ProcessorFeature{} + for _, f60f18iter := range elem.PendingModifiedValues.ProcessorFeatures { + f60f18elem := &svcapitypes.ProcessorFeature{} + if f60f18iter.Name != nil { + f60f18elem.Name = f60f18iter.Name } - if f57f16iter.Value != nil { - f57f16elem.Value = f57f16iter.Value + if f60f18iter.Value != nil { + f60f18elem.Value = f60f18iter.Value } - f57f16 = append(f57f16, f57f16elem) + f60f18 = append(f60f18, f60f18elem) } - f57.ProcessorFeatures = f57f16 + f60.ProcessorFeatures = f60f18 } if elem.PendingModifiedValues.ResumeFullAutomationModeTime != nil { - f57.ResumeFullAutomationModeTime = &metav1.Time{*elem.PendingModifiedValues.ResumeFullAutomationModeTime} + f60.ResumeFullAutomationModeTime = &metav1.Time{*elem.PendingModifiedValues.ResumeFullAutomationModeTime} } if elem.PendingModifiedValues.StorageThroughput != nil { - f57.StorageThroughput = elem.PendingModifiedValues.StorageThroughput + f60.StorageThroughput = elem.PendingModifiedValues.StorageThroughput } if elem.PendingModifiedValues.StorageType != nil { - f57.StorageType = elem.PendingModifiedValues.StorageType + f60.StorageType = elem.PendingModifiedValues.StorageType } - cr.Status.AtProvider.PendingModifiedValues = f57 + cr.Status.AtProvider.PendingModifiedValues = f60 } else { cr.Status.AtProvider.PendingModifiedValues = nil } @@ -642,18 +663,18 @@ func GenerateDBInstance(resp *svcsdk.DescribeDBInstancesOutput) *svcapitypes.DBI cr.Spec.ForProvider.PreferredMaintenanceWindow = nil } if elem.ProcessorFeatures != nil { - f64 := []*svcapitypes.ProcessorFeature{} - for _, f64iter := range elem.ProcessorFeatures { - f64elem := &svcapitypes.ProcessorFeature{} - if f64iter.Name != nil { - f64elem.Name = f64iter.Name + f67 := []*svcapitypes.ProcessorFeature{} + for _, f67iter := range elem.ProcessorFeatures { + f67elem := &svcapitypes.ProcessorFeature{} + if f67iter.Name != nil { + f67elem.Name = f67iter.Name } - if f64iter.Value != nil { - f64elem.Value = f64iter.Value + if f67iter.Value != nil { + f67elem.Value = f67iter.Value } - f64 = append(f64, f64elem) + f67 = append(f67, f67elem) } - cr.Spec.ForProvider.ProcessorFeatures = f64 + cr.Spec.ForProvider.ProcessorFeatures = f67 } else { cr.Spec.ForProvider.ProcessorFeatures = nil } @@ -668,24 +689,24 @@ func GenerateDBInstance(resp *svcsdk.DescribeDBInstancesOutput) *svcapitypes.DBI cr.Spec.ForProvider.PubliclyAccessible = nil } if elem.ReadReplicaDBClusterIdentifiers != nil { - f67 := []*string{} - for _, f67iter := range elem.ReadReplicaDBClusterIdentifiers { - var f67elem string - f67elem = *f67iter - f67 = append(f67, &f67elem) + f70 := []*string{} + for _, f70iter := range elem.ReadReplicaDBClusterIdentifiers { + var f70elem string + f70elem = *f70iter + f70 = append(f70, &f70elem) } - cr.Status.AtProvider.ReadReplicaDBClusterIdentifiers = f67 + cr.Status.AtProvider.ReadReplicaDBClusterIdentifiers = f70 } else { cr.Status.AtProvider.ReadReplicaDBClusterIdentifiers = nil } if elem.ReadReplicaDBInstanceIdentifiers != nil { - f68 := []*string{} - for _, f68iter := range elem.ReadReplicaDBInstanceIdentifiers { - var f68elem string - f68elem = *f68iter - f68 = append(f68, &f68elem) + f71 := []*string{} + for _, f71iter := range elem.ReadReplicaDBInstanceIdentifiers { + var f71elem string + f71elem = *f71iter + f71 = append(f71, &f71elem) } - cr.Status.AtProvider.ReadReplicaDBInstanceIdentifiers = f68 + cr.Status.AtProvider.ReadReplicaDBInstanceIdentifiers = f71 } else { cr.Status.AtProvider.ReadReplicaDBInstanceIdentifiers = nil } @@ -715,24 +736,24 @@ func GenerateDBInstance(resp *svcsdk.DescribeDBInstancesOutput) *svcapitypes.DBI cr.Status.AtProvider.SecondaryAvailabilityZone = nil } if elem.StatusInfos != nil { - f74 := []*svcapitypes.DBInstanceStatusInfo{} - for _, f74iter := range elem.StatusInfos { - f74elem := &svcapitypes.DBInstanceStatusInfo{} - if f74iter.Message != nil { - f74elem.Message = f74iter.Message + f77 := []*svcapitypes.DBInstanceStatusInfo{} + for _, f77iter := range elem.StatusInfos { + f77elem := &svcapitypes.DBInstanceStatusInfo{} + if f77iter.Message != nil { + f77elem.Message = f77iter.Message } - if f74iter.Normal != nil { - f74elem.Normal = f74iter.Normal + if f77iter.Normal != nil { + f77elem.Normal = f77iter.Normal } - if f74iter.Status != nil { - f74elem.Status = f74iter.Status + if f77iter.Status != nil { + f77elem.Status = f77iter.Status } - if f74iter.StatusType != nil { - f74elem.StatusType = f74iter.StatusType + if f77iter.StatusType != nil { + f77elem.StatusType = f77iter.StatusType } - f74 = append(f74, f74elem) + f77 = append(f77, f77elem) } - cr.Status.AtProvider.StatusInfos = f74 + cr.Status.AtProvider.StatusInfos = f77 } else { cr.Status.AtProvider.StatusInfos = nil } @@ -752,18 +773,18 @@ func GenerateDBInstance(resp *svcsdk.DescribeDBInstancesOutput) *svcapitypes.DBI cr.Spec.ForProvider.StorageType = nil } if elem.TagList != nil { - f78 := []*svcapitypes.Tag{} - for _, f78iter := range elem.TagList { - f78elem := &svcapitypes.Tag{} - if f78iter.Key != nil { - f78elem.Key = f78iter.Key + f81 := []*svcapitypes.Tag{} + for _, f81iter := range elem.TagList { + f81elem := &svcapitypes.Tag{} + if f81iter.Key != nil { + f81elem.Key = f81iter.Key } - if f78iter.Value != nil { - f78elem.Value = f78iter.Value + if f81iter.Value != nil { + f81elem.Value = f81iter.Value } - f78 = append(f78, f78elem) + f81 = append(f81, f81elem) } - cr.Status.AtProvider.TagList = f78 + cr.Status.AtProvider.TagList = f81 } else { cr.Status.AtProvider.TagList = nil } @@ -778,18 +799,18 @@ func GenerateDBInstance(resp *svcsdk.DescribeDBInstancesOutput) *svcapitypes.DBI cr.Spec.ForProvider.Timezone = nil } if elem.VpcSecurityGroups != nil { - f81 := []*svcapitypes.VPCSecurityGroupMembership{} - for _, f81iter := range elem.VpcSecurityGroups { - f81elem := &svcapitypes.VPCSecurityGroupMembership{} - if f81iter.Status != nil { - f81elem.Status = f81iter.Status + f84 := []*svcapitypes.VPCSecurityGroupMembership{} + for _, f84iter := range elem.VpcSecurityGroups { + f84elem := &svcapitypes.VPCSecurityGroupMembership{} + if f84iter.Status != nil { + f84elem.Status = f84iter.Status } - if f81iter.VpcSecurityGroupId != nil { - f81elem.VPCSecurityGroupID = f81iter.VpcSecurityGroupId + if f84iter.VpcSecurityGroupId != nil { + f84elem.VPCSecurityGroupID = f84iter.VpcSecurityGroupId } - f81 = append(f81, f81elem) + f84 = append(f84, f84elem) } - cr.Status.AtProvider.VPCSecurityGroups = f81 + cr.Status.AtProvider.VPCSecurityGroups = f84 } else { cr.Status.AtProvider.VPCSecurityGroups = nil } @@ -852,6 +873,9 @@ func GenerateCreateDBInstanceInput(cr *svcapitypes.DBInstance) *svcsdk.CreateDBI if cr.Spec.ForProvider.DBSystemID != nil { res.SetDBSystemId(*cr.Spec.ForProvider.DBSystemID) } + if cr.Spec.ForProvider.DedicatedLogVolume != nil { + res.SetDedicatedLogVolume(*cr.Spec.ForProvider.DedicatedLogVolume) + } if cr.Spec.ForProvider.DeletionProtection != nil { res.SetDeletionProtection(*cr.Spec.ForProvider.DeletionProtection) } @@ -862,13 +886,13 @@ func GenerateCreateDBInstanceInput(cr *svcapitypes.DBInstance) *svcsdk.CreateDBI res.SetDomainAuthSecretArn(*cr.Spec.ForProvider.DomainAuthSecretARN) } if cr.Spec.ForProvider.DomainDNSIPs != nil { - f18 := []*string{} - for _, f18iter := range cr.Spec.ForProvider.DomainDNSIPs { - var f18elem string - f18elem = *f18iter - f18 = append(f18, &f18elem) + f19 := []*string{} + for _, f19iter := range cr.Spec.ForProvider.DomainDNSIPs { + var f19elem string + f19elem = *f19iter + f19 = append(f19, &f19elem) } - res.SetDomainDnsIps(f18) + res.SetDomainDnsIps(f19) } if cr.Spec.ForProvider.DomainFqdn != nil { res.SetDomainFqdn(*cr.Spec.ForProvider.DomainFqdn) @@ -880,13 +904,13 @@ func GenerateCreateDBInstanceInput(cr *svcapitypes.DBInstance) *svcsdk.CreateDBI res.SetDomainOu(*cr.Spec.ForProvider.DomainOu) } if cr.Spec.ForProvider.EnableCloudwatchLogsExports != nil { - f22 := []*string{} - for _, f22iter := range cr.Spec.ForProvider.EnableCloudwatchLogsExports { - var f22elem string - f22elem = *f22iter - f22 = append(f22, &f22elem) + f23 := []*string{} + for _, f23iter := range cr.Spec.ForProvider.EnableCloudwatchLogsExports { + var f23elem string + f23elem = *f23iter + f23 = append(f23, &f23elem) } - res.SetEnableCloudwatchLogsExports(f22) + res.SetEnableCloudwatchLogsExports(f23) } if cr.Spec.ForProvider.EnableCustomerOwnedIP != nil { res.SetEnableCustomerOwnedIp(*cr.Spec.ForProvider.EnableCustomerOwnedIP) @@ -930,6 +954,9 @@ func GenerateCreateDBInstanceInput(cr *svcapitypes.DBInstance) *svcsdk.CreateDBI if cr.Spec.ForProvider.MultiAZ != nil { res.SetMultiAZ(*cr.Spec.ForProvider.MultiAZ) } + if cr.Spec.ForProvider.MultiTenant != nil { + res.SetMultiTenant(*cr.Spec.ForProvider.MultiTenant) + } if cr.Spec.ForProvider.NcharCharacterSetName != nil { res.SetNcharCharacterSetName(*cr.Spec.ForProvider.NcharCharacterSetName) } @@ -955,18 +982,18 @@ func GenerateCreateDBInstanceInput(cr *svcapitypes.DBInstance) *svcsdk.CreateDBI res.SetPreferredMaintenanceWindow(*cr.Spec.ForProvider.PreferredMaintenanceWindow) } if cr.Spec.ForProvider.ProcessorFeatures != nil { - f45 := []*svcsdk.ProcessorFeature{} - for _, f45iter := range cr.Spec.ForProvider.ProcessorFeatures { - f45elem := &svcsdk.ProcessorFeature{} - if f45iter.Name != nil { - f45elem.SetName(*f45iter.Name) + f47 := []*svcsdk.ProcessorFeature{} + for _, f47iter := range cr.Spec.ForProvider.ProcessorFeatures { + f47elem := &svcsdk.ProcessorFeature{} + if f47iter.Name != nil { + f47elem.SetName(*f47iter.Name) } - if f45iter.Value != nil { - f45elem.SetValue(*f45iter.Value) + if f47iter.Value != nil { + f47elem.SetValue(*f47iter.Value) } - f45 = append(f45, f45elem) + f47 = append(f47, f47elem) } - res.SetProcessorFeatures(f45) + res.SetProcessorFeatures(f47) } if cr.Spec.ForProvider.PromotionTier != nil { res.SetPromotionTier(*cr.Spec.ForProvider.PromotionTier) @@ -984,18 +1011,18 @@ func GenerateCreateDBInstanceInput(cr *svcapitypes.DBInstance) *svcsdk.CreateDBI res.SetStorageType(*cr.Spec.ForProvider.StorageType) } if cr.Spec.ForProvider.Tags != nil { - f51 := []*svcsdk.Tag{} - for _, f51iter := range cr.Spec.ForProvider.Tags { - f51elem := &svcsdk.Tag{} - if f51iter.Key != nil { - f51elem.SetKey(*f51iter.Key) + f53 := []*svcsdk.Tag{} + for _, f53iter := range cr.Spec.ForProvider.Tags { + f53elem := &svcsdk.Tag{} + if f53iter.Key != nil { + f53elem.SetKey(*f53iter.Key) } - if f51iter.Value != nil { - f51elem.SetValue(*f51iter.Value) + if f53iter.Value != nil { + f53elem.SetValue(*f53iter.Value) } - f51 = append(f51, f51elem) + f53 = append(f53, f53elem) } - res.SetTags(f51) + res.SetTags(f53) } if cr.Spec.ForProvider.TDECredentialARN != nil { res.SetTdeCredentialArn(*cr.Spec.ForProvider.TDECredentialARN) @@ -1044,6 +1071,9 @@ func GenerateModifyDBInstanceInput(cr *svcapitypes.DBInstance) *svcsdk.ModifyDBI if cr.Spec.ForProvider.DBParameterGroupName != nil { res.SetDBParameterGroupName(*cr.Spec.ForProvider.DBParameterGroupName) } + if cr.Spec.ForProvider.DedicatedLogVolume != nil { + res.SetDedicatedLogVolume(*cr.Spec.ForProvider.DedicatedLogVolume) + } if cr.Spec.ForProvider.DeletionProtection != nil { res.SetDeletionProtection(*cr.Spec.ForProvider.DeletionProtection) } @@ -1054,13 +1084,13 @@ func GenerateModifyDBInstanceInput(cr *svcapitypes.DBInstance) *svcsdk.ModifyDBI res.SetDomainAuthSecretArn(*cr.Spec.ForProvider.DomainAuthSecretARN) } if cr.Spec.ForProvider.DomainDNSIPs != nil { - f18 := []*string{} - for _, f18iter := range cr.Spec.ForProvider.DomainDNSIPs { - var f18elem string - f18elem = *f18iter - f18 = append(f18, &f18elem) + f19 := []*string{} + for _, f19iter := range cr.Spec.ForProvider.DomainDNSIPs { + var f19elem string + f19elem = *f19iter + f19 = append(f19, &f19elem) } - res.SetDomainDnsIps(f18) + res.SetDomainDnsIps(f19) } if cr.Spec.ForProvider.DomainFqdn != nil { res.SetDomainFqdn(*cr.Spec.ForProvider.DomainFqdn) @@ -1107,6 +1137,9 @@ func GenerateModifyDBInstanceInput(cr *svcapitypes.DBInstance) *svcsdk.ModifyDBI if cr.Spec.ForProvider.MultiAZ != nil { res.SetMultiAZ(*cr.Spec.ForProvider.MultiAZ) } + if cr.Spec.ForProvider.MultiTenant != nil { + res.SetMultiTenant(*cr.Spec.ForProvider.MultiTenant) + } if cr.Spec.ForProvider.NetworkType != nil { res.SetNetworkType(*cr.Spec.ForProvider.NetworkType) } @@ -1126,18 +1159,18 @@ func GenerateModifyDBInstanceInput(cr *svcapitypes.DBInstance) *svcsdk.ModifyDBI res.SetPreferredMaintenanceWindow(*cr.Spec.ForProvider.PreferredMaintenanceWindow) } if cr.Spec.ForProvider.ProcessorFeatures != nil { - f41 := []*svcsdk.ProcessorFeature{} - for _, f41iter := range cr.Spec.ForProvider.ProcessorFeatures { - f41elem := &svcsdk.ProcessorFeature{} - if f41iter.Name != nil { - f41elem.SetName(*f41iter.Name) + f43 := []*svcsdk.ProcessorFeature{} + for _, f43iter := range cr.Spec.ForProvider.ProcessorFeatures { + f43elem := &svcsdk.ProcessorFeature{} + if f43iter.Name != nil { + f43elem.SetName(*f43iter.Name) } - if f41iter.Value != nil { - f41elem.SetValue(*f41iter.Value) + if f43iter.Value != nil { + f43elem.SetValue(*f43iter.Value) } - f41 = append(f41, f41elem) + f43 = append(f43, f43elem) } - res.SetProcessorFeatures(f41) + res.SetProcessorFeatures(f43) } if cr.Spec.ForProvider.PromotionTier != nil { res.SetPromotionTier(*cr.Spec.ForProvider.PromotionTier)