From e46f3d3ef9258d0a5830dde9557268562b992ad5 Mon Sep 17 00:00:00 2001 From: Joel Speed Date: Tue, 28 Apr 2026 09:06:29 +0100 Subject: [PATCH 1/3] fix: Move karpenter util functions out of api module We should not have external dependencies like Karpenter within the API module. This is bad practice and causes issues for consumers. Only ever depend on k8s.io/apimachinery, k8s.io/api and k8s.io/utils where possible --- .../nodeclass/ec2_nodeclass_controller.go | 12 ++-- .../controllers/nodeclass/karpenter_util.go | 56 ++++++++++--------- 2 files changed, 35 insertions(+), 33 deletions(-) rename api/karpenter/v1beta1/util.go => karpenter-operator/controllers/nodeclass/karpenter_util.go (59%) diff --git a/karpenter-operator/controllers/nodeclass/ec2_nodeclass_controller.go b/karpenter-operator/controllers/nodeclass/ec2_nodeclass_controller.go index 46e33c12b141..c2b93d69b5bc 100644 --- a/karpenter-operator/controllers/nodeclass/ec2_nodeclass_controller.go +++ b/karpenter-operator/controllers/nodeclass/ec2_nodeclass_controller.go @@ -285,13 +285,13 @@ func reconcileEC2NodeClass(ctx context.Context, ec2NodeClass *awskarpenterv1.EC2 UserData: ptr.To(string(userDataSecret.Data["value"])), AMIFamily: ptr.To("Custom"), AMISelectorTerms: amiSelectorTerms, - AssociatePublicIPAddress: openshiftEC2NodeClass.Spec.KarpenterAssociatePublicIPAddress(), + AssociatePublicIPAddress: karpenterAssociatePublicIPAddressFromNodeClassSpec(openshiftEC2NodeClass.Spec), Tags: mergeEC2NodeClassTags(ctx, openshiftEC2NodeClass, hcp), - DetailedMonitoring: openshiftEC2NodeClass.Spec.KarpenterDetailedMonitoring(), - BlockDeviceMappings: openshiftEC2NodeClass.Spec.KarpenterBlockDeviceMapping(), - InstanceStorePolicy: openshiftEC2NodeClass.Spec.KarpenterInstanceStorePolicy(), - MetadataOptions: openshiftEC2NodeClass.Spec.KarpenterMetadataOptions(), - CapacityReservationSelectorTerms: openshiftEC2NodeClass.Spec.KarpenterCapacityReservationSelectorTerms(), + DetailedMonitoring: karpenterDetailedMonitoringFromNodeClassSpec(openshiftEC2NodeClass.Spec), + BlockDeviceMappings: karpenterBlockDeviceMappingFromNodeClassSpec(openshiftEC2NodeClass.Spec), + InstanceStorePolicy: karpenterInstanceStorePolicyFromNodeClassSpec(openshiftEC2NodeClass.Spec), + MetadataOptions: karpenterMetadataOptionsFromNodeClassSpec(openshiftEC2NodeClass.Spec), + CapacityReservationSelectorTerms: karpenterCapacityReservationSelectorTermsFromNodeClassSpec(openshiftEC2NodeClass.Spec), } // Set instance profile from HostedCluster annotation (platform-controlled) diff --git a/api/karpenter/v1beta1/util.go b/karpenter-operator/controllers/nodeclass/karpenter_util.go similarity index 59% rename from api/karpenter/v1beta1/util.go rename to karpenter-operator/controllers/nodeclass/karpenter_util.go index b9587dc9fa26..1f150d035276 100644 --- a/api/karpenter/v1beta1/util.go +++ b/karpenter-operator/controllers/nodeclass/karpenter_util.go @@ -1,16 +1,18 @@ -package v1beta1 +package nodeclass import ( "fmt" "strings" + hyperkarpenterv1 "github.com/openshift/hypershift/api/karpenter/v1beta1" + awskarpenterv1 "github.com/aws/karpenter-provider-aws/pkg/apis/v1" "k8s.io/apimachinery/pkg/api/resource" "k8s.io/utils/ptr" ) -func (spec OpenshiftEC2NodeClassSpec) KarpenterBlockDeviceMapping() []*awskarpenterv1.BlockDeviceMapping { +func karpenterBlockDeviceMappingFromNodeClassSpec(spec hyperkarpenterv1.OpenshiftEC2NodeClassSpec) []*awskarpenterv1.BlockDeviceMapping { if spec.BlockDeviceMappings == nil { return nil } @@ -18,15 +20,15 @@ func (spec OpenshiftEC2NodeClassSpec) KarpenterBlockDeviceMapping() []*awskarpen for _, mapping := range spec.BlockDeviceMappings { blockDeviceMapping = append(blockDeviceMapping, &awskarpenterv1.BlockDeviceMapping{ DeviceName: ptrIfNonEmpty(mapping.DeviceName), - RootVolume: mapping.RootVolume == RootVolumeDesignationRootVolume, - EBS: mapping.EBS.ToKarpenterTypes(), + RootVolume: mapping.RootVolume == hyperkarpenterv1.RootVolumeDesignationRootVolume, + EBS: karpenterBlockDeviceFromBlockDevice(mapping.EBS), }) } return blockDeviceMapping } -func (spec OpenshiftEC2NodeClassSpec) KarpenterCapacityReservationSelectorTerms() []awskarpenterv1.CapacityReservationSelectorTerm { +func karpenterCapacityReservationSelectorTermsFromNodeClassSpec(spec hyperkarpenterv1.OpenshiftEC2NodeClassSpec) []awskarpenterv1.CapacityReservationSelectorTerm { if spec.CapacityReservationSelectorTerms == nil { return nil } @@ -44,66 +46,66 @@ func (spec OpenshiftEC2NodeClassSpec) KarpenterCapacityReservationSelectorTerms( return terms } -func (spec OpenshiftEC2NodeClassSpec) KarpenterInstanceStorePolicy() *awskarpenterv1.InstanceStorePolicy { +func karpenterInstanceStorePolicyFromNodeClassSpec(spec hyperkarpenterv1.OpenshiftEC2NodeClassSpec) *awskarpenterv1.InstanceStorePolicy { if spec.InstanceStorePolicy == "" { return nil } return (*awskarpenterv1.InstanceStorePolicy)(&spec.InstanceStorePolicy) } -func (spec OpenshiftEC2NodeClassSpec) KarpenterAssociatePublicIPAddress() *bool { +func karpenterAssociatePublicIPAddressFromNodeClassSpec(spec hyperkarpenterv1.OpenshiftEC2NodeClassSpec) *bool { switch spec.IPAddressAssociation { - case IPAddressAssociationPublic: + case hyperkarpenterv1.IPAddressAssociationPublic: return ptr.To(true) - case IPAddressAssociationSubnetDefault: + case hyperkarpenterv1.IPAddressAssociationSubnetDefault: return ptr.To(false) default: return nil } } -func (spec OpenshiftEC2NodeClassSpec) KarpenterMetadataOptions() *awskarpenterv1.MetadataOptions { +func karpenterMetadataOptionsFromNodeClassSpec(spec hyperkarpenterv1.OpenshiftEC2NodeClassSpec) *awskarpenterv1.MetadataOptions { mo := spec.MetadataOptions if mo.Access == "" && mo.HTTPIPProtocol == "" && mo.HTTPPutResponseHopLimit == 0 && mo.HTTPTokens == "" { return nil } opts := &awskarpenterv1.MetadataOptions{} switch mo.Access { - case MetadataAccessHTTPEndpoint: + case hyperkarpenterv1.MetadataAccessHTTPEndpoint: opts.HTTPEndpoint = ptr.To("enabled") - case MetadataAccessNone: + case hyperkarpenterv1.MetadataAccessNone: opts.HTTPEndpoint = ptr.To("disabled") } switch mo.HTTPIPProtocol { - case MetadataHTTPProtocolIPv6: + case hyperkarpenterv1.MetadataHTTPProtocolIPv6: opts.HTTPProtocolIPv6 = ptr.To("enabled") - case MetadataHTTPProtocolIPv4: + case hyperkarpenterv1.MetadataHTTPProtocolIPv4: opts.HTTPProtocolIPv6 = ptr.To("disabled") } if mo.HTTPPutResponseHopLimit != 0 { opts.HTTPPutResponseHopLimit = ptr.To(mo.HTTPPutResponseHopLimit) } switch mo.HTTPTokens { - case MetadataHTTPTokensStateRequired: + case hyperkarpenterv1.MetadataHTTPTokensStateRequired: opts.HTTPTokens = ptr.To("required") - case MetadataHTTPTokensStateOptional: + case hyperkarpenterv1.MetadataHTTPTokensStateOptional: opts.HTTPTokens = ptr.To("optional") } return opts } -func (spec OpenshiftEC2NodeClassSpec) KarpenterDetailedMonitoring() *bool { +func karpenterDetailedMonitoringFromNodeClassSpec(spec hyperkarpenterv1.OpenshiftEC2NodeClassSpec) *bool { switch spec.Monitoring { - case MonitoringStateDetailed: + case hyperkarpenterv1.MonitoringStateDetailed: return ptr.To(true) - case MonitoringStateBasic: + case hyperkarpenterv1.MonitoringStateBasic: return ptr.To(false) default: return nil } } -func (bd BlockDevice) ToKarpenterTypes() *awskarpenterv1.BlockDevice { +func karpenterBlockDeviceFromBlockDevice(bd hyperkarpenterv1.BlockDevice) *awskarpenterv1.BlockDevice { return &awskarpenterv1.BlockDevice{ DeleteOnTermination: deleteOnTerminationToBool(bd.DeleteOnTermination), Encrypted: encryptionStateToBool(bd.Encrypted), @@ -116,22 +118,22 @@ func (bd BlockDevice) ToKarpenterTypes() *awskarpenterv1.BlockDevice { } } -func deleteOnTerminationToBool(policy DeleteOnTerminationPolicy) *bool { +func deleteOnTerminationToBool(policy hyperkarpenterv1.DeleteOnTerminationPolicy) *bool { switch policy { - case DeleteOnTerminationPolicyDelete: + case hyperkarpenterv1.DeleteOnTerminationPolicyDelete: return ptr.To(true) - case DeleteOnTerminationPolicyRetain: + case hyperkarpenterv1.DeleteOnTerminationPolicyRetain: return ptr.To(false) default: return nil } } -func encryptionStateToBool(state EncryptionState) *bool { +func encryptionStateToBool(state hyperkarpenterv1.EncryptionState) *bool { switch state { - case EncryptionStateEncrypted: + case hyperkarpenterv1.EncryptionStateEncrypted: return ptr.To(true) - case EncryptionStateUnencrypted: + case hyperkarpenterv1.EncryptionStateUnencrypted: return ptr.To(false) default: return nil @@ -146,7 +148,7 @@ func volumeSizeGiBToQuantity(sizeGiB int64) *resource.Quantity { return &q } -func volumeTypeToKarpenter(vt VolumeType) *string { +func volumeTypeToKarpenter(vt hyperkarpenterv1.VolumeType) *string { if vt == "" { return nil } From b2389968641a298b94cbf9ac276a3108cffdc72e Mon Sep 17 00:00:00 2001 From: Joel Speed Date: Tue, 28 Apr 2026 09:08:09 +0100 Subject: [PATCH 2/3] chore: Update go mod for api module This removes the dependency on karpenter for external imports of the api module --- api/go.mod | 70 +- api/go.sum | 166 +- .../aws/aws-sdk-go-v2/service/ec2/LICENSE.txt | 202 - .../aws-sdk-go-v2/service/ec2/types/enums.go | 12252 -------- .../aws-sdk-go-v2/service/ec2/types/types.go | 25560 ---------------- .../aws/karpenter-provider-aws/LICENSE | 202 - .../aws/karpenter-provider-aws/NOTICE | 2 - .../karpenter-provider-aws/pkg/apis/apis.go | 43 - .../karpenter.k8s.aws_ec2nodeclasses.yaml | 851 - .../apis/crds/karpenter.sh_nodeclaims.yaml | 395 - .../apis/crds/karpenter.sh_nodeoverlays.yaml | 228 - .../pkg/apis/crds/karpenter.sh_nodepools.yaml | 556 - .../karpenter-provider-aws/pkg/apis/v1/doc.go | 40 - .../pkg/apis/v1/ec2nodeclass.go | 659 - .../pkg/apis/v1/ec2nodeclass_defaults.go | 22 - .../pkg/apis/v1/ec2nodeclass_status.go | 263 - .../pkg/apis/v1/labels.go | 169 - .../pkg/apis/v1/zz_generated.deepcopy.go | 636 - api/vendor/github.com/aws/smithy-go/LICENSE | 175 - api/vendor/github.com/aws/smithy-go/NOTICE | 1 - .../github.com/aws/smithy-go/document/doc.go | 12 - .../aws/smithy-go/document/document.go | 153 - .../aws/smithy-go/document/errors.go | 75 - .../github.com/awslabs/operatorpkg/LICENSE | 175 - .../github.com/awslabs/operatorpkg/NOTICE | 1 - .../awslabs/operatorpkg/metrics/metrics.go | 126 - .../awslabs/operatorpkg/metrics/multi.go | 103 - .../awslabs/operatorpkg/metrics/prometheus.go | 113 - .../awslabs/operatorpkg/metrics/types.go | 31 - .../awslabs/operatorpkg/object/object.go | 62 - .../awslabs/operatorpkg/option/environment.go | 13 - .../awslabs/operatorpkg/option/function.go | 13 - .../awslabs/operatorpkg/serrors/logger.go | 39 - .../awslabs/operatorpkg/serrors/serrors.go | 97 - .../awslabs/operatorpkg/status/condition.go | 58 - .../operatorpkg/status/condition_set.go | 281 - .../awslabs/operatorpkg/status/controller.go | 395 - .../awslabs/operatorpkg/status/doc.go | 3 - .../awslabs/operatorpkg/status/metrics.go | 156 - .../status/unstructured_adapter.go | 91 - .../status/zz_generated.deepcopy.go | 24 - .../operatorpkg/unstructured/unstructured.go | 95 - api/vendor/github.com/beorn7/perks/LICENSE | 20 - .../beorn7/perks/quantile/exampledata.txt | 2388 -- .../beorn7/perks/quantile/stream.go | 316 - .../github.com/cespare/xxhash/v2/LICENSE.txt | 22 - .../github.com/cespare/xxhash/v2/README.md | 74 - .../github.com/cespare/xxhash/v2/testall.sh | 10 - .../github.com/cespare/xxhash/v2/xxhash.go | 243 - .../cespare/xxhash/v2/xxhash_amd64.s | 209 - .../cespare/xxhash/v2/xxhash_arm64.s | 183 - .../cespare/xxhash/v2/xxhash_asm.go | 15 - .../cespare/xxhash/v2/xxhash_other.go | 76 - .../cespare/xxhash/v2/xxhash_safe.go | 16 - .../cespare/xxhash/v2/xxhash_unsafe.go | 58 - api/vendor/github.com/davecgh/go-spew/LICENSE | 15 - .../github.com/davecgh/go-spew/spew/bypass.go | 145 - .../davecgh/go-spew/spew/bypasssafe.go | 38 - .../github.com/davecgh/go-spew/spew/common.go | 341 - .../github.com/davecgh/go-spew/spew/config.go | 306 - .../github.com/davecgh/go-spew/spew/doc.go | 211 - .../github.com/davecgh/go-spew/spew/dump.go | 509 - .../github.com/davecgh/go-spew/spew/format.go | 419 - .../github.com/davecgh/go-spew/spew/spew.go | 148 - .../emicklei/go-restful/v3/.gitignore | 71 - .../emicklei/go-restful/v3/.goconvey | 1 - .../emicklei/go-restful/v3/.travis.yml | 13 - .../emicklei/go-restful/v3/CHANGES.md | 417 - .../github.com/emicklei/go-restful/v3/LICENSE | 22 - .../emicklei/go-restful/v3/Makefile | 8 - .../emicklei/go-restful/v3/README.md | 110 - .../emicklei/go-restful/v3/SECURITY.md | 13 - .../github.com/emicklei/go-restful/v3/Srcfile | 1 - .../emicklei/go-restful/v3/bench_test.sh | 10 - .../emicklei/go-restful/v3/compress.go | 137 - .../go-restful/v3/compressor_cache.go | 103 - .../go-restful/v3/compressor_pools.go | 91 - .../emicklei/go-restful/v3/compressors.go | 54 - .../emicklei/go-restful/v3/constants.go | 32 - .../emicklei/go-restful/v3/container.go | 450 - .../emicklei/go-restful/v3/cors_filter.go | 193 - .../emicklei/go-restful/v3/coverage.sh | 2 - .../emicklei/go-restful/v3/curly.go | 181 - .../emicklei/go-restful/v3/curly_route.go | 54 - .../emicklei/go-restful/v3/custom_verb.go | 29 - .../github.com/emicklei/go-restful/v3/doc.go | 185 - .../go-restful/v3/entity_accessors.go | 169 - .../emicklei/go-restful/v3/extensions.go | 21 - .../emicklei/go-restful/v3/filter.go | 37 - .../emicklei/go-restful/v3/filter_adapter.go | 21 - .../emicklei/go-restful/v3/jsr311.go | 313 - .../emicklei/go-restful/v3/log/log.go | 34 - .../emicklei/go-restful/v3/logger.go | 32 - .../github.com/emicklei/go-restful/v3/mime.go | 50 - .../emicklei/go-restful/v3/options_filter.go | 34 - .../emicklei/go-restful/v3/parameter.go | 242 - .../emicklei/go-restful/v3/path_expression.go | 74 - .../emicklei/go-restful/v3/path_processor.go | 74 - .../emicklei/go-restful/v3/request.go | 133 - .../emicklei/go-restful/v3/response.go | 259 - .../emicklei/go-restful/v3/route.go | 193 - .../emicklei/go-restful/v3/route_builder.go | 389 - .../emicklei/go-restful/v3/route_reader.go | 66 - .../emicklei/go-restful/v3/router.go | 20 - .../emicklei/go-restful/v3/service_error.go | 32 - .../emicklei/go-restful/v3/web_service.go | 305 - .../go-restful/v3/web_service_container.go | 39 - .../github.com/evanphx/json-patch/v5/LICENSE | 25 - .../evanphx/json-patch/v5/errors.go | 38 - .../json-patch/v5/internal/json/decode.go | 1385 - .../json-patch/v5/internal/json/encode.go | 1486 - .../json-patch/v5/internal/json/fold.go | 141 - .../json-patch/v5/internal/json/fuzz.go | 42 - .../json-patch/v5/internal/json/indent.go | 143 - .../json-patch/v5/internal/json/scanner.go | 610 - .../json-patch/v5/internal/json/stream.go | 495 - .../json-patch/v5/internal/json/tables.go | 218 - .../json-patch/v5/internal/json/tags.go | 38 - .../github.com/evanphx/json-patch/v5/merge.go | 444 - .../github.com/evanphx/json-patch/v5/patch.go | 1305 - .../github.com/fsnotify/fsnotify/.cirrus.yml | 14 - .../github.com/fsnotify/fsnotify/.gitignore | 10 - .../github.com/fsnotify/fsnotify/.mailmap | 2 - .../github.com/fsnotify/fsnotify/CHANGELOG.md | 602 - .../fsnotify/fsnotify/CONTRIBUTING.md | 145 - .../github.com/fsnotify/fsnotify/LICENSE | 25 - .../github.com/fsnotify/fsnotify/README.md | 182 - .../fsnotify/fsnotify/backend_fen.go | 467 - .../fsnotify/fsnotify/backend_inotify.go | 583 - .../fsnotify/fsnotify/backend_kqueue.go | 705 - .../fsnotify/fsnotify/backend_other.go | 22 - .../fsnotify/fsnotify/backend_windows.go | 680 - .../github.com/fsnotify/fsnotify/fsnotify.go | 496 - .../fsnotify/fsnotify/internal/darwin.go | 39 - .../fsnotify/internal/debug_darwin.go | 57 - .../fsnotify/internal/debug_dragonfly.go | 33 - .../fsnotify/internal/debug_freebsd.go | 42 - .../fsnotify/internal/debug_kqueue.go | 32 - .../fsnotify/fsnotify/internal/debug_linux.go | 56 - .../fsnotify/internal/debug_netbsd.go | 25 - .../fsnotify/internal/debug_openbsd.go | 28 - .../fsnotify/internal/debug_solaris.go | 45 - .../fsnotify/internal/debug_windows.go | 40 - .../fsnotify/fsnotify/internal/freebsd.go | 31 - .../fsnotify/fsnotify/internal/internal.go | 2 - .../fsnotify/fsnotify/internal/unix.go | 31 - .../fsnotify/fsnotify/internal/unix2.go | 7 - .../fsnotify/fsnotify/internal/windows.go | 41 - .../github.com/fsnotify/fsnotify/shared.go | 64 - .../fsnotify/fsnotify/staticcheck.conf | 3 - .../fsnotify/fsnotify/system_bsd.go | 7 - .../fsnotify/fsnotify/system_darwin.go | 8 - .../go-openapi/jsonpointer/.editorconfig | 26 - .../go-openapi/jsonpointer/.gitignore | 1 - .../go-openapi/jsonpointer/.golangci.yml | 56 - .../go-openapi/jsonpointer/CODE_OF_CONDUCT.md | 74 - .../github.com/go-openapi/jsonpointer/LICENSE | 202 - .../go-openapi/jsonpointer/README.md | 19 - .../go-openapi/jsonpointer/errors.go | 18 - .../go-openapi/jsonpointer/pointer.go | 530 - .../go-openapi/jsonreference/.gitignore | 1 - .../go-openapi/jsonreference/.golangci.yml | 61 - .../jsonreference/CODE_OF_CONDUCT.md | 74 - .../go-openapi/jsonreference/LICENSE | 202 - .../go-openapi/jsonreference/README.md | 19 - .../jsonreference/internal/normalize_url.go | 69 - .../go-openapi/jsonreference/reference.go | 158 - .../github.com/go-openapi/swag/.editorconfig | 26 - .../github.com/go-openapi/swag/.gitattributes | 2 - .../github.com/go-openapi/swag/.gitignore | 5 - .../github.com/go-openapi/swag/.golangci.yml | 56 - .../github.com/go-openapi/swag/BENCHMARK.md | 52 - .../go-openapi/swag/CODE_OF_CONDUCT.md | 74 - api/vendor/github.com/go-openapi/swag/LICENSE | 202 - .../github.com/go-openapi/swag/README.md | 23 - .../github.com/go-openapi/swag/convert.go | 208 - .../go-openapi/swag/convert_types.go | 730 - api/vendor/github.com/go-openapi/swag/doc.go | 31 - .../github.com/go-openapi/swag/errors.go | 15 - api/vendor/github.com/go-openapi/swag/file.go | 33 - .../go-openapi/swag/initialism_index.go | 202 - api/vendor/github.com/go-openapi/swag/json.go | 313 - .../github.com/go-openapi/swag/loading.go | 176 - .../github.com/go-openapi/swag/name_lexem.go | 93 - api/vendor/github.com/go-openapi/swag/net.go | 38 - api/vendor/github.com/go-openapi/swag/path.go | 59 - .../github.com/go-openapi/swag/split.go | 508 - .../go-openapi/swag/string_bytes.go | 8 - api/vendor/github.com/go-openapi/swag/util.go | 364 - api/vendor/github.com/go-openapi/swag/yaml.go | 481 - api/vendor/github.com/google/btree/LICENSE | 202 - api/vendor/github.com/google/btree/README.md | 10 - api/vendor/github.com/google/btree/btree.go | 893 - .../github.com/google/btree/btree_generic.go | 1083 - .../github.com/google/gnostic-models/LICENSE | 203 - .../google/gnostic-models/compiler/README.md | 4 - .../google/gnostic-models/compiler/context.go | 49 - .../google/gnostic-models/compiler/error.go | 70 - .../gnostic-models/compiler/extensions.go | 86 - .../google/gnostic-models/compiler/helpers.go | 397 - .../google/gnostic-models/compiler/main.go | 16 - .../google/gnostic-models/compiler/reader.go | 307 - .../gnostic-models/extensions/README.md | 13 - .../gnostic-models/extensions/extension.pb.go | 403 - .../gnostic-models/extensions/extension.proto | 97 - .../gnostic-models/extensions/extensions.go | 64 - .../gnostic-models/jsonschema/README.md | 4 - .../google/gnostic-models/jsonschema/base.go | 97 - .../gnostic-models/jsonschema/display.go | 229 - .../gnostic-models/jsonschema/models.go | 228 - .../gnostic-models/jsonschema/operations.go | 394 - .../gnostic-models/jsonschema/reader.go | 442 - .../gnostic-models/jsonschema/schema.json | 150 - .../gnostic-models/jsonschema/writer.go | 369 - .../gnostic-models/openapiv2/OpenAPIv2.go | 8820 ------ .../gnostic-models/openapiv2/OpenAPIv2.pb.go | 6507 ---- .../gnostic-models/openapiv2/OpenAPIv2.proto | 666 - .../google/gnostic-models/openapiv2/README.md | 14 - .../gnostic-models/openapiv2/document.go | 42 - .../gnostic-models/openapiv2/openapi-2.0.json | 1610 - .../gnostic-models/openapiv3/OpenAPIv3.go | 8633 ------ .../gnostic-models/openapiv3/OpenAPIv3.pb.go | 6972 ----- .../gnostic-models/openapiv3/OpenAPIv3.proto | 672 - .../google/gnostic-models/openapiv3/README.md | 21 - .../openapiv3/annotations.pb.go | 182 - .../openapiv3/annotations.proto | 56 - .../gnostic-models/openapiv3/document.go | 42 - api/vendor/github.com/google/go-cmp/LICENSE | 27 - .../github.com/google/go-cmp/cmp/compare.go | 671 - .../github.com/google/go-cmp/cmp/export.go | 31 - .../go-cmp/cmp/internal/diff/debug_disable.go | 18 - .../go-cmp/cmp/internal/diff/debug_enable.go | 123 - .../google/go-cmp/cmp/internal/diff/diff.go | 402 - .../google/go-cmp/cmp/internal/flags/flags.go | 9 - .../go-cmp/cmp/internal/function/func.go | 106 - .../google/go-cmp/cmp/internal/value/name.go | 164 - .../go-cmp/cmp/internal/value/pointer.go | 34 - .../google/go-cmp/cmp/internal/value/sort.go | 106 - .../github.com/google/go-cmp/cmp/options.go | 562 - .../github.com/google/go-cmp/cmp/path.go | 390 - .../github.com/google/go-cmp/cmp/report.go | 54 - .../google/go-cmp/cmp/report_compare.go | 433 - .../google/go-cmp/cmp/report_references.go | 264 - .../google/go-cmp/cmp/report_reflect.go | 414 - .../google/go-cmp/cmp/report_slices.go | 614 - .../google/go-cmp/cmp/report_text.go | 432 - .../google/go-cmp/cmp/report_value.go | 121 - .../github.com/google/uuid/CHANGELOG.md | 41 - .../github.com/google/uuid/CONTRIBUTING.md | 26 - .../github.com/google/uuid/CONTRIBUTORS | 9 - api/vendor/github.com/google/uuid/LICENSE | 27 - api/vendor/github.com/google/uuid/README.md | 21 - api/vendor/github.com/google/uuid/dce.go | 80 - api/vendor/github.com/google/uuid/doc.go | 12 - api/vendor/github.com/google/uuid/hash.go | 59 - api/vendor/github.com/google/uuid/marshal.go | 38 - api/vendor/github.com/google/uuid/node.go | 90 - api/vendor/github.com/google/uuid/node_js.go | 12 - api/vendor/github.com/google/uuid/node_net.go | 33 - api/vendor/github.com/google/uuid/null.go | 118 - api/vendor/github.com/google/uuid/sql.go | 59 - api/vendor/github.com/google/uuid/time.go | 134 - api/vendor/github.com/google/uuid/util.go | 43 - api/vendor/github.com/google/uuid/uuid.go | 365 - api/vendor/github.com/google/uuid/version1.go | 44 - api/vendor/github.com/google/uuid/version4.go | 76 - api/vendor/github.com/google/uuid/version6.go | 56 - api/vendor/github.com/google/uuid/version7.go | 104 - .../inconshreveable/mousetrap/LICENSE | 201 - .../inconshreveable/mousetrap/README.md | 23 - .../inconshreveable/mousetrap/trap_others.go | 16 - .../inconshreveable/mousetrap/trap_windows.go | 42 - .../github.com/josharian/intern/README.md | 5 - .../github.com/josharian/intern/intern.go | 44 - .../github.com/josharian/intern/license.md | 21 - api/vendor/github.com/mailru/easyjson/LICENSE | 7 - .../github.com/mailru/easyjson/buffer/pool.go | 278 - .../mailru/easyjson/jlexer/bytestostr.go | 21 - .../easyjson/jlexer/bytestostr_nounsafe.go | 13 - .../mailru/easyjson/jlexer/error.go | 15 - .../mailru/easyjson/jlexer/lexer.go | 1257 - .../mailru/easyjson/jwriter/writer.go | 417 - .../mitchellh/hashstructure/v2/LICENSE | 21 - .../mitchellh/hashstructure/v2/README.md | 76 - .../mitchellh/hashstructure/v2/errors.go | 22 - .../hashstructure/v2/hashstructure.go | 482 - .../mitchellh/hashstructure/v2/include.go | 22 - .../github.com/munnerz/goautoneg/LICENSE | 31 - .../github.com/munnerz/goautoneg/Makefile | 13 - .../github.com/munnerz/goautoneg/README.txt | 67 - .../github.com/munnerz/goautoneg/autoneg.go | 189 - .../patrickmn/go-cache/CONTRIBUTORS | 9 - .../github.com/patrickmn/go-cache/LICENSE | 19 - .../github.com/patrickmn/go-cache/README.md | 83 - .../github.com/patrickmn/go-cache/cache.go | 1161 - .../github.com/patrickmn/go-cache/sharded.go | 192 - api/vendor/github.com/pkg/errors/.gitignore | 24 - api/vendor/github.com/pkg/errors/.travis.yml | 10 - api/vendor/github.com/pkg/errors/LICENSE | 23 - api/vendor/github.com/pkg/errors/Makefile | 44 - api/vendor/github.com/pkg/errors/README.md | 59 - api/vendor/github.com/pkg/errors/appveyor.yml | 32 - api/vendor/github.com/pkg/errors/errors.go | 288 - api/vendor/github.com/pkg/errors/go113.go | 38 - api/vendor/github.com/pkg/errors/stack.go | 177 - .../github.com/pmezard/go-difflib/LICENSE | 27 - .../pmezard/go-difflib/difflib/difflib.go | 772 - .../prometheus/client_golang/LICENSE | 201 - .../prometheus/client_golang/NOTICE | 18 - .../internal/github.com/golang/gddo/LICENSE | 27 - .../golang/gddo/httputil/header/header.go | 145 - .../golang/gddo/httputil/negotiate.go | 36 - .../client_golang/prometheus/.gitignore | 1 - .../client_golang/prometheus/README.md | 1 - .../prometheus/build_info_collector.go | 38 - .../client_golang/prometheus/collector.go | 128 - .../client_golang/prometheus/collectorfunc.go | 30 - .../prometheus/collectors/collectors.go | 40 - .../collectors/dbstats_collector.go | 119 - .../prometheus/collectors/expvar_collector.go | 57 - .../collectors/go_collector_go116.go | 49 - .../collectors/go_collector_latest.go | 167 - .../collectors/process_collector.go | 56 - .../client_golang/prometheus/counter.go | 358 - .../client_golang/prometheus/desc.go | 211 - .../client_golang/prometheus/doc.go | 210 - .../prometheus/expvar_collector.go | 86 - .../client_golang/prometheus/fnv.go | 42 - .../client_golang/prometheus/gauge.go | 311 - .../client_golang/prometheus/get_pid.go | 26 - .../prometheus/get_pid_gopherjs.go | 23 - .../client_golang/prometheus/go_collector.go | 274 - .../prometheus/go_collector_go116.go | 122 - .../prometheus/go_collector_latest.go | 574 - .../client_golang/prometheus/histogram.go | 2056 -- .../prometheus/internal/almost_equal.go | 60 - .../prometheus/internal/difflib.go | 655 - .../internal/go_collector_options.go | 34 - .../prometheus/internal/go_runtime_metrics.go | 143 - .../prometheus/internal/metric.go | 101 - .../client_golang/prometheus/labels.go | 189 - .../client_golang/prometheus/metric.go | 276 - .../client_golang/prometheus/num_threads.go | 25 - .../prometheus/num_threads_gopherjs.go | 22 - .../client_golang/prometheus/observer.go | 64 - .../prometheus/process_collector.go | 180 - .../prometheus/process_collector_darwin.go | 130 - .../process_collector_mem_cgo_darwin.c | 84 - .../process_collector_mem_cgo_darwin.go | 51 - .../process_collector_mem_nocgo_darwin.go | 39 - .../process_collector_not_supported.go | 33 - .../process_collector_procfsenabled.go | 96 - .../prometheus/process_collector_windows.go | 125 - .../prometheus/promhttp/delegator.go | 380 - .../client_golang/prometheus/promhttp/http.go | 492 - .../prometheus/promhttp/instrument_client.go | 249 - .../prometheus/promhttp/instrument_server.go | 576 - .../promhttp/internal/compression.go | 21 - .../prometheus/promhttp/option.go | 84 - .../client_golang/prometheus/registry.go | 1076 - .../client_golang/prometheus/summary.go | 830 - .../client_golang/prometheus/timer.go | 81 - .../client_golang/prometheus/untyped.go | 42 - .../client_golang/prometheus/value.go | 274 - .../client_golang/prometheus/vec.go | 709 - .../client_golang/prometheus/vnext.go | 23 - .../client_golang/prometheus/wrap.go | 248 - .../prometheus/client_model/LICENSE | 201 - .../github.com/prometheus/client_model/NOTICE | 5 - .../prometheus/client_model/go/metrics.pb.go | 1399 - .../github.com/prometheus/common/LICENSE | 201 - .../github.com/prometheus/common/NOTICE | 5 - .../prometheus/common/expfmt/decode.go | 464 - .../prometheus/common/expfmt/encode.go | 196 - .../prometheus/common/expfmt/expfmt.go | 212 - .../prometheus/common/expfmt/fuzz.go | 39 - .../common/expfmt/openmetrics_create.go | 712 - .../prometheus/common/expfmt/text_create.go | 532 - .../prometheus/common/expfmt/text_parse.go | 997 - .../prometheus/common/model/alert.go | 162 - .../prometheus/common/model/fingerprinting.go | 105 - .../github.com/prometheus/common/model/fnv.go | 42 - .../prometheus/common/model/labels.go | 229 - .../prometheus/common/model/labelset.go | 158 - .../common/model/labelset_string.go | 43 - .../prometheus/common/model/metadata.go | 28 - .../prometheus/common/model/metric.go | 593 - .../prometheus/common/model/model.go | 16 - .../prometheus/common/model/signature.go | 142 - .../prometheus/common/model/silence.go | 107 - .../prometheus/common/model/time.go | 359 - .../prometheus/common/model/value.go | 365 - .../prometheus/common/model/value_float.go | 99 - .../common/model/value_histogram.go | 179 - .../prometheus/common/model/value_type.go | 83 - .../github.com/prometheus/procfs/.gitignore | 2 - .../prometheus/procfs/.golangci.yml | 45 - .../prometheus/procfs/CODE_OF_CONDUCT.md | 3 - .../prometheus/procfs/CONTRIBUTING.md | 121 - .../github.com/prometheus/procfs/LICENSE | 201 - .../prometheus/procfs/MAINTAINERS.md | 3 - .../github.com/prometheus/procfs/Makefile | 31 - .../prometheus/procfs/Makefile.common | 283 - .../github.com/prometheus/procfs/NOTICE | 7 - .../github.com/prometheus/procfs/README.md | 61 - .../github.com/prometheus/procfs/SECURITY.md | 6 - .../github.com/prometheus/procfs/arp.go | 116 - .../github.com/prometheus/procfs/buddyinfo.go | 85 - .../github.com/prometheus/procfs/cmdline.go | 30 - .../github.com/prometheus/procfs/cpuinfo.go | 519 - .../prometheus/procfs/cpuinfo_armx.go | 20 - .../prometheus/procfs/cpuinfo_loong64.go | 19 - .../prometheus/procfs/cpuinfo_mipsx.go | 20 - .../prometheus/procfs/cpuinfo_others.go | 19 - .../prometheus/procfs/cpuinfo_ppcx.go | 20 - .../prometheus/procfs/cpuinfo_riscvx.go | 20 - .../prometheus/procfs/cpuinfo_s390x.go | 19 - .../prometheus/procfs/cpuinfo_x86.go | 20 - .../github.com/prometheus/procfs/crypto.go | 154 - .../github.com/prometheus/procfs/doc.go | 44 - api/vendor/github.com/prometheus/procfs/fs.go | 56 - .../prometheus/procfs/fs_statfs_notype.go | 23 - .../prometheus/procfs/fs_statfs_type.go | 33 - .../github.com/prometheus/procfs/fscache.go | 422 - .../prometheus/procfs/internal/fs/fs.go | 58 - .../prometheus/procfs/internal/util/parse.go | 126 - .../procfs/internal/util/readfile.go | 37 - .../procfs/internal/util/sysreadfile.go | 70 - .../internal/util/sysreadfile_compat.go | 27 - .../procfs/internal/util/valueparser.go | 91 - .../github.com/prometheus/procfs/ipvs.go | 241 - .../prometheus/procfs/kernel_random.go | 63 - .../github.com/prometheus/procfs/loadavg.go | 62 - .../github.com/prometheus/procfs/mdstat.go | 276 - .../github.com/prometheus/procfs/meminfo.go | 389 - .../github.com/prometheus/procfs/mountinfo.go | 180 - .../prometheus/procfs/mountstats.go | 710 - .../prometheus/procfs/net_conntrackstat.go | 118 - .../github.com/prometheus/procfs/net_dev.go | 205 - .../prometheus/procfs/net_dev_snmp6.go | 96 - .../prometheus/procfs/net_ip_socket.go | 248 - .../prometheus/procfs/net_protocols.go | 183 - .../github.com/prometheus/procfs/net_route.go | 143 - .../prometheus/procfs/net_sockstat.go | 162 - .../prometheus/procfs/net_softnet.go | 155 - .../github.com/prometheus/procfs/net_tcp.go | 68 - .../prometheus/procfs/net_tls_stat.go | 119 - .../github.com/prometheus/procfs/net_udp.go | 64 - .../github.com/prometheus/procfs/net_unix.go | 257 - .../prometheus/procfs/net_wireless.go | 182 - .../github.com/prometheus/procfs/net_xfrm.go | 189 - .../github.com/prometheus/procfs/netstat.go | 82 - .../github.com/prometheus/procfs/proc.go | 338 - .../prometheus/procfs/proc_cgroup.go | 98 - .../prometheus/procfs/proc_cgroups.go | 98 - .../prometheus/procfs/proc_environ.go | 37 - .../prometheus/procfs/proc_fdinfo.go | 138 - .../prometheus/procfs/proc_interrupts.go | 98 - .../github.com/prometheus/procfs/proc_io.go | 59 - .../prometheus/procfs/proc_limits.go | 160 - .../github.com/prometheus/procfs/proc_maps.go | 211 - .../prometheus/procfs/proc_netstat.go | 443 - .../github.com/prometheus/procfs/proc_ns.go | 68 - .../github.com/prometheus/procfs/proc_psi.go | 102 - .../prometheus/procfs/proc_smaps.go | 164 - .../github.com/prometheus/procfs/proc_snmp.go | 353 - .../prometheus/procfs/proc_snmp6.go | 381 - .../github.com/prometheus/procfs/proc_stat.go | 229 - .../prometheus/procfs/proc_status.go | 242 - .../github.com/prometheus/procfs/proc_sys.go | 51 - .../github.com/prometheus/procfs/schedstat.go | 121 - .../github.com/prometheus/procfs/slab.go | 151 - .../github.com/prometheus/procfs/softirqs.go | 160 - .../github.com/prometheus/procfs/stat.go | 258 - .../github.com/prometheus/procfs/swaps.go | 89 - .../github.com/prometheus/procfs/thread.go | 80 - api/vendor/github.com/prometheus/procfs/ttar | 413 - api/vendor/github.com/prometheus/procfs/vm.go | 212 - .../github.com/prometheus/procfs/zoneinfo.go | 196 - .../github.com/robfig/cron/v3/.gitignore | 22 - .../github.com/robfig/cron/v3/.travis.yml | 1 - api/vendor/github.com/robfig/cron/v3/LICENSE | 21 - .../github.com/robfig/cron/v3/README.md | 125 - api/vendor/github.com/robfig/cron/v3/chain.go | 92 - .../robfig/cron/v3/constantdelay.go | 27 - api/vendor/github.com/robfig/cron/v3/cron.go | 355 - api/vendor/github.com/robfig/cron/v3/doc.go | 231 - .../github.com/robfig/cron/v3/logger.go | 86 - .../github.com/robfig/cron/v3/option.go | 45 - .../github.com/robfig/cron/v3/parser.go | 434 - api/vendor/github.com/robfig/cron/v3/spec.go | 188 - api/vendor/github.com/samber/lo/.gitignore | 38 - api/vendor/github.com/samber/lo/Dockerfile | 8 - api/vendor/github.com/samber/lo/LICENSE | 21 - api/vendor/github.com/samber/lo/Makefile | 42 - api/vendor/github.com/samber/lo/README.md | 4213 --- api/vendor/github.com/samber/lo/channel.go | 314 - .../github.com/samber/lo/concurrency.go | 136 - api/vendor/github.com/samber/lo/condition.go | 151 - .../github.com/samber/lo/constraints.go | 6 - api/vendor/github.com/samber/lo/errors.go | 381 - api/vendor/github.com/samber/lo/find.go | 651 - api/vendor/github.com/samber/lo/func.go | 41 - .../lo/internal/constraints/constraints.go | 42 - .../lo/internal/constraints/ordered_go118.go | 11 - .../lo/internal/constraints/ordered_go121.go | 9 - .../samber/lo/internal/rand/ordered_go118.go | 26 - .../samber/lo/internal/rand/ordered_go122.go | 17 - api/vendor/github.com/samber/lo/intersect.go | 265 - api/vendor/github.com/samber/lo/map.go | 344 - api/vendor/github.com/samber/lo/math.go | 142 - .../github.com/samber/lo/mutable/slice.go | 71 - api/vendor/github.com/samber/lo/retry.go | 375 - api/vendor/github.com/samber/lo/slice.go | 745 - api/vendor/github.com/samber/lo/string.go | 234 - api/vendor/github.com/samber/lo/time.go | 85 - api/vendor/github.com/samber/lo/tuples.go | 1149 - .../github.com/samber/lo/type_manipulation.go | 189 - api/vendor/github.com/samber/lo/types.go | 123 - api/vendor/github.com/spf13/cobra/.gitignore | 39 - .../github.com/spf13/cobra/.golangci.yml | 66 - api/vendor/github.com/spf13/cobra/.mailmap | 3 - api/vendor/github.com/spf13/cobra/CONDUCT.md | 37 - .../github.com/spf13/cobra/CONTRIBUTING.md | 50 - api/vendor/github.com/spf13/cobra/LICENSE.txt | 174 - api/vendor/github.com/spf13/cobra/MAINTAINERS | 13 - api/vendor/github.com/spf13/cobra/Makefile | 35 - api/vendor/github.com/spf13/cobra/README.md | 133 - api/vendor/github.com/spf13/cobra/SECURITY.md | 105 - .../github.com/spf13/cobra/active_help.go | 60 - api/vendor/github.com/spf13/cobra/args.go | 131 - .../spf13/cobra/bash_completions.go | 709 - .../spf13/cobra/bash_completionsV2.go | 484 - api/vendor/github.com/spf13/cobra/cobra.go | 246 - api/vendor/github.com/spf13/cobra/command.go | 2072 -- .../github.com/spf13/cobra/command_notwin.go | 20 - .../github.com/spf13/cobra/command_win.go | 41 - .../github.com/spf13/cobra/completions.go | 1020 - .../spf13/cobra/fish_completions.go | 292 - .../github.com/spf13/cobra/flag_groups.go | 290 - .../spf13/cobra/powershell_completions.go | 350 - .../spf13/cobra/shell_completions.go | 98 - .../github.com/spf13/cobra/zsh_completions.go | 308 - .../github.com/spf13/pflag/.editorconfig | 12 - api/vendor/github.com/spf13/pflag/.gitignore | 2 - .../github.com/spf13/pflag/.golangci.yaml | 4 - api/vendor/github.com/spf13/pflag/.travis.yml | 22 - api/vendor/github.com/spf13/pflag/LICENSE | 28 - api/vendor/github.com/spf13/pflag/README.md | 323 - api/vendor/github.com/spf13/pflag/bool.go | 94 - .../github.com/spf13/pflag/bool_func.go | 40 - .../github.com/spf13/pflag/bool_slice.go | 185 - api/vendor/github.com/spf13/pflag/bytes.go | 209 - api/vendor/github.com/spf13/pflag/count.go | 96 - api/vendor/github.com/spf13/pflag/duration.go | 86 - .../github.com/spf13/pflag/duration_slice.go | 166 - api/vendor/github.com/spf13/pflag/errors.go | 149 - api/vendor/github.com/spf13/pflag/flag.go | 1289 - api/vendor/github.com/spf13/pflag/float32.go | 88 - .../github.com/spf13/pflag/float32_slice.go | 174 - api/vendor/github.com/spf13/pflag/float64.go | 84 - .../github.com/spf13/pflag/float64_slice.go | 166 - api/vendor/github.com/spf13/pflag/func.go | 37 - .../github.com/spf13/pflag/golangflag.go | 161 - api/vendor/github.com/spf13/pflag/int.go | 84 - api/vendor/github.com/spf13/pflag/int16.go | 88 - api/vendor/github.com/spf13/pflag/int32.go | 88 - .../github.com/spf13/pflag/int32_slice.go | 174 - api/vendor/github.com/spf13/pflag/int64.go | 84 - .../github.com/spf13/pflag/int64_slice.go | 166 - api/vendor/github.com/spf13/pflag/int8.go | 88 - .../github.com/spf13/pflag/int_slice.go | 158 - api/vendor/github.com/spf13/pflag/ip.go | 97 - api/vendor/github.com/spf13/pflag/ip_slice.go | 186 - api/vendor/github.com/spf13/pflag/ipmask.go | 122 - api/vendor/github.com/spf13/pflag/ipnet.go | 98 - .../github.com/spf13/pflag/ipnet_slice.go | 147 - api/vendor/github.com/spf13/pflag/string.go | 80 - .../github.com/spf13/pflag/string_array.go | 125 - .../github.com/spf13/pflag/string_slice.go | 163 - .../github.com/spf13/pflag/string_to_int.go | 149 - .../github.com/spf13/pflag/string_to_int64.go | 149 - .../spf13/pflag/string_to_string.go | 168 - api/vendor/github.com/spf13/pflag/text.go | 81 - api/vendor/github.com/spf13/pflag/time.go | 124 - api/vendor/github.com/spf13/pflag/uint.go | 88 - api/vendor/github.com/spf13/pflag/uint16.go | 88 - api/vendor/github.com/spf13/pflag/uint32.go | 88 - api/vendor/github.com/spf13/pflag/uint64.go | 88 - api/vendor/github.com/spf13/pflag/uint8.go | 88 - .../github.com/spf13/pflag/uint_slice.go | 168 - api/vendor/go.uber.org/multierr/.codecov.yml | 15 - api/vendor/go.uber.org/multierr/.gitignore | 4 - api/vendor/go.uber.org/multierr/CHANGELOG.md | 95 - api/vendor/go.uber.org/multierr/LICENSE.txt | 19 - api/vendor/go.uber.org/multierr/Makefile | 38 - api/vendor/go.uber.org/multierr/README.md | 43 - api/vendor/go.uber.org/multierr/error.go | 646 - .../go.uber.org/multierr/error_post_go120.go | 48 - .../go.uber.org/multierr/error_pre_go120.go | 79 - api/vendor/go.yaml.in/yaml/v3/LICENSE | 50 - api/vendor/go.yaml.in/yaml/v3/NOTICE | 13 - api/vendor/go.yaml.in/yaml/v3/README.md | 171 - api/vendor/go.yaml.in/yaml/v3/apic.go | 747 - api/vendor/go.yaml.in/yaml/v3/decode.go | 1018 - api/vendor/go.yaml.in/yaml/v3/emitterc.go | 2054 -- api/vendor/go.yaml.in/yaml/v3/encode.go | 577 - api/vendor/go.yaml.in/yaml/v3/parserc.go | 1274 - api/vendor/go.yaml.in/yaml/v3/readerc.go | 434 - api/vendor/go.yaml.in/yaml/v3/resolve.go | 326 - api/vendor/go.yaml.in/yaml/v3/scannerc.go | 3040 -- api/vendor/go.yaml.in/yaml/v3/sorter.go | 134 - api/vendor/go.yaml.in/yaml/v3/writerc.go | 48 - api/vendor/go.yaml.in/yaml/v3/yaml.go | 703 - api/vendor/go.yaml.in/yaml/v3/yamlh.go | 811 - api/vendor/go.yaml.in/yaml/v3/yamlprivateh.go | 198 - api/vendor/golang.org/x/oauth2/.travis.yml | 13 - .../golang.org/x/oauth2/CONTRIBUTING.md | 26 - api/vendor/golang.org/x/oauth2/LICENSE | 27 - api/vendor/golang.org/x/oauth2/README.md | 35 - api/vendor/golang.org/x/oauth2/deviceauth.go | 227 - .../golang.org/x/oauth2/internal/doc.go | 6 - .../golang.org/x/oauth2/internal/oauth2.go | 37 - .../golang.org/x/oauth2/internal/token.go | 356 - .../golang.org/x/oauth2/internal/transport.go | 28 - api/vendor/golang.org/x/oauth2/oauth2.go | 423 - api/vendor/golang.org/x/oauth2/pkce.go | 69 - api/vendor/golang.org/x/oauth2/token.go | 213 - api/vendor/golang.org/x/oauth2/transport.go | 75 - api/vendor/golang.org/x/sync/LICENSE | 27 - api/vendor/golang.org/x/sync/PATENTS | 22 - .../golang.org/x/sync/errgroup/errgroup.go | 151 - api/vendor/golang.org/x/sys/LICENSE | 27 - api/vendor/golang.org/x/sys/PATENTS | 22 - api/vendor/golang.org/x/sys/plan9/asm.s | 8 - .../golang.org/x/sys/plan9/asm_plan9_386.s | 30 - .../golang.org/x/sys/plan9/asm_plan9_amd64.s | 30 - .../golang.org/x/sys/plan9/asm_plan9_arm.s | 25 - .../golang.org/x/sys/plan9/const_plan9.go | 70 - .../golang.org/x/sys/plan9/dir_plan9.go | 212 - .../golang.org/x/sys/plan9/env_plan9.go | 31 - .../golang.org/x/sys/plan9/errors_plan9.go | 50 - api/vendor/golang.org/x/sys/plan9/mkall.sh | 150 - api/vendor/golang.org/x/sys/plan9/mkerrors.sh | 246 - .../golang.org/x/sys/plan9/mksysnum_plan9.sh | 23 - .../golang.org/x/sys/plan9/pwd_plan9.go | 19 - api/vendor/golang.org/x/sys/plan9/race.go | 30 - api/vendor/golang.org/x/sys/plan9/race0.go | 25 - api/vendor/golang.org/x/sys/plan9/str.go | 22 - api/vendor/golang.org/x/sys/plan9/syscall.go | 109 - .../golang.org/x/sys/plan9/syscall_plan9.go | 361 - .../x/sys/plan9/zsyscall_plan9_386.go | 284 - .../x/sys/plan9/zsyscall_plan9_amd64.go | 284 - .../x/sys/plan9/zsyscall_plan9_arm.go | 284 - .../golang.org/x/sys/plan9/zsysnum_plan9.go | 49 - api/vendor/golang.org/x/sys/unix/.gitignore | 2 - api/vendor/golang.org/x/sys/unix/README.md | 184 - .../golang.org/x/sys/unix/affinity_linux.go | 93 - api/vendor/golang.org/x/sys/unix/aliases.go | 13 - .../golang.org/x/sys/unix/asm_aix_ppc64.s | 17 - .../golang.org/x/sys/unix/asm_bsd_386.s | 27 - .../golang.org/x/sys/unix/asm_bsd_amd64.s | 27 - .../golang.org/x/sys/unix/asm_bsd_arm.s | 27 - .../golang.org/x/sys/unix/asm_bsd_arm64.s | 27 - .../golang.org/x/sys/unix/asm_bsd_ppc64.s | 29 - .../golang.org/x/sys/unix/asm_bsd_riscv64.s | 27 - .../golang.org/x/sys/unix/asm_linux_386.s | 65 - .../golang.org/x/sys/unix/asm_linux_amd64.s | 57 - .../golang.org/x/sys/unix/asm_linux_arm.s | 56 - .../golang.org/x/sys/unix/asm_linux_arm64.s | 50 - .../golang.org/x/sys/unix/asm_linux_loong64.s | 51 - .../golang.org/x/sys/unix/asm_linux_mips64x.s | 54 - .../golang.org/x/sys/unix/asm_linux_mipsx.s | 52 - .../golang.org/x/sys/unix/asm_linux_ppc64x.s | 42 - .../golang.org/x/sys/unix/asm_linux_riscv64.s | 47 - .../golang.org/x/sys/unix/asm_linux_s390x.s | 54 - .../x/sys/unix/asm_openbsd_mips64.s | 29 - .../golang.org/x/sys/unix/asm_solaris_amd64.s | 17 - .../golang.org/x/sys/unix/asm_zos_s390x.s | 382 - api/vendor/golang.org/x/sys/unix/auxv.go | 36 - .../golang.org/x/sys/unix/auxv_unsupported.go | 13 - .../golang.org/x/sys/unix/bluetooth_linux.go | 36 - .../golang.org/x/sys/unix/bpxsvc_zos.go | 657 - api/vendor/golang.org/x/sys/unix/bpxsvc_zos.s | 192 - .../golang.org/x/sys/unix/cap_freebsd.go | 195 - api/vendor/golang.org/x/sys/unix/constants.go | 13 - .../golang.org/x/sys/unix/dev_aix_ppc.go | 26 - .../golang.org/x/sys/unix/dev_aix_ppc64.go | 28 - .../golang.org/x/sys/unix/dev_darwin.go | 24 - .../golang.org/x/sys/unix/dev_dragonfly.go | 30 - .../golang.org/x/sys/unix/dev_freebsd.go | 30 - api/vendor/golang.org/x/sys/unix/dev_linux.go | 42 - .../golang.org/x/sys/unix/dev_netbsd.go | 29 - .../golang.org/x/sys/unix/dev_openbsd.go | 29 - api/vendor/golang.org/x/sys/unix/dev_zos.go | 28 - api/vendor/golang.org/x/sys/unix/dirent.go | 102 - .../golang.org/x/sys/unix/endian_big.go | 9 - .../golang.org/x/sys/unix/endian_little.go | 9 - api/vendor/golang.org/x/sys/unix/env_unix.go | 31 - api/vendor/golang.org/x/sys/unix/fcntl.go | 36 - .../golang.org/x/sys/unix/fcntl_darwin.go | 24 - .../x/sys/unix/fcntl_linux_32bit.go | 13 - api/vendor/golang.org/x/sys/unix/fdset.go | 27 - api/vendor/golang.org/x/sys/unix/gccgo.go | 59 - api/vendor/golang.org/x/sys/unix/gccgo_c.c | 44 - .../x/sys/unix/gccgo_linux_amd64.go | 20 - .../golang.org/x/sys/unix/ifreq_linux.go | 139 - .../golang.org/x/sys/unix/ioctl_linux.go | 334 - .../golang.org/x/sys/unix/ioctl_signed.go | 74 - .../golang.org/x/sys/unix/ioctl_unsigned.go | 74 - api/vendor/golang.org/x/sys/unix/ioctl_zos.go | 71 - api/vendor/golang.org/x/sys/unix/mkall.sh | 250 - api/vendor/golang.org/x/sys/unix/mkerrors.sh | 811 - .../golang.org/x/sys/unix/mmap_nomremap.go | 13 - api/vendor/golang.org/x/sys/unix/mremap.go | 57 - .../golang.org/x/sys/unix/pagesize_unix.go | 15 - .../golang.org/x/sys/unix/pledge_openbsd.go | 111 - .../golang.org/x/sys/unix/ptrace_darwin.go | 11 - .../golang.org/x/sys/unix/ptrace_ios.go | 11 - api/vendor/golang.org/x/sys/unix/race.go | 30 - api/vendor/golang.org/x/sys/unix/race0.go | 25 - .../x/sys/unix/readdirent_getdents.go | 12 - .../x/sys/unix/readdirent_getdirentries.go | 19 - .../x/sys/unix/sockcmsg_dragonfly.go | 16 - .../golang.org/x/sys/unix/sockcmsg_linux.go | 85 - .../golang.org/x/sys/unix/sockcmsg_unix.go | 106 - .../x/sys/unix/sockcmsg_unix_other.go | 46 - .../golang.org/x/sys/unix/sockcmsg_zos.go | 58 - .../golang.org/x/sys/unix/symaddr_zos_s390x.s | 75 - api/vendor/golang.org/x/sys/unix/syscall.go | 86 - .../golang.org/x/sys/unix/syscall_aix.go | 582 - .../golang.org/x/sys/unix/syscall_aix_ppc.go | 52 - .../x/sys/unix/syscall_aix_ppc64.go | 83 - .../golang.org/x/sys/unix/syscall_bsd.go | 609 - .../golang.org/x/sys/unix/syscall_darwin.go | 800 - .../x/sys/unix/syscall_darwin_amd64.go | 50 - .../x/sys/unix/syscall_darwin_arm64.go | 50 - .../x/sys/unix/syscall_darwin_libSystem.go | 26 - .../x/sys/unix/syscall_dragonfly.go | 359 - .../x/sys/unix/syscall_dragonfly_amd64.go | 56 - .../golang.org/x/sys/unix/syscall_freebsd.go | 455 - .../x/sys/unix/syscall_freebsd_386.go | 64 - .../x/sys/unix/syscall_freebsd_amd64.go | 64 - .../x/sys/unix/syscall_freebsd_arm.go | 60 - .../x/sys/unix/syscall_freebsd_arm64.go | 60 - .../x/sys/unix/syscall_freebsd_riscv64.go | 60 - .../golang.org/x/sys/unix/syscall_hurd.go | 30 - .../golang.org/x/sys/unix/syscall_hurd_386.go | 28 - .../golang.org/x/sys/unix/syscall_illumos.go | 78 - .../golang.org/x/sys/unix/syscall_linux.go | 2651 -- .../x/sys/unix/syscall_linux_386.go | 314 - .../x/sys/unix/syscall_linux_alarm.go | 12 - .../x/sys/unix/syscall_linux_amd64.go | 145 - .../x/sys/unix/syscall_linux_amd64_gc.go | 12 - .../x/sys/unix/syscall_linux_arm.go | 216 - .../x/sys/unix/syscall_linux_arm64.go | 186 - .../golang.org/x/sys/unix/syscall_linux_gc.go | 14 - .../x/sys/unix/syscall_linux_gc_386.go | 16 - .../x/sys/unix/syscall_linux_gc_arm.go | 13 - .../x/sys/unix/syscall_linux_gccgo_386.go | 30 - .../x/sys/unix/syscall_linux_gccgo_arm.go | 20 - .../x/sys/unix/syscall_linux_loong64.go | 218 - .../x/sys/unix/syscall_linux_mips64x.go | 188 - .../x/sys/unix/syscall_linux_mipsx.go | 174 - .../x/sys/unix/syscall_linux_ppc.go | 204 - .../x/sys/unix/syscall_linux_ppc64x.go | 115 - .../x/sys/unix/syscall_linux_riscv64.go | 191 - .../x/sys/unix/syscall_linux_s390x.go | 296 - .../x/sys/unix/syscall_linux_sparc64.go | 112 - .../golang.org/x/sys/unix/syscall_netbsd.go | 388 - .../x/sys/unix/syscall_netbsd_386.go | 37 - .../x/sys/unix/syscall_netbsd_amd64.go | 37 - .../x/sys/unix/syscall_netbsd_arm.go | 37 - .../x/sys/unix/syscall_netbsd_arm64.go | 37 - .../golang.org/x/sys/unix/syscall_openbsd.go | 342 - .../x/sys/unix/syscall_openbsd_386.go | 41 - .../x/sys/unix/syscall_openbsd_amd64.go | 41 - .../x/sys/unix/syscall_openbsd_arm.go | 41 - .../x/sys/unix/syscall_openbsd_arm64.go | 41 - .../x/sys/unix/syscall_openbsd_libc.go | 26 - .../x/sys/unix/syscall_openbsd_mips64.go | 39 - .../x/sys/unix/syscall_openbsd_ppc64.go | 41 - .../x/sys/unix/syscall_openbsd_riscv64.go | 41 - .../golang.org/x/sys/unix/syscall_solaris.go | 1183 - .../x/sys/unix/syscall_solaris_amd64.go | 27 - .../golang.org/x/sys/unix/syscall_unix.go | 619 - .../golang.org/x/sys/unix/syscall_unix_gc.go | 14 - .../x/sys/unix/syscall_unix_gc_ppc64x.go | 22 - .../x/sys/unix/syscall_zos_s390x.go | 3213 -- .../golang.org/x/sys/unix/sysvshm_linux.go | 20 - .../golang.org/x/sys/unix/sysvshm_unix.go | 51 - .../x/sys/unix/sysvshm_unix_other.go | 13 - .../golang.org/x/sys/unix/timestruct.go | 76 - .../golang.org/x/sys/unix/unveil_openbsd.go | 51 - .../golang.org/x/sys/unix/vgetrandom_linux.go | 13 - .../x/sys/unix/vgetrandom_unsupported.go | 11 - api/vendor/golang.org/x/sys/unix/xattr_bsd.go | 280 - .../golang.org/x/sys/unix/zerrors_aix_ppc.go | 1384 - .../x/sys/unix/zerrors_aix_ppc64.go | 1385 - .../x/sys/unix/zerrors_darwin_amd64.go | 1922 -- .../x/sys/unix/zerrors_darwin_arm64.go | 1922 -- .../x/sys/unix/zerrors_dragonfly_amd64.go | 1737 -- .../x/sys/unix/zerrors_freebsd_386.go | 2042 -- .../x/sys/unix/zerrors_freebsd_amd64.go | 2039 -- .../x/sys/unix/zerrors_freebsd_arm.go | 2033 -- .../x/sys/unix/zerrors_freebsd_arm64.go | 2033 -- .../x/sys/unix/zerrors_freebsd_riscv64.go | 2147 -- .../golang.org/x/sys/unix/zerrors_linux.go | 4144 --- .../x/sys/unix/zerrors_linux_386.go | 878 - .../x/sys/unix/zerrors_linux_amd64.go | 878 - .../x/sys/unix/zerrors_linux_arm.go | 883 - .../x/sys/unix/zerrors_linux_arm64.go | 880 - .../x/sys/unix/zerrors_linux_loong64.go | 870 - .../x/sys/unix/zerrors_linux_mips.go | 884 - .../x/sys/unix/zerrors_linux_mips64.go | 884 - .../x/sys/unix/zerrors_linux_mips64le.go | 884 - .../x/sys/unix/zerrors_linux_mipsle.go | 884 - .../x/sys/unix/zerrors_linux_ppc.go | 936 - .../x/sys/unix/zerrors_linux_ppc64.go | 940 - .../x/sys/unix/zerrors_linux_ppc64le.go | 940 - .../x/sys/unix/zerrors_linux_riscv64.go | 867 - .../x/sys/unix/zerrors_linux_s390x.go | 939 - .../x/sys/unix/zerrors_linux_sparc64.go | 982 - .../x/sys/unix/zerrors_netbsd_386.go | 1779 -- .../x/sys/unix/zerrors_netbsd_amd64.go | 1769 -- .../x/sys/unix/zerrors_netbsd_arm.go | 1758 -- .../x/sys/unix/zerrors_netbsd_arm64.go | 1769 -- .../x/sys/unix/zerrors_openbsd_386.go | 1905 -- .../x/sys/unix/zerrors_openbsd_amd64.go | 1905 -- .../x/sys/unix/zerrors_openbsd_arm.go | 1905 -- .../x/sys/unix/zerrors_openbsd_arm64.go | 1905 -- .../x/sys/unix/zerrors_openbsd_mips64.go | 1905 -- .../x/sys/unix/zerrors_openbsd_ppc64.go | 1904 -- .../x/sys/unix/zerrors_openbsd_riscv64.go | 1903 -- .../x/sys/unix/zerrors_solaris_amd64.go | 1556 - .../x/sys/unix/zerrors_zos_s390x.go | 990 - .../x/sys/unix/zptrace_armnn_linux.go | 40 - .../x/sys/unix/zptrace_linux_arm64.go | 17 - .../x/sys/unix/zptrace_mipsnn_linux.go | 49 - .../x/sys/unix/zptrace_mipsnnle_linux.go | 49 - .../x/sys/unix/zptrace_x86_linux.go | 79 - .../x/sys/unix/zsymaddr_zos_s390x.s | 364 - .../golang.org/x/sys/unix/zsyscall_aix_ppc.go | 1461 - .../x/sys/unix/zsyscall_aix_ppc64.go | 1420 - .../x/sys/unix/zsyscall_aix_ppc64_gc.go | 1188 - .../x/sys/unix/zsyscall_aix_ppc64_gccgo.go | 1069 - .../x/sys/unix/zsyscall_darwin_amd64.go | 2728 -- .../x/sys/unix/zsyscall_darwin_amd64.s | 799 - .../x/sys/unix/zsyscall_darwin_arm64.go | 2728 -- .../x/sys/unix/zsyscall_darwin_arm64.s | 799 - .../x/sys/unix/zsyscall_dragonfly_amd64.go | 1666 - .../x/sys/unix/zsyscall_freebsd_386.go | 1886 -- .../x/sys/unix/zsyscall_freebsd_amd64.go | 1886 -- .../x/sys/unix/zsyscall_freebsd_arm.go | 1886 -- .../x/sys/unix/zsyscall_freebsd_arm64.go | 1886 -- .../x/sys/unix/zsyscall_freebsd_riscv64.go | 1886 -- .../x/sys/unix/zsyscall_illumos_amd64.go | 101 - .../golang.org/x/sys/unix/zsyscall_linux.go | 2250 -- .../x/sys/unix/zsyscall_linux_386.go | 486 - .../x/sys/unix/zsyscall_linux_amd64.go | 653 - .../x/sys/unix/zsyscall_linux_arm.go | 601 - .../x/sys/unix/zsyscall_linux_arm64.go | 552 - .../x/sys/unix/zsyscall_linux_loong64.go | 486 - .../x/sys/unix/zsyscall_linux_mips.go | 653 - .../x/sys/unix/zsyscall_linux_mips64.go | 647 - .../x/sys/unix/zsyscall_linux_mips64le.go | 636 - .../x/sys/unix/zsyscall_linux_mipsle.go | 653 - .../x/sys/unix/zsyscall_linux_ppc.go | 658 - .../x/sys/unix/zsyscall_linux_ppc64.go | 704 - .../x/sys/unix/zsyscall_linux_ppc64le.go | 704 - .../x/sys/unix/zsyscall_linux_riscv64.go | 548 - .../x/sys/unix/zsyscall_linux_s390x.go | 495 - .../x/sys/unix/zsyscall_linux_sparc64.go | 648 - .../x/sys/unix/zsyscall_netbsd_386.go | 1848 -- .../x/sys/unix/zsyscall_netbsd_amd64.go | 1848 -- .../x/sys/unix/zsyscall_netbsd_arm.go | 1848 -- .../x/sys/unix/zsyscall_netbsd_arm64.go | 1848 -- .../x/sys/unix/zsyscall_openbsd_386.go | 2323 -- .../x/sys/unix/zsyscall_openbsd_386.s | 699 - .../x/sys/unix/zsyscall_openbsd_amd64.go | 2323 -- .../x/sys/unix/zsyscall_openbsd_amd64.s | 699 - .../x/sys/unix/zsyscall_openbsd_arm.go | 2323 -- .../x/sys/unix/zsyscall_openbsd_arm.s | 699 - .../x/sys/unix/zsyscall_openbsd_arm64.go | 2323 -- .../x/sys/unix/zsyscall_openbsd_arm64.s | 699 - .../x/sys/unix/zsyscall_openbsd_mips64.go | 2323 -- .../x/sys/unix/zsyscall_openbsd_mips64.s | 699 - .../x/sys/unix/zsyscall_openbsd_ppc64.go | 2323 -- .../x/sys/unix/zsyscall_openbsd_ppc64.s | 838 - .../x/sys/unix/zsyscall_openbsd_riscv64.go | 2323 -- .../x/sys/unix/zsyscall_openbsd_riscv64.s | 699 - .../x/sys/unix/zsyscall_solaris_amd64.go | 2217 -- .../x/sys/unix/zsyscall_zos_s390x.go | 3458 --- .../x/sys/unix/zsysctl_openbsd_386.go | 280 - .../x/sys/unix/zsysctl_openbsd_amd64.go | 280 - .../x/sys/unix/zsysctl_openbsd_arm.go | 280 - .../x/sys/unix/zsysctl_openbsd_arm64.go | 280 - .../x/sys/unix/zsysctl_openbsd_mips64.go | 280 - .../x/sys/unix/zsysctl_openbsd_ppc64.go | 280 - .../x/sys/unix/zsysctl_openbsd_riscv64.go | 281 - .../x/sys/unix/zsysnum_darwin_amd64.go | 439 - .../x/sys/unix/zsysnum_darwin_arm64.go | 437 - .../x/sys/unix/zsysnum_dragonfly_amd64.go | 316 - .../x/sys/unix/zsysnum_freebsd_386.go | 393 - .../x/sys/unix/zsysnum_freebsd_amd64.go | 393 - .../x/sys/unix/zsysnum_freebsd_arm.go | 393 - .../x/sys/unix/zsysnum_freebsd_arm64.go | 393 - .../x/sys/unix/zsysnum_freebsd_riscv64.go | 393 - .../x/sys/unix/zsysnum_linux_386.go | 466 - .../x/sys/unix/zsysnum_linux_amd64.go | 389 - .../x/sys/unix/zsysnum_linux_arm.go | 430 - .../x/sys/unix/zsysnum_linux_arm64.go | 333 - .../x/sys/unix/zsysnum_linux_loong64.go | 329 - .../x/sys/unix/zsysnum_linux_mips.go | 450 - .../x/sys/unix/zsysnum_linux_mips64.go | 380 - .../x/sys/unix/zsysnum_linux_mips64le.go | 380 - .../x/sys/unix/zsysnum_linux_mipsle.go | 450 - .../x/sys/unix/zsysnum_linux_ppc.go | 457 - .../x/sys/unix/zsysnum_linux_ppc64.go | 429 - .../x/sys/unix/zsysnum_linux_ppc64le.go | 429 - .../x/sys/unix/zsysnum_linux_riscv64.go | 334 - .../x/sys/unix/zsysnum_linux_s390x.go | 395 - .../x/sys/unix/zsysnum_linux_sparc64.go | 408 - .../x/sys/unix/zsysnum_netbsd_386.go | 274 - .../x/sys/unix/zsysnum_netbsd_amd64.go | 274 - .../x/sys/unix/zsysnum_netbsd_arm.go | 274 - .../x/sys/unix/zsysnum_netbsd_arm64.go | 274 - .../x/sys/unix/zsysnum_openbsd_386.go | 219 - .../x/sys/unix/zsysnum_openbsd_amd64.go | 219 - .../x/sys/unix/zsysnum_openbsd_arm.go | 219 - .../x/sys/unix/zsysnum_openbsd_arm64.go | 218 - .../x/sys/unix/zsysnum_openbsd_mips64.go | 221 - .../x/sys/unix/zsysnum_openbsd_ppc64.go | 217 - .../x/sys/unix/zsysnum_openbsd_riscv64.go | 218 - .../x/sys/unix/zsysnum_zos_s390x.go | 2852 -- .../golang.org/x/sys/unix/ztypes_aix_ppc.go | 353 - .../golang.org/x/sys/unix/ztypes_aix_ppc64.go | 357 - .../x/sys/unix/ztypes_darwin_amd64.go | 878 - .../x/sys/unix/ztypes_darwin_arm64.go | 878 - .../x/sys/unix/ztypes_dragonfly_amd64.go | 473 - .../x/sys/unix/ztypes_freebsd_386.go | 651 - .../x/sys/unix/ztypes_freebsd_amd64.go | 656 - .../x/sys/unix/ztypes_freebsd_arm.go | 642 - .../x/sys/unix/ztypes_freebsd_arm64.go | 636 - .../x/sys/unix/ztypes_freebsd_riscv64.go | 638 - .../golang.org/x/sys/unix/ztypes_linux.go | 6365 ---- .../golang.org/x/sys/unix/ztypes_linux_386.go | 705 - .../x/sys/unix/ztypes_linux_amd64.go | 719 - .../golang.org/x/sys/unix/ztypes_linux_arm.go | 699 - .../x/sys/unix/ztypes_linux_arm64.go | 698 - .../x/sys/unix/ztypes_linux_loong64.go | 699 - .../x/sys/unix/ztypes_linux_mips.go | 704 - .../x/sys/unix/ztypes_linux_mips64.go | 701 - .../x/sys/unix/ztypes_linux_mips64le.go | 701 - .../x/sys/unix/ztypes_linux_mipsle.go | 704 - .../golang.org/x/sys/unix/ztypes_linux_ppc.go | 712 - .../x/sys/unix/ztypes_linux_ppc64.go | 707 - .../x/sys/unix/ztypes_linux_ppc64le.go | 707 - .../x/sys/unix/ztypes_linux_riscv64.go | 786 - .../x/sys/unix/ztypes_linux_s390x.go | 721 - .../x/sys/unix/ztypes_linux_sparc64.go | 702 - .../x/sys/unix/ztypes_netbsd_386.go | 585 - .../x/sys/unix/ztypes_netbsd_amd64.go | 593 - .../x/sys/unix/ztypes_netbsd_arm.go | 590 - .../x/sys/unix/ztypes_netbsd_arm64.go | 593 - .../x/sys/unix/ztypes_openbsd_386.go | 568 - .../x/sys/unix/ztypes_openbsd_amd64.go | 568 - .../x/sys/unix/ztypes_openbsd_arm.go | 575 - .../x/sys/unix/ztypes_openbsd_arm64.go | 568 - .../x/sys/unix/ztypes_openbsd_mips64.go | 568 - .../x/sys/unix/ztypes_openbsd_ppc64.go | 570 - .../x/sys/unix/ztypes_openbsd_riscv64.go | 570 - .../x/sys/unix/ztypes_solaris_amd64.go | 516 - .../golang.org/x/sys/unix/ztypes_zos_s390x.go | 552 - .../golang.org/x/sys/windows/aliases.go | 12 - .../golang.org/x/sys/windows/dll_windows.go | 415 - .../golang.org/x/sys/windows/env_windows.go | 57 - .../golang.org/x/sys/windows/eventlog.go | 20 - .../golang.org/x/sys/windows/exec_windows.go | 248 - .../x/sys/windows/memory_windows.go | 48 - .../golang.org/x/sys/windows/mkerrors.bash | 70 - .../x/sys/windows/mkknownfolderids.bash | 27 - .../golang.org/x/sys/windows/mksyscall.go | 9 - api/vendor/golang.org/x/sys/windows/race.go | 30 - api/vendor/golang.org/x/sys/windows/race0.go | 25 - .../x/sys/windows/security_windows.go | 1497 - .../golang.org/x/sys/windows/service.go | 257 - .../x/sys/windows/setupapi_windows.go | 1425 - api/vendor/golang.org/x/sys/windows/str.go | 22 - .../golang.org/x/sys/windows/syscall.go | 104 - .../x/sys/windows/syscall_windows.go | 1952 -- .../golang.org/x/sys/windows/types_windows.go | 4025 --- .../x/sys/windows/types_windows_386.go | 35 - .../x/sys/windows/types_windows_amd64.go | 34 - .../x/sys/windows/types_windows_arm.go | 35 - .../x/sys/windows/types_windows_arm64.go | 34 - .../x/sys/windows/zerrors_windows.go | 9468 ------ .../x/sys/windows/zknownfolderids_windows.go | 149 - .../x/sys/windows/zsyscall_windows.go | 4757 --- api/vendor/golang.org/x/term/CONTRIBUTING.md | 26 - api/vendor/golang.org/x/term/LICENSE | 27 - api/vendor/golang.org/x/term/PATENTS | 22 - api/vendor/golang.org/x/term/README.md | 16 - api/vendor/golang.org/x/term/codereview.cfg | 1 - api/vendor/golang.org/x/term/term.go | 60 - api/vendor/golang.org/x/term/term_plan9.go | 42 - api/vendor/golang.org/x/term/term_unix.go | 91 - api/vendor/golang.org/x/term/term_unix_bsd.go | 12 - .../golang.org/x/term/term_unix_other.go | 12 - .../golang.org/x/term/term_unsupported.go | 38 - api/vendor/golang.org/x/term/term_windows.go | 82 - api/vendor/golang.org/x/term/terminal.go | 1074 - api/vendor/golang.org/x/text/cases/cases.go | 162 - api/vendor/golang.org/x/text/cases/context.go | 376 - api/vendor/golang.org/x/text/cases/fold.go | 34 - api/vendor/golang.org/x/text/cases/icu.go | 61 - api/vendor/golang.org/x/text/cases/info.go | 82 - api/vendor/golang.org/x/text/cases/map.go | 816 - .../golang.org/x/text/cases/tables15.0.0.go | 2527 -- .../golang.org/x/text/cases/tables17.0.0.go | 2642 -- api/vendor/golang.org/x/text/cases/trieval.go | 217 - .../golang.org/x/text/internal/internal.go | 49 - .../x/text/internal/language/common.go | 16 - .../x/text/internal/language/compact.go | 29 - .../text/internal/language/compact/compact.go | 61 - .../internal/language/compact/language.go | 260 - .../text/internal/language/compact/parents.go | 120 - .../text/internal/language/compact/tables.go | 1015 - .../x/text/internal/language/compact/tags.go | 91 - .../x/text/internal/language/compose.go | 167 - .../x/text/internal/language/coverage.go | 28 - .../x/text/internal/language/language.go | 627 - .../x/text/internal/language/lookup.go | 412 - .../x/text/internal/language/match.go | 226 - .../x/text/internal/language/parse.go | 608 - .../x/text/internal/language/tables.go | 3494 --- .../x/text/internal/language/tags.go | 48 - .../golang.org/x/text/internal/match.go | 67 - .../golang.org/x/text/internal/tag/tag.go | 100 - .../golang.org/x/text/language/coverage.go | 187 - api/vendor/golang.org/x/text/language/doc.go | 98 - .../golang.org/x/text/language/language.go | 605 - .../golang.org/x/text/language/match.go | 735 - .../golang.org/x/text/language/parse.go | 256 - .../golang.org/x/text/language/tables.go | 298 - api/vendor/golang.org/x/text/language/tags.go | 145 - api/vendor/golang.org/x/time/LICENSE | 27 - api/vendor/golang.org/x/time/PATENTS | 22 - api/vendor/golang.org/x/time/rate/rate.go | 427 - .../golang.org/x/time/rate/sometimes.go | 69 - api/vendor/gomodules.xyz/jsonpatch/v2/LICENSE | 202 - .../gomodules.xyz/jsonpatch/v2/jsonpatch.go | 253 - api/vendor/google.golang.org/protobuf/LICENSE | 27 - api/vendor/google.golang.org/protobuf/PATENTS | 22 - .../encoding/protodelim/protodelim.go | 160 - .../protobuf/encoding/prototext/decode.go | 767 - .../protobuf/encoding/prototext/doc.go | 7 - .../protobuf/encoding/prototext/encode.go | 380 - .../protobuf/encoding/protowire/wire.go | 571 - .../protobuf/internal/descfmt/stringer.go | 414 - .../protobuf/internal/descopts/options.go | 29 - .../protobuf/internal/detrand/rand.go | 69 - .../internal/editiondefaults/defaults.go | 12 - .../editiondefaults/editions_defaults.binpb | Bin 154 -> 0 bytes .../internal/encoding/defval/default.go | 213 - .../encoding/messageset/messageset.go | 242 - .../protobuf/internal/encoding/tag/tag.go | 208 - .../protobuf/internal/encoding/text/decode.go | 729 - .../internal/encoding/text/decode_number.go | 211 - .../internal/encoding/text/decode_string.go | 161 - .../internal/encoding/text/decode_token.go | 373 - .../protobuf/internal/encoding/text/doc.go | 29 - .../protobuf/internal/encoding/text/encode.go | 272 - .../protobuf/internal/errors/errors.go | 104 - .../protobuf/internal/filedesc/build.go | 157 - .../protobuf/internal/filedesc/desc.go | 767 - .../protobuf/internal/filedesc/desc_init.go | 574 - .../protobuf/internal/filedesc/desc_lazy.go | 692 - .../protobuf/internal/filedesc/desc_list.go | 457 - .../internal/filedesc/desc_list_gen.go | 367 - .../protobuf/internal/filedesc/editions.go | 172 - .../protobuf/internal/filedesc/placeholder.go | 110 - .../protobuf/internal/filedesc/presence.go | 33 - .../protobuf/internal/filetype/build.go | 296 - .../protobuf/internal/flags/flags.go | 24 - .../internal/flags/proto_legacy_disable.go | 10 - .../internal/flags/proto_legacy_enable.go | 10 - .../protobuf/internal/genid/any_gen.go | 34 - .../protobuf/internal/genid/api_gen.go | 112 - .../protobuf/internal/genid/descriptor_gen.go | 1333 - .../protobuf/internal/genid/doc.go | 11 - .../protobuf/internal/genid/duration_gen.go | 34 - .../protobuf/internal/genid/empty_gen.go | 19 - .../protobuf/internal/genid/field_mask_gen.go | 31 - .../internal/genid/go_features_gen.go | 70 - .../protobuf/internal/genid/goname.go | 20 - .../protobuf/internal/genid/map_entry.go | 16 - .../protobuf/internal/genid/name.go | 12 - .../internal/genid/source_context_gen.go | 31 - .../protobuf/internal/genid/struct_gen.go | 121 - .../protobuf/internal/genid/timestamp_gen.go | 34 - .../protobuf/internal/genid/type_gen.go | 228 - .../protobuf/internal/genid/wrappers.go | 13 - .../protobuf/internal/genid/wrappers_gen.go | 175 - .../protobuf/internal/impl/api_export.go | 177 - .../internal/impl/api_export_opaque.go | 128 - .../protobuf/internal/impl/bitmap.go | 34 - .../protobuf/internal/impl/bitmap_race.go | 126 - .../protobuf/internal/impl/checkinit.go | 174 - .../protobuf/internal/impl/codec_extension.go | 228 - .../protobuf/internal/impl/codec_field.go | 788 - .../internal/impl/codec_field_opaque.go | 264 - .../protobuf/internal/impl/codec_gen.go | 5724 ---- .../protobuf/internal/impl/codec_map.go | 405 - .../protobuf/internal/impl/codec_message.go | 230 - .../internal/impl/codec_message_opaque.go | 154 - .../internal/impl/codec_messageset.go | 145 - .../protobuf/internal/impl/codec_tables.go | 557 - .../protobuf/internal/impl/codec_unsafe.go | 15 - .../protobuf/internal/impl/convert.go | 495 - .../protobuf/internal/impl/convert_list.go | 141 - .../protobuf/internal/impl/convert_map.go | 121 - .../protobuf/internal/impl/decode.go | 332 - .../protobuf/internal/impl/encode.go | 315 - .../protobuf/internal/impl/enum.go | 21 - .../protobuf/internal/impl/equal.go | 224 - .../protobuf/internal/impl/extension.go | 156 - .../protobuf/internal/impl/lazy.go | 433 - .../protobuf/internal/impl/legacy_enum.go | 219 - .../protobuf/internal/impl/legacy_export.go | 92 - .../internal/impl/legacy_extension.go | 177 - .../protobuf/internal/impl/legacy_file.go | 81 - .../protobuf/internal/impl/legacy_message.go | 569 - .../protobuf/internal/impl/merge.go | 203 - .../protobuf/internal/impl/merge_gen.go | 209 - .../protobuf/internal/impl/message.go | 283 - .../protobuf/internal/impl/message_opaque.go | 598 - .../internal/impl/message_opaque_gen.go | 132 - .../protobuf/internal/impl/message_reflect.go | 462 - .../internal/impl/message_reflect_field.go | 423 - .../impl/message_reflect_field_gen.go | 273 - .../internal/impl/message_reflect_gen.go | 271 - .../protobuf/internal/impl/pointer_unsafe.go | 220 - .../internal/impl/pointer_unsafe_opaque.go | 42 - .../protobuf/internal/impl/presence.go | 139 - .../protobuf/internal/impl/validate.go | 596 - .../protobuf/internal/order/order.go | 89 - .../protobuf/internal/order/range.go | 115 - .../protobuf/internal/pragma/pragma.go | 29 - .../internal/protolazy/bufferreader.go | 364 - .../protobuf/internal/protolazy/lazy.go | 359 - .../internal/protolazy/pointer_unsafe.go | 17 - .../protobuf/internal/set/ints.go | 58 - .../protobuf/internal/strs/strings.go | 196 - .../protobuf/internal/strs/strings_unsafe.go | 71 - .../protobuf/internal/version/version.go | 79 - .../protobuf/proto/checkinit.go | 71 - .../protobuf/proto/decode.go | 311 - .../protobuf/proto/decode_gen.go | 603 - .../google.golang.org/protobuf/proto/doc.go | 86 - .../protobuf/proto/encode.go | 355 - .../protobuf/proto/encode_gen.go | 97 - .../google.golang.org/protobuf/proto/equal.go | 66 - .../protobuf/proto/extension.go | 166 - .../google.golang.org/protobuf/proto/merge.go | 145 - .../protobuf/proto/messageset.go | 98 - .../google.golang.org/protobuf/proto/proto.go | 45 - .../protobuf/proto/proto_methods.go | 20 - .../protobuf/proto/proto_reflect.go | 20 - .../google.golang.org/protobuf/proto/reset.go | 43 - .../google.golang.org/protobuf/proto/size.go | 111 - .../protobuf/proto/size_gen.go | 55 - .../protobuf/proto/wrapperopaque.go | 80 - .../protobuf/proto/wrappers.go | 29 - .../protobuf/reflect/protoreflect/methods.go | 88 - .../protobuf/reflect/protoreflect/proto.go | 513 - .../protobuf/reflect/protoreflect/source.go | 129 - .../reflect/protoreflect/source_gen.go | 583 - .../protobuf/reflect/protoreflect/type.go | 666 - .../protobuf/reflect/protoreflect/value.go | 285 - .../reflect/protoreflect/value_equal.go | 168 - .../reflect/protoreflect/value_union.go | 438 - .../reflect/protoreflect/value_unsafe.go | 84 - .../reflect/protoregistry/registry.go | 882 - .../protobuf/runtime/protoiface/legacy.go | 15 - .../protobuf/runtime/protoiface/methods.go | 202 - .../protobuf/runtime/protoimpl/impl.go | 48 - .../protobuf/runtime/protoimpl/version.go | 60 - .../types/descriptorpb/descriptor.pb.go | 5243 ---- .../protobuf/types/known/anypb/any.pb.go | 469 - .../types/known/timestamppb/timestamp.pb.go | 356 - .../gopkg.in/evanphx/json-patch.v4/.gitignore | 6 - .../gopkg.in/evanphx/json-patch.v4/LICENSE | 25 - .../gopkg.in/evanphx/json-patch.v4/README.md | 317 - .../gopkg.in/evanphx/json-patch.v4/errors.go | 38 - .../gopkg.in/evanphx/json-patch.v4/merge.go | 389 - .../gopkg.in/evanphx/json-patch.v4/patch.go | 851 - api/vendor/gopkg.in/yaml.v3/LICENSE | 50 - api/vendor/gopkg.in/yaml.v3/NOTICE | 13 - api/vendor/gopkg.in/yaml.v3/README.md | 150 - api/vendor/gopkg.in/yaml.v3/apic.go | 747 - api/vendor/gopkg.in/yaml.v3/decode.go | 1000 - api/vendor/gopkg.in/yaml.v3/emitterc.go | 2020 -- api/vendor/gopkg.in/yaml.v3/encode.go | 577 - api/vendor/gopkg.in/yaml.v3/parserc.go | 1258 - api/vendor/gopkg.in/yaml.v3/readerc.go | 434 - api/vendor/gopkg.in/yaml.v3/resolve.go | 326 - api/vendor/gopkg.in/yaml.v3/scannerc.go | 3038 -- api/vendor/gopkg.in/yaml.v3/sorter.go | 134 - api/vendor/gopkg.in/yaml.v3/writerc.go | 48 - api/vendor/gopkg.in/yaml.v3/yaml.go | 698 - api/vendor/gopkg.in/yaml.v3/yamlh.go | 807 - api/vendor/gopkg.in/yaml.v3/yamlprivateh.go | 198 - api/vendor/k8s.io/api/admission/v1/doc.go | 23 - .../k8s.io/api/admission/v1/generated.pb.go | 1782 -- .../k8s.io/api/admission/v1/generated.proto | 167 - .../k8s.io/api/admission/v1/register.go | 53 - api/vendor/k8s.io/api/admission/v1/types.go | 170 - .../v1/types_swagger_doc_generated.go | 78 - .../api/admission/v1/zz_generated.deepcopy.go | 142 - .../v1/zz_generated.prerelease-lifecycle.go | 28 - .../k8s.io/api/admission/v1beta1/doc.go | 24 - .../api/admission/v1beta1/generated.pb.go | 1782 -- .../api/admission/v1beta1/generated.proto | 167 - .../k8s.io/api/admission/v1beta1/register.go | 53 - .../k8s.io/api/admission/v1beta1/types.go | 174 - .../v1beta1/types_swagger_doc_generated.go | 78 - .../v1beta1/zz_generated.deepcopy.go | 142 - .../zz_generated.prerelease-lifecycle.go | 50 - .../api/admissionregistration/v1/doc.go | 27 - .../admissionregistration/v1/generated.pb.go | 7967 ----- .../admissionregistration/v1/generated.proto | 1111 - .../api/admissionregistration/v1/register.go | 60 - .../api/admissionregistration/v1/types.go | 1236 - .../v1/types_swagger_doc_generated.go | 337 - .../v1/zz_generated.deepcopy.go | 855 - .../v1/zz_generated.prerelease-lifecycle.go | 70 - .../api/admissionregistration/v1alpha1/doc.go | 24 - .../v1alpha1/generated.pb.go | 6871 ----- .../v1alpha1/generated.proto | 911 - .../v1alpha1/register.go | 60 - .../admissionregistration/v1alpha1/types.go | 1011 - .../v1alpha1/types_swagger_doc_generated.go | 299 - .../v1alpha1/zz_generated.deepcopy.go | 727 - .../zz_generated.prerelease-lifecycle.go | 166 - .../api/admissionregistration/v1beta1/doc.go | 27 - .../v1beta1/generated.pb.go | 9674 ------ .../v1beta1/generated.proto | 1368 - .../admissionregistration/v1beta1/register.go | 64 - .../admissionregistration/v1beta1/types.go | 1528 - .../v1beta1/types_swagger_doc_generated.go | 411 - .../v1beta1/zz_generated.deepcopy.go | 1050 - .../zz_generated.prerelease-lifecycle.go | 266 - api/vendor/k8s.io/api/apidiscovery/v2/doc.go | 23 - .../api/apidiscovery/v2/generated.pb.go | 1742 -- .../api/apidiscovery/v2/generated.proto | 156 - .../k8s.io/api/apidiscovery/v2/register.go | 56 - .../k8s.io/api/apidiscovery/v2/types.go | 157 - .../apidiscovery/v2/zz_generated.deepcopy.go | 190 - .../v2/zz_generated.prerelease-lifecycle.go | 34 - .../k8s.io/api/apidiscovery/v2beta1/doc.go | 24 - .../api/apidiscovery/v2beta1/generated.pb.go | 1743 -- .../api/apidiscovery/v2beta1/generated.proto | 156 - .../api/apidiscovery/v2beta1/register.go | 56 - .../k8s.io/api/apidiscovery/v2beta1/types.go | 163 - .../v2beta1/zz_generated.deepcopy.go | 190 - .../zz_generated.prerelease-lifecycle.go | 58 - .../api/apiserverinternal/v1alpha1/doc.go | 25 - .../v1alpha1/generated.pb.go | 1749 -- .../v1alpha1/generated.proto | 128 - .../apiserverinternal/v1alpha1/register.go | 48 - .../api/apiserverinternal/v1alpha1/types.go | 134 - .../v1alpha1/types_swagger_doc_generated.go | 96 - .../v1alpha1/zz_generated.deepcopy.go | 181 - api/vendor/k8s.io/api/apps/v1/doc.go | 22 - api/vendor/k8s.io/api/apps/v1/generated.pb.go | 8831 ------ api/vendor/k8s.io/api/apps/v1/generated.proto | 827 - api/vendor/k8s.io/api/apps/v1/register.go | 60 - api/vendor/k8s.io/api/apps/v1/types.go | 987 - .../apps/v1/types_swagger_doc_generated.go | 395 - .../api/apps/v1/zz_generated.deepcopy.go | 835 - .../v1/zz_generated.prerelease-lifecycle.go | 82 - api/vendor/k8s.io/api/apps/v1beta1/doc.go | 22 - .../k8s.io/api/apps/v1beta1/generated.pb.go | 6777 ---- .../k8s.io/api/apps/v1beta1/generated.proto | 569 - .../k8s.io/api/apps/v1beta1/register.go | 58 - api/vendor/k8s.io/api/apps/v1beta1/types.go | 701 - .../v1beta1/types_swagger_doc_generated.go | 298 - .../api/apps/v1beta1/zz_generated.deepcopy.go | 647 - .../zz_generated.prerelease-lifecycle.go | 218 - api/vendor/k8s.io/api/apps/v1beta2/doc.go | 22 - .../k8s.io/api/apps/v1beta2/generated.pb.go | 9597 ------ .../k8s.io/api/apps/v1beta2/generated.proto | 871 - .../k8s.io/api/apps/v1beta2/register.go | 61 - api/vendor/k8s.io/api/apps/v1beta2/types.go | 1057 - .../v1beta2/types_swagger_doc_generated.go | 423 - .../api/apps/v1beta2/zz_generated.deepcopy.go | 902 - .../zz_generated.prerelease-lifecycle.go | 290 - .../k8s.io/api/authentication/v1/doc.go | 23 - .../api/authentication/v1/generated.pb.go | 2935 -- .../api/authentication/v1/generated.proto | 212 - .../k8s.io/api/authentication/v1/register.go | 53 - .../k8s.io/api/authentication/v1/types.go | 231 - .../v1/types_swagger_doc_generated.go | 138 - .../v1/zz_generated.deepcopy.go | 289 - .../v1/zz_generated.prerelease-lifecycle.go | 40 - .../k8s.io/api/authentication/v1alpha1/doc.go | 23 - .../authentication/v1alpha1/generated.pb.go | 566 - .../authentication/v1alpha1/generated.proto | 51 - .../api/authentication/v1alpha1/register.go | 51 - .../api/authentication/v1alpha1/types.go | 48 - .../v1alpha1/types_swagger_doc_generated.go | 49 - .../v1alpha1/zz_generated.deepcopy.go | 70 - .../zz_generated.prerelease-lifecycle.go | 40 - .../k8s.io/api/authentication/v1beta1/doc.go | 23 - .../authentication/v1beta1/generated.pb.go | 1924 -- .../authentication/v1beta1/generated.proto | 144 - .../api/authentication/v1beta1/register.go | 52 - .../api/authentication/v1beta1/types.go | 145 - .../v1beta1/types_swagger_doc_generated.go | 94 - .../v1beta1/zz_generated.deepcopy.go | 197 - .../zz_generated.prerelease-lifecycle.go | 68 - .../k8s.io/api/authorization/v1beta1/doc.go | 24 - .../api/authorization/v1beta1/generated.pb.go | 4155 --- .../api/authorization/v1beta1/generated.proto | 299 - .../api/authorization/v1beta1/register.go | 55 - .../k8s.io/api/authorization/v1beta1/types.go | 305 - .../v1beta1/types_swagger_doc_generated.go | 180 - .../v1beta1/zz_generated.deepcopy.go | 397 - .../zz_generated.prerelease-lifecycle.go | 122 - api/vendor/k8s.io/api/autoscaling/v1/doc.go | 22 - .../k8s.io/api/autoscaling/v1/generated.pb.go | 6181 ---- .../k8s.io/api/autoscaling/v1/generated.proto | 493 - .../k8s.io/api/autoscaling/v1/register.go | 53 - api/vendor/k8s.io/api/autoscaling/v1/types.go | 546 - .../v1/types_swagger_doc_generated.go | 276 - .../autoscaling/v1/zz_generated.deepcopy.go | 574 - .../v1/zz_generated.prerelease-lifecycle.go | 40 - api/vendor/k8s.io/api/autoscaling/v2/doc.go | 22 - .../k8s.io/api/autoscaling/v2/generated.pb.go | 6652 ---- .../k8s.io/api/autoscaling/v2/generated.proto | 523 - .../k8s.io/api/autoscaling/v2/register.go | 50 - api/vendor/k8s.io/api/autoscaling/v2/types.go | 607 - .../v2/types_swagger_doc_generated.go | 300 - .../autoscaling/v2/zz_generated.deepcopy.go | 615 - .../v2/zz_generated.prerelease-lifecycle.go | 34 - .../k8s.io/api/autoscaling/v2beta1/doc.go | 22 - .../api/autoscaling/v2beta1/generated.pb.go | 5714 ---- .../api/autoscaling/v2beta1/generated.proto | 474 - .../api/autoscaling/v2beta1/register.go | 52 - .../k8s.io/api/autoscaling/v2beta1/types.go | 486 - .../v2beta1/types_swagger_doc_generated.go | 247 - .../v2beta1/zz_generated.deepcopy.go | 525 - .../zz_generated.prerelease-lifecycle.go | 74 - .../k8s.io/api/autoscaling/v2beta2/doc.go | 22 - .../api/autoscaling/v2beta2/generated.pb.go | 6598 ---- .../api/autoscaling/v2beta2/generated.proto | 493 - .../api/autoscaling/v2beta2/register.go | 50 - .../k8s.io/api/autoscaling/v2beta2/types.go | 578 - .../v2beta2/types_swagger_doc_generated.go | 297 - .../v2beta2/zz_generated.deepcopy.go | 610 - .../zz_generated.prerelease-lifecycle.go | 68 - api/vendor/k8s.io/api/batch/v1/doc.go | 21 - .../k8s.io/api/batch/v1/generated.pb.go | 5369 ---- .../k8s.io/api/batch/v1/generated.proto | 626 - api/vendor/k8s.io/api/batch/v1/register.go | 54 - api/vendor/k8s.io/api/batch/v1/types.go | 800 - .../batch/v1/types_swagger_doc_generated.go | 236 - .../api/batch/v1/zz_generated.deepcopy.go | 567 - .../v1/zz_generated.prerelease-lifecycle.go | 46 - api/vendor/k8s.io/api/batch/v1beta1/doc.go | 22 - .../k8s.io/api/batch/v1beta1/generated.pb.go | 1611 - .../k8s.io/api/batch/v1beta1/generated.proto | 142 - .../k8s.io/api/batch/v1beta1/register.go | 52 - api/vendor/k8s.io/api/batch/v1beta1/types.go | 168 - .../v1beta1/types_swagger_doc_generated.go | 88 - .../batch/v1beta1/zz_generated.deepcopy.go | 177 - .../zz_generated.prerelease-lifecycle.go | 74 - api/vendor/k8s.io/api/certificates/v1/doc.go | 23 - .../api/certificates/v1/generated.pb.go | 2054 -- .../api/certificates/v1/generated.proto | 255 - .../k8s.io/api/certificates/v1/register.go | 61 - .../k8s.io/api/certificates/v1/types.go | 319 - .../v1/types_swagger_doc_generated.go | 89 - .../certificates/v1/zz_generated.deepcopy.go | 204 - .../v1/zz_generated.prerelease-lifecycle.go | 34 - .../k8s.io/api/certificates/v1alpha1/doc.go | 24 - .../api/certificates/v1alpha1/generated.pb.go | 2248 -- .../api/certificates/v1alpha1/generated.proto | 308 - .../api/certificates/v1alpha1/register.go | 63 - .../k8s.io/api/certificates/v1alpha1/types.go | 339 - .../v1alpha1/types_swagger_doc_generated.go | 112 - .../v1alpha1/zz_generated.deepcopy.go | 230 - .../zz_generated.prerelease-lifecycle.go | 94 - .../k8s.io/api/certificates/v1beta1/doc.go | 24 - .../api/certificates/v1beta1/generated.pb.go | 2703 -- .../api/certificates/v1beta1/generated.proto | 281 - .../api/certificates/v1beta1/register.go | 61 - .../k8s.io/api/certificates/v1beta1/types.go | 356 - .../v1beta1/types_swagger_doc_generated.go | 108 - .../v1beta1/zz_generated.deepcopy.go | 285 - .../zz_generated.prerelease-lifecycle.go | 110 - api/vendor/k8s.io/api/coordination/v1/doc.go | 24 - .../api/coordination/v1/generated.pb.go | 1060 - .../api/coordination/v1/generated.proto | 96 - .../k8s.io/api/coordination/v1/register.go | 53 - .../k8s.io/api/coordination/v1/types.go | 102 - .../v1/types_swagger_doc_generated.go | 65 - .../coordination/v1/zz_generated.deepcopy.go | 135 - .../v1/zz_generated.prerelease-lifecycle.go | 34 - .../k8s.io/api/coordination/v1alpha2/doc.go | 24 - .../api/coordination/v1alpha2/generated.pb.go | 1027 - .../api/coordination/v1alpha2/generated.proto | 98 - .../api/coordination/v1alpha2/register.go | 53 - .../k8s.io/api/coordination/v1alpha2/types.go | 93 - .../v1alpha2/types_swagger_doc_generated.go | 64 - .../v1alpha2/zz_generated.deepcopy.go | 110 - .../zz_generated.prerelease-lifecycle.go | 58 - .../k8s.io/api/coordination/v1beta1/doc.go | 24 - .../api/coordination/v1beta1/generated.pb.go | 1896 -- .../api/coordination/v1beta1/generated.proto | 164 - .../api/coordination/v1beta1/register.go | 55 - .../k8s.io/api/coordination/v1beta1/types.go | 166 - .../v1beta1/types_swagger_doc_generated.go | 99 - .../v1beta1/zz_generated.deepcopy.go | 220 - .../zz_generated.prerelease-lifecycle.go | 110 - api/vendor/k8s.io/api/discovery/v1/doc.go | 23 - .../k8s.io/api/discovery/v1/generated.pb.go | 2472 -- .../k8s.io/api/discovery/v1/generated.proto | 225 - .../k8s.io/api/discovery/v1/register.go | 56 - api/vendor/k8s.io/api/discovery/v1/types.go | 242 - .../v1/types_swagger_doc_generated.go | 119 - .../api/discovery/v1/well_known_labels.go | 32 - .../api/discovery/v1/zz_generated.deepcopy.go | 279 - .../v1/zz_generated.prerelease-lifecycle.go | 34 - .../k8s.io/api/discovery/v1beta1/doc.go | 23 - .../api/discovery/v1beta1/generated.pb.go | 2425 -- .../api/discovery/v1beta1/generated.proto | 210 - .../k8s.io/api/discovery/v1beta1/register.go | 56 - .../k8s.io/api/discovery/v1beta1/types.go | 232 - .../v1beta1/types_swagger_doc_generated.go | 118 - .../discovery/v1beta1/well_known_labels.go | 32 - .../v1beta1/zz_generated.deepcopy.go | 274 - .../zz_generated.prerelease-lifecycle.go | 74 - api/vendor/k8s.io/api/events/v1/doc.go | 23 - .../k8s.io/api/events/v1/generated.pb.go | 1396 - .../k8s.io/api/events/v1/generated.proto | 128 - api/vendor/k8s.io/api/events/v1/register.go | 53 - api/vendor/k8s.io/api/events/v1/types.go | 125 - .../events/v1/types_swagger_doc_generated.go | 73 - .../api/events/v1/zz_generated.deepcopy.go | 118 - .../v1/zz_generated.prerelease-lifecycle.go | 34 - api/vendor/k8s.io/api/events/v1beta1/doc.go | 24 - .../k8s.io/api/events/v1beta1/generated.pb.go | 1396 - .../k8s.io/api/events/v1beta1/generated.proto | 130 - .../k8s.io/api/events/v1beta1/register.go | 53 - api/vendor/k8s.io/api/events/v1beta1/types.go | 131 - .../v1beta1/types_swagger_doc_generated.go | 73 - .../events/v1beta1/zz_generated.deepcopy.go | 118 - .../zz_generated.prerelease-lifecycle.go | 58 - .../k8s.io/api/extensions/v1beta1/doc.go | 24 - .../api/extensions/v1beta1/generated.pb.go | 12088 -------- .../api/extensions/v1beta1/generated.proto | 1067 - .../k8s.io/api/extensions/v1beta1/register.go | 63 - .../k8s.io/api/extensions/v1beta1/types.go | 1264 - .../v1beta1/types_swagger_doc_generated.go | 533 - .../v1beta1/zz_generated.deepcopy.go | 1211 - .../zz_generated.prerelease-lifecycle.go | 302 - .../v1beta1/zz_generated.validations.go | 78 - api/vendor/k8s.io/api/flowcontrol/v1/doc.go | 25 - .../k8s.io/api/flowcontrol/v1/generated.pb.go | 5666 ---- .../k8s.io/api/flowcontrol/v1/generated.proto | 520 - .../k8s.io/api/flowcontrol/v1/register.go | 58 - api/vendor/k8s.io/api/flowcontrol/v1/types.go | 664 - .../v1/types_swagger_doc_generated.go | 274 - .../flowcontrol/v1/zz_generated.deepcopy.go | 588 - .../v1/zz_generated.prerelease-lifecycle.go | 46 - .../k8s.io/api/flowcontrol/v1beta1/doc.go | 25 - .../api/flowcontrol/v1beta1/generated.pb.go | 5662 ---- .../api/flowcontrol/v1beta1/generated.proto | 511 - .../api/flowcontrol/v1beta1/register.go | 58 - .../k8s.io/api/flowcontrol/v1beta1/types.go | 659 - .../v1beta1/types_swagger_doc_generated.go | 274 - .../v1beta1/zz_generated.deepcopy.go | 583 - .../zz_generated.prerelease-lifecycle.go | 122 - .../k8s.io/api/flowcontrol/v1beta2/doc.go | 25 - .../api/flowcontrol/v1beta2/generated.pb.go | 5663 ---- .../api/flowcontrol/v1beta2/generated.proto | 511 - .../api/flowcontrol/v1beta2/register.go | 58 - .../k8s.io/api/flowcontrol/v1beta2/types.go | 659 - .../v1beta2/types_swagger_doc_generated.go | 274 - .../v1beta2/zz_generated.deepcopy.go | 583 - .../zz_generated.prerelease-lifecycle.go | 122 - .../k8s.io/api/flowcontrol/v1beta3/doc.go | 25 - .../api/flowcontrol/v1beta3/generated.pb.go | 5662 ---- .../api/flowcontrol/v1beta3/generated.proto | 515 - .../api/flowcontrol/v1beta3/register.go | 58 - .../k8s.io/api/flowcontrol/v1beta3/types.go | 677 - .../v1beta3/types_swagger_doc_generated.go | 274 - .../v1beta3/zz_generated.deepcopy.go | 583 - .../zz_generated.prerelease-lifecycle.go | 122 - api/vendor/k8s.io/api/networking/v1/doc.go | 23 - .../k8s.io/api/networking/v1/generated.pb.go | 8274 ----- .../k8s.io/api/networking/v1/generated.proto | 666 - .../k8s.io/api/networking/v1/register.go | 61 - api/vendor/k8s.io/api/networking/v1/types.go | 768 - .../v1/types_swagger_doc_generated.go | 387 - .../networking/v1/well_known_annotations.go | 25 - .../api/networking/v1/well_known_labels.go | 33 - .../networking/v1/zz_generated.deepcopy.go | 930 - .../v1/zz_generated.prerelease-lifecycle.go | 82 - .../k8s.io/api/networking/v1beta1/doc.go | 23 - .../api/networking/v1beta1/generated.pb.go | 5903 ---- .../api/networking/v1beta1/generated.proto | 462 - .../k8s.io/api/networking/v1beta1/register.go | 62 - .../k8s.io/api/networking/v1beta1/types.go | 553 - .../v1beta1/types_swagger_doc_generated.go | 284 - .../v1beta1/well_known_annotations.go | 32 - .../networking/v1beta1/well_known_labels.go | 33 - .../v1beta1/zz_generated.deepcopy.go | 653 - .../zz_generated.prerelease-lifecycle.go | 194 - api/vendor/k8s.io/api/node/v1/doc.go | 23 - api/vendor/k8s.io/api/node/v1/generated.pb.go | 1399 - api/vendor/k8s.io/api/node/v1/generated.proto | 108 - api/vendor/k8s.io/api/node/v1/register.go | 52 - api/vendor/k8s.io/api/node/v1/types.go | 110 - .../node/v1/types_swagger_doc_generated.go | 71 - .../api/node/v1/zz_generated.deepcopy.go | 149 - .../v1/zz_generated.prerelease-lifecycle.go | 34 - api/vendor/k8s.io/api/node/v1alpha1/doc.go | 23 - .../k8s.io/api/node/v1alpha1/generated.pb.go | 1567 - .../k8s.io/api/node/v1alpha1/generated.proto | 118 - .../k8s.io/api/node/v1alpha1/register.go | 52 - api/vendor/k8s.io/api/node/v1alpha1/types.go | 118 - .../v1alpha1/types_swagger_doc_generated.go | 80 - .../node/v1alpha1/zz_generated.deepcopy.go | 166 - api/vendor/k8s.io/api/node/v1beta1/doc.go | 24 - .../k8s.io/api/node/v1beta1/generated.pb.go | 1399 - .../k8s.io/api/node/v1beta1/generated.proto | 108 - .../k8s.io/api/node/v1beta1/register.go | 52 - api/vendor/k8s.io/api/node/v1beta1/types.go | 112 - .../v1beta1/types_swagger_doc_generated.go | 71 - .../api/node/v1beta1/zz_generated.deepcopy.go | 149 - .../zz_generated.prerelease-lifecycle.go | 58 - api/vendor/k8s.io/api/policy/v1/doc.go | 25 - .../k8s.io/api/policy/v1/generated.pb.go | 1728 -- .../k8s.io/api/policy/v1/generated.proto | 176 - api/vendor/k8s.io/api/policy/v1/register.go | 52 - api/vendor/k8s.io/api/policy/v1/types.go | 220 - .../policy/v1/types_swagger_doc_generated.go | 88 - .../api/policy/v1/zz_generated.deepcopy.go | 186 - .../v1/zz_generated.prerelease-lifecycle.go | 40 - api/vendor/k8s.io/api/policy/v1beta1/doc.go | 25 - .../k8s.io/api/policy/v1beta1/generated.pb.go | 1728 -- .../k8s.io/api/policy/v1beta1/generated.proto | 176 - .../k8s.io/api/policy/v1beta1/register.go | 54 - api/vendor/k8s.io/api/policy/v1beta1/types.go | 226 - .../v1beta1/types_swagger_doc_generated.go | 88 - .../policy/v1beta1/zz_generated.deepcopy.go | 186 - .../zz_generated.prerelease-lifecycle.go | 92 - api/vendor/k8s.io/api/rbac/v1/doc.go | 23 - api/vendor/k8s.io/api/rbac/v1/generated.pb.go | 3229 -- api/vendor/k8s.io/api/rbac/v1/generated.proto | 213 - api/vendor/k8s.io/api/rbac/v1/register.go | 58 - api/vendor/k8s.io/api/rbac/v1/types.go | 259 - .../rbac/v1/types_swagger_doc_generated.go | 158 - .../api/rbac/v1/zz_generated.deepcopy.go | 390 - .../v1/zz_generated.prerelease-lifecycle.go | 70 - api/vendor/k8s.io/api/rbac/v1alpha1/doc.go | 23 - .../k8s.io/api/rbac/v1alpha1/generated.pb.go | 3231 -- .../k8s.io/api/rbac/v1alpha1/generated.proto | 218 - .../k8s.io/api/rbac/v1alpha1/register.go | 58 - api/vendor/k8s.io/api/rbac/v1alpha1/types.go | 256 - .../v1alpha1/types_swagger_doc_generated.go | 158 - .../rbac/v1alpha1/zz_generated.deepcopy.go | 390 - api/vendor/k8s.io/api/rbac/v1beta1/doc.go | 24 - .../k8s.io/api/rbac/v1beta1/generated.pb.go | 3229 -- .../k8s.io/api/rbac/v1beta1/generated.proto | 218 - .../k8s.io/api/rbac/v1beta1/register.go | 58 - api/vendor/k8s.io/api/rbac/v1beta1/types.go | 287 - .../v1beta1/types_swagger_doc_generated.go | 158 - .../api/rbac/v1beta1/zz_generated.deepcopy.go | 390 - .../zz_generated.prerelease-lifecycle.go | 218 - .../k8s.io/api/resource/v1/devicetaint.go | 35 - api/vendor/k8s.io/api/resource/v1/doc.go | 24 - .../k8s.io/api/resource/v1/generated.pb.go | 12777 -------- .../k8s.io/api/resource/v1/generated.proto | 1589 - api/vendor/k8s.io/api/resource/v1/register.go | 60 - api/vendor/k8s.io/api/resource/v1/types.go | 1873 -- .../v1/types_swagger_doc_generated.go | 510 - .../api/resource/v1/zz_generated.deepcopy.go | 1257 - .../v1/zz_generated.prerelease-lifecycle.go | 70 - .../api/resource/v1alpha3/devicetaint.go | 35 - .../k8s.io/api/resource/v1alpha3/doc.go | 24 - .../api/resource/v1alpha3/generated.pb.go | 1841 -- .../api/resource/v1alpha3/generated.proto | 216 - .../k8s.io/api/resource/v1alpha3/register.go | 54 - .../k8s.io/api/resource/v1alpha3/types.go | 276 - .../v1alpha3/types_swagger_doc_generated.go | 103 - .../v1alpha3/zz_generated.deepcopy.go | 208 - .../zz_generated.prerelease-lifecycle.go | 58 - .../api/resource/v1beta1/devicetaint.go | 35 - api/vendor/k8s.io/api/resource/v1beta1/doc.go | 24 - .../api/resource/v1beta1/generated.pb.go | 12767 -------- .../api/resource/v1beta1/generated.proto | 1603 - .../k8s.io/api/resource/v1beta1/register.go | 60 - .../k8s.io/api/resource/v1beta1/types.go | 1883 -- .../v1beta1/types_swagger_doc_generated.go | 510 - .../resource/v1beta1/zz_generated.deepcopy.go | 1247 - .../zz_generated.prerelease-lifecycle.go | 166 - .../api/resource/v1beta2/devicetaint.go | 35 - api/vendor/k8s.io/api/resource/v1beta2/doc.go | 24 - .../api/resource/v1beta2/generated.pb.go | 12777 -------- .../api/resource/v1beta2/generated.proto | 1589 - .../k8s.io/api/resource/v1beta2/register.go | 60 - .../k8s.io/api/resource/v1beta2/types.go | 1873 -- .../v1beta2/types_swagger_doc_generated.go | 510 - .../resource/v1beta2/zz_generated.deepcopy.go | 1257 - .../zz_generated.prerelease-lifecycle.go | 166 - api/vendor/k8s.io/api/scheduling/v1/doc.go | 23 - .../k8s.io/api/scheduling/v1/generated.pb.go | 728 - .../k8s.io/api/scheduling/v1/generated.proto | 74 - .../k8s.io/api/scheduling/v1/register.go | 55 - api/vendor/k8s.io/api/scheduling/v1/types.go | 75 - .../v1/types_swagger_doc_generated.go | 53 - .../scheduling/v1/zz_generated.deepcopy.go | 91 - .../v1/zz_generated.prerelease-lifecycle.go | 34 - .../k8s.io/api/scheduling/v1alpha1/doc.go | 23 - .../api/scheduling/v1alpha1/generated.pb.go | 728 - .../api/scheduling/v1alpha1/generated.proto | 75 - .../api/scheduling/v1alpha1/register.go | 52 - .../k8s.io/api/scheduling/v1alpha1/types.go | 74 - .../v1alpha1/types_swagger_doc_generated.go | 53 - .../v1alpha1/zz_generated.deepcopy.go | 91 - .../k8s.io/api/scheduling/v1beta1/doc.go | 24 - .../api/scheduling/v1beta1/generated.pb.go | 729 - .../api/scheduling/v1beta1/generated.proto | 75 - .../k8s.io/api/scheduling/v1beta1/register.go | 52 - .../k8s.io/api/scheduling/v1beta1/types.go | 82 - .../v1beta1/types_swagger_doc_generated.go | 53 - .../v1beta1/zz_generated.deepcopy.go | 91 - .../zz_generated.prerelease-lifecycle.go | 74 - api/vendor/k8s.io/api/storage/v1/doc.go | 23 - .../k8s.io/api/storage/v1/generated.pb.go | 6094 ---- .../k8s.io/api/storage/v1/generated.proto | 636 - api/vendor/k8s.io/api/storage/v1/register.go | 68 - api/vendor/k8s.io/api/storage/v1/types.go | 771 - .../storage/v1/types_swagger_doc_generated.go | 261 - .../api/storage/v1/zz_generated.deepcopy.go | 694 - .../v1/zz_generated.prerelease-lifecycle.go | 94 - api/vendor/k8s.io/api/storage/v1alpha1/doc.go | 23 - .../api/storage/v1alpha1/generated.pb.go | 3038 -- .../api/storage/v1alpha1/generated.proto | 277 - .../k8s.io/api/storage/v1alpha1/register.go | 54 - .../k8s.io/api/storage/v1alpha1/types.go | 315 - .../v1alpha1/types_swagger_doc_generated.go | 138 - .../storage/v1alpha1/zz_generated.deepcopy.go | 327 - .../zz_generated.prerelease-lifecycle.go | 170 - api/vendor/k8s.io/api/storage/v1beta1/doc.go | 23 - .../api/storage/v1beta1/generated.pb.go | 6094 ---- .../api/storage/v1beta1/generated.proto | 638 - .../k8s.io/api/storage/v1beta1/register.go | 68 - .../k8s.io/api/storage/v1beta1/types.go | 793 - .../v1beta1/types_swagger_doc_generated.go | 261 - .../storage/v1beta1/zz_generated.deepcopy.go | 694 - .../zz_generated.prerelease-lifecycle.go | 314 - .../api/storagemigration/v1alpha1/doc.go | 23 - .../storagemigration/v1alpha1/generated.pb.go | 1688 - .../storagemigration/v1alpha1/generated.proto | 127 - .../api/storagemigration/v1alpha1/register.go | 58 - .../api/storagemigration/v1alpha1/types.go | 131 - .../v1alpha1/types_swagger_doc_generated.go | 95 - .../v1alpha1/zz_generated.deepcopy.go | 160 - .../zz_generated.prerelease-lifecycle.go | 58 - .../k8s.io/apiextensions-apiserver/LICENSE | 202 - .../pkg/apis/apiextensions/deepcopy.go | 302 - .../pkg/apis/apiextensions/doc.go | 21 - .../pkg/apis/apiextensions/helpers.go | 257 - .../pkg/apis/apiextensions/register.go | 51 - .../pkg/apis/apiextensions/types.go | 447 - .../apis/apiextensions/types_jsonschema.go | 318 - .../apiextensions/v1/.import-restrictions | 5 - .../pkg/apis/apiextensions/v1/conversion.go | 237 - .../pkg/apis/apiextensions/v1/deepcopy.go | 262 - .../pkg/apis/apiextensions/v1/defaults.go | 61 - .../pkg/apis/apiextensions/v1/doc.go | 26 - .../pkg/apis/apiextensions/v1/generated.pb.go | 9644 ------ .../pkg/apis/apiextensions/v1/generated.proto | 829 - .../pkg/apis/apiextensions/v1/marshal.go | 295 - .../pkg/apis/apiextensions/v1/register.go | 62 - .../pkg/apis/apiextensions/v1/types.go | 518 - .../apis/apiextensions/v1/types_jsonschema.go | 419 - .../v1/zz_generated.conversion.go | 1359 - .../apiextensions/v1/zz_generated.deepcopy.go | 738 - .../apiextensions/v1/zz_generated.defaults.go | 58 - .../v1/zz_generated.prerelease-lifecycle.go | 40 - .../apiextensions/zz_generated.deepcopy.go | 634 - .../apimachinery/pkg/api/equality/semantic.go | 49 - .../k8s.io/apimachinery/pkg/api/errors/OWNERS | 16 - .../k8s.io/apimachinery/pkg/api/errors/doc.go | 18 - .../apimachinery/pkg/api/errors/errors.go | 864 - .../k8s.io/apimachinery/pkg/api/meta/OWNERS | 15 - .../apimachinery/pkg/api/meta/conditions.go | 119 - .../k8s.io/apimachinery/pkg/api/meta/doc.go | 19 - .../apimachinery/pkg/api/meta/errors.go | 132 - .../pkg/api/meta/firsthit_restmapper.go | 105 - .../k8s.io/apimachinery/pkg/api/meta/help.go | 334 - .../apimachinery/pkg/api/meta/interfaces.go | 143 - .../k8s.io/apimachinery/pkg/api/meta/lazy.go | 112 - .../k8s.io/apimachinery/pkg/api/meta/meta.go | 643 - .../pkg/api/meta/multirestmapper.go | 220 - .../apimachinery/pkg/api/meta/priority.go | 230 - .../apimachinery/pkg/api/meta/restmapper.go | 529 - .../meta/testrestmapper/test_restmapper.go | 165 - .../k8s.io/apimachinery/pkg/api/safe/safe.go | 59 - .../apimachinery/pkg/api/validate/README.md | 64 - .../apimachinery/pkg/api/validate/common.go | 28 - .../api/validate/constraints/constraints.go | 32 - .../pkg/api/validate/content/errors.go | 39 - .../apimachinery/pkg/api/validate/doc.go | 50 - .../apimachinery/pkg/api/validate/each.go | 171 - .../apimachinery/pkg/api/validate/enum.go | 40 - .../apimachinery/pkg/api/validate/equality.go | 38 - .../pkg/api/validate/immutable.go | 64 - .../apimachinery/pkg/api/validate/item.go | 72 - .../apimachinery/pkg/api/validate/limits.go | 37 - .../apimachinery/pkg/api/validate/required.go | 133 - .../apimachinery/pkg/api/validate/subfield.go | 46 - .../apimachinery/pkg/api/validate/testing.go | 35 - .../apimachinery/pkg/api/validate/union.go | 212 - .../pkg/api/validate/zeroorone.go | 54 - .../apimachinery/pkg/api/validation/OWNERS | 11 - .../apimachinery/pkg/api/validation/doc.go | 18 - .../pkg/api/validation/generic.go | 88 - .../pkg/api/validation/objectmeta.go | 265 - .../pkg/apis/meta/internalversion/defaults.go | 38 - .../pkg/apis/meta/internalversion/doc.go | 20 - .../pkg/apis/meta/internalversion/register.go | 88 - .../apis/meta/internalversion/scheme/doc.go | 17 - .../meta/internalversion/scheme/register.go | 39 - .../pkg/apis/meta/internalversion/types.go | 103 - .../zz_generated.conversion.go | 148 - .../internalversion/zz_generated.deepcopy.go | 102 - .../pkg/apis/meta/v1/unstructured/helpers.go | 550 - .../apis/meta/v1/unstructured/unstructured.go | 493 - .../meta/v1/unstructured/unstructured_list.go | 219 - .../v1/unstructured/zz_generated.deepcopy.go | 56 - .../pkg/apis/meta/v1/validation/validation.go | 391 - .../pkg/apis/meta/v1beta1/conversion.go | 46 - .../pkg/apis/meta/v1beta1/deepcopy.go | 17 - .../apimachinery/pkg/apis/meta/v1beta1/doc.go | 23 - .../pkg/apis/meta/v1beta1/generated.pb.go | 411 - .../pkg/apis/meta/v1beta1/generated.proto | 41 - .../pkg/apis/meta/v1beta1/register.go | 62 - .../pkg/apis/meta/v1beta1/types.go | 84 - .../v1beta1/types_swagger_doc_generated.go | 40 - .../meta/v1beta1/zz_generated.deepcopy.go | 60 - .../meta/v1beta1/zz_generated.defaults.go | 33 - .../pkg/runtime/serializer/cbor/cbor.go | 383 - .../pkg/runtime/serializer/cbor/framer.go | 90 - .../pkg/runtime/serializer/cbor/raw.go | 236 - .../pkg/runtime/serializer/codec_factory.go | 322 - .../runtime/serializer/json/collections.go | 230 - .../pkg/runtime/serializer/json/json.go | 363 - .../pkg/runtime/serializer/json/meta.go | 63 - .../runtime/serializer/negotiated_codec.go | 43 - .../serializer/protobuf/collections.go | 174 - .../pkg/runtime/serializer/protobuf/doc.go | 18 - .../runtime/serializer/protobuf/protobuf.go | 554 - .../serializer/recognizer/recognizer.go | 128 - .../runtime/serializer/streaming/streaming.go | 136 - .../serializer/versioning/versioning.go | 290 - .../apimachinery/pkg/util/cache/expiring.go | 202 - .../pkg/util/cache/lruexpirecache.go | 173 - .../k8s.io/apimachinery/pkg/util/diff/cmp.go | 31 - .../k8s.io/apimachinery/pkg/util/diff/diff.go | 62 - .../apimachinery/pkg/util/diff/legacy_diff.go | 67 - .../k8s.io/apimachinery/pkg/util/dump/dump.go | 54 - .../apimachinery/pkg/util/framer/framer.go | 176 - .../pkg/util/managedfields/endpoints.yaml | 7018 ----- .../pkg/util/managedfields/extract.go | 108 - .../pkg/util/managedfields/fieldmanager.go | 58 - .../pkg/util/managedfields/gvkparser.go | 128 - .../managedfields/internal/atmostevery.go | 60 - .../internal/buildmanagerinfo.go | 74 - .../managedfields/internal/capmanagers.go | 133 - .../util/managedfields/internal/conflict.go | 89 - .../managedfields/internal/fieldmanager.go | 209 - .../pkg/util/managedfields/internal/fields.go | 47 - .../managedfields/internal/lastapplied.go | 50 - .../internal/lastappliedmanager.go | 171 - .../internal/lastappliedupdater.go | 102 - .../managedfields/internal/managedfields.go | 248 - .../internal/managedfieldsupdater.go | 82 - .../util/managedfields/internal/manager.go | 52 - .../managedfields/internal/pathelement.go | 140 - .../internal/runtimetypeconverter.go | 62 - .../managedfields/internal/skipnonapplied.go | 92 - .../util/managedfields/internal/stripmeta.go | 90 - .../managedfields/internal/structuredmerge.go | 190 - .../managedfields/internal/typeconverter.go | 193 - .../managedfields/internal/versioncheck.go | 52 - .../internal/versionconverter.go | 123 - .../pkg/util/managedfields/node.yaml | 261 - .../pkg/util/managedfields/pod.yaml | 121 - .../pkg/util/managedfields/scalehandler.go | 174 - .../pkg/util/managedfields/typeconverter.go | 56 - .../apimachinery/pkg/util/mergepatch/OWNERS | 6 - .../pkg/util/mergepatch/errors.go | 102 - .../apimachinery/pkg/util/mergepatch/util.go | 133 - .../pkg/util/strategicpatch/OWNERS | 9 - .../pkg/util/strategicpatch/errors.go | 49 - .../pkg/util/strategicpatch/meta.go | 283 - .../pkg/util/strategicpatch/patch.go | 2257 -- .../pkg/util/strategicpatch/types.go | 193 - .../k8s.io/apimachinery/pkg/util/uuid/uuid.go | 27 - .../apimachinery/pkg/util/wait/backoff.go | 518 - .../apimachinery/pkg/util/wait/delay.go | 51 - .../k8s.io/apimachinery/pkg/util/wait/doc.go | 19 - .../apimachinery/pkg/util/wait/error.go | 96 - .../k8s.io/apimachinery/pkg/util/wait/loop.go | 95 - .../k8s.io/apimachinery/pkg/util/wait/poll.go | 315 - .../apimachinery/pkg/util/wait/timer.go | 121 - .../k8s.io/apimachinery/pkg/util/wait/wait.go | 228 - .../apimachinery/pkg/util/yaml/decoder.go | 485 - .../pkg/util/yaml/stream_reader.go | 130 - .../k8s.io/apimachinery/pkg/version/doc.go | 20 - .../apimachinery/pkg/version/helpers.go | 88 - .../k8s.io/apimachinery/pkg/version/types.go | 47 - .../third_party/forked/golang/json/OWNERS | 6 - .../third_party/forked/golang/json/fields.go | 513 - api/vendor/k8s.io/client-go/LICENSE | 202 - .../v1/auditannotation.go | 48 - .../v1/expressionwarning.go | 48 - .../v1/matchcondition.go | 48 - .../v1/matchresources.go | 90 - .../v1/mutatingwebhook.go | 155 - .../v1/mutatingwebhookconfiguration.go | 275 - .../v1/namedrulewithoperations.go | 94 - .../admissionregistration/v1/paramkind.go | 48 - .../admissionregistration/v1/paramref.go | 71 - .../admissionregistration/v1/rule.go | 76 - .../v1/rulewithoperations.go | 84 - .../v1/servicereference.go | 66 - .../admissionregistration/v1/typechecking.go | 44 - .../v1/validatingadmissionpolicy.go | 279 - .../v1/validatingadmissionpolicybinding.go | 270 - .../validatingadmissionpolicybindingspec.go | 72 - .../v1/validatingadmissionpolicyspec.go | 117 - .../v1/validatingadmissionpolicystatus.go | 66 - .../v1/validatingwebhook.go | 146 - .../v1/validatingwebhookconfiguration.go | 275 - .../admissionregistration/v1/validation.go | 70 - .../admissionregistration/v1/variable.go | 48 - .../v1/webhookclientconfig.go | 59 - .../v1alpha1/applyconfiguration.go | 39 - .../v1alpha1/auditannotation.go | 48 - .../v1alpha1/expressionwarning.go | 48 - .../v1alpha1/jsonpatch.go | 39 - .../v1alpha1/matchcondition.go | 48 - .../v1alpha1/matchresources.go | 90 - .../v1alpha1/mutatingadmissionpolicy.go | 270 - .../mutatingadmissionpolicybinding.go | 270 - .../mutatingadmissionpolicybindingspec.go | 57 - .../v1alpha1/mutatingadmissionpolicyspec.go | 113 - .../v1alpha1/mutation.go | 61 - .../v1alpha1/namedrulewithoperations.go | 95 - .../v1alpha1/paramkind.go | 48 - .../v1alpha1/paramref.go | 71 - .../v1alpha1/typechecking.go | 44 - .../v1alpha1/validatingadmissionpolicy.go | 279 - .../validatingadmissionpolicybinding.go | 270 - .../validatingadmissionpolicybindingspec.go | 72 - .../v1alpha1/validatingadmissionpolicyspec.go | 117 - .../validatingadmissionpolicystatus.go | 66 - .../v1alpha1/validation.go | 70 - .../v1alpha1/variable.go | 48 - .../v1beta1/applyconfiguration.go | 39 - .../v1beta1/auditannotation.go | 48 - .../v1beta1/expressionwarning.go | 48 - .../v1beta1/jsonpatch.go | 39 - .../v1beta1/matchcondition.go | 48 - .../v1beta1/matchresources.go | 90 - .../v1beta1/mutatingadmissionpolicy.go | 270 - .../v1beta1/mutatingadmissionpolicybinding.go | 270 - .../mutatingadmissionpolicybindingspec.go | 57 - .../v1beta1/mutatingadmissionpolicyspec.go | 113 - .../v1beta1/mutatingwebhook.go | 157 - .../v1beta1/mutatingwebhookconfiguration.go | 275 - .../admissionregistration/v1beta1/mutation.go | 61 - .../v1beta1/namedrulewithoperations.go | 95 - .../v1beta1/paramkind.go | 48 - .../admissionregistration/v1beta1/paramref.go | 71 - .../v1beta1/servicereference.go | 66 - .../v1beta1/typechecking.go | 44 - .../v1beta1/validatingadmissionpolicy.go | 279 - .../validatingadmissionpolicybinding.go | 270 - .../validatingadmissionpolicybindingspec.go | 72 - .../v1beta1/validatingadmissionpolicyspec.go | 117 - .../validatingadmissionpolicystatus.go | 66 - .../v1beta1/validatingwebhook.go | 147 - .../v1beta1/validatingwebhookconfiguration.go | 275 - .../v1beta1/validation.go | 70 - .../admissionregistration/v1beta1/variable.go | 48 - .../v1beta1/webhookclientconfig.go | 59 - .../v1alpha1/serverstorageversion.go | 70 - .../v1alpha1/storageversion.go | 279 - .../v1alpha1/storageversioncondition.go | 89 - .../v1alpha1/storageversionstatus.go | 67 - .../apps/v1/controllerrevision.go | 282 - .../applyconfigurations/apps/v1/daemonset.go | 281 - .../apps/v1/daemonsetcondition.go | 81 - .../apps/v1/daemonsetspec.go | 80 - .../apps/v1/daemonsetstatus.go | 125 - .../apps/v1/daemonsetupdatestrategy.go | 52 - .../applyconfigurations/apps/v1/deployment.go | 281 - .../apps/v1/deploymentcondition.go | 90 - .../apps/v1/deploymentspec.go | 107 - .../apps/v1/deploymentstatus.go | 116 - .../apps/v1/deploymentstrategy.go | 52 - .../applyconfigurations/apps/v1/replicaset.go | 281 - .../apps/v1/replicasetcondition.go | 81 - .../apps/v1/replicasetspec.go | 71 - .../apps/v1/replicasetstatus.go | 98 - .../apps/v1/rollingupdatedaemonset.go | 52 - .../apps/v1/rollingupdatedeployment.go | 52 - .../v1/rollingupdatestatefulsetstrategy.go | 52 - .../apps/v1/statefulset.go | 281 - .../apps/v1/statefulsetcondition.go | 81 - .../apps/v1/statefulsetordinals.go | 39 - ...setpersistentvolumeclaimretentionpolicy.go | 52 - .../apps/v1/statefulsetspec.go | 140 - .../apps/v1/statefulsetstatus.go | 125 - .../apps/v1/statefulsetupdatestrategy.go | 52 - .../apps/v1beta1/controllerrevision.go | 282 - .../apps/v1beta1/deployment.go | 281 - .../apps/v1beta1/deploymentcondition.go | 90 - .../apps/v1beta1/deploymentspec.go | 116 - .../apps/v1beta1/deploymentstatus.go | 116 - .../apps/v1beta1/deploymentstrategy.go | 52 - .../apps/v1beta1/rollbackconfig.go | 39 - .../apps/v1beta1/rollingupdatedeployment.go | 52 - .../rollingupdatestatefulsetstrategy.go | 52 - .../apps/v1beta1/statefulset.go | 281 - .../apps/v1beta1/statefulsetcondition.go | 81 - .../apps/v1beta1/statefulsetordinals.go | 39 - ...setpersistentvolumeclaimretentionpolicy.go | 52 - .../apps/v1beta1/statefulsetspec.go | 140 - .../apps/v1beta1/statefulsetstatus.go | 125 - .../apps/v1beta1/statefulsetupdatestrategy.go | 52 - .../apps/v1beta2/controllerrevision.go | 282 - .../apps/v1beta2/daemonset.go | 281 - .../apps/v1beta2/daemonsetcondition.go | 81 - .../apps/v1beta2/daemonsetspec.go | 80 - .../apps/v1beta2/daemonsetstatus.go | 125 - .../apps/v1beta2/daemonsetupdatestrategy.go | 52 - .../apps/v1beta2/deployment.go | 281 - .../apps/v1beta2/deploymentcondition.go | 90 - .../apps/v1beta2/deploymentspec.go | 107 - .../apps/v1beta2/deploymentstatus.go | 116 - .../apps/v1beta2/deploymentstrategy.go | 52 - .../apps/v1beta2/replicaset.go | 281 - .../apps/v1beta2/replicasetcondition.go | 81 - .../apps/v1beta2/replicasetspec.go | 71 - .../apps/v1beta2/replicasetstatus.go | 98 - .../apps/v1beta2/rollingupdatedaemonset.go | 52 - .../apps/v1beta2/rollingupdatedeployment.go | 52 - .../rollingupdatestatefulsetstrategy.go | 52 - .../applyconfigurations/apps/v1beta2/scale.go | 241 - .../apps/v1beta2/statefulset.go | 281 - .../apps/v1beta2/statefulsetcondition.go | 81 - .../apps/v1beta2/statefulsetordinals.go | 39 - ...setpersistentvolumeclaimretentionpolicy.go | 52 - .../apps/v1beta2/statefulsetspec.go | 140 - .../apps/v1beta2/statefulsetstatus.go | 125 - .../apps/v1beta2/statefulsetupdatestrategy.go | 52 - .../v1/crossversionobjectreference.go | 57 - .../autoscaling/v1/horizontalpodautoscaler.go | 281 - .../v1/horizontalpodautoscalerspec.go | 66 - .../v1/horizontalpodautoscalerstatus.go | 79 - .../autoscaling/v1/scale.go | 240 - .../autoscaling/v1/scalespec.go | 39 - .../autoscaling/v1/scalestatus.go | 48 - .../v2/containerresourcemetricsource.go | 61 - .../v2/containerresourcemetricstatus.go | 61 - .../v2/crossversionobjectreference.go | 57 - .../autoscaling/v2/externalmetricsource.go | 48 - .../autoscaling/v2/externalmetricstatus.go | 48 - .../autoscaling/v2/horizontalpodautoscaler.go | 281 - .../v2/horizontalpodautoscalerbehavior.go | 48 - .../v2/horizontalpodautoscalercondition.go | 81 - .../v2/horizontalpodautoscalerspec.go | 80 - .../v2/horizontalpodautoscalerstatus.go | 98 - .../autoscaling/v2/hpascalingpolicy.go | 61 - .../autoscaling/v2/hpascalingrules.go | 76 - .../autoscaling/v2/metricidentifier.go | 52 - .../autoscaling/v2/metricspec.go | 88 - .../autoscaling/v2/metricstatus.go | 88 - .../autoscaling/v2/metrictarget.go | 71 - .../autoscaling/v2/metricvaluestatus.go | 61 - .../autoscaling/v2/objectmetricsource.go | 57 - .../autoscaling/v2/objectmetricstatus.go | 57 - .../autoscaling/v2/podsmetricsource.go | 48 - .../autoscaling/v2/podsmetricstatus.go | 48 - .../autoscaling/v2/resourcemetricsource.go | 52 - .../autoscaling/v2/resourcemetricstatus.go | 52 - .../v2beta1/containerresourcemetricsource.go | 71 - .../v2beta1/containerresourcemetricstatus.go | 71 - .../v2beta1/crossversionobjectreference.go | 57 - .../v2beta1/externalmetricsource.go | 71 - .../v2beta1/externalmetricstatus.go | 71 - .../v2beta1/horizontalpodautoscaler.go | 281 - .../horizontalpodautoscalercondition.go | 81 - .../v2beta1/horizontalpodautoscalerspec.go | 71 - .../v2beta1/horizontalpodautoscalerstatus.go | 98 - .../autoscaling/v2beta1/metricspec.go | 88 - .../autoscaling/v2beta1/metricstatus.go | 88 - .../autoscaling/v2beta1/objectmetricsource.go | 80 - .../autoscaling/v2beta1/objectmetricstatus.go | 80 - .../autoscaling/v2beta1/podsmetricsource.go | 62 - .../autoscaling/v2beta1/podsmetricstatus.go | 62 - .../v2beta1/resourcemetricsource.go | 62 - .../v2beta1/resourcemetricstatus.go | 62 - .../v2beta2/containerresourcemetricsource.go | 61 - .../v2beta2/containerresourcemetricstatus.go | 61 - .../v2beta2/crossversionobjectreference.go | 57 - .../v2beta2/externalmetricsource.go | 48 - .../v2beta2/externalmetricstatus.go | 48 - .../v2beta2/horizontalpodautoscaler.go | 281 - .../horizontalpodautoscalerbehavior.go | 48 - .../horizontalpodautoscalercondition.go | 81 - .../v2beta2/horizontalpodautoscalerspec.go | 80 - .../v2beta2/horizontalpodautoscalerstatus.go | 98 - .../autoscaling/v2beta2/hpascalingpolicy.go | 61 - .../autoscaling/v2beta2/hpascalingrules.go | 66 - .../autoscaling/v2beta2/metricidentifier.go | 52 - .../autoscaling/v2beta2/metricspec.go | 88 - .../autoscaling/v2beta2/metricstatus.go | 88 - .../autoscaling/v2beta2/metrictarget.go | 71 - .../autoscaling/v2beta2/metricvaluestatus.go | 61 - .../autoscaling/v2beta2/objectmetricsource.go | 57 - .../autoscaling/v2beta2/objectmetricstatus.go | 57 - .../autoscaling/v2beta2/podsmetricsource.go | 48 - .../autoscaling/v2beta2/podsmetricstatus.go | 48 - .../v2beta2/resourcemetricsource.go | 52 - .../v2beta2/resourcemetricstatus.go | 52 - .../applyconfigurations/batch/v1/cronjob.go | 281 - .../batch/v1/cronjobspec.go | 106 - .../batch/v1/cronjobstatus.go | 67 - .../applyconfigurations/batch/v1/job.go | 281 - .../batch/v1/jobcondition.go | 90 - .../applyconfigurations/batch/v1/jobspec.go | 180 - .../applyconfigurations/batch/v1/jobstatus.go | 138 - .../batch/v1/jobtemplatespec.go | 200 - .../batch/v1/podfailurepolicy.go | 44 - .../podfailurepolicyonexitcodesrequirement.go | 63 - .../podfailurepolicyonpodconditionspattern.go | 52 - .../batch/v1/podfailurepolicyrule.go | 66 - .../batch/v1/successpolicy.go | 44 - .../batch/v1/successpolicyrule.go | 48 - .../batch/v1/uncountedterminatedpods.go | 56 - .../batch/v1beta1/cronjob.go | 281 - .../batch/v1beta1/cronjobspec.go | 106 - .../batch/v1beta1/cronjobstatus.go | 67 - .../batch/v1beta1/jobtemplatespec.go | 201 - .../v1/certificatesigningrequest.go | 279 - .../v1/certificatesigningrequestcondition.go | 90 - .../v1/certificatesigningrequestspec.go | 118 - .../v1/certificatesigningrequeststatus.go | 55 - .../v1alpha1/clustertrustbundle.go | 270 - .../v1alpha1/clustertrustbundlespec.go | 48 - .../v1alpha1/podcertificaterequest.go | 281 - .../v1alpha1/podcertificaterequestspec.go | 128 - .../v1alpha1/podcertificaterequeststatus.go | 85 - .../v1beta1/certificatesigningrequest.go | 279 - .../certificatesigningrequestcondition.go | 90 - .../v1beta1/certificatesigningrequestspec.go | 118 - .../certificatesigningrequeststatus.go | 55 - .../v1beta1/clustertrustbundle.go | 270 - .../v1beta1/clustertrustbundlespec.go | 48 - .../coordination/v1/lease.go | 272 - .../coordination/v1/leasespec.go | 98 - .../coordination/v1alpha2/leasecandidate.go | 272 - .../v1alpha2/leasecandidatespec.go | 89 - .../coordination/v1beta1/lease.go | 272 - .../coordination/v1beta1/leasecandidate.go | 272 - .../v1beta1/leasecandidatespec.go | 89 - .../coordination/v1beta1/leasespec.go | 98 - .../applyconfigurations/core/v1/affinity.go | 57 - .../core/v1/apparmorprofile.go | 52 - .../core/v1/attachedvolume.go | 52 - .../v1/awselasticblockstorevolumesource.go | 66 - .../core/v1/azurediskvolumesource.go | 88 - .../v1/azurefilepersistentvolumesource.go | 66 - .../core/v1/azurefilevolumesource.go | 57 - .../core/v1/capabilities.go | 56 - .../core/v1/cephfspersistentvolumesource.go | 86 - .../core/v1/cephfsvolumesource.go | 86 - .../core/v1/cinderpersistentvolumesource.go | 66 - .../core/v1/cindervolumesource.go | 66 - .../core/v1/clientipconfig.go | 39 - .../core/v1/clustertrustbundleprojection.go | 79 - .../core/v1/componentcondition.go | 70 - .../core/v1/componentstatus.go | 275 - .../applyconfigurations/core/v1/configmap.go | 302 - .../core/v1/configmapenvsource.go | 48 - .../core/v1/configmapkeyselector.go | 57 - .../core/v1/configmapnodeconfigsource.go | 79 - .../core/v1/configmapprojection.go | 62 - .../core/v1/configmapvolumesource.go | 71 - .../applyconfigurations/core/v1/container.go | 298 - .../v1/containerextendedresourcerequest.go | 57 - .../core/v1/containerimage.go | 50 - .../core/v1/containerport.go | 79 - .../core/v1/containerresizepolicy.go | 52 - .../core/v1/containerrestartrule.go | 52 - .../v1/containerrestartruleonexitcodes.go | 54 - .../core/v1/containerstate.go | 57 - .../core/v1/containerstaterunning.go | 43 - .../core/v1/containerstateterminated.go | 97 - .../core/v1/containerstatewaiting.go | 48 - .../core/v1/containerstatus.go | 179 - .../core/v1/containeruser.go | 39 - .../core/v1/csipersistentvolumesource.go | 126 - .../core/v1/csivolumesource.go | 81 - .../core/v1/daemonendpoint.go | 39 - .../core/v1/downwardapiprojection.go | 44 - .../core/v1/downwardapivolumefile.go | 66 - .../core/v1/downwardapivolumesource.go | 53 - .../core/v1/emptydirvolumesource.go | 53 - .../core/v1/endpointaddress.go | 66 - .../core/v1/endpointport.go | 70 - .../applyconfigurations/core/v1/endpoints.go | 277 - .../core/v1/endpointsubset.go | 72 - .../core/v1/envfromsource.go | 57 - .../applyconfigurations/core/v1/envvar.go | 57 - .../core/v1/envvarsource.go | 75 - .../core/v1/ephemeralcontainer.go | 283 - .../core/v1/ephemeralcontainercommon.go | 298 - .../core/v1/ephemeralvolumesource.go | 39 - .../applyconfigurations/core/v1/event.go | 389 - .../core/v1/eventseries.go | 52 - .../core/v1/eventsource.go | 48 - .../applyconfigurations/core/v1/execaction.go | 41 - .../core/v1/fcvolumesource.go | 79 - .../core/v1/filekeyselector.go | 66 - .../core/v1/flexpersistentvolumesource.go | 81 - .../core/v1/flexvolumesource.go | 81 - .../core/v1/flockervolumesource.go | 48 - .../core/v1/gcepersistentdiskvolumesource.go | 66 - .../core/v1/gitrepovolumesource.go | 57 - .../v1/glusterfspersistentvolumesource.go | 66 - .../core/v1/glusterfsvolumesource.go | 57 - .../applyconfigurations/core/v1/grpcaction.go | 48 - .../applyconfigurations/core/v1/hostalias.go | 50 - .../applyconfigurations/core/v1/hostip.go | 39 - .../core/v1/hostpathvolumesource.go | 52 - .../core/v1/httpgetaction.go | 85 - .../applyconfigurations/core/v1/httpheader.go | 48 - .../core/v1/imagevolumesource.go | 52 - .../core/v1/iscsipersistentvolumesource.go | 131 - .../core/v1/iscsivolumesource.go | 131 - .../applyconfigurations/core/v1/keytopath.go | 57 - .../applyconfigurations/core/v1/lifecycle.go | 61 - .../core/v1/lifecyclehandler.go | 66 - .../applyconfigurations/core/v1/limitrange.go | 272 - .../core/v1/limitrangeitem.go | 88 - .../core/v1/limitrangespec.go | 44 - .../core/v1/linuxcontaineruser.go | 59 - .../core/v1/loadbalanceringress.go | 75 - .../core/v1/loadbalancerstatus.go | 44 - .../core/v1/localobjectreference.go | 39 - .../core/v1/localvolumesource.go | 48 - .../core/v1/modifyvolumestatus.go | 52 - .../applyconfigurations/core/v1/namespace.go | 279 - .../core/v1/namespacecondition.go | 80 - .../core/v1/namespacespec.go | 45 - .../core/v1/namespacestatus.go | 57 - .../core/v1/nfsvolumesource.go | 57 - .../applyconfigurations/core/v1/node.go | 279 - .../core/v1/nodeaddress.go | 52 - .../core/v1/nodeaffinity.go | 53 - .../core/v1/nodecondition.go | 89 - .../core/v1/nodeconfigsource.go | 39 - .../core/v1/nodeconfigstatus.go | 66 - .../core/v1/nodedaemonendpoints.go | 39 - .../core/v1/nodefeatures.go | 39 - .../core/v1/noderuntimehandler.go | 48 - .../core/v1/noderuntimehandlerfeatures.go | 48 - .../core/v1/nodeselector.go | 44 - .../core/v1/nodeselectorrequirement.go | 63 - .../core/v1/nodeselectorterm.go | 58 - .../applyconfigurations/core/v1/nodespec.go | 100 - .../applyconfigurations/core/v1/nodestatus.go | 178 - .../core/v1/nodeswapstatus.go | 39 - .../core/v1/nodesysteminfo.go | 129 - .../core/v1/objectfieldselector.go | 48 - .../core/v1/objectreference.go | 97 - .../core/v1/persistentvolume.go | 279 - .../core/v1/persistentvolumeclaim.go | 281 - .../core/v1/persistentvolumeclaimcondition.go | 89 - .../core/v1/persistentvolumeclaimspec.go | 118 - .../core/v1/persistentvolumeclaimstatus.go | 119 - .../core/v1/persistentvolumeclaimtemplate.go | 200 - .../v1/persistentvolumeclaimvolumesource.go | 48 - .../core/v1/persistentvolumesource.go | 228 - .../core/v1/persistentvolumespec.go | 296 - .../core/v1/persistentvolumestatus.go | 71 - .../v1/photonpersistentdiskvolumesource.go | 48 - .../applyconfigurations/core/v1/pod.go | 281 - .../core/v1/podaffinity.go | 58 - .../core/v1/podaffinityterm.go | 94 - .../core/v1/podantiaffinity.go | 58 - .../core/v1/podcertificateprojection.go | 84 - .../core/v1/podcondition.go | 98 - .../core/v1/poddnsconfig.go | 66 - .../core/v1/poddnsconfigoption.go | 48 - .../core/v1/podextendedresourceclaimstatus.go | 53 - .../applyconfigurations/core/v1/podip.go | 39 - .../applyconfigurations/core/v1/podos.go | 43 - .../core/v1/podreadinessgate.go | 43 - .../core/v1/podresourceclaim.go | 57 - .../core/v1/podresourceclaimstatus.go | 48 - .../core/v1/podschedulinggate.go | 39 - .../core/v1/podsecuritycontext.go | 158 - .../applyconfigurations/core/v1/podspec.go | 464 - .../applyconfigurations/core/v1/podstatus.go | 232 - .../core/v1/podtemplate.go | 272 - .../core/v1/podtemplatespec.go | 200 - .../applyconfigurations/core/v1/portstatus.go | 61 - .../core/v1/portworxvolumesource.go | 57 - .../core/v1/preferredschedulingterm.go | 48 - .../applyconfigurations/core/v1/probe.go | 117 - .../core/v1/probehandler.go | 66 - .../core/v1/projectedvolumesource.go | 53 - .../core/v1/quobytevolumesource.go | 84 - .../core/v1/rbdpersistentvolumesource.go | 104 - .../core/v1/rbdvolumesource.go | 104 - .../core/v1/replicationcontroller.go | 281 - .../core/v1/replicationcontrollercondition.go | 80 - .../core/v1/replicationcontrollerspec.go | 72 - .../core/v1/replicationcontrollerstatus.go | 89 - .../core/v1/resourceclaim.go | 48 - .../core/v1/resourcefieldselector.go | 61 - .../core/v1/resourcehealth.go | 52 - .../core/v1/resourcequota.go | 281 - .../core/v1/resourcequotaspec.go | 63 - .../core/v1/resourcequotastatus.go | 52 - .../core/v1/resourcerequirements.go | 66 - .../core/v1/resourcestatus.go | 57 - .../core/v1/scaleiopersistentvolumesource.go | 120 - .../core/v1/scaleiovolumesource.go | 120 - .../v1/scopedresourceselectorrequirement.go | 63 - .../core/v1/scopeselector.go | 44 - .../core/v1/seccompprofile.go | 52 - .../applyconfigurations/core/v1/secret.go | 311 - .../core/v1/secretenvsource.go | 48 - .../core/v1/secretkeyselector.go | 57 - .../core/v1/secretprojection.go | 62 - .../core/v1/secretreference.go | 48 - .../core/v1/secretvolumesource.go | 71 - .../core/v1/securitycontext.go | 142 - .../core/v1/selinuxoptions.go | 66 - .../applyconfigurations/core/v1/service.go | 281 - .../core/v1/serviceaccount.go | 300 - .../core/v1/serviceaccounttokenprojection.go | 57 - .../core/v1/serviceport.go | 89 - .../core/v1/servicespec.go | 233 - .../core/v1/servicestatus.go | 57 - .../core/v1/sessionaffinityconfig.go | 39 - .../core/v1/sleepaction.go | 39 - .../v1/storageospersistentvolumesource.go | 75 - .../core/v1/storageosvolumesource.go | 75 - .../applyconfigurations/core/v1/sysctl.go | 48 - .../applyconfigurations/core/v1/taint.go | 71 - .../core/v1/tcpsocketaction.go | 52 - .../applyconfigurations/core/v1/toleration.go | 79 - .../v1/topologyselectorlabelrequirement.go | 50 - .../core/v1/topologyselectorterm.go | 44 - .../core/v1/topologyspreadconstraint.go | 109 - .../core/v1/typedlocalobjectreference.go | 57 - .../core/v1/typedobjectreference.go | 66 - .../applyconfigurations/core/v1/volume.go | 280 - .../core/v1/volumedevice.go | 48 - .../core/v1/volumemount.go | 97 - .../core/v1/volumemountstatus.go | 70 - .../core/v1/volumenodeaffinity.go | 39 - .../core/v1/volumeprojection.go | 84 - .../core/v1/volumeresourcerequirements.go | 52 - .../core/v1/volumesource.go | 300 - .../core/v1/vspherevirtualdiskvolumesource.go | 66 - .../core/v1/weightedpodaffinityterm.go | 48 - .../core/v1/windowssecuritycontextoptions.go | 66 - .../discovery/v1/endpoint.go | 114 - .../discovery/v1/endpointconditions.go | 57 - .../discovery/v1/endpointhints.go | 58 - .../discovery/v1/endpointport.go | 70 - .../discovery/v1/endpointslice.go | 300 - .../discovery/v1/fornode.go | 39 - .../discovery/v1/forzone.go | 39 - .../discovery/v1beta1/endpoint.go | 105 - .../discovery/v1beta1/endpointconditions.go | 57 - .../discovery/v1beta1/endpointhints.go | 58 - .../discovery/v1beta1/endpointport.go | 70 - .../discovery/v1beta1/endpointslice.go | 300 - .../discovery/v1beta1/fornode.go | 39 - .../discovery/v1beta1/forzone.go | 39 - .../applyconfigurations/events/v1/event.go | 390 - .../events/v1/eventseries.go | 52 - .../events/v1beta1/event.go | 390 - .../events/v1beta1/eventseries.go | 52 - .../extensions/v1beta1/daemonset.go | 281 - .../extensions/v1beta1/daemonsetcondition.go | 81 - .../extensions/v1beta1/daemonsetspec.go | 89 - .../extensions/v1beta1/daemonsetstatus.go | 125 - .../v1beta1/daemonsetupdatestrategy.go | 52 - .../extensions/v1beta1/deployment.go | 281 - .../extensions/v1beta1/deploymentcondition.go | 90 - .../extensions/v1beta1/deploymentspec.go | 116 - .../extensions/v1beta1/deploymentstatus.go | 116 - .../extensions/v1beta1/deploymentstrategy.go | 52 - .../extensions/v1beta1/httpingresspath.go | 61 - .../v1beta1/httpingressrulevalue.go | 44 - .../extensions/v1beta1/ingress.go | 281 - .../extensions/v1beta1/ingressbackend.go | 62 - .../v1beta1/ingressloadbalanceringress.go | 62 - .../v1beta1/ingressloadbalancerstatus.go | 44 - .../extensions/v1beta1/ingressportstatus.go | 61 - .../extensions/v1beta1/ingressrule.go | 48 - .../extensions/v1beta1/ingressrulevalue.go | 39 - .../extensions/v1beta1/ingressspec.go | 76 - .../extensions/v1beta1/ingressstatus.go | 39 - .../extensions/v1beta1/ingresstls.go | 50 - .../extensions/v1beta1/ipblock.go | 50 - .../extensions/v1beta1/networkpolicy.go | 272 - .../v1beta1/networkpolicyegressrule.go | 58 - .../v1beta1/networkpolicyingressrule.go | 58 - .../extensions/v1beta1/networkpolicypeer.go | 61 - .../extensions/v1beta1/networkpolicyport.go | 62 - .../extensions/v1beta1/networkpolicyspec.go | 83 - .../extensions/v1beta1/replicaset.go | 281 - .../extensions/v1beta1/replicasetcondition.go | 81 - .../extensions/v1beta1/replicasetspec.go | 71 - .../extensions/v1beta1/replicasetstatus.go | 98 - .../extensions/v1beta1/rollbackconfig.go | 39 - .../v1beta1/rollingupdatedaemonset.go | 52 - .../v1beta1/rollingupdatedeployment.go | 52 - .../extensions/v1beta1/scale.go | 241 - .../v1/exemptprioritylevelconfiguration.go | 48 - .../flowcontrol/v1/flowdistinguishermethod.go | 43 - .../flowcontrol/v1/flowschema.go | 279 - .../flowcontrol/v1/flowschemacondition.go | 80 - .../flowcontrol/v1/flowschemaspec.go | 71 - .../flowcontrol/v1/flowschemastatus.go | 44 - .../flowcontrol/v1/groupsubject.go | 39 - .../v1/limitedprioritylevelconfiguration.go | 66 - .../flowcontrol/v1/limitresponse.go | 52 - .../flowcontrol/v1/nonresourcepolicyrule.go | 52 - .../flowcontrol/v1/policyruleswithsubjects.go | 72 - .../v1/prioritylevelconfiguration.go | 279 - .../v1/prioritylevelconfigurationcondition.go | 80 - .../v1/prioritylevelconfigurationreference.go | 39 - .../v1/prioritylevelconfigurationspec.go | 61 - .../v1/prioritylevelconfigurationstatus.go | 44 - .../flowcontrol/v1/queuingconfiguration.go | 57 - .../flowcontrol/v1/resourcepolicyrule.go | 83 - .../flowcontrol/v1/serviceaccountsubject.go | 48 - .../flowcontrol/v1/subject.go | 70 - .../flowcontrol/v1/usersubject.go | 39 - .../exemptprioritylevelconfiguration.go | 48 - .../v1beta1/flowdistinguishermethod.go | 43 - .../flowcontrol/v1beta1/flowschema.go | 279 - .../v1beta1/flowschemacondition.go | 80 - .../flowcontrol/v1beta1/flowschemaspec.go | 71 - .../flowcontrol/v1beta1/flowschemastatus.go | 44 - .../flowcontrol/v1beta1/groupsubject.go | 39 - .../limitedprioritylevelconfiguration.go | 66 - .../flowcontrol/v1beta1/limitresponse.go | 52 - .../v1beta1/nonresourcepolicyrule.go | 52 - .../v1beta1/policyruleswithsubjects.go | 72 - .../v1beta1/prioritylevelconfiguration.go | 279 - .../prioritylevelconfigurationcondition.go | 80 - .../prioritylevelconfigurationreference.go | 39 - .../v1beta1/prioritylevelconfigurationspec.go | 61 - .../prioritylevelconfigurationstatus.go | 44 - .../v1beta1/queuingconfiguration.go | 57 - .../flowcontrol/v1beta1/resourcepolicyrule.go | 83 - .../v1beta1/serviceaccountsubject.go | 48 - .../flowcontrol/v1beta1/subject.go | 70 - .../flowcontrol/v1beta1/usersubject.go | 39 - .../exemptprioritylevelconfiguration.go | 48 - .../v1beta2/flowdistinguishermethod.go | 43 - .../flowcontrol/v1beta2/flowschema.go | 279 - .../v1beta2/flowschemacondition.go | 80 - .../flowcontrol/v1beta2/flowschemaspec.go | 71 - .../flowcontrol/v1beta2/flowschemastatus.go | 44 - .../flowcontrol/v1beta2/groupsubject.go | 39 - .../limitedprioritylevelconfiguration.go | 66 - .../flowcontrol/v1beta2/limitresponse.go | 52 - .../v1beta2/nonresourcepolicyrule.go | 52 - .../v1beta2/policyruleswithsubjects.go | 72 - .../v1beta2/prioritylevelconfiguration.go | 279 - .../prioritylevelconfigurationcondition.go | 80 - .../prioritylevelconfigurationreference.go | 39 - .../v1beta2/prioritylevelconfigurationspec.go | 61 - .../prioritylevelconfigurationstatus.go | 44 - .../v1beta2/queuingconfiguration.go | 57 - .../flowcontrol/v1beta2/resourcepolicyrule.go | 83 - .../v1beta2/serviceaccountsubject.go | 48 - .../flowcontrol/v1beta2/subject.go | 70 - .../flowcontrol/v1beta2/usersubject.go | 39 - .../exemptprioritylevelconfiguration.go | 48 - .../v1beta3/flowdistinguishermethod.go | 43 - .../flowcontrol/v1beta3/flowschema.go | 279 - .../v1beta3/flowschemacondition.go | 80 - .../flowcontrol/v1beta3/flowschemaspec.go | 71 - .../flowcontrol/v1beta3/flowschemastatus.go | 44 - .../flowcontrol/v1beta3/groupsubject.go | 39 - .../limitedprioritylevelconfiguration.go | 66 - .../flowcontrol/v1beta3/limitresponse.go | 52 - .../v1beta3/nonresourcepolicyrule.go | 52 - .../v1beta3/policyruleswithsubjects.go | 72 - .../v1beta3/prioritylevelconfiguration.go | 279 - .../prioritylevelconfigurationcondition.go | 80 - .../prioritylevelconfigurationreference.go | 39 - .../v1beta3/prioritylevelconfigurationspec.go | 61 - .../prioritylevelconfigurationstatus.go | 44 - .../v1beta3/queuingconfiguration.go | 57 - .../flowcontrol/v1beta3/resourcepolicyrule.go | 83 - .../v1beta3/serviceaccountsubject.go | 48 - .../flowcontrol/v1beta3/subject.go | 70 - .../flowcontrol/v1beta3/usersubject.go | 39 - .../applyconfigurations/internal/internal.go | 16016 ---------- .../applyconfigurations/meta/v1/condition.go | 88 - .../meta/v1/deleteoptions.go | 121 - .../meta/v1/labelselector.go | 59 - .../meta/v1/labelselectorrequirement.go | 63 - .../meta/v1/managedfieldsentry.go | 97 - .../applyconfigurations/meta/v1/objectmeta.go | 181 - .../meta/v1/ownerreference.go | 88 - .../meta/v1/preconditions.go | 52 - .../applyconfigurations/meta/v1/typemeta.go | 58 - .../meta/v1/unstructured.go | 137 - .../networking/v1/httpingresspath.go | 61 - .../networking/v1/httpingressrulevalue.go | 44 - .../networking/v1/ingress.go | 281 - .../networking/v1/ingressbackend.go | 52 - .../networking/v1/ingressclass.go | 270 - .../v1/ingressclassparametersreference.go | 75 - .../networking/v1/ingressclassspec.go | 48 - .../v1/ingressloadbalanceringress.go | 62 - .../v1/ingressloadbalancerstatus.go | 44 - .../networking/v1/ingressportstatus.go | 61 - .../networking/v1/ingressrule.go | 48 - .../networking/v1/ingressrulevalue.go | 39 - .../networking/v1/ingressservicebackend.go | 48 - .../networking/v1/ingressspec.go | 76 - .../networking/v1/ingressstatus.go | 39 - .../networking/v1/ingresstls.go | 50 - .../networking/v1/ipaddress.go | 270 - .../networking/v1/ipaddressspec.go | 39 - .../networking/v1/ipblock.go | 50 - .../networking/v1/networkpolicy.go | 272 - .../networking/v1/networkpolicyegressrule.go | 58 - .../networking/v1/networkpolicyingressrule.go | 58 - .../networking/v1/networkpolicypeer.go | 61 - .../networking/v1/networkpolicyport.go | 62 - .../networking/v1/networkpolicyspec.go | 83 - .../networking/v1/parentreference.go | 66 - .../networking/v1/servicebackendport.go | 48 - .../networking/v1/servicecidr.go | 279 - .../networking/v1/servicecidrspec.go | 41 - .../networking/v1/servicecidrstatus.go | 48 - .../networking/v1beta1/httpingresspath.go | 61 - .../v1beta1/httpingressrulevalue.go | 44 - .../networking/v1beta1/ingress.go | 281 - .../networking/v1beta1/ingressbackend.go | 62 - .../networking/v1beta1/ingressclass.go | 270 - .../ingressclassparametersreference.go | 75 - .../networking/v1beta1/ingressclassspec.go | 48 - .../v1beta1/ingressloadbalanceringress.go | 62 - .../v1beta1/ingressloadbalancerstatus.go | 44 - .../networking/v1beta1/ingressportstatus.go | 61 - .../networking/v1beta1/ingressrule.go | 48 - .../networking/v1beta1/ingressrulevalue.go | 39 - .../networking/v1beta1/ingressspec.go | 76 - .../networking/v1beta1/ingressstatus.go | 39 - .../networking/v1beta1/ingresstls.go | 50 - .../networking/v1beta1/ipaddress.go | 270 - .../networking/v1beta1/ipaddressspec.go | 39 - .../networking/v1beta1/parentreference.go | 66 - .../networking/v1beta1/servicecidr.go | 279 - .../networking/v1beta1/servicecidrspec.go | 41 - .../networking/v1beta1/servicecidrstatus.go | 48 - .../applyconfigurations/node/v1/overhead.go | 43 - .../node/v1/runtimeclass.go | 288 - .../applyconfigurations/node/v1/scheduling.go | 63 - .../node/v1alpha1/overhead.go | 43 - .../node/v1alpha1/runtimeclass.go | 270 - .../node/v1alpha1/runtimeclassspec.go | 57 - .../node/v1alpha1/scheduling.go | 63 - .../node/v1beta1/overhead.go | 43 - .../node/v1beta1/runtimeclass.go | 288 - .../node/v1beta1/scheduling.go | 63 - .../applyconfigurations/policy/v1/eviction.go | 272 - .../policy/v1/poddisruptionbudget.go | 281 - .../policy/v1/poddisruptionbudgetspec.go | 72 - .../policy/v1/poddisruptionbudgetstatus.go | 109 - .../policy/v1beta1/eviction.go | 272 - .../policy/v1beta1/poddisruptionbudget.go | 281 - .../policy/v1beta1/poddisruptionbudgetspec.go | 72 - .../v1beta1/poddisruptionbudgetstatus.go | 109 - .../rbac/v1/aggregationrule.go | 48 - .../rbac/v1/clusterrole.go | 284 - .../rbac/v1/clusterrolebinding.go | 284 - .../applyconfigurations/rbac/v1/policyrule.go | 85 - .../applyconfigurations/rbac/v1/role.go | 277 - .../rbac/v1/rolebinding.go | 286 - .../applyconfigurations/rbac/v1/roleref.go | 57 - .../applyconfigurations/rbac/v1/subject.go | 66 - .../rbac/v1alpha1/aggregationrule.go | 48 - .../rbac/v1alpha1/clusterrole.go | 284 - .../rbac/v1alpha1/clusterrolebinding.go | 284 - .../rbac/v1alpha1/policyrule.go | 85 - .../applyconfigurations/rbac/v1alpha1/role.go | 277 - .../rbac/v1alpha1/rolebinding.go | 286 - .../rbac/v1alpha1/roleref.go | 57 - .../rbac/v1alpha1/subject.go | 66 - .../rbac/v1beta1/aggregationrule.go | 48 - .../rbac/v1beta1/clusterrole.go | 284 - .../rbac/v1beta1/clusterrolebinding.go | 284 - .../rbac/v1beta1/policyrule.go | 85 - .../applyconfigurations/rbac/v1beta1/role.go | 277 - .../rbac/v1beta1/rolebinding.go | 286 - .../rbac/v1beta1/roleref.go | 57 - .../rbac/v1beta1/subject.go | 66 - .../resource/v1/allocateddevicestatus.go | 103 - .../resource/v1/allocationresult.go | 62 - .../resource/v1/capacityrequestpolicy.go | 63 - .../resource/v1/capacityrequestpolicyrange.go | 61 - .../resource/v1/capacityrequirements.go | 50 - .../resource/v1/celdeviceselector.go | 39 - .../resource/v1/counter.go | 43 - .../resource/v1/counterset.go | 54 - .../applyconfigurations/resource/v1/device.go | 169 - .../v1/deviceallocationconfiguration.go | 63 - .../resource/v1/deviceallocationresult.go | 58 - .../resource/v1/deviceattribute.go | 66 - .../resource/v1/devicecapacity.go | 52 - .../resource/v1/deviceclaim.go | 72 - .../resource/v1/deviceclaimconfiguration.go | 50 - .../resource/v1/deviceclass.go | 270 - .../resource/v1/deviceclassconfiguration.go | 39 - .../resource/v1/deviceclassspec.go | 67 - .../resource/v1/deviceconfiguration.go | 39 - .../resource/v1/deviceconstraint.go | 63 - .../resource/v1/devicecounterconsumption.go | 54 - .../resource/v1/devicerequest.go | 62 - .../v1/devicerequestallocationresult.go | 141 - .../resource/v1/deviceselector.go | 39 - .../resource/v1/devicesubrequest.go | 107 - .../resource/v1/devicetaint.go | 71 - .../resource/v1/devicetoleration.go | 79 - .../resource/v1/exactdevicerequest.go | 107 - .../resource/v1/networkdevicedata.go | 59 - .../resource/v1/opaquedeviceconfiguration.go | 52 - .../resource/v1/resourceclaim.go | 281 - .../v1/resourceclaimconsumerreference.go | 70 - .../resource/v1/resourceclaimspec.go | 39 - .../resource/v1/resourceclaimstatus.go | 67 - .../resource/v1/resourceclaimtemplate.go | 272 - .../resource/v1/resourceclaimtemplatespec.go | 200 - .../resource/v1/resourcepool.go | 57 - .../resource/v1/resourceslice.go | 270 - .../resource/v1/resourceslicespec.go | 116 - .../resource/v1alpha3/celdeviceselector.go | 39 - .../resource/v1alpha3/deviceselector.go | 39 - .../resource/v1alpha3/devicetaint.go | 71 - .../resource/v1alpha3/devicetaintrule.go | 270 - .../resource/v1alpha3/devicetaintrulespec.go | 48 - .../resource/v1alpha3/devicetaintselector.go | 80 - .../resource/v1beta1/allocateddevicestatus.go | 103 - .../resource/v1beta1/allocationresult.go | 62 - .../resource/v1beta1/basicdevice.go | 160 - .../resource/v1beta1/capacityrequestpolicy.go | 63 - .../v1beta1/capacityrequestpolicyrange.go | 61 - .../resource/v1beta1/capacityrequirements.go | 50 - .../resource/v1beta1/celdeviceselector.go | 39 - .../resource/v1beta1/counter.go | 43 - .../resource/v1beta1/counterset.go | 54 - .../resource/v1beta1/device.go | 48 - .../v1beta1/deviceallocationconfiguration.go | 63 - .../v1beta1/deviceallocationresult.go | 58 - .../resource/v1beta1/deviceattribute.go | 66 - .../resource/v1beta1/devicecapacity.go | 52 - .../resource/v1beta1/deviceclaim.go | 72 - .../v1beta1/deviceclaimconfiguration.go | 50 - .../resource/v1beta1/deviceclass.go | 270 - .../v1beta1/deviceclassconfiguration.go | 39 - .../resource/v1beta1/deviceclassspec.go | 67 - .../resource/v1beta1/deviceconfiguration.go | 39 - .../resource/v1beta1/deviceconstraint.go | 63 - .../v1beta1/devicecounterconsumption.go | 54 - .../resource/v1beta1/devicerequest.go | 130 - .../v1beta1/devicerequestallocationresult.go | 141 - .../resource/v1beta1/deviceselector.go | 39 - .../resource/v1beta1/devicesubrequest.go | 107 - .../resource/v1beta1/devicetaint.go | 71 - .../resource/v1beta1/devicetoleration.go | 79 - .../resource/v1beta1/networkdevicedata.go | 59 - .../v1beta1/opaquedeviceconfiguration.go | 52 - .../resource/v1beta1/resourceclaim.go | 281 - .../v1beta1/resourceclaimconsumerreference.go | 70 - .../resource/v1beta1/resourceclaimspec.go | 39 - .../resource/v1beta1/resourceclaimstatus.go | 67 - .../resource/v1beta1/resourceclaimtemplate.go | 272 - .../v1beta1/resourceclaimtemplatespec.go | 200 - .../resource/v1beta1/resourcepool.go | 57 - .../resource/v1beta1/resourceslice.go | 270 - .../resource/v1beta1/resourceslicespec.go | 116 - .../resource/v1beta2/allocateddevicestatus.go | 103 - .../resource/v1beta2/allocationresult.go | 62 - .../resource/v1beta2/capacityrequestpolicy.go | 63 - .../v1beta2/capacityrequestpolicyrange.go | 61 - .../resource/v1beta2/capacityrequirements.go | 50 - .../resource/v1beta2/celdeviceselector.go | 39 - .../resource/v1beta2/counter.go | 43 - .../resource/v1beta2/counterset.go | 54 - .../resource/v1beta2/device.go | 169 - .../v1beta2/deviceallocationconfiguration.go | 63 - .../v1beta2/deviceallocationresult.go | 58 - .../resource/v1beta2/deviceattribute.go | 66 - .../resource/v1beta2/devicecapacity.go | 52 - .../resource/v1beta2/deviceclaim.go | 72 - .../v1beta2/deviceclaimconfiguration.go | 50 - .../resource/v1beta2/deviceclass.go | 270 - .../v1beta2/deviceclassconfiguration.go | 39 - .../resource/v1beta2/deviceclassspec.go | 67 - .../resource/v1beta2/deviceconfiguration.go | 39 - .../resource/v1beta2/deviceconstraint.go | 63 - .../v1beta2/devicecounterconsumption.go | 54 - .../resource/v1beta2/devicerequest.go | 62 - .../v1beta2/devicerequestallocationresult.go | 141 - .../resource/v1beta2/deviceselector.go | 39 - .../resource/v1beta2/devicesubrequest.go | 107 - .../resource/v1beta2/devicetaint.go | 71 - .../resource/v1beta2/devicetoleration.go | 79 - .../resource/v1beta2/exactdevicerequest.go | 107 - .../resource/v1beta2/networkdevicedata.go | 59 - .../v1beta2/opaquedeviceconfiguration.go | 52 - .../resource/v1beta2/resourceclaim.go | 281 - .../v1beta2/resourceclaimconsumerreference.go | 70 - .../resource/v1beta2/resourceclaimspec.go | 39 - .../resource/v1beta2/resourceclaimstatus.go | 67 - .../resource/v1beta2/resourceclaimtemplate.go | 272 - .../v1beta2/resourceclaimtemplatespec.go | 200 - .../resource/v1beta2/resourcepool.go | 57 - .../resource/v1beta2/resourceslice.go | 270 - .../resource/v1beta2/resourceslicespec.go | 116 - .../scheduling/v1/priorityclass.go | 298 - .../scheduling/v1alpha1/priorityclass.go | 298 - .../scheduling/v1beta1/priorityclass.go | 298 - .../storage/v1/csidriver.go | 270 - .../storage/v1/csidriverspec.go | 122 - .../applyconfigurations/storage/v1/csinode.go | 270 - .../storage/v1/csinodedriver.go | 68 - .../storage/v1/csinodespec.go | 44 - .../storage/v1/csistoragecapacity.go | 300 - .../storage/v1/storageclass.go | 339 - .../storage/v1/tokenrequest.go | 48 - .../storage/v1/volumeattachment.go | 279 - .../storage/v1/volumeattachmentsource.go | 52 - .../storage/v1/volumeattachmentspec.go | 57 - .../storage/v1/volumeattachmentstatus.go | 72 - .../storage/v1/volumeattributesclass.go | 285 - .../storage/v1/volumeerror.go | 61 - .../storage/v1/volumenoderesources.go | 39 - .../storage/v1alpha1/csistoragecapacity.go | 300 - .../storage/v1alpha1/volumeattachment.go | 279 - .../v1alpha1/volumeattachmentsource.go | 52 - .../storage/v1alpha1/volumeattachmentspec.go | 57 - .../v1alpha1/volumeattachmentstatus.go | 72 - .../storage/v1alpha1/volumeattributesclass.go | 285 - .../storage/v1alpha1/volumeerror.go | 61 - .../storage/v1beta1/csidriver.go | 270 - .../storage/v1beta1/csidriverspec.go | 122 - .../storage/v1beta1/csinode.go | 270 - .../storage/v1beta1/csinodedriver.go | 68 - .../storage/v1beta1/csinodespec.go | 44 - .../storage/v1beta1/csistoragecapacity.go | 300 - .../storage/v1beta1/storageclass.go | 339 - .../storage/v1beta1/tokenrequest.go | 48 - .../storage/v1beta1/volumeattachment.go | 279 - .../storage/v1beta1/volumeattachmentsource.go | 52 - .../storage/v1beta1/volumeattachmentspec.go | 57 - .../storage/v1beta1/volumeattachmentstatus.go | 72 - .../storage/v1beta1/volumeattributesclass.go | 285 - .../storage/v1beta1/volumeerror.go | 61 - .../storage/v1beta1/volumenoderesources.go | 39 - .../v1alpha1/groupversionresource.go | 57 - .../v1alpha1/migrationcondition.go | 81 - .../v1alpha1/storageversionmigration.go | 279 - .../v1alpha1/storageversionmigrationspec.go | 48 - .../v1alpha1/storageversionmigrationstatus.go | 53 - .../discovery/aggregated_discovery.go | 278 - .../client-go/discovery/discovery_client.go | 785 - api/vendor/k8s.io/client-go/discovery/doc.go | 19 - .../k8s.io/client-go/discovery/helper.go | 146 - .../k8s.io/client-go/dynamic/interface.go | 63 - api/vendor/k8s.io/client-go/dynamic/scheme.go | 144 - api/vendor/k8s.io/client-go/dynamic/simple.go | 362 - .../k8s.io/client-go/features/envvar.go | 188 - .../k8s.io/client-go/features/features.go | 143 - .../client-go/features/known_features.go | 83 - api/vendor/k8s.io/client-go/gentype/fake.go | 305 - api/vendor/k8s.io/client-go/gentype/type.go | 348 - .../admissionregistration/interface.go | 62 - .../admissionregistration/v1/interface.go | 66 - .../v1/mutatingwebhookconfiguration.go | 101 - .../v1/validatingadmissionpolicy.go | 101 - .../v1/validatingadmissionpolicybinding.go | 101 - .../v1/validatingwebhookconfiguration.go | 101 - .../v1alpha1/interface.go | 66 - .../v1alpha1/mutatingadmissionpolicy.go | 101 - .../mutatingadmissionpolicybinding.go | 101 - .../v1alpha1/validatingadmissionpolicy.go | 101 - .../validatingadmissionpolicybinding.go | 101 - .../v1beta1/interface.go | 80 - .../v1beta1/mutatingadmissionpolicy.go | 101 - .../v1beta1/mutatingadmissionpolicybinding.go | 101 - .../v1beta1/mutatingwebhookconfiguration.go | 101 - .../v1beta1/validatingadmissionpolicy.go | 101 - .../validatingadmissionpolicybinding.go | 101 - .../v1beta1/validatingwebhookconfiguration.go | 101 - .../informers/apiserverinternal/interface.go | 46 - .../apiserverinternal/v1alpha1/interface.go | 45 - .../v1alpha1/storageversion.go | 101 - .../client-go/informers/apps/interface.go | 62 - .../informers/apps/v1/controllerrevision.go | 102 - .../client-go/informers/apps/v1/daemonset.go | 102 - .../client-go/informers/apps/v1/deployment.go | 102 - .../client-go/informers/apps/v1/interface.go | 73 - .../client-go/informers/apps/v1/replicaset.go | 102 - .../informers/apps/v1/statefulset.go | 102 - .../apps/v1beta1/controllerrevision.go | 102 - .../informers/apps/v1beta1/deployment.go | 102 - .../informers/apps/v1beta1/interface.go | 59 - .../informers/apps/v1beta1/statefulset.go | 102 - .../apps/v1beta2/controllerrevision.go | 102 - .../informers/apps/v1beta2/daemonset.go | 102 - .../informers/apps/v1beta2/deployment.go | 102 - .../informers/apps/v1beta2/interface.go | 73 - .../informers/apps/v1beta2/replicaset.go | 102 - .../informers/apps/v1beta2/statefulset.go | 102 - .../informers/autoscaling/interface.go | 70 - .../autoscaling/v1/horizontalpodautoscaler.go | 102 - .../informers/autoscaling/v1/interface.go | 45 - .../autoscaling/v2/horizontalpodautoscaler.go | 102 - .../informers/autoscaling/v2/interface.go | 45 - .../v2beta1/horizontalpodautoscaler.go | 102 - .../autoscaling/v2beta1/interface.go | 45 - .../v2beta2/horizontalpodautoscaler.go | 102 - .../autoscaling/v2beta2/interface.go | 45 - .../client-go/informers/batch/interface.go | 54 - .../client-go/informers/batch/v1/cronjob.go | 102 - .../client-go/informers/batch/v1/interface.go | 52 - .../client-go/informers/batch/v1/job.go | 102 - .../informers/batch/v1beta1/cronjob.go | 102 - .../informers/batch/v1beta1/interface.go | 45 - .../informers/certificates/interface.go | 62 - .../v1/certificatesigningrequest.go | 101 - .../informers/certificates/v1/interface.go | 45 - .../v1alpha1/clustertrustbundle.go | 101 - .../certificates/v1alpha1/interface.go | 52 - .../v1alpha1/podcertificaterequest.go | 102 - .../v1beta1/certificatesigningrequest.go | 101 - .../v1beta1/clustertrustbundle.go | 101 - .../certificates/v1beta1/interface.go | 52 - .../informers/coordination/interface.go | 62 - .../informers/coordination/v1/interface.go | 45 - .../informers/coordination/v1/lease.go | 102 - .../coordination/v1alpha2/interface.go | 45 - .../coordination/v1alpha2/leasecandidate.go | 102 - .../coordination/v1beta1/interface.go | 52 - .../informers/coordination/v1beta1/lease.go | 102 - .../coordination/v1beta1/leasecandidate.go | 102 - .../client-go/informers/core/interface.go | 46 - .../informers/core/v1/componentstatus.go | 101 - .../client-go/informers/core/v1/configmap.go | 102 - .../client-go/informers/core/v1/endpoints.go | 102 - .../client-go/informers/core/v1/event.go | 102 - .../client-go/informers/core/v1/interface.go | 150 - .../client-go/informers/core/v1/limitrange.go | 102 - .../client-go/informers/core/v1/namespace.go | 101 - .../client-go/informers/core/v1/node.go | 101 - .../informers/core/v1/persistentvolume.go | 101 - .../core/v1/persistentvolumeclaim.go | 102 - .../k8s.io/client-go/informers/core/v1/pod.go | 102 - .../informers/core/v1/podtemplate.go | 102 - .../core/v1/replicationcontroller.go | 102 - .../informers/core/v1/resourcequota.go | 102 - .../client-go/informers/core/v1/secret.go | 102 - .../client-go/informers/core/v1/service.go | 102 - .../informers/core/v1/serviceaccount.go | 102 - .../informers/discovery/interface.go | 54 - .../informers/discovery/v1/endpointslice.go | 102 - .../informers/discovery/v1/interface.go | 45 - .../discovery/v1beta1/endpointslice.go | 102 - .../informers/discovery/v1beta1/interface.go | 45 - api/vendor/k8s.io/client-go/informers/doc.go | 18 - .../client-go/informers/events/interface.go | 54 - .../client-go/informers/events/v1/event.go | 102 - .../informers/events/v1/interface.go | 45 - .../informers/events/v1beta1/event.go | 102 - .../informers/events/v1beta1/interface.go | 45 - .../informers/extensions/interface.go | 46 - .../informers/extensions/v1beta1/daemonset.go | 102 - .../extensions/v1beta1/deployment.go | 102 - .../informers/extensions/v1beta1/ingress.go | 102 - .../informers/extensions/v1beta1/interface.go | 73 - .../extensions/v1beta1/networkpolicy.go | 102 - .../extensions/v1beta1/replicaset.go | 102 - .../k8s.io/client-go/informers/factory.go | 376 - .../informers/flowcontrol/interface.go | 70 - .../informers/flowcontrol/v1/flowschema.go | 101 - .../informers/flowcontrol/v1/interface.go | 52 - .../v1/prioritylevelconfiguration.go | 101 - .../flowcontrol/v1beta1/flowschema.go | 101 - .../flowcontrol/v1beta1/interface.go | 52 - .../v1beta1/prioritylevelconfiguration.go | 101 - .../flowcontrol/v1beta2/flowschema.go | 101 - .../flowcontrol/v1beta2/interface.go | 52 - .../v1beta2/prioritylevelconfiguration.go | 101 - .../flowcontrol/v1beta3/flowschema.go | 101 - .../flowcontrol/v1beta3/interface.go | 52 - .../v1beta3/prioritylevelconfiguration.go | 101 - .../k8s.io/client-go/informers/generic.go | 477 - .../internalinterfaces/factory_interfaces.go | 40 - .../informers/networking/interface.go | 54 - .../informers/networking/v1/ingress.go | 102 - .../informers/networking/v1/ingressclass.go | 101 - .../informers/networking/v1/interface.go | 73 - .../informers/networking/v1/ipaddress.go | 101 - .../informers/networking/v1/networkpolicy.go | 102 - .../informers/networking/v1/servicecidr.go | 101 - .../informers/networking/v1beta1/ingress.go | 102 - .../networking/v1beta1/ingressclass.go | 101 - .../informers/networking/v1beta1/interface.go | 66 - .../informers/networking/v1beta1/ipaddress.go | 101 - .../networking/v1beta1/servicecidr.go | 101 - .../client-go/informers/node/interface.go | 62 - .../client-go/informers/node/v1/interface.go | 45 - .../informers/node/v1/runtimeclass.go | 101 - .../informers/node/v1alpha1/interface.go | 45 - .../informers/node/v1alpha1/runtimeclass.go | 101 - .../informers/node/v1beta1/interface.go | 45 - .../informers/node/v1beta1/runtimeclass.go | 101 - .../client-go/informers/policy/interface.go | 54 - .../informers/policy/v1/interface.go | 45 - .../policy/v1/poddisruptionbudget.go | 102 - .../informers/policy/v1beta1/interface.go | 45 - .../policy/v1beta1/poddisruptionbudget.go | 102 - .../client-go/informers/rbac/interface.go | 62 - .../informers/rbac/v1/clusterrole.go | 101 - .../informers/rbac/v1/clusterrolebinding.go | 101 - .../client-go/informers/rbac/v1/interface.go | 66 - .../client-go/informers/rbac/v1/role.go | 102 - .../informers/rbac/v1/rolebinding.go | 102 - .../informers/rbac/v1alpha1/clusterrole.go | 101 - .../rbac/v1alpha1/clusterrolebinding.go | 101 - .../informers/rbac/v1alpha1/interface.go | 66 - .../client-go/informers/rbac/v1alpha1/role.go | 102 - .../informers/rbac/v1alpha1/rolebinding.go | 102 - .../informers/rbac/v1beta1/clusterrole.go | 101 - .../rbac/v1beta1/clusterrolebinding.go | 101 - .../informers/rbac/v1beta1/interface.go | 66 - .../client-go/informers/rbac/v1beta1/role.go | 102 - .../informers/rbac/v1beta1/rolebinding.go | 102 - .../client-go/informers/resource/interface.go | 70 - .../informers/resource/v1/deviceclass.go | 101 - .../informers/resource/v1/interface.go | 66 - .../informers/resource/v1/resourceclaim.go | 102 - .../resource/v1/resourceclaimtemplate.go | 102 - .../informers/resource/v1/resourceslice.go | 101 - .../resource/v1alpha3/devicetaintrule.go | 101 - .../informers/resource/v1alpha3/interface.go | 45 - .../informers/resource/v1beta1/deviceclass.go | 101 - .../informers/resource/v1beta1/interface.go | 66 - .../resource/v1beta1/resourceclaim.go | 102 - .../resource/v1beta1/resourceclaimtemplate.go | 102 - .../resource/v1beta1/resourceslice.go | 101 - .../informers/resource/v1beta2/deviceclass.go | 101 - .../informers/resource/v1beta2/interface.go | 66 - .../resource/v1beta2/resourceclaim.go | 102 - .../resource/v1beta2/resourceclaimtemplate.go | 102 - .../resource/v1beta2/resourceslice.go | 101 - .../informers/scheduling/interface.go | 62 - .../informers/scheduling/v1/interface.go | 45 - .../informers/scheduling/v1/priorityclass.go | 101 - .../scheduling/v1alpha1/interface.go | 45 - .../scheduling/v1alpha1/priorityclass.go | 101 - .../informers/scheduling/v1beta1/interface.go | 45 - .../scheduling/v1beta1/priorityclass.go | 101 - .../client-go/informers/storage/interface.go | 62 - .../informers/storage/v1/csidriver.go | 101 - .../client-go/informers/storage/v1/csinode.go | 101 - .../storage/v1/csistoragecapacity.go | 102 - .../informers/storage/v1/interface.go | 80 - .../informers/storage/v1/storageclass.go | 101 - .../informers/storage/v1/volumeattachment.go | 101 - .../storage/v1/volumeattributesclass.go | 101 - .../storage/v1alpha1/csistoragecapacity.go | 102 - .../informers/storage/v1alpha1/interface.go | 59 - .../storage/v1alpha1/volumeattachment.go | 101 - .../storage/v1alpha1/volumeattributesclass.go | 101 - .../informers/storage/v1beta1/csidriver.go | 101 - .../informers/storage/v1beta1/csinode.go | 101 - .../storage/v1beta1/csistoragecapacity.go | 102 - .../informers/storage/v1beta1/interface.go | 80 - .../informers/storage/v1beta1/storageclass.go | 101 - .../storage/v1beta1/volumeattachment.go | 101 - .../storage/v1beta1/volumeattributesclass.go | 101 - .../informers/storagemigration/interface.go | 46 - .../storagemigration/v1alpha1/interface.go | 45 - .../v1alpha1/storageversionmigration.go | 101 - .../k8s.io/client-go/kubernetes/clientset.go | 822 - api/vendor/k8s.io/client-go/kubernetes/doc.go | 19 - .../k8s.io/client-go/kubernetes/import.go | 19 - .../k8s.io/client-go/kubernetes/scheme/doc.go | 20 - .../client-go/kubernetes/scheme/register.go | 164 - .../v1/admissionregistration_client.go | 116 - .../typed/admissionregistration/v1/doc.go | 20 - .../v1/generated_expansion.go | 27 - .../v1/mutatingwebhookconfiguration.go | 75 - .../v1/validatingadmissionpolicy.go | 79 - .../v1/validatingadmissionpolicybinding.go | 75 - .../v1/validatingwebhookconfiguration.go | 75 - .../v1alpha1/admissionregistration_client.go | 116 - .../admissionregistration/v1alpha1/doc.go | 20 - .../v1alpha1/generated_expansion.go | 27 - .../v1alpha1/mutatingadmissionpolicy.go | 75 - .../mutatingadmissionpolicybinding.go | 75 - .../v1alpha1/validatingadmissionpolicy.go | 79 - .../validatingadmissionpolicybinding.go | 75 - .../v1beta1/admissionregistration_client.go | 126 - .../admissionregistration/v1beta1/doc.go | 20 - .../v1beta1/generated_expansion.go | 31 - .../v1beta1/mutatingadmissionpolicy.go | 75 - .../v1beta1/mutatingadmissionpolicybinding.go | 75 - .../v1beta1/mutatingwebhookconfiguration.go | 75 - .../v1beta1/validatingadmissionpolicy.go | 79 - .../validatingadmissionpolicybinding.go | 75 - .../v1beta1/validatingwebhookconfiguration.go | 75 - .../v1alpha1/apiserverinternal_client.go | 101 - .../typed/apiserverinternal/v1alpha1/doc.go | 20 - .../v1alpha1/generated_expansion.go | 21 - .../v1alpha1/storageversion.go | 77 - .../kubernetes/typed/apps/v1/apps_client.go | 121 - .../typed/apps/v1/controllerrevision.go | 71 - .../kubernetes/typed/apps/v1/daemonset.go | 75 - .../kubernetes/typed/apps/v1/deployment.go | 139 - .../client-go/kubernetes/typed/apps/v1/doc.go | 20 - .../typed/apps/v1/generated_expansion.go | 29 - .../kubernetes/typed/apps/v1/replicaset.go | 139 - .../kubernetes/typed/apps/v1/statefulset.go | 139 - .../typed/apps/v1beta1/apps_client.go | 111 - .../typed/apps/v1beta1/controllerrevision.go | 71 - .../typed/apps/v1beta1/deployment.go | 75 - .../kubernetes/typed/apps/v1beta1/doc.go | 20 - .../typed/apps/v1beta1/generated_expansion.go | 25 - .../typed/apps/v1beta1/statefulset.go | 75 - .../typed/apps/v1beta2/apps_client.go | 121 - .../typed/apps/v1beta2/controllerrevision.go | 71 - .../typed/apps/v1beta2/daemonset.go | 75 - .../typed/apps/v1beta2/deployment.go | 75 - .../kubernetes/typed/apps/v1beta2/doc.go | 20 - .../typed/apps/v1beta2/generated_expansion.go | 29 - .../typed/apps/v1beta2/replicaset.go | 75 - .../typed/apps/v1beta2/statefulset.go | 137 - .../v1/authentication_client.go | 106 - .../kubernetes/typed/authentication/v1/doc.go | 20 - .../authentication/v1/generated_expansion.go | 23 - .../authentication/v1/selfsubjectreview.go | 59 - .../typed/authentication/v1/tokenreview.go | 59 - .../v1alpha1/authentication_client.go | 101 - .../typed/authentication/v1alpha1/doc.go | 20 - .../v1alpha1/generated_expansion.go | 21 - .../v1alpha1/selfsubjectreview.go | 59 - .../v1beta1/authentication_client.go | 106 - .../typed/authentication/v1beta1/doc.go | 20 - .../v1beta1/generated_expansion.go | 23 - .../v1beta1/selfsubjectreview.go | 59 - .../authentication/v1beta1/tokenreview.go | 59 - .../authorization/v1/authorization_client.go | 116 - .../kubernetes/typed/authorization/v1/doc.go | 20 - .../authorization/v1/generated_expansion.go | 27 - .../v1/localsubjectaccessreview.go | 59 - .../v1/selfsubjectaccessreview.go | 59 - .../v1/selfsubjectrulesreview.go | 59 - .../authorization/v1/subjectaccessreview.go | 59 - .../v1beta1/authorization_client.go | 116 - .../typed/authorization/v1beta1/doc.go | 20 - .../v1beta1/generated_expansion.go | 27 - .../v1beta1/localsubjectaccessreview.go | 61 - .../v1beta1/selfsubjectaccessreview.go | 61 - .../v1beta1/selfsubjectrulesreview.go | 61 - .../v1beta1/subjectaccessreview.go | 59 - .../autoscaling/v1/autoscaling_client.go | 101 - .../kubernetes/typed/autoscaling/v1/doc.go | 20 - .../autoscaling/v1/generated_expansion.go | 21 - .../autoscaling/v1/horizontalpodautoscaler.go | 75 - .../autoscaling/v2/autoscaling_client.go | 101 - .../kubernetes/typed/autoscaling/v2/doc.go | 20 - .../autoscaling/v2/generated_expansion.go | 21 - .../autoscaling/v2/horizontalpodautoscaler.go | 75 - .../autoscaling/v2beta1/autoscaling_client.go | 101 - .../typed/autoscaling/v2beta1/doc.go | 20 - .../v2beta1/generated_expansion.go | 21 - .../v2beta1/horizontalpodautoscaler.go | 79 - .../autoscaling/v2beta2/autoscaling_client.go | 101 - .../typed/autoscaling/v2beta2/doc.go | 20 - .../v2beta2/generated_expansion.go | 21 - .../v2beta2/horizontalpodautoscaler.go | 79 - .../kubernetes/typed/batch/v1/batch_client.go | 106 - .../kubernetes/typed/batch/v1/cronjob.go | 75 - .../kubernetes/typed/batch/v1/doc.go | 20 - .../typed/batch/v1/generated_expansion.go | 23 - .../kubernetes/typed/batch/v1/job.go | 75 - .../typed/batch/v1beta1/batch_client.go | 101 - .../kubernetes/typed/batch/v1beta1/cronjob.go | 75 - .../kubernetes/typed/batch/v1beta1/doc.go | 20 - .../batch/v1beta1/generated_expansion.go | 21 - .../certificates/v1/certificates_client.go | 101 - .../v1/certificatesigningrequest.go | 94 - .../kubernetes/typed/certificates/v1/doc.go | 20 - .../certificates/v1/generated_expansion.go | 21 - .../v1alpha1/certificates_client.go | 106 - .../v1alpha1/clustertrustbundle.go | 73 - .../typed/certificates/v1alpha1/doc.go | 20 - .../v1alpha1/generated_expansion.go | 23 - .../v1alpha1/podcertificaterequest.go | 79 - .../v1beta1/certificates_client.go | 106 - .../v1beta1/certificatesigningrequest.go | 79 - .../certificatesigningrequest_expansion.go | 42 - .../v1beta1/clustertrustbundle.go | 73 - .../typed/certificates/v1beta1/doc.go | 20 - .../v1beta1/generated_expansion.go | 21 - .../coordination/v1/coordination_client.go | 101 - .../kubernetes/typed/coordination/v1/doc.go | 20 - .../coordination/v1/generated_expansion.go | 21 - .../kubernetes/typed/coordination/v1/lease.go | 71 - .../v1alpha2/coordination_client.go | 101 - .../typed/coordination/v1alpha2/doc.go | 20 - .../v1alpha2/generated_expansion.go | 21 - .../coordination/v1alpha2/leasecandidate.go | 71 - .../v1beta1/coordination_client.go | 106 - .../typed/coordination/v1beta1/doc.go | 20 - .../v1beta1/generated_expansion.go | 23 - .../typed/coordination/v1beta1/lease.go | 71 - .../coordination/v1beta1/leasecandidate.go | 71 - .../typed/core/v1/componentstatus.go | 71 - .../kubernetes/typed/core/v1/configmap.go | 71 - .../kubernetes/typed/core/v1/core_client.go | 176 - .../client-go/kubernetes/typed/core/v1/doc.go | 20 - .../kubernetes/typed/core/v1/endpoints.go | 71 - .../kubernetes/typed/core/v1/event.go | 71 - .../typed/core/v1/event_expansion.go | 226 - .../typed/core/v1/generated_expansion.go | 41 - .../kubernetes/typed/core/v1/limitrange.go | 71 - .../kubernetes/typed/core/v1/namespace.go | 74 - .../typed/core/v1/namespace_expansion.go | 37 - .../kubernetes/typed/core/v1/node.go | 75 - .../typed/core/v1/node_expansion.go | 45 - .../typed/core/v1/persistentvolume.go | 75 - .../typed/core/v1/persistentvolumeclaim.go | 75 - .../client-go/kubernetes/typed/core/v1/pod.go | 110 - .../kubernetes/typed/core/v1/pod_expansion.go | 85 - .../kubernetes/typed/core/v1/podtemplate.go | 71 - .../typed/core/v1/replicationcontroller.go | 110 - .../kubernetes/typed/core/v1/resourcequota.go | 75 - .../kubernetes/typed/core/v1/secret.go | 71 - .../kubernetes/typed/core/v1/service.go | 74 - .../typed/core/v1/service_expansion.go | 41 - .../typed/core/v1/serviceaccount.go | 90 - .../typed/discovery/v1/discovery_client.go | 101 - .../kubernetes/typed/discovery/v1/doc.go | 20 - .../typed/discovery/v1/endpointslice.go | 71 - .../typed/discovery/v1/generated_expansion.go | 21 - .../discovery/v1beta1/discovery_client.go | 101 - .../kubernetes/typed/discovery/v1beta1/doc.go | 20 - .../typed/discovery/v1beta1/endpointslice.go | 71 - .../discovery/v1beta1/generated_expansion.go | 21 - .../kubernetes/typed/events/v1/doc.go | 20 - .../kubernetes/typed/events/v1/event.go | 71 - .../typed/events/v1/events_client.go | 101 - .../typed/events/v1/generated_expansion.go | 21 - .../kubernetes/typed/events/v1beta1/doc.go | 20 - .../kubernetes/typed/events/v1beta1/event.go | 71 - .../typed/events/v1beta1/event_expansion.go | 99 - .../typed/events/v1beta1/events_client.go | 101 - .../events/v1beta1/generated_expansion.go | 19 - .../typed/extensions/v1beta1/daemonset.go | 75 - .../typed/extensions/v1beta1/deployment.go | 137 - .../v1beta1/deployment_expansion.go | 35 - .../typed/extensions/v1beta1/doc.go | 20 - .../extensions/v1beta1/extensions_client.go | 121 - .../extensions/v1beta1/generated_expansion.go | 27 - .../typed/extensions/v1beta1/ingress.go | 75 - .../typed/extensions/v1beta1/networkpolicy.go | 71 - .../typed/extensions/v1beta1/replicaset.go | 137 - .../kubernetes/typed/flowcontrol/v1/doc.go | 20 - .../flowcontrol/v1/flowcontrol_client.go | 106 - .../typed/flowcontrol/v1/flowschema.go | 75 - .../flowcontrol/v1/generated_expansion.go | 23 - .../v1/prioritylevelconfiguration.go | 77 - .../typed/flowcontrol/v1beta1/doc.go | 20 - .../flowcontrol/v1beta1/flowcontrol_client.go | 106 - .../typed/flowcontrol/v1beta1/flowschema.go | 75 - .../v1beta1/generated_expansion.go | 23 - .../v1beta1/prioritylevelconfiguration.go | 79 - .../typed/flowcontrol/v1beta2/doc.go | 20 - .../flowcontrol/v1beta2/flowcontrol_client.go | 106 - .../typed/flowcontrol/v1beta2/flowschema.go | 75 - .../v1beta2/generated_expansion.go | 23 - .../v1beta2/prioritylevelconfiguration.go | 79 - .../typed/flowcontrol/v1beta3/doc.go | 20 - .../flowcontrol/v1beta3/flowcontrol_client.go | 106 - .../typed/flowcontrol/v1beta3/flowschema.go | 75 - .../v1beta3/generated_expansion.go | 23 - .../v1beta3/prioritylevelconfiguration.go | 79 - .../kubernetes/typed/networking/v1/doc.go | 20 - .../networking/v1/generated_expansion.go | 29 - .../kubernetes/typed/networking/v1/ingress.go | 75 - .../typed/networking/v1/ingressclass.go | 71 - .../typed/networking/v1/ipaddress.go | 71 - .../typed/networking/v1/networking_client.go | 121 - .../typed/networking/v1/networkpolicy.go | 71 - .../typed/networking/v1/servicecidr.go | 75 - .../typed/networking/v1beta1/doc.go | 20 - .../networking/v1beta1/generated_expansion.go | 27 - .../typed/networking/v1beta1/ingress.go | 75 - .../typed/networking/v1beta1/ingressclass.go | 71 - .../typed/networking/v1beta1/ipaddress.go | 71 - .../networking/v1beta1/networking_client.go | 116 - .../typed/networking/v1beta1/servicecidr.go | 75 - .../client-go/kubernetes/typed/node/v1/doc.go | 20 - .../typed/node/v1/generated_expansion.go | 21 - .../kubernetes/typed/node/v1/node_client.go | 101 - .../kubernetes/typed/node/v1/runtimeclass.go | 71 - .../kubernetes/typed/node/v1alpha1/doc.go | 20 - .../node/v1alpha1/generated_expansion.go | 21 - .../typed/node/v1alpha1/node_client.go | 101 - .../typed/node/v1alpha1/runtimeclass.go | 71 - .../kubernetes/typed/node/v1beta1/doc.go | 20 - .../typed/node/v1beta1/generated_expansion.go | 21 - .../typed/node/v1beta1/node_client.go | 101 - .../typed/node/v1beta1/runtimeclass.go | 71 - .../kubernetes/typed/policy/v1/doc.go | 20 - .../kubernetes/typed/policy/v1/eviction.go | 55 - .../typed/policy/v1/eviction_expansion.go | 40 - .../typed/policy/v1/generated_expansion.go | 21 - .../typed/policy/v1/poddisruptionbudget.go | 75 - .../typed/policy/v1/policy_client.go | 106 - .../kubernetes/typed/policy/v1beta1/doc.go | 20 - .../typed/policy/v1beta1/eviction.go | 55 - .../policy/v1beta1/eviction_expansion.go | 40 - .../policy/v1beta1/generated_expansion.go | 21 - .../policy/v1beta1/poddisruptionbudget.go | 75 - .../typed/policy/v1beta1/policy_client.go | 106 - .../kubernetes/typed/rbac/v1/clusterrole.go | 71 - .../typed/rbac/v1/clusterrolebinding.go | 71 - .../client-go/kubernetes/typed/rbac/v1/doc.go | 20 - .../typed/rbac/v1/generated_expansion.go | 27 - .../kubernetes/typed/rbac/v1/rbac_client.go | 116 - .../kubernetes/typed/rbac/v1/role.go | 71 - .../kubernetes/typed/rbac/v1/rolebinding.go | 71 - .../typed/rbac/v1alpha1/clusterrole.go | 71 - .../typed/rbac/v1alpha1/clusterrolebinding.go | 71 - .../kubernetes/typed/rbac/v1alpha1/doc.go | 20 - .../rbac/v1alpha1/generated_expansion.go | 27 - .../typed/rbac/v1alpha1/rbac_client.go | 116 - .../kubernetes/typed/rbac/v1alpha1/role.go | 71 - .../typed/rbac/v1alpha1/rolebinding.go | 71 - .../typed/rbac/v1beta1/clusterrole.go | 71 - .../typed/rbac/v1beta1/clusterrolebinding.go | 71 - .../kubernetes/typed/rbac/v1beta1/doc.go | 20 - .../typed/rbac/v1beta1/generated_expansion.go | 27 - .../typed/rbac/v1beta1/rbac_client.go | 116 - .../kubernetes/typed/rbac/v1beta1/role.go | 71 - .../typed/rbac/v1beta1/rolebinding.go | 71 - .../typed/resource/v1/deviceclass.go | 71 - .../kubernetes/typed/resource/v1/doc.go | 20 - .../typed/resource/v1/generated_expansion.go | 27 - .../typed/resource/v1/resource_client.go | 116 - .../typed/resource/v1/resourceclaim.go | 75 - .../resource/v1/resourceclaimtemplate.go | 71 - .../typed/resource/v1/resourceslice.go | 71 - .../resource/v1alpha3/devicetaintrule.go | 71 - .../kubernetes/typed/resource/v1alpha3/doc.go | 20 - .../resource/v1alpha3/generated_expansion.go | 21 - .../resource/v1alpha3/resource_client.go | 101 - .../typed/resource/v1beta1/deviceclass.go | 71 - .../kubernetes/typed/resource/v1beta1/doc.go | 20 - .../resource/v1beta1/generated_expansion.go | 27 - .../typed/resource/v1beta1/resource_client.go | 116 - .../typed/resource/v1beta1/resourceclaim.go | 75 - .../resource/v1beta1/resourceclaimtemplate.go | 71 - .../typed/resource/v1beta1/resourceslice.go | 71 - .../typed/resource/v1beta2/deviceclass.go | 71 - .../kubernetes/typed/resource/v1beta2/doc.go | 20 - .../resource/v1beta2/generated_expansion.go | 27 - .../typed/resource/v1beta2/resource_client.go | 116 - .../typed/resource/v1beta2/resourceclaim.go | 75 - .../resource/v1beta2/resourceclaimtemplate.go | 71 - .../typed/resource/v1beta2/resourceslice.go | 71 - .../kubernetes/typed/scheduling/v1/doc.go | 20 - .../scheduling/v1/generated_expansion.go | 21 - .../typed/scheduling/v1/priorityclass.go | 71 - .../typed/scheduling/v1/scheduling_client.go | 101 - .../typed/scheduling/v1alpha1/doc.go | 20 - .../v1alpha1/generated_expansion.go | 21 - .../scheduling/v1alpha1/priorityclass.go | 71 - .../scheduling/v1alpha1/scheduling_client.go | 101 - .../typed/scheduling/v1beta1/doc.go | 20 - .../scheduling/v1beta1/generated_expansion.go | 21 - .../typed/scheduling/v1beta1/priorityclass.go | 71 - .../scheduling/v1beta1/scheduling_client.go | 101 - .../kubernetes/typed/storage/v1/csidriver.go | 71 - .../kubernetes/typed/storage/v1/csinode.go | 71 - .../typed/storage/v1/csistoragecapacity.go | 71 - .../kubernetes/typed/storage/v1/doc.go | 20 - .../typed/storage/v1/generated_expansion.go | 31 - .../typed/storage/v1/storage_client.go | 126 - .../typed/storage/v1/storageclass.go | 71 - .../typed/storage/v1/volumeattachment.go | 75 - .../typed/storage/v1/volumeattributesclass.go | 71 - .../storage/v1alpha1/csistoragecapacity.go | 71 - .../kubernetes/typed/storage/v1alpha1/doc.go | 20 - .../storage/v1alpha1/generated_expansion.go | 25 - .../typed/storage/v1alpha1/storage_client.go | 111 - .../storage/v1alpha1/volumeattachment.go | 75 - .../storage/v1alpha1/volumeattributesclass.go | 71 - .../typed/storage/v1beta1/csidriver.go | 71 - .../typed/storage/v1beta1/csinode.go | 71 - .../storage/v1beta1/csistoragecapacity.go | 71 - .../kubernetes/typed/storage/v1beta1/doc.go | 20 - .../storage/v1beta1/generated_expansion.go | 31 - .../typed/storage/v1beta1/storage_client.go | 126 - .../typed/storage/v1beta1/storageclass.go | 71 - .../typed/storage/v1beta1/volumeattachment.go | 75 - .../storage/v1beta1/volumeattributesclass.go | 71 - .../typed/storagemigration/v1alpha1/doc.go | 20 - .../v1alpha1/generated_expansion.go | 21 - .../v1alpha1/storagemigration_client.go | 101 - .../v1alpha1/storageversionmigration.go | 79 - .../v1/expansion_generated.go | 35 - .../v1/mutatingwebhookconfiguration.go | 48 - .../v1/validatingadmissionpolicy.go | 48 - .../v1/validatingadmissionpolicybinding.go | 48 - .../v1/validatingwebhookconfiguration.go | 48 - .../v1alpha1/expansion_generated.go | 35 - .../v1alpha1/mutatingadmissionpolicy.go | 48 - .../mutatingadmissionpolicybinding.go | 48 - .../v1alpha1/validatingadmissionpolicy.go | 48 - .../validatingadmissionpolicybinding.go | 48 - .../v1beta1/expansion_generated.go | 43 - .../v1beta1/mutatingadmissionpolicy.go | 48 - .../v1beta1/mutatingadmissionpolicybinding.go | 48 - .../v1beta1/mutatingwebhookconfiguration.go | 48 - .../v1beta1/validatingadmissionpolicy.go | 48 - .../validatingadmissionpolicybinding.go | 48 - .../v1beta1/validatingwebhookconfiguration.go | 48 - .../v1alpha1/expansion_generated.go | 23 - .../v1alpha1/storageversion.go | 48 - .../listers/apps/v1/controllerrevision.go | 70 - .../client-go/listers/apps/v1/daemonset.go | 70 - .../listers/apps/v1/daemonset_expansion.go | 114 - .../client-go/listers/apps/v1/deployment.go | 70 - .../listers/apps/v1/expansion_generated.go | 35 - .../client-go/listers/apps/v1/replicaset.go | 70 - .../listers/apps/v1/replicaset_expansion.go | 74 - .../client-go/listers/apps/v1/statefulset.go | 70 - .../listers/apps/v1/statefulset_expansion.go | 78 - .../apps/v1beta1/controllerrevision.go | 70 - .../listers/apps/v1beta1/deployment.go | 70 - .../apps/v1beta1/expansion_generated.go | 35 - .../listers/apps/v1beta1/statefulset.go | 70 - .../apps/v1beta1/statefulset_expansion.go | 78 - .../apps/v1beta2/controllerrevision.go | 70 - .../listers/apps/v1beta2/daemonset.go | 70 - .../apps/v1beta2/daemonset_expansion.go | 114 - .../listers/apps/v1beta2/deployment.go | 70 - .../apps/v1beta2/expansion_generated.go | 35 - .../listers/apps/v1beta2/replicaset.go | 70 - .../apps/v1beta2/replicaset_expansion.go | 74 - .../listers/apps/v1beta2/statefulset.go | 70 - .../apps/v1beta2/statefulset_expansion.go | 78 - .../autoscaling/v1/expansion_generated.go | 27 - .../autoscaling/v1/horizontalpodautoscaler.go | 70 - .../autoscaling/v2/expansion_generated.go | 27 - .../autoscaling/v2/horizontalpodautoscaler.go | 70 - .../v2beta1/expansion_generated.go | 27 - .../v2beta1/horizontalpodautoscaler.go | 70 - .../v2beta2/expansion_generated.go | 27 - .../v2beta2/horizontalpodautoscaler.go | 70 - .../client-go/listers/batch/v1/cronjob.go | 70 - .../listers/batch/v1/expansion_generated.go | 27 - .../k8s.io/client-go/listers/batch/v1/job.go | 70 - .../listers/batch/v1/job_expansion.go | 72 - .../listers/batch/v1beta1/cronjob.go | 70 - .../batch/v1beta1/expansion_generated.go | 27 - .../v1/certificatesigningrequest.go | 48 - .../certificates/v1/expansion_generated.go | 23 - .../v1alpha1/clustertrustbundle.go | 48 - .../v1alpha1/expansion_generated.go | 31 - .../v1alpha1/podcertificaterequest.go | 70 - .../v1beta1/certificatesigningrequest.go | 48 - .../v1beta1/clustertrustbundle.go | 48 - .../v1beta1/expansion_generated.go | 27 - .../coordination/v1/expansion_generated.go | 27 - .../listers/coordination/v1/lease.go | 70 - .../v1alpha2/expansion_generated.go | 27 - .../coordination/v1alpha2/leasecandidate.go | 70 - .../v1beta1/expansion_generated.go | 35 - .../listers/coordination/v1beta1/lease.go | 70 - .../coordination/v1beta1/leasecandidate.go | 70 - .../listers/core/v1/componentstatus.go | 48 - .../client-go/listers/core/v1/configmap.go | 70 - .../client-go/listers/core/v1/endpoints.go | 70 - .../k8s.io/client-go/listers/core/v1/event.go | 70 - .../listers/core/v1/expansion_generated.go | 123 - .../client-go/listers/core/v1/limitrange.go | 70 - .../client-go/listers/core/v1/namespace.go | 48 - .../k8s.io/client-go/listers/core/v1/node.go | 48 - .../listers/core/v1/persistentvolume.go | 48 - .../listers/core/v1/persistentvolumeclaim.go | 70 - .../k8s.io/client-go/listers/core/v1/pod.go | 70 - .../client-go/listers/core/v1/podtemplate.go | 70 - .../listers/core/v1/replicationcontroller.go | 70 - .../v1/replicationcontroller_expansion.go | 66 - .../listers/core/v1/resourcequota.go | 70 - .../client-go/listers/core/v1/secret.go | 70 - .../client-go/listers/core/v1/service.go | 70 - .../listers/core/v1/serviceaccount.go | 70 - .../listers/discovery/v1/endpointslice.go | 70 - .../discovery/v1/expansion_generated.go | 27 - .../discovery/v1beta1/endpointslice.go | 70 - .../discovery/v1beta1/expansion_generated.go | 27 - api/vendor/k8s.io/client-go/listers/doc.go | 18 - .../client-go/listers/events/v1/event.go | 70 - .../listers/events/v1/expansion_generated.go | 27 - .../client-go/listers/events/v1beta1/event.go | 70 - .../events/v1beta1/expansion_generated.go | 27 - .../listers/extensions/v1beta1/daemonset.go | 70 - .../extensions/v1beta1/daemonset_expansion.go | 115 - .../listers/extensions/v1beta1/deployment.go | 70 - .../extensions/v1beta1/expansion_generated.go | 43 - .../listers/extensions/v1beta1/ingress.go | 70 - .../extensions/v1beta1/networkpolicy.go | 70 - .../listers/extensions/v1beta1/replicaset.go | 70 - .../v1beta1/replicaset_expansion.go | 74 - .../flowcontrol/v1/expansion_generated.go | 27 - .../listers/flowcontrol/v1/flowschema.go | 48 - .../v1/prioritylevelconfiguration.go | 48 - .../v1beta1/expansion_generated.go | 27 - .../listers/flowcontrol/v1beta1/flowschema.go | 48 - .../v1beta1/prioritylevelconfiguration.go | 48 - .../v1beta2/expansion_generated.go | 27 - .../listers/flowcontrol/v1beta2/flowschema.go | 48 - .../v1beta2/prioritylevelconfiguration.go | 48 - .../v1beta3/expansion_generated.go | 27 - .../listers/flowcontrol/v1beta3/flowschema.go | 48 - .../v1beta3/prioritylevelconfiguration.go | 48 - .../client-go/listers/generic_helpers.go | 72 - .../networking/v1/expansion_generated.go | 47 - .../listers/networking/v1/ingress.go | 70 - .../listers/networking/v1/ingressclass.go | 48 - .../listers/networking/v1/ipaddress.go | 48 - .../listers/networking/v1/networkpolicy.go | 70 - .../listers/networking/v1/servicecidr.go | 48 - .../networking/v1beta1/expansion_generated.go | 39 - .../listers/networking/v1beta1/ingress.go | 70 - .../networking/v1beta1/ingressclass.go | 48 - .../listers/networking/v1beta1/ipaddress.go | 48 - .../listers/networking/v1beta1/servicecidr.go | 48 - .../listers/node/v1/expansion_generated.go | 23 - .../client-go/listers/node/v1/runtimeclass.go | 48 - .../node/v1alpha1/expansion_generated.go | 23 - .../listers/node/v1alpha1/runtimeclass.go | 48 - .../node/v1beta1/expansion_generated.go | 23 - .../listers/node/v1beta1/runtimeclass.go | 48 - .../client-go/listers/policy/v1/eviction.go | 70 - .../listers/policy/v1/expansion_generated.go | 27 - .../listers/policy/v1/poddisruptionbudget.go | 70 - .../v1/poddisruptionbudget_expansion.go | 68 - .../listers/policy/v1beta1/eviction.go | 70 - .../policy/v1beta1/expansion_generated.go | 27 - .../policy/v1beta1/poddisruptionbudget.go | 70 - .../v1beta1/poddisruptionbudget_expansion.go | 68 - .../client-go/listers/rbac/v1/clusterrole.go | 48 - .../listers/rbac/v1/clusterrolebinding.go | 48 - .../listers/rbac/v1/expansion_generated.go | 43 - .../k8s.io/client-go/listers/rbac/v1/role.go | 70 - .../client-go/listers/rbac/v1/rolebinding.go | 70 - .../listers/rbac/v1alpha1/clusterrole.go | 48 - .../rbac/v1alpha1/clusterrolebinding.go | 48 - .../rbac/v1alpha1/expansion_generated.go | 43 - .../client-go/listers/rbac/v1alpha1/role.go | 70 - .../listers/rbac/v1alpha1/rolebinding.go | 70 - .../listers/rbac/v1beta1/clusterrole.go | 48 - .../rbac/v1beta1/clusterrolebinding.go | 48 - .../rbac/v1beta1/expansion_generated.go | 43 - .../client-go/listers/rbac/v1beta1/role.go | 70 - .../listers/rbac/v1beta1/rolebinding.go | 70 - .../listers/resource/v1/deviceclass.go | 48 - .../resource/v1/expansion_generated.go | 43 - .../listers/resource/v1/resourceclaim.go | 70 - .../resource/v1/resourceclaimtemplate.go | 70 - .../listers/resource/v1/resourceslice.go | 48 - .../resource/v1alpha3/devicetaintrule.go | 48 - .../resource/v1alpha3/expansion_generated.go | 23 - .../listers/resource/v1beta1/deviceclass.go | 48 - .../resource/v1beta1/expansion_generated.go | 43 - .../listers/resource/v1beta1/resourceclaim.go | 70 - .../resource/v1beta1/resourceclaimtemplate.go | 70 - .../listers/resource/v1beta1/resourceslice.go | 48 - .../listers/resource/v1beta2/deviceclass.go | 48 - .../resource/v1beta2/expansion_generated.go | 43 - .../listers/resource/v1beta2/resourceclaim.go | 70 - .../resource/v1beta2/resourceclaimtemplate.go | 70 - .../listers/resource/v1beta2/resourceslice.go | 48 - .../scheduling/v1/expansion_generated.go | 23 - .../listers/scheduling/v1/priorityclass.go | 48 - .../v1alpha1/expansion_generated.go | 23 - .../scheduling/v1alpha1/priorityclass.go | 48 - .../scheduling/v1beta1/expansion_generated.go | 23 - .../scheduling/v1beta1/priorityclass.go | 48 - .../client-go/listers/storage/v1/csidriver.go | 48 - .../client-go/listers/storage/v1/csinode.go | 48 - .../listers/storage/v1/csistoragecapacity.go | 70 - .../listers/storage/v1/expansion_generated.go | 47 - .../listers/storage/v1/storageclass.go | 48 - .../listers/storage/v1/volumeattachment.go | 48 - .../storage/v1/volumeattributesclass.go | 48 - .../storage/v1alpha1/csistoragecapacity.go | 70 - .../storage/v1alpha1/expansion_generated.go | 35 - .../storage/v1alpha1/volumeattachment.go | 48 - .../storage/v1alpha1/volumeattributesclass.go | 48 - .../listers/storage/v1beta1/csidriver.go | 48 - .../listers/storage/v1beta1/csinode.go | 48 - .../storage/v1beta1/csistoragecapacity.go | 70 - .../storage/v1beta1/expansion_generated.go | 47 - .../listers/storage/v1beta1/storageclass.go | 48 - .../storage/v1beta1/volumeattachment.go | 48 - .../storage/v1beta1/volumeattributesclass.go | 48 - .../v1alpha1/expansion_generated.go | 23 - .../v1alpha1/storageversionmigration.go | 48 - .../k8s.io/client-go/metadata/interface.go | 49 - .../k8s.io/client-go/metadata/metadata.go | 331 - api/vendor/k8s.io/client-go/openapi/OWNERS | 4 - api/vendor/k8s.io/client-go/openapi/client.go | 73 - .../k8s.io/client-go/openapi/groupversion.go | 82 - .../k8s.io/client-go/openapi/typeconverter.go | 48 - .../pkg/apis/clientauthentication/OWNERS | 8 - .../pkg/apis/clientauthentication/doc.go | 20 - .../clientauthentication/install/install.go | 34 - .../pkg/apis/clientauthentication/register.go | 50 - .../pkg/apis/clientauthentication/types.go | 129 - .../pkg/apis/clientauthentication/v1/doc.go | 24 - .../apis/clientauthentication/v1/register.go | 55 - .../pkg/apis/clientauthentication/v1/types.go | 127 - .../v1/zz_generated.conversion.go | 207 - .../v1/zz_generated.deepcopy.go | 120 - .../v1/zz_generated.defaults.go | 33 - .../apis/clientauthentication/v1beta1/doc.go | 24 - .../clientauthentication/v1beta1/register.go | 55 - .../clientauthentication/v1beta1/types.go | 127 - .../v1beta1/zz_generated.conversion.go | 207 - .../v1beta1/zz_generated.deepcopy.go | 120 - .../v1beta1/zz_generated.defaults.go | 33 - .../zz_generated.deepcopy.go | 122 - .../k8s.io/client-go/pkg/version/base.go | 58 - .../k8s.io/client-go/pkg/version/doc.go | 21 - .../k8s.io/client-go/pkg/version/version.go | 42 - .../plugin/pkg/client/auth/exec/exec.go | 547 - .../plugin/pkg/client/auth/exec/metrics.go | 111 - .../k8s.io/client-go/rest/.mockery.yaml | 10 - api/vendor/k8s.io/client-go/rest/OWNERS | 14 - api/vendor/k8s.io/client-go/rest/client.go | 343 - api/vendor/k8s.io/client-go/rest/config.go | 722 - api/vendor/k8s.io/client-go/rest/exec.go | 86 - api/vendor/k8s.io/client-go/rest/plugin.go | 85 - api/vendor/k8s.io/client-go/rest/request.go | 1561 - api/vendor/k8s.io/client-go/rest/transport.go | 155 - api/vendor/k8s.io/client-go/rest/url_utils.go | 97 - .../k8s.io/client-go/rest/urlbackoff.go | 182 - api/vendor/k8s.io/client-go/rest/warnings.go | 190 - .../k8s.io/client-go/rest/watch/decoder.go | 72 - .../k8s.io/client-go/rest/watch/encoder.go | 56 - .../k8s.io/client-go/rest/with_retry.go | 369 - .../client-go/rest/zz_generated.deepcopy.go | 58 - .../restmapper/category_expansion.go | 119 - .../k8s.io/client-go/restmapper/discovery.go | 338 - .../k8s.io/client-go/restmapper/shortcut.go | 211 - .../k8s.io/client-go/testing/actions.go | 901 - api/vendor/k8s.io/client-go/testing/fake.go | 220 - .../k8s.io/client-go/testing/fixture.go | 949 - .../k8s.io/client-go/testing/interface.go | 66 - api/vendor/k8s.io/client-go/tools/auth/OWNERS | 8 - .../k8s.io/client-go/tools/auth/clientauth.go | 125 - .../k8s.io/client-go/tools/cache/OWNERS | 27 - .../client-go/tools/cache/controller.go | 628 - .../client-go/tools/cache/delta_fifo.go | 735 - .../k8s.io/client-go/tools/cache/doc.go | 24 - .../client-go/tools/cache/expiration_cache.go | 214 - .../tools/cache/expiration_cache_fakes.go | 57 - .../tools/cache/fake_custom_store.go | 102 - .../k8s.io/client-go/tools/cache/fifo.go | 289 - .../k8s.io/client-go/tools/cache/heap.go | 322 - .../k8s.io/client-go/tools/cache/index.go | 100 - .../k8s.io/client-go/tools/cache/listers.go | 184 - .../k8s.io/client-go/tools/cache/listwatch.go | 282 - .../client-go/tools/cache/mutation_cache.go | 264 - .../tools/cache/mutation_detector.go | 167 - .../client-go/tools/cache/object-names.go | 65 - .../k8s.io/client-go/tools/cache/reflector.go | 1212 - .../reflector_data_consistency_detector.go | 43 - .../tools/cache/reflector_metrics.go | 89 - .../tools/cache/retry_with_deadline.go | 78 - .../client-go/tools/cache/shared_informer.go | 1106 - .../k8s.io/client-go/tools/cache/store.go | 328 - .../client-go/tools/cache/synctrack/lazy.go | 83 - .../tools/cache/synctrack/synctrack.go | 120 - .../client-go/tools/cache/the_real_fifo.go | 414 - .../tools/cache/thread_safe_store.go | 385 - .../client-go/tools/cache/undelta_store.go | 89 - .../client-go/tools/clientcmd/api/doc.go | 19 - .../client-go/tools/clientcmd/api/helpers.go | 265 - .../tools/clientcmd/api/latest/latest.go | 61 - .../client-go/tools/clientcmd/api/register.go | 46 - .../client-go/tools/clientcmd/api/types.go | 378 - .../tools/clientcmd/api/v1/conversion.go | 174 - .../tools/clientcmd/api/v1/defaults.go | 37 - .../client-go/tools/clientcmd/api/v1/doc.go | 21 - .../tools/clientcmd/api/v1/register.go | 56 - .../client-go/tools/clientcmd/api/v1/types.go | 274 - .../api/v1/zz_generated.conversion.go | 458 - .../clientcmd/api/v1/zz_generated.deepcopy.go | 349 - .../clientcmd/api/v1/zz_generated.defaults.go | 43 - .../clientcmd/api/zz_generated.deepcopy.go | 328 - .../client-go/tools/clientcmd/auth_loaders.go | 110 - .../tools/clientcmd/client_config.go | 687 - .../client-go/tools/clientcmd/config.go | 499 - .../k8s.io/client-go/tools/clientcmd/doc.go | 37 - .../k8s.io/client-go/tools/clientcmd/flag.go | 49 - .../client-go/tools/clientcmd/helpers.go | 50 - .../client-go/tools/clientcmd/loader.go | 676 - .../k8s.io/client-go/tools/clientcmd/merge.go | 121 - .../tools/clientcmd/merged_client_builder.go | 172 - .../client-go/tools/clientcmd/overrides.go | 263 - .../client-go/tools/clientcmd/validation.go | 371 - .../tools/internal/events/interfaces.go | 59 - .../client-go/tools/leaderelection/OWNERS | 13 - .../tools/leaderelection/healthzadaptor.go | 69 - .../tools/leaderelection/leaderelection.go | 539 - .../tools/leaderelection/leasecandidate.go | 202 - .../client-go/tools/leaderelection/metrics.go | 119 - .../leaderelection/resourcelock/interface.go | 154 - .../leaderelection/resourcelock/leaselock.go | 166 - .../leaderelection/resourcelock/multilock.go | 104 - .../k8s.io/client-go/tools/metrics/OWNERS | 5 - .../k8s.io/client-go/tools/metrics/metrics.go | 211 - .../k8s.io/client-go/tools/pager/pager.go | 289 - .../k8s.io/client-go/tools/record/OWNERS | 6 - .../k8s.io/client-go/tools/record/doc.go | 19 - .../k8s.io/client-go/tools/record/event.go | 527 - .../client-go/tools/record/events_cache.go | 521 - .../k8s.io/client-go/tools/record/fake.go | 84 - .../client-go/tools/record/util/util.go | 57 - .../k8s.io/client-go/tools/reference/ref.go | 109 - api/vendor/k8s.io/client-go/transport/OWNERS | 8 - .../k8s.io/client-go/transport/cache.go | 182 - .../k8s.io/client-go/transport/cache_go118.go | 46 - .../client-go/transport/cert_rotation.go | 180 - .../k8s.io/client-go/transport/config.go | 160 - .../client-go/transport/round_trippers.go | 792 - .../client-go/transport/token_source.go | 204 - .../k8s.io/client-go/transport/transport.go | 399 - .../k8s.io/client-go/util/apply/apply.go | 49 - api/vendor/k8s.io/client-go/util/cert/OWNERS | 8 - api/vendor/k8s.io/client-go/util/cert/cert.go | 276 - api/vendor/k8s.io/client-go/util/cert/csr.go | 75 - api/vendor/k8s.io/client-go/util/cert/io.go | 112 - api/vendor/k8s.io/client-go/util/cert/pem.go | 73 - .../client-go/util/cert/server_inspection.go | 102 - .../util/connrotation/connrotation.go | 133 - .../data_consistency_detector.go | 181 - .../client-go/util/flowcontrol/backoff.go | 187 - .../client-go/util/flowcontrol/throttle.go | 192 - .../k8s.io/client-go/util/homedir/homedir.go | 92 - .../k8s.io/client-go/util/keyutil/OWNERS | 6 - .../k8s.io/client-go/util/keyutil/key.go | 322 - .../util/workqueue/default_rate_limiters.go | 295 - .../util/workqueue/delaying_queue.go | 369 - .../k8s.io/client-go/util/workqueue/doc.go | 27 - .../client-go/util/workqueue/metrics.go | 255 - .../client-go/util/workqueue/parallelizer.go | 101 - .../k8s.io/client-go/util/workqueue/queue.go | 350 - .../util/workqueue/rate_limiting_queue.go | 147 - api/vendor/k8s.io/cloud-provider/LICENSE | 201 - .../k8s.io/cloud-provider/api/retry_error.go | 46 - .../api/well_known_annotations.go | 26 - .../cloud-provider/api/well_known_taints.go | 28 - api/vendor/k8s.io/component-base/LICENSE | 202 - .../cli/flag/ciphersuites_flag.go | 147 - .../colon_separated_multimap_string_string.go | 114 - .../cli/flag/configuration_map.go | 53 - .../k8s.io/component-base/cli/flag/flags.go | 66 - .../langle_separated_map_string_string.go | 82 - .../cli/flag/map_string_bool.go | 90 - .../cli/flag/map_string_string.go | 112 - .../cli/flag/namedcertkey_flag.go | 113 - .../k8s.io/component-base/cli/flag/noop.go | 41 - .../component-base/cli/flag/omitempty.go | 24 - .../component-base/cli/flag/sectioned.go | 105 - .../component-base/cli/flag/string_flag.go | 56 - .../cli/flag/string_slice_flag.go | 62 - .../component-base/cli/flag/tracker_flag.go | 82 - .../component-base/cli/flag/tristate.go | 83 - api/vendor/k8s.io/component-helpers/LICENSE | 202 - .../k8s.io/component-helpers/resource/OWNERS | 13 - .../component-helpers/resource/helpers.go | 455 - .../csi-translation-lib/CONTRIBUTING.md | 7 - api/vendor/k8s.io/csi-translation-lib/LICENSE | 201 - api/vendor/k8s.io/csi-translation-lib/OWNERS | 11 - .../k8s.io/csi-translation-lib/README.md | 35 - .../csi-translation-lib/SECURITY_CONTACTS | 18 - .../csi-translation-lib/code-of-conduct.md | 3 - .../csi-translation-lib/plugins/aws_ebs.go | 305 - .../csi-translation-lib/plugins/azure_disk.go | 309 - .../csi-translation-lib/plugins/azure_file.go | 282 - .../csi-translation-lib/plugins/const.go | 21 - .../csi-translation-lib/plugins/gce_pd.go | 400 - .../plugins/in_tree_volume.go | 398 - .../plugins/openstack_cinder.go | 185 - .../csi-translation-lib/plugins/portworx.go | 212 - .../plugins/vsphere_volume.go | 302 - .../k8s.io/csi-translation-lib/translate.go | 212 - api/vendor/k8s.io/kube-openapi/LICENSE | 202 - .../k8s.io/kube-openapi/pkg/cached/cache.go | 290 - .../k8s.io/kube-openapi/pkg/common/common.go | 289 - .../k8s.io/kube-openapi/pkg/common/doc.go | 19 - .../kube-openapi/pkg/common/interfaces.go | 88 - .../kube-openapi/pkg/handler3/handler.go | 295 - .../k8s.io/kube-openapi/pkg/internal/flags.go | 25 - .../pkg/internal/serialization.go | 65 - .../go-json-experiment/json/AUTHORS | 3 - .../go-json-experiment/json/CONTRIBUTORS | 3 - .../go-json-experiment/json/LICENSE | 27 - .../go-json-experiment/json/README.md | 321 - .../go-json-experiment/json/arshal.go | 513 - .../go-json-experiment/json/arshal_any.go | 238 - .../go-json-experiment/json/arshal_default.go | 1485 - .../go-json-experiment/json/arshal_funcs.go | 387 - .../go-json-experiment/json/arshal_inlined.go | 213 - .../go-json-experiment/json/arshal_methods.go | 229 - .../go-json-experiment/json/arshal_time.go | 241 - .../go-json-experiment/json/decode.go | 1655 - .../go-json-experiment/json/doc.go | 182 - .../go-json-experiment/json/encode.go | 1170 - .../go-json-experiment/json/errors.go | 183 - .../go-json-experiment/json/fields.go | 509 - .../go-json-experiment/json/fold.go | 56 - .../go-json-experiment/json/intern.go | 86 - .../go-json-experiment/json/pools.go | 182 - .../go-json-experiment/json/state.go | 747 - .../go-json-experiment/json/token.go | 522 - .../go-json-experiment/json/value.go | 381 - .../kube-openapi/pkg/schemaconv/openapi.go | 260 - .../pkg/schemaconv/proto_models.go | 178 - .../k8s.io/kube-openapi/pkg/schemaconv/smd.go | 334 - .../kube-openapi/pkg/spec3/component.go | 47 - .../k8s.io/kube-openapi/pkg/spec3/encoding.go | 105 - .../k8s.io/kube-openapi/pkg/spec3/example.go | 110 - .../pkg/spec3/external_documentation.go | 90 - .../k8s.io/kube-openapi/pkg/spec3/fuzz.go | 281 - .../k8s.io/kube-openapi/pkg/spec3/header.go | 142 - .../kube-openapi/pkg/spec3/media_type.go | 106 - .../kube-openapi/pkg/spec3/operation.go | 124 - .../kube-openapi/pkg/spec3/parameter.go | 147 - .../k8s.io/kube-openapi/pkg/spec3/path.go | 263 - .../kube-openapi/pkg/spec3/request_body.go | 115 - .../k8s.io/kube-openapi/pkg/spec3/response.go | 362 - .../kube-openapi/pkg/spec3/security_scheme.go | 135 - .../k8s.io/kube-openapi/pkg/spec3/server.go | 161 - .../k8s.io/kube-openapi/pkg/spec3/spec.go | 75 - .../k8s.io/kube-openapi/pkg/util/proto/OWNERS | 2 - .../k8s.io/kube-openapi/pkg/util/proto/doc.go | 19 - .../kube-openapi/pkg/util/proto/document.go | 362 - .../pkg/util/proto/document_v3.go | 324 - .../kube-openapi/pkg/util/proto/openapi.go | 285 - .../pkg/validation/spec/.gitignore | 2 - .../kube-openapi/pkg/validation/spec/LICENSE | 202 - .../pkg/validation/spec/contact_info.go | 24 - .../pkg/validation/spec/external_docs.go | 24 - .../pkg/validation/spec/gnostic.go | 1517 - .../pkg/validation/spec/header.go | 118 - .../kube-openapi/pkg/validation/spec/info.go | 219 - .../kube-openapi/pkg/validation/spec/items.go | 180 - .../pkg/validation/spec/license.go | 23 - .../pkg/validation/spec/operation.go | 146 - .../pkg/validation/spec/parameter.go | 172 - .../pkg/validation/spec/path_item.go | 113 - .../kube-openapi/pkg/validation/spec/paths.go | 164 - .../kube-openapi/pkg/validation/spec/ref.go | 155 - .../pkg/validation/spec/response.go | 131 - .../pkg/validation/spec/responses.go | 208 - .../pkg/validation/spec/schema.go | 631 - .../pkg/validation/spec/security_scheme.go | 92 - .../pkg/validation/spec/swagger.go | 439 - .../kube-openapi/pkg/validation/spec/tag.go | 91 - api/vendor/k8s.io/utils/buffer/ring_fixed.go | 120 - .../k8s.io/utils/buffer/ring_growing.go | 170 - api/vendor/k8s.io/utils/clock/README.md | 4 - api/vendor/k8s.io/utils/clock/clock.go | 178 - .../forked/golang/golang-lru/lru.go | 133 - api/vendor/k8s.io/utils/lru/lru.go | 99 - api/vendor/k8s.io/utils/trace/README.md | 67 - api/vendor/k8s.io/utils/trace/trace.go | 319 - api/vendor/modules.txt | 689 +- .../sigs.k8s.io/controller-runtime/.gitignore | 30 - .../controller-runtime/.golangci.yml | 194 - .../controller-runtime/.gomodcheck.yaml | 17 - .../controller-runtime/CONTRIBUTING.md | 19 - .../sigs.k8s.io/controller-runtime/FAQ.md | 81 - .../sigs.k8s.io/controller-runtime/LICENSE | 201 - .../sigs.k8s.io/controller-runtime/Makefile | 218 - .../sigs.k8s.io/controller-runtime/OWNERS | 11 - .../controller-runtime/OWNERS_ALIASES | 39 - .../sigs.k8s.io/controller-runtime/README.md | 85 - .../sigs.k8s.io/controller-runtime/RELEASE.md | 51 - .../controller-runtime/SECURITY_CONTACTS | 15 - .../controller-runtime/TMP-LOGGING.md | 169 - .../controller-runtime/VERSIONING.md | 40 - .../sigs.k8s.io/controller-runtime/alias.go | 157 - .../controller-runtime/code-of-conduct.md | 3 - .../sigs.k8s.io/controller-runtime/doc.go | 128 - .../pkg/builder/controller.go | 466 - .../controller-runtime/pkg/builder/doc.go | 28 - .../controller-runtime/pkg/builder/options.go | 156 - .../controller-runtime/pkg/builder/webhook.go | 332 - .../controller-runtime/pkg/cache/cache.go | 675 - .../pkg/cache/delegating_by_gvk_cache.go | 136 - .../controller-runtime/pkg/cache/doc.go | 19 - .../pkg/cache/informer_cache.go | 260 - .../pkg/cache/internal/cache_reader.go | 264 - .../pkg/cache/internal/informers.go | 616 - .../pkg/cache/internal/selector.go | 39 - .../pkg/cache/multi_namespace_cache.go | 447 - .../pkg/certwatcher/certwatcher.go | 251 - .../controller-runtime/pkg/certwatcher/doc.go | 23 - .../pkg/certwatcher/metrics/metrics.go | 46 - .../pkg/client/apiutil/apimachinery.go | 240 - .../pkg/client/apiutil/errors.go | 54 - .../pkg/client/apiutil/restmapper.go | 372 - .../pkg/client/applyconfigurations.go | 75 - .../controller-runtime/pkg/client/client.go | 596 - .../pkg/client/client_rest_resources.go | 204 - .../controller-runtime/pkg/client/codec.go | 40 - .../pkg/client/config/config.go | 189 - .../pkg/client/config/doc.go | 18 - .../controller-runtime/pkg/client/doc.go | 49 - .../controller-runtime/pkg/client/dryrun.go | 134 - .../pkg/client/fieldowner.go | 110 - .../pkg/client/fieldvalidation.go | 110 - .../pkg/client/interfaces.go | 226 - .../pkg/client/metadata_client.go | 204 - .../pkg/client/namespaced_client.go | 316 - .../controller-runtime/pkg/client/object.go | 77 - .../controller-runtime/pkg/client/options.go | 1036 - .../controller-runtime/pkg/client/patch.go | 218 - .../pkg/client/typed_client.go | 306 - .../pkg/client/unstructured_client.go | 388 - .../controller-runtime/pkg/client/watch.go | 106 - .../controller-runtime/pkg/cluster/cluster.go | 302 - .../pkg/cluster/internal.go | 105 - .../pkg/config/controller.go | 92 - .../pkg/controller/controller.go | 291 - .../controllerutil/controllerutil.go | 540 - .../pkg/controller/controllerutil/doc.go | 20 - .../controller-runtime/pkg/controller/doc.go | 25 - .../controller-runtime/pkg/controller/name.go | 43 - .../pkg/controller/priorityqueue/metrics.go | 172 - .../controller/priorityqueue/priorityqueue.go | 462 - .../pkg/conversion/conversion.go | 40 - .../controller-runtime/pkg/event/doc.go | 28 - .../controller-runtime/pkg/event/event.go | 75 - .../controller-runtime/pkg/handler/doc.go | 38 - .../controller-runtime/pkg/handler/enqueue.go | 120 - .../pkg/handler/enqueue_mapped.go | 153 - .../pkg/handler/enqueue_owner.go | 221 - .../pkg/handler/eventhandler.go | 247 - .../controller-runtime/pkg/healthz/doc.go | 32 - .../controller-runtime/pkg/healthz/healthz.go | 206 - .../pkg/internal/controller/controller.go | 545 - .../internal/controller/metrics/metrics.go | 99 - .../pkg/internal/field/selector/utils.go | 37 - .../pkg/internal/httpserver/server.go | 16 - .../pkg/internal/log/log.go | 32 - .../pkg/internal/metrics/workqueue.go | 170 - .../pkg/internal/recorder/recorder.go | 181 - .../pkg/internal/source/event_handler.go | 168 - .../pkg/internal/source/kind.go | 143 - .../pkg/internal/syncs/syncs.go | 38 - .../pkg/leaderelection/doc.go | 24 - .../pkg/leaderelection/leader_election.go | 152 - .../controller-runtime/pkg/log/deleg.go | 208 - .../controller-runtime/pkg/log/log.go | 105 - .../controller-runtime/pkg/log/null.go | 59 - .../pkg/log/warning_handler.go | 75 - .../controller-runtime/pkg/manager/doc.go | 21 - .../pkg/manager/internal.go | 640 - .../controller-runtime/pkg/manager/manager.go | 575 - .../pkg/manager/runnable_group.go | 371 - .../controller-runtime/pkg/manager/server.go | 109 - .../pkg/manager/signals/doc.go | 20 - .../pkg/manager/signals/signal.go | 45 - .../pkg/manager/signals/signal_posix.go | 27 - .../pkg/manager/signals/signal_windows.go | 23 - .../pkg/metrics/client_go_adapter.go | 71 - .../controller-runtime/pkg/metrics/doc.go | 20 - .../pkg/metrics/leaderelection.go | 47 - .../pkg/metrics/registry.go | 30 - .../pkg/metrics/server/doc.go | 26 - .../pkg/metrics/server/server.go | 340 - .../pkg/metrics/workqueue.go | 29 - .../controller-runtime/pkg/predicate/doc.go | 20 - .../pkg/predicate/predicate.go | 429 - .../controller-runtime/pkg/reconcile/doc.go | 21 - .../pkg/reconcile/reconcile.go | 192 - .../pkg/recorder/recorder.go | 31 - .../controller-runtime/pkg/scheme/scheme.go | 93 - .../controller-runtime/pkg/source/doc.go | 22 - .../controller-runtime/pkg/source/source.go | 317 - .../pkg/webhook/admission/decode.go | 92 - .../pkg/webhook/admission/defaulter_custom.go | 165 - .../pkg/webhook/admission/doc.go | 22 - .../pkg/webhook/admission/http.go | 173 - .../pkg/webhook/admission/metrics/metrics.go | 39 - .../pkg/webhook/admission/multi.go | 101 - .../pkg/webhook/admission/response.go | 124 - .../pkg/webhook/admission/validator_custom.go | 128 - .../pkg/webhook/admission/webhook.go | 266 - .../controller-runtime/pkg/webhook/alias.go | 73 - .../pkg/webhook/conversion/conversion.go | 360 - .../pkg/webhook/conversion/decoder.go | 50 - .../pkg/webhook/conversion/metrics/metrics.go | 39 - .../controller-runtime/pkg/webhook/doc.go | 28 - .../pkg/webhook/internal/metrics/metrics.go | 89 - .../controller-runtime/pkg/webhook/server.go | 302 - api/vendor/sigs.k8s.io/karpenter/LICENSE | 201 - api/vendor/sigs.k8s.io/karpenter/NOTICE | 18 - .../sigs.k8s.io/karpenter/pkg/apis/apis.go | 44 - .../apis/crds/karpenter.sh_nodeclaims.yaml | 393 - .../apis/crds/karpenter.sh_nodeoverlays.yaml | 226 - .../pkg/apis/crds/karpenter.sh_nodepools.yaml | 552 - .../sigs.k8s.io/karpenter/pkg/apis/v1/doc.go | 39 - .../karpenter/pkg/apis/v1/duration.go | 87 - .../karpenter/pkg/apis/v1/labels.go | 190 - .../karpenter/pkg/apis/v1/nodeclaim.go | 157 - .../pkg/apis/v1/nodeclaim_defaults.go | 22 - .../karpenter/pkg/apis/v1/nodeclaim_status.go | 79 - .../pkg/apis/v1/nodeclaim_validation.go | 198 - .../karpenter/pkg/apis/v1/nodepool.go | 397 - .../pkg/apis/v1/nodepool_defaults.go | 24 - .../karpenter/pkg/apis/v1/nodepool_status.go | 65 - .../pkg/apis/v1/nodepool_validation.go | 58 - .../karpenter/pkg/apis/v1/taints.go | 42 - .../pkg/apis/v1/zz_generated.deepcopy.go | 550 - .../karpenter/pkg/cloudprovider/types.go | 585 - .../cloudprovider/zz_generated.deepcopy.go | 128 - .../pkg/operator/options/injectable.go | 31 - .../karpenter/pkg/operator/options/options.go | 216 - .../karpenter/pkg/scheduling/hostportusage.go | 115 - .../karpenter/pkg/scheduling/requirement.go | 353 - .../karpenter/pkg/scheduling/requirements.go | 298 - .../karpenter/pkg/scheduling/taints.go | 80 - .../karpenter/pkg/scheduling/volumeusage.go | 226 - .../pkg/scheduling/zz_generated.deepcopy.go | 218 - .../karpenter/pkg/utils/env/env.go | 126 - .../pkg/utils/pretty/changemonitor.go | 53 - .../karpenter/pkg/utils/pretty/pretty.go | 102 - .../pkg/utils/resources/resources.go | 171 - .../karpenter/pkg/utils/volume/volume.go | 47 - .../structured-merge-diff/v6/fieldpath/doc.go | 21 - .../v6/fieldpath/element.go | 388 - .../v6/fieldpath/fromvalue.go | 134 - .../v6/fieldpath/managers.go | 144 - .../v6/fieldpath/path.go | 118 - .../v6/fieldpath/pathelementmap.go | 114 - .../v6/fieldpath/serialize-pe.go | 186 - .../v6/fieldpath/serialize.go | 238 - .../structured-merge-diff/v6/fieldpath/set.go | 821 - .../v6/merge/conflict.go | 121 - .../structured-merge-diff/v6/merge/update.go | 395 - .../structured-merge-diff/v6/schema/doc.go | 28 - .../v6/schema/elements.go | 375 - .../structured-merge-diff/v6/schema/equals.go | 202 - .../v6/schema/schemaschema.go | 165 - .../structured-merge-diff/v6/typed/compare.go | 470 - .../structured-merge-diff/v6/typed/doc.go | 18 - .../structured-merge-diff/v6/typed/helpers.go | 266 - .../structured-merge-diff/v6/typed/merge.go | 427 - .../structured-merge-diff/v6/typed/parser.go | 151 - .../v6/typed/reconcile_schema.go | 290 - .../structured-merge-diff/v6/typed/remove.go | 165 - .../v6/typed/tofieldset.go | 190 - .../structured-merge-diff/v6/typed/typed.go | 294 - .../v6/typed/validate.go | 205 - api/vendor/sigs.k8s.io/yaml/.gitignore | 24 - api/vendor/sigs.k8s.io/yaml/CONTRIBUTING.md | 31 - api/vendor/sigs.k8s.io/yaml/LICENSE | 306 - api/vendor/sigs.k8s.io/yaml/OWNERS | 23 - api/vendor/sigs.k8s.io/yaml/README.md | 123 - api/vendor/sigs.k8s.io/yaml/RELEASE.md | 9 - api/vendor/sigs.k8s.io/yaml/SECURITY_CONTACTS | 17 - .../sigs.k8s.io/yaml/code-of-conduct.md | 3 - api/vendor/sigs.k8s.io/yaml/fields.go | 501 - api/vendor/sigs.k8s.io/yaml/yaml.go | 426 - 3929 files changed, 7 insertions(+), 1136061 deletions(-) delete mode 100644 api/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/LICENSE.txt delete mode 100644 api/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/enums.go delete mode 100644 api/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/types.go delete mode 100644 api/vendor/github.com/aws/karpenter-provider-aws/LICENSE delete mode 100644 api/vendor/github.com/aws/karpenter-provider-aws/NOTICE delete mode 100644 api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/apis.go delete mode 100644 api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.k8s.aws_ec2nodeclasses.yaml delete mode 100644 api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.sh_nodeclaims.yaml delete mode 100644 api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.sh_nodeoverlays.yaml delete mode 100644 api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.sh_nodepools.yaml delete mode 100644 api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/doc.go delete mode 100644 api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/ec2nodeclass.go delete mode 100644 api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/ec2nodeclass_defaults.go delete mode 100644 api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/ec2nodeclass_status.go delete mode 100644 api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/labels.go delete mode 100644 api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/github.com/aws/smithy-go/LICENSE delete mode 100644 api/vendor/github.com/aws/smithy-go/NOTICE delete mode 100644 api/vendor/github.com/aws/smithy-go/document/doc.go delete mode 100644 api/vendor/github.com/aws/smithy-go/document/document.go delete mode 100644 api/vendor/github.com/aws/smithy-go/document/errors.go delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/LICENSE delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/NOTICE delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/metrics/metrics.go delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/metrics/multi.go delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/metrics/prometheus.go delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/metrics/types.go delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/object/object.go delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/option/environment.go delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/option/function.go delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/serrors/logger.go delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/serrors/serrors.go delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/status/condition.go delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/status/condition_set.go delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/status/controller.go delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/status/doc.go delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/status/metrics.go delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/status/unstructured_adapter.go delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/status/zz_generated.deepcopy.go delete mode 100644 api/vendor/github.com/awslabs/operatorpkg/unstructured/unstructured.go delete mode 100644 api/vendor/github.com/beorn7/perks/LICENSE delete mode 100644 api/vendor/github.com/beorn7/perks/quantile/exampledata.txt delete mode 100644 api/vendor/github.com/beorn7/perks/quantile/stream.go delete mode 100644 api/vendor/github.com/cespare/xxhash/v2/LICENSE.txt delete mode 100644 api/vendor/github.com/cespare/xxhash/v2/README.md delete mode 100644 api/vendor/github.com/cespare/xxhash/v2/testall.sh delete mode 100644 api/vendor/github.com/cespare/xxhash/v2/xxhash.go delete mode 100644 api/vendor/github.com/cespare/xxhash/v2/xxhash_amd64.s delete mode 100644 api/vendor/github.com/cespare/xxhash/v2/xxhash_arm64.s delete mode 100644 api/vendor/github.com/cespare/xxhash/v2/xxhash_asm.go delete mode 100644 api/vendor/github.com/cespare/xxhash/v2/xxhash_other.go delete mode 100644 api/vendor/github.com/cespare/xxhash/v2/xxhash_safe.go delete mode 100644 api/vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go delete mode 100644 api/vendor/github.com/davecgh/go-spew/LICENSE delete mode 100644 api/vendor/github.com/davecgh/go-spew/spew/bypass.go delete mode 100644 api/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go delete mode 100644 api/vendor/github.com/davecgh/go-spew/spew/common.go delete mode 100644 api/vendor/github.com/davecgh/go-spew/spew/config.go delete mode 100644 api/vendor/github.com/davecgh/go-spew/spew/doc.go delete mode 100644 api/vendor/github.com/davecgh/go-spew/spew/dump.go delete mode 100644 api/vendor/github.com/davecgh/go-spew/spew/format.go delete mode 100644 api/vendor/github.com/davecgh/go-spew/spew/spew.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/.gitignore delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/.goconvey delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/.travis.yml delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/CHANGES.md delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/LICENSE delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/Makefile delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/README.md delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/SECURITY.md delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/Srcfile delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/bench_test.sh delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/compress.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/compressor_cache.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/compressor_pools.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/compressors.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/constants.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/container.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/cors_filter.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/coverage.sh delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/curly.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/curly_route.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/custom_verb.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/doc.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/entity_accessors.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/extensions.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/filter.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/filter_adapter.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/jsr311.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/log/log.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/logger.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/mime.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/options_filter.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/parameter.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/path_expression.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/path_processor.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/request.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/response.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/route.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/route_builder.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/route_reader.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/router.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/service_error.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/web_service.go delete mode 100644 api/vendor/github.com/emicklei/go-restful/v3/web_service_container.go delete mode 100644 api/vendor/github.com/evanphx/json-patch/v5/LICENSE delete mode 100644 api/vendor/github.com/evanphx/json-patch/v5/errors.go delete mode 100644 api/vendor/github.com/evanphx/json-patch/v5/internal/json/decode.go delete mode 100644 api/vendor/github.com/evanphx/json-patch/v5/internal/json/encode.go delete mode 100644 api/vendor/github.com/evanphx/json-patch/v5/internal/json/fold.go delete mode 100644 api/vendor/github.com/evanphx/json-patch/v5/internal/json/fuzz.go delete mode 100644 api/vendor/github.com/evanphx/json-patch/v5/internal/json/indent.go delete mode 100644 api/vendor/github.com/evanphx/json-patch/v5/internal/json/scanner.go delete mode 100644 api/vendor/github.com/evanphx/json-patch/v5/internal/json/stream.go delete mode 100644 api/vendor/github.com/evanphx/json-patch/v5/internal/json/tables.go delete mode 100644 api/vendor/github.com/evanphx/json-patch/v5/internal/json/tags.go delete mode 100644 api/vendor/github.com/evanphx/json-patch/v5/merge.go delete mode 100644 api/vendor/github.com/evanphx/json-patch/v5/patch.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/.cirrus.yml delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/.gitignore delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/.mailmap delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/CHANGELOG.md delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/LICENSE delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/README.md delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/backend_fen.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/backend_inotify.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/backend_kqueue.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/backend_other.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/backend_windows.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/fsnotify.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/internal/darwin.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/internal/debug_darwin.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/internal/debug_dragonfly.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/internal/debug_freebsd.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/internal/debug_kqueue.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/internal/debug_linux.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/internal/debug_netbsd.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/internal/debug_openbsd.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/internal/debug_solaris.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/internal/debug_windows.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/internal/freebsd.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/internal/internal.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/internal/unix.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/internal/unix2.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/internal/windows.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/shared.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/staticcheck.conf delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/system_bsd.go delete mode 100644 api/vendor/github.com/fsnotify/fsnotify/system_darwin.go delete mode 100644 api/vendor/github.com/go-openapi/jsonpointer/.editorconfig delete mode 100644 api/vendor/github.com/go-openapi/jsonpointer/.gitignore delete mode 100644 api/vendor/github.com/go-openapi/jsonpointer/.golangci.yml delete mode 100644 api/vendor/github.com/go-openapi/jsonpointer/CODE_OF_CONDUCT.md delete mode 100644 api/vendor/github.com/go-openapi/jsonpointer/LICENSE delete mode 100644 api/vendor/github.com/go-openapi/jsonpointer/README.md delete mode 100644 api/vendor/github.com/go-openapi/jsonpointer/errors.go delete mode 100644 api/vendor/github.com/go-openapi/jsonpointer/pointer.go delete mode 100644 api/vendor/github.com/go-openapi/jsonreference/.gitignore delete mode 100644 api/vendor/github.com/go-openapi/jsonreference/.golangci.yml delete mode 100644 api/vendor/github.com/go-openapi/jsonreference/CODE_OF_CONDUCT.md delete mode 100644 api/vendor/github.com/go-openapi/jsonreference/LICENSE delete mode 100644 api/vendor/github.com/go-openapi/jsonreference/README.md delete mode 100644 api/vendor/github.com/go-openapi/jsonreference/internal/normalize_url.go delete mode 100644 api/vendor/github.com/go-openapi/jsonreference/reference.go delete mode 100644 api/vendor/github.com/go-openapi/swag/.editorconfig delete mode 100644 api/vendor/github.com/go-openapi/swag/.gitattributes delete mode 100644 api/vendor/github.com/go-openapi/swag/.gitignore delete mode 100644 api/vendor/github.com/go-openapi/swag/.golangci.yml delete mode 100644 api/vendor/github.com/go-openapi/swag/BENCHMARK.md delete mode 100644 api/vendor/github.com/go-openapi/swag/CODE_OF_CONDUCT.md delete mode 100644 api/vendor/github.com/go-openapi/swag/LICENSE delete mode 100644 api/vendor/github.com/go-openapi/swag/README.md delete mode 100644 api/vendor/github.com/go-openapi/swag/convert.go delete mode 100644 api/vendor/github.com/go-openapi/swag/convert_types.go delete mode 100644 api/vendor/github.com/go-openapi/swag/doc.go delete mode 100644 api/vendor/github.com/go-openapi/swag/errors.go delete mode 100644 api/vendor/github.com/go-openapi/swag/file.go delete mode 100644 api/vendor/github.com/go-openapi/swag/initialism_index.go delete mode 100644 api/vendor/github.com/go-openapi/swag/json.go delete mode 100644 api/vendor/github.com/go-openapi/swag/loading.go delete mode 100644 api/vendor/github.com/go-openapi/swag/name_lexem.go delete mode 100644 api/vendor/github.com/go-openapi/swag/net.go delete mode 100644 api/vendor/github.com/go-openapi/swag/path.go delete mode 100644 api/vendor/github.com/go-openapi/swag/split.go delete mode 100644 api/vendor/github.com/go-openapi/swag/string_bytes.go delete mode 100644 api/vendor/github.com/go-openapi/swag/util.go delete mode 100644 api/vendor/github.com/go-openapi/swag/yaml.go delete mode 100644 api/vendor/github.com/google/btree/LICENSE delete mode 100644 api/vendor/github.com/google/btree/README.md delete mode 100644 api/vendor/github.com/google/btree/btree.go delete mode 100644 api/vendor/github.com/google/btree/btree_generic.go delete mode 100644 api/vendor/github.com/google/gnostic-models/LICENSE delete mode 100644 api/vendor/github.com/google/gnostic-models/compiler/README.md delete mode 100644 api/vendor/github.com/google/gnostic-models/compiler/context.go delete mode 100644 api/vendor/github.com/google/gnostic-models/compiler/error.go delete mode 100644 api/vendor/github.com/google/gnostic-models/compiler/extensions.go delete mode 100644 api/vendor/github.com/google/gnostic-models/compiler/helpers.go delete mode 100644 api/vendor/github.com/google/gnostic-models/compiler/main.go delete mode 100644 api/vendor/github.com/google/gnostic-models/compiler/reader.go delete mode 100644 api/vendor/github.com/google/gnostic-models/extensions/README.md delete mode 100644 api/vendor/github.com/google/gnostic-models/extensions/extension.pb.go delete mode 100644 api/vendor/github.com/google/gnostic-models/extensions/extension.proto delete mode 100644 api/vendor/github.com/google/gnostic-models/extensions/extensions.go delete mode 100644 api/vendor/github.com/google/gnostic-models/jsonschema/README.md delete mode 100644 api/vendor/github.com/google/gnostic-models/jsonschema/base.go delete mode 100644 api/vendor/github.com/google/gnostic-models/jsonschema/display.go delete mode 100644 api/vendor/github.com/google/gnostic-models/jsonschema/models.go delete mode 100644 api/vendor/github.com/google/gnostic-models/jsonschema/operations.go delete mode 100644 api/vendor/github.com/google/gnostic-models/jsonschema/reader.go delete mode 100644 api/vendor/github.com/google/gnostic-models/jsonschema/schema.json delete mode 100644 api/vendor/github.com/google/gnostic-models/jsonschema/writer.go delete mode 100644 api/vendor/github.com/google/gnostic-models/openapiv2/OpenAPIv2.go delete mode 100644 api/vendor/github.com/google/gnostic-models/openapiv2/OpenAPIv2.pb.go delete mode 100644 api/vendor/github.com/google/gnostic-models/openapiv2/OpenAPIv2.proto delete mode 100644 api/vendor/github.com/google/gnostic-models/openapiv2/README.md delete mode 100644 api/vendor/github.com/google/gnostic-models/openapiv2/document.go delete mode 100644 api/vendor/github.com/google/gnostic-models/openapiv2/openapi-2.0.json delete mode 100644 api/vendor/github.com/google/gnostic-models/openapiv3/OpenAPIv3.go delete mode 100644 api/vendor/github.com/google/gnostic-models/openapiv3/OpenAPIv3.pb.go delete mode 100644 api/vendor/github.com/google/gnostic-models/openapiv3/OpenAPIv3.proto delete mode 100644 api/vendor/github.com/google/gnostic-models/openapiv3/README.md delete mode 100644 api/vendor/github.com/google/gnostic-models/openapiv3/annotations.pb.go delete mode 100644 api/vendor/github.com/google/gnostic-models/openapiv3/annotations.proto delete mode 100644 api/vendor/github.com/google/gnostic-models/openapiv3/document.go delete mode 100644 api/vendor/github.com/google/go-cmp/LICENSE delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/compare.go delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/export.go delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/internal/diff/debug_disable.go delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/internal/diff/debug_enable.go delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/internal/diff/diff.go delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/internal/flags/flags.go delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/internal/function/func.go delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/internal/value/name.go delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/internal/value/pointer.go delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/internal/value/sort.go delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/options.go delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/path.go delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/report.go delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/report_compare.go delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/report_references.go delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/report_reflect.go delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/report_slices.go delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/report_text.go delete mode 100644 api/vendor/github.com/google/go-cmp/cmp/report_value.go delete mode 100644 api/vendor/github.com/google/uuid/CHANGELOG.md delete mode 100644 api/vendor/github.com/google/uuid/CONTRIBUTING.md delete mode 100644 api/vendor/github.com/google/uuid/CONTRIBUTORS delete mode 100644 api/vendor/github.com/google/uuid/LICENSE delete mode 100644 api/vendor/github.com/google/uuid/README.md delete mode 100644 api/vendor/github.com/google/uuid/dce.go delete mode 100644 api/vendor/github.com/google/uuid/doc.go delete mode 100644 api/vendor/github.com/google/uuid/hash.go delete mode 100644 api/vendor/github.com/google/uuid/marshal.go delete mode 100644 api/vendor/github.com/google/uuid/node.go delete mode 100644 api/vendor/github.com/google/uuid/node_js.go delete mode 100644 api/vendor/github.com/google/uuid/node_net.go delete mode 100644 api/vendor/github.com/google/uuid/null.go delete mode 100644 api/vendor/github.com/google/uuid/sql.go delete mode 100644 api/vendor/github.com/google/uuid/time.go delete mode 100644 api/vendor/github.com/google/uuid/util.go delete mode 100644 api/vendor/github.com/google/uuid/uuid.go delete mode 100644 api/vendor/github.com/google/uuid/version1.go delete mode 100644 api/vendor/github.com/google/uuid/version4.go delete mode 100644 api/vendor/github.com/google/uuid/version6.go delete mode 100644 api/vendor/github.com/google/uuid/version7.go delete mode 100644 api/vendor/github.com/inconshreveable/mousetrap/LICENSE delete mode 100644 api/vendor/github.com/inconshreveable/mousetrap/README.md delete mode 100644 api/vendor/github.com/inconshreveable/mousetrap/trap_others.go delete mode 100644 api/vendor/github.com/inconshreveable/mousetrap/trap_windows.go delete mode 100644 api/vendor/github.com/josharian/intern/README.md delete mode 100644 api/vendor/github.com/josharian/intern/intern.go delete mode 100644 api/vendor/github.com/josharian/intern/license.md delete mode 100644 api/vendor/github.com/mailru/easyjson/LICENSE delete mode 100644 api/vendor/github.com/mailru/easyjson/buffer/pool.go delete mode 100644 api/vendor/github.com/mailru/easyjson/jlexer/bytestostr.go delete mode 100644 api/vendor/github.com/mailru/easyjson/jlexer/bytestostr_nounsafe.go delete mode 100644 api/vendor/github.com/mailru/easyjson/jlexer/error.go delete mode 100644 api/vendor/github.com/mailru/easyjson/jlexer/lexer.go delete mode 100644 api/vendor/github.com/mailru/easyjson/jwriter/writer.go delete mode 100644 api/vendor/github.com/mitchellh/hashstructure/v2/LICENSE delete mode 100644 api/vendor/github.com/mitchellh/hashstructure/v2/README.md delete mode 100644 api/vendor/github.com/mitchellh/hashstructure/v2/errors.go delete mode 100644 api/vendor/github.com/mitchellh/hashstructure/v2/hashstructure.go delete mode 100644 api/vendor/github.com/mitchellh/hashstructure/v2/include.go delete mode 100644 api/vendor/github.com/munnerz/goautoneg/LICENSE delete mode 100644 api/vendor/github.com/munnerz/goautoneg/Makefile delete mode 100644 api/vendor/github.com/munnerz/goautoneg/README.txt delete mode 100644 api/vendor/github.com/munnerz/goautoneg/autoneg.go delete mode 100644 api/vendor/github.com/patrickmn/go-cache/CONTRIBUTORS delete mode 100644 api/vendor/github.com/patrickmn/go-cache/LICENSE delete mode 100644 api/vendor/github.com/patrickmn/go-cache/README.md delete mode 100644 api/vendor/github.com/patrickmn/go-cache/cache.go delete mode 100644 api/vendor/github.com/patrickmn/go-cache/sharded.go delete mode 100644 api/vendor/github.com/pkg/errors/.gitignore delete mode 100644 api/vendor/github.com/pkg/errors/.travis.yml delete mode 100644 api/vendor/github.com/pkg/errors/LICENSE delete mode 100644 api/vendor/github.com/pkg/errors/Makefile delete mode 100644 api/vendor/github.com/pkg/errors/README.md delete mode 100644 api/vendor/github.com/pkg/errors/appveyor.yml delete mode 100644 api/vendor/github.com/pkg/errors/errors.go delete mode 100644 api/vendor/github.com/pkg/errors/go113.go delete mode 100644 api/vendor/github.com/pkg/errors/stack.go delete mode 100644 api/vendor/github.com/pmezard/go-difflib/LICENSE delete mode 100644 api/vendor/github.com/pmezard/go-difflib/difflib/difflib.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/LICENSE delete mode 100644 api/vendor/github.com/prometheus/client_golang/NOTICE delete mode 100644 api/vendor/github.com/prometheus/client_golang/internal/github.com/golang/gddo/LICENSE delete mode 100644 api/vendor/github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header/header.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/negotiate.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/.gitignore delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/README.md delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/build_info_collector.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/collector.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/collectorfunc.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/collectors/collectors.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/collectors/dbstats_collector.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/collectors/expvar_collector.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/collectors/go_collector_go116.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/collectors/go_collector_latest.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/collectors/process_collector.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/counter.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/desc.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/doc.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/expvar_collector.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/fnv.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/gauge.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/get_pid.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/get_pid_gopherjs.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/go_collector.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/go_collector_go116.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/go_collector_latest.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/histogram.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/internal/almost_equal.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/internal/difflib.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/internal/go_collector_options.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/internal/go_runtime_metrics.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/internal/metric.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/labels.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/metric.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/num_threads.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/num_threads_gopherjs.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/observer.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/process_collector.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/process_collector_darwin.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/process_collector_mem_cgo_darwin.c delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/process_collector_mem_cgo_darwin.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/process_collector_mem_nocgo_darwin.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/process_collector_not_supported.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/process_collector_procfsenabled.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/process_collector_windows.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/promhttp/delegator.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/promhttp/http.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/promhttp/instrument_client.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/promhttp/instrument_server.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/promhttp/internal/compression.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/promhttp/option.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/registry.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/summary.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/timer.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/untyped.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/value.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/vec.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/vnext.go delete mode 100644 api/vendor/github.com/prometheus/client_golang/prometheus/wrap.go delete mode 100644 api/vendor/github.com/prometheus/client_model/LICENSE delete mode 100644 api/vendor/github.com/prometheus/client_model/NOTICE delete mode 100644 api/vendor/github.com/prometheus/client_model/go/metrics.pb.go delete mode 100644 api/vendor/github.com/prometheus/common/LICENSE delete mode 100644 api/vendor/github.com/prometheus/common/NOTICE delete mode 100644 api/vendor/github.com/prometheus/common/expfmt/decode.go delete mode 100644 api/vendor/github.com/prometheus/common/expfmt/encode.go delete mode 100644 api/vendor/github.com/prometheus/common/expfmt/expfmt.go delete mode 100644 api/vendor/github.com/prometheus/common/expfmt/fuzz.go delete mode 100644 api/vendor/github.com/prometheus/common/expfmt/openmetrics_create.go delete mode 100644 api/vendor/github.com/prometheus/common/expfmt/text_create.go delete mode 100644 api/vendor/github.com/prometheus/common/expfmt/text_parse.go delete mode 100644 api/vendor/github.com/prometheus/common/model/alert.go delete mode 100644 api/vendor/github.com/prometheus/common/model/fingerprinting.go delete mode 100644 api/vendor/github.com/prometheus/common/model/fnv.go delete mode 100644 api/vendor/github.com/prometheus/common/model/labels.go delete mode 100644 api/vendor/github.com/prometheus/common/model/labelset.go delete mode 100644 api/vendor/github.com/prometheus/common/model/labelset_string.go delete mode 100644 api/vendor/github.com/prometheus/common/model/metadata.go delete mode 100644 api/vendor/github.com/prometheus/common/model/metric.go delete mode 100644 api/vendor/github.com/prometheus/common/model/model.go delete mode 100644 api/vendor/github.com/prometheus/common/model/signature.go delete mode 100644 api/vendor/github.com/prometheus/common/model/silence.go delete mode 100644 api/vendor/github.com/prometheus/common/model/time.go delete mode 100644 api/vendor/github.com/prometheus/common/model/value.go delete mode 100644 api/vendor/github.com/prometheus/common/model/value_float.go delete mode 100644 api/vendor/github.com/prometheus/common/model/value_histogram.go delete mode 100644 api/vendor/github.com/prometheus/common/model/value_type.go delete mode 100644 api/vendor/github.com/prometheus/procfs/.gitignore delete mode 100644 api/vendor/github.com/prometheus/procfs/.golangci.yml delete mode 100644 api/vendor/github.com/prometheus/procfs/CODE_OF_CONDUCT.md delete mode 100644 api/vendor/github.com/prometheus/procfs/CONTRIBUTING.md delete mode 100644 api/vendor/github.com/prometheus/procfs/LICENSE delete mode 100644 api/vendor/github.com/prometheus/procfs/MAINTAINERS.md delete mode 100644 api/vendor/github.com/prometheus/procfs/Makefile delete mode 100644 api/vendor/github.com/prometheus/procfs/Makefile.common delete mode 100644 api/vendor/github.com/prometheus/procfs/NOTICE delete mode 100644 api/vendor/github.com/prometheus/procfs/README.md delete mode 100644 api/vendor/github.com/prometheus/procfs/SECURITY.md delete mode 100644 api/vendor/github.com/prometheus/procfs/arp.go delete mode 100644 api/vendor/github.com/prometheus/procfs/buddyinfo.go delete mode 100644 api/vendor/github.com/prometheus/procfs/cmdline.go delete mode 100644 api/vendor/github.com/prometheus/procfs/cpuinfo.go delete mode 100644 api/vendor/github.com/prometheus/procfs/cpuinfo_armx.go delete mode 100644 api/vendor/github.com/prometheus/procfs/cpuinfo_loong64.go delete mode 100644 api/vendor/github.com/prometheus/procfs/cpuinfo_mipsx.go delete mode 100644 api/vendor/github.com/prometheus/procfs/cpuinfo_others.go delete mode 100644 api/vendor/github.com/prometheus/procfs/cpuinfo_ppcx.go delete mode 100644 api/vendor/github.com/prometheus/procfs/cpuinfo_riscvx.go delete mode 100644 api/vendor/github.com/prometheus/procfs/cpuinfo_s390x.go delete mode 100644 api/vendor/github.com/prometheus/procfs/cpuinfo_x86.go delete mode 100644 api/vendor/github.com/prometheus/procfs/crypto.go delete mode 100644 api/vendor/github.com/prometheus/procfs/doc.go delete mode 100644 api/vendor/github.com/prometheus/procfs/fs.go delete mode 100644 api/vendor/github.com/prometheus/procfs/fs_statfs_notype.go delete mode 100644 api/vendor/github.com/prometheus/procfs/fs_statfs_type.go delete mode 100644 api/vendor/github.com/prometheus/procfs/fscache.go delete mode 100644 api/vendor/github.com/prometheus/procfs/internal/fs/fs.go delete mode 100644 api/vendor/github.com/prometheus/procfs/internal/util/parse.go delete mode 100644 api/vendor/github.com/prometheus/procfs/internal/util/readfile.go delete mode 100644 api/vendor/github.com/prometheus/procfs/internal/util/sysreadfile.go delete mode 100644 api/vendor/github.com/prometheus/procfs/internal/util/sysreadfile_compat.go delete mode 100644 api/vendor/github.com/prometheus/procfs/internal/util/valueparser.go delete mode 100644 api/vendor/github.com/prometheus/procfs/ipvs.go delete mode 100644 api/vendor/github.com/prometheus/procfs/kernel_random.go delete mode 100644 api/vendor/github.com/prometheus/procfs/loadavg.go delete mode 100644 api/vendor/github.com/prometheus/procfs/mdstat.go delete mode 100644 api/vendor/github.com/prometheus/procfs/meminfo.go delete mode 100644 api/vendor/github.com/prometheus/procfs/mountinfo.go delete mode 100644 api/vendor/github.com/prometheus/procfs/mountstats.go delete mode 100644 api/vendor/github.com/prometheus/procfs/net_conntrackstat.go delete mode 100644 api/vendor/github.com/prometheus/procfs/net_dev.go delete mode 100644 api/vendor/github.com/prometheus/procfs/net_dev_snmp6.go delete mode 100644 api/vendor/github.com/prometheus/procfs/net_ip_socket.go delete mode 100644 api/vendor/github.com/prometheus/procfs/net_protocols.go delete mode 100644 api/vendor/github.com/prometheus/procfs/net_route.go delete mode 100644 api/vendor/github.com/prometheus/procfs/net_sockstat.go delete mode 100644 api/vendor/github.com/prometheus/procfs/net_softnet.go delete mode 100644 api/vendor/github.com/prometheus/procfs/net_tcp.go delete mode 100644 api/vendor/github.com/prometheus/procfs/net_tls_stat.go delete mode 100644 api/vendor/github.com/prometheus/procfs/net_udp.go delete mode 100644 api/vendor/github.com/prometheus/procfs/net_unix.go delete mode 100644 api/vendor/github.com/prometheus/procfs/net_wireless.go delete mode 100644 api/vendor/github.com/prometheus/procfs/net_xfrm.go delete mode 100644 api/vendor/github.com/prometheus/procfs/netstat.go delete mode 100644 api/vendor/github.com/prometheus/procfs/proc.go delete mode 100644 api/vendor/github.com/prometheus/procfs/proc_cgroup.go delete mode 100644 api/vendor/github.com/prometheus/procfs/proc_cgroups.go delete mode 100644 api/vendor/github.com/prometheus/procfs/proc_environ.go delete mode 100644 api/vendor/github.com/prometheus/procfs/proc_fdinfo.go delete mode 100644 api/vendor/github.com/prometheus/procfs/proc_interrupts.go delete mode 100644 api/vendor/github.com/prometheus/procfs/proc_io.go delete mode 100644 api/vendor/github.com/prometheus/procfs/proc_limits.go delete mode 100644 api/vendor/github.com/prometheus/procfs/proc_maps.go delete mode 100644 api/vendor/github.com/prometheus/procfs/proc_netstat.go delete mode 100644 api/vendor/github.com/prometheus/procfs/proc_ns.go delete mode 100644 api/vendor/github.com/prometheus/procfs/proc_psi.go delete mode 100644 api/vendor/github.com/prometheus/procfs/proc_smaps.go delete mode 100644 api/vendor/github.com/prometheus/procfs/proc_snmp.go delete mode 100644 api/vendor/github.com/prometheus/procfs/proc_snmp6.go delete mode 100644 api/vendor/github.com/prometheus/procfs/proc_stat.go delete mode 100644 api/vendor/github.com/prometheus/procfs/proc_status.go delete mode 100644 api/vendor/github.com/prometheus/procfs/proc_sys.go delete mode 100644 api/vendor/github.com/prometheus/procfs/schedstat.go delete mode 100644 api/vendor/github.com/prometheus/procfs/slab.go delete mode 100644 api/vendor/github.com/prometheus/procfs/softirqs.go delete mode 100644 api/vendor/github.com/prometheus/procfs/stat.go delete mode 100644 api/vendor/github.com/prometheus/procfs/swaps.go delete mode 100644 api/vendor/github.com/prometheus/procfs/thread.go delete mode 100644 api/vendor/github.com/prometheus/procfs/ttar delete mode 100644 api/vendor/github.com/prometheus/procfs/vm.go delete mode 100644 api/vendor/github.com/prometheus/procfs/zoneinfo.go delete mode 100644 api/vendor/github.com/robfig/cron/v3/.gitignore delete mode 100644 api/vendor/github.com/robfig/cron/v3/.travis.yml delete mode 100644 api/vendor/github.com/robfig/cron/v3/LICENSE delete mode 100644 api/vendor/github.com/robfig/cron/v3/README.md delete mode 100644 api/vendor/github.com/robfig/cron/v3/chain.go delete mode 100644 api/vendor/github.com/robfig/cron/v3/constantdelay.go delete mode 100644 api/vendor/github.com/robfig/cron/v3/cron.go delete mode 100644 api/vendor/github.com/robfig/cron/v3/doc.go delete mode 100644 api/vendor/github.com/robfig/cron/v3/logger.go delete mode 100644 api/vendor/github.com/robfig/cron/v3/option.go delete mode 100644 api/vendor/github.com/robfig/cron/v3/parser.go delete mode 100644 api/vendor/github.com/robfig/cron/v3/spec.go delete mode 100644 api/vendor/github.com/samber/lo/.gitignore delete mode 100644 api/vendor/github.com/samber/lo/Dockerfile delete mode 100644 api/vendor/github.com/samber/lo/LICENSE delete mode 100644 api/vendor/github.com/samber/lo/Makefile delete mode 100644 api/vendor/github.com/samber/lo/README.md delete mode 100644 api/vendor/github.com/samber/lo/channel.go delete mode 100644 api/vendor/github.com/samber/lo/concurrency.go delete mode 100644 api/vendor/github.com/samber/lo/condition.go delete mode 100644 api/vendor/github.com/samber/lo/constraints.go delete mode 100644 api/vendor/github.com/samber/lo/errors.go delete mode 100644 api/vendor/github.com/samber/lo/find.go delete mode 100644 api/vendor/github.com/samber/lo/func.go delete mode 100644 api/vendor/github.com/samber/lo/internal/constraints/constraints.go delete mode 100644 api/vendor/github.com/samber/lo/internal/constraints/ordered_go118.go delete mode 100644 api/vendor/github.com/samber/lo/internal/constraints/ordered_go121.go delete mode 100644 api/vendor/github.com/samber/lo/internal/rand/ordered_go118.go delete mode 100644 api/vendor/github.com/samber/lo/internal/rand/ordered_go122.go delete mode 100644 api/vendor/github.com/samber/lo/intersect.go delete mode 100644 api/vendor/github.com/samber/lo/map.go delete mode 100644 api/vendor/github.com/samber/lo/math.go delete mode 100644 api/vendor/github.com/samber/lo/mutable/slice.go delete mode 100644 api/vendor/github.com/samber/lo/retry.go delete mode 100644 api/vendor/github.com/samber/lo/slice.go delete mode 100644 api/vendor/github.com/samber/lo/string.go delete mode 100644 api/vendor/github.com/samber/lo/time.go delete mode 100644 api/vendor/github.com/samber/lo/tuples.go delete mode 100644 api/vendor/github.com/samber/lo/type_manipulation.go delete mode 100644 api/vendor/github.com/samber/lo/types.go delete mode 100644 api/vendor/github.com/spf13/cobra/.gitignore delete mode 100644 api/vendor/github.com/spf13/cobra/.golangci.yml delete mode 100644 api/vendor/github.com/spf13/cobra/.mailmap delete mode 100644 api/vendor/github.com/spf13/cobra/CONDUCT.md delete mode 100644 api/vendor/github.com/spf13/cobra/CONTRIBUTING.md delete mode 100644 api/vendor/github.com/spf13/cobra/LICENSE.txt delete mode 100644 api/vendor/github.com/spf13/cobra/MAINTAINERS delete mode 100644 api/vendor/github.com/spf13/cobra/Makefile delete mode 100644 api/vendor/github.com/spf13/cobra/README.md delete mode 100644 api/vendor/github.com/spf13/cobra/SECURITY.md delete mode 100644 api/vendor/github.com/spf13/cobra/active_help.go delete mode 100644 api/vendor/github.com/spf13/cobra/args.go delete mode 100644 api/vendor/github.com/spf13/cobra/bash_completions.go delete mode 100644 api/vendor/github.com/spf13/cobra/bash_completionsV2.go delete mode 100644 api/vendor/github.com/spf13/cobra/cobra.go delete mode 100644 api/vendor/github.com/spf13/cobra/command.go delete mode 100644 api/vendor/github.com/spf13/cobra/command_notwin.go delete mode 100644 api/vendor/github.com/spf13/cobra/command_win.go delete mode 100644 api/vendor/github.com/spf13/cobra/completions.go delete mode 100644 api/vendor/github.com/spf13/cobra/fish_completions.go delete mode 100644 api/vendor/github.com/spf13/cobra/flag_groups.go delete mode 100644 api/vendor/github.com/spf13/cobra/powershell_completions.go delete mode 100644 api/vendor/github.com/spf13/cobra/shell_completions.go delete mode 100644 api/vendor/github.com/spf13/cobra/zsh_completions.go delete mode 100644 api/vendor/github.com/spf13/pflag/.editorconfig delete mode 100644 api/vendor/github.com/spf13/pflag/.gitignore delete mode 100644 api/vendor/github.com/spf13/pflag/.golangci.yaml delete mode 100644 api/vendor/github.com/spf13/pflag/.travis.yml delete mode 100644 api/vendor/github.com/spf13/pflag/LICENSE delete mode 100644 api/vendor/github.com/spf13/pflag/README.md delete mode 100644 api/vendor/github.com/spf13/pflag/bool.go delete mode 100644 api/vendor/github.com/spf13/pflag/bool_func.go delete mode 100644 api/vendor/github.com/spf13/pflag/bool_slice.go delete mode 100644 api/vendor/github.com/spf13/pflag/bytes.go delete mode 100644 api/vendor/github.com/spf13/pflag/count.go delete mode 100644 api/vendor/github.com/spf13/pflag/duration.go delete mode 100644 api/vendor/github.com/spf13/pflag/duration_slice.go delete mode 100644 api/vendor/github.com/spf13/pflag/errors.go delete mode 100644 api/vendor/github.com/spf13/pflag/flag.go delete mode 100644 api/vendor/github.com/spf13/pflag/float32.go delete mode 100644 api/vendor/github.com/spf13/pflag/float32_slice.go delete mode 100644 api/vendor/github.com/spf13/pflag/float64.go delete mode 100644 api/vendor/github.com/spf13/pflag/float64_slice.go delete mode 100644 api/vendor/github.com/spf13/pflag/func.go delete mode 100644 api/vendor/github.com/spf13/pflag/golangflag.go delete mode 100644 api/vendor/github.com/spf13/pflag/int.go delete mode 100644 api/vendor/github.com/spf13/pflag/int16.go delete mode 100644 api/vendor/github.com/spf13/pflag/int32.go delete mode 100644 api/vendor/github.com/spf13/pflag/int32_slice.go delete mode 100644 api/vendor/github.com/spf13/pflag/int64.go delete mode 100644 api/vendor/github.com/spf13/pflag/int64_slice.go delete mode 100644 api/vendor/github.com/spf13/pflag/int8.go delete mode 100644 api/vendor/github.com/spf13/pflag/int_slice.go delete mode 100644 api/vendor/github.com/spf13/pflag/ip.go delete mode 100644 api/vendor/github.com/spf13/pflag/ip_slice.go delete mode 100644 api/vendor/github.com/spf13/pflag/ipmask.go delete mode 100644 api/vendor/github.com/spf13/pflag/ipnet.go delete mode 100644 api/vendor/github.com/spf13/pflag/ipnet_slice.go delete mode 100644 api/vendor/github.com/spf13/pflag/string.go delete mode 100644 api/vendor/github.com/spf13/pflag/string_array.go delete mode 100644 api/vendor/github.com/spf13/pflag/string_slice.go delete mode 100644 api/vendor/github.com/spf13/pflag/string_to_int.go delete mode 100644 api/vendor/github.com/spf13/pflag/string_to_int64.go delete mode 100644 api/vendor/github.com/spf13/pflag/string_to_string.go delete mode 100644 api/vendor/github.com/spf13/pflag/text.go delete mode 100644 api/vendor/github.com/spf13/pflag/time.go delete mode 100644 api/vendor/github.com/spf13/pflag/uint.go delete mode 100644 api/vendor/github.com/spf13/pflag/uint16.go delete mode 100644 api/vendor/github.com/spf13/pflag/uint32.go delete mode 100644 api/vendor/github.com/spf13/pflag/uint64.go delete mode 100644 api/vendor/github.com/spf13/pflag/uint8.go delete mode 100644 api/vendor/github.com/spf13/pflag/uint_slice.go delete mode 100644 api/vendor/go.uber.org/multierr/.codecov.yml delete mode 100644 api/vendor/go.uber.org/multierr/.gitignore delete mode 100644 api/vendor/go.uber.org/multierr/CHANGELOG.md delete mode 100644 api/vendor/go.uber.org/multierr/LICENSE.txt delete mode 100644 api/vendor/go.uber.org/multierr/Makefile delete mode 100644 api/vendor/go.uber.org/multierr/README.md delete mode 100644 api/vendor/go.uber.org/multierr/error.go delete mode 100644 api/vendor/go.uber.org/multierr/error_post_go120.go delete mode 100644 api/vendor/go.uber.org/multierr/error_pre_go120.go delete mode 100644 api/vendor/go.yaml.in/yaml/v3/LICENSE delete mode 100644 api/vendor/go.yaml.in/yaml/v3/NOTICE delete mode 100644 api/vendor/go.yaml.in/yaml/v3/README.md delete mode 100644 api/vendor/go.yaml.in/yaml/v3/apic.go delete mode 100644 api/vendor/go.yaml.in/yaml/v3/decode.go delete mode 100644 api/vendor/go.yaml.in/yaml/v3/emitterc.go delete mode 100644 api/vendor/go.yaml.in/yaml/v3/encode.go delete mode 100644 api/vendor/go.yaml.in/yaml/v3/parserc.go delete mode 100644 api/vendor/go.yaml.in/yaml/v3/readerc.go delete mode 100644 api/vendor/go.yaml.in/yaml/v3/resolve.go delete mode 100644 api/vendor/go.yaml.in/yaml/v3/scannerc.go delete mode 100644 api/vendor/go.yaml.in/yaml/v3/sorter.go delete mode 100644 api/vendor/go.yaml.in/yaml/v3/writerc.go delete mode 100644 api/vendor/go.yaml.in/yaml/v3/yaml.go delete mode 100644 api/vendor/go.yaml.in/yaml/v3/yamlh.go delete mode 100644 api/vendor/go.yaml.in/yaml/v3/yamlprivateh.go delete mode 100644 api/vendor/golang.org/x/oauth2/.travis.yml delete mode 100644 api/vendor/golang.org/x/oauth2/CONTRIBUTING.md delete mode 100644 api/vendor/golang.org/x/oauth2/LICENSE delete mode 100644 api/vendor/golang.org/x/oauth2/README.md delete mode 100644 api/vendor/golang.org/x/oauth2/deviceauth.go delete mode 100644 api/vendor/golang.org/x/oauth2/internal/doc.go delete mode 100644 api/vendor/golang.org/x/oauth2/internal/oauth2.go delete mode 100644 api/vendor/golang.org/x/oauth2/internal/token.go delete mode 100644 api/vendor/golang.org/x/oauth2/internal/transport.go delete mode 100644 api/vendor/golang.org/x/oauth2/oauth2.go delete mode 100644 api/vendor/golang.org/x/oauth2/pkce.go delete mode 100644 api/vendor/golang.org/x/oauth2/token.go delete mode 100644 api/vendor/golang.org/x/oauth2/transport.go delete mode 100644 api/vendor/golang.org/x/sync/LICENSE delete mode 100644 api/vendor/golang.org/x/sync/PATENTS delete mode 100644 api/vendor/golang.org/x/sync/errgroup/errgroup.go delete mode 100644 api/vendor/golang.org/x/sys/LICENSE delete mode 100644 api/vendor/golang.org/x/sys/PATENTS delete mode 100644 api/vendor/golang.org/x/sys/plan9/asm.s delete mode 100644 api/vendor/golang.org/x/sys/plan9/asm_plan9_386.s delete mode 100644 api/vendor/golang.org/x/sys/plan9/asm_plan9_amd64.s delete mode 100644 api/vendor/golang.org/x/sys/plan9/asm_plan9_arm.s delete mode 100644 api/vendor/golang.org/x/sys/plan9/const_plan9.go delete mode 100644 api/vendor/golang.org/x/sys/plan9/dir_plan9.go delete mode 100644 api/vendor/golang.org/x/sys/plan9/env_plan9.go delete mode 100644 api/vendor/golang.org/x/sys/plan9/errors_plan9.go delete mode 100644 api/vendor/golang.org/x/sys/plan9/mkall.sh delete mode 100644 api/vendor/golang.org/x/sys/plan9/mkerrors.sh delete mode 100644 api/vendor/golang.org/x/sys/plan9/mksysnum_plan9.sh delete mode 100644 api/vendor/golang.org/x/sys/plan9/pwd_plan9.go delete mode 100644 api/vendor/golang.org/x/sys/plan9/race.go delete mode 100644 api/vendor/golang.org/x/sys/plan9/race0.go delete mode 100644 api/vendor/golang.org/x/sys/plan9/str.go delete mode 100644 api/vendor/golang.org/x/sys/plan9/syscall.go delete mode 100644 api/vendor/golang.org/x/sys/plan9/syscall_plan9.go delete mode 100644 api/vendor/golang.org/x/sys/plan9/zsyscall_plan9_386.go delete mode 100644 api/vendor/golang.org/x/sys/plan9/zsyscall_plan9_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/plan9/zsyscall_plan9_arm.go delete mode 100644 api/vendor/golang.org/x/sys/plan9/zsysnum_plan9.go delete mode 100644 api/vendor/golang.org/x/sys/unix/.gitignore delete mode 100644 api/vendor/golang.org/x/sys/unix/README.md delete mode 100644 api/vendor/golang.org/x/sys/unix/affinity_linux.go delete mode 100644 api/vendor/golang.org/x/sys/unix/aliases.go delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_bsd_386.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_bsd_amd64.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_bsd_arm.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_bsd_arm64.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_linux_386.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_linux_amd64.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_linux_arm.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_linux_arm64.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_linux_loong64.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_linux_riscv64.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_linux_s390x.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s delete mode 100644 api/vendor/golang.org/x/sys/unix/asm_zos_s390x.s delete mode 100644 api/vendor/golang.org/x/sys/unix/auxv.go delete mode 100644 api/vendor/golang.org/x/sys/unix/auxv_unsupported.go delete mode 100644 api/vendor/golang.org/x/sys/unix/bluetooth_linux.go delete mode 100644 api/vendor/golang.org/x/sys/unix/bpxsvc_zos.go delete mode 100644 api/vendor/golang.org/x/sys/unix/bpxsvc_zos.s delete mode 100644 api/vendor/golang.org/x/sys/unix/cap_freebsd.go delete mode 100644 api/vendor/golang.org/x/sys/unix/constants.go delete mode 100644 api/vendor/golang.org/x/sys/unix/dev_aix_ppc.go delete mode 100644 api/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/dev_darwin.go delete mode 100644 api/vendor/golang.org/x/sys/unix/dev_dragonfly.go delete mode 100644 api/vendor/golang.org/x/sys/unix/dev_freebsd.go delete mode 100644 api/vendor/golang.org/x/sys/unix/dev_linux.go delete mode 100644 api/vendor/golang.org/x/sys/unix/dev_netbsd.go delete mode 100644 api/vendor/golang.org/x/sys/unix/dev_openbsd.go delete mode 100644 api/vendor/golang.org/x/sys/unix/dev_zos.go delete mode 100644 api/vendor/golang.org/x/sys/unix/dirent.go delete mode 100644 api/vendor/golang.org/x/sys/unix/endian_big.go delete mode 100644 api/vendor/golang.org/x/sys/unix/endian_little.go delete mode 100644 api/vendor/golang.org/x/sys/unix/env_unix.go delete mode 100644 api/vendor/golang.org/x/sys/unix/fcntl.go delete mode 100644 api/vendor/golang.org/x/sys/unix/fcntl_darwin.go delete mode 100644 api/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go delete mode 100644 api/vendor/golang.org/x/sys/unix/fdset.go delete mode 100644 api/vendor/golang.org/x/sys/unix/gccgo.go delete mode 100644 api/vendor/golang.org/x/sys/unix/gccgo_c.c delete mode 100644 api/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ifreq_linux.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ioctl_linux.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ioctl_signed.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ioctl_unsigned.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ioctl_zos.go delete mode 100644 api/vendor/golang.org/x/sys/unix/mkall.sh delete mode 100644 api/vendor/golang.org/x/sys/unix/mkerrors.sh delete mode 100644 api/vendor/golang.org/x/sys/unix/mmap_nomremap.go delete mode 100644 api/vendor/golang.org/x/sys/unix/mremap.go delete mode 100644 api/vendor/golang.org/x/sys/unix/pagesize_unix.go delete mode 100644 api/vendor/golang.org/x/sys/unix/pledge_openbsd.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ptrace_darwin.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ptrace_ios.go delete mode 100644 api/vendor/golang.org/x/sys/unix/race.go delete mode 100644 api/vendor/golang.org/x/sys/unix/race0.go delete mode 100644 api/vendor/golang.org/x/sys/unix/readdirent_getdents.go delete mode 100644 api/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go delete mode 100644 api/vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go delete mode 100644 api/vendor/golang.org/x/sys/unix/sockcmsg_linux.go delete mode 100644 api/vendor/golang.org/x/sys/unix/sockcmsg_unix.go delete mode 100644 api/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go delete mode 100644 api/vendor/golang.org/x/sys/unix/sockcmsg_zos.go delete mode 100644 api/vendor/golang.org/x/sys/unix/symaddr_zos_s390x.s delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_aix.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_bsd.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_darwin.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_dragonfly.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_freebsd.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_hurd.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_hurd_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_illumos.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_alarm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_gc.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_netbsd.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_openbsd.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_openbsd_ppc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_solaris.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_unix.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_unix_gc.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go delete mode 100644 api/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go delete mode 100644 api/vendor/golang.org/x/sys/unix/sysvshm_linux.go delete mode 100644 api/vendor/golang.org/x/sys/unix/sysvshm_unix.go delete mode 100644 api/vendor/golang.org/x/sys/unix/sysvshm_unix_other.go delete mode 100644 api/vendor/golang.org/x/sys/unix/timestruct.go delete mode 100644 api/vendor/golang.org/x/sys/unix/unveil_openbsd.go delete mode 100644 api/vendor/golang.org/x/sys/unix/vgetrandom_linux.go delete mode 100644 api/vendor/golang.org/x/sys/unix/vgetrandom_unsupported.go delete mode 100644 api/vendor/golang.org/x/sys/unix/xattr_bsd.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_linux.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_linux_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_openbsd_mips64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_openbsd_ppc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsymaddr_zos_s390x.s delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_linux.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysctl_openbsd_mips64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_openbsd_ppc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_openbsd_riscv64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/zsysnum_zos_s390x.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_linux.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_linux_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go delete mode 100644 api/vendor/golang.org/x/sys/windows/aliases.go delete mode 100644 api/vendor/golang.org/x/sys/windows/dll_windows.go delete mode 100644 api/vendor/golang.org/x/sys/windows/env_windows.go delete mode 100644 api/vendor/golang.org/x/sys/windows/eventlog.go delete mode 100644 api/vendor/golang.org/x/sys/windows/exec_windows.go delete mode 100644 api/vendor/golang.org/x/sys/windows/memory_windows.go delete mode 100644 api/vendor/golang.org/x/sys/windows/mkerrors.bash delete mode 100644 api/vendor/golang.org/x/sys/windows/mkknownfolderids.bash delete mode 100644 api/vendor/golang.org/x/sys/windows/mksyscall.go delete mode 100644 api/vendor/golang.org/x/sys/windows/race.go delete mode 100644 api/vendor/golang.org/x/sys/windows/race0.go delete mode 100644 api/vendor/golang.org/x/sys/windows/security_windows.go delete mode 100644 api/vendor/golang.org/x/sys/windows/service.go delete mode 100644 api/vendor/golang.org/x/sys/windows/setupapi_windows.go delete mode 100644 api/vendor/golang.org/x/sys/windows/str.go delete mode 100644 api/vendor/golang.org/x/sys/windows/syscall.go delete mode 100644 api/vendor/golang.org/x/sys/windows/syscall_windows.go delete mode 100644 api/vendor/golang.org/x/sys/windows/types_windows.go delete mode 100644 api/vendor/golang.org/x/sys/windows/types_windows_386.go delete mode 100644 api/vendor/golang.org/x/sys/windows/types_windows_amd64.go delete mode 100644 api/vendor/golang.org/x/sys/windows/types_windows_arm.go delete mode 100644 api/vendor/golang.org/x/sys/windows/types_windows_arm64.go delete mode 100644 api/vendor/golang.org/x/sys/windows/zerrors_windows.go delete mode 100644 api/vendor/golang.org/x/sys/windows/zknownfolderids_windows.go delete mode 100644 api/vendor/golang.org/x/sys/windows/zsyscall_windows.go delete mode 100644 api/vendor/golang.org/x/term/CONTRIBUTING.md delete mode 100644 api/vendor/golang.org/x/term/LICENSE delete mode 100644 api/vendor/golang.org/x/term/PATENTS delete mode 100644 api/vendor/golang.org/x/term/README.md delete mode 100644 api/vendor/golang.org/x/term/codereview.cfg delete mode 100644 api/vendor/golang.org/x/term/term.go delete mode 100644 api/vendor/golang.org/x/term/term_plan9.go delete mode 100644 api/vendor/golang.org/x/term/term_unix.go delete mode 100644 api/vendor/golang.org/x/term/term_unix_bsd.go delete mode 100644 api/vendor/golang.org/x/term/term_unix_other.go delete mode 100644 api/vendor/golang.org/x/term/term_unsupported.go delete mode 100644 api/vendor/golang.org/x/term/term_windows.go delete mode 100644 api/vendor/golang.org/x/term/terminal.go delete mode 100644 api/vendor/golang.org/x/text/cases/cases.go delete mode 100644 api/vendor/golang.org/x/text/cases/context.go delete mode 100644 api/vendor/golang.org/x/text/cases/fold.go delete mode 100644 api/vendor/golang.org/x/text/cases/icu.go delete mode 100644 api/vendor/golang.org/x/text/cases/info.go delete mode 100644 api/vendor/golang.org/x/text/cases/map.go delete mode 100644 api/vendor/golang.org/x/text/cases/tables15.0.0.go delete mode 100644 api/vendor/golang.org/x/text/cases/tables17.0.0.go delete mode 100644 api/vendor/golang.org/x/text/cases/trieval.go delete mode 100644 api/vendor/golang.org/x/text/internal/internal.go delete mode 100644 api/vendor/golang.org/x/text/internal/language/common.go delete mode 100644 api/vendor/golang.org/x/text/internal/language/compact.go delete mode 100644 api/vendor/golang.org/x/text/internal/language/compact/compact.go delete mode 100644 api/vendor/golang.org/x/text/internal/language/compact/language.go delete mode 100644 api/vendor/golang.org/x/text/internal/language/compact/parents.go delete mode 100644 api/vendor/golang.org/x/text/internal/language/compact/tables.go delete mode 100644 api/vendor/golang.org/x/text/internal/language/compact/tags.go delete mode 100644 api/vendor/golang.org/x/text/internal/language/compose.go delete mode 100644 api/vendor/golang.org/x/text/internal/language/coverage.go delete mode 100644 api/vendor/golang.org/x/text/internal/language/language.go delete mode 100644 api/vendor/golang.org/x/text/internal/language/lookup.go delete mode 100644 api/vendor/golang.org/x/text/internal/language/match.go delete mode 100644 api/vendor/golang.org/x/text/internal/language/parse.go delete mode 100644 api/vendor/golang.org/x/text/internal/language/tables.go delete mode 100644 api/vendor/golang.org/x/text/internal/language/tags.go delete mode 100644 api/vendor/golang.org/x/text/internal/match.go delete mode 100644 api/vendor/golang.org/x/text/internal/tag/tag.go delete mode 100644 api/vendor/golang.org/x/text/language/coverage.go delete mode 100644 api/vendor/golang.org/x/text/language/doc.go delete mode 100644 api/vendor/golang.org/x/text/language/language.go delete mode 100644 api/vendor/golang.org/x/text/language/match.go delete mode 100644 api/vendor/golang.org/x/text/language/parse.go delete mode 100644 api/vendor/golang.org/x/text/language/tables.go delete mode 100644 api/vendor/golang.org/x/text/language/tags.go delete mode 100644 api/vendor/golang.org/x/time/LICENSE delete mode 100644 api/vendor/golang.org/x/time/PATENTS delete mode 100644 api/vendor/golang.org/x/time/rate/rate.go delete mode 100644 api/vendor/golang.org/x/time/rate/sometimes.go delete mode 100644 api/vendor/gomodules.xyz/jsonpatch/v2/LICENSE delete mode 100644 api/vendor/gomodules.xyz/jsonpatch/v2/jsonpatch.go delete mode 100644 api/vendor/google.golang.org/protobuf/LICENSE delete mode 100644 api/vendor/google.golang.org/protobuf/PATENTS delete mode 100644 api/vendor/google.golang.org/protobuf/encoding/protodelim/protodelim.go delete mode 100644 api/vendor/google.golang.org/protobuf/encoding/prototext/decode.go delete mode 100644 api/vendor/google.golang.org/protobuf/encoding/prototext/doc.go delete mode 100644 api/vendor/google.golang.org/protobuf/encoding/prototext/encode.go delete mode 100644 api/vendor/google.golang.org/protobuf/encoding/protowire/wire.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/descopts/options.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/detrand/rand.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/editiondefaults/defaults.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb delete mode 100644 api/vendor/google.golang.org/protobuf/internal/encoding/defval/default.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/encoding/messageset/messageset.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/encoding/text/decode.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/encoding/text/decode_number.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/encoding/text/decode_string.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/encoding/text/decode_token.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/encoding/text/doc.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/encoding/text/encode.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/errors/errors.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/filedesc/build.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/filedesc/desc.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/filedesc/desc_init.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/filedesc/desc_list.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/filedesc/desc_list_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/filedesc/editions.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/filedesc/placeholder.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/filedesc/presence.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/filetype/build.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/flags/flags.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_disable.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_enable.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/genid/any_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/genid/api_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/genid/doc.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/genid/duration_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/genid/empty_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/genid/field_mask_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/genid/go_features_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/genid/goname.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/genid/map_entry.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/genid/name.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/genid/source_context_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/genid/struct_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/genid/timestamp_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/genid/type_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/genid/wrappers.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/genid/wrappers_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/api_export.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/api_export_opaque.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/bitmap.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/bitmap_race.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/checkinit.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/codec_extension.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/codec_field.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/codec_field_opaque.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/codec_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/codec_map.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/codec_message.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/codec_message_opaque.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/codec_messageset.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/codec_tables.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/codec_unsafe.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/convert.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/convert_list.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/convert_map.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/decode.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/encode.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/enum.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/equal.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/extension.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/lazy.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/legacy_enum.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/legacy_export.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/legacy_extension.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/legacy_file.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/merge.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/merge_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/message.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/message_opaque.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/message_opaque_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/message_reflect_field.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/message_reflect_field_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/message_reflect_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe_opaque.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/presence.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/impl/validate.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/order/order.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/order/range.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/pragma/pragma.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/protolazy/bufferreader.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/protolazy/lazy.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/protolazy/pointer_unsafe.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/set/ints.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/strs/strings.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe.go delete mode 100644 api/vendor/google.golang.org/protobuf/internal/version/version.go delete mode 100644 api/vendor/google.golang.org/protobuf/proto/checkinit.go delete mode 100644 api/vendor/google.golang.org/protobuf/proto/decode.go delete mode 100644 api/vendor/google.golang.org/protobuf/proto/decode_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/proto/doc.go delete mode 100644 api/vendor/google.golang.org/protobuf/proto/encode.go delete mode 100644 api/vendor/google.golang.org/protobuf/proto/encode_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/proto/equal.go delete mode 100644 api/vendor/google.golang.org/protobuf/proto/extension.go delete mode 100644 api/vendor/google.golang.org/protobuf/proto/merge.go delete mode 100644 api/vendor/google.golang.org/protobuf/proto/messageset.go delete mode 100644 api/vendor/google.golang.org/protobuf/proto/proto.go delete mode 100644 api/vendor/google.golang.org/protobuf/proto/proto_methods.go delete mode 100644 api/vendor/google.golang.org/protobuf/proto/proto_reflect.go delete mode 100644 api/vendor/google.golang.org/protobuf/proto/reset.go delete mode 100644 api/vendor/google.golang.org/protobuf/proto/size.go delete mode 100644 api/vendor/google.golang.org/protobuf/proto/size_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/proto/wrapperopaque.go delete mode 100644 api/vendor/google.golang.org/protobuf/proto/wrappers.go delete mode 100644 api/vendor/google.golang.org/protobuf/reflect/protoreflect/methods.go delete mode 100644 api/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go delete mode 100644 api/vendor/google.golang.org/protobuf/reflect/protoreflect/source.go delete mode 100644 api/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go delete mode 100644 api/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go delete mode 100644 api/vendor/google.golang.org/protobuf/reflect/protoreflect/value.go delete mode 100644 api/vendor/google.golang.org/protobuf/reflect/protoreflect/value_equal.go delete mode 100644 api/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go delete mode 100644 api/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe.go delete mode 100644 api/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go delete mode 100644 api/vendor/google.golang.org/protobuf/runtime/protoiface/legacy.go delete mode 100644 api/vendor/google.golang.org/protobuf/runtime/protoiface/methods.go delete mode 100644 api/vendor/google.golang.org/protobuf/runtime/protoimpl/impl.go delete mode 100644 api/vendor/google.golang.org/protobuf/runtime/protoimpl/version.go delete mode 100644 api/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go delete mode 100644 api/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go delete mode 100644 api/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go delete mode 100644 api/vendor/gopkg.in/evanphx/json-patch.v4/.gitignore delete mode 100644 api/vendor/gopkg.in/evanphx/json-patch.v4/LICENSE delete mode 100644 api/vendor/gopkg.in/evanphx/json-patch.v4/README.md delete mode 100644 api/vendor/gopkg.in/evanphx/json-patch.v4/errors.go delete mode 100644 api/vendor/gopkg.in/evanphx/json-patch.v4/merge.go delete mode 100644 api/vendor/gopkg.in/evanphx/json-patch.v4/patch.go delete mode 100644 api/vendor/gopkg.in/yaml.v3/LICENSE delete mode 100644 api/vendor/gopkg.in/yaml.v3/NOTICE delete mode 100644 api/vendor/gopkg.in/yaml.v3/README.md delete mode 100644 api/vendor/gopkg.in/yaml.v3/apic.go delete mode 100644 api/vendor/gopkg.in/yaml.v3/decode.go delete mode 100644 api/vendor/gopkg.in/yaml.v3/emitterc.go delete mode 100644 api/vendor/gopkg.in/yaml.v3/encode.go delete mode 100644 api/vendor/gopkg.in/yaml.v3/parserc.go delete mode 100644 api/vendor/gopkg.in/yaml.v3/readerc.go delete mode 100644 api/vendor/gopkg.in/yaml.v3/resolve.go delete mode 100644 api/vendor/gopkg.in/yaml.v3/scannerc.go delete mode 100644 api/vendor/gopkg.in/yaml.v3/sorter.go delete mode 100644 api/vendor/gopkg.in/yaml.v3/writerc.go delete mode 100644 api/vendor/gopkg.in/yaml.v3/yaml.go delete mode 100644 api/vendor/gopkg.in/yaml.v3/yamlh.go delete mode 100644 api/vendor/gopkg.in/yaml.v3/yamlprivateh.go delete mode 100644 api/vendor/k8s.io/api/admission/v1/doc.go delete mode 100644 api/vendor/k8s.io/api/admission/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/admission/v1/generated.proto delete mode 100644 api/vendor/k8s.io/api/admission/v1/register.go delete mode 100644 api/vendor/k8s.io/api/admission/v1/types.go delete mode 100644 api/vendor/k8s.io/api/admission/v1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/admission/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/admission/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/admission/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/admission/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/admission/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/admission/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/admission/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/admission/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/admission/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/admission/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1/doc.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1/generated.proto delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1/register.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1/types.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1alpha1/doc.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1alpha1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1alpha1/generated.proto delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1alpha1/register.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1alpha1/types.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1alpha1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1alpha1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1alpha1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/admissionregistration/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/apidiscovery/v2/doc.go delete mode 100644 api/vendor/k8s.io/api/apidiscovery/v2/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/apidiscovery/v2/generated.proto delete mode 100644 api/vendor/k8s.io/api/apidiscovery/v2/register.go delete mode 100644 api/vendor/k8s.io/api/apidiscovery/v2/types.go delete mode 100644 api/vendor/k8s.io/api/apidiscovery/v2/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/apidiscovery/v2/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/apidiscovery/v2beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/apidiscovery/v2beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/apidiscovery/v2beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/apidiscovery/v2beta1/register.go delete mode 100644 api/vendor/k8s.io/api/apidiscovery/v2beta1/types.go delete mode 100644 api/vendor/k8s.io/api/apidiscovery/v2beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/apidiscovery/v2beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/apiserverinternal/v1alpha1/doc.go delete mode 100644 api/vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.proto delete mode 100644 api/vendor/k8s.io/api/apiserverinternal/v1alpha1/register.go delete mode 100644 api/vendor/k8s.io/api/apiserverinternal/v1alpha1/types.go delete mode 100644 api/vendor/k8s.io/api/apiserverinternal/v1alpha1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/apiserverinternal/v1alpha1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/apps/v1/doc.go delete mode 100644 api/vendor/k8s.io/api/apps/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/apps/v1/generated.proto delete mode 100644 api/vendor/k8s.io/api/apps/v1/register.go delete mode 100644 api/vendor/k8s.io/api/apps/v1/types.go delete mode 100644 api/vendor/k8s.io/api/apps/v1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/apps/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/apps/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/apps/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/apps/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/apps/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/apps/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/apps/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/apps/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/apps/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/apps/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/apps/v1beta2/doc.go delete mode 100644 api/vendor/k8s.io/api/apps/v1beta2/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/apps/v1beta2/generated.proto delete mode 100644 api/vendor/k8s.io/api/apps/v1beta2/register.go delete mode 100644 api/vendor/k8s.io/api/apps/v1beta2/types.go delete mode 100644 api/vendor/k8s.io/api/apps/v1beta2/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/apps/v1beta2/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/apps/v1beta2/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1/doc.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1/generated.proto delete mode 100644 api/vendor/k8s.io/api/authentication/v1/register.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1/types.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1alpha1/doc.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1alpha1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1alpha1/generated.proto delete mode 100644 api/vendor/k8s.io/api/authentication/v1alpha1/register.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1alpha1/types.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1alpha1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1alpha1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1alpha1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/authentication/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/authentication/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/authorization/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/authorization/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/authorization/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/authorization/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/authorization/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/authorization/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/authorization/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/authorization/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v1/doc.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v1/generated.proto delete mode 100644 api/vendor/k8s.io/api/autoscaling/v1/register.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v1/types.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2/doc.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2/generated.proto delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2/register.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2/types.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2beta1/register.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2beta1/types.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2beta2/doc.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2beta2/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2beta2/generated.proto delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2beta2/register.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2beta2/types.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2beta2/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2beta2/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/autoscaling/v2beta2/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/batch/v1/doc.go delete mode 100644 api/vendor/k8s.io/api/batch/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/batch/v1/generated.proto delete mode 100644 api/vendor/k8s.io/api/batch/v1/register.go delete mode 100644 api/vendor/k8s.io/api/batch/v1/types.go delete mode 100644 api/vendor/k8s.io/api/batch/v1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/batch/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/batch/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/batch/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/batch/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/batch/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/batch/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/batch/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/batch/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/batch/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/batch/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1/doc.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1/generated.proto delete mode 100644 api/vendor/k8s.io/api/certificates/v1/register.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1/types.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1alpha1/doc.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1alpha1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1alpha1/generated.proto delete mode 100644 api/vendor/k8s.io/api/certificates/v1alpha1/register.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1alpha1/types.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1alpha1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1alpha1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1alpha1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/certificates/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/certificates/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1/doc.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1/generated.proto delete mode 100644 api/vendor/k8s.io/api/coordination/v1/register.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1/types.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1alpha2/doc.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1alpha2/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1alpha2/generated.proto delete mode 100644 api/vendor/k8s.io/api/coordination/v1alpha2/register.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1alpha2/types.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1alpha2/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1alpha2/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1alpha2/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/coordination/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/coordination/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/discovery/v1/doc.go delete mode 100644 api/vendor/k8s.io/api/discovery/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/discovery/v1/generated.proto delete mode 100644 api/vendor/k8s.io/api/discovery/v1/register.go delete mode 100644 api/vendor/k8s.io/api/discovery/v1/types.go delete mode 100644 api/vendor/k8s.io/api/discovery/v1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/discovery/v1/well_known_labels.go delete mode 100644 api/vendor/k8s.io/api/discovery/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/discovery/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/discovery/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/discovery/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/discovery/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/discovery/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/discovery/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/discovery/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/discovery/v1beta1/well_known_labels.go delete mode 100644 api/vendor/k8s.io/api/discovery/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/discovery/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/events/v1/doc.go delete mode 100644 api/vendor/k8s.io/api/events/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/events/v1/generated.proto delete mode 100644 api/vendor/k8s.io/api/events/v1/register.go delete mode 100644 api/vendor/k8s.io/api/events/v1/types.go delete mode 100644 api/vendor/k8s.io/api/events/v1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/events/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/events/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/events/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/events/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/events/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/events/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/events/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/events/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/events/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/events/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/extensions/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/extensions/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/extensions/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/extensions/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/extensions/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/extensions/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/extensions/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/extensions/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/extensions/v1beta1/zz_generated.validations.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1/doc.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1/generated.proto delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1/register.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1/types.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta2/doc.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta2/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta2/generated.proto delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta2/register.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta2/types.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta2/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta2/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta2/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta3/doc.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta3/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta3/generated.proto delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta3/register.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta3/types.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta3/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta3/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/flowcontrol/v1beta3/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/networking/v1/doc.go delete mode 100644 api/vendor/k8s.io/api/networking/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/networking/v1/generated.proto delete mode 100644 api/vendor/k8s.io/api/networking/v1/register.go delete mode 100644 api/vendor/k8s.io/api/networking/v1/types.go delete mode 100644 api/vendor/k8s.io/api/networking/v1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/networking/v1/well_known_annotations.go delete mode 100644 api/vendor/k8s.io/api/networking/v1/well_known_labels.go delete mode 100644 api/vendor/k8s.io/api/networking/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/networking/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/networking/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/networking/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/networking/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/networking/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/networking/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/networking/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/networking/v1beta1/well_known_annotations.go delete mode 100644 api/vendor/k8s.io/api/networking/v1beta1/well_known_labels.go delete mode 100644 api/vendor/k8s.io/api/networking/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/networking/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/node/v1/doc.go delete mode 100644 api/vendor/k8s.io/api/node/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/node/v1/generated.proto delete mode 100644 api/vendor/k8s.io/api/node/v1/register.go delete mode 100644 api/vendor/k8s.io/api/node/v1/types.go delete mode 100644 api/vendor/k8s.io/api/node/v1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/node/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/node/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/node/v1alpha1/doc.go delete mode 100644 api/vendor/k8s.io/api/node/v1alpha1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/node/v1alpha1/generated.proto delete mode 100644 api/vendor/k8s.io/api/node/v1alpha1/register.go delete mode 100644 api/vendor/k8s.io/api/node/v1alpha1/types.go delete mode 100644 api/vendor/k8s.io/api/node/v1alpha1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/node/v1alpha1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/node/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/node/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/node/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/node/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/node/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/node/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/node/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/node/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/policy/v1/doc.go delete mode 100644 api/vendor/k8s.io/api/policy/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/policy/v1/generated.proto delete mode 100644 api/vendor/k8s.io/api/policy/v1/register.go delete mode 100644 api/vendor/k8s.io/api/policy/v1/types.go delete mode 100644 api/vendor/k8s.io/api/policy/v1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/policy/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/policy/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/policy/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/policy/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/policy/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/policy/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/policy/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/policy/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/policy/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/policy/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1/doc.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1/generated.proto delete mode 100644 api/vendor/k8s.io/api/rbac/v1/register.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1/types.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1alpha1/doc.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1alpha1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1alpha1/generated.proto delete mode 100644 api/vendor/k8s.io/api/rbac/v1alpha1/register.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1alpha1/types.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1alpha1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1alpha1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/rbac/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/rbac/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/resource/v1/devicetaint.go delete mode 100644 api/vendor/k8s.io/api/resource/v1/doc.go delete mode 100644 api/vendor/k8s.io/api/resource/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/resource/v1/generated.proto delete mode 100644 api/vendor/k8s.io/api/resource/v1/register.go delete mode 100644 api/vendor/k8s.io/api/resource/v1/types.go delete mode 100644 api/vendor/k8s.io/api/resource/v1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/resource/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/resource/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/resource/v1alpha3/devicetaint.go delete mode 100644 api/vendor/k8s.io/api/resource/v1alpha3/doc.go delete mode 100644 api/vendor/k8s.io/api/resource/v1alpha3/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/resource/v1alpha3/generated.proto delete mode 100644 api/vendor/k8s.io/api/resource/v1alpha3/register.go delete mode 100644 api/vendor/k8s.io/api/resource/v1alpha3/types.go delete mode 100644 api/vendor/k8s.io/api/resource/v1alpha3/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/resource/v1alpha3/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/resource/v1alpha3/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/resource/v1beta1/devicetaint.go delete mode 100644 api/vendor/k8s.io/api/resource/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/resource/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/resource/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/resource/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/resource/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/resource/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/resource/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/resource/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/resource/v1beta2/devicetaint.go delete mode 100644 api/vendor/k8s.io/api/resource/v1beta2/doc.go delete mode 100644 api/vendor/k8s.io/api/resource/v1beta2/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/resource/v1beta2/generated.proto delete mode 100644 api/vendor/k8s.io/api/resource/v1beta2/register.go delete mode 100644 api/vendor/k8s.io/api/resource/v1beta2/types.go delete mode 100644 api/vendor/k8s.io/api/resource/v1beta2/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/resource/v1beta2/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/resource/v1beta2/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1/doc.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1/generated.proto delete mode 100644 api/vendor/k8s.io/api/scheduling/v1/register.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1/types.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1alpha1/doc.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1alpha1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1alpha1/generated.proto delete mode 100644 api/vendor/k8s.io/api/scheduling/v1alpha1/register.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1alpha1/types.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1alpha1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1alpha1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/scheduling/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/scheduling/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/storage/v1/doc.go delete mode 100644 api/vendor/k8s.io/api/storage/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/storage/v1/generated.proto delete mode 100644 api/vendor/k8s.io/api/storage/v1/register.go delete mode 100644 api/vendor/k8s.io/api/storage/v1/types.go delete mode 100644 api/vendor/k8s.io/api/storage/v1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/storage/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/storage/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/storage/v1alpha1/doc.go delete mode 100644 api/vendor/k8s.io/api/storage/v1alpha1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/storage/v1alpha1/generated.proto delete mode 100644 api/vendor/k8s.io/api/storage/v1alpha1/register.go delete mode 100644 api/vendor/k8s.io/api/storage/v1alpha1/types.go delete mode 100644 api/vendor/k8s.io/api/storage/v1alpha1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/storage/v1alpha1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/storage/v1alpha1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/storage/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/api/storage/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/storage/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/api/storage/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/api/storage/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/api/storage/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/storage/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/storage/v1beta1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/api/storagemigration/v1alpha1/doc.go delete mode 100644 api/vendor/k8s.io/api/storagemigration/v1alpha1/generated.pb.go delete mode 100644 api/vendor/k8s.io/api/storagemigration/v1alpha1/generated.proto delete mode 100644 api/vendor/k8s.io/api/storagemigration/v1alpha1/register.go delete mode 100644 api/vendor/k8s.io/api/storagemigration/v1alpha1/types.go delete mode 100644 api/vendor/k8s.io/api/storagemigration/v1alpha1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/api/storagemigration/v1alpha1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/api/storagemigration/v1alpha1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/LICENSE delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/deepcopy.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/doc.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/helpers.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/register.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types_jsonschema.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/.import-restrictions delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/conversion.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/deepcopy.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/defaults.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/doc.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.pb.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/marshal.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/register.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types_jsonschema.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/zz_generated.conversion.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/zz_generated.defaults.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/zz_generated.prerelease-lifecycle.go delete mode 100644 api/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/equality/semantic.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/errors/OWNERS delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/errors/doc.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/errors/errors.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/meta/OWNERS delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/meta/conditions.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/meta/doc.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/meta/errors.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/meta/firsthit_restmapper.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/meta/help.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/meta/interfaces.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/meta/lazy.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/meta/meta.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/meta/multirestmapper.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/meta/priority.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/meta/restmapper.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/meta/testrestmapper/test_restmapper.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/safe/safe.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validate/README.md delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validate/common.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validate/constraints/constraints.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validate/content/errors.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validate/doc.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validate/each.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validate/enum.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validate/equality.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validate/immutable.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validate/item.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validate/limits.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validate/required.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validate/subfield.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validate/testing.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validate/union.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validate/zeroorone.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validation/OWNERS delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validation/doc.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validation/generic.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/api/validation/objectmeta.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/internalversion/defaults.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/internalversion/doc.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/internalversion/register.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/internalversion/scheme/doc.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/internalversion/scheme/register.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/internalversion/types.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/internalversion/zz_generated.conversion.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/internalversion/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/helpers.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured_list.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/conversion.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/deepcopy.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.pb.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.proto delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/types_swagger_doc_generated.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/zz_generated.defaults.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/runtime/serializer/cbor/framer.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/runtime/serializer/cbor/raw.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/runtime/serializer/codec_factory.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/runtime/serializer/json/collections.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/runtime/serializer/json/json.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/runtime/serializer/json/meta.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/runtime/serializer/negotiated_codec.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/collections.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/doc.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/protobuf.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/runtime/serializer/recognizer/recognizer.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/runtime/serializer/streaming/streaming.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/cache/expiring.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/cache/lruexpirecache.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/diff/cmp.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/diff/diff.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/diff/legacy_diff.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/dump/dump.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/framer/framer.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/endpoints.yaml delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/extract.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/fieldmanager.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/gvkparser.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/atmostevery.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/buildmanagerinfo.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/capmanagers.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/conflict.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/fieldmanager.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/fields.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/lastapplied.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/lastappliedmanager.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/lastappliedupdater.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/managedfields.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/managedfieldsupdater.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/manager.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/pathelement.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/runtimetypeconverter.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/skipnonapplied.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/stripmeta.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/structuredmerge.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/typeconverter.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/versioncheck.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/internal/versionconverter.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/node.yaml delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/pod.yaml delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/scalehandler.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/managedfields/typeconverter.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/mergepatch/OWNERS delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/mergepatch/errors.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/mergepatch/util.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/strategicpatch/OWNERS delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/strategicpatch/errors.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/strategicpatch/meta.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/strategicpatch/types.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/uuid/uuid.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/wait/backoff.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/wait/delay.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/wait/doc.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/wait/error.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/wait/loop.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/wait/poll.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/wait/timer.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/yaml/decoder.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/util/yaml/stream_reader.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/version/doc.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/version/helpers.go delete mode 100644 api/vendor/k8s.io/apimachinery/pkg/version/types.go delete mode 100644 api/vendor/k8s.io/apimachinery/third_party/forked/golang/json/OWNERS delete mode 100644 api/vendor/k8s.io/apimachinery/third_party/forked/golang/json/fields.go delete mode 100644 api/vendor/k8s.io/client-go/LICENSE delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/auditannotation.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/expressionwarning.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/matchcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/matchresources.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/mutatingwebhook.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/mutatingwebhookconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/namedrulewithoperations.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/paramkind.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/paramref.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/rule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/rulewithoperations.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/servicereference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/typechecking.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicybindingspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicyspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicystatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingwebhook.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingwebhookconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validation.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/variable.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1/webhookclientconfig.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/applyconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/auditannotation.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/expressionwarning.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/jsonpatch.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/matchcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/matchresources.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicybindingspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicyspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutation.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/namedrulewithoperations.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/paramkind.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/paramref.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/typechecking.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicybindingspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicyspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicystatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validation.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/variable.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/applyconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/auditannotation.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/expressionwarning.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/jsonpatch.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/matchcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/matchresources.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/mutatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/mutatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/mutatingadmissionpolicybindingspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/mutatingadmissionpolicyspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/mutatingwebhook.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/mutatingwebhookconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/mutation.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/namedrulewithoperations.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/paramkind.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/paramref.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/servicereference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/typechecking.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicybindingspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicyspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicystatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingwebhook.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingwebhookconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validation.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/variable.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/webhookclientconfig.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/serverstorageversion.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/storageversion.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/storageversioncondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/storageversionstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/controllerrevision.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/daemonset.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetupdatestrategy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/deployment.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/deploymentcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/deploymentspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/deploymentstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/deploymentstrategy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/replicaset.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/replicasetcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/replicasetspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/replicasetstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatedaemonset.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatedeployment.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatestatefulsetstrategy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/statefulset.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetordinals.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetpersistentvolumeclaimretentionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetupdatestrategy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta1/controllerrevision.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta1/deployment.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentstrategy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollbackconfig.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollingupdatedeployment.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollingupdatestatefulsetstrategy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulset.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetordinals.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetpersistentvolumeclaimretentionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetupdatestrategy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/controllerrevision.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonset.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetupdatestrategy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/deployment.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentstrategy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicaset.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicasetcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicasetspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicasetstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatedaemonset.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatedeployment.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatestatefulsetstrategy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/scale.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulset.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetordinals.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetpersistentvolumeclaimretentionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetupdatestrategy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v1/crossversionobjectreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v1/horizontalpodautoscaler.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v1/horizontalpodautoscalerspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v1/horizontalpodautoscalerstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v1/scale.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v1/scalespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v1/scalestatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/containerresourcemetricsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/containerresourcemetricstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/crossversionobjectreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/externalmetricsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/externalmetricstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscaler.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalerbehavior.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalercondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalerspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalerstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/hpascalingpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/hpascalingrules.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricidentifier.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/metrictarget.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricvaluestatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/objectmetricsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/objectmetricstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/podsmetricsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/podsmetricstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/resourcemetricsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/resourcemetricstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/containerresourcemetricsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/containerresourcemetricstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/crossversionobjectreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/externalmetricsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/externalmetricstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscaler.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscalercondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscalerspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscalerstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/metricspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/metricstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/objectmetricsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/objectmetricstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/podsmetricsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/podsmetricstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/resourcemetricsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/resourcemetricstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/containerresourcemetricsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/containerresourcemetricstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/crossversionobjectreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/externalmetricsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/externalmetricstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscaler.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalerbehavior.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalercondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalerspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalerstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/hpascalingpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/hpascalingrules.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricidentifier.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metrictarget.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricvaluestatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/objectmetricsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/objectmetricstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/podsmetricsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/podsmetricstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/resourcemetricsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/resourcemetricstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1/cronjob.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1/cronjobspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1/cronjobstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1/job.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1/jobcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1/jobstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1/jobtemplatespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyonexitcodesrequirement.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyonpodconditionspattern.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1/successpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1/successpolicyrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1/uncountedterminatedpods.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjob.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjobspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjobstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/batch/v1beta1/jobtemplatespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequest.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequestcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequestspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequeststatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/certificates/v1alpha1/clustertrustbundle.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/certificates/v1alpha1/clustertrustbundlespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/certificates/v1alpha1/podcertificaterequest.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/certificates/v1alpha1/podcertificaterequestspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/certificates/v1alpha1/podcertificaterequeststatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequest.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequestcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequestspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequeststatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/certificates/v1beta1/clustertrustbundle.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/certificates/v1beta1/clustertrustbundlespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/coordination/v1/lease.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/coordination/v1/leasespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/coordination/v1alpha2/leasecandidate.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/coordination/v1alpha2/leasecandidatespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/coordination/v1beta1/lease.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/coordination/v1beta1/leasecandidate.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/coordination/v1beta1/leasecandidatespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/coordination/v1beta1/leasespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/affinity.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/apparmorprofile.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/attachedvolume.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/awselasticblockstorevolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/azurediskvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/azurefilepersistentvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/azurefilevolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/capabilities.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/cephfspersistentvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/cephfsvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/cinderpersistentvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/cindervolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/clientipconfig.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/clustertrustbundleprojection.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/componentcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/componentstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/configmap.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/configmapenvsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/configmapkeyselector.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/configmapnodeconfigsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/configmapprojection.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/configmapvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/container.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/containerextendedresourcerequest.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/containerimage.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/containerport.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/containerresizepolicy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/containerrestartrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/containerrestartruleonexitcodes.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/containerstate.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/containerstaterunning.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/containerstateterminated.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/containerstatewaiting.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/containerstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/containeruser.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/csipersistentvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/csivolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/daemonendpoint.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/downwardapiprojection.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/downwardapivolumefile.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/downwardapivolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/emptydirvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/endpointaddress.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/endpointport.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/endpoints.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/endpointsubset.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/envfromsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/envvar.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/envvarsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/ephemeralcontainer.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/ephemeralcontainercommon.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/ephemeralvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/event.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/eventseries.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/eventsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/execaction.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/fcvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/filekeyselector.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/flexpersistentvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/flexvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/flockervolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/gcepersistentdiskvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/gitrepovolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/glusterfspersistentvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/glusterfsvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/grpcaction.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/hostalias.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/hostip.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/hostpathvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/httpgetaction.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/httpheader.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/imagevolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/iscsipersistentvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/iscsivolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/keytopath.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/lifecycle.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/lifecyclehandler.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/limitrange.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/limitrangeitem.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/limitrangespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/linuxcontaineruser.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/loadbalanceringress.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/loadbalancerstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/localobjectreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/localvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/modifyvolumestatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/namespace.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/namespacecondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/namespacespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/namespacestatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/nfsvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/node.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/nodeaddress.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/nodeaffinity.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/nodecondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/nodeconfigsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/nodeconfigstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/nodedaemonendpoints.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/nodefeatures.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/noderuntimehandler.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/noderuntimehandlerfeatures.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/nodeselector.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/nodeselectorrequirement.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/nodeselectorterm.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/nodespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/nodestatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/nodeswapstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/nodesysteminfo.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/objectfieldselector.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/objectreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/persistentvolume.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaim.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimtemplate.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumestatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/photonpersistentdiskvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/pod.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/podaffinity.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/podaffinityterm.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/podantiaffinity.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/podcertificateprojection.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/podcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/poddnsconfig.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/poddnsconfigoption.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/podextendedresourceclaimstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/podip.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/podos.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/podreadinessgate.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/podresourceclaim.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/podresourceclaimstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/podschedulinggate.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/podsecuritycontext.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/podspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/podstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/podtemplate.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/podtemplatespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/portstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/portworxvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/preferredschedulingterm.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/probe.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/probehandler.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/projectedvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/quobytevolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/rbdpersistentvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/rbdvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/replicationcontroller.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/replicationcontrollercondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/replicationcontrollerspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/replicationcontrollerstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/resourceclaim.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/resourcefieldselector.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/resourcehealth.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/resourcequota.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/resourcequotaspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/resourcequotastatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/resourcerequirements.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/resourcestatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/scaleiopersistentvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/scaleiovolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/scopedresourceselectorrequirement.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/scopeselector.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/seccompprofile.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/secret.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/secretenvsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/secretkeyselector.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/secretprojection.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/secretreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/secretvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/securitycontext.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/selinuxoptions.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/service.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/serviceaccount.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/serviceaccounttokenprojection.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/serviceport.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/servicespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/servicestatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/sessionaffinityconfig.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/sleepaction.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/storageospersistentvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/storageosvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/sysctl.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/taint.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/tcpsocketaction.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/toleration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/topologyselectorlabelrequirement.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/topologyselectorterm.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/topologyspreadconstraint.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/typedlocalobjectreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/typedobjectreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/volume.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/volumedevice.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/volumemount.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/volumemountstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/volumenodeaffinity.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/volumeprojection.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/volumeresourcerequirements.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/volumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/vspherevirtualdiskvolumesource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/weightedpodaffinityterm.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/core/v1/windowssecuritycontextoptions.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/discovery/v1/endpoint.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/discovery/v1/endpointconditions.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/discovery/v1/endpointhints.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/discovery/v1/endpointport.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/discovery/v1/endpointslice.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/discovery/v1/fornode.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/discovery/v1/forzone.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpoint.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointconditions.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointhints.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointport.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointslice.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/discovery/v1beta1/fornode.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/discovery/v1beta1/forzone.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/events/v1/event.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/events/v1/eventseries.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/events/v1beta1/event.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/events/v1beta1/eventseries.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonset.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetupdatestrategy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deployment.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentstrategy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/httpingresspath.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/httpingressrulevalue.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingress.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressbackend.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressloadbalanceringress.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressloadbalancerstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressportstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressrulevalue.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingresstls.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ipblock.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyegressrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyingressrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicypeer.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyport.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicaset.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicasetcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicasetspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicasetstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/rollbackconfig.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/rollingupdatedaemonset.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/rollingupdatedeployment.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/extensions/v1beta1/scale.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/exemptprioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowdistinguishermethod.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschema.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschemacondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschemaspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschemastatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/groupsubject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/limitedprioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/limitresponse.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/nonresourcepolicyrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/policyruleswithsubjects.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/queuingconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/resourcepolicyrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/serviceaccountsubject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/subject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1/usersubject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/exemptprioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowdistinguishermethod.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschema.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemacondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemaspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemastatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/groupsubject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/limitedprioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/limitresponse.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/nonresourcepolicyrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/policyruleswithsubjects.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/queuingconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/resourcepolicyrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/serviceaccountsubject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/subject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/usersubject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/exemptprioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowdistinguishermethod.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschema.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschemacondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschemaspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschemastatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/groupsubject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/limitedprioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/limitresponse.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/nonresourcepolicyrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/policyruleswithsubjects.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/queuingconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/resourcepolicyrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/serviceaccountsubject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/subject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/usersubject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/exemptprioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowdistinguishermethod.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschema.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschemacondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschemaspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschemastatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/groupsubject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/limitedprioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/limitresponse.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/nonresourcepolicyrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/policyruleswithsubjects.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/queuingconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/resourcepolicyrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/serviceaccountsubject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/subject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/usersubject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/internal/internal.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/meta/v1/condition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/meta/v1/deleteoptions.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/meta/v1/labelselector.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/meta/v1/labelselectorrequirement.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/meta/v1/managedfieldsentry.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/meta/v1/objectmeta.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/meta/v1/ownerreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/meta/v1/preconditions.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/meta/v1/typemeta.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/meta/v1/unstructured.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/httpingresspath.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/httpingressrulevalue.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/ingress.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/ingressbackend.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/ingressclass.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/ingressclassparametersreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/ingressclassspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/ingressloadbalanceringress.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/ingressloadbalancerstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/ingressportstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/ingressrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/ingressrulevalue.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/ingressservicebackend.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/ingressspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/ingressstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/ingresstls.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/ipaddress.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/ipaddressspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/ipblock.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyegressrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyingressrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicypeer.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyport.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/parentreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/servicebackendport.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/servicecidr.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/servicecidrspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1/servicecidrstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/httpingresspath.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/httpingressrulevalue.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingress.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressbackend.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressclass.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressclassparametersreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressclassspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressloadbalanceringress.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressloadbalancerstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressportstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressrulevalue.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingresstls.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/ipaddress.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/ipaddressspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/parentreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/servicecidr.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/servicecidrspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/networking/v1beta1/servicecidrstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/node/v1/overhead.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/node/v1/runtimeclass.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/node/v1/scheduling.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/node/v1alpha1/overhead.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/node/v1alpha1/runtimeclass.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/node/v1alpha1/runtimeclassspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/node/v1alpha1/scheduling.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/node/v1beta1/overhead.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/node/v1beta1/runtimeclass.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/node/v1beta1/scheduling.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/policy/v1/eviction.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/policy/v1/poddisruptionbudget.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/policy/v1/poddisruptionbudgetspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/policy/v1/poddisruptionbudgetstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/policy/v1beta1/eviction.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/policy/v1beta1/poddisruptionbudget.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/policy/v1beta1/poddisruptionbudgetspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/policy/v1beta1/poddisruptionbudgetstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1/aggregationrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1/clusterrole.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1/clusterrolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1/policyrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1/role.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1/rolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1/roleref.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1/subject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/aggregationrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/clusterrole.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/clusterrolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/policyrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/role.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/rolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/roleref.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/subject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1beta1/aggregationrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1beta1/clusterrole.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1beta1/clusterrolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1beta1/policyrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1beta1/role.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1beta1/rolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1beta1/roleref.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/rbac/v1beta1/subject.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/allocateddevicestatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/allocationresult.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/capacityrequestpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/capacityrequestpolicyrange.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/capacityrequirements.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/celdeviceselector.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/counter.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/counterset.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/device.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/deviceallocationconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/deviceallocationresult.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/deviceattribute.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/devicecapacity.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/deviceclaim.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/deviceclaimconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/deviceclass.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/deviceclassconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/deviceclassspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/deviceconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/deviceconstraint.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/devicecounterconsumption.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/devicerequest.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/devicerequestallocationresult.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/deviceselector.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/devicesubrequest.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/devicetaint.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/devicetoleration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/exactdevicerequest.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/networkdevicedata.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/opaquedeviceconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/resourceclaim.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/resourceclaimconsumerreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/resourceclaimspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/resourceclaimstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/resourceclaimtemplate.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/resourceclaimtemplatespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/resourcepool.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/resourceslice.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1/resourceslicespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1alpha3/celdeviceselector.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1alpha3/deviceselector.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaint.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaintrule.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaintrulespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaintselector.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/allocateddevicestatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/allocationresult.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/basicdevice.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/capacityrequestpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/capacityrequestpolicyrange.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/capacityrequirements.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/celdeviceselector.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/counter.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/counterset.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/device.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceallocationconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceallocationresult.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceattribute.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicecapacity.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclaim.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclaimconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclass.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclassconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclassspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceconstraint.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicecounterconsumption.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicerequest.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicerequestallocationresult.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceselector.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicesubrequest.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicetaint.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicetoleration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/networkdevicedata.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/opaquedeviceconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaim.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimconsumerreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimtemplate.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimtemplatespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourcepool.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceslice.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceslicespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/allocateddevicestatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/allocationresult.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/capacityrequestpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/capacityrequestpolicyrange.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/capacityrequirements.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/celdeviceselector.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/counter.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/counterset.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/device.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceallocationconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceallocationresult.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceattribute.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicecapacity.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclaim.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclaimconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclass.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclassconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclassspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceconstraint.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicecounterconsumption.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicerequest.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicerequestallocationresult.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceselector.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicesubrequest.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicetaint.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicetoleration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/exactdevicerequest.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/networkdevicedata.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/opaquedeviceconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaim.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimconsumerreference.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimtemplate.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimtemplatespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourcepool.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceslice.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceslicespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/scheduling/v1/priorityclass.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/scheduling/v1alpha1/priorityclass.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/scheduling/v1beta1/priorityclass.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1/csidriver.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1/csidriverspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1/csinode.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1/csinodedriver.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1/csinodespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1/csistoragecapacity.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1/storageclass.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1/tokenrequest.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachment.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachmentsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachmentspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachmentstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1/volumeattributesclass.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1/volumeerror.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1/volumenoderesources.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1alpha1/csistoragecapacity.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachment.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachmentsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachmentspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachmentstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattributesclass.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeerror.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/csidriver.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/csidriverspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/csinode.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/csinodedriver.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/csinodespec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/csistoragecapacity.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/storageclass.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/tokenrequest.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachment.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachmentsource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachmentspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachmentstatus.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattributesclass.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeerror.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumenoderesources.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/groupversionresource.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/migrationcondition.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/storageversionmigration.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/storageversionmigrationspec.go delete mode 100644 api/vendor/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/storageversionmigrationstatus.go delete mode 100644 api/vendor/k8s.io/client-go/discovery/aggregated_discovery.go delete mode 100644 api/vendor/k8s.io/client-go/discovery/discovery_client.go delete mode 100644 api/vendor/k8s.io/client-go/discovery/doc.go delete mode 100644 api/vendor/k8s.io/client-go/discovery/helper.go delete mode 100644 api/vendor/k8s.io/client-go/dynamic/interface.go delete mode 100644 api/vendor/k8s.io/client-go/dynamic/scheme.go delete mode 100644 api/vendor/k8s.io/client-go/dynamic/simple.go delete mode 100644 api/vendor/k8s.io/client-go/features/envvar.go delete mode 100644 api/vendor/k8s.io/client-go/features/features.go delete mode 100644 api/vendor/k8s.io/client-go/features/known_features.go delete mode 100644 api/vendor/k8s.io/client-go/gentype/fake.go delete mode 100644 api/vendor/k8s.io/client-go/gentype/type.go delete mode 100644 api/vendor/k8s.io/client-go/informers/admissionregistration/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/admissionregistration/v1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/admissionregistration/v1/mutatingwebhookconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/informers/admissionregistration/v1/validatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/informers/admissionregistration/v1/validatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/informers/admissionregistration/v1/validatingwebhookconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/informers/admissionregistration/v1alpha1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/admissionregistration/v1alpha1/mutatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/informers/admissionregistration/v1alpha1/mutatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/informers/admissionregistration/v1alpha1/validatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/informers/admissionregistration/v1alpha1/validatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/informers/admissionregistration/v1beta1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/admissionregistration/v1beta1/mutatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/informers/admissionregistration/v1beta1/mutatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/informers/admissionregistration/v1beta1/mutatingwebhookconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/informers/admissionregistration/v1beta1/validatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/informers/admissionregistration/v1beta1/validatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/informers/admissionregistration/v1beta1/validatingwebhookconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apiserverinternal/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apiserverinternal/v1alpha1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apiserverinternal/v1alpha1/storageversion.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apps/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apps/v1/controllerrevision.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apps/v1/daemonset.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apps/v1/deployment.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apps/v1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apps/v1/replicaset.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apps/v1/statefulset.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apps/v1beta1/controllerrevision.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apps/v1beta1/deployment.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apps/v1beta1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apps/v1beta1/statefulset.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apps/v1beta2/controllerrevision.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apps/v1beta2/daemonset.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apps/v1beta2/deployment.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apps/v1beta2/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apps/v1beta2/replicaset.go delete mode 100644 api/vendor/k8s.io/client-go/informers/apps/v1beta2/statefulset.go delete mode 100644 api/vendor/k8s.io/client-go/informers/autoscaling/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/autoscaling/v1/horizontalpodautoscaler.go delete mode 100644 api/vendor/k8s.io/client-go/informers/autoscaling/v1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/autoscaling/v2/horizontalpodautoscaler.go delete mode 100644 api/vendor/k8s.io/client-go/informers/autoscaling/v2/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/autoscaling/v2beta1/horizontalpodautoscaler.go delete mode 100644 api/vendor/k8s.io/client-go/informers/autoscaling/v2beta1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/autoscaling/v2beta2/horizontalpodautoscaler.go delete mode 100644 api/vendor/k8s.io/client-go/informers/autoscaling/v2beta2/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/batch/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/batch/v1/cronjob.go delete mode 100644 api/vendor/k8s.io/client-go/informers/batch/v1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/batch/v1/job.go delete mode 100644 api/vendor/k8s.io/client-go/informers/batch/v1beta1/cronjob.go delete mode 100644 api/vendor/k8s.io/client-go/informers/batch/v1beta1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/certificates/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/certificates/v1/certificatesigningrequest.go delete mode 100644 api/vendor/k8s.io/client-go/informers/certificates/v1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/certificates/v1alpha1/clustertrustbundle.go delete mode 100644 api/vendor/k8s.io/client-go/informers/certificates/v1alpha1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/certificates/v1alpha1/podcertificaterequest.go delete mode 100644 api/vendor/k8s.io/client-go/informers/certificates/v1beta1/certificatesigningrequest.go delete mode 100644 api/vendor/k8s.io/client-go/informers/certificates/v1beta1/clustertrustbundle.go delete mode 100644 api/vendor/k8s.io/client-go/informers/certificates/v1beta1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/coordination/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/coordination/v1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/coordination/v1/lease.go delete mode 100644 api/vendor/k8s.io/client-go/informers/coordination/v1alpha2/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/coordination/v1alpha2/leasecandidate.go delete mode 100644 api/vendor/k8s.io/client-go/informers/coordination/v1beta1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/coordination/v1beta1/lease.go delete mode 100644 api/vendor/k8s.io/client-go/informers/coordination/v1beta1/leasecandidate.go delete mode 100644 api/vendor/k8s.io/client-go/informers/core/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/core/v1/componentstatus.go delete mode 100644 api/vendor/k8s.io/client-go/informers/core/v1/configmap.go delete mode 100644 api/vendor/k8s.io/client-go/informers/core/v1/endpoints.go delete mode 100644 api/vendor/k8s.io/client-go/informers/core/v1/event.go delete mode 100644 api/vendor/k8s.io/client-go/informers/core/v1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/core/v1/limitrange.go delete mode 100644 api/vendor/k8s.io/client-go/informers/core/v1/namespace.go delete mode 100644 api/vendor/k8s.io/client-go/informers/core/v1/node.go delete mode 100644 api/vendor/k8s.io/client-go/informers/core/v1/persistentvolume.go delete mode 100644 api/vendor/k8s.io/client-go/informers/core/v1/persistentvolumeclaim.go delete mode 100644 api/vendor/k8s.io/client-go/informers/core/v1/pod.go delete mode 100644 api/vendor/k8s.io/client-go/informers/core/v1/podtemplate.go delete mode 100644 api/vendor/k8s.io/client-go/informers/core/v1/replicationcontroller.go delete mode 100644 api/vendor/k8s.io/client-go/informers/core/v1/resourcequota.go delete mode 100644 api/vendor/k8s.io/client-go/informers/core/v1/secret.go delete mode 100644 api/vendor/k8s.io/client-go/informers/core/v1/service.go delete mode 100644 api/vendor/k8s.io/client-go/informers/core/v1/serviceaccount.go delete mode 100644 api/vendor/k8s.io/client-go/informers/discovery/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/discovery/v1/endpointslice.go delete mode 100644 api/vendor/k8s.io/client-go/informers/discovery/v1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/discovery/v1beta1/endpointslice.go delete mode 100644 api/vendor/k8s.io/client-go/informers/discovery/v1beta1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/doc.go delete mode 100644 api/vendor/k8s.io/client-go/informers/events/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/events/v1/event.go delete mode 100644 api/vendor/k8s.io/client-go/informers/events/v1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/events/v1beta1/event.go delete mode 100644 api/vendor/k8s.io/client-go/informers/events/v1beta1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/extensions/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/extensions/v1beta1/daemonset.go delete mode 100644 api/vendor/k8s.io/client-go/informers/extensions/v1beta1/deployment.go delete mode 100644 api/vendor/k8s.io/client-go/informers/extensions/v1beta1/ingress.go delete mode 100644 api/vendor/k8s.io/client-go/informers/extensions/v1beta1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/extensions/v1beta1/networkpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/informers/extensions/v1beta1/replicaset.go delete mode 100644 api/vendor/k8s.io/client-go/informers/factory.go delete mode 100644 api/vendor/k8s.io/client-go/informers/flowcontrol/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/flowcontrol/v1/flowschema.go delete mode 100644 api/vendor/k8s.io/client-go/informers/flowcontrol/v1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/flowcontrol/v1/prioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/informers/flowcontrol/v1beta1/flowschema.go delete mode 100644 api/vendor/k8s.io/client-go/informers/flowcontrol/v1beta1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/flowcontrol/v1beta1/prioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/informers/flowcontrol/v1beta2/flowschema.go delete mode 100644 api/vendor/k8s.io/client-go/informers/flowcontrol/v1beta2/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/flowcontrol/v1beta2/prioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/informers/flowcontrol/v1beta3/flowschema.go delete mode 100644 api/vendor/k8s.io/client-go/informers/flowcontrol/v1beta3/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/flowcontrol/v1beta3/prioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/informers/generic.go delete mode 100644 api/vendor/k8s.io/client-go/informers/internalinterfaces/factory_interfaces.go delete mode 100644 api/vendor/k8s.io/client-go/informers/networking/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/networking/v1/ingress.go delete mode 100644 api/vendor/k8s.io/client-go/informers/networking/v1/ingressclass.go delete mode 100644 api/vendor/k8s.io/client-go/informers/networking/v1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/networking/v1/ipaddress.go delete mode 100644 api/vendor/k8s.io/client-go/informers/networking/v1/networkpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/informers/networking/v1/servicecidr.go delete mode 100644 api/vendor/k8s.io/client-go/informers/networking/v1beta1/ingress.go delete mode 100644 api/vendor/k8s.io/client-go/informers/networking/v1beta1/ingressclass.go delete mode 100644 api/vendor/k8s.io/client-go/informers/networking/v1beta1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/networking/v1beta1/ipaddress.go delete mode 100644 api/vendor/k8s.io/client-go/informers/networking/v1beta1/servicecidr.go delete mode 100644 api/vendor/k8s.io/client-go/informers/node/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/node/v1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/node/v1/runtimeclass.go delete mode 100644 api/vendor/k8s.io/client-go/informers/node/v1alpha1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/node/v1alpha1/runtimeclass.go delete mode 100644 api/vendor/k8s.io/client-go/informers/node/v1beta1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/node/v1beta1/runtimeclass.go delete mode 100644 api/vendor/k8s.io/client-go/informers/policy/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/policy/v1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/policy/v1/poddisruptionbudget.go delete mode 100644 api/vendor/k8s.io/client-go/informers/policy/v1beta1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/policy/v1beta1/poddisruptionbudget.go delete mode 100644 api/vendor/k8s.io/client-go/informers/rbac/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/rbac/v1/clusterrole.go delete mode 100644 api/vendor/k8s.io/client-go/informers/rbac/v1/clusterrolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/informers/rbac/v1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/rbac/v1/role.go delete mode 100644 api/vendor/k8s.io/client-go/informers/rbac/v1/rolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/informers/rbac/v1alpha1/clusterrole.go delete mode 100644 api/vendor/k8s.io/client-go/informers/rbac/v1alpha1/clusterrolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/informers/rbac/v1alpha1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/rbac/v1alpha1/role.go delete mode 100644 api/vendor/k8s.io/client-go/informers/rbac/v1alpha1/rolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/informers/rbac/v1beta1/clusterrole.go delete mode 100644 api/vendor/k8s.io/client-go/informers/rbac/v1beta1/clusterrolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/informers/rbac/v1beta1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/rbac/v1beta1/role.go delete mode 100644 api/vendor/k8s.io/client-go/informers/rbac/v1beta1/rolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/informers/resource/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/resource/v1/deviceclass.go delete mode 100644 api/vendor/k8s.io/client-go/informers/resource/v1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/resource/v1/resourceclaim.go delete mode 100644 api/vendor/k8s.io/client-go/informers/resource/v1/resourceclaimtemplate.go delete mode 100644 api/vendor/k8s.io/client-go/informers/resource/v1/resourceslice.go delete mode 100644 api/vendor/k8s.io/client-go/informers/resource/v1alpha3/devicetaintrule.go delete mode 100644 api/vendor/k8s.io/client-go/informers/resource/v1alpha3/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/resource/v1beta1/deviceclass.go delete mode 100644 api/vendor/k8s.io/client-go/informers/resource/v1beta1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/resource/v1beta1/resourceclaim.go delete mode 100644 api/vendor/k8s.io/client-go/informers/resource/v1beta1/resourceclaimtemplate.go delete mode 100644 api/vendor/k8s.io/client-go/informers/resource/v1beta1/resourceslice.go delete mode 100644 api/vendor/k8s.io/client-go/informers/resource/v1beta2/deviceclass.go delete mode 100644 api/vendor/k8s.io/client-go/informers/resource/v1beta2/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/resource/v1beta2/resourceclaim.go delete mode 100644 api/vendor/k8s.io/client-go/informers/resource/v1beta2/resourceclaimtemplate.go delete mode 100644 api/vendor/k8s.io/client-go/informers/resource/v1beta2/resourceslice.go delete mode 100644 api/vendor/k8s.io/client-go/informers/scheduling/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/scheduling/v1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/scheduling/v1/priorityclass.go delete mode 100644 api/vendor/k8s.io/client-go/informers/scheduling/v1alpha1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/scheduling/v1alpha1/priorityclass.go delete mode 100644 api/vendor/k8s.io/client-go/informers/scheduling/v1beta1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/scheduling/v1beta1/priorityclass.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/v1/csidriver.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/v1/csinode.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/v1/csistoragecapacity.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/v1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/v1/storageclass.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/v1/volumeattachment.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/v1/volumeattributesclass.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/v1alpha1/csistoragecapacity.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/v1alpha1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/v1alpha1/volumeattachment.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/v1alpha1/volumeattributesclass.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/v1beta1/csidriver.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/v1beta1/csinode.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/v1beta1/csistoragecapacity.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/v1beta1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/v1beta1/storageclass.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/v1beta1/volumeattachment.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storage/v1beta1/volumeattributesclass.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storagemigration/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storagemigration/v1alpha1/interface.go delete mode 100644 api/vendor/k8s.io/client-go/informers/storagemigration/v1alpha1/storageversionmigration.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/clientset.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/import.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/scheme/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/scheme/register.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1/admissionregistration_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1/mutatingwebhookconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1/validatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1/validatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1/validatingwebhookconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1/admissionregistration_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1/mutatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1/mutatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1/validatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1/validatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1/admissionregistration_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1/mutatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1/mutatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1/mutatingwebhookconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1/validatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1/validatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1/validatingwebhookconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apiserverinternal/v1alpha1/apiserverinternal_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apiserverinternal/v1alpha1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apiserverinternal/v1alpha1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apiserverinternal/v1alpha1/storageversion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1/apps_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1/controllerrevision.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1/daemonset.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1/deployment.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1/replicaset.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1/statefulset.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta1/apps_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta1/controllerrevision.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta1/deployment.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta1/statefulset.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta2/apps_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta2/controllerrevision.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta2/daemonset.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta2/deployment.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta2/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta2/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta2/replicaset.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta2/statefulset.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1/authentication_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1/selfsubjectreview.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1/tokenreview.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1alpha1/authentication_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1alpha1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1alpha1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1alpha1/selfsubjectreview.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/authentication_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/selfsubjectreview.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/tokenreview.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1/authorization_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1/localsubjectaccessreview.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1/selfsubjectaccessreview.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1/selfsubjectrulesreview.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1/subjectaccessreview.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/authorization_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/localsubjectaccessreview.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/selfsubjectaccessreview.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/selfsubjectrulesreview.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/subjectaccessreview.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v1/autoscaling_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v1/horizontalpodautoscaler.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2/autoscaling_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2/horizontalpodautoscaler.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1/autoscaling_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1/horizontalpodautoscaler.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta2/autoscaling_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta2/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta2/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta2/horizontalpodautoscaler.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/batch/v1/batch_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/batch/v1/cronjob.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/batch/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/batch/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/batch/v1/job.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/batch/v1beta1/batch_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/batch/v1beta1/cronjob.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/batch/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/batch/v1beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1/certificates_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1/certificatesigningrequest.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/certificates_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/clustertrustbundle.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/podcertificaterequest.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1/certificates_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1/certificatesigningrequest.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1/certificatesigningrequest_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1/clustertrustbundle.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1/coordination_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1/lease.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1alpha2/coordination_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1alpha2/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1alpha2/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1alpha2/leasecandidate.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1beta1/coordination_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1beta1/lease.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1beta1/leasecandidate.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/componentstatus.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/configmap.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/core_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/endpoints.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/event.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/event_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/limitrange.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/namespace.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/namespace_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/node.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/node_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/persistentvolume.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/persistentvolumeclaim.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/pod.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/pod_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/podtemplate.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/replicationcontroller.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/resourcequota.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/secret.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/service.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/service_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/core/v1/serviceaccount.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/discovery/v1/discovery_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/discovery/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/discovery/v1/endpointslice.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/discovery/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/discovery/v1beta1/discovery_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/discovery/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/discovery/v1beta1/endpointslice.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/discovery/v1beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/events/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/events/v1/event.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/events/v1/events_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/events/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/events/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/events/v1beta1/event.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/events/v1beta1/event_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/events/v1beta1/events_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/events/v1beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/daemonset.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/deployment.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/deployment_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/extensions_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/ingress.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/networkpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/replicaset.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1/flowcontrol_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1/flowschema.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1/prioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta1/flowcontrol_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta1/flowschema.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta1/prioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta2/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta2/flowcontrol_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta2/flowschema.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta2/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta2/prioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta3/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta3/flowcontrol_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta3/flowschema.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta3/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta3/prioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/networking/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/networking/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/networking/v1/ingress.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/networking/v1/ingressclass.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/networking/v1/ipaddress.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/networking/v1/networking_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/networking/v1/networkpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/networking/v1/servicecidr.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/networking/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/networking/v1beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/networking/v1beta1/ingress.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/networking/v1beta1/ingressclass.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/networking/v1beta1/ipaddress.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/networking/v1beta1/networking_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/networking/v1beta1/servicecidr.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/node/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/node/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/node/v1/node_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/node/v1/runtimeclass.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/node/v1alpha1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/node/v1alpha1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/node/v1alpha1/node_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/node/v1alpha1/runtimeclass.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/node/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/node/v1beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/node/v1beta1/node_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/node/v1beta1/runtimeclass.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/policy/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/policy/v1/eviction.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/policy/v1/eviction_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/policy/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/policy/v1/poddisruptionbudget.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/policy/v1/policy_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/policy/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/policy/v1beta1/eviction.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/policy/v1beta1/eviction_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/policy/v1beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/policy/v1beta1/poddisruptionbudget.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/policy/v1beta1/policy_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1/clusterrole.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1/clusterrolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1/rbac_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1/role.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1/rolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/clusterrole.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/clusterrolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/rbac_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/role.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/rolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1beta1/clusterrole.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1beta1/clusterrolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1beta1/rbac_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1beta1/role.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1beta1/rolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1/deviceclass.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1/resource_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1/resourceclaim.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1/resourceclaimtemplate.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1/resourceslice.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1alpha3/devicetaintrule.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1alpha3/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1alpha3/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1alpha3/resource_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1beta1/deviceclass.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1beta1/resource_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1beta1/resourceclaim.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1beta1/resourceclaimtemplate.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1beta1/resourceslice.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1beta2/deviceclass.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1beta2/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1beta2/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1beta2/resource_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1beta2/resourceclaim.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1beta2/resourceclaimtemplate.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/resource/v1beta2/resourceslice.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1/priorityclass.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1/scheduling_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1/priorityclass.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1/scheduling_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/priorityclass.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/scheduling_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1/csidriver.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1/csinode.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1/csistoragecapacity.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1/storage_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1/storageclass.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1/volumeattachment.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1/volumeattributesclass.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1alpha1/csistoragecapacity.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1alpha1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1alpha1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1alpha1/storage_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1alpha1/volumeattachment.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1alpha1/volumeattributesclass.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1beta1/csidriver.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1beta1/csinode.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1beta1/csistoragecapacity.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1beta1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1beta1/storage_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1beta1/storageclass.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1beta1/volumeattachment.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storage/v1beta1/volumeattributesclass.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storagemigration/v1alpha1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storagemigration/v1alpha1/generated_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storagemigration/v1alpha1/storagemigration_client.go delete mode 100644 api/vendor/k8s.io/client-go/kubernetes/typed/storagemigration/v1alpha1/storageversionmigration.go delete mode 100644 api/vendor/k8s.io/client-go/listers/admissionregistration/v1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/admissionregistration/v1/mutatingwebhookconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/listers/admissionregistration/v1/validatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/listers/admissionregistration/v1/validatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/listers/admissionregistration/v1/validatingwebhookconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/listers/admissionregistration/v1alpha1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/admissionregistration/v1alpha1/mutatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/listers/admissionregistration/v1alpha1/mutatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/listers/admissionregistration/v1alpha1/validatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/listers/admissionregistration/v1alpha1/validatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/listers/admissionregistration/v1beta1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/admissionregistration/v1beta1/mutatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/listers/admissionregistration/v1beta1/mutatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/listers/admissionregistration/v1beta1/mutatingwebhookconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/listers/admissionregistration/v1beta1/validatingadmissionpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/listers/admissionregistration/v1beta1/validatingadmissionpolicybinding.go delete mode 100644 api/vendor/k8s.io/client-go/listers/admissionregistration/v1beta1/validatingwebhookconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apiserverinternal/v1alpha1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apiserverinternal/v1alpha1/storageversion.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1/controllerrevision.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1/daemonset.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1/daemonset_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1/deployment.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1/replicaset.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1/replicaset_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1/statefulset.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1/statefulset_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1beta1/controllerrevision.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1beta1/deployment.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1beta1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1beta1/statefulset.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1beta1/statefulset_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1beta2/controllerrevision.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1beta2/daemonset.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1beta2/daemonset_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1beta2/deployment.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1beta2/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1beta2/replicaset.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1beta2/replicaset_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1beta2/statefulset.go delete mode 100644 api/vendor/k8s.io/client-go/listers/apps/v1beta2/statefulset_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/listers/autoscaling/v1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/autoscaling/v1/horizontalpodautoscaler.go delete mode 100644 api/vendor/k8s.io/client-go/listers/autoscaling/v2/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/autoscaling/v2/horizontalpodautoscaler.go delete mode 100644 api/vendor/k8s.io/client-go/listers/autoscaling/v2beta1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/autoscaling/v2beta1/horizontalpodautoscaler.go delete mode 100644 api/vendor/k8s.io/client-go/listers/autoscaling/v2beta2/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/autoscaling/v2beta2/horizontalpodautoscaler.go delete mode 100644 api/vendor/k8s.io/client-go/listers/batch/v1/cronjob.go delete mode 100644 api/vendor/k8s.io/client-go/listers/batch/v1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/batch/v1/job.go delete mode 100644 api/vendor/k8s.io/client-go/listers/batch/v1/job_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/listers/batch/v1beta1/cronjob.go delete mode 100644 api/vendor/k8s.io/client-go/listers/batch/v1beta1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/certificates/v1/certificatesigningrequest.go delete mode 100644 api/vendor/k8s.io/client-go/listers/certificates/v1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/certificates/v1alpha1/clustertrustbundle.go delete mode 100644 api/vendor/k8s.io/client-go/listers/certificates/v1alpha1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/certificates/v1alpha1/podcertificaterequest.go delete mode 100644 api/vendor/k8s.io/client-go/listers/certificates/v1beta1/certificatesigningrequest.go delete mode 100644 api/vendor/k8s.io/client-go/listers/certificates/v1beta1/clustertrustbundle.go delete mode 100644 api/vendor/k8s.io/client-go/listers/certificates/v1beta1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/coordination/v1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/coordination/v1/lease.go delete mode 100644 api/vendor/k8s.io/client-go/listers/coordination/v1alpha2/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/coordination/v1alpha2/leasecandidate.go delete mode 100644 api/vendor/k8s.io/client-go/listers/coordination/v1beta1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/coordination/v1beta1/lease.go delete mode 100644 api/vendor/k8s.io/client-go/listers/coordination/v1beta1/leasecandidate.go delete mode 100644 api/vendor/k8s.io/client-go/listers/core/v1/componentstatus.go delete mode 100644 api/vendor/k8s.io/client-go/listers/core/v1/configmap.go delete mode 100644 api/vendor/k8s.io/client-go/listers/core/v1/endpoints.go delete mode 100644 api/vendor/k8s.io/client-go/listers/core/v1/event.go delete mode 100644 api/vendor/k8s.io/client-go/listers/core/v1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/core/v1/limitrange.go delete mode 100644 api/vendor/k8s.io/client-go/listers/core/v1/namespace.go delete mode 100644 api/vendor/k8s.io/client-go/listers/core/v1/node.go delete mode 100644 api/vendor/k8s.io/client-go/listers/core/v1/persistentvolume.go delete mode 100644 api/vendor/k8s.io/client-go/listers/core/v1/persistentvolumeclaim.go delete mode 100644 api/vendor/k8s.io/client-go/listers/core/v1/pod.go delete mode 100644 api/vendor/k8s.io/client-go/listers/core/v1/podtemplate.go delete mode 100644 api/vendor/k8s.io/client-go/listers/core/v1/replicationcontroller.go delete mode 100644 api/vendor/k8s.io/client-go/listers/core/v1/replicationcontroller_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/listers/core/v1/resourcequota.go delete mode 100644 api/vendor/k8s.io/client-go/listers/core/v1/secret.go delete mode 100644 api/vendor/k8s.io/client-go/listers/core/v1/service.go delete mode 100644 api/vendor/k8s.io/client-go/listers/core/v1/serviceaccount.go delete mode 100644 api/vendor/k8s.io/client-go/listers/discovery/v1/endpointslice.go delete mode 100644 api/vendor/k8s.io/client-go/listers/discovery/v1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/discovery/v1beta1/endpointslice.go delete mode 100644 api/vendor/k8s.io/client-go/listers/discovery/v1beta1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/doc.go delete mode 100644 api/vendor/k8s.io/client-go/listers/events/v1/event.go delete mode 100644 api/vendor/k8s.io/client-go/listers/events/v1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/events/v1beta1/event.go delete mode 100644 api/vendor/k8s.io/client-go/listers/events/v1beta1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/extensions/v1beta1/daemonset.go delete mode 100644 api/vendor/k8s.io/client-go/listers/extensions/v1beta1/daemonset_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/listers/extensions/v1beta1/deployment.go delete mode 100644 api/vendor/k8s.io/client-go/listers/extensions/v1beta1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/extensions/v1beta1/ingress.go delete mode 100644 api/vendor/k8s.io/client-go/listers/extensions/v1beta1/networkpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/listers/extensions/v1beta1/replicaset.go delete mode 100644 api/vendor/k8s.io/client-go/listers/extensions/v1beta1/replicaset_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/listers/flowcontrol/v1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/flowcontrol/v1/flowschema.go delete mode 100644 api/vendor/k8s.io/client-go/listers/flowcontrol/v1/prioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/listers/flowcontrol/v1beta1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/flowcontrol/v1beta1/flowschema.go delete mode 100644 api/vendor/k8s.io/client-go/listers/flowcontrol/v1beta1/prioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/listers/flowcontrol/v1beta2/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/flowcontrol/v1beta2/flowschema.go delete mode 100644 api/vendor/k8s.io/client-go/listers/flowcontrol/v1beta2/prioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/listers/flowcontrol/v1beta3/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/flowcontrol/v1beta3/flowschema.go delete mode 100644 api/vendor/k8s.io/client-go/listers/flowcontrol/v1beta3/prioritylevelconfiguration.go delete mode 100644 api/vendor/k8s.io/client-go/listers/generic_helpers.go delete mode 100644 api/vendor/k8s.io/client-go/listers/networking/v1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/networking/v1/ingress.go delete mode 100644 api/vendor/k8s.io/client-go/listers/networking/v1/ingressclass.go delete mode 100644 api/vendor/k8s.io/client-go/listers/networking/v1/ipaddress.go delete mode 100644 api/vendor/k8s.io/client-go/listers/networking/v1/networkpolicy.go delete mode 100644 api/vendor/k8s.io/client-go/listers/networking/v1/servicecidr.go delete mode 100644 api/vendor/k8s.io/client-go/listers/networking/v1beta1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/networking/v1beta1/ingress.go delete mode 100644 api/vendor/k8s.io/client-go/listers/networking/v1beta1/ingressclass.go delete mode 100644 api/vendor/k8s.io/client-go/listers/networking/v1beta1/ipaddress.go delete mode 100644 api/vendor/k8s.io/client-go/listers/networking/v1beta1/servicecidr.go delete mode 100644 api/vendor/k8s.io/client-go/listers/node/v1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/node/v1/runtimeclass.go delete mode 100644 api/vendor/k8s.io/client-go/listers/node/v1alpha1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/node/v1alpha1/runtimeclass.go delete mode 100644 api/vendor/k8s.io/client-go/listers/node/v1beta1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/node/v1beta1/runtimeclass.go delete mode 100644 api/vendor/k8s.io/client-go/listers/policy/v1/eviction.go delete mode 100644 api/vendor/k8s.io/client-go/listers/policy/v1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/policy/v1/poddisruptionbudget.go delete mode 100644 api/vendor/k8s.io/client-go/listers/policy/v1/poddisruptionbudget_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/listers/policy/v1beta1/eviction.go delete mode 100644 api/vendor/k8s.io/client-go/listers/policy/v1beta1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/policy/v1beta1/poddisruptionbudget.go delete mode 100644 api/vendor/k8s.io/client-go/listers/policy/v1beta1/poddisruptionbudget_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/listers/rbac/v1/clusterrole.go delete mode 100644 api/vendor/k8s.io/client-go/listers/rbac/v1/clusterrolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/listers/rbac/v1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/rbac/v1/role.go delete mode 100644 api/vendor/k8s.io/client-go/listers/rbac/v1/rolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/listers/rbac/v1alpha1/clusterrole.go delete mode 100644 api/vendor/k8s.io/client-go/listers/rbac/v1alpha1/clusterrolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/listers/rbac/v1alpha1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/rbac/v1alpha1/role.go delete mode 100644 api/vendor/k8s.io/client-go/listers/rbac/v1alpha1/rolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/listers/rbac/v1beta1/clusterrole.go delete mode 100644 api/vendor/k8s.io/client-go/listers/rbac/v1beta1/clusterrolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/listers/rbac/v1beta1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/rbac/v1beta1/role.go delete mode 100644 api/vendor/k8s.io/client-go/listers/rbac/v1beta1/rolebinding.go delete mode 100644 api/vendor/k8s.io/client-go/listers/resource/v1/deviceclass.go delete mode 100644 api/vendor/k8s.io/client-go/listers/resource/v1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/resource/v1/resourceclaim.go delete mode 100644 api/vendor/k8s.io/client-go/listers/resource/v1/resourceclaimtemplate.go delete mode 100644 api/vendor/k8s.io/client-go/listers/resource/v1/resourceslice.go delete mode 100644 api/vendor/k8s.io/client-go/listers/resource/v1alpha3/devicetaintrule.go delete mode 100644 api/vendor/k8s.io/client-go/listers/resource/v1alpha3/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/resource/v1beta1/deviceclass.go delete mode 100644 api/vendor/k8s.io/client-go/listers/resource/v1beta1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/resource/v1beta1/resourceclaim.go delete mode 100644 api/vendor/k8s.io/client-go/listers/resource/v1beta1/resourceclaimtemplate.go delete mode 100644 api/vendor/k8s.io/client-go/listers/resource/v1beta1/resourceslice.go delete mode 100644 api/vendor/k8s.io/client-go/listers/resource/v1beta2/deviceclass.go delete mode 100644 api/vendor/k8s.io/client-go/listers/resource/v1beta2/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/resource/v1beta2/resourceclaim.go delete mode 100644 api/vendor/k8s.io/client-go/listers/resource/v1beta2/resourceclaimtemplate.go delete mode 100644 api/vendor/k8s.io/client-go/listers/resource/v1beta2/resourceslice.go delete mode 100644 api/vendor/k8s.io/client-go/listers/scheduling/v1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/scheduling/v1/priorityclass.go delete mode 100644 api/vendor/k8s.io/client-go/listers/scheduling/v1alpha1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/scheduling/v1alpha1/priorityclass.go delete mode 100644 api/vendor/k8s.io/client-go/listers/scheduling/v1beta1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/scheduling/v1beta1/priorityclass.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storage/v1/csidriver.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storage/v1/csinode.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storage/v1/csistoragecapacity.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storage/v1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storage/v1/storageclass.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storage/v1/volumeattachment.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storage/v1/volumeattributesclass.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storage/v1alpha1/csistoragecapacity.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storage/v1alpha1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storage/v1alpha1/volumeattachment.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storage/v1alpha1/volumeattributesclass.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storage/v1beta1/csidriver.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storage/v1beta1/csinode.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storage/v1beta1/csistoragecapacity.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storage/v1beta1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storage/v1beta1/storageclass.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storage/v1beta1/volumeattachment.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storage/v1beta1/volumeattributesclass.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storagemigration/v1alpha1/expansion_generated.go delete mode 100644 api/vendor/k8s.io/client-go/listers/storagemigration/v1alpha1/storageversionmigration.go delete mode 100644 api/vendor/k8s.io/client-go/metadata/interface.go delete mode 100644 api/vendor/k8s.io/client-go/metadata/metadata.go delete mode 100644 api/vendor/k8s.io/client-go/openapi/OWNERS delete mode 100644 api/vendor/k8s.io/client-go/openapi/client.go delete mode 100644 api/vendor/k8s.io/client-go/openapi/groupversion.go delete mode 100644 api/vendor/k8s.io/client-go/openapi/typeconverter.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/apis/clientauthentication/OWNERS delete mode 100644 api/vendor/k8s.io/client-go/pkg/apis/clientauthentication/doc.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/apis/clientauthentication/install/install.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/apis/clientauthentication/register.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/apis/clientauthentication/types.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1/register.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1/types.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1/zz_generated.conversion.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1/zz_generated.defaults.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1beta1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1beta1/register.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1beta1/types.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1beta1/zz_generated.conversion.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1beta1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1beta1/zz_generated.defaults.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/apis/clientauthentication/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/version/base.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/version/doc.go delete mode 100644 api/vendor/k8s.io/client-go/pkg/version/version.go delete mode 100644 api/vendor/k8s.io/client-go/plugin/pkg/client/auth/exec/exec.go delete mode 100644 api/vendor/k8s.io/client-go/plugin/pkg/client/auth/exec/metrics.go delete mode 100644 api/vendor/k8s.io/client-go/rest/.mockery.yaml delete mode 100644 api/vendor/k8s.io/client-go/rest/OWNERS delete mode 100644 api/vendor/k8s.io/client-go/rest/client.go delete mode 100644 api/vendor/k8s.io/client-go/rest/config.go delete mode 100644 api/vendor/k8s.io/client-go/rest/exec.go delete mode 100644 api/vendor/k8s.io/client-go/rest/plugin.go delete mode 100644 api/vendor/k8s.io/client-go/rest/request.go delete mode 100644 api/vendor/k8s.io/client-go/rest/transport.go delete mode 100644 api/vendor/k8s.io/client-go/rest/url_utils.go delete mode 100644 api/vendor/k8s.io/client-go/rest/urlbackoff.go delete mode 100644 api/vendor/k8s.io/client-go/rest/warnings.go delete mode 100644 api/vendor/k8s.io/client-go/rest/watch/decoder.go delete mode 100644 api/vendor/k8s.io/client-go/rest/watch/encoder.go delete mode 100644 api/vendor/k8s.io/client-go/rest/with_retry.go delete mode 100644 api/vendor/k8s.io/client-go/rest/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/client-go/restmapper/category_expansion.go delete mode 100644 api/vendor/k8s.io/client-go/restmapper/discovery.go delete mode 100644 api/vendor/k8s.io/client-go/restmapper/shortcut.go delete mode 100644 api/vendor/k8s.io/client-go/testing/actions.go delete mode 100644 api/vendor/k8s.io/client-go/testing/fake.go delete mode 100644 api/vendor/k8s.io/client-go/testing/fixture.go delete mode 100644 api/vendor/k8s.io/client-go/testing/interface.go delete mode 100644 api/vendor/k8s.io/client-go/tools/auth/OWNERS delete mode 100644 api/vendor/k8s.io/client-go/tools/auth/clientauth.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/OWNERS delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/controller.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/delta_fifo.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/doc.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/expiration_cache.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/expiration_cache_fakes.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/fake_custom_store.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/fifo.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/heap.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/index.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/listers.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/listwatch.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/mutation_cache.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/mutation_detector.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/object-names.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/reflector.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/reflector_data_consistency_detector.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/reflector_metrics.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/retry_with_deadline.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/shared_informer.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/store.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/synctrack/lazy.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/synctrack/synctrack.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/the_real_fifo.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/thread_safe_store.go delete mode 100644 api/vendor/k8s.io/client-go/tools/cache/undelta_store.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/api/doc.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/api/helpers.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/api/latest/latest.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/api/register.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/api/types.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/api/v1/conversion.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/api/v1/defaults.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/api/v1/doc.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/api/v1/register.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/api/v1/types.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/api/v1/zz_generated.conversion.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/api/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/api/v1/zz_generated.defaults.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/api/zz_generated.deepcopy.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/auth_loaders.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/client_config.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/config.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/doc.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/flag.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/helpers.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/loader.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/merge.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/merged_client_builder.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/overrides.go delete mode 100644 api/vendor/k8s.io/client-go/tools/clientcmd/validation.go delete mode 100644 api/vendor/k8s.io/client-go/tools/internal/events/interfaces.go delete mode 100644 api/vendor/k8s.io/client-go/tools/leaderelection/OWNERS delete mode 100644 api/vendor/k8s.io/client-go/tools/leaderelection/healthzadaptor.go delete mode 100644 api/vendor/k8s.io/client-go/tools/leaderelection/leaderelection.go delete mode 100644 api/vendor/k8s.io/client-go/tools/leaderelection/leasecandidate.go delete mode 100644 api/vendor/k8s.io/client-go/tools/leaderelection/metrics.go delete mode 100644 api/vendor/k8s.io/client-go/tools/leaderelection/resourcelock/interface.go delete mode 100644 api/vendor/k8s.io/client-go/tools/leaderelection/resourcelock/leaselock.go delete mode 100644 api/vendor/k8s.io/client-go/tools/leaderelection/resourcelock/multilock.go delete mode 100644 api/vendor/k8s.io/client-go/tools/metrics/OWNERS delete mode 100644 api/vendor/k8s.io/client-go/tools/metrics/metrics.go delete mode 100644 api/vendor/k8s.io/client-go/tools/pager/pager.go delete mode 100644 api/vendor/k8s.io/client-go/tools/record/OWNERS delete mode 100644 api/vendor/k8s.io/client-go/tools/record/doc.go delete mode 100644 api/vendor/k8s.io/client-go/tools/record/event.go delete mode 100644 api/vendor/k8s.io/client-go/tools/record/events_cache.go delete mode 100644 api/vendor/k8s.io/client-go/tools/record/fake.go delete mode 100644 api/vendor/k8s.io/client-go/tools/record/util/util.go delete mode 100644 api/vendor/k8s.io/client-go/tools/reference/ref.go delete mode 100644 api/vendor/k8s.io/client-go/transport/OWNERS delete mode 100644 api/vendor/k8s.io/client-go/transport/cache.go delete mode 100644 api/vendor/k8s.io/client-go/transport/cache_go118.go delete mode 100644 api/vendor/k8s.io/client-go/transport/cert_rotation.go delete mode 100644 api/vendor/k8s.io/client-go/transport/config.go delete mode 100644 api/vendor/k8s.io/client-go/transport/round_trippers.go delete mode 100644 api/vendor/k8s.io/client-go/transport/token_source.go delete mode 100644 api/vendor/k8s.io/client-go/transport/transport.go delete mode 100644 api/vendor/k8s.io/client-go/util/apply/apply.go delete mode 100644 api/vendor/k8s.io/client-go/util/cert/OWNERS delete mode 100644 api/vendor/k8s.io/client-go/util/cert/cert.go delete mode 100644 api/vendor/k8s.io/client-go/util/cert/csr.go delete mode 100644 api/vendor/k8s.io/client-go/util/cert/io.go delete mode 100644 api/vendor/k8s.io/client-go/util/cert/pem.go delete mode 100644 api/vendor/k8s.io/client-go/util/cert/server_inspection.go delete mode 100644 api/vendor/k8s.io/client-go/util/connrotation/connrotation.go delete mode 100644 api/vendor/k8s.io/client-go/util/consistencydetector/data_consistency_detector.go delete mode 100644 api/vendor/k8s.io/client-go/util/flowcontrol/backoff.go delete mode 100644 api/vendor/k8s.io/client-go/util/flowcontrol/throttle.go delete mode 100644 api/vendor/k8s.io/client-go/util/homedir/homedir.go delete mode 100644 api/vendor/k8s.io/client-go/util/keyutil/OWNERS delete mode 100644 api/vendor/k8s.io/client-go/util/keyutil/key.go delete mode 100644 api/vendor/k8s.io/client-go/util/workqueue/default_rate_limiters.go delete mode 100644 api/vendor/k8s.io/client-go/util/workqueue/delaying_queue.go delete mode 100644 api/vendor/k8s.io/client-go/util/workqueue/doc.go delete mode 100644 api/vendor/k8s.io/client-go/util/workqueue/metrics.go delete mode 100644 api/vendor/k8s.io/client-go/util/workqueue/parallelizer.go delete mode 100644 api/vendor/k8s.io/client-go/util/workqueue/queue.go delete mode 100644 api/vendor/k8s.io/client-go/util/workqueue/rate_limiting_queue.go delete mode 100644 api/vendor/k8s.io/cloud-provider/LICENSE delete mode 100644 api/vendor/k8s.io/cloud-provider/api/retry_error.go delete mode 100644 api/vendor/k8s.io/cloud-provider/api/well_known_annotations.go delete mode 100644 api/vendor/k8s.io/cloud-provider/api/well_known_taints.go delete mode 100644 api/vendor/k8s.io/component-base/LICENSE delete mode 100644 api/vendor/k8s.io/component-base/cli/flag/ciphersuites_flag.go delete mode 100644 api/vendor/k8s.io/component-base/cli/flag/colon_separated_multimap_string_string.go delete mode 100644 api/vendor/k8s.io/component-base/cli/flag/configuration_map.go delete mode 100644 api/vendor/k8s.io/component-base/cli/flag/flags.go delete mode 100644 api/vendor/k8s.io/component-base/cli/flag/langle_separated_map_string_string.go delete mode 100644 api/vendor/k8s.io/component-base/cli/flag/map_string_bool.go delete mode 100644 api/vendor/k8s.io/component-base/cli/flag/map_string_string.go delete mode 100644 api/vendor/k8s.io/component-base/cli/flag/namedcertkey_flag.go delete mode 100644 api/vendor/k8s.io/component-base/cli/flag/noop.go delete mode 100644 api/vendor/k8s.io/component-base/cli/flag/omitempty.go delete mode 100644 api/vendor/k8s.io/component-base/cli/flag/sectioned.go delete mode 100644 api/vendor/k8s.io/component-base/cli/flag/string_flag.go delete mode 100644 api/vendor/k8s.io/component-base/cli/flag/string_slice_flag.go delete mode 100644 api/vendor/k8s.io/component-base/cli/flag/tracker_flag.go delete mode 100644 api/vendor/k8s.io/component-base/cli/flag/tristate.go delete mode 100644 api/vendor/k8s.io/component-helpers/LICENSE delete mode 100644 api/vendor/k8s.io/component-helpers/resource/OWNERS delete mode 100644 api/vendor/k8s.io/component-helpers/resource/helpers.go delete mode 100644 api/vendor/k8s.io/csi-translation-lib/CONTRIBUTING.md delete mode 100644 api/vendor/k8s.io/csi-translation-lib/LICENSE delete mode 100644 api/vendor/k8s.io/csi-translation-lib/OWNERS delete mode 100644 api/vendor/k8s.io/csi-translation-lib/README.md delete mode 100644 api/vendor/k8s.io/csi-translation-lib/SECURITY_CONTACTS delete mode 100644 api/vendor/k8s.io/csi-translation-lib/code-of-conduct.md delete mode 100644 api/vendor/k8s.io/csi-translation-lib/plugins/aws_ebs.go delete mode 100644 api/vendor/k8s.io/csi-translation-lib/plugins/azure_disk.go delete mode 100644 api/vendor/k8s.io/csi-translation-lib/plugins/azure_file.go delete mode 100644 api/vendor/k8s.io/csi-translation-lib/plugins/const.go delete mode 100644 api/vendor/k8s.io/csi-translation-lib/plugins/gce_pd.go delete mode 100644 api/vendor/k8s.io/csi-translation-lib/plugins/in_tree_volume.go delete mode 100644 api/vendor/k8s.io/csi-translation-lib/plugins/openstack_cinder.go delete mode 100644 api/vendor/k8s.io/csi-translation-lib/plugins/portworx.go delete mode 100644 api/vendor/k8s.io/csi-translation-lib/plugins/vsphere_volume.go delete mode 100644 api/vendor/k8s.io/csi-translation-lib/translate.go delete mode 100644 api/vendor/k8s.io/kube-openapi/LICENSE delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/cached/cache.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/common/common.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/common/doc.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/common/interfaces.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/handler3/handler.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/flags.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/serialization.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/AUTHORS delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/CONTRIBUTORS delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/LICENSE delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/README.md delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/arshal.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/arshal_any.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/arshal_default.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/arshal_funcs.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/arshal_inlined.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/arshal_methods.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/arshal_time.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/decode.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/doc.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/encode.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/errors.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/fields.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/fold.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/intern.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/pools.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/state.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/token.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/value.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/schemaconv/openapi.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/schemaconv/proto_models.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/schemaconv/smd.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/spec3/component.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/spec3/encoding.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/spec3/example.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/spec3/external_documentation.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/spec3/fuzz.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/spec3/header.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/spec3/media_type.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/spec3/operation.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/spec3/parameter.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/spec3/path.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/spec3/request_body.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/spec3/response.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/spec3/security_scheme.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/spec3/server.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/spec3/spec.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/util/proto/OWNERS delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/util/proto/doc.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/util/proto/document.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/util/proto/document_v3.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/util/proto/openapi.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/.gitignore delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/LICENSE delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/contact_info.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/external_docs.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/gnostic.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/header.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/info.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/items.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/license.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/operation.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/parameter.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/path_item.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/paths.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/ref.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/response.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/responses.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/schema.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/security_scheme.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/swagger.go delete mode 100644 api/vendor/k8s.io/kube-openapi/pkg/validation/spec/tag.go delete mode 100644 api/vendor/k8s.io/utils/buffer/ring_fixed.go delete mode 100644 api/vendor/k8s.io/utils/buffer/ring_growing.go delete mode 100644 api/vendor/k8s.io/utils/clock/README.md delete mode 100644 api/vendor/k8s.io/utils/clock/clock.go delete mode 100644 api/vendor/k8s.io/utils/internal/third_party/forked/golang/golang-lru/lru.go delete mode 100644 api/vendor/k8s.io/utils/lru/lru.go delete mode 100644 api/vendor/k8s.io/utils/trace/README.md delete mode 100644 api/vendor/k8s.io/utils/trace/trace.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/.gitignore delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/.golangci.yml delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/.gomodcheck.yaml delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/CONTRIBUTING.md delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/FAQ.md delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/LICENSE delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/Makefile delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/OWNERS delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/OWNERS_ALIASES delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/README.md delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/RELEASE.md delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/SECURITY_CONTACTS delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/TMP-LOGGING.md delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/VERSIONING.md delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/alias.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/code-of-conduct.md delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/builder/controller.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/builder/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/builder/options.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/builder/webhook.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/cache/cache.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/cache/delegating_by_gvk_cache.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/cache/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/cache/informer_cache.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/cache/internal/cache_reader.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/cache/internal/informers.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/cache/internal/selector.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/cache/multi_namespace_cache.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/certwatcher/certwatcher.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/certwatcher/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/certwatcher/metrics/metrics.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/apiutil/apimachinery.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/apiutil/errors.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/apiutil/restmapper.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/applyconfigurations.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/client.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/client_rest_resources.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/codec.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/config/config.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/config/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/dryrun.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/fieldowner.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/fieldvalidation.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/interfaces.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/metadata_client.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/namespaced_client.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/object.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/options.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/patch.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/typed_client.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/unstructured_client.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/client/watch.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/cluster/cluster.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/cluster/internal.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/config/controller.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/controller/controller.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/controller/controllerutil/controllerutil.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/controller/controllerutil/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/controller/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/controller/name.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/controller/priorityqueue/metrics.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/controller/priorityqueue/priorityqueue.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/conversion/conversion.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/event/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/event/event.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/handler/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/handler/enqueue.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/handler/enqueue_mapped.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/handler/enqueue_owner.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/handler/eventhandler.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/healthz/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/healthz/healthz.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics/metrics.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/internal/field/selector/utils.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/internal/httpserver/server.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/internal/log/log.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/internal/metrics/workqueue.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/internal/recorder/recorder.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/internal/source/event_handler.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/internal/source/kind.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/internal/syncs/syncs.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/leaderelection/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/leaderelection/leader_election.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/log/deleg.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/log/log.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/log/null.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/log/warning_handler.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/manager/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/manager/internal.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/manager/manager.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/manager/runnable_group.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/manager/server.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/manager/signals/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/manager/signals/signal.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/manager/signals/signal_posix.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/manager/signals/signal_windows.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/metrics/client_go_adapter.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/metrics/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/metrics/leaderelection.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/metrics/registry.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/metrics/server/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/metrics/server/server.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/metrics/workqueue.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/predicate/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/predicate/predicate.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/reconcile/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/reconcile/reconcile.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/recorder/recorder.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/scheme/scheme.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/source/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/source/source.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/decode.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/defaulter_custom.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/http.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/metrics/metrics.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/multi.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/response.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/validator_custom.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/webhook.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/alias.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/conversion/conversion.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/conversion/decoder.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/conversion/metrics/metrics.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/doc.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/internal/metrics/metrics.go delete mode 100644 api/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/server.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/LICENSE delete mode 100644 api/vendor/sigs.k8s.io/karpenter/NOTICE delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/apis/apis.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/apis/crds/karpenter.sh_nodeclaims.yaml delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/apis/crds/karpenter.sh_nodeoverlays.yaml delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/apis/crds/karpenter.sh_nodepools.yaml delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/apis/v1/doc.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/apis/v1/duration.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/apis/v1/labels.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/apis/v1/nodeclaim.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/apis/v1/nodeclaim_defaults.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/apis/v1/nodeclaim_status.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/apis/v1/nodeclaim_validation.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/apis/v1/nodepool.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/apis/v1/nodepool_defaults.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/apis/v1/nodepool_status.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/apis/v1/nodepool_validation.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/apis/v1/taints.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/apis/v1/zz_generated.deepcopy.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/cloudprovider/types.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/cloudprovider/zz_generated.deepcopy.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/operator/options/injectable.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/operator/options/options.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/scheduling/hostportusage.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/scheduling/requirement.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/scheduling/requirements.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/scheduling/taints.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/scheduling/volumeusage.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/scheduling/zz_generated.deepcopy.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/utils/env/env.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/utils/pretty/changemonitor.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/utils/pretty/pretty.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/utils/resources/resources.go delete mode 100644 api/vendor/sigs.k8s.io/karpenter/pkg/utils/volume/volume.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/fieldpath/doc.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/fieldpath/element.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/fieldpath/fromvalue.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/fieldpath/managers.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/fieldpath/path.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/fieldpath/pathelementmap.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/fieldpath/serialize-pe.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/fieldpath/serialize.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/fieldpath/set.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/merge/conflict.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/merge/update.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/schema/doc.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/schema/elements.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/schema/equals.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/schema/schemaschema.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/typed/compare.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/typed/doc.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/typed/helpers.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/typed/merge.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/typed/parser.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/typed/reconcile_schema.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/typed/remove.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/typed/tofieldset.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/typed/typed.go delete mode 100644 api/vendor/sigs.k8s.io/structured-merge-diff/v6/typed/validate.go delete mode 100644 api/vendor/sigs.k8s.io/yaml/.gitignore delete mode 100644 api/vendor/sigs.k8s.io/yaml/CONTRIBUTING.md delete mode 100644 api/vendor/sigs.k8s.io/yaml/LICENSE delete mode 100644 api/vendor/sigs.k8s.io/yaml/OWNERS delete mode 100644 api/vendor/sigs.k8s.io/yaml/README.md delete mode 100644 api/vendor/sigs.k8s.io/yaml/RELEASE.md delete mode 100644 api/vendor/sigs.k8s.io/yaml/SECURITY_CONTACTS delete mode 100644 api/vendor/sigs.k8s.io/yaml/code-of-conduct.md delete mode 100644 api/vendor/sigs.k8s.io/yaml/fields.go delete mode 100644 api/vendor/sigs.k8s.io/yaml/yaml.go diff --git a/api/go.mod b/api/go.mod index 449a18328530..1bd8c7da3288 100644 --- a/api/go.mod +++ b/api/go.mod @@ -3,7 +3,6 @@ module github.com/openshift/hypershift/api go 1.25.3 require ( - github.com/aws/karpenter-provider-aws v1.8.6 github.com/openshift/api v0.0.0-20260304122341-cf5d8996109f k8s.io/api v0.34.3 k8s.io/apimachinery v0.34.3 @@ -11,89 +10,24 @@ require ( ) require ( - github.com/aws/aws-sdk-go-v2 v1.41.5 // indirect - github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.21 // indirect - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.21 // indirect - github.com/aws/aws-sdk-go-v2/service/ec2 v1.279.2 // indirect - github.com/aws/aws-sdk-go-v2/service/iam v1.53.2 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.7 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.21 // indirect - github.com/aws/smithy-go v1.24.2 // indirect - github.com/awslabs/operatorpkg v0.0.0-20250909182303-e8e550b6f339 // indirect - github.com/beorn7/perks v1.0.1 // indirect - github.com/cespare/xxhash/v2 v2.3.0 // indirect - github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect - github.com/emicklei/go-restful/v3 v3.12.2 // indirect - github.com/evanphx/json-patch v5.9.11+incompatible // indirect - github.com/evanphx/json-patch/v5 v5.9.11 // indirect - github.com/fsnotify/fsnotify v1.9.0 // indirect github.com/fxamacker/cbor/v2 v2.9.0 // indirect github.com/go-logr/logr v1.4.3 // indirect - github.com/go-openapi/jsonpointer v0.21.1 // indirect - github.com/go-openapi/jsonreference v0.21.0 // indirect - github.com/go-openapi/swag v0.23.1 // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/google/btree v1.1.3 // indirect - github.com/google/gnostic-models v0.7.0 // indirect - github.com/google/go-cmp v0.7.0 // indirect - github.com/google/uuid v1.6.0 // indirect - github.com/inconshreveable/mousetrap v1.1.0 // indirect - github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/mailru/easyjson v0.9.0 // indirect - github.com/mitchellh/hashstructure/v2 v2.0.2 // indirect + github.com/kr/text v0.2.0 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect - github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect - github.com/onsi/ginkgo/v2 v2.28.1 // indirect - github.com/onsi/gomega v1.39.1 // indirect - github.com/patrickmn/go-cache v2.1.0+incompatible // indirect - github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/prometheus/client_golang v1.23.2 // indirect - github.com/prometheus/client_model v0.6.2 // indirect - github.com/prometheus/common v0.67.5 // indirect - github.com/prometheus/procfs v0.16.1 // indirect - github.com/robfig/cron/v3 v3.0.1 // indirect github.com/rogpeppe/go-internal v1.14.1 // indirect - github.com/samber/lo v1.51.0 // indirect - github.com/spf13/cobra v1.10.2 // indirect github.com/spf13/pflag v1.0.10 // indirect + github.com/stretchr/testify v1.11.1 // indirect github.com/x448/float16 v0.8.4 // indirect - go.uber.org/multierr v1.11.0 // indirect - go.uber.org/zap v1.27.1 // indirect go.yaml.in/yaml/v2 v2.4.3 // indirect - go.yaml.in/yaml/v3 v3.0.4 // indirect golang.org/x/net v0.51.0 // indirect - golang.org/x/oauth2 v0.35.0 // indirect - golang.org/x/sync v0.19.0 // indirect - golang.org/x/sys v0.41.0 // indirect - golang.org/x/term v0.40.0 // indirect golang.org/x/text v0.34.0 // indirect - golang.org/x/time v0.14.0 // indirect - golang.org/x/tools v0.42.0 // indirect - gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect - google.golang.org/protobuf v1.36.11 // indirect - gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect - k8s.io/apiextensions-apiserver v0.34.3 // indirect - k8s.io/client-go v0.34.3 // indirect - k8s.io/cloud-provider v0.34.1 // indirect - k8s.io/component-base v0.34.3 // indirect - k8s.io/component-helpers v0.34.2 // indirect - k8s.io/csi-translation-lib v0.34.1 // indirect k8s.io/klog/v2 v2.130.1 // indirect - k8s.io/kube-openapi v0.0.0-20250710124328-f3f2b991d03b // indirect - sigs.k8s.io/controller-runtime v0.22.4 // indirect sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect - sigs.k8s.io/karpenter v1.8.2 // indirect sigs.k8s.io/randfill v1.0.0 // indirect sigs.k8s.io/structured-merge-diff/v6 v6.3.0 // indirect - sigs.k8s.io/yaml v1.6.0 // indirect ) - -// Use our openshift version of karpenter instead of upstream -replace github.com/aws/karpenter-provider-aws => github.com/openshift/aws-karpenter-provider-aws v0.0.0-20260207025257-2e871ee4d207 - -replace sigs.k8s.io/karpenter => github.com/openshift/kubernetes-sigs-karpenter v0.0.0-20260206012902-048debf98313 diff --git a/api/go.sum b/api/go.sum index e3c6cf26f2ca..09cd2f567f05 100644 --- a/api/go.sum +++ b/api/go.sum @@ -1,161 +1,41 @@ -github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1Xbatp0= -github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= -github.com/Pallinder/go-randomdata v1.2.0 h1:DZ41wBchNRb/0GfsePLiSwb0PHZmT67XY00lCDlaYPg= -github.com/Pallinder/go-randomdata v1.2.0/go.mod h1:yHmJgulpD2Nfrm0cR9tI/+oAgRqCQQixsA8HyRZfV9Y= -github.com/avast/retry-go v3.0.0+incompatible h1:4SOWQ7Qs+oroOTQOYnAHqelpCO0biHSxpiH9JdtuBj0= -github.com/avast/retry-go v3.0.0+incompatible/go.mod h1:XtSnn+n/sHqQIpZ10K1qAevBhOOCWBLXXy3hyiqqBrY= -github.com/aws/aws-sdk-go-v2 v1.41.5 h1:dj5kopbwUsVUVFgO4Fi5BIT3t4WyqIDjGKCangnV/yY= -github.com/aws/aws-sdk-go-v2 v1.41.5/go.mod h1:mwsPRE8ceUUpiTgF7QmQIJ7lgsKUPQOUl3o72QBrE1o= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.21 h1:Rgg6wvjjtX8bNHcvi9OnXWwcE0a2vGpbwmtICOsvcf4= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.21/go.mod h1:A/kJFst/nm//cyqonihbdpQZwiUhhzpqTsdbhDdRF9c= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.21 h1:PEgGVtPoB6NTpPrBgqSE5hE/o47Ij9qk/SEZFbUOe9A= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.21/go.mod h1:p+hz+PRAYlY3zcpJhPwXlLC4C+kqn70WIHwnzAfs6ps= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.279.2 h1:MG12Z/W1zzJLkw2gCU2gKZ872rqLM0pi9LdkZ/z3FHc= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.279.2/go.mod h1:Uy+C+Sc58jozdoL1McQr8bDsEvNFx+/nBY+vpO1HVUY= -github.com/aws/aws-sdk-go-v2/service/eks v1.73.3 h1:V6MAr82kSLdj3/tN4UcPtlXDbvkNcAxsIvq59CNe704= -github.com/aws/aws-sdk-go-v2/service/eks v1.73.3/go.mod h1:FeDTTHze8jWVCZBiMkUYxJ/TQdOpTf9zbJjf0RI0ajo= -github.com/aws/aws-sdk-go-v2/service/iam v1.53.2 h1:62G6btFUwAa5uR5iPlnlNVAM0zJSLbWgDfKOfUC7oW4= -github.com/aws/aws-sdk-go-v2/service/iam v1.53.2/go.mod h1:av9clChrbZbJ5E21msSsiT2oghl2BJHfQGhCkXmhyu8= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.7 h1:5EniKhLZe4xzL7a+fU3C2tfUN4nWIqlLesfrjkuPFTY= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.7/go.mod h1:x0nZssQ3qZSnIcePWLvcoFisRXJzcTVvYpAAdYX8+GI= -github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.11.7 h1:VN9u746Erhm6xnVSmaUd1Saxs1MVZVum6v2yPOqj8xQ= -github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.11.7/go.mod h1:j0BhJWTdVsYsllEfO0E8EXtLToU8U7QeA7Gztxrl/8g= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.21 h1:c31//R3xgIJMSC8S6hEVq+38DcvUlgFY0FM6mSI5oto= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.21/go.mod h1:r6+pf23ouCB718FUxaqzZdbpYFyDtehyZcmP5KL9FkA= -github.com/aws/aws-sdk-go-v2/service/pricing v1.39.4 h1:FLRgwQXpnb+NWOAg1oP0VD0wM+q7OWJRssKyDsbrIEo= -github.com/aws/aws-sdk-go-v2/service/pricing v1.39.4/go.mod h1:EWTrh/FVF3sDmcK5tKy1ETFPn6VX2nfLy5gDTsCy2+s= -github.com/aws/aws-sdk-go-v2/service/sqs v1.42.5 h1:HbaHWaTkGec2pMa/UQa3+WNWtUaFFF1ZLfwCeVFtBns= -github.com/aws/aws-sdk-go-v2/service/sqs v1.42.5/go.mod h1:wCAPjT7bNg5+4HSNefwNEC2hM3d+NSD5w5DU/8jrPrI= -github.com/aws/aws-sdk-go-v2/service/ssm v1.64.4 h1:GaIjQJwGv06w4/vdgYDpkbuNJ2sX7ROHD3/J4YWRvpA= -github.com/aws/aws-sdk-go-v2/service/ssm v1.64.4/go.mod h1:5O20AzpAiVXhRhrJd5Tv9vh1gA5+iYHqAMVc+6t4q7g= -github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.35.3 h1:lG559VMq/SjLPgJ4sz7Qh8LVHKCi+En0CBz4Cx6YgIQ= -github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.35.3/go.mod h1:hEgxA1cAEctcJI458bb5OYbUna18HuOU0rlIYJsV5ac= -github.com/aws/smithy-go v1.24.2 h1:FzA3bu/nt/vDvmnkg+R8Xl46gmzEDam6mZ1hzmwXFng= -github.com/aws/smithy-go v1.24.2/go.mod h1:YE2RhdIuDbA5E5bTdciG9KrW3+TiEONeUWCqxX9i1Fc= -github.com/awslabs/amazon-eks-ami/nodeadm v0.0.0-20240229193347-cfab22a10647 h1:8yRBVsjGmI7qQsPWtIrbWP+XfwHO9Wq7gdLVzjqiZFs= -github.com/awslabs/amazon-eks-ami/nodeadm v0.0.0-20240229193347-cfab22a10647/go.mod h1:9NafTAUHL0FlMeL6Cu5PXnMZ1q/LnC9X2emLXHsVbM8= -github.com/awslabs/operatorpkg v0.0.0-20250909182303-e8e550b6f339 h1:p4oSlQ9IaT7/DHfgcrs9zdNhdIp37VIMujZLuxSgECk= -github.com/awslabs/operatorpkg v0.0.0-20250909182303-e8e550b6f339/go.mod h1:tNmCf0qIjaGbODGbm3DM8GIKBUvvxM7iW3KHbpSnVgw= -github.com/awslabs/operatorpkg/aws v0.0.0-20250414225955-b47cd315ffe9 h1:Li3ZDz/k5Ob9gRzBvZ5qP3zaE183FWaBTYKayURTub8= -github.com/awslabs/operatorpkg/aws v0.0.0-20250414225955-b47cd315ffe9/go.mod h1:XuupixySxAZwqT/PRxIce7JqAI8NaKUer/TIdm3OMA4= -github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= -github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= -github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/emicklei/go-restful/v3 v3.12.2 h1:DhwDP0vY3k8ZzE0RunuJy8GhNpPL6zqLkDf9B/a0/xU= -github.com/emicklei/go-restful/v3 v3.12.2/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= -github.com/evanphx/json-patch v5.9.11+incompatible h1:ixHHqfcGvxhWkniF1tWxBHA0yb4Z+d1UQi45df52xW8= -github.com/evanphx/json-patch v5.9.11+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch/v5 v5.9.11 h1:/8HVnzMq13/3x9TPvjG08wUGqBTmZBsCWzjTM0wiaDU= -github.com/evanphx/json-patch/v5 v5.9.11/go.mod h1:3j+LviiESTElxA4p3EMKAB9HXj3/XEtnUf6OZxqIQTM= -github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k= -github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0= github.com/fxamacker/cbor/v2 v2.9.0 h1:NpKPmjDBgUfBms6tr6JZkTHtfFGcMKsw3eGcmD/sapM= github.com/fxamacker/cbor/v2 v2.9.0/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ= github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/go-logr/zapr v1.3.0 h1:XGdV8XW8zdwFiwOA2Dryh1gj2KRQyOOoNmBy4EplIcQ= -github.com/go-logr/zapr v1.3.0/go.mod h1:YKepepNBd1u/oyhd/yQmtjVXmm9uML4IXUgMOwR8/Gg= -github.com/go-openapi/jsonpointer v0.21.1 h1:whnzv/pNXtK2FbX/W9yJfRmE2gsmkfahjMKB0fZvcic= -github.com/go-openapi/jsonpointer v0.21.1/go.mod h1:50I1STOfbY1ycR8jGz8DaMeLCdXiI6aDteEdRNNzpdk= -github.com/go-openapi/jsonreference v0.21.0 h1:Rs+Y7hSXT83Jacb7kFyjn4ijOuVGSvOdF2+tg1TRrwQ= -github.com/go-openapi/jsonreference v0.21.0/go.mod h1:LmZmgsrTkVg9LG4EaHeY8cBDslNPMo06cago5JNLkm4= -github.com/go-openapi/swag v0.23.1 h1:lpsStH0n2ittzTnbaSloVZLuB5+fvSY/+hnagBjSNZU= -github.com/go-openapi/swag v0.23.1/go.mod h1:STZs8TbRvEQQKUA+JZNAm3EWlgaOBGpyFDqQnDHMef0= -github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI= -github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/google/btree v1.1.3 h1:CVpQJjYgC4VbzxeGVHfvZrv1ctoYCAI8vbl07Fcxlyg= -github.com/google/btree v1.1.3/go.mod h1:qOPhT0dTNdNzV6Z/lhRX0YXUafgPLFUh+gZMl761Gm4= -github.com/google/gnostic-models v0.7.0 h1:qwTtogB15McXDaNqTZdzPJRHvaVJlAl+HVQnLmJEJxo= -github.com/google/gnostic-models v0.7.0/go.mod h1:whL5G0m6dmc5cPxKc5bdKdEN3UjI7OUGxBlw57miDrQ= github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= -github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/pprof v0.0.0-20260115054156-294ebfa9ad83 h1:z2ogiKUYzX5Is6zr/vP9vJGqPwcdqsWjOt+V8J7+bTc= -github.com/google/pprof v0.0.0-20260115054156-294ebfa9ad83/go.mod h1:MxpfABSjhmINe3F1It9d+8exIHFvUqtLIRCdOGNXqiI= -github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= -github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/imdario/mergo v0.3.16 h1:wwQJbIsHYGMUyLSPrEq1CT16AhnhNJQ51+4fdHUnCl4= -github.com/imdario/mergo v0.3.16/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+hD27ysY= -github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= -github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= -github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= -github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/klauspost/compress v1.18.0 h1:c/Cqfb0r+Yi+JtIEq73FWXVkRonBlf0CRNYc8Zttxdo= -github.com/klauspost/compress v1.18.0/go.mod h1:2Pp+KzxcywXVXMr50+X0Q/Lsb43OQHYWRCY2AiWywWQ= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= -github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= -github.com/mailru/easyjson v0.9.0 h1:PrnmzHw7262yW8sTBwxi1PdJA3Iw/EKBa8psRf7d9a4= -github.com/mailru/easyjson v0.9.0/go.mod h1:1+xMtQp2MRNVL/V1bOzuP3aP8VNwRW55fQUto+XFtTU= -github.com/mitchellh/hashstructure/v2 v2.0.2 h1:vGKWl0YJqUNxE8d+h8f6NJLcCJrgbhC4NcD46KavDd4= -github.com/mitchellh/hashstructure/v2 v2.0.2/go.mod h1:MG3aRVU/N29oo/V/IhBX8GR/zz4kQkprJgF2EVszyDE= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee h1:W5t00kpgFdJifH4BDsTlE89Zl93FEloxaWZfGcifgq8= github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= -github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/onsi/ginkgo/v2 v2.28.1 h1:S4hj+HbZp40fNKuLUQOYLDgZLwNUVn19N3Atb98NCyI= -github.com/onsi/ginkgo/v2 v2.28.1/go.mod h1:CLtbVInNckU3/+gC8LzkGUb9oF+e8W8TdUsxPwvdOgE= -github.com/onsi/gomega v1.39.1 h1:1IJLAad4zjPn2PsnhH70V4DKRFlrCzGBNrNaru+Vf28= -github.com/onsi/gomega v1.39.1/go.mod h1:hL6yVALoTOxeWudERyfppUcZXjMwIMLnuSfruD2lcfg= github.com/openshift/api v0.0.0-20260304122341-cf5d8996109f h1:M8y0oBq/KRkuSNFlUMQRAn2MrXJh1mzTCFgbLpPWQbM= github.com/openshift/api v0.0.0-20260304122341-cf5d8996109f/go.mod h1:d5uzF0YN2nQQFA0jIEWzzOZ+edmo6wzlGLvx5Fhz4uY= -github.com/openshift/aws-karpenter-provider-aws v0.0.0-20260207025257-2e871ee4d207 h1:gLln7Mf87FFVV99cxf4Ai+LQohBopKIJ3OtXGz3Z2v4= -github.com/openshift/aws-karpenter-provider-aws v0.0.0-20260207025257-2e871ee4d207/go.mod h1:5WmnsSvkafGWUg2MPFTew5z2TVD2+aK3VNlNFGOid3A= -github.com/openshift/kubernetes-sigs-karpenter v0.0.0-20260206012902-048debf98313 h1:9JOEcMJRXFcyRa5XMlLDVEiKn90M5JftfgoB6hC4V4g= -github.com/openshift/kubernetes-sigs-karpenter v0.0.0-20260206012902-048debf98313/go.mod h1:neqRRLu6knyM5iLTWbxZxh8UsxrIvjE5CI14n2P2+A4= -github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc= -github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ= -github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4= -github.com/pelletier/go-toml/v2 v2.2.4/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v1.23.2 h1:Je96obch5RDVy3FDMndoUsjAhG5Edi49h0RJWRi/o0o= -github.com/prometheus/client_golang v1.23.2/go.mod h1:Tb1a6LWHB3/SPIzCoaDXI4I8UHKeFTEQ1YCr+0Gyqmg= -github.com/prometheus/client_model v0.6.2 h1:oBsgwpGs7iVziMvrGhE53c/GrLUsZdHnqNwqPLxwZyk= -github.com/prometheus/client_model v0.6.2/go.mod h1:y3m2F6Gdpfy6Ut/GBsUqTWZqCUvMVzSfMLjcu6wAwpE= -github.com/prometheus/common v0.67.5 h1:pIgK94WWlQt1WLwAC5j2ynLaBRDiinoAb86HZHTUGI4= -github.com/prometheus/common v0.67.5/go.mod h1:SjE/0MzDEEAyrdr5Gqc6G+sXI67maCxzaT3A2+HqjUw= -github.com/prometheus/procfs v0.16.1 h1:hZ15bTNuirocR6u0JZ6BAHHmwS1p8B4P6MRqxtzMyRg= -github.com/prometheus/procfs v0.16.1/go.mod h1:teAbpZRB1iIAJYREa1LsoWUXykVXA1KlTmWl8x/U+Is= -github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs= -github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro= github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ= github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc= -github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/samber/lo v1.51.0 h1:kysRYLbHy/MB7kQZf5DSN50JHmMsNEdeY24VzJFu7wI= -github.com/samber/lo v1.51.0/go.mod h1:4+MXEGsJzbKGaUEQFKBq2xtfuznW9oz/WrgyzMzRoM0= -github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU= -github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4= -github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk= github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= -github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= @@ -163,96 +43,52 @@ github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM= github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= -go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= -go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= -go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -go.uber.org/zap v1.27.1 h1:08RqriUEv8+ArZRYSTXy1LeBScaMpVSTBhCeaZYfMYc= -go.uber.org/zap v1.27.1/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E= go.yaml.in/yaml/v2 v2.4.3 h1:6gvOSjQoTB3vt1l+CU+tSyi/HOjfOjRLJ4YwYZGwRO0= go.yaml.in/yaml/v2 v2.4.3/go.mod h1:zSxWcmIDjOzPXpjlTTbAsKokqkDNAVtZO0WOMiT90s8= -go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc= -go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.33.0 h1:tHFzIWbBifEmbwtGz65eaWyGiGZatSrT9prnU8DbVL8= -golang.org/x/mod v0.33.0/go.mod h1:swjeQEj+6r7fODbD2cqrnje9PnziFuw4bmLbBZFrQ5w= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.51.0 h1:94R/GTO7mt3/4wIKpcR5gkGmRLOuE/2hNGeWq/GBIFo= golang.org/x/net v0.51.0/go.mod h1:aamm+2QF5ogm02fjy5Bb7CQ0WMt1/WVM7FtyaTLlA9Y= -golang.org/x/oauth2 v0.35.0 h1:Mv2mzuHuZuY2+bkyWXIHMfhNdJAdwW3FuWeCPYN5GVQ= -golang.org/x/oauth2 v0.35.0/go.mod h1:lzm5WQJQwKZ3nwavOZ3IS5Aulzxi68dUSgRHujetwEA= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.19.0 h1:vV+1eWNmZ5geRlYjzm2adRgW2/mcpevXNg50YZtPCE4= -golang.org/x/sync v0.19.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.41.0 h1:Ivj+2Cp/ylzLiEU89QhWblYnOE9zerudt9Ftecq2C6k= -golang.org/x/sys v0.41.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= -golang.org/x/term v0.40.0 h1:36e4zGLqU4yhjlmxEaagx2KuYbJq3EwY8K943ZsHcvg= -golang.org/x/term v0.40.0/go.mod h1:w2P8uVp06p2iyKKuvXIm7N/y0UCRt3UfJTfZ7oOpglM= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.34.0 h1:oL/Qq0Kdaqxa1KbNeMKwQq0reLCCaFtqu2eNuSeNHbk= golang.org/x/text v0.34.0/go.mod h1:homfLqTYRFyVYemLBFl5GgL/DWEiH5wcsQ5gSh1yziA= -golang.org/x/time v0.14.0 h1:MRx4UaLrDotUKUdCIqzPC48t1Y9hANFKIRpNx+Te8PI= -golang.org/x/time v0.14.0/go.mod h1:eL/Oa2bBBK0TkX57Fyni+NgnyQQN4LitPmob2Hjnqw4= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.42.0 h1:uNgphsn75Tdz5Ji2q36v/nsFSfR/9BRFvqhGBaJGd5k= -golang.org/x/tools v0.42.0/go.mod h1:Ma6lCIwGZvHK6XtgbswSoWroEkhugApmsXyrUmBhfr0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gomodules.xyz/jsonpatch/v2 v2.5.0 h1:JELs8RLM12qJGXU4u/TO3V25KW8GreMKl9pdkk14RM0= -gomodules.xyz/jsonpatch/v2 v2.5.0/go.mod h1:AH3dM2RI6uoBZxn3LVrfvJ3E0/9dG4cSrbuBJT4moAY= -google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE= -google.golang.org/protobuf v1.36.11/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -gopkg.in/evanphx/json-patch.v4 v4.12.0 h1:n6jtcsulIzXPJaxegRbvFNNrZDjbij7ny3gmSPG+6V4= -gopkg.in/evanphx/json-patch.v4 v4.12.0/go.mod h1:p8EYWUEYMpynmqDbY58zCKCFZw8pRWMG4EsWvDvM72M= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= k8s.io/api v0.34.3 h1:D12sTP257/jSH2vHV2EDYrb16bS7ULlHpdNdNhEw2S4= k8s.io/api v0.34.3/go.mod h1:PyVQBF886Q5RSQZOim7DybQjAbVs8g7gwJNhGtY5MBk= -k8s.io/apiextensions-apiserver v0.34.3 h1:p10fGlkDY09eWKOTeUSioxwLukJnm+KuDZdrW71y40g= -k8s.io/apiextensions-apiserver v0.34.3/go.mod h1:aujxvqGFRdb/cmXYfcRTeppN7S2XV/t7WMEc64zB5A0= k8s.io/apimachinery v0.34.3 h1:/TB+SFEiQvN9HPldtlWOTp0hWbJ+fjU+wkxysf/aQnE= k8s.io/apimachinery v0.34.3/go.mod h1:/GwIlEcWuTX9zKIg2mbw0LRFIsXwrfoVxn+ef0X13lw= -k8s.io/client-go v0.34.3 h1:wtYtpzy/OPNYf7WyNBTj3iUA0XaBHVqhv4Iv3tbrF5A= -k8s.io/client-go v0.34.3/go.mod h1:OxxeYagaP9Kdf78UrKLa3YZixMCfP6bgPwPwNBQBzpM= -k8s.io/cloud-provider v0.34.1 h1:FS+4C1vq9pIngd/5LR5Jha1sEbn+fo0HJitgZmUyBNc= -k8s.io/cloud-provider v0.34.1/go.mod h1:ghyQYfQIWZAXKNS+TEgEiQ8wPuhzIVt3wFO6rKqS/rQ= -k8s.io/component-base v0.34.3 h1:zsEgw6ELqK0XncCQomgO9DpUIzlrYuZYA0Cgo+JWpVk= -k8s.io/component-base v0.34.3/go.mod h1:5iIlD8wPfWE/xSHTRfbjuvUul2WZbI2nOUK65XL0E/c= -k8s.io/component-helpers v0.34.2 h1:RIUGDdU+QFzeVKLZ9f05sXTNAtJrRJ3bnbMLrogCrvM= -k8s.io/component-helpers v0.34.2/go.mod h1:pLi+GByuRTeFjjcezln8gHL7LcT6HImkwVQ3A2SQaEE= -k8s.io/csi-translation-lib v0.34.1 h1:8+QMIWBwPGFsqWw9eAvimA2GaHXGgLLYT61I1NzDnXw= -k8s.io/csi-translation-lib v0.34.1/go.mod h1:QXytPJ1KzYQaiMgVm82ANG+RGAUf276m8l9gFT+R6Xg= k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk= k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE= -k8s.io/kube-openapi v0.0.0-20250710124328-f3f2b991d03b h1:MloQ9/bdJyIu9lb1PzujOPolHyvO06MXG5TUIj2mNAA= -k8s.io/kube-openapi v0.0.0-20250710124328-f3f2b991d03b/go.mod h1:UZ2yyWbFTpuhSbFhv24aGNOdoRdJZgsIObGBUaYVsts= k8s.io/utils v0.0.0-20260108192941-914a6e750570 h1:JT4W8lsdrGENg9W+YwwdLJxklIuKWdRm+BC+xt33FOY= k8s.io/utils v0.0.0-20260108192941-914a6e750570/go.mod h1:xDxuJ0whA3d0I4mf/C4ppKHxXynQ+fxnkmQH0vTHnuk= -sigs.k8s.io/controller-runtime v0.22.4 h1:GEjV7KV3TY8e+tJ2LCTxUTanW4z/FmNB7l327UfMq9A= -sigs.k8s.io/controller-runtime v0.22.4/go.mod h1:+QX1XUpTXN4mLoblf4tqr5CQcyHPAki2HLXqQMY6vh8= sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 h1:IpInykpT6ceI+QxKBbEflcR5EXP7sU1kvOlxwZh5txg= sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg= sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU= diff --git a/api/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/LICENSE.txt b/api/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/LICENSE.txt deleted file mode 100644 index d64569567334..000000000000 --- a/api/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/api/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/enums.go b/api/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/enums.go deleted file mode 100644 index 64c4cbea3af2..000000000000 --- a/api/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/enums.go +++ /dev/null @@ -1,12252 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package types - -type AcceleratorManufacturer string - -// Enum values for AcceleratorManufacturer -const ( - AcceleratorManufacturerAmazonWebServices AcceleratorManufacturer = "amazon-web-services" - AcceleratorManufacturerAmd AcceleratorManufacturer = "amd" - AcceleratorManufacturerNvidia AcceleratorManufacturer = "nvidia" - AcceleratorManufacturerXilinx AcceleratorManufacturer = "xilinx" - AcceleratorManufacturerHabana AcceleratorManufacturer = "habana" -) - -// Values returns all known values for AcceleratorManufacturer. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AcceleratorManufacturer) Values() []AcceleratorManufacturer { - return []AcceleratorManufacturer{ - "amazon-web-services", - "amd", - "nvidia", - "xilinx", - "habana", - } -} - -type AcceleratorName string - -// Enum values for AcceleratorName -const ( - AcceleratorNameA100 AcceleratorName = "a100" - AcceleratorNameInferentia AcceleratorName = "inferentia" - AcceleratorNameK520 AcceleratorName = "k520" - AcceleratorNameK80 AcceleratorName = "k80" - AcceleratorNameM60 AcceleratorName = "m60" - AcceleratorNameRadeonProV520 AcceleratorName = "radeon-pro-v520" - AcceleratorNameT4 AcceleratorName = "t4" - AcceleratorNameVu9p AcceleratorName = "vu9p" - AcceleratorNameV100 AcceleratorName = "v100" - AcceleratorNameA10g AcceleratorName = "a10g" - AcceleratorNameH100 AcceleratorName = "h100" - AcceleratorNameT4g AcceleratorName = "t4g" - AcceleratorNameL40s AcceleratorName = "l40s" - AcceleratorNameL4 AcceleratorName = "l4" - AcceleratorNameGaudiHl205 AcceleratorName = "gaudi-hl-205" - AcceleratorNameInferentia2 AcceleratorName = "inferentia2" - AcceleratorNameTrainium AcceleratorName = "trainium" - AcceleratorNameTrainium2 AcceleratorName = "trainium2" - AcceleratorNameU30 AcceleratorName = "u30" -) - -// Values returns all known values for AcceleratorName. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AcceleratorName) Values() []AcceleratorName { - return []AcceleratorName{ - "a100", - "inferentia", - "k520", - "k80", - "m60", - "radeon-pro-v520", - "t4", - "vu9p", - "v100", - "a10g", - "h100", - "t4g", - "l40s", - "l4", - "gaudi-hl-205", - "inferentia2", - "trainium", - "trainium2", - "u30", - } -} - -type AcceleratorType string - -// Enum values for AcceleratorType -const ( - AcceleratorTypeGpu AcceleratorType = "gpu" - AcceleratorTypeFpga AcceleratorType = "fpga" - AcceleratorTypeInference AcceleratorType = "inference" - AcceleratorTypeMedia AcceleratorType = "media" -) - -// Values returns all known values for AcceleratorType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AcceleratorType) Values() []AcceleratorType { - return []AcceleratorType{ - "gpu", - "fpga", - "inference", - "media", - } -} - -type AccountAttributeName string - -// Enum values for AccountAttributeName -const ( - AccountAttributeNameSupportedPlatforms AccountAttributeName = "supported-platforms" - AccountAttributeNameDefaultVpc AccountAttributeName = "default-vpc" -) - -// Values returns all known values for AccountAttributeName. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AccountAttributeName) Values() []AccountAttributeName { - return []AccountAttributeName{ - "supported-platforms", - "default-vpc", - } -} - -type ActivityStatus string - -// Enum values for ActivityStatus -const ( - ActivityStatusError ActivityStatus = "error" - ActivityStatusPendingFulfillment ActivityStatus = "pending_fulfillment" - ActivityStatusPendingTermination ActivityStatus = "pending_termination" - ActivityStatusFulfilled ActivityStatus = "fulfilled" -) - -// Values returns all known values for ActivityStatus. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ActivityStatus) Values() []ActivityStatus { - return []ActivityStatus{ - "error", - "pending_fulfillment", - "pending_termination", - "fulfilled", - } -} - -type AddressAttributeName string - -// Enum values for AddressAttributeName -const ( - AddressAttributeNameDomainName AddressAttributeName = "domain-name" -) - -// Values returns all known values for AddressAttributeName. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AddressAttributeName) Values() []AddressAttributeName { - return []AddressAttributeName{ - "domain-name", - } -} - -type AddressFamily string - -// Enum values for AddressFamily -const ( - AddressFamilyIpv4 AddressFamily = "ipv4" - AddressFamilyIpv6 AddressFamily = "ipv6" -) - -// Values returns all known values for AddressFamily. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AddressFamily) Values() []AddressFamily { - return []AddressFamily{ - "ipv4", - "ipv6", - } -} - -type AddressTransferStatus string - -// Enum values for AddressTransferStatus -const ( - AddressTransferStatusPending AddressTransferStatus = "pending" - AddressTransferStatusDisabled AddressTransferStatus = "disabled" - AddressTransferStatusAccepted AddressTransferStatus = "accepted" -) - -// Values returns all known values for AddressTransferStatus. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AddressTransferStatus) Values() []AddressTransferStatus { - return []AddressTransferStatus{ - "pending", - "disabled", - "accepted", - } -} - -type Affinity string - -// Enum values for Affinity -const ( - AffinityDefault Affinity = "default" - AffinityHost Affinity = "host" -) - -// Values returns all known values for Affinity. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (Affinity) Values() []Affinity { - return []Affinity{ - "default", - "host", - } -} - -type AllocationState string - -// Enum values for AllocationState -const ( - AllocationStateAvailable AllocationState = "available" - AllocationStateUnderAssessment AllocationState = "under-assessment" - AllocationStatePermanentFailure AllocationState = "permanent-failure" - AllocationStateReleased AllocationState = "released" - AllocationStateReleasedPermanentFailure AllocationState = "released-permanent-failure" - AllocationStatePending AllocationState = "pending" -) - -// Values returns all known values for AllocationState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AllocationState) Values() []AllocationState { - return []AllocationState{ - "available", - "under-assessment", - "permanent-failure", - "released", - "released-permanent-failure", - "pending", - } -} - -type AllocationStrategy string - -// Enum values for AllocationStrategy -const ( - AllocationStrategyLowestPrice AllocationStrategy = "lowestPrice" - AllocationStrategyDiversified AllocationStrategy = "diversified" - AllocationStrategyCapacityOptimized AllocationStrategy = "capacityOptimized" - AllocationStrategyCapacityOptimizedPrioritized AllocationStrategy = "capacityOptimizedPrioritized" - AllocationStrategyPriceCapacityOptimized AllocationStrategy = "priceCapacityOptimized" -) - -// Values returns all known values for AllocationStrategy. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AllocationStrategy) Values() []AllocationStrategy { - return []AllocationStrategy{ - "lowestPrice", - "diversified", - "capacityOptimized", - "capacityOptimizedPrioritized", - "priceCapacityOptimized", - } -} - -type AllocationType string - -// Enum values for AllocationType -const ( - AllocationTypeUsed AllocationType = "used" - AllocationTypeFuture AllocationType = "future" -) - -// Values returns all known values for AllocationType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AllocationType) Values() []AllocationType { - return []AllocationType{ - "used", - "future", - } -} - -type AllowedImagesSettingsDisabledState string - -// Enum values for AllowedImagesSettingsDisabledState -const ( - AllowedImagesSettingsDisabledStateDisabled AllowedImagesSettingsDisabledState = "disabled" -) - -// Values returns all known values for AllowedImagesSettingsDisabledState. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AllowedImagesSettingsDisabledState) Values() []AllowedImagesSettingsDisabledState { - return []AllowedImagesSettingsDisabledState{ - "disabled", - } -} - -type AllowedImagesSettingsEnabledState string - -// Enum values for AllowedImagesSettingsEnabledState -const ( - AllowedImagesSettingsEnabledStateEnabled AllowedImagesSettingsEnabledState = "enabled" - AllowedImagesSettingsEnabledStateAuditMode AllowedImagesSettingsEnabledState = "audit-mode" -) - -// Values returns all known values for AllowedImagesSettingsEnabledState. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AllowedImagesSettingsEnabledState) Values() []AllowedImagesSettingsEnabledState { - return []AllowedImagesSettingsEnabledState{ - "enabled", - "audit-mode", - } -} - -type AllowsMultipleInstanceTypes string - -// Enum values for AllowsMultipleInstanceTypes -const ( - AllowsMultipleInstanceTypesOn AllowsMultipleInstanceTypes = "on" - AllowsMultipleInstanceTypesOff AllowsMultipleInstanceTypes = "off" -) - -// Values returns all known values for AllowsMultipleInstanceTypes. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AllowsMultipleInstanceTypes) Values() []AllowsMultipleInstanceTypes { - return []AllowsMultipleInstanceTypes{ - "on", - "off", - } -} - -type AmdSevSnpSpecification string - -// Enum values for AmdSevSnpSpecification -const ( - AmdSevSnpSpecificationEnabled AmdSevSnpSpecification = "enabled" - AmdSevSnpSpecificationDisabled AmdSevSnpSpecification = "disabled" -) - -// Values returns all known values for AmdSevSnpSpecification. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AmdSevSnpSpecification) Values() []AmdSevSnpSpecification { - return []AmdSevSnpSpecification{ - "enabled", - "disabled", - } -} - -type AnalysisStatus string - -// Enum values for AnalysisStatus -const ( - AnalysisStatusRunning AnalysisStatus = "running" - AnalysisStatusSucceeded AnalysisStatus = "succeeded" - AnalysisStatusFailed AnalysisStatus = "failed" -) - -// Values returns all known values for AnalysisStatus. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AnalysisStatus) Values() []AnalysisStatus { - return []AnalysisStatus{ - "running", - "succeeded", - "failed", - } -} - -type ApplianceModeSupportValue string - -// Enum values for ApplianceModeSupportValue -const ( - ApplianceModeSupportValueEnable ApplianceModeSupportValue = "enable" - ApplianceModeSupportValueDisable ApplianceModeSupportValue = "disable" -) - -// Values returns all known values for ApplianceModeSupportValue. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ApplianceModeSupportValue) Values() []ApplianceModeSupportValue { - return []ApplianceModeSupportValue{ - "enable", - "disable", - } -} - -type ArchitectureType string - -// Enum values for ArchitectureType -const ( - ArchitectureTypeI386 ArchitectureType = "i386" - ArchitectureTypeX8664 ArchitectureType = "x86_64" - ArchitectureTypeArm64 ArchitectureType = "arm64" - ArchitectureTypeX8664Mac ArchitectureType = "x86_64_mac" - ArchitectureTypeArm64Mac ArchitectureType = "arm64_mac" -) - -// Values returns all known values for ArchitectureType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ArchitectureType) Values() []ArchitectureType { - return []ArchitectureType{ - "i386", - "x86_64", - "arm64", - "x86_64_mac", - "arm64_mac", - } -} - -type ArchitectureValues string - -// Enum values for ArchitectureValues -const ( - ArchitectureValuesI386 ArchitectureValues = "i386" - ArchitectureValuesX8664 ArchitectureValues = "x86_64" - ArchitectureValuesArm64 ArchitectureValues = "arm64" - ArchitectureValuesX8664Mac ArchitectureValues = "x86_64_mac" - ArchitectureValuesArm64Mac ArchitectureValues = "arm64_mac" -) - -// Values returns all known values for ArchitectureValues. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ArchitectureValues) Values() []ArchitectureValues { - return []ArchitectureValues{ - "i386", - "x86_64", - "arm64", - "x86_64_mac", - "arm64_mac", - } -} - -type AsnAssociationState string - -// Enum values for AsnAssociationState -const ( - AsnAssociationStateDisassociated AsnAssociationState = "disassociated" - AsnAssociationStateFailedDisassociation AsnAssociationState = "failed-disassociation" - AsnAssociationStateFailedAssociation AsnAssociationState = "failed-association" - AsnAssociationStatePendingDisassociation AsnAssociationState = "pending-disassociation" - AsnAssociationStatePendingAssociation AsnAssociationState = "pending-association" - AsnAssociationStateAssociated AsnAssociationState = "associated" -) - -// Values returns all known values for AsnAssociationState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AsnAssociationState) Values() []AsnAssociationState { - return []AsnAssociationState{ - "disassociated", - "failed-disassociation", - "failed-association", - "pending-disassociation", - "pending-association", - "associated", - } -} - -type AsnState string - -// Enum values for AsnState -const ( - AsnStateDeprovisioned AsnState = "deprovisioned" - AsnStateFailedDeprovision AsnState = "failed-deprovision" - AsnStateFailedProvision AsnState = "failed-provision" - AsnStatePendingDeprovision AsnState = "pending-deprovision" - AsnStatePendingProvision AsnState = "pending-provision" - AsnStateProvisioned AsnState = "provisioned" -) - -// Values returns all known values for AsnState. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AsnState) Values() []AsnState { - return []AsnState{ - "deprovisioned", - "failed-deprovision", - "failed-provision", - "pending-deprovision", - "pending-provision", - "provisioned", - } -} - -type AssociatedNetworkType string - -// Enum values for AssociatedNetworkType -const ( - AssociatedNetworkTypeVpc AssociatedNetworkType = "vpc" -) - -// Values returns all known values for AssociatedNetworkType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AssociatedNetworkType) Values() []AssociatedNetworkType { - return []AssociatedNetworkType{ - "vpc", - } -} - -type AssociationStatusCode string - -// Enum values for AssociationStatusCode -const ( - AssociationStatusCodeAssociating AssociationStatusCode = "associating" - AssociationStatusCodeAssociated AssociationStatusCode = "associated" - AssociationStatusCodeAssociationFailed AssociationStatusCode = "association-failed" - AssociationStatusCodeDisassociating AssociationStatusCode = "disassociating" - AssociationStatusCodeDisassociated AssociationStatusCode = "disassociated" -) - -// Values returns all known values for AssociationStatusCode. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AssociationStatusCode) Values() []AssociationStatusCode { - return []AssociationStatusCode{ - "associating", - "associated", - "association-failed", - "disassociating", - "disassociated", - } -} - -type AttachmentLimitType string - -// Enum values for AttachmentLimitType -const ( - AttachmentLimitTypeShared AttachmentLimitType = "shared" - AttachmentLimitTypeDedicated AttachmentLimitType = "dedicated" -) - -// Values returns all known values for AttachmentLimitType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AttachmentLimitType) Values() []AttachmentLimitType { - return []AttachmentLimitType{ - "shared", - "dedicated", - } -} - -type AttachmentStatus string - -// Enum values for AttachmentStatus -const ( - AttachmentStatusAttaching AttachmentStatus = "attaching" - AttachmentStatusAttached AttachmentStatus = "attached" - AttachmentStatusDetaching AttachmentStatus = "detaching" - AttachmentStatusDetached AttachmentStatus = "detached" -) - -// Values returns all known values for AttachmentStatus. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AttachmentStatus) Values() []AttachmentStatus { - return []AttachmentStatus{ - "attaching", - "attached", - "detaching", - "detached", - } -} - -type AutoAcceptSharedAssociationsValue string - -// Enum values for AutoAcceptSharedAssociationsValue -const ( - AutoAcceptSharedAssociationsValueEnable AutoAcceptSharedAssociationsValue = "enable" - AutoAcceptSharedAssociationsValueDisable AutoAcceptSharedAssociationsValue = "disable" -) - -// Values returns all known values for AutoAcceptSharedAssociationsValue. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AutoAcceptSharedAssociationsValue) Values() []AutoAcceptSharedAssociationsValue { - return []AutoAcceptSharedAssociationsValue{ - "enable", - "disable", - } -} - -type AutoAcceptSharedAttachmentsValue string - -// Enum values for AutoAcceptSharedAttachmentsValue -const ( - AutoAcceptSharedAttachmentsValueEnable AutoAcceptSharedAttachmentsValue = "enable" - AutoAcceptSharedAttachmentsValueDisable AutoAcceptSharedAttachmentsValue = "disable" -) - -// Values returns all known values for AutoAcceptSharedAttachmentsValue. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AutoAcceptSharedAttachmentsValue) Values() []AutoAcceptSharedAttachmentsValue { - return []AutoAcceptSharedAttachmentsValue{ - "enable", - "disable", - } -} - -type AutoPlacement string - -// Enum values for AutoPlacement -const ( - AutoPlacementOn AutoPlacement = "on" - AutoPlacementOff AutoPlacement = "off" -) - -// Values returns all known values for AutoPlacement. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AutoPlacement) Values() []AutoPlacement { - return []AutoPlacement{ - "on", - "off", - } -} - -type AutoProvisionZonesState string - -// Enum values for AutoProvisionZonesState -const ( - AutoProvisionZonesStateEnabled AutoProvisionZonesState = "enabled" - AutoProvisionZonesStateDisabled AutoProvisionZonesState = "disabled" -) - -// Values returns all known values for AutoProvisionZonesState. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AutoProvisionZonesState) Values() []AutoProvisionZonesState { - return []AutoProvisionZonesState{ - "enabled", - "disabled", - } -} - -type AutoScalingIpsState string - -// Enum values for AutoScalingIpsState -const ( - AutoScalingIpsStateEnabled AutoScalingIpsState = "enabled" - AutoScalingIpsStateDisabled AutoScalingIpsState = "disabled" -) - -// Values returns all known values for AutoScalingIpsState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AutoScalingIpsState) Values() []AutoScalingIpsState { - return []AutoScalingIpsState{ - "enabled", - "disabled", - } -} - -type AvailabilityMode string - -// Enum values for AvailabilityMode -const ( - AvailabilityModeZonal AvailabilityMode = "zonal" - AvailabilityModeRegional AvailabilityMode = "regional" -) - -// Values returns all known values for AvailabilityMode. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AvailabilityMode) Values() []AvailabilityMode { - return []AvailabilityMode{ - "zonal", - "regional", - } -} - -type AvailabilityZoneOptInStatus string - -// Enum values for AvailabilityZoneOptInStatus -const ( - AvailabilityZoneOptInStatusOptInNotRequired AvailabilityZoneOptInStatus = "opt-in-not-required" - AvailabilityZoneOptInStatusOptedIn AvailabilityZoneOptInStatus = "opted-in" - AvailabilityZoneOptInStatusNotOptedIn AvailabilityZoneOptInStatus = "not-opted-in" -) - -// Values returns all known values for AvailabilityZoneOptInStatus. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AvailabilityZoneOptInStatus) Values() []AvailabilityZoneOptInStatus { - return []AvailabilityZoneOptInStatus{ - "opt-in-not-required", - "opted-in", - "not-opted-in", - } -} - -type AvailabilityZoneState string - -// Enum values for AvailabilityZoneState -const ( - AvailabilityZoneStateAvailable AvailabilityZoneState = "available" - AvailabilityZoneStateInformation AvailabilityZoneState = "information" - AvailabilityZoneStateImpaired AvailabilityZoneState = "impaired" - AvailabilityZoneStateUnavailable AvailabilityZoneState = "unavailable" - AvailabilityZoneStateConstrained AvailabilityZoneState = "constrained" -) - -// Values returns all known values for AvailabilityZoneState. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AvailabilityZoneState) Values() []AvailabilityZoneState { - return []AvailabilityZoneState{ - "available", - "information", - "impaired", - "unavailable", - "constrained", - } -} - -type BandwidthWeightingType string - -// Enum values for BandwidthWeightingType -const ( - BandwidthWeightingTypeDefault BandwidthWeightingType = "default" - BandwidthWeightingTypeVpc1 BandwidthWeightingType = "vpc-1" - BandwidthWeightingTypeEbs1 BandwidthWeightingType = "ebs-1" -) - -// Values returns all known values for BandwidthWeightingType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (BandwidthWeightingType) Values() []BandwidthWeightingType { - return []BandwidthWeightingType{ - "default", - "vpc-1", - "ebs-1", - } -} - -type BareMetal string - -// Enum values for BareMetal -const ( - BareMetalIncluded BareMetal = "included" - BareMetalRequired BareMetal = "required" - BareMetalExcluded BareMetal = "excluded" -) - -// Values returns all known values for BareMetal. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (BareMetal) Values() []BareMetal { - return []BareMetal{ - "included", - "required", - "excluded", - } -} - -type BatchState string - -// Enum values for BatchState -const ( - BatchStateSubmitted BatchState = "submitted" - BatchStateActive BatchState = "active" - BatchStateCancelled BatchState = "cancelled" - BatchStateFailed BatchState = "failed" - BatchStateCancelledRunning BatchState = "cancelled_running" - BatchStateCancelledTerminatingInstances BatchState = "cancelled_terminating" - BatchStateModifying BatchState = "modifying" -) - -// Values returns all known values for BatchState. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (BatchState) Values() []BatchState { - return []BatchState{ - "submitted", - "active", - "cancelled", - "failed", - "cancelled_running", - "cancelled_terminating", - "modifying", - } -} - -type BgpStatus string - -// Enum values for BgpStatus -const ( - BgpStatusUp BgpStatus = "up" - BgpStatusDown BgpStatus = "down" -) - -// Values returns all known values for BgpStatus. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (BgpStatus) Values() []BgpStatus { - return []BgpStatus{ - "up", - "down", - } -} - -type BlockPublicAccessMode string - -// Enum values for BlockPublicAccessMode -const ( - BlockPublicAccessModeOff BlockPublicAccessMode = "off" - BlockPublicAccessModeBlockBidirectional BlockPublicAccessMode = "block-bidirectional" - BlockPublicAccessModeBlockIngress BlockPublicAccessMode = "block-ingress" -) - -// Values returns all known values for BlockPublicAccessMode. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (BlockPublicAccessMode) Values() []BlockPublicAccessMode { - return []BlockPublicAccessMode{ - "off", - "block-bidirectional", - "block-ingress", - } -} - -type BootModeType string - -// Enum values for BootModeType -const ( - BootModeTypeLegacyBios BootModeType = "legacy-bios" - BootModeTypeUefi BootModeType = "uefi" -) - -// Values returns all known values for BootModeType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (BootModeType) Values() []BootModeType { - return []BootModeType{ - "legacy-bios", - "uefi", - } -} - -type BootModeValues string - -// Enum values for BootModeValues -const ( - BootModeValuesLegacyBios BootModeValues = "legacy-bios" - BootModeValuesUefi BootModeValues = "uefi" - BootModeValuesUefiPreferred BootModeValues = "uefi-preferred" -) - -// Values returns all known values for BootModeValues. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (BootModeValues) Values() []BootModeValues { - return []BootModeValues{ - "legacy-bios", - "uefi", - "uefi-preferred", - } -} - -type BundleTaskState string - -// Enum values for BundleTaskState -const ( - BundleTaskStatePending BundleTaskState = "pending" - BundleTaskStateWaitingForShutdown BundleTaskState = "waiting-for-shutdown" - BundleTaskStateBundling BundleTaskState = "bundling" - BundleTaskStateStoring BundleTaskState = "storing" - BundleTaskStateCancelling BundleTaskState = "cancelling" - BundleTaskStateComplete BundleTaskState = "complete" - BundleTaskStateFailed BundleTaskState = "failed" -) - -// Values returns all known values for BundleTaskState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (BundleTaskState) Values() []BundleTaskState { - return []BundleTaskState{ - "pending", - "waiting-for-shutdown", - "bundling", - "storing", - "cancelling", - "complete", - "failed", - } -} - -type BurstablePerformance string - -// Enum values for BurstablePerformance -const ( - BurstablePerformanceIncluded BurstablePerformance = "included" - BurstablePerformanceRequired BurstablePerformance = "required" - BurstablePerformanceExcluded BurstablePerformance = "excluded" -) - -// Values returns all known values for BurstablePerformance. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (BurstablePerformance) Values() []BurstablePerformance { - return []BurstablePerformance{ - "included", - "required", - "excluded", - } -} - -type ByoipCidrState string - -// Enum values for ByoipCidrState -const ( - ByoipCidrStateAdvertised ByoipCidrState = "advertised" - ByoipCidrStateDeprovisioned ByoipCidrState = "deprovisioned" - ByoipCidrStateFailedDeprovision ByoipCidrState = "failed-deprovision" - ByoipCidrStateFailedProvision ByoipCidrState = "failed-provision" - ByoipCidrStatePendingAdvertising ByoipCidrState = "pending-advertising" - ByoipCidrStatePendingDeprovision ByoipCidrState = "pending-deprovision" - ByoipCidrStatePendingProvision ByoipCidrState = "pending-provision" - ByoipCidrStatePendingWithdrawal ByoipCidrState = "pending-withdrawal" - ByoipCidrStateProvisioned ByoipCidrState = "provisioned" - ByoipCidrStateProvisionedNotPubliclyAdvertisable ByoipCidrState = "provisioned-not-publicly-advertisable" -) - -// Values returns all known values for ByoipCidrState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ByoipCidrState) Values() []ByoipCidrState { - return []ByoipCidrState{ - "advertised", - "deprovisioned", - "failed-deprovision", - "failed-provision", - "pending-advertising", - "pending-deprovision", - "pending-provision", - "pending-withdrawal", - "provisioned", - "provisioned-not-publicly-advertisable", - } -} - -type CallerRole string - -// Enum values for CallerRole -const ( - CallerRoleOdcrOwner CallerRole = "odcr-owner" - CallerRoleUnusedReservationBillingOwner CallerRole = "unused-reservation-billing-owner" -) - -// Values returns all known values for CallerRole. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CallerRole) Values() []CallerRole { - return []CallerRole{ - "odcr-owner", - "unused-reservation-billing-owner", - } -} - -type CancelBatchErrorCode string - -// Enum values for CancelBatchErrorCode -const ( - CancelBatchErrorCodeFleetRequestIdDoesNotExist CancelBatchErrorCode = "fleetRequestIdDoesNotExist" - CancelBatchErrorCodeFleetRequestIdMalformed CancelBatchErrorCode = "fleetRequestIdMalformed" - CancelBatchErrorCodeFleetRequestNotInCancellableState CancelBatchErrorCode = "fleetRequestNotInCancellableState" - CancelBatchErrorCodeUnexpectedError CancelBatchErrorCode = "unexpectedError" -) - -// Values returns all known values for CancelBatchErrorCode. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CancelBatchErrorCode) Values() []CancelBatchErrorCode { - return []CancelBatchErrorCode{ - "fleetRequestIdDoesNotExist", - "fleetRequestIdMalformed", - "fleetRequestNotInCancellableState", - "unexpectedError", - } -} - -type CancelSpotInstanceRequestState string - -// Enum values for CancelSpotInstanceRequestState -const ( - CancelSpotInstanceRequestStateActive CancelSpotInstanceRequestState = "active" - CancelSpotInstanceRequestStateOpen CancelSpotInstanceRequestState = "open" - CancelSpotInstanceRequestStateClosed CancelSpotInstanceRequestState = "closed" - CancelSpotInstanceRequestStateCancelled CancelSpotInstanceRequestState = "cancelled" - CancelSpotInstanceRequestStateCompleted CancelSpotInstanceRequestState = "completed" -) - -// Values returns all known values for CancelSpotInstanceRequestState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CancelSpotInstanceRequestState) Values() []CancelSpotInstanceRequestState { - return []CancelSpotInstanceRequestState{ - "active", - "open", - "closed", - "cancelled", - "completed", - } -} - -type CapacityBlockExtensionStatus string - -// Enum values for CapacityBlockExtensionStatus -const ( - CapacityBlockExtensionStatusPaymentPending CapacityBlockExtensionStatus = "payment-pending" - CapacityBlockExtensionStatusPaymentFailed CapacityBlockExtensionStatus = "payment-failed" - CapacityBlockExtensionStatusPaymentSucceeded CapacityBlockExtensionStatus = "payment-succeeded" -) - -// Values returns all known values for CapacityBlockExtensionStatus. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CapacityBlockExtensionStatus) Values() []CapacityBlockExtensionStatus { - return []CapacityBlockExtensionStatus{ - "payment-pending", - "payment-failed", - "payment-succeeded", - } -} - -type CapacityBlockInterconnectStatus string - -// Enum values for CapacityBlockInterconnectStatus -const ( - CapacityBlockInterconnectStatusOk CapacityBlockInterconnectStatus = "ok" - CapacityBlockInterconnectStatusImpaired CapacityBlockInterconnectStatus = "impaired" - CapacityBlockInterconnectStatusInsufficientData CapacityBlockInterconnectStatus = "insufficient-data" -) - -// Values returns all known values for CapacityBlockInterconnectStatus. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CapacityBlockInterconnectStatus) Values() []CapacityBlockInterconnectStatus { - return []CapacityBlockInterconnectStatus{ - "ok", - "impaired", - "insufficient-data", - } -} - -type CapacityBlockResourceState string - -// Enum values for CapacityBlockResourceState -const ( - CapacityBlockResourceStateActive CapacityBlockResourceState = "active" - CapacityBlockResourceStateExpired CapacityBlockResourceState = "expired" - CapacityBlockResourceStateUnavailable CapacityBlockResourceState = "unavailable" - CapacityBlockResourceStateCancelled CapacityBlockResourceState = "cancelled" - CapacityBlockResourceStateFailed CapacityBlockResourceState = "failed" - CapacityBlockResourceStateScheduled CapacityBlockResourceState = "scheduled" - CapacityBlockResourceStatePaymentPending CapacityBlockResourceState = "payment-pending" - CapacityBlockResourceStatePaymentFailed CapacityBlockResourceState = "payment-failed" -) - -// Values returns all known values for CapacityBlockResourceState. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CapacityBlockResourceState) Values() []CapacityBlockResourceState { - return []CapacityBlockResourceState{ - "active", - "expired", - "unavailable", - "cancelled", - "failed", - "scheduled", - "payment-pending", - "payment-failed", - } -} - -type CapacityManagerDataExportStatus string - -// Enum values for CapacityManagerDataExportStatus -const ( - CapacityManagerDataExportStatusPending CapacityManagerDataExportStatus = "pending" - CapacityManagerDataExportStatusInProgress CapacityManagerDataExportStatus = "in-progress" - CapacityManagerDataExportStatusDelivered CapacityManagerDataExportStatus = "delivered" - CapacityManagerDataExportStatusFailed CapacityManagerDataExportStatus = "failed" -) - -// Values returns all known values for CapacityManagerDataExportStatus. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CapacityManagerDataExportStatus) Values() []CapacityManagerDataExportStatus { - return []CapacityManagerDataExportStatus{ - "pending", - "in-progress", - "delivered", - "failed", - } -} - -type CapacityManagerStatus string - -// Enum values for CapacityManagerStatus -const ( - CapacityManagerStatusEnabled CapacityManagerStatus = "enabled" - CapacityManagerStatusDisabled CapacityManagerStatus = "disabled" -) - -// Values returns all known values for CapacityManagerStatus. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CapacityManagerStatus) Values() []CapacityManagerStatus { - return []CapacityManagerStatus{ - "enabled", - "disabled", - } -} - -type CapacityReservationBillingRequestStatus string - -// Enum values for CapacityReservationBillingRequestStatus -const ( - CapacityReservationBillingRequestStatusPending CapacityReservationBillingRequestStatus = "pending" - CapacityReservationBillingRequestStatusAccepted CapacityReservationBillingRequestStatus = "accepted" - CapacityReservationBillingRequestStatusRejected CapacityReservationBillingRequestStatus = "rejected" - CapacityReservationBillingRequestStatusCancelled CapacityReservationBillingRequestStatus = "cancelled" - CapacityReservationBillingRequestStatusRevoked CapacityReservationBillingRequestStatus = "revoked" - CapacityReservationBillingRequestStatusExpired CapacityReservationBillingRequestStatus = "expired" -) - -// Values returns all known values for CapacityReservationBillingRequestStatus. -// Note that this can be expanded in the future, and so it is only as up to date as -// the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CapacityReservationBillingRequestStatus) Values() []CapacityReservationBillingRequestStatus { - return []CapacityReservationBillingRequestStatus{ - "pending", - "accepted", - "rejected", - "cancelled", - "revoked", - "expired", - } -} - -type CapacityReservationDeliveryPreference string - -// Enum values for CapacityReservationDeliveryPreference -const ( - CapacityReservationDeliveryPreferenceFixed CapacityReservationDeliveryPreference = "fixed" - CapacityReservationDeliveryPreferenceIncremental CapacityReservationDeliveryPreference = "incremental" -) - -// Values returns all known values for CapacityReservationDeliveryPreference. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CapacityReservationDeliveryPreference) Values() []CapacityReservationDeliveryPreference { - return []CapacityReservationDeliveryPreference{ - "fixed", - "incremental", - } -} - -type CapacityReservationFleetState string - -// Enum values for CapacityReservationFleetState -const ( - CapacityReservationFleetStateSubmitted CapacityReservationFleetState = "submitted" - CapacityReservationFleetStateModifying CapacityReservationFleetState = "modifying" - CapacityReservationFleetStateActive CapacityReservationFleetState = "active" - CapacityReservationFleetStatePartiallyFulfilled CapacityReservationFleetState = "partially_fulfilled" - CapacityReservationFleetStateExpiring CapacityReservationFleetState = "expiring" - CapacityReservationFleetStateExpired CapacityReservationFleetState = "expired" - CapacityReservationFleetStateCancelling CapacityReservationFleetState = "cancelling" - CapacityReservationFleetStateCancelled CapacityReservationFleetState = "cancelled" - CapacityReservationFleetStateFailed CapacityReservationFleetState = "failed" -) - -// Values returns all known values for CapacityReservationFleetState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CapacityReservationFleetState) Values() []CapacityReservationFleetState { - return []CapacityReservationFleetState{ - "submitted", - "modifying", - "active", - "partially_fulfilled", - "expiring", - "expired", - "cancelling", - "cancelled", - "failed", - } -} - -type CapacityReservationInstancePlatform string - -// Enum values for CapacityReservationInstancePlatform -const ( - CapacityReservationInstancePlatformLinuxUnix CapacityReservationInstancePlatform = "Linux/UNIX" - CapacityReservationInstancePlatformRedHatEnterpriseLinux CapacityReservationInstancePlatform = "Red Hat Enterprise Linux" - CapacityReservationInstancePlatformSuseLinux CapacityReservationInstancePlatform = "SUSE Linux" - CapacityReservationInstancePlatformWindows CapacityReservationInstancePlatform = "Windows" - CapacityReservationInstancePlatformWindowsWithSqlServer CapacityReservationInstancePlatform = "Windows with SQL Server" - CapacityReservationInstancePlatformWindowsWithSqlServerEnterprise CapacityReservationInstancePlatform = "Windows with SQL Server Enterprise" - CapacityReservationInstancePlatformWindowsWithSqlServerStandard CapacityReservationInstancePlatform = "Windows with SQL Server Standard" - CapacityReservationInstancePlatformWindowsWithSqlServerWeb CapacityReservationInstancePlatform = "Windows with SQL Server Web" - CapacityReservationInstancePlatformLinuxWithSqlServerStandard CapacityReservationInstancePlatform = "Linux with SQL Server Standard" - CapacityReservationInstancePlatformLinuxWithSqlServerWeb CapacityReservationInstancePlatform = "Linux with SQL Server Web" - CapacityReservationInstancePlatformLinuxWithSqlServerEnterprise CapacityReservationInstancePlatform = "Linux with SQL Server Enterprise" - CapacityReservationInstancePlatformRhelWithSqlServerStandard CapacityReservationInstancePlatform = "RHEL with SQL Server Standard" - CapacityReservationInstancePlatformRhelWithSqlServerEnterprise CapacityReservationInstancePlatform = "RHEL with SQL Server Enterprise" - CapacityReservationInstancePlatformRhelWithSqlServerWeb CapacityReservationInstancePlatform = "RHEL with SQL Server Web" - CapacityReservationInstancePlatformRhelWithHa CapacityReservationInstancePlatform = "RHEL with HA" - CapacityReservationInstancePlatformRhelWithHaAndSqlServerStandard CapacityReservationInstancePlatform = "RHEL with HA and SQL Server Standard" - CapacityReservationInstancePlatformRhelWithHaAndSqlServerEnterprise CapacityReservationInstancePlatform = "RHEL with HA and SQL Server Enterprise" - CapacityReservationInstancePlatformUbuntuProLinux CapacityReservationInstancePlatform = "Ubuntu Pro" -) - -// Values returns all known values for CapacityReservationInstancePlatform. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CapacityReservationInstancePlatform) Values() []CapacityReservationInstancePlatform { - return []CapacityReservationInstancePlatform{ - "Linux/UNIX", - "Red Hat Enterprise Linux", - "SUSE Linux", - "Windows", - "Windows with SQL Server", - "Windows with SQL Server Enterprise", - "Windows with SQL Server Standard", - "Windows with SQL Server Web", - "Linux with SQL Server Standard", - "Linux with SQL Server Web", - "Linux with SQL Server Enterprise", - "RHEL with SQL Server Standard", - "RHEL with SQL Server Enterprise", - "RHEL with SQL Server Web", - "RHEL with HA", - "RHEL with HA and SQL Server Standard", - "RHEL with HA and SQL Server Enterprise", - "Ubuntu Pro", - } -} - -type CapacityReservationPreference string - -// Enum values for CapacityReservationPreference -const ( - CapacityReservationPreferenceCapacityReservationsOnly CapacityReservationPreference = "capacity-reservations-only" - CapacityReservationPreferenceOpen CapacityReservationPreference = "open" - CapacityReservationPreferenceNone CapacityReservationPreference = "none" -) - -// Values returns all known values for CapacityReservationPreference. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CapacityReservationPreference) Values() []CapacityReservationPreference { - return []CapacityReservationPreference{ - "capacity-reservations-only", - "open", - "none", - } -} - -type CapacityReservationState string - -// Enum values for CapacityReservationState -const ( - CapacityReservationStateActive CapacityReservationState = "active" - CapacityReservationStateExpired CapacityReservationState = "expired" - CapacityReservationStateCancelled CapacityReservationState = "cancelled" - CapacityReservationStatePending CapacityReservationState = "pending" - CapacityReservationStateFailed CapacityReservationState = "failed" - CapacityReservationStateScheduled CapacityReservationState = "scheduled" - CapacityReservationStatePaymentPending CapacityReservationState = "payment-pending" - CapacityReservationStatePaymentFailed CapacityReservationState = "payment-failed" - CapacityReservationStateAssessing CapacityReservationState = "assessing" - CapacityReservationStateDelayed CapacityReservationState = "delayed" - CapacityReservationStateUnsupported CapacityReservationState = "unsupported" - CapacityReservationStateUnavailable CapacityReservationState = "unavailable" -) - -// Values returns all known values for CapacityReservationState. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CapacityReservationState) Values() []CapacityReservationState { - return []CapacityReservationState{ - "active", - "expired", - "cancelled", - "pending", - "failed", - "scheduled", - "payment-pending", - "payment-failed", - "assessing", - "delayed", - "unsupported", - "unavailable", - } -} - -type CapacityReservationTenancy string - -// Enum values for CapacityReservationTenancy -const ( - CapacityReservationTenancyDefault CapacityReservationTenancy = "default" - CapacityReservationTenancyDedicated CapacityReservationTenancy = "dedicated" -) - -// Values returns all known values for CapacityReservationTenancy. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CapacityReservationTenancy) Values() []CapacityReservationTenancy { - return []CapacityReservationTenancy{ - "default", - "dedicated", - } -} - -type CapacityReservationType string - -// Enum values for CapacityReservationType -const ( - CapacityReservationTypeDefault CapacityReservationType = "default" - CapacityReservationTypeCapacityBlock CapacityReservationType = "capacity-block" -) - -// Values returns all known values for CapacityReservationType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CapacityReservationType) Values() []CapacityReservationType { - return []CapacityReservationType{ - "default", - "capacity-block", - } -} - -type CapacityTenancy string - -// Enum values for CapacityTenancy -const ( - CapacityTenancyDefault CapacityTenancy = "default" - CapacityTenancyDedicated CapacityTenancy = "dedicated" -) - -// Values returns all known values for CapacityTenancy. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CapacityTenancy) Values() []CapacityTenancy { - return []CapacityTenancy{ - "default", - "dedicated", - } -} - -type CarrierGatewayState string - -// Enum values for CarrierGatewayState -const ( - CarrierGatewayStatePending CarrierGatewayState = "pending" - CarrierGatewayStateAvailable CarrierGatewayState = "available" - CarrierGatewayStateDeleting CarrierGatewayState = "deleting" - CarrierGatewayStateDeleted CarrierGatewayState = "deleted" -) - -// Values returns all known values for CarrierGatewayState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CarrierGatewayState) Values() []CarrierGatewayState { - return []CarrierGatewayState{ - "pending", - "available", - "deleting", - "deleted", - } -} - -type ClientCertificateRevocationListStatusCode string - -// Enum values for ClientCertificateRevocationListStatusCode -const ( - ClientCertificateRevocationListStatusCodePending ClientCertificateRevocationListStatusCode = "pending" - ClientCertificateRevocationListStatusCodeActive ClientCertificateRevocationListStatusCode = "active" -) - -// Values returns all known values for ClientCertificateRevocationListStatusCode. -// Note that this can be expanded in the future, and so it is only as up to date as -// the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ClientCertificateRevocationListStatusCode) Values() []ClientCertificateRevocationListStatusCode { - return []ClientCertificateRevocationListStatusCode{ - "pending", - "active", - } -} - -type ClientVpnAuthenticationType string - -// Enum values for ClientVpnAuthenticationType -const ( - ClientVpnAuthenticationTypeCertificateAuthentication ClientVpnAuthenticationType = "certificate-authentication" - ClientVpnAuthenticationTypeDirectoryServiceAuthentication ClientVpnAuthenticationType = "directory-service-authentication" - ClientVpnAuthenticationTypeFederatedAuthentication ClientVpnAuthenticationType = "federated-authentication" -) - -// Values returns all known values for ClientVpnAuthenticationType. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ClientVpnAuthenticationType) Values() []ClientVpnAuthenticationType { - return []ClientVpnAuthenticationType{ - "certificate-authentication", - "directory-service-authentication", - "federated-authentication", - } -} - -type ClientVpnAuthorizationRuleStatusCode string - -// Enum values for ClientVpnAuthorizationRuleStatusCode -const ( - ClientVpnAuthorizationRuleStatusCodeAuthorizing ClientVpnAuthorizationRuleStatusCode = "authorizing" - ClientVpnAuthorizationRuleStatusCodeActive ClientVpnAuthorizationRuleStatusCode = "active" - ClientVpnAuthorizationRuleStatusCodeFailed ClientVpnAuthorizationRuleStatusCode = "failed" - ClientVpnAuthorizationRuleStatusCodeRevoking ClientVpnAuthorizationRuleStatusCode = "revoking" -) - -// Values returns all known values for ClientVpnAuthorizationRuleStatusCode. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ClientVpnAuthorizationRuleStatusCode) Values() []ClientVpnAuthorizationRuleStatusCode { - return []ClientVpnAuthorizationRuleStatusCode{ - "authorizing", - "active", - "failed", - "revoking", - } -} - -type ClientVpnConnectionStatusCode string - -// Enum values for ClientVpnConnectionStatusCode -const ( - ClientVpnConnectionStatusCodeActive ClientVpnConnectionStatusCode = "active" - ClientVpnConnectionStatusCodeFailedToTerminate ClientVpnConnectionStatusCode = "failed-to-terminate" - ClientVpnConnectionStatusCodeTerminating ClientVpnConnectionStatusCode = "terminating" - ClientVpnConnectionStatusCodeTerminated ClientVpnConnectionStatusCode = "terminated" -) - -// Values returns all known values for ClientVpnConnectionStatusCode. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ClientVpnConnectionStatusCode) Values() []ClientVpnConnectionStatusCode { - return []ClientVpnConnectionStatusCode{ - "active", - "failed-to-terminate", - "terminating", - "terminated", - } -} - -type ClientVpnEndpointAttributeStatusCode string - -// Enum values for ClientVpnEndpointAttributeStatusCode -const ( - ClientVpnEndpointAttributeStatusCodeApplying ClientVpnEndpointAttributeStatusCode = "applying" - ClientVpnEndpointAttributeStatusCodeApplied ClientVpnEndpointAttributeStatusCode = "applied" -) - -// Values returns all known values for ClientVpnEndpointAttributeStatusCode. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ClientVpnEndpointAttributeStatusCode) Values() []ClientVpnEndpointAttributeStatusCode { - return []ClientVpnEndpointAttributeStatusCode{ - "applying", - "applied", - } -} - -type ClientVpnEndpointStatusCode string - -// Enum values for ClientVpnEndpointStatusCode -const ( - ClientVpnEndpointStatusCodePendingAssociate ClientVpnEndpointStatusCode = "pending-associate" - ClientVpnEndpointStatusCodeAvailable ClientVpnEndpointStatusCode = "available" - ClientVpnEndpointStatusCodeDeleting ClientVpnEndpointStatusCode = "deleting" - ClientVpnEndpointStatusCodeDeleted ClientVpnEndpointStatusCode = "deleted" -) - -// Values returns all known values for ClientVpnEndpointStatusCode. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ClientVpnEndpointStatusCode) Values() []ClientVpnEndpointStatusCode { - return []ClientVpnEndpointStatusCode{ - "pending-associate", - "available", - "deleting", - "deleted", - } -} - -type ClientVpnRouteStatusCode string - -// Enum values for ClientVpnRouteStatusCode -const ( - ClientVpnRouteStatusCodeCreating ClientVpnRouteStatusCode = "creating" - ClientVpnRouteStatusCodeActive ClientVpnRouteStatusCode = "active" - ClientVpnRouteStatusCodeFailed ClientVpnRouteStatusCode = "failed" - ClientVpnRouteStatusCodeDeleting ClientVpnRouteStatusCode = "deleting" -) - -// Values returns all known values for ClientVpnRouteStatusCode. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ClientVpnRouteStatusCode) Values() []ClientVpnRouteStatusCode { - return []ClientVpnRouteStatusCode{ - "creating", - "active", - "failed", - "deleting", - } -} - -type Comparison string - -// Enum values for Comparison -const ( - ComparisonEquals Comparison = "equals" - ComparisonIn Comparison = "in" -) - -// Values returns all known values for Comparison. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (Comparison) Values() []Comparison { - return []Comparison{ - "equals", - "in", - } -} - -type ConnectionNotificationState string - -// Enum values for ConnectionNotificationState -const ( - ConnectionNotificationStateEnabled ConnectionNotificationState = "Enabled" - ConnectionNotificationStateDisabled ConnectionNotificationState = "Disabled" -) - -// Values returns all known values for ConnectionNotificationState. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ConnectionNotificationState) Values() []ConnectionNotificationState { - return []ConnectionNotificationState{ - "Enabled", - "Disabled", - } -} - -type ConnectionNotificationType string - -// Enum values for ConnectionNotificationType -const ( - ConnectionNotificationTypeTopic ConnectionNotificationType = "Topic" -) - -// Values returns all known values for ConnectionNotificationType. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ConnectionNotificationType) Values() []ConnectionNotificationType { - return []ConnectionNotificationType{ - "Topic", - } -} - -type ConnectivityType string - -// Enum values for ConnectivityType -const ( - ConnectivityTypePrivate ConnectivityType = "private" - ConnectivityTypePublic ConnectivityType = "public" -) - -// Values returns all known values for ConnectivityType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ConnectivityType) Values() []ConnectivityType { - return []ConnectivityType{ - "private", - "public", - } -} - -type ContainerFormat string - -// Enum values for ContainerFormat -const ( - ContainerFormatOva ContainerFormat = "ova" -) - -// Values returns all known values for ContainerFormat. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ContainerFormat) Values() []ContainerFormat { - return []ContainerFormat{ - "ova", - } -} - -type ConversionTaskState string - -// Enum values for ConversionTaskState -const ( - ConversionTaskStateActive ConversionTaskState = "active" - ConversionTaskStateCancelling ConversionTaskState = "cancelling" - ConversionTaskStateCancelled ConversionTaskState = "cancelled" - ConversionTaskStateCompleted ConversionTaskState = "completed" -) - -// Values returns all known values for ConversionTaskState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ConversionTaskState) Values() []ConversionTaskState { - return []ConversionTaskState{ - "active", - "cancelling", - "cancelled", - "completed", - } -} - -type CopyTagsFromSource string - -// Enum values for CopyTagsFromSource -const ( - CopyTagsFromSourceVolume CopyTagsFromSource = "volume" -) - -// Values returns all known values for CopyTagsFromSource. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CopyTagsFromSource) Values() []CopyTagsFromSource { - return []CopyTagsFromSource{ - "volume", - } -} - -type CpuManufacturer string - -// Enum values for CpuManufacturer -const ( - CpuManufacturerIntel CpuManufacturer = "intel" - CpuManufacturerAmd CpuManufacturer = "amd" - CpuManufacturerAmazonWebServices CpuManufacturer = "amazon-web-services" - CpuManufacturerApple CpuManufacturer = "apple" -) - -// Values returns all known values for CpuManufacturer. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CpuManufacturer) Values() []CpuManufacturer { - return []CpuManufacturer{ - "intel", - "amd", - "amazon-web-services", - "apple", - } -} - -type CurrencyCodeValues string - -// Enum values for CurrencyCodeValues -const ( - CurrencyCodeValuesUsd CurrencyCodeValues = "USD" -) - -// Values returns all known values for CurrencyCodeValues. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (CurrencyCodeValues) Values() []CurrencyCodeValues { - return []CurrencyCodeValues{ - "USD", - } -} - -type DatafeedSubscriptionState string - -// Enum values for DatafeedSubscriptionState -const ( - DatafeedSubscriptionStateActive DatafeedSubscriptionState = "Active" - DatafeedSubscriptionStateInactive DatafeedSubscriptionState = "Inactive" -) - -// Values returns all known values for DatafeedSubscriptionState. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DatafeedSubscriptionState) Values() []DatafeedSubscriptionState { - return []DatafeedSubscriptionState{ - "Active", - "Inactive", - } -} - -type DefaultInstanceMetadataEndpointState string - -// Enum values for DefaultInstanceMetadataEndpointState -const ( - DefaultInstanceMetadataEndpointStateDisabled DefaultInstanceMetadataEndpointState = "disabled" - DefaultInstanceMetadataEndpointStateEnabled DefaultInstanceMetadataEndpointState = "enabled" - DefaultInstanceMetadataEndpointStateNoPreference DefaultInstanceMetadataEndpointState = "no-preference" -) - -// Values returns all known values for DefaultInstanceMetadataEndpointState. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DefaultInstanceMetadataEndpointState) Values() []DefaultInstanceMetadataEndpointState { - return []DefaultInstanceMetadataEndpointState{ - "disabled", - "enabled", - "no-preference", - } -} - -type DefaultInstanceMetadataTagsState string - -// Enum values for DefaultInstanceMetadataTagsState -const ( - DefaultInstanceMetadataTagsStateDisabled DefaultInstanceMetadataTagsState = "disabled" - DefaultInstanceMetadataTagsStateEnabled DefaultInstanceMetadataTagsState = "enabled" - DefaultInstanceMetadataTagsStateNoPreference DefaultInstanceMetadataTagsState = "no-preference" -) - -// Values returns all known values for DefaultInstanceMetadataTagsState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DefaultInstanceMetadataTagsState) Values() []DefaultInstanceMetadataTagsState { - return []DefaultInstanceMetadataTagsState{ - "disabled", - "enabled", - "no-preference", - } -} - -type DefaultRouteTableAssociationValue string - -// Enum values for DefaultRouteTableAssociationValue -const ( - DefaultRouteTableAssociationValueEnable DefaultRouteTableAssociationValue = "enable" - DefaultRouteTableAssociationValueDisable DefaultRouteTableAssociationValue = "disable" -) - -// Values returns all known values for DefaultRouteTableAssociationValue. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DefaultRouteTableAssociationValue) Values() []DefaultRouteTableAssociationValue { - return []DefaultRouteTableAssociationValue{ - "enable", - "disable", - } -} - -type DefaultRouteTablePropagationValue string - -// Enum values for DefaultRouteTablePropagationValue -const ( - DefaultRouteTablePropagationValueEnable DefaultRouteTablePropagationValue = "enable" - DefaultRouteTablePropagationValueDisable DefaultRouteTablePropagationValue = "disable" -) - -// Values returns all known values for DefaultRouteTablePropagationValue. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DefaultRouteTablePropagationValue) Values() []DefaultRouteTablePropagationValue { - return []DefaultRouteTablePropagationValue{ - "enable", - "disable", - } -} - -type DefaultTargetCapacityType string - -// Enum values for DefaultTargetCapacityType -const ( - DefaultTargetCapacityTypeSpot DefaultTargetCapacityType = "spot" - DefaultTargetCapacityTypeOnDemand DefaultTargetCapacityType = "on-demand" - DefaultTargetCapacityTypeCapacityBlock DefaultTargetCapacityType = "capacity-block" -) - -// Values returns all known values for DefaultTargetCapacityType. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DefaultTargetCapacityType) Values() []DefaultTargetCapacityType { - return []DefaultTargetCapacityType{ - "spot", - "on-demand", - "capacity-block", - } -} - -type DeleteFleetErrorCode string - -// Enum values for DeleteFleetErrorCode -const ( - DeleteFleetErrorCodeFleetIdDoesNotExist DeleteFleetErrorCode = "fleetIdDoesNotExist" - DeleteFleetErrorCodeFleetIdMalformed DeleteFleetErrorCode = "fleetIdMalformed" - DeleteFleetErrorCodeFleetNotInDeletableState DeleteFleetErrorCode = "fleetNotInDeletableState" - DeleteFleetErrorCodeUnexpectedError DeleteFleetErrorCode = "unexpectedError" -) - -// Values returns all known values for DeleteFleetErrorCode. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DeleteFleetErrorCode) Values() []DeleteFleetErrorCode { - return []DeleteFleetErrorCode{ - "fleetIdDoesNotExist", - "fleetIdMalformed", - "fleetNotInDeletableState", - "unexpectedError", - } -} - -type DeleteQueuedReservedInstancesErrorCode string - -// Enum values for DeleteQueuedReservedInstancesErrorCode -const ( - DeleteQueuedReservedInstancesErrorCodeReservedInstancesIdInvalid DeleteQueuedReservedInstancesErrorCode = "reserved-instances-id-invalid" - DeleteQueuedReservedInstancesErrorCodeReservedInstancesNotInQueuedState DeleteQueuedReservedInstancesErrorCode = "reserved-instances-not-in-queued-state" - DeleteQueuedReservedInstancesErrorCodeUnexpectedError DeleteQueuedReservedInstancesErrorCode = "unexpected-error" -) - -// Values returns all known values for DeleteQueuedReservedInstancesErrorCode. -// Note that this can be expanded in the future, and so it is only as up to date as -// the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DeleteQueuedReservedInstancesErrorCode) Values() []DeleteQueuedReservedInstancesErrorCode { - return []DeleteQueuedReservedInstancesErrorCode{ - "reserved-instances-id-invalid", - "reserved-instances-not-in-queued-state", - "unexpected-error", - } -} - -type DestinationFileFormat string - -// Enum values for DestinationFileFormat -const ( - DestinationFileFormatPlainText DestinationFileFormat = "plain-text" - DestinationFileFormatParquet DestinationFileFormat = "parquet" -) - -// Values returns all known values for DestinationFileFormat. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DestinationFileFormat) Values() []DestinationFileFormat { - return []DestinationFileFormat{ - "plain-text", - "parquet", - } -} - -type DeviceTrustProviderType string - -// Enum values for DeviceTrustProviderType -const ( - DeviceTrustProviderTypeJamf DeviceTrustProviderType = "jamf" - DeviceTrustProviderTypeCrowdstrike DeviceTrustProviderType = "crowdstrike" - DeviceTrustProviderTypeJumpcloud DeviceTrustProviderType = "jumpcloud" -) - -// Values returns all known values for DeviceTrustProviderType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DeviceTrustProviderType) Values() []DeviceTrustProviderType { - return []DeviceTrustProviderType{ - "jamf", - "crowdstrike", - "jumpcloud", - } -} - -type DeviceType string - -// Enum values for DeviceType -const ( - DeviceTypeEbs DeviceType = "ebs" - DeviceTypeInstanceStore DeviceType = "instance-store" -) - -// Values returns all known values for DeviceType. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DeviceType) Values() []DeviceType { - return []DeviceType{ - "ebs", - "instance-store", - } -} - -type DiskImageFormat string - -// Enum values for DiskImageFormat -const ( - DiskImageFormatVmdk DiskImageFormat = "VMDK" - DiskImageFormatRaw DiskImageFormat = "RAW" - DiskImageFormatVhd DiskImageFormat = "VHD" -) - -// Values returns all known values for DiskImageFormat. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DiskImageFormat) Values() []DiskImageFormat { - return []DiskImageFormat{ - "VMDK", - "RAW", - "VHD", - } -} - -type DiskType string - -// Enum values for DiskType -const ( - DiskTypeHdd DiskType = "hdd" - DiskTypeSsd DiskType = "ssd" -) - -// Values returns all known values for DiskType. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DiskType) Values() []DiskType { - return []DiskType{ - "hdd", - "ssd", - } -} - -type DnsNameState string - -// Enum values for DnsNameState -const ( - DnsNameStatePendingVerification DnsNameState = "pendingVerification" - DnsNameStateVerified DnsNameState = "verified" - DnsNameStateFailed DnsNameState = "failed" -) - -// Values returns all known values for DnsNameState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DnsNameState) Values() []DnsNameState { - return []DnsNameState{ - "pendingVerification", - "verified", - "failed", - } -} - -type DnsRecordIpType string - -// Enum values for DnsRecordIpType -const ( - DnsRecordIpTypeIpv4 DnsRecordIpType = "ipv4" - DnsRecordIpTypeDualstack DnsRecordIpType = "dualstack" - DnsRecordIpTypeIpv6 DnsRecordIpType = "ipv6" - DnsRecordIpTypeServiceDefined DnsRecordIpType = "service-defined" -) - -// Values returns all known values for DnsRecordIpType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DnsRecordIpType) Values() []DnsRecordIpType { - return []DnsRecordIpType{ - "ipv4", - "dualstack", - "ipv6", - "service-defined", - } -} - -type DnsSupportValue string - -// Enum values for DnsSupportValue -const ( - DnsSupportValueEnable DnsSupportValue = "enable" - DnsSupportValueDisable DnsSupportValue = "disable" -) - -// Values returns all known values for DnsSupportValue. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DnsSupportValue) Values() []DnsSupportValue { - return []DnsSupportValue{ - "enable", - "disable", - } -} - -type DomainType string - -// Enum values for DomainType -const ( - DomainTypeVpc DomainType = "vpc" - DomainTypeStandard DomainType = "standard" -) - -// Values returns all known values for DomainType. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DomainType) Values() []DomainType { - return []DomainType{ - "vpc", - "standard", - } -} - -type DynamicRoutingValue string - -// Enum values for DynamicRoutingValue -const ( - DynamicRoutingValueEnable DynamicRoutingValue = "enable" - DynamicRoutingValueDisable DynamicRoutingValue = "disable" -) - -// Values returns all known values for DynamicRoutingValue. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DynamicRoutingValue) Values() []DynamicRoutingValue { - return []DynamicRoutingValue{ - "enable", - "disable", - } -} - -type EbsEncryptionSupport string - -// Enum values for EbsEncryptionSupport -const ( - EbsEncryptionSupportUnsupported EbsEncryptionSupport = "unsupported" - EbsEncryptionSupportSupported EbsEncryptionSupport = "supported" -) - -// Values returns all known values for EbsEncryptionSupport. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (EbsEncryptionSupport) Values() []EbsEncryptionSupport { - return []EbsEncryptionSupport{ - "unsupported", - "supported", - } -} - -type EbsNvmeSupport string - -// Enum values for EbsNvmeSupport -const ( - EbsNvmeSupportUnsupported EbsNvmeSupport = "unsupported" - EbsNvmeSupportSupported EbsNvmeSupport = "supported" - EbsNvmeSupportRequired EbsNvmeSupport = "required" -) - -// Values returns all known values for EbsNvmeSupport. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (EbsNvmeSupport) Values() []EbsNvmeSupport { - return []EbsNvmeSupport{ - "unsupported", - "supported", - "required", - } -} - -type EbsOptimizedSupport string - -// Enum values for EbsOptimizedSupport -const ( - EbsOptimizedSupportUnsupported EbsOptimizedSupport = "unsupported" - EbsOptimizedSupportSupported EbsOptimizedSupport = "supported" - EbsOptimizedSupportDefault EbsOptimizedSupport = "default" -) - -// Values returns all known values for EbsOptimizedSupport. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (EbsOptimizedSupport) Values() []EbsOptimizedSupport { - return []EbsOptimizedSupport{ - "unsupported", - "supported", - "default", - } -} - -type Ec2InstanceConnectEndpointState string - -// Enum values for Ec2InstanceConnectEndpointState -const ( - Ec2InstanceConnectEndpointStateCreateInProgress Ec2InstanceConnectEndpointState = "create-in-progress" - Ec2InstanceConnectEndpointStateCreateComplete Ec2InstanceConnectEndpointState = "create-complete" - Ec2InstanceConnectEndpointStateCreateFailed Ec2InstanceConnectEndpointState = "create-failed" - Ec2InstanceConnectEndpointStateDeleteInProgress Ec2InstanceConnectEndpointState = "delete-in-progress" - Ec2InstanceConnectEndpointStateDeleteComplete Ec2InstanceConnectEndpointState = "delete-complete" - Ec2InstanceConnectEndpointStateDeleteFailed Ec2InstanceConnectEndpointState = "delete-failed" - Ec2InstanceConnectEndpointStateUpdateInProgress Ec2InstanceConnectEndpointState = "update-in-progress" - Ec2InstanceConnectEndpointStateUpdateComplete Ec2InstanceConnectEndpointState = "update-complete" - Ec2InstanceConnectEndpointStateUpdateFailed Ec2InstanceConnectEndpointState = "update-failed" -) - -// Values returns all known values for Ec2InstanceConnectEndpointState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (Ec2InstanceConnectEndpointState) Values() []Ec2InstanceConnectEndpointState { - return []Ec2InstanceConnectEndpointState{ - "create-in-progress", - "create-complete", - "create-failed", - "delete-in-progress", - "delete-complete", - "delete-failed", - "update-in-progress", - "update-complete", - "update-failed", - } -} - -type EkPubKeyFormat string - -// Enum values for EkPubKeyFormat -const ( - EkPubKeyFormatDer EkPubKeyFormat = "der" - EkPubKeyFormatTpmt EkPubKeyFormat = "tpmt" -) - -// Values returns all known values for EkPubKeyFormat. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (EkPubKeyFormat) Values() []EkPubKeyFormat { - return []EkPubKeyFormat{ - "der", - "tpmt", - } -} - -type EkPubKeyType string - -// Enum values for EkPubKeyType -const ( - EkPubKeyTypeRsa2048 EkPubKeyType = "rsa-2048" - EkPubKeyTypeEccSecP384 EkPubKeyType = "ecc-sec-p384" -) - -// Values returns all known values for EkPubKeyType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (EkPubKeyType) Values() []EkPubKeyType { - return []EkPubKeyType{ - "rsa-2048", - "ecc-sec-p384", - } -} - -type ElasticGpuState string - -// Enum values for ElasticGpuState -const ( - ElasticGpuStateAttached ElasticGpuState = "ATTACHED" -) - -// Values returns all known values for ElasticGpuState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ElasticGpuState) Values() []ElasticGpuState { - return []ElasticGpuState{ - "ATTACHED", - } -} - -type ElasticGpuStatus string - -// Enum values for ElasticGpuStatus -const ( - ElasticGpuStatusOk ElasticGpuStatus = "OK" - ElasticGpuStatusImpaired ElasticGpuStatus = "IMPAIRED" -) - -// Values returns all known values for ElasticGpuStatus. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ElasticGpuStatus) Values() []ElasticGpuStatus { - return []ElasticGpuStatus{ - "OK", - "IMPAIRED", - } -} - -type EnaSupport string - -// Enum values for EnaSupport -const ( - EnaSupportUnsupported EnaSupport = "unsupported" - EnaSupportSupported EnaSupport = "supported" - EnaSupportRequired EnaSupport = "required" -) - -// Values returns all known values for EnaSupport. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (EnaSupport) Values() []EnaSupport { - return []EnaSupport{ - "unsupported", - "supported", - "required", - } -} - -type EncryptionStateValue string - -// Enum values for EncryptionStateValue -const ( - EncryptionStateValueEnabling EncryptionStateValue = "enabling" - EncryptionStateValueEnabled EncryptionStateValue = "enabled" - EncryptionStateValueDisabling EncryptionStateValue = "disabling" - EncryptionStateValueDisabled EncryptionStateValue = "disabled" -) - -// Values returns all known values for EncryptionStateValue. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (EncryptionStateValue) Values() []EncryptionStateValue { - return []EncryptionStateValue{ - "enabling", - "enabled", - "disabling", - "disabled", - } -} - -type EncryptionSupportOptionValue string - -// Enum values for EncryptionSupportOptionValue -const ( - EncryptionSupportOptionValueEnable EncryptionSupportOptionValue = "enable" - EncryptionSupportOptionValueDisable EncryptionSupportOptionValue = "disable" -) - -// Values returns all known values for EncryptionSupportOptionValue. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (EncryptionSupportOptionValue) Values() []EncryptionSupportOptionValue { - return []EncryptionSupportOptionValue{ - "enable", - "disable", - } -} - -type EndDateType string - -// Enum values for EndDateType -const ( - EndDateTypeUnlimited EndDateType = "unlimited" - EndDateTypeLimited EndDateType = "limited" -) - -// Values returns all known values for EndDateType. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (EndDateType) Values() []EndDateType { - return []EndDateType{ - "unlimited", - "limited", - } -} - -type EndpointIpAddressType string - -// Enum values for EndpointIpAddressType -const ( - EndpointIpAddressTypeIpv4 EndpointIpAddressType = "ipv4" - EndpointIpAddressTypeIpv6 EndpointIpAddressType = "ipv6" - EndpointIpAddressTypeDualStack EndpointIpAddressType = "dual-stack" -) - -// Values returns all known values for EndpointIpAddressType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (EndpointIpAddressType) Values() []EndpointIpAddressType { - return []EndpointIpAddressType{ - "ipv4", - "ipv6", - "dual-stack", - } -} - -type EphemeralNvmeSupport string - -// Enum values for EphemeralNvmeSupport -const ( - EphemeralNvmeSupportUnsupported EphemeralNvmeSupport = "unsupported" - EphemeralNvmeSupportSupported EphemeralNvmeSupport = "supported" - EphemeralNvmeSupportRequired EphemeralNvmeSupport = "required" -) - -// Values returns all known values for EphemeralNvmeSupport. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (EphemeralNvmeSupport) Values() []EphemeralNvmeSupport { - return []EphemeralNvmeSupport{ - "unsupported", - "supported", - "required", - } -} - -type EventCode string - -// Enum values for EventCode -const ( - EventCodeInstanceReboot EventCode = "instance-reboot" - EventCodeSystemReboot EventCode = "system-reboot" - EventCodeSystemMaintenance EventCode = "system-maintenance" - EventCodeInstanceRetirement EventCode = "instance-retirement" - EventCodeInstanceStop EventCode = "instance-stop" -) - -// Values returns all known values for EventCode. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (EventCode) Values() []EventCode { - return []EventCode{ - "instance-reboot", - "system-reboot", - "system-maintenance", - "instance-retirement", - "instance-stop", - } -} - -type EventType string - -// Enum values for EventType -const ( - EventTypeInstanceChange EventType = "instanceChange" - EventTypeBatchChange EventType = "fleetRequestChange" - EventTypeError EventType = "error" - EventTypeInformation EventType = "information" -) - -// Values returns all known values for EventType. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (EventType) Values() []EventType { - return []EventType{ - "instanceChange", - "fleetRequestChange", - "error", - "information", - } -} - -type ExcessCapacityTerminationPolicy string - -// Enum values for ExcessCapacityTerminationPolicy -const ( - ExcessCapacityTerminationPolicyNoTermination ExcessCapacityTerminationPolicy = "noTermination" - ExcessCapacityTerminationPolicyDefault ExcessCapacityTerminationPolicy = "default" -) - -// Values returns all known values for ExcessCapacityTerminationPolicy. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ExcessCapacityTerminationPolicy) Values() []ExcessCapacityTerminationPolicy { - return []ExcessCapacityTerminationPolicy{ - "noTermination", - "default", - } -} - -type ExportEnvironment string - -// Enum values for ExportEnvironment -const ( - ExportEnvironmentCitrix ExportEnvironment = "citrix" - ExportEnvironmentVmware ExportEnvironment = "vmware" - ExportEnvironmentMicrosoft ExportEnvironment = "microsoft" -) - -// Values returns all known values for ExportEnvironment. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ExportEnvironment) Values() []ExportEnvironment { - return []ExportEnvironment{ - "citrix", - "vmware", - "microsoft", - } -} - -type ExportTaskState string - -// Enum values for ExportTaskState -const ( - ExportTaskStateActive ExportTaskState = "active" - ExportTaskStateCancelling ExportTaskState = "cancelling" - ExportTaskStateCancelled ExportTaskState = "cancelled" - ExportTaskStateCompleted ExportTaskState = "completed" -) - -// Values returns all known values for ExportTaskState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ExportTaskState) Values() []ExportTaskState { - return []ExportTaskState{ - "active", - "cancelling", - "cancelled", - "completed", - } -} - -type FastLaunchResourceType string - -// Enum values for FastLaunchResourceType -const ( - FastLaunchResourceTypeSnapshot FastLaunchResourceType = "snapshot" -) - -// Values returns all known values for FastLaunchResourceType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FastLaunchResourceType) Values() []FastLaunchResourceType { - return []FastLaunchResourceType{ - "snapshot", - } -} - -type FastLaunchStateCode string - -// Enum values for FastLaunchStateCode -const ( - FastLaunchStateCodeEnabling FastLaunchStateCode = "enabling" - FastLaunchStateCodeEnablingFailed FastLaunchStateCode = "enabling-failed" - FastLaunchStateCodeEnabled FastLaunchStateCode = "enabled" - FastLaunchStateCodeEnabledFailed FastLaunchStateCode = "enabled-failed" - FastLaunchStateCodeDisabling FastLaunchStateCode = "disabling" - FastLaunchStateCodeDisablingFailed FastLaunchStateCode = "disabling-failed" -) - -// Values returns all known values for FastLaunchStateCode. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FastLaunchStateCode) Values() []FastLaunchStateCode { - return []FastLaunchStateCode{ - "enabling", - "enabling-failed", - "enabled", - "enabled-failed", - "disabling", - "disabling-failed", - } -} - -type FastSnapshotRestoreStateCode string - -// Enum values for FastSnapshotRestoreStateCode -const ( - FastSnapshotRestoreStateCodeEnabling FastSnapshotRestoreStateCode = "enabling" - FastSnapshotRestoreStateCodeOptimizing FastSnapshotRestoreStateCode = "optimizing" - FastSnapshotRestoreStateCodeEnabled FastSnapshotRestoreStateCode = "enabled" - FastSnapshotRestoreStateCodeDisabling FastSnapshotRestoreStateCode = "disabling" - FastSnapshotRestoreStateCodeDisabled FastSnapshotRestoreStateCode = "disabled" -) - -// Values returns all known values for FastSnapshotRestoreStateCode. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FastSnapshotRestoreStateCode) Values() []FastSnapshotRestoreStateCode { - return []FastSnapshotRestoreStateCode{ - "enabling", - "optimizing", - "enabled", - "disabling", - "disabled", - } -} - -type FilterByDimension string - -// Enum values for FilterByDimension -const ( - FilterByDimensionResourceRegion FilterByDimension = "resource-region" - FilterByDimensionAvailabilityZoneId FilterByDimension = "availability-zone-id" - FilterByDimensionAccountId FilterByDimension = "account-id" - FilterByDimensionInstanceFamily FilterByDimension = "instance-family" - FilterByDimensionInstanceType FilterByDimension = "instance-type" - FilterByDimensionInstancePlatform FilterByDimension = "instance-platform" - FilterByDimensionReservationArn FilterByDimension = "reservation-arn" - FilterByDimensionReservationId FilterByDimension = "reservation-id" - FilterByDimensionReservationType FilterByDimension = "reservation-type" - FilterByDimensionReservationCreateTimestamp FilterByDimension = "reservation-create-timestamp" - FilterByDimensionReservationStartTimestamp FilterByDimension = "reservation-start-timestamp" - FilterByDimensionReservationEndTimestamp FilterByDimension = "reservation-end-timestamp" - FilterByDimensionReservationEndDateType FilterByDimension = "reservation-end-date-type" - FilterByDimensionTenancy FilterByDimension = "tenancy" - FilterByDimensionReservationState FilterByDimension = "reservation-state" - FilterByDimensionReservationInstanceMatchCriteria FilterByDimension = "reservation-instance-match-criteria" - FilterByDimensionReservationUnusedFinancialOwner FilterByDimension = "reservation-unused-financial-owner" -) - -// Values returns all known values for FilterByDimension. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FilterByDimension) Values() []FilterByDimension { - return []FilterByDimension{ - "resource-region", - "availability-zone-id", - "account-id", - "instance-family", - "instance-type", - "instance-platform", - "reservation-arn", - "reservation-id", - "reservation-type", - "reservation-create-timestamp", - "reservation-start-timestamp", - "reservation-end-timestamp", - "reservation-end-date-type", - "tenancy", - "reservation-state", - "reservation-instance-match-criteria", - "reservation-unused-financial-owner", - } -} - -type FindingsFound string - -// Enum values for FindingsFound -const ( - FindingsFoundTrue FindingsFound = "true" - FindingsFoundFalse FindingsFound = "false" - FindingsFoundUnknown FindingsFound = "unknown" -) - -// Values returns all known values for FindingsFound. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FindingsFound) Values() []FindingsFound { - return []FindingsFound{ - "true", - "false", - "unknown", - } -} - -type FleetActivityStatus string - -// Enum values for FleetActivityStatus -const ( - FleetActivityStatusError FleetActivityStatus = "error" - FleetActivityStatusPendingFulfillment FleetActivityStatus = "pending_fulfillment" - FleetActivityStatusPendingTermination FleetActivityStatus = "pending_termination" - FleetActivityStatusFulfilled FleetActivityStatus = "fulfilled" -) - -// Values returns all known values for FleetActivityStatus. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FleetActivityStatus) Values() []FleetActivityStatus { - return []FleetActivityStatus{ - "error", - "pending_fulfillment", - "pending_termination", - "fulfilled", - } -} - -type FleetCapacityReservationTenancy string - -// Enum values for FleetCapacityReservationTenancy -const ( - FleetCapacityReservationTenancyDefault FleetCapacityReservationTenancy = "default" -) - -// Values returns all known values for FleetCapacityReservationTenancy. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FleetCapacityReservationTenancy) Values() []FleetCapacityReservationTenancy { - return []FleetCapacityReservationTenancy{ - "default", - } -} - -type FleetCapacityReservationUsageStrategy string - -// Enum values for FleetCapacityReservationUsageStrategy -const ( - FleetCapacityReservationUsageStrategyUseCapacityReservationsFirst FleetCapacityReservationUsageStrategy = "use-capacity-reservations-first" -) - -// Values returns all known values for FleetCapacityReservationUsageStrategy. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FleetCapacityReservationUsageStrategy) Values() []FleetCapacityReservationUsageStrategy { - return []FleetCapacityReservationUsageStrategy{ - "use-capacity-reservations-first", - } -} - -type FleetEventType string - -// Enum values for FleetEventType -const ( - FleetEventTypeInstanceChange FleetEventType = "instance-change" - FleetEventTypeFleetChange FleetEventType = "fleet-change" - FleetEventTypeServiceError FleetEventType = "service-error" -) - -// Values returns all known values for FleetEventType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FleetEventType) Values() []FleetEventType { - return []FleetEventType{ - "instance-change", - "fleet-change", - "service-error", - } -} - -type FleetExcessCapacityTerminationPolicy string - -// Enum values for FleetExcessCapacityTerminationPolicy -const ( - FleetExcessCapacityTerminationPolicyNoTermination FleetExcessCapacityTerminationPolicy = "no-termination" - FleetExcessCapacityTerminationPolicyTermination FleetExcessCapacityTerminationPolicy = "termination" -) - -// Values returns all known values for FleetExcessCapacityTerminationPolicy. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FleetExcessCapacityTerminationPolicy) Values() []FleetExcessCapacityTerminationPolicy { - return []FleetExcessCapacityTerminationPolicy{ - "no-termination", - "termination", - } -} - -type FleetInstanceMatchCriteria string - -// Enum values for FleetInstanceMatchCriteria -const ( - FleetInstanceMatchCriteriaOpen FleetInstanceMatchCriteria = "open" -) - -// Values returns all known values for FleetInstanceMatchCriteria. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FleetInstanceMatchCriteria) Values() []FleetInstanceMatchCriteria { - return []FleetInstanceMatchCriteria{ - "open", - } -} - -type FleetOnDemandAllocationStrategy string - -// Enum values for FleetOnDemandAllocationStrategy -const ( - FleetOnDemandAllocationStrategyLowestPrice FleetOnDemandAllocationStrategy = "lowest-price" - FleetOnDemandAllocationStrategyPrioritized FleetOnDemandAllocationStrategy = "prioritized" -) - -// Values returns all known values for FleetOnDemandAllocationStrategy. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FleetOnDemandAllocationStrategy) Values() []FleetOnDemandAllocationStrategy { - return []FleetOnDemandAllocationStrategy{ - "lowest-price", - "prioritized", - } -} - -type FleetReplacementStrategy string - -// Enum values for FleetReplacementStrategy -const ( - FleetReplacementStrategyLaunch FleetReplacementStrategy = "launch" - FleetReplacementStrategyLaunchBeforeTerminate FleetReplacementStrategy = "launch-before-terminate" -) - -// Values returns all known values for FleetReplacementStrategy. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FleetReplacementStrategy) Values() []FleetReplacementStrategy { - return []FleetReplacementStrategy{ - "launch", - "launch-before-terminate", - } -} - -type FleetStateCode string - -// Enum values for FleetStateCode -const ( - FleetStateCodeSubmitted FleetStateCode = "submitted" - FleetStateCodeActive FleetStateCode = "active" - FleetStateCodeDeleted FleetStateCode = "deleted" - FleetStateCodeFailed FleetStateCode = "failed" - FleetStateCodeDeletedRunning FleetStateCode = "deleted_running" - FleetStateCodeDeletedTerminatingInstances FleetStateCode = "deleted_terminating" - FleetStateCodeModifying FleetStateCode = "modifying" -) - -// Values returns all known values for FleetStateCode. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FleetStateCode) Values() []FleetStateCode { - return []FleetStateCode{ - "submitted", - "active", - "deleted", - "failed", - "deleted_running", - "deleted_terminating", - "modifying", - } -} - -type FleetType string - -// Enum values for FleetType -const ( - FleetTypeRequest FleetType = "request" - FleetTypeMaintain FleetType = "maintain" - FleetTypeInstant FleetType = "instant" -) - -// Values returns all known values for FleetType. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FleetType) Values() []FleetType { - return []FleetType{ - "request", - "maintain", - "instant", - } -} - -type FlexibleEnaQueuesSupport string - -// Enum values for FlexibleEnaQueuesSupport -const ( - FlexibleEnaQueuesSupportUnsupported FlexibleEnaQueuesSupport = "unsupported" - FlexibleEnaQueuesSupportSupported FlexibleEnaQueuesSupport = "supported" -) - -// Values returns all known values for FlexibleEnaQueuesSupport. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FlexibleEnaQueuesSupport) Values() []FlexibleEnaQueuesSupport { - return []FlexibleEnaQueuesSupport{ - "unsupported", - "supported", - } -} - -type FlowLogsResourceType string - -// Enum values for FlowLogsResourceType -const ( - FlowLogsResourceTypeVpc FlowLogsResourceType = "VPC" - FlowLogsResourceTypeSubnet FlowLogsResourceType = "Subnet" - FlowLogsResourceTypeNetworkInterface FlowLogsResourceType = "NetworkInterface" - FlowLogsResourceTypeTransitGateway FlowLogsResourceType = "TransitGateway" - FlowLogsResourceTypeTransitGatewayAttachment FlowLogsResourceType = "TransitGatewayAttachment" - FlowLogsResourceTypeRegionalNatGateway FlowLogsResourceType = "RegionalNatGateway" -) - -// Values returns all known values for FlowLogsResourceType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FlowLogsResourceType) Values() []FlowLogsResourceType { - return []FlowLogsResourceType{ - "VPC", - "Subnet", - "NetworkInterface", - "TransitGateway", - "TransitGatewayAttachment", - "RegionalNatGateway", - } -} - -type FpgaImageAttributeName string - -// Enum values for FpgaImageAttributeName -const ( - FpgaImageAttributeNameDescription FpgaImageAttributeName = "description" - FpgaImageAttributeNameName FpgaImageAttributeName = "name" - FpgaImageAttributeNameLoadPermission FpgaImageAttributeName = "loadPermission" - FpgaImageAttributeNameProductCodes FpgaImageAttributeName = "productCodes" -) - -// Values returns all known values for FpgaImageAttributeName. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FpgaImageAttributeName) Values() []FpgaImageAttributeName { - return []FpgaImageAttributeName{ - "description", - "name", - "loadPermission", - "productCodes", - } -} - -type FpgaImageStateCode string - -// Enum values for FpgaImageStateCode -const ( - FpgaImageStateCodePending FpgaImageStateCode = "pending" - FpgaImageStateCodeFailed FpgaImageStateCode = "failed" - FpgaImageStateCodeAvailable FpgaImageStateCode = "available" - FpgaImageStateCodeUnavailable FpgaImageStateCode = "unavailable" -) - -// Values returns all known values for FpgaImageStateCode. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FpgaImageStateCode) Values() []FpgaImageStateCode { - return []FpgaImageStateCode{ - "pending", - "failed", - "available", - "unavailable", - } -} - -type GatewayAssociationState string - -// Enum values for GatewayAssociationState -const ( - GatewayAssociationStateAssociated GatewayAssociationState = "associated" - GatewayAssociationStateNotAssociated GatewayAssociationState = "not-associated" - GatewayAssociationStateAssociating GatewayAssociationState = "associating" - GatewayAssociationStateDisassociating GatewayAssociationState = "disassociating" -) - -// Values returns all known values for GatewayAssociationState. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (GatewayAssociationState) Values() []GatewayAssociationState { - return []GatewayAssociationState{ - "associated", - "not-associated", - "associating", - "disassociating", - } -} - -type GatewayType string - -// Enum values for GatewayType -const ( - GatewayTypeIpsec1 GatewayType = "ipsec.1" -) - -// Values returns all known values for GatewayType. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (GatewayType) Values() []GatewayType { - return []GatewayType{ - "ipsec.1", - } -} - -type GroupBy string - -// Enum values for GroupBy -const ( - GroupByResourceRegion GroupBy = "resource-region" - GroupByAvailabilityZoneId GroupBy = "availability-zone-id" - GroupByAccountId GroupBy = "account-id" - GroupByInstanceFamily GroupBy = "instance-family" - GroupByInstanceType GroupBy = "instance-type" - GroupByInstancePlatform GroupBy = "instance-platform" - GroupByReservationArn GroupBy = "reservation-arn" - GroupByReservationId GroupBy = "reservation-id" - GroupByReservationType GroupBy = "reservation-type" - GroupByReservationCreateTimestamp GroupBy = "reservation-create-timestamp" - GroupByReservationStartTimestamp GroupBy = "reservation-start-timestamp" - GroupByReservationEndTimestamp GroupBy = "reservation-end-timestamp" - GroupByReservationEndDateType GroupBy = "reservation-end-date-type" - GroupByTenancy GroupBy = "tenancy" - GroupByReservationState GroupBy = "reservation-state" - GroupByReservationInstanceMatchCriteria GroupBy = "reservation-instance-match-criteria" - GroupByReservationUnusedFinancialOwner GroupBy = "reservation-unused-financial-owner" -) - -// Values returns all known values for GroupBy. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (GroupBy) Values() []GroupBy { - return []GroupBy{ - "resource-region", - "availability-zone-id", - "account-id", - "instance-family", - "instance-type", - "instance-platform", - "reservation-arn", - "reservation-id", - "reservation-type", - "reservation-create-timestamp", - "reservation-start-timestamp", - "reservation-end-timestamp", - "reservation-end-date-type", - "tenancy", - "reservation-state", - "reservation-instance-match-criteria", - "reservation-unused-financial-owner", - } -} - -type HaStatus string - -// Enum values for HaStatus -const ( - HaStatusProcessing HaStatus = "processing" - HaStatusActive HaStatus = "active" - HaStatusStandby HaStatus = "standby" - HaStatusInvalid HaStatus = "invalid" -) - -// Values returns all known values for HaStatus. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (HaStatus) Values() []HaStatus { - return []HaStatus{ - "processing", - "active", - "standby", - "invalid", - } -} - -type HostMaintenance string - -// Enum values for HostMaintenance -const ( - HostMaintenanceOn HostMaintenance = "on" - HostMaintenanceOff HostMaintenance = "off" -) - -// Values returns all known values for HostMaintenance. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (HostMaintenance) Values() []HostMaintenance { - return []HostMaintenance{ - "on", - "off", - } -} - -type HostnameType string - -// Enum values for HostnameType -const ( - HostnameTypeIpName HostnameType = "ip-name" - HostnameTypeResourceName HostnameType = "resource-name" -) - -// Values returns all known values for HostnameType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (HostnameType) Values() []HostnameType { - return []HostnameType{ - "ip-name", - "resource-name", - } -} - -type HostRecovery string - -// Enum values for HostRecovery -const ( - HostRecoveryOn HostRecovery = "on" - HostRecoveryOff HostRecovery = "off" -) - -// Values returns all known values for HostRecovery. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (HostRecovery) Values() []HostRecovery { - return []HostRecovery{ - "on", - "off", - } -} - -type HostTenancy string - -// Enum values for HostTenancy -const ( - HostTenancyDefault HostTenancy = "default" - HostTenancyDedicated HostTenancy = "dedicated" - HostTenancyHost HostTenancy = "host" -) - -// Values returns all known values for HostTenancy. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (HostTenancy) Values() []HostTenancy { - return []HostTenancy{ - "default", - "dedicated", - "host", - } -} - -type HttpTokensState string - -// Enum values for HttpTokensState -const ( - HttpTokensStateOptional HttpTokensState = "optional" - HttpTokensStateRequired HttpTokensState = "required" -) - -// Values returns all known values for HttpTokensState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (HttpTokensState) Values() []HttpTokensState { - return []HttpTokensState{ - "optional", - "required", - } -} - -type HypervisorType string - -// Enum values for HypervisorType -const ( - HypervisorTypeOvm HypervisorType = "ovm" - HypervisorTypeXen HypervisorType = "xen" -) - -// Values returns all known values for HypervisorType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (HypervisorType) Values() []HypervisorType { - return []HypervisorType{ - "ovm", - "xen", - } -} - -type IamInstanceProfileAssociationState string - -// Enum values for IamInstanceProfileAssociationState -const ( - IamInstanceProfileAssociationStateAssociating IamInstanceProfileAssociationState = "associating" - IamInstanceProfileAssociationStateAssociated IamInstanceProfileAssociationState = "associated" - IamInstanceProfileAssociationStateDisassociating IamInstanceProfileAssociationState = "disassociating" - IamInstanceProfileAssociationStateDisassociated IamInstanceProfileAssociationState = "disassociated" -) - -// Values returns all known values for IamInstanceProfileAssociationState. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IamInstanceProfileAssociationState) Values() []IamInstanceProfileAssociationState { - return []IamInstanceProfileAssociationState{ - "associating", - "associated", - "disassociating", - "disassociated", - } -} - -type Igmpv2SupportValue string - -// Enum values for Igmpv2SupportValue -const ( - Igmpv2SupportValueEnable Igmpv2SupportValue = "enable" - Igmpv2SupportValueDisable Igmpv2SupportValue = "disable" -) - -// Values returns all known values for Igmpv2SupportValue. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (Igmpv2SupportValue) Values() []Igmpv2SupportValue { - return []Igmpv2SupportValue{ - "enable", - "disable", - } -} - -type ImageAttributeName string - -// Enum values for ImageAttributeName -const ( - ImageAttributeNameDescription ImageAttributeName = "description" - ImageAttributeNameKernel ImageAttributeName = "kernel" - ImageAttributeNameRamdisk ImageAttributeName = "ramdisk" - ImageAttributeNameLaunchPermission ImageAttributeName = "launchPermission" - ImageAttributeNameProductCodes ImageAttributeName = "productCodes" - ImageAttributeNameBlockDeviceMapping ImageAttributeName = "blockDeviceMapping" - ImageAttributeNameSriovNetSupport ImageAttributeName = "sriovNetSupport" - ImageAttributeNameBootMode ImageAttributeName = "bootMode" - ImageAttributeNameTpmSupport ImageAttributeName = "tpmSupport" - ImageAttributeNameUefiData ImageAttributeName = "uefiData" - ImageAttributeNameLastLaunchedTime ImageAttributeName = "lastLaunchedTime" - ImageAttributeNameImdsSupport ImageAttributeName = "imdsSupport" - ImageAttributeNameDeregistrationProtection ImageAttributeName = "deregistrationProtection" -) - -// Values returns all known values for ImageAttributeName. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ImageAttributeName) Values() []ImageAttributeName { - return []ImageAttributeName{ - "description", - "kernel", - "ramdisk", - "launchPermission", - "productCodes", - "blockDeviceMapping", - "sriovNetSupport", - "bootMode", - "tpmSupport", - "uefiData", - "lastLaunchedTime", - "imdsSupport", - "deregistrationProtection", - } -} - -type ImageBlockPublicAccessDisabledState string - -// Enum values for ImageBlockPublicAccessDisabledState -const ( - ImageBlockPublicAccessDisabledStateUnblocked ImageBlockPublicAccessDisabledState = "unblocked" -) - -// Values returns all known values for ImageBlockPublicAccessDisabledState. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ImageBlockPublicAccessDisabledState) Values() []ImageBlockPublicAccessDisabledState { - return []ImageBlockPublicAccessDisabledState{ - "unblocked", - } -} - -type ImageBlockPublicAccessEnabledState string - -// Enum values for ImageBlockPublicAccessEnabledState -const ( - ImageBlockPublicAccessEnabledStateBlockNewSharing ImageBlockPublicAccessEnabledState = "block-new-sharing" -) - -// Values returns all known values for ImageBlockPublicAccessEnabledState. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ImageBlockPublicAccessEnabledState) Values() []ImageBlockPublicAccessEnabledState { - return []ImageBlockPublicAccessEnabledState{ - "block-new-sharing", - } -} - -type ImageReferenceOptionName string - -// Enum values for ImageReferenceOptionName -const ( - ImageReferenceOptionNameStateName ImageReferenceOptionName = "state-name" - ImageReferenceOptionNameVersionDepth ImageReferenceOptionName = "version-depth" -) - -// Values returns all known values for ImageReferenceOptionName. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ImageReferenceOptionName) Values() []ImageReferenceOptionName { - return []ImageReferenceOptionName{ - "state-name", - "version-depth", - } -} - -type ImageReferenceResourceType string - -// Enum values for ImageReferenceResourceType -const ( - ImageReferenceResourceTypeEc2Instance ImageReferenceResourceType = "ec2:Instance" - ImageReferenceResourceTypeEc2LaunchTemplate ImageReferenceResourceType = "ec2:LaunchTemplate" - ImageReferenceResourceTypeSsmParameter ImageReferenceResourceType = "ssm:Parameter" - ImageReferenceResourceTypeImageBuilderImageRecipe ImageReferenceResourceType = "imagebuilder:ImageRecipe" - ImageReferenceResourceTypeImageBuilderContainerRecipe ImageReferenceResourceType = "imagebuilder:ContainerRecipe" -) - -// Values returns all known values for ImageReferenceResourceType. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ImageReferenceResourceType) Values() []ImageReferenceResourceType { - return []ImageReferenceResourceType{ - "ec2:Instance", - "ec2:LaunchTemplate", - "ssm:Parameter", - "imagebuilder:ImageRecipe", - "imagebuilder:ContainerRecipe", - } -} - -type ImageState string - -// Enum values for ImageState -const ( - ImageStatePending ImageState = "pending" - ImageStateAvailable ImageState = "available" - ImageStateInvalid ImageState = "invalid" - ImageStateDeregistered ImageState = "deregistered" - ImageStateTransient ImageState = "transient" - ImageStateFailed ImageState = "failed" - ImageStateError ImageState = "error" - ImageStateDisabled ImageState = "disabled" -) - -// Values returns all known values for ImageState. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ImageState) Values() []ImageState { - return []ImageState{ - "pending", - "available", - "invalid", - "deregistered", - "transient", - "failed", - "error", - "disabled", - } -} - -type ImageTypeValues string - -// Enum values for ImageTypeValues -const ( - ImageTypeValuesMachine ImageTypeValues = "machine" - ImageTypeValuesKernel ImageTypeValues = "kernel" - ImageTypeValuesRamdisk ImageTypeValues = "ramdisk" -) - -// Values returns all known values for ImageTypeValues. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ImageTypeValues) Values() []ImageTypeValues { - return []ImageTypeValues{ - "machine", - "kernel", - "ramdisk", - } -} - -type ImdsSupportValues string - -// Enum values for ImdsSupportValues -const ( - ImdsSupportValuesV20 ImdsSupportValues = "v2.0" -) - -// Values returns all known values for ImdsSupportValues. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ImdsSupportValues) Values() []ImdsSupportValues { - return []ImdsSupportValues{ - "v2.0", - } -} - -type IngestionStatus string - -// Enum values for IngestionStatus -const ( - IngestionStatusInitialIngestionInProgress IngestionStatus = "initial-ingestion-in-progress" - IngestionStatusIngestionComplete IngestionStatus = "ingestion-complete" - IngestionStatusIngestionFailed IngestionStatus = "ingestion-failed" -) - -// Values returns all known values for IngestionStatus. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IngestionStatus) Values() []IngestionStatus { - return []IngestionStatus{ - "initial-ingestion-in-progress", - "ingestion-complete", - "ingestion-failed", - } -} - -type InitializationType string - -// Enum values for InitializationType -const ( - InitializationTypeDefault InitializationType = "default" - InitializationTypeProvisionedRate InitializationType = "provisioned-rate" - InitializationTypeVolumeCopy InitializationType = "volume-copy" -) - -// Values returns all known values for InitializationType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InitializationType) Values() []InitializationType { - return []InitializationType{ - "default", - "provisioned-rate", - "volume-copy", - } -} - -type InstanceAttributeName string - -// Enum values for InstanceAttributeName -const ( - InstanceAttributeNameInstanceType InstanceAttributeName = "instanceType" - InstanceAttributeNameKernel InstanceAttributeName = "kernel" - InstanceAttributeNameRamdisk InstanceAttributeName = "ramdisk" - InstanceAttributeNameUserData InstanceAttributeName = "userData" - InstanceAttributeNameDisableApiTermination InstanceAttributeName = "disableApiTermination" - InstanceAttributeNameInstanceInitiatedShutdownBehavior InstanceAttributeName = "instanceInitiatedShutdownBehavior" - InstanceAttributeNameRootDeviceName InstanceAttributeName = "rootDeviceName" - InstanceAttributeNameBlockDeviceMapping InstanceAttributeName = "blockDeviceMapping" - InstanceAttributeNameProductCodes InstanceAttributeName = "productCodes" - InstanceAttributeNameSourceDestCheck InstanceAttributeName = "sourceDestCheck" - InstanceAttributeNameGroupSet InstanceAttributeName = "groupSet" - InstanceAttributeNameEbsOptimized InstanceAttributeName = "ebsOptimized" - InstanceAttributeNameSriovNetSupport InstanceAttributeName = "sriovNetSupport" - InstanceAttributeNameEnaSupport InstanceAttributeName = "enaSupport" - InstanceAttributeNameEnclaveOptions InstanceAttributeName = "enclaveOptions" - InstanceAttributeNameDisableApiStop InstanceAttributeName = "disableApiStop" -) - -// Values returns all known values for InstanceAttributeName. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceAttributeName) Values() []InstanceAttributeName { - return []InstanceAttributeName{ - "instanceType", - "kernel", - "ramdisk", - "userData", - "disableApiTermination", - "instanceInitiatedShutdownBehavior", - "rootDeviceName", - "blockDeviceMapping", - "productCodes", - "sourceDestCheck", - "groupSet", - "ebsOptimized", - "sriovNetSupport", - "enaSupport", - "enclaveOptions", - "disableApiStop", - } -} - -type InstanceAutoRecoveryState string - -// Enum values for InstanceAutoRecoveryState -const ( - InstanceAutoRecoveryStateDisabled InstanceAutoRecoveryState = "disabled" - InstanceAutoRecoveryStateDefault InstanceAutoRecoveryState = "default" -) - -// Values returns all known values for InstanceAutoRecoveryState. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceAutoRecoveryState) Values() []InstanceAutoRecoveryState { - return []InstanceAutoRecoveryState{ - "disabled", - "default", - } -} - -type InstanceBandwidthWeighting string - -// Enum values for InstanceBandwidthWeighting -const ( - InstanceBandwidthWeightingDefault InstanceBandwidthWeighting = "default" - InstanceBandwidthWeightingVpc1 InstanceBandwidthWeighting = "vpc-1" - InstanceBandwidthWeightingEbs1 InstanceBandwidthWeighting = "ebs-1" -) - -// Values returns all known values for InstanceBandwidthWeighting. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceBandwidthWeighting) Values() []InstanceBandwidthWeighting { - return []InstanceBandwidthWeighting{ - "default", - "vpc-1", - "ebs-1", - } -} - -type InstanceBootModeValues string - -// Enum values for InstanceBootModeValues -const ( - InstanceBootModeValuesLegacyBios InstanceBootModeValues = "legacy-bios" - InstanceBootModeValuesUefi InstanceBootModeValues = "uefi" -) - -// Values returns all known values for InstanceBootModeValues. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceBootModeValues) Values() []InstanceBootModeValues { - return []InstanceBootModeValues{ - "legacy-bios", - "uefi", - } -} - -type InstanceEventWindowState string - -// Enum values for InstanceEventWindowState -const ( - InstanceEventWindowStateCreating InstanceEventWindowState = "creating" - InstanceEventWindowStateDeleting InstanceEventWindowState = "deleting" - InstanceEventWindowStateActive InstanceEventWindowState = "active" - InstanceEventWindowStateDeleted InstanceEventWindowState = "deleted" -) - -// Values returns all known values for InstanceEventWindowState. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceEventWindowState) Values() []InstanceEventWindowState { - return []InstanceEventWindowState{ - "creating", - "deleting", - "active", - "deleted", - } -} - -type InstanceGeneration string - -// Enum values for InstanceGeneration -const ( - InstanceGenerationCurrent InstanceGeneration = "current" - InstanceGenerationPrevious InstanceGeneration = "previous" -) - -// Values returns all known values for InstanceGeneration. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceGeneration) Values() []InstanceGeneration { - return []InstanceGeneration{ - "current", - "previous", - } -} - -type InstanceHealthStatus string - -// Enum values for InstanceHealthStatus -const ( - InstanceHealthStatusHealthyStatus InstanceHealthStatus = "healthy" - InstanceHealthStatusUnhealthyStatus InstanceHealthStatus = "unhealthy" -) - -// Values returns all known values for InstanceHealthStatus. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceHealthStatus) Values() []InstanceHealthStatus { - return []InstanceHealthStatus{ - "healthy", - "unhealthy", - } -} - -type InstanceInterruptionBehavior string - -// Enum values for InstanceInterruptionBehavior -const ( - InstanceInterruptionBehaviorHibernate InstanceInterruptionBehavior = "hibernate" - InstanceInterruptionBehaviorStop InstanceInterruptionBehavior = "stop" - InstanceInterruptionBehaviorTerminate InstanceInterruptionBehavior = "terminate" -) - -// Values returns all known values for InstanceInterruptionBehavior. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceInterruptionBehavior) Values() []InstanceInterruptionBehavior { - return []InstanceInterruptionBehavior{ - "hibernate", - "stop", - "terminate", - } -} - -type InstanceLifecycle string - -// Enum values for InstanceLifecycle -const ( - InstanceLifecycleSpot InstanceLifecycle = "spot" - InstanceLifecycleOnDemand InstanceLifecycle = "on-demand" -) - -// Values returns all known values for InstanceLifecycle. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceLifecycle) Values() []InstanceLifecycle { - return []InstanceLifecycle{ - "spot", - "on-demand", - } -} - -type InstanceLifecycleType string - -// Enum values for InstanceLifecycleType -const ( - InstanceLifecycleTypeSpot InstanceLifecycleType = "spot" - InstanceLifecycleTypeScheduled InstanceLifecycleType = "scheduled" - InstanceLifecycleTypeCapacityBlock InstanceLifecycleType = "capacity-block" - InstanceLifecycleTypeInterruptibleCapacityReservation InstanceLifecycleType = "interruptible-capacity-reservation" -) - -// Values returns all known values for InstanceLifecycleType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceLifecycleType) Values() []InstanceLifecycleType { - return []InstanceLifecycleType{ - "spot", - "scheduled", - "capacity-block", - "interruptible-capacity-reservation", - } -} - -type InstanceMatchCriteria string - -// Enum values for InstanceMatchCriteria -const ( - InstanceMatchCriteriaOpen InstanceMatchCriteria = "open" - InstanceMatchCriteriaTargeted InstanceMatchCriteria = "targeted" -) - -// Values returns all known values for InstanceMatchCriteria. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceMatchCriteria) Values() []InstanceMatchCriteria { - return []InstanceMatchCriteria{ - "open", - "targeted", - } -} - -type InstanceMetadataEndpointState string - -// Enum values for InstanceMetadataEndpointState -const ( - InstanceMetadataEndpointStateDisabled InstanceMetadataEndpointState = "disabled" - InstanceMetadataEndpointStateEnabled InstanceMetadataEndpointState = "enabled" -) - -// Values returns all known values for InstanceMetadataEndpointState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceMetadataEndpointState) Values() []InstanceMetadataEndpointState { - return []InstanceMetadataEndpointState{ - "disabled", - "enabled", - } -} - -type InstanceMetadataOptionsState string - -// Enum values for InstanceMetadataOptionsState -const ( - InstanceMetadataOptionsStatePending InstanceMetadataOptionsState = "pending" - InstanceMetadataOptionsStateApplied InstanceMetadataOptionsState = "applied" -) - -// Values returns all known values for InstanceMetadataOptionsState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceMetadataOptionsState) Values() []InstanceMetadataOptionsState { - return []InstanceMetadataOptionsState{ - "pending", - "applied", - } -} - -type InstanceMetadataProtocolState string - -// Enum values for InstanceMetadataProtocolState -const ( - InstanceMetadataProtocolStateDisabled InstanceMetadataProtocolState = "disabled" - InstanceMetadataProtocolStateEnabled InstanceMetadataProtocolState = "enabled" -) - -// Values returns all known values for InstanceMetadataProtocolState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceMetadataProtocolState) Values() []InstanceMetadataProtocolState { - return []InstanceMetadataProtocolState{ - "disabled", - "enabled", - } -} - -type InstanceMetadataTagsState string - -// Enum values for InstanceMetadataTagsState -const ( - InstanceMetadataTagsStateDisabled InstanceMetadataTagsState = "disabled" - InstanceMetadataTagsStateEnabled InstanceMetadataTagsState = "enabled" -) - -// Values returns all known values for InstanceMetadataTagsState. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceMetadataTagsState) Values() []InstanceMetadataTagsState { - return []InstanceMetadataTagsState{ - "disabled", - "enabled", - } -} - -type InstanceRebootMigrationState string - -// Enum values for InstanceRebootMigrationState -const ( - InstanceRebootMigrationStateDisabled InstanceRebootMigrationState = "disabled" - InstanceRebootMigrationStateDefault InstanceRebootMigrationState = "default" -) - -// Values returns all known values for InstanceRebootMigrationState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceRebootMigrationState) Values() []InstanceRebootMigrationState { - return []InstanceRebootMigrationState{ - "disabled", - "default", - } -} - -type InstanceStateName string - -// Enum values for InstanceStateName -const ( - InstanceStateNamePending InstanceStateName = "pending" - InstanceStateNameRunning InstanceStateName = "running" - InstanceStateNameShuttingDown InstanceStateName = "shutting-down" - InstanceStateNameTerminated InstanceStateName = "terminated" - InstanceStateNameStopping InstanceStateName = "stopping" - InstanceStateNameStopped InstanceStateName = "stopped" -) - -// Values returns all known values for InstanceStateName. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceStateName) Values() []InstanceStateName { - return []InstanceStateName{ - "pending", - "running", - "shutting-down", - "terminated", - "stopping", - "stopped", - } -} - -type InstanceStorageEncryptionSupport string - -// Enum values for InstanceStorageEncryptionSupport -const ( - InstanceStorageEncryptionSupportUnsupported InstanceStorageEncryptionSupport = "unsupported" - InstanceStorageEncryptionSupportRequired InstanceStorageEncryptionSupport = "required" -) - -// Values returns all known values for InstanceStorageEncryptionSupport. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceStorageEncryptionSupport) Values() []InstanceStorageEncryptionSupport { - return []InstanceStorageEncryptionSupport{ - "unsupported", - "required", - } -} - -type InstanceType string - -// Enum values for InstanceType -const ( - InstanceTypeA1Medium InstanceType = "a1.medium" - InstanceTypeA1Large InstanceType = "a1.large" - InstanceTypeA1Xlarge InstanceType = "a1.xlarge" - InstanceTypeA12xlarge InstanceType = "a1.2xlarge" - InstanceTypeA14xlarge InstanceType = "a1.4xlarge" - InstanceTypeA1Metal InstanceType = "a1.metal" - InstanceTypeC1Medium InstanceType = "c1.medium" - InstanceTypeC1Xlarge InstanceType = "c1.xlarge" - InstanceTypeC3Large InstanceType = "c3.large" - InstanceTypeC3Xlarge InstanceType = "c3.xlarge" - InstanceTypeC32xlarge InstanceType = "c3.2xlarge" - InstanceTypeC34xlarge InstanceType = "c3.4xlarge" - InstanceTypeC38xlarge InstanceType = "c3.8xlarge" - InstanceTypeC4Large InstanceType = "c4.large" - InstanceTypeC4Xlarge InstanceType = "c4.xlarge" - InstanceTypeC42xlarge InstanceType = "c4.2xlarge" - InstanceTypeC44xlarge InstanceType = "c4.4xlarge" - InstanceTypeC48xlarge InstanceType = "c4.8xlarge" - InstanceTypeC5Large InstanceType = "c5.large" - InstanceTypeC5Xlarge InstanceType = "c5.xlarge" - InstanceTypeC52xlarge InstanceType = "c5.2xlarge" - InstanceTypeC54xlarge InstanceType = "c5.4xlarge" - InstanceTypeC59xlarge InstanceType = "c5.9xlarge" - InstanceTypeC512xlarge InstanceType = "c5.12xlarge" - InstanceTypeC518xlarge InstanceType = "c5.18xlarge" - InstanceTypeC524xlarge InstanceType = "c5.24xlarge" - InstanceTypeC5Metal InstanceType = "c5.metal" - InstanceTypeC5aLarge InstanceType = "c5a.large" - InstanceTypeC5aXlarge InstanceType = "c5a.xlarge" - InstanceTypeC5a2xlarge InstanceType = "c5a.2xlarge" - InstanceTypeC5a4xlarge InstanceType = "c5a.4xlarge" - InstanceTypeC5a8xlarge InstanceType = "c5a.8xlarge" - InstanceTypeC5a12xlarge InstanceType = "c5a.12xlarge" - InstanceTypeC5a16xlarge InstanceType = "c5a.16xlarge" - InstanceTypeC5a24xlarge InstanceType = "c5a.24xlarge" - InstanceTypeC5adLarge InstanceType = "c5ad.large" - InstanceTypeC5adXlarge InstanceType = "c5ad.xlarge" - InstanceTypeC5ad2xlarge InstanceType = "c5ad.2xlarge" - InstanceTypeC5ad4xlarge InstanceType = "c5ad.4xlarge" - InstanceTypeC5ad8xlarge InstanceType = "c5ad.8xlarge" - InstanceTypeC5ad12xlarge InstanceType = "c5ad.12xlarge" - InstanceTypeC5ad16xlarge InstanceType = "c5ad.16xlarge" - InstanceTypeC5ad24xlarge InstanceType = "c5ad.24xlarge" - InstanceTypeC5dLarge InstanceType = "c5d.large" - InstanceTypeC5dXlarge InstanceType = "c5d.xlarge" - InstanceTypeC5d2xlarge InstanceType = "c5d.2xlarge" - InstanceTypeC5d4xlarge InstanceType = "c5d.4xlarge" - InstanceTypeC5d9xlarge InstanceType = "c5d.9xlarge" - InstanceTypeC5d12xlarge InstanceType = "c5d.12xlarge" - InstanceTypeC5d18xlarge InstanceType = "c5d.18xlarge" - InstanceTypeC5d24xlarge InstanceType = "c5d.24xlarge" - InstanceTypeC5dMetal InstanceType = "c5d.metal" - InstanceTypeC5nLarge InstanceType = "c5n.large" - InstanceTypeC5nXlarge InstanceType = "c5n.xlarge" - InstanceTypeC5n2xlarge InstanceType = "c5n.2xlarge" - InstanceTypeC5n4xlarge InstanceType = "c5n.4xlarge" - InstanceTypeC5n9xlarge InstanceType = "c5n.9xlarge" - InstanceTypeC5n18xlarge InstanceType = "c5n.18xlarge" - InstanceTypeC5nMetal InstanceType = "c5n.metal" - InstanceTypeC6gMedium InstanceType = "c6g.medium" - InstanceTypeC6gLarge InstanceType = "c6g.large" - InstanceTypeC6gXlarge InstanceType = "c6g.xlarge" - InstanceTypeC6g2xlarge InstanceType = "c6g.2xlarge" - InstanceTypeC6g4xlarge InstanceType = "c6g.4xlarge" - InstanceTypeC6g8xlarge InstanceType = "c6g.8xlarge" - InstanceTypeC6g12xlarge InstanceType = "c6g.12xlarge" - InstanceTypeC6g16xlarge InstanceType = "c6g.16xlarge" - InstanceTypeC6gMetal InstanceType = "c6g.metal" - InstanceTypeC6gdMedium InstanceType = "c6gd.medium" - InstanceTypeC6gdLarge InstanceType = "c6gd.large" - InstanceTypeC6gdXlarge InstanceType = "c6gd.xlarge" - InstanceTypeC6gd2xlarge InstanceType = "c6gd.2xlarge" - InstanceTypeC6gd4xlarge InstanceType = "c6gd.4xlarge" - InstanceTypeC6gd8xlarge InstanceType = "c6gd.8xlarge" - InstanceTypeC6gd12xlarge InstanceType = "c6gd.12xlarge" - InstanceTypeC6gd16xlarge InstanceType = "c6gd.16xlarge" - InstanceTypeC6gdMetal InstanceType = "c6gd.metal" - InstanceTypeC6gnMedium InstanceType = "c6gn.medium" - InstanceTypeC6gnLarge InstanceType = "c6gn.large" - InstanceTypeC6gnXlarge InstanceType = "c6gn.xlarge" - InstanceTypeC6gn2xlarge InstanceType = "c6gn.2xlarge" - InstanceTypeC6gn4xlarge InstanceType = "c6gn.4xlarge" - InstanceTypeC6gn8xlarge InstanceType = "c6gn.8xlarge" - InstanceTypeC6gn12xlarge InstanceType = "c6gn.12xlarge" - InstanceTypeC6gn16xlarge InstanceType = "c6gn.16xlarge" - InstanceTypeC6iLarge InstanceType = "c6i.large" - InstanceTypeC6iXlarge InstanceType = "c6i.xlarge" - InstanceTypeC6i2xlarge InstanceType = "c6i.2xlarge" - InstanceTypeC6i4xlarge InstanceType = "c6i.4xlarge" - InstanceTypeC6i8xlarge InstanceType = "c6i.8xlarge" - InstanceTypeC6i12xlarge InstanceType = "c6i.12xlarge" - InstanceTypeC6i16xlarge InstanceType = "c6i.16xlarge" - InstanceTypeC6i24xlarge InstanceType = "c6i.24xlarge" - InstanceTypeC6i32xlarge InstanceType = "c6i.32xlarge" - InstanceTypeC6iMetal InstanceType = "c6i.metal" - InstanceTypeCc14xlarge InstanceType = "cc1.4xlarge" - InstanceTypeCc28xlarge InstanceType = "cc2.8xlarge" - InstanceTypeCg14xlarge InstanceType = "cg1.4xlarge" - InstanceTypeCr18xlarge InstanceType = "cr1.8xlarge" - InstanceTypeD2Xlarge InstanceType = "d2.xlarge" - InstanceTypeD22xlarge InstanceType = "d2.2xlarge" - InstanceTypeD24xlarge InstanceType = "d2.4xlarge" - InstanceTypeD28xlarge InstanceType = "d2.8xlarge" - InstanceTypeD3Xlarge InstanceType = "d3.xlarge" - InstanceTypeD32xlarge InstanceType = "d3.2xlarge" - InstanceTypeD34xlarge InstanceType = "d3.4xlarge" - InstanceTypeD38xlarge InstanceType = "d3.8xlarge" - InstanceTypeD3enXlarge InstanceType = "d3en.xlarge" - InstanceTypeD3en2xlarge InstanceType = "d3en.2xlarge" - InstanceTypeD3en4xlarge InstanceType = "d3en.4xlarge" - InstanceTypeD3en6xlarge InstanceType = "d3en.6xlarge" - InstanceTypeD3en8xlarge InstanceType = "d3en.8xlarge" - InstanceTypeD3en12xlarge InstanceType = "d3en.12xlarge" - InstanceTypeDl124xlarge InstanceType = "dl1.24xlarge" - InstanceTypeF12xlarge InstanceType = "f1.2xlarge" - InstanceTypeF14xlarge InstanceType = "f1.4xlarge" - InstanceTypeF116xlarge InstanceType = "f1.16xlarge" - InstanceTypeG22xlarge InstanceType = "g2.2xlarge" - InstanceTypeG28xlarge InstanceType = "g2.8xlarge" - InstanceTypeG34xlarge InstanceType = "g3.4xlarge" - InstanceTypeG38xlarge InstanceType = "g3.8xlarge" - InstanceTypeG316xlarge InstanceType = "g3.16xlarge" - InstanceTypeG3sXlarge InstanceType = "g3s.xlarge" - InstanceTypeG4adXlarge InstanceType = "g4ad.xlarge" - InstanceTypeG4ad2xlarge InstanceType = "g4ad.2xlarge" - InstanceTypeG4ad4xlarge InstanceType = "g4ad.4xlarge" - InstanceTypeG4ad8xlarge InstanceType = "g4ad.8xlarge" - InstanceTypeG4ad16xlarge InstanceType = "g4ad.16xlarge" - InstanceTypeG4dnXlarge InstanceType = "g4dn.xlarge" - InstanceTypeG4dn2xlarge InstanceType = "g4dn.2xlarge" - InstanceTypeG4dn4xlarge InstanceType = "g4dn.4xlarge" - InstanceTypeG4dn8xlarge InstanceType = "g4dn.8xlarge" - InstanceTypeG4dn12xlarge InstanceType = "g4dn.12xlarge" - InstanceTypeG4dn16xlarge InstanceType = "g4dn.16xlarge" - InstanceTypeG4dnMetal InstanceType = "g4dn.metal" - InstanceTypeG5Xlarge InstanceType = "g5.xlarge" - InstanceTypeG52xlarge InstanceType = "g5.2xlarge" - InstanceTypeG54xlarge InstanceType = "g5.4xlarge" - InstanceTypeG58xlarge InstanceType = "g5.8xlarge" - InstanceTypeG512xlarge InstanceType = "g5.12xlarge" - InstanceTypeG516xlarge InstanceType = "g5.16xlarge" - InstanceTypeG524xlarge InstanceType = "g5.24xlarge" - InstanceTypeG548xlarge InstanceType = "g5.48xlarge" - InstanceTypeG5gXlarge InstanceType = "g5g.xlarge" - InstanceTypeG5g2xlarge InstanceType = "g5g.2xlarge" - InstanceTypeG5g4xlarge InstanceType = "g5g.4xlarge" - InstanceTypeG5g8xlarge InstanceType = "g5g.8xlarge" - InstanceTypeG5g16xlarge InstanceType = "g5g.16xlarge" - InstanceTypeG5gMetal InstanceType = "g5g.metal" - InstanceTypeHi14xlarge InstanceType = "hi1.4xlarge" - InstanceTypeHpc6a48xlarge InstanceType = "hpc6a.48xlarge" - InstanceTypeHs18xlarge InstanceType = "hs1.8xlarge" - InstanceTypeH12xlarge InstanceType = "h1.2xlarge" - InstanceTypeH14xlarge InstanceType = "h1.4xlarge" - InstanceTypeH18xlarge InstanceType = "h1.8xlarge" - InstanceTypeH116xlarge InstanceType = "h1.16xlarge" - InstanceTypeI2Xlarge InstanceType = "i2.xlarge" - InstanceTypeI22xlarge InstanceType = "i2.2xlarge" - InstanceTypeI24xlarge InstanceType = "i2.4xlarge" - InstanceTypeI28xlarge InstanceType = "i2.8xlarge" - InstanceTypeI3Large InstanceType = "i3.large" - InstanceTypeI3Xlarge InstanceType = "i3.xlarge" - InstanceTypeI32xlarge InstanceType = "i3.2xlarge" - InstanceTypeI34xlarge InstanceType = "i3.4xlarge" - InstanceTypeI38xlarge InstanceType = "i3.8xlarge" - InstanceTypeI316xlarge InstanceType = "i3.16xlarge" - InstanceTypeI3Metal InstanceType = "i3.metal" - InstanceTypeI3enLarge InstanceType = "i3en.large" - InstanceTypeI3enXlarge InstanceType = "i3en.xlarge" - InstanceTypeI3en2xlarge InstanceType = "i3en.2xlarge" - InstanceTypeI3en3xlarge InstanceType = "i3en.3xlarge" - InstanceTypeI3en6xlarge InstanceType = "i3en.6xlarge" - InstanceTypeI3en12xlarge InstanceType = "i3en.12xlarge" - InstanceTypeI3en24xlarge InstanceType = "i3en.24xlarge" - InstanceTypeI3enMetal InstanceType = "i3en.metal" - InstanceTypeIm4gnLarge InstanceType = "im4gn.large" - InstanceTypeIm4gnXlarge InstanceType = "im4gn.xlarge" - InstanceTypeIm4gn2xlarge InstanceType = "im4gn.2xlarge" - InstanceTypeIm4gn4xlarge InstanceType = "im4gn.4xlarge" - InstanceTypeIm4gn8xlarge InstanceType = "im4gn.8xlarge" - InstanceTypeIm4gn16xlarge InstanceType = "im4gn.16xlarge" - InstanceTypeInf1Xlarge InstanceType = "inf1.xlarge" - InstanceTypeInf12xlarge InstanceType = "inf1.2xlarge" - InstanceTypeInf16xlarge InstanceType = "inf1.6xlarge" - InstanceTypeInf124xlarge InstanceType = "inf1.24xlarge" - InstanceTypeIs4genMedium InstanceType = "is4gen.medium" - InstanceTypeIs4genLarge InstanceType = "is4gen.large" - InstanceTypeIs4genXlarge InstanceType = "is4gen.xlarge" - InstanceTypeIs4gen2xlarge InstanceType = "is4gen.2xlarge" - InstanceTypeIs4gen4xlarge InstanceType = "is4gen.4xlarge" - InstanceTypeIs4gen8xlarge InstanceType = "is4gen.8xlarge" - InstanceTypeM1Small InstanceType = "m1.small" - InstanceTypeM1Medium InstanceType = "m1.medium" - InstanceTypeM1Large InstanceType = "m1.large" - InstanceTypeM1Xlarge InstanceType = "m1.xlarge" - InstanceTypeM2Xlarge InstanceType = "m2.xlarge" - InstanceTypeM22xlarge InstanceType = "m2.2xlarge" - InstanceTypeM24xlarge InstanceType = "m2.4xlarge" - InstanceTypeM3Medium InstanceType = "m3.medium" - InstanceTypeM3Large InstanceType = "m3.large" - InstanceTypeM3Xlarge InstanceType = "m3.xlarge" - InstanceTypeM32xlarge InstanceType = "m3.2xlarge" - InstanceTypeM4Large InstanceType = "m4.large" - InstanceTypeM4Xlarge InstanceType = "m4.xlarge" - InstanceTypeM42xlarge InstanceType = "m4.2xlarge" - InstanceTypeM44xlarge InstanceType = "m4.4xlarge" - InstanceTypeM410xlarge InstanceType = "m4.10xlarge" - InstanceTypeM416xlarge InstanceType = "m4.16xlarge" - InstanceTypeM5Large InstanceType = "m5.large" - InstanceTypeM5Xlarge InstanceType = "m5.xlarge" - InstanceTypeM52xlarge InstanceType = "m5.2xlarge" - InstanceTypeM54xlarge InstanceType = "m5.4xlarge" - InstanceTypeM58xlarge InstanceType = "m5.8xlarge" - InstanceTypeM512xlarge InstanceType = "m5.12xlarge" - InstanceTypeM516xlarge InstanceType = "m5.16xlarge" - InstanceTypeM524xlarge InstanceType = "m5.24xlarge" - InstanceTypeM5Metal InstanceType = "m5.metal" - InstanceTypeM5aLarge InstanceType = "m5a.large" - InstanceTypeM5aXlarge InstanceType = "m5a.xlarge" - InstanceTypeM5a2xlarge InstanceType = "m5a.2xlarge" - InstanceTypeM5a4xlarge InstanceType = "m5a.4xlarge" - InstanceTypeM5a8xlarge InstanceType = "m5a.8xlarge" - InstanceTypeM5a12xlarge InstanceType = "m5a.12xlarge" - InstanceTypeM5a16xlarge InstanceType = "m5a.16xlarge" - InstanceTypeM5a24xlarge InstanceType = "m5a.24xlarge" - InstanceTypeM5adLarge InstanceType = "m5ad.large" - InstanceTypeM5adXlarge InstanceType = "m5ad.xlarge" - InstanceTypeM5ad2xlarge InstanceType = "m5ad.2xlarge" - InstanceTypeM5ad4xlarge InstanceType = "m5ad.4xlarge" - InstanceTypeM5ad8xlarge InstanceType = "m5ad.8xlarge" - InstanceTypeM5ad12xlarge InstanceType = "m5ad.12xlarge" - InstanceTypeM5ad16xlarge InstanceType = "m5ad.16xlarge" - InstanceTypeM5ad24xlarge InstanceType = "m5ad.24xlarge" - InstanceTypeM5dLarge InstanceType = "m5d.large" - InstanceTypeM5dXlarge InstanceType = "m5d.xlarge" - InstanceTypeM5d2xlarge InstanceType = "m5d.2xlarge" - InstanceTypeM5d4xlarge InstanceType = "m5d.4xlarge" - InstanceTypeM5d8xlarge InstanceType = "m5d.8xlarge" - InstanceTypeM5d12xlarge InstanceType = "m5d.12xlarge" - InstanceTypeM5d16xlarge InstanceType = "m5d.16xlarge" - InstanceTypeM5d24xlarge InstanceType = "m5d.24xlarge" - InstanceTypeM5dMetal InstanceType = "m5d.metal" - InstanceTypeM5dnLarge InstanceType = "m5dn.large" - InstanceTypeM5dnXlarge InstanceType = "m5dn.xlarge" - InstanceTypeM5dn2xlarge InstanceType = "m5dn.2xlarge" - InstanceTypeM5dn4xlarge InstanceType = "m5dn.4xlarge" - InstanceTypeM5dn8xlarge InstanceType = "m5dn.8xlarge" - InstanceTypeM5dn12xlarge InstanceType = "m5dn.12xlarge" - InstanceTypeM5dn16xlarge InstanceType = "m5dn.16xlarge" - InstanceTypeM5dn24xlarge InstanceType = "m5dn.24xlarge" - InstanceTypeM5dnMetal InstanceType = "m5dn.metal" - InstanceTypeM5nLarge InstanceType = "m5n.large" - InstanceTypeM5nXlarge InstanceType = "m5n.xlarge" - InstanceTypeM5n2xlarge InstanceType = "m5n.2xlarge" - InstanceTypeM5n4xlarge InstanceType = "m5n.4xlarge" - InstanceTypeM5n8xlarge InstanceType = "m5n.8xlarge" - InstanceTypeM5n12xlarge InstanceType = "m5n.12xlarge" - InstanceTypeM5n16xlarge InstanceType = "m5n.16xlarge" - InstanceTypeM5n24xlarge InstanceType = "m5n.24xlarge" - InstanceTypeM5nMetal InstanceType = "m5n.metal" - InstanceTypeM5znLarge InstanceType = "m5zn.large" - InstanceTypeM5znXlarge InstanceType = "m5zn.xlarge" - InstanceTypeM5zn2xlarge InstanceType = "m5zn.2xlarge" - InstanceTypeM5zn3xlarge InstanceType = "m5zn.3xlarge" - InstanceTypeM5zn6xlarge InstanceType = "m5zn.6xlarge" - InstanceTypeM5zn12xlarge InstanceType = "m5zn.12xlarge" - InstanceTypeM5znMetal InstanceType = "m5zn.metal" - InstanceTypeM6aLarge InstanceType = "m6a.large" - InstanceTypeM6aXlarge InstanceType = "m6a.xlarge" - InstanceTypeM6a2xlarge InstanceType = "m6a.2xlarge" - InstanceTypeM6a4xlarge InstanceType = "m6a.4xlarge" - InstanceTypeM6a8xlarge InstanceType = "m6a.8xlarge" - InstanceTypeM6a12xlarge InstanceType = "m6a.12xlarge" - InstanceTypeM6a16xlarge InstanceType = "m6a.16xlarge" - InstanceTypeM6a24xlarge InstanceType = "m6a.24xlarge" - InstanceTypeM6a32xlarge InstanceType = "m6a.32xlarge" - InstanceTypeM6a48xlarge InstanceType = "m6a.48xlarge" - InstanceTypeM6gMetal InstanceType = "m6g.metal" - InstanceTypeM6gMedium InstanceType = "m6g.medium" - InstanceTypeM6gLarge InstanceType = "m6g.large" - InstanceTypeM6gXlarge InstanceType = "m6g.xlarge" - InstanceTypeM6g2xlarge InstanceType = "m6g.2xlarge" - InstanceTypeM6g4xlarge InstanceType = "m6g.4xlarge" - InstanceTypeM6g8xlarge InstanceType = "m6g.8xlarge" - InstanceTypeM6g12xlarge InstanceType = "m6g.12xlarge" - InstanceTypeM6g16xlarge InstanceType = "m6g.16xlarge" - InstanceTypeM6gdMetal InstanceType = "m6gd.metal" - InstanceTypeM6gdMedium InstanceType = "m6gd.medium" - InstanceTypeM6gdLarge InstanceType = "m6gd.large" - InstanceTypeM6gdXlarge InstanceType = "m6gd.xlarge" - InstanceTypeM6gd2xlarge InstanceType = "m6gd.2xlarge" - InstanceTypeM6gd4xlarge InstanceType = "m6gd.4xlarge" - InstanceTypeM6gd8xlarge InstanceType = "m6gd.8xlarge" - InstanceTypeM6gd12xlarge InstanceType = "m6gd.12xlarge" - InstanceTypeM6gd16xlarge InstanceType = "m6gd.16xlarge" - InstanceTypeM6iLarge InstanceType = "m6i.large" - InstanceTypeM6iXlarge InstanceType = "m6i.xlarge" - InstanceTypeM6i2xlarge InstanceType = "m6i.2xlarge" - InstanceTypeM6i4xlarge InstanceType = "m6i.4xlarge" - InstanceTypeM6i8xlarge InstanceType = "m6i.8xlarge" - InstanceTypeM6i12xlarge InstanceType = "m6i.12xlarge" - InstanceTypeM6i16xlarge InstanceType = "m6i.16xlarge" - InstanceTypeM6i24xlarge InstanceType = "m6i.24xlarge" - InstanceTypeM6i32xlarge InstanceType = "m6i.32xlarge" - InstanceTypeM6iMetal InstanceType = "m6i.metal" - InstanceTypeMac1Metal InstanceType = "mac1.metal" - InstanceTypeP2Xlarge InstanceType = "p2.xlarge" - InstanceTypeP28xlarge InstanceType = "p2.8xlarge" - InstanceTypeP216xlarge InstanceType = "p2.16xlarge" - InstanceTypeP32xlarge InstanceType = "p3.2xlarge" - InstanceTypeP38xlarge InstanceType = "p3.8xlarge" - InstanceTypeP316xlarge InstanceType = "p3.16xlarge" - InstanceTypeP3dn24xlarge InstanceType = "p3dn.24xlarge" - InstanceTypeP4d24xlarge InstanceType = "p4d.24xlarge" - InstanceTypeR3Large InstanceType = "r3.large" - InstanceTypeR3Xlarge InstanceType = "r3.xlarge" - InstanceTypeR32xlarge InstanceType = "r3.2xlarge" - InstanceTypeR34xlarge InstanceType = "r3.4xlarge" - InstanceTypeR38xlarge InstanceType = "r3.8xlarge" - InstanceTypeR4Large InstanceType = "r4.large" - InstanceTypeR4Xlarge InstanceType = "r4.xlarge" - InstanceTypeR42xlarge InstanceType = "r4.2xlarge" - InstanceTypeR44xlarge InstanceType = "r4.4xlarge" - InstanceTypeR48xlarge InstanceType = "r4.8xlarge" - InstanceTypeR416xlarge InstanceType = "r4.16xlarge" - InstanceTypeR5Large InstanceType = "r5.large" - InstanceTypeR5Xlarge InstanceType = "r5.xlarge" - InstanceTypeR52xlarge InstanceType = "r5.2xlarge" - InstanceTypeR54xlarge InstanceType = "r5.4xlarge" - InstanceTypeR58xlarge InstanceType = "r5.8xlarge" - InstanceTypeR512xlarge InstanceType = "r5.12xlarge" - InstanceTypeR516xlarge InstanceType = "r5.16xlarge" - InstanceTypeR524xlarge InstanceType = "r5.24xlarge" - InstanceTypeR5Metal InstanceType = "r5.metal" - InstanceTypeR5aLarge InstanceType = "r5a.large" - InstanceTypeR5aXlarge InstanceType = "r5a.xlarge" - InstanceTypeR5a2xlarge InstanceType = "r5a.2xlarge" - InstanceTypeR5a4xlarge InstanceType = "r5a.4xlarge" - InstanceTypeR5a8xlarge InstanceType = "r5a.8xlarge" - InstanceTypeR5a12xlarge InstanceType = "r5a.12xlarge" - InstanceTypeR5a16xlarge InstanceType = "r5a.16xlarge" - InstanceTypeR5a24xlarge InstanceType = "r5a.24xlarge" - InstanceTypeR5adLarge InstanceType = "r5ad.large" - InstanceTypeR5adXlarge InstanceType = "r5ad.xlarge" - InstanceTypeR5ad2xlarge InstanceType = "r5ad.2xlarge" - InstanceTypeR5ad4xlarge InstanceType = "r5ad.4xlarge" - InstanceTypeR5ad8xlarge InstanceType = "r5ad.8xlarge" - InstanceTypeR5ad12xlarge InstanceType = "r5ad.12xlarge" - InstanceTypeR5ad16xlarge InstanceType = "r5ad.16xlarge" - InstanceTypeR5ad24xlarge InstanceType = "r5ad.24xlarge" - InstanceTypeR5bLarge InstanceType = "r5b.large" - InstanceTypeR5bXlarge InstanceType = "r5b.xlarge" - InstanceTypeR5b2xlarge InstanceType = "r5b.2xlarge" - InstanceTypeR5b4xlarge InstanceType = "r5b.4xlarge" - InstanceTypeR5b8xlarge InstanceType = "r5b.8xlarge" - InstanceTypeR5b12xlarge InstanceType = "r5b.12xlarge" - InstanceTypeR5b16xlarge InstanceType = "r5b.16xlarge" - InstanceTypeR5b24xlarge InstanceType = "r5b.24xlarge" - InstanceTypeR5bMetal InstanceType = "r5b.metal" - InstanceTypeR5dLarge InstanceType = "r5d.large" - InstanceTypeR5dXlarge InstanceType = "r5d.xlarge" - InstanceTypeR5d2xlarge InstanceType = "r5d.2xlarge" - InstanceTypeR5d4xlarge InstanceType = "r5d.4xlarge" - InstanceTypeR5d8xlarge InstanceType = "r5d.8xlarge" - InstanceTypeR5d12xlarge InstanceType = "r5d.12xlarge" - InstanceTypeR5d16xlarge InstanceType = "r5d.16xlarge" - InstanceTypeR5d24xlarge InstanceType = "r5d.24xlarge" - InstanceTypeR5dMetal InstanceType = "r5d.metal" - InstanceTypeR5dnLarge InstanceType = "r5dn.large" - InstanceTypeR5dnXlarge InstanceType = "r5dn.xlarge" - InstanceTypeR5dn2xlarge InstanceType = "r5dn.2xlarge" - InstanceTypeR5dn4xlarge InstanceType = "r5dn.4xlarge" - InstanceTypeR5dn8xlarge InstanceType = "r5dn.8xlarge" - InstanceTypeR5dn12xlarge InstanceType = "r5dn.12xlarge" - InstanceTypeR5dn16xlarge InstanceType = "r5dn.16xlarge" - InstanceTypeR5dn24xlarge InstanceType = "r5dn.24xlarge" - InstanceTypeR5dnMetal InstanceType = "r5dn.metal" - InstanceTypeR5nLarge InstanceType = "r5n.large" - InstanceTypeR5nXlarge InstanceType = "r5n.xlarge" - InstanceTypeR5n2xlarge InstanceType = "r5n.2xlarge" - InstanceTypeR5n4xlarge InstanceType = "r5n.4xlarge" - InstanceTypeR5n8xlarge InstanceType = "r5n.8xlarge" - InstanceTypeR5n12xlarge InstanceType = "r5n.12xlarge" - InstanceTypeR5n16xlarge InstanceType = "r5n.16xlarge" - InstanceTypeR5n24xlarge InstanceType = "r5n.24xlarge" - InstanceTypeR5nMetal InstanceType = "r5n.metal" - InstanceTypeR6gMedium InstanceType = "r6g.medium" - InstanceTypeR6gLarge InstanceType = "r6g.large" - InstanceTypeR6gXlarge InstanceType = "r6g.xlarge" - InstanceTypeR6g2xlarge InstanceType = "r6g.2xlarge" - InstanceTypeR6g4xlarge InstanceType = "r6g.4xlarge" - InstanceTypeR6g8xlarge InstanceType = "r6g.8xlarge" - InstanceTypeR6g12xlarge InstanceType = "r6g.12xlarge" - InstanceTypeR6g16xlarge InstanceType = "r6g.16xlarge" - InstanceTypeR6gMetal InstanceType = "r6g.metal" - InstanceTypeR6gdMedium InstanceType = "r6gd.medium" - InstanceTypeR6gdLarge InstanceType = "r6gd.large" - InstanceTypeR6gdXlarge InstanceType = "r6gd.xlarge" - InstanceTypeR6gd2xlarge InstanceType = "r6gd.2xlarge" - InstanceTypeR6gd4xlarge InstanceType = "r6gd.4xlarge" - InstanceTypeR6gd8xlarge InstanceType = "r6gd.8xlarge" - InstanceTypeR6gd12xlarge InstanceType = "r6gd.12xlarge" - InstanceTypeR6gd16xlarge InstanceType = "r6gd.16xlarge" - InstanceTypeR6gdMetal InstanceType = "r6gd.metal" - InstanceTypeR6iLarge InstanceType = "r6i.large" - InstanceTypeR6iXlarge InstanceType = "r6i.xlarge" - InstanceTypeR6i2xlarge InstanceType = "r6i.2xlarge" - InstanceTypeR6i4xlarge InstanceType = "r6i.4xlarge" - InstanceTypeR6i8xlarge InstanceType = "r6i.8xlarge" - InstanceTypeR6i12xlarge InstanceType = "r6i.12xlarge" - InstanceTypeR6i16xlarge InstanceType = "r6i.16xlarge" - InstanceTypeR6i24xlarge InstanceType = "r6i.24xlarge" - InstanceTypeR6i32xlarge InstanceType = "r6i.32xlarge" - InstanceTypeR6iMetal InstanceType = "r6i.metal" - InstanceTypeT1Micro InstanceType = "t1.micro" - InstanceTypeT2Nano InstanceType = "t2.nano" - InstanceTypeT2Micro InstanceType = "t2.micro" - InstanceTypeT2Small InstanceType = "t2.small" - InstanceTypeT2Medium InstanceType = "t2.medium" - InstanceTypeT2Large InstanceType = "t2.large" - InstanceTypeT2Xlarge InstanceType = "t2.xlarge" - InstanceTypeT22xlarge InstanceType = "t2.2xlarge" - InstanceTypeT3Nano InstanceType = "t3.nano" - InstanceTypeT3Micro InstanceType = "t3.micro" - InstanceTypeT3Small InstanceType = "t3.small" - InstanceTypeT3Medium InstanceType = "t3.medium" - InstanceTypeT3Large InstanceType = "t3.large" - InstanceTypeT3Xlarge InstanceType = "t3.xlarge" - InstanceTypeT32xlarge InstanceType = "t3.2xlarge" - InstanceTypeT3aNano InstanceType = "t3a.nano" - InstanceTypeT3aMicro InstanceType = "t3a.micro" - InstanceTypeT3aSmall InstanceType = "t3a.small" - InstanceTypeT3aMedium InstanceType = "t3a.medium" - InstanceTypeT3aLarge InstanceType = "t3a.large" - InstanceTypeT3aXlarge InstanceType = "t3a.xlarge" - InstanceTypeT3a2xlarge InstanceType = "t3a.2xlarge" - InstanceTypeT4gNano InstanceType = "t4g.nano" - InstanceTypeT4gMicro InstanceType = "t4g.micro" - InstanceTypeT4gSmall InstanceType = "t4g.small" - InstanceTypeT4gMedium InstanceType = "t4g.medium" - InstanceTypeT4gLarge InstanceType = "t4g.large" - InstanceTypeT4gXlarge InstanceType = "t4g.xlarge" - InstanceTypeT4g2xlarge InstanceType = "t4g.2xlarge" - InstanceTypeU6tb156xlarge InstanceType = "u-6tb1.56xlarge" - InstanceTypeU6tb1112xlarge InstanceType = "u-6tb1.112xlarge" - InstanceTypeU9tb1112xlarge InstanceType = "u-9tb1.112xlarge" - InstanceTypeU12tb1112xlarge InstanceType = "u-12tb1.112xlarge" - InstanceTypeU6tb1Metal InstanceType = "u-6tb1.metal" - InstanceTypeU9tb1Metal InstanceType = "u-9tb1.metal" - InstanceTypeU12tb1Metal InstanceType = "u-12tb1.metal" - InstanceTypeU18tb1Metal InstanceType = "u-18tb1.metal" - InstanceTypeU24tb1Metal InstanceType = "u-24tb1.metal" - InstanceTypeVt13xlarge InstanceType = "vt1.3xlarge" - InstanceTypeVt16xlarge InstanceType = "vt1.6xlarge" - InstanceTypeVt124xlarge InstanceType = "vt1.24xlarge" - InstanceTypeX116xlarge InstanceType = "x1.16xlarge" - InstanceTypeX132xlarge InstanceType = "x1.32xlarge" - InstanceTypeX1eXlarge InstanceType = "x1e.xlarge" - InstanceTypeX1e2xlarge InstanceType = "x1e.2xlarge" - InstanceTypeX1e4xlarge InstanceType = "x1e.4xlarge" - InstanceTypeX1e8xlarge InstanceType = "x1e.8xlarge" - InstanceTypeX1e16xlarge InstanceType = "x1e.16xlarge" - InstanceTypeX1e32xlarge InstanceType = "x1e.32xlarge" - InstanceTypeX2iezn2xlarge InstanceType = "x2iezn.2xlarge" - InstanceTypeX2iezn4xlarge InstanceType = "x2iezn.4xlarge" - InstanceTypeX2iezn6xlarge InstanceType = "x2iezn.6xlarge" - InstanceTypeX2iezn8xlarge InstanceType = "x2iezn.8xlarge" - InstanceTypeX2iezn12xlarge InstanceType = "x2iezn.12xlarge" - InstanceTypeX2ieznMetal InstanceType = "x2iezn.metal" - InstanceTypeX2gdMedium InstanceType = "x2gd.medium" - InstanceTypeX2gdLarge InstanceType = "x2gd.large" - InstanceTypeX2gdXlarge InstanceType = "x2gd.xlarge" - InstanceTypeX2gd2xlarge InstanceType = "x2gd.2xlarge" - InstanceTypeX2gd4xlarge InstanceType = "x2gd.4xlarge" - InstanceTypeX2gd8xlarge InstanceType = "x2gd.8xlarge" - InstanceTypeX2gd12xlarge InstanceType = "x2gd.12xlarge" - InstanceTypeX2gd16xlarge InstanceType = "x2gd.16xlarge" - InstanceTypeX2gdMetal InstanceType = "x2gd.metal" - InstanceTypeZ1dLarge InstanceType = "z1d.large" - InstanceTypeZ1dXlarge InstanceType = "z1d.xlarge" - InstanceTypeZ1d2xlarge InstanceType = "z1d.2xlarge" - InstanceTypeZ1d3xlarge InstanceType = "z1d.3xlarge" - InstanceTypeZ1d6xlarge InstanceType = "z1d.6xlarge" - InstanceTypeZ1d12xlarge InstanceType = "z1d.12xlarge" - InstanceTypeZ1dMetal InstanceType = "z1d.metal" - InstanceTypeX2idn16xlarge InstanceType = "x2idn.16xlarge" - InstanceTypeX2idn24xlarge InstanceType = "x2idn.24xlarge" - InstanceTypeX2idn32xlarge InstanceType = "x2idn.32xlarge" - InstanceTypeX2iednXlarge InstanceType = "x2iedn.xlarge" - InstanceTypeX2iedn2xlarge InstanceType = "x2iedn.2xlarge" - InstanceTypeX2iedn4xlarge InstanceType = "x2iedn.4xlarge" - InstanceTypeX2iedn8xlarge InstanceType = "x2iedn.8xlarge" - InstanceTypeX2iedn16xlarge InstanceType = "x2iedn.16xlarge" - InstanceTypeX2iedn24xlarge InstanceType = "x2iedn.24xlarge" - InstanceTypeX2iedn32xlarge InstanceType = "x2iedn.32xlarge" - InstanceTypeC6aLarge InstanceType = "c6a.large" - InstanceTypeC6aXlarge InstanceType = "c6a.xlarge" - InstanceTypeC6a2xlarge InstanceType = "c6a.2xlarge" - InstanceTypeC6a4xlarge InstanceType = "c6a.4xlarge" - InstanceTypeC6a8xlarge InstanceType = "c6a.8xlarge" - InstanceTypeC6a12xlarge InstanceType = "c6a.12xlarge" - InstanceTypeC6a16xlarge InstanceType = "c6a.16xlarge" - InstanceTypeC6a24xlarge InstanceType = "c6a.24xlarge" - InstanceTypeC6a32xlarge InstanceType = "c6a.32xlarge" - InstanceTypeC6a48xlarge InstanceType = "c6a.48xlarge" - InstanceTypeC6aMetal InstanceType = "c6a.metal" - InstanceTypeM6aMetal InstanceType = "m6a.metal" - InstanceTypeI4iLarge InstanceType = "i4i.large" - InstanceTypeI4iXlarge InstanceType = "i4i.xlarge" - InstanceTypeI4i2xlarge InstanceType = "i4i.2xlarge" - InstanceTypeI4i4xlarge InstanceType = "i4i.4xlarge" - InstanceTypeI4i8xlarge InstanceType = "i4i.8xlarge" - InstanceTypeI4i16xlarge InstanceType = "i4i.16xlarge" - InstanceTypeI4i32xlarge InstanceType = "i4i.32xlarge" - InstanceTypeI4iMetal InstanceType = "i4i.metal" - InstanceTypeX2idnMetal InstanceType = "x2idn.metal" - InstanceTypeX2iednMetal InstanceType = "x2iedn.metal" - InstanceTypeC7gMedium InstanceType = "c7g.medium" - InstanceTypeC7gLarge InstanceType = "c7g.large" - InstanceTypeC7gXlarge InstanceType = "c7g.xlarge" - InstanceTypeC7g2xlarge InstanceType = "c7g.2xlarge" - InstanceTypeC7g4xlarge InstanceType = "c7g.4xlarge" - InstanceTypeC7g8xlarge InstanceType = "c7g.8xlarge" - InstanceTypeC7g12xlarge InstanceType = "c7g.12xlarge" - InstanceTypeC7g16xlarge InstanceType = "c7g.16xlarge" - InstanceTypeMac2Metal InstanceType = "mac2.metal" - InstanceTypeC6idLarge InstanceType = "c6id.large" - InstanceTypeC6idXlarge InstanceType = "c6id.xlarge" - InstanceTypeC6id2xlarge InstanceType = "c6id.2xlarge" - InstanceTypeC6id4xlarge InstanceType = "c6id.4xlarge" - InstanceTypeC6id8xlarge InstanceType = "c6id.8xlarge" - InstanceTypeC6id12xlarge InstanceType = "c6id.12xlarge" - InstanceTypeC6id16xlarge InstanceType = "c6id.16xlarge" - InstanceTypeC6id24xlarge InstanceType = "c6id.24xlarge" - InstanceTypeC6id32xlarge InstanceType = "c6id.32xlarge" - InstanceTypeC6idMetal InstanceType = "c6id.metal" - InstanceTypeM6idLarge InstanceType = "m6id.large" - InstanceTypeM6idXlarge InstanceType = "m6id.xlarge" - InstanceTypeM6id2xlarge InstanceType = "m6id.2xlarge" - InstanceTypeM6id4xlarge InstanceType = "m6id.4xlarge" - InstanceTypeM6id8xlarge InstanceType = "m6id.8xlarge" - InstanceTypeM6id12xlarge InstanceType = "m6id.12xlarge" - InstanceTypeM6id16xlarge InstanceType = "m6id.16xlarge" - InstanceTypeM6id24xlarge InstanceType = "m6id.24xlarge" - InstanceTypeM6id32xlarge InstanceType = "m6id.32xlarge" - InstanceTypeM6idMetal InstanceType = "m6id.metal" - InstanceTypeR6idLarge InstanceType = "r6id.large" - InstanceTypeR6idXlarge InstanceType = "r6id.xlarge" - InstanceTypeR6id2xlarge InstanceType = "r6id.2xlarge" - InstanceTypeR6id4xlarge InstanceType = "r6id.4xlarge" - InstanceTypeR6id8xlarge InstanceType = "r6id.8xlarge" - InstanceTypeR6id12xlarge InstanceType = "r6id.12xlarge" - InstanceTypeR6id16xlarge InstanceType = "r6id.16xlarge" - InstanceTypeR6id24xlarge InstanceType = "r6id.24xlarge" - InstanceTypeR6id32xlarge InstanceType = "r6id.32xlarge" - InstanceTypeR6idMetal InstanceType = "r6id.metal" - InstanceTypeR6aLarge InstanceType = "r6a.large" - InstanceTypeR6aXlarge InstanceType = "r6a.xlarge" - InstanceTypeR6a2xlarge InstanceType = "r6a.2xlarge" - InstanceTypeR6a4xlarge InstanceType = "r6a.4xlarge" - InstanceTypeR6a8xlarge InstanceType = "r6a.8xlarge" - InstanceTypeR6a12xlarge InstanceType = "r6a.12xlarge" - InstanceTypeR6a16xlarge InstanceType = "r6a.16xlarge" - InstanceTypeR6a24xlarge InstanceType = "r6a.24xlarge" - InstanceTypeR6a32xlarge InstanceType = "r6a.32xlarge" - InstanceTypeR6a48xlarge InstanceType = "r6a.48xlarge" - InstanceTypeR6aMetal InstanceType = "r6a.metal" - InstanceTypeP4de24xlarge InstanceType = "p4de.24xlarge" - InstanceTypeU3tb156xlarge InstanceType = "u-3tb1.56xlarge" - InstanceTypeU18tb1112xlarge InstanceType = "u-18tb1.112xlarge" - InstanceTypeU24tb1112xlarge InstanceType = "u-24tb1.112xlarge" - InstanceTypeTrn12xlarge InstanceType = "trn1.2xlarge" - InstanceTypeTrn132xlarge InstanceType = "trn1.32xlarge" - InstanceTypeHpc6id32xlarge InstanceType = "hpc6id.32xlarge" - InstanceTypeC6inLarge InstanceType = "c6in.large" - InstanceTypeC6inXlarge InstanceType = "c6in.xlarge" - InstanceTypeC6in2xlarge InstanceType = "c6in.2xlarge" - InstanceTypeC6in4xlarge InstanceType = "c6in.4xlarge" - InstanceTypeC6in8xlarge InstanceType = "c6in.8xlarge" - InstanceTypeC6in12xlarge InstanceType = "c6in.12xlarge" - InstanceTypeC6in16xlarge InstanceType = "c6in.16xlarge" - InstanceTypeC6in24xlarge InstanceType = "c6in.24xlarge" - InstanceTypeC6in32xlarge InstanceType = "c6in.32xlarge" - InstanceTypeM6inLarge InstanceType = "m6in.large" - InstanceTypeM6inXlarge InstanceType = "m6in.xlarge" - InstanceTypeM6in2xlarge InstanceType = "m6in.2xlarge" - InstanceTypeM6in4xlarge InstanceType = "m6in.4xlarge" - InstanceTypeM6in8xlarge InstanceType = "m6in.8xlarge" - InstanceTypeM6in12xlarge InstanceType = "m6in.12xlarge" - InstanceTypeM6in16xlarge InstanceType = "m6in.16xlarge" - InstanceTypeM6in24xlarge InstanceType = "m6in.24xlarge" - InstanceTypeM6in32xlarge InstanceType = "m6in.32xlarge" - InstanceTypeM6idnLarge InstanceType = "m6idn.large" - InstanceTypeM6idnXlarge InstanceType = "m6idn.xlarge" - InstanceTypeM6idn2xlarge InstanceType = "m6idn.2xlarge" - InstanceTypeM6idn4xlarge InstanceType = "m6idn.4xlarge" - InstanceTypeM6idn8xlarge InstanceType = "m6idn.8xlarge" - InstanceTypeM6idn12xlarge InstanceType = "m6idn.12xlarge" - InstanceTypeM6idn16xlarge InstanceType = "m6idn.16xlarge" - InstanceTypeM6idn24xlarge InstanceType = "m6idn.24xlarge" - InstanceTypeM6idn32xlarge InstanceType = "m6idn.32xlarge" - InstanceTypeR6inLarge InstanceType = "r6in.large" - InstanceTypeR6inXlarge InstanceType = "r6in.xlarge" - InstanceTypeR6in2xlarge InstanceType = "r6in.2xlarge" - InstanceTypeR6in4xlarge InstanceType = "r6in.4xlarge" - InstanceTypeR6in8xlarge InstanceType = "r6in.8xlarge" - InstanceTypeR6in12xlarge InstanceType = "r6in.12xlarge" - InstanceTypeR6in16xlarge InstanceType = "r6in.16xlarge" - InstanceTypeR6in24xlarge InstanceType = "r6in.24xlarge" - InstanceTypeR6in32xlarge InstanceType = "r6in.32xlarge" - InstanceTypeR6idnLarge InstanceType = "r6idn.large" - InstanceTypeR6idnXlarge InstanceType = "r6idn.xlarge" - InstanceTypeR6idn2xlarge InstanceType = "r6idn.2xlarge" - InstanceTypeR6idn4xlarge InstanceType = "r6idn.4xlarge" - InstanceTypeR6idn8xlarge InstanceType = "r6idn.8xlarge" - InstanceTypeR6idn12xlarge InstanceType = "r6idn.12xlarge" - InstanceTypeR6idn16xlarge InstanceType = "r6idn.16xlarge" - InstanceTypeR6idn24xlarge InstanceType = "r6idn.24xlarge" - InstanceTypeR6idn32xlarge InstanceType = "r6idn.32xlarge" - InstanceTypeC7gMetal InstanceType = "c7g.metal" - InstanceTypeM7gMedium InstanceType = "m7g.medium" - InstanceTypeM7gLarge InstanceType = "m7g.large" - InstanceTypeM7gXlarge InstanceType = "m7g.xlarge" - InstanceTypeM7g2xlarge InstanceType = "m7g.2xlarge" - InstanceTypeM7g4xlarge InstanceType = "m7g.4xlarge" - InstanceTypeM7g8xlarge InstanceType = "m7g.8xlarge" - InstanceTypeM7g12xlarge InstanceType = "m7g.12xlarge" - InstanceTypeM7g16xlarge InstanceType = "m7g.16xlarge" - InstanceTypeM7gMetal InstanceType = "m7g.metal" - InstanceTypeR7gMedium InstanceType = "r7g.medium" - InstanceTypeR7gLarge InstanceType = "r7g.large" - InstanceTypeR7gXlarge InstanceType = "r7g.xlarge" - InstanceTypeR7g2xlarge InstanceType = "r7g.2xlarge" - InstanceTypeR7g4xlarge InstanceType = "r7g.4xlarge" - InstanceTypeR7g8xlarge InstanceType = "r7g.8xlarge" - InstanceTypeR7g12xlarge InstanceType = "r7g.12xlarge" - InstanceTypeR7g16xlarge InstanceType = "r7g.16xlarge" - InstanceTypeR7gMetal InstanceType = "r7g.metal" - InstanceTypeC6inMetal InstanceType = "c6in.metal" - InstanceTypeM6inMetal InstanceType = "m6in.metal" - InstanceTypeM6idnMetal InstanceType = "m6idn.metal" - InstanceTypeR6inMetal InstanceType = "r6in.metal" - InstanceTypeR6idnMetal InstanceType = "r6idn.metal" - InstanceTypeInf2Xlarge InstanceType = "inf2.xlarge" - InstanceTypeInf28xlarge InstanceType = "inf2.8xlarge" - InstanceTypeInf224xlarge InstanceType = "inf2.24xlarge" - InstanceTypeInf248xlarge InstanceType = "inf2.48xlarge" - InstanceTypeTrn1n32xlarge InstanceType = "trn1n.32xlarge" - InstanceTypeI4gLarge InstanceType = "i4g.large" - InstanceTypeI4gXlarge InstanceType = "i4g.xlarge" - InstanceTypeI4g2xlarge InstanceType = "i4g.2xlarge" - InstanceTypeI4g4xlarge InstanceType = "i4g.4xlarge" - InstanceTypeI4g8xlarge InstanceType = "i4g.8xlarge" - InstanceTypeI4g16xlarge InstanceType = "i4g.16xlarge" - InstanceTypeHpc7g4xlarge InstanceType = "hpc7g.4xlarge" - InstanceTypeHpc7g8xlarge InstanceType = "hpc7g.8xlarge" - InstanceTypeHpc7g16xlarge InstanceType = "hpc7g.16xlarge" - InstanceTypeC7gnMedium InstanceType = "c7gn.medium" - InstanceTypeC7gnLarge InstanceType = "c7gn.large" - InstanceTypeC7gnXlarge InstanceType = "c7gn.xlarge" - InstanceTypeC7gn2xlarge InstanceType = "c7gn.2xlarge" - InstanceTypeC7gn4xlarge InstanceType = "c7gn.4xlarge" - InstanceTypeC7gn8xlarge InstanceType = "c7gn.8xlarge" - InstanceTypeC7gn12xlarge InstanceType = "c7gn.12xlarge" - InstanceTypeC7gn16xlarge InstanceType = "c7gn.16xlarge" - InstanceTypeP548xlarge InstanceType = "p5.48xlarge" - InstanceTypeM7iLarge InstanceType = "m7i.large" - InstanceTypeM7iXlarge InstanceType = "m7i.xlarge" - InstanceTypeM7i2xlarge InstanceType = "m7i.2xlarge" - InstanceTypeM7i4xlarge InstanceType = "m7i.4xlarge" - InstanceTypeM7i8xlarge InstanceType = "m7i.8xlarge" - InstanceTypeM7i12xlarge InstanceType = "m7i.12xlarge" - InstanceTypeM7i16xlarge InstanceType = "m7i.16xlarge" - InstanceTypeM7i24xlarge InstanceType = "m7i.24xlarge" - InstanceTypeM7i48xlarge InstanceType = "m7i.48xlarge" - InstanceTypeM7iFlexLarge InstanceType = "m7i-flex.large" - InstanceTypeM7iFlexXlarge InstanceType = "m7i-flex.xlarge" - InstanceTypeM7iFlex2xlarge InstanceType = "m7i-flex.2xlarge" - InstanceTypeM7iFlex4xlarge InstanceType = "m7i-flex.4xlarge" - InstanceTypeM7iFlex8xlarge InstanceType = "m7i-flex.8xlarge" - InstanceTypeM7aMedium InstanceType = "m7a.medium" - InstanceTypeM7aLarge InstanceType = "m7a.large" - InstanceTypeM7aXlarge InstanceType = "m7a.xlarge" - InstanceTypeM7a2xlarge InstanceType = "m7a.2xlarge" - InstanceTypeM7a4xlarge InstanceType = "m7a.4xlarge" - InstanceTypeM7a8xlarge InstanceType = "m7a.8xlarge" - InstanceTypeM7a12xlarge InstanceType = "m7a.12xlarge" - InstanceTypeM7a16xlarge InstanceType = "m7a.16xlarge" - InstanceTypeM7a24xlarge InstanceType = "m7a.24xlarge" - InstanceTypeM7a32xlarge InstanceType = "m7a.32xlarge" - InstanceTypeM7a48xlarge InstanceType = "m7a.48xlarge" - InstanceTypeM7aMetal48xl InstanceType = "m7a.metal-48xl" - InstanceTypeHpc7a12xlarge InstanceType = "hpc7a.12xlarge" - InstanceTypeHpc7a24xlarge InstanceType = "hpc7a.24xlarge" - InstanceTypeHpc7a48xlarge InstanceType = "hpc7a.48xlarge" - InstanceTypeHpc7a96xlarge InstanceType = "hpc7a.96xlarge" - InstanceTypeC7gdMedium InstanceType = "c7gd.medium" - InstanceTypeC7gdLarge InstanceType = "c7gd.large" - InstanceTypeC7gdXlarge InstanceType = "c7gd.xlarge" - InstanceTypeC7gd2xlarge InstanceType = "c7gd.2xlarge" - InstanceTypeC7gd4xlarge InstanceType = "c7gd.4xlarge" - InstanceTypeC7gd8xlarge InstanceType = "c7gd.8xlarge" - InstanceTypeC7gd12xlarge InstanceType = "c7gd.12xlarge" - InstanceTypeC7gd16xlarge InstanceType = "c7gd.16xlarge" - InstanceTypeM7gdMedium InstanceType = "m7gd.medium" - InstanceTypeM7gdLarge InstanceType = "m7gd.large" - InstanceTypeM7gdXlarge InstanceType = "m7gd.xlarge" - InstanceTypeM7gd2xlarge InstanceType = "m7gd.2xlarge" - InstanceTypeM7gd4xlarge InstanceType = "m7gd.4xlarge" - InstanceTypeM7gd8xlarge InstanceType = "m7gd.8xlarge" - InstanceTypeM7gd12xlarge InstanceType = "m7gd.12xlarge" - InstanceTypeM7gd16xlarge InstanceType = "m7gd.16xlarge" - InstanceTypeR7gdMedium InstanceType = "r7gd.medium" - InstanceTypeR7gdLarge InstanceType = "r7gd.large" - InstanceTypeR7gdXlarge InstanceType = "r7gd.xlarge" - InstanceTypeR7gd2xlarge InstanceType = "r7gd.2xlarge" - InstanceTypeR7gd4xlarge InstanceType = "r7gd.4xlarge" - InstanceTypeR7gd8xlarge InstanceType = "r7gd.8xlarge" - InstanceTypeR7gd12xlarge InstanceType = "r7gd.12xlarge" - InstanceTypeR7gd16xlarge InstanceType = "r7gd.16xlarge" - InstanceTypeR7aMedium InstanceType = "r7a.medium" - InstanceTypeR7aLarge InstanceType = "r7a.large" - InstanceTypeR7aXlarge InstanceType = "r7a.xlarge" - InstanceTypeR7a2xlarge InstanceType = "r7a.2xlarge" - InstanceTypeR7a4xlarge InstanceType = "r7a.4xlarge" - InstanceTypeR7a8xlarge InstanceType = "r7a.8xlarge" - InstanceTypeR7a12xlarge InstanceType = "r7a.12xlarge" - InstanceTypeR7a16xlarge InstanceType = "r7a.16xlarge" - InstanceTypeR7a24xlarge InstanceType = "r7a.24xlarge" - InstanceTypeR7a32xlarge InstanceType = "r7a.32xlarge" - InstanceTypeR7a48xlarge InstanceType = "r7a.48xlarge" - InstanceTypeC7iLarge InstanceType = "c7i.large" - InstanceTypeC7iXlarge InstanceType = "c7i.xlarge" - InstanceTypeC7i2xlarge InstanceType = "c7i.2xlarge" - InstanceTypeC7i4xlarge InstanceType = "c7i.4xlarge" - InstanceTypeC7i8xlarge InstanceType = "c7i.8xlarge" - InstanceTypeC7i12xlarge InstanceType = "c7i.12xlarge" - InstanceTypeC7i16xlarge InstanceType = "c7i.16xlarge" - InstanceTypeC7i24xlarge InstanceType = "c7i.24xlarge" - InstanceTypeC7i48xlarge InstanceType = "c7i.48xlarge" - InstanceTypeMac2M2proMetal InstanceType = "mac2-m2pro.metal" - InstanceTypeR7izLarge InstanceType = "r7iz.large" - InstanceTypeR7izXlarge InstanceType = "r7iz.xlarge" - InstanceTypeR7iz2xlarge InstanceType = "r7iz.2xlarge" - InstanceTypeR7iz4xlarge InstanceType = "r7iz.4xlarge" - InstanceTypeR7iz8xlarge InstanceType = "r7iz.8xlarge" - InstanceTypeR7iz12xlarge InstanceType = "r7iz.12xlarge" - InstanceTypeR7iz16xlarge InstanceType = "r7iz.16xlarge" - InstanceTypeR7iz32xlarge InstanceType = "r7iz.32xlarge" - InstanceTypeC7aMedium InstanceType = "c7a.medium" - InstanceTypeC7aLarge InstanceType = "c7a.large" - InstanceTypeC7aXlarge InstanceType = "c7a.xlarge" - InstanceTypeC7a2xlarge InstanceType = "c7a.2xlarge" - InstanceTypeC7a4xlarge InstanceType = "c7a.4xlarge" - InstanceTypeC7a8xlarge InstanceType = "c7a.8xlarge" - InstanceTypeC7a12xlarge InstanceType = "c7a.12xlarge" - InstanceTypeC7a16xlarge InstanceType = "c7a.16xlarge" - InstanceTypeC7a24xlarge InstanceType = "c7a.24xlarge" - InstanceTypeC7a32xlarge InstanceType = "c7a.32xlarge" - InstanceTypeC7a48xlarge InstanceType = "c7a.48xlarge" - InstanceTypeC7aMetal48xl InstanceType = "c7a.metal-48xl" - InstanceTypeR7aMetal48xl InstanceType = "r7a.metal-48xl" - InstanceTypeR7iLarge InstanceType = "r7i.large" - InstanceTypeR7iXlarge InstanceType = "r7i.xlarge" - InstanceTypeR7i2xlarge InstanceType = "r7i.2xlarge" - InstanceTypeR7i4xlarge InstanceType = "r7i.4xlarge" - InstanceTypeR7i8xlarge InstanceType = "r7i.8xlarge" - InstanceTypeR7i12xlarge InstanceType = "r7i.12xlarge" - InstanceTypeR7i16xlarge InstanceType = "r7i.16xlarge" - InstanceTypeR7i24xlarge InstanceType = "r7i.24xlarge" - InstanceTypeR7i48xlarge InstanceType = "r7i.48xlarge" - InstanceTypeDl2q24xlarge InstanceType = "dl2q.24xlarge" - InstanceTypeMac2M2Metal InstanceType = "mac2-m2.metal" - InstanceTypeI4i12xlarge InstanceType = "i4i.12xlarge" - InstanceTypeI4i24xlarge InstanceType = "i4i.24xlarge" - InstanceTypeC7iMetal24xl InstanceType = "c7i.metal-24xl" - InstanceTypeC7iMetal48xl InstanceType = "c7i.metal-48xl" - InstanceTypeM7iMetal24xl InstanceType = "m7i.metal-24xl" - InstanceTypeM7iMetal48xl InstanceType = "m7i.metal-48xl" - InstanceTypeR7iMetal24xl InstanceType = "r7i.metal-24xl" - InstanceTypeR7iMetal48xl InstanceType = "r7i.metal-48xl" - InstanceTypeR7izMetal16xl InstanceType = "r7iz.metal-16xl" - InstanceTypeR7izMetal32xl InstanceType = "r7iz.metal-32xl" - InstanceTypeC7gdMetal InstanceType = "c7gd.metal" - InstanceTypeM7gdMetal InstanceType = "m7gd.metal" - InstanceTypeR7gdMetal InstanceType = "r7gd.metal" - InstanceTypeG6Xlarge InstanceType = "g6.xlarge" - InstanceTypeG62xlarge InstanceType = "g6.2xlarge" - InstanceTypeG64xlarge InstanceType = "g6.4xlarge" - InstanceTypeG68xlarge InstanceType = "g6.8xlarge" - InstanceTypeG612xlarge InstanceType = "g6.12xlarge" - InstanceTypeG616xlarge InstanceType = "g6.16xlarge" - InstanceTypeG624xlarge InstanceType = "g6.24xlarge" - InstanceTypeG648xlarge InstanceType = "g6.48xlarge" - InstanceTypeGr64xlarge InstanceType = "gr6.4xlarge" - InstanceTypeGr68xlarge InstanceType = "gr6.8xlarge" - InstanceTypeC7iFlexLarge InstanceType = "c7i-flex.large" - InstanceTypeC7iFlexXlarge InstanceType = "c7i-flex.xlarge" - InstanceTypeC7iFlex2xlarge InstanceType = "c7i-flex.2xlarge" - InstanceTypeC7iFlex4xlarge InstanceType = "c7i-flex.4xlarge" - InstanceTypeC7iFlex8xlarge InstanceType = "c7i-flex.8xlarge" - InstanceTypeU7i12tb224xlarge InstanceType = "u7i-12tb.224xlarge" - InstanceTypeU7in16tb224xlarge InstanceType = "u7in-16tb.224xlarge" - InstanceTypeU7in24tb224xlarge InstanceType = "u7in-24tb.224xlarge" - InstanceTypeU7in32tb224xlarge InstanceType = "u7in-32tb.224xlarge" - InstanceTypeU7ib12tb224xlarge InstanceType = "u7ib-12tb.224xlarge" - InstanceTypeC7gnMetal InstanceType = "c7gn.metal" - InstanceTypeR8gMedium InstanceType = "r8g.medium" - InstanceTypeR8gLarge InstanceType = "r8g.large" - InstanceTypeR8gXlarge InstanceType = "r8g.xlarge" - InstanceTypeR8g2xlarge InstanceType = "r8g.2xlarge" - InstanceTypeR8g4xlarge InstanceType = "r8g.4xlarge" - InstanceTypeR8g8xlarge InstanceType = "r8g.8xlarge" - InstanceTypeR8g12xlarge InstanceType = "r8g.12xlarge" - InstanceTypeR8g16xlarge InstanceType = "r8g.16xlarge" - InstanceTypeR8g24xlarge InstanceType = "r8g.24xlarge" - InstanceTypeR8g48xlarge InstanceType = "r8g.48xlarge" - InstanceTypeR8gMetal24xl InstanceType = "r8g.metal-24xl" - InstanceTypeR8gMetal48xl InstanceType = "r8g.metal-48xl" - InstanceTypeMac2M1ultraMetal InstanceType = "mac2-m1ultra.metal" - InstanceTypeG6eXlarge InstanceType = "g6e.xlarge" - InstanceTypeG6e2xlarge InstanceType = "g6e.2xlarge" - InstanceTypeG6e4xlarge InstanceType = "g6e.4xlarge" - InstanceTypeG6e8xlarge InstanceType = "g6e.8xlarge" - InstanceTypeG6e12xlarge InstanceType = "g6e.12xlarge" - InstanceTypeG6e16xlarge InstanceType = "g6e.16xlarge" - InstanceTypeG6e24xlarge InstanceType = "g6e.24xlarge" - InstanceTypeG6e48xlarge InstanceType = "g6e.48xlarge" - InstanceTypeC8gMedium InstanceType = "c8g.medium" - InstanceTypeC8gLarge InstanceType = "c8g.large" - InstanceTypeC8gXlarge InstanceType = "c8g.xlarge" - InstanceTypeC8g2xlarge InstanceType = "c8g.2xlarge" - InstanceTypeC8g4xlarge InstanceType = "c8g.4xlarge" - InstanceTypeC8g8xlarge InstanceType = "c8g.8xlarge" - InstanceTypeC8g12xlarge InstanceType = "c8g.12xlarge" - InstanceTypeC8g16xlarge InstanceType = "c8g.16xlarge" - InstanceTypeC8g24xlarge InstanceType = "c8g.24xlarge" - InstanceTypeC8g48xlarge InstanceType = "c8g.48xlarge" - InstanceTypeC8gMetal24xl InstanceType = "c8g.metal-24xl" - InstanceTypeC8gMetal48xl InstanceType = "c8g.metal-48xl" - InstanceTypeM8gMedium InstanceType = "m8g.medium" - InstanceTypeM8gLarge InstanceType = "m8g.large" - InstanceTypeM8gXlarge InstanceType = "m8g.xlarge" - InstanceTypeM8g2xlarge InstanceType = "m8g.2xlarge" - InstanceTypeM8g4xlarge InstanceType = "m8g.4xlarge" - InstanceTypeM8g8xlarge InstanceType = "m8g.8xlarge" - InstanceTypeM8g12xlarge InstanceType = "m8g.12xlarge" - InstanceTypeM8g16xlarge InstanceType = "m8g.16xlarge" - InstanceTypeM8g24xlarge InstanceType = "m8g.24xlarge" - InstanceTypeM8g48xlarge InstanceType = "m8g.48xlarge" - InstanceTypeM8gMetal24xl InstanceType = "m8g.metal-24xl" - InstanceTypeM8gMetal48xl InstanceType = "m8g.metal-48xl" - InstanceTypeX8gMedium InstanceType = "x8g.medium" - InstanceTypeX8gLarge InstanceType = "x8g.large" - InstanceTypeX8gXlarge InstanceType = "x8g.xlarge" - InstanceTypeX8g2xlarge InstanceType = "x8g.2xlarge" - InstanceTypeX8g4xlarge InstanceType = "x8g.4xlarge" - InstanceTypeX8g8xlarge InstanceType = "x8g.8xlarge" - InstanceTypeX8g12xlarge InstanceType = "x8g.12xlarge" - InstanceTypeX8g16xlarge InstanceType = "x8g.16xlarge" - InstanceTypeX8g24xlarge InstanceType = "x8g.24xlarge" - InstanceTypeX8g48xlarge InstanceType = "x8g.48xlarge" - InstanceTypeX8gMetal24xl InstanceType = "x8g.metal-24xl" - InstanceTypeX8gMetal48xl InstanceType = "x8g.metal-48xl" - InstanceTypeI7ieLarge InstanceType = "i7ie.large" - InstanceTypeI7ieXlarge InstanceType = "i7ie.xlarge" - InstanceTypeI7ie2xlarge InstanceType = "i7ie.2xlarge" - InstanceTypeI7ie3xlarge InstanceType = "i7ie.3xlarge" - InstanceTypeI7ie6xlarge InstanceType = "i7ie.6xlarge" - InstanceTypeI7ie12xlarge InstanceType = "i7ie.12xlarge" - InstanceTypeI7ie18xlarge InstanceType = "i7ie.18xlarge" - InstanceTypeI7ie24xlarge InstanceType = "i7ie.24xlarge" - InstanceTypeI7ie48xlarge InstanceType = "i7ie.48xlarge" - InstanceTypeI8gLarge InstanceType = "i8g.large" - InstanceTypeI8gXlarge InstanceType = "i8g.xlarge" - InstanceTypeI8g2xlarge InstanceType = "i8g.2xlarge" - InstanceTypeI8g4xlarge InstanceType = "i8g.4xlarge" - InstanceTypeI8g8xlarge InstanceType = "i8g.8xlarge" - InstanceTypeI8g12xlarge InstanceType = "i8g.12xlarge" - InstanceTypeI8g16xlarge InstanceType = "i8g.16xlarge" - InstanceTypeI8g24xlarge InstanceType = "i8g.24xlarge" - InstanceTypeI8gMetal24xl InstanceType = "i8g.metal-24xl" - InstanceTypeU7i6tb112xlarge InstanceType = "u7i-6tb.112xlarge" - InstanceTypeU7i8tb112xlarge InstanceType = "u7i-8tb.112xlarge" - InstanceTypeU7inh32tb480xlarge InstanceType = "u7inh-32tb.480xlarge" - InstanceTypeP5e48xlarge InstanceType = "p5e.48xlarge" - InstanceTypeP5en48xlarge InstanceType = "p5en.48xlarge" - InstanceTypeF212xlarge InstanceType = "f2.12xlarge" - InstanceTypeF248xlarge InstanceType = "f2.48xlarge" - InstanceTypeTrn248xlarge InstanceType = "trn2.48xlarge" - InstanceTypeC7iFlex12xlarge InstanceType = "c7i-flex.12xlarge" - InstanceTypeC7iFlex16xlarge InstanceType = "c7i-flex.16xlarge" - InstanceTypeM7iFlex12xlarge InstanceType = "m7i-flex.12xlarge" - InstanceTypeM7iFlex16xlarge InstanceType = "m7i-flex.16xlarge" - InstanceTypeI7ieMetal24xl InstanceType = "i7ie.metal-24xl" - InstanceTypeI7ieMetal48xl InstanceType = "i7ie.metal-48xl" - InstanceTypeI8g48xlarge InstanceType = "i8g.48xlarge" - InstanceTypeC8gdMedium InstanceType = "c8gd.medium" - InstanceTypeC8gdLarge InstanceType = "c8gd.large" - InstanceTypeC8gdXlarge InstanceType = "c8gd.xlarge" - InstanceTypeC8gd2xlarge InstanceType = "c8gd.2xlarge" - InstanceTypeC8gd4xlarge InstanceType = "c8gd.4xlarge" - InstanceTypeC8gd8xlarge InstanceType = "c8gd.8xlarge" - InstanceTypeC8gd12xlarge InstanceType = "c8gd.12xlarge" - InstanceTypeC8gd16xlarge InstanceType = "c8gd.16xlarge" - InstanceTypeC8gd24xlarge InstanceType = "c8gd.24xlarge" - InstanceTypeC8gd48xlarge InstanceType = "c8gd.48xlarge" - InstanceTypeC8gdMetal24xl InstanceType = "c8gd.metal-24xl" - InstanceTypeC8gdMetal48xl InstanceType = "c8gd.metal-48xl" - InstanceTypeI7iLarge InstanceType = "i7i.large" - InstanceTypeI7iXlarge InstanceType = "i7i.xlarge" - InstanceTypeI7i2xlarge InstanceType = "i7i.2xlarge" - InstanceTypeI7i4xlarge InstanceType = "i7i.4xlarge" - InstanceTypeI7i8xlarge InstanceType = "i7i.8xlarge" - InstanceTypeI7i12xlarge InstanceType = "i7i.12xlarge" - InstanceTypeI7i16xlarge InstanceType = "i7i.16xlarge" - InstanceTypeI7i24xlarge InstanceType = "i7i.24xlarge" - InstanceTypeI7i48xlarge InstanceType = "i7i.48xlarge" - InstanceTypeI7iMetal24xl InstanceType = "i7i.metal-24xl" - InstanceTypeI7iMetal48xl InstanceType = "i7i.metal-48xl" - InstanceTypeP6B20048xlarge InstanceType = "p6-b200.48xlarge" - InstanceTypeM8gdMedium InstanceType = "m8gd.medium" - InstanceTypeM8gdLarge InstanceType = "m8gd.large" - InstanceTypeM8gdXlarge InstanceType = "m8gd.xlarge" - InstanceTypeM8gd2xlarge InstanceType = "m8gd.2xlarge" - InstanceTypeM8gd4xlarge InstanceType = "m8gd.4xlarge" - InstanceTypeM8gd8xlarge InstanceType = "m8gd.8xlarge" - InstanceTypeM8gd12xlarge InstanceType = "m8gd.12xlarge" - InstanceTypeM8gd16xlarge InstanceType = "m8gd.16xlarge" - InstanceTypeM8gd24xlarge InstanceType = "m8gd.24xlarge" - InstanceTypeM8gd48xlarge InstanceType = "m8gd.48xlarge" - InstanceTypeM8gdMetal24xl InstanceType = "m8gd.metal-24xl" - InstanceTypeM8gdMetal48xl InstanceType = "m8gd.metal-48xl" - InstanceTypeR8gdMedium InstanceType = "r8gd.medium" - InstanceTypeR8gdLarge InstanceType = "r8gd.large" - InstanceTypeR8gdXlarge InstanceType = "r8gd.xlarge" - InstanceTypeR8gd2xlarge InstanceType = "r8gd.2xlarge" - InstanceTypeR8gd4xlarge InstanceType = "r8gd.4xlarge" - InstanceTypeR8gd8xlarge InstanceType = "r8gd.8xlarge" - InstanceTypeR8gd12xlarge InstanceType = "r8gd.12xlarge" - InstanceTypeR8gd16xlarge InstanceType = "r8gd.16xlarge" - InstanceTypeR8gd24xlarge InstanceType = "r8gd.24xlarge" - InstanceTypeR8gd48xlarge InstanceType = "r8gd.48xlarge" - InstanceTypeR8gdMetal24xl InstanceType = "r8gd.metal-24xl" - InstanceTypeR8gdMetal48xl InstanceType = "r8gd.metal-48xl" - InstanceTypeC8gnMedium InstanceType = "c8gn.medium" - InstanceTypeC8gnLarge InstanceType = "c8gn.large" - InstanceTypeC8gnXlarge InstanceType = "c8gn.xlarge" - InstanceTypeC8gn2xlarge InstanceType = "c8gn.2xlarge" - InstanceTypeC8gn4xlarge InstanceType = "c8gn.4xlarge" - InstanceTypeC8gn8xlarge InstanceType = "c8gn.8xlarge" - InstanceTypeC8gn12xlarge InstanceType = "c8gn.12xlarge" - InstanceTypeC8gn16xlarge InstanceType = "c8gn.16xlarge" - InstanceTypeC8gn24xlarge InstanceType = "c8gn.24xlarge" - InstanceTypeC8gn48xlarge InstanceType = "c8gn.48xlarge" - InstanceTypeC8gnMetal24xl InstanceType = "c8gn.metal-24xl" - InstanceTypeC8gnMetal48xl InstanceType = "c8gn.metal-48xl" - InstanceTypeF26xlarge InstanceType = "f2.6xlarge" - InstanceTypeP6eGb20036xlarge InstanceType = "p6e-gb200.36xlarge" - InstanceTypeG6fLarge InstanceType = "g6f.large" - InstanceTypeG6fXlarge InstanceType = "g6f.xlarge" - InstanceTypeG6f2xlarge InstanceType = "g6f.2xlarge" - InstanceTypeG6f4xlarge InstanceType = "g6f.4xlarge" - InstanceTypeGr6f4xlarge InstanceType = "gr6f.4xlarge" - InstanceTypeP54xlarge InstanceType = "p5.4xlarge" - InstanceTypeR8iLarge InstanceType = "r8i.large" - InstanceTypeR8iXlarge InstanceType = "r8i.xlarge" - InstanceTypeR8i2xlarge InstanceType = "r8i.2xlarge" - InstanceTypeR8i4xlarge InstanceType = "r8i.4xlarge" - InstanceTypeR8i8xlarge InstanceType = "r8i.8xlarge" - InstanceTypeR8i12xlarge InstanceType = "r8i.12xlarge" - InstanceTypeR8i16xlarge InstanceType = "r8i.16xlarge" - InstanceTypeR8i24xlarge InstanceType = "r8i.24xlarge" - InstanceTypeR8i32xlarge InstanceType = "r8i.32xlarge" - InstanceTypeR8i48xlarge InstanceType = "r8i.48xlarge" - InstanceTypeR8i96xlarge InstanceType = "r8i.96xlarge" - InstanceTypeR8iMetal48xl InstanceType = "r8i.metal-48xl" - InstanceTypeR8iMetal96xl InstanceType = "r8i.metal-96xl" - InstanceTypeR8iFlexLarge InstanceType = "r8i-flex.large" - InstanceTypeR8iFlexXlarge InstanceType = "r8i-flex.xlarge" - InstanceTypeR8iFlex2xlarge InstanceType = "r8i-flex.2xlarge" - InstanceTypeR8iFlex4xlarge InstanceType = "r8i-flex.4xlarge" - InstanceTypeR8iFlex8xlarge InstanceType = "r8i-flex.8xlarge" - InstanceTypeR8iFlex12xlarge InstanceType = "r8i-flex.12xlarge" - InstanceTypeR8iFlex16xlarge InstanceType = "r8i-flex.16xlarge" - InstanceTypeM8iLarge InstanceType = "m8i.large" - InstanceTypeM8iXlarge InstanceType = "m8i.xlarge" - InstanceTypeM8i2xlarge InstanceType = "m8i.2xlarge" - InstanceTypeM8i4xlarge InstanceType = "m8i.4xlarge" - InstanceTypeM8i8xlarge InstanceType = "m8i.8xlarge" - InstanceTypeM8i12xlarge InstanceType = "m8i.12xlarge" - InstanceTypeM8i16xlarge InstanceType = "m8i.16xlarge" - InstanceTypeM8i24xlarge InstanceType = "m8i.24xlarge" - InstanceTypeM8i32xlarge InstanceType = "m8i.32xlarge" - InstanceTypeM8i48xlarge InstanceType = "m8i.48xlarge" - InstanceTypeM8i96xlarge InstanceType = "m8i.96xlarge" - InstanceTypeM8iMetal48xl InstanceType = "m8i.metal-48xl" - InstanceTypeM8iMetal96xl InstanceType = "m8i.metal-96xl" - InstanceTypeM8iFlexLarge InstanceType = "m8i-flex.large" - InstanceTypeM8iFlexXlarge InstanceType = "m8i-flex.xlarge" - InstanceTypeM8iFlex2xlarge InstanceType = "m8i-flex.2xlarge" - InstanceTypeM8iFlex4xlarge InstanceType = "m8i-flex.4xlarge" - InstanceTypeM8iFlex8xlarge InstanceType = "m8i-flex.8xlarge" - InstanceTypeM8iFlex12xlarge InstanceType = "m8i-flex.12xlarge" - InstanceTypeM8iFlex16xlarge InstanceType = "m8i-flex.16xlarge" - InstanceTypeI8geLarge InstanceType = "i8ge.large" - InstanceTypeI8geXlarge InstanceType = "i8ge.xlarge" - InstanceTypeI8ge2xlarge InstanceType = "i8ge.2xlarge" - InstanceTypeI8ge3xlarge InstanceType = "i8ge.3xlarge" - InstanceTypeI8ge6xlarge InstanceType = "i8ge.6xlarge" - InstanceTypeI8ge12xlarge InstanceType = "i8ge.12xlarge" - InstanceTypeI8ge18xlarge InstanceType = "i8ge.18xlarge" - InstanceTypeI8ge24xlarge InstanceType = "i8ge.24xlarge" - InstanceTypeI8ge48xlarge InstanceType = "i8ge.48xlarge" - InstanceTypeI8geMetal24xl InstanceType = "i8ge.metal-24xl" - InstanceTypeI8geMetal48xl InstanceType = "i8ge.metal-48xl" - InstanceTypeMacM4Metal InstanceType = "mac-m4.metal" - InstanceTypeMacM4proMetal InstanceType = "mac-m4pro.metal" - InstanceTypeR8gnMedium InstanceType = "r8gn.medium" - InstanceTypeR8gnLarge InstanceType = "r8gn.large" - InstanceTypeR8gnXlarge InstanceType = "r8gn.xlarge" - InstanceTypeR8gn2xlarge InstanceType = "r8gn.2xlarge" - InstanceTypeR8gn4xlarge InstanceType = "r8gn.4xlarge" - InstanceTypeR8gn8xlarge InstanceType = "r8gn.8xlarge" - InstanceTypeR8gn12xlarge InstanceType = "r8gn.12xlarge" - InstanceTypeR8gn16xlarge InstanceType = "r8gn.16xlarge" - InstanceTypeR8gn24xlarge InstanceType = "r8gn.24xlarge" - InstanceTypeR8gn48xlarge InstanceType = "r8gn.48xlarge" - InstanceTypeR8gnMetal24xl InstanceType = "r8gn.metal-24xl" - InstanceTypeR8gnMetal48xl InstanceType = "r8gn.metal-48xl" - InstanceTypeC8iLarge InstanceType = "c8i.large" - InstanceTypeC8iXlarge InstanceType = "c8i.xlarge" - InstanceTypeC8i2xlarge InstanceType = "c8i.2xlarge" - InstanceTypeC8i4xlarge InstanceType = "c8i.4xlarge" - InstanceTypeC8i8xlarge InstanceType = "c8i.8xlarge" - InstanceTypeC8i12xlarge InstanceType = "c8i.12xlarge" - InstanceTypeC8i16xlarge InstanceType = "c8i.16xlarge" - InstanceTypeC8i24xlarge InstanceType = "c8i.24xlarge" - InstanceTypeC8i32xlarge InstanceType = "c8i.32xlarge" - InstanceTypeC8i48xlarge InstanceType = "c8i.48xlarge" - InstanceTypeC8i96xlarge InstanceType = "c8i.96xlarge" - InstanceTypeC8iMetal48xl InstanceType = "c8i.metal-48xl" - InstanceTypeC8iMetal96xl InstanceType = "c8i.metal-96xl" - InstanceTypeC8iFlexLarge InstanceType = "c8i-flex.large" - InstanceTypeC8iFlexXlarge InstanceType = "c8i-flex.xlarge" - InstanceTypeC8iFlex2xlarge InstanceType = "c8i-flex.2xlarge" - InstanceTypeC8iFlex4xlarge InstanceType = "c8i-flex.4xlarge" - InstanceTypeC8iFlex8xlarge InstanceType = "c8i-flex.8xlarge" - InstanceTypeC8iFlex12xlarge InstanceType = "c8i-flex.12xlarge" - InstanceTypeC8iFlex16xlarge InstanceType = "c8i-flex.16xlarge" - InstanceTypeR8gbMedium InstanceType = "r8gb.medium" - InstanceTypeR8gbLarge InstanceType = "r8gb.large" - InstanceTypeR8gbXlarge InstanceType = "r8gb.xlarge" - InstanceTypeR8gb2xlarge InstanceType = "r8gb.2xlarge" - InstanceTypeR8gb4xlarge InstanceType = "r8gb.4xlarge" - InstanceTypeR8gb8xlarge InstanceType = "r8gb.8xlarge" - InstanceTypeR8gb12xlarge InstanceType = "r8gb.12xlarge" - InstanceTypeR8gb16xlarge InstanceType = "r8gb.16xlarge" - InstanceTypeR8gb24xlarge InstanceType = "r8gb.24xlarge" - InstanceTypeR8gbMetal24xl InstanceType = "r8gb.metal-24xl" - InstanceTypeM8aMedium InstanceType = "m8a.medium" - InstanceTypeM8aLarge InstanceType = "m8a.large" - InstanceTypeM8aXlarge InstanceType = "m8a.xlarge" - InstanceTypeM8a2xlarge InstanceType = "m8a.2xlarge" - InstanceTypeM8a4xlarge InstanceType = "m8a.4xlarge" - InstanceTypeM8a8xlarge InstanceType = "m8a.8xlarge" - InstanceTypeM8a12xlarge InstanceType = "m8a.12xlarge" - InstanceTypeM8a16xlarge InstanceType = "m8a.16xlarge" - InstanceTypeM8a24xlarge InstanceType = "m8a.24xlarge" - InstanceTypeM8a48xlarge InstanceType = "m8a.48xlarge" - InstanceTypeM8aMetal24xl InstanceType = "m8a.metal-24xl" - InstanceTypeM8aMetal48xl InstanceType = "m8a.metal-48xl" - InstanceTypeTrn23xlarge InstanceType = "trn2.3xlarge" - InstanceTypeR8aMedium InstanceType = "r8a.medium" - InstanceTypeR8aLarge InstanceType = "r8a.large" - InstanceTypeR8aXlarge InstanceType = "r8a.xlarge" - InstanceTypeR8a2xlarge InstanceType = "r8a.2xlarge" - InstanceTypeR8a4xlarge InstanceType = "r8a.4xlarge" - InstanceTypeR8a8xlarge InstanceType = "r8a.8xlarge" - InstanceTypeR8a12xlarge InstanceType = "r8a.12xlarge" - InstanceTypeR8a16xlarge InstanceType = "r8a.16xlarge" - InstanceTypeR8a24xlarge InstanceType = "r8a.24xlarge" - InstanceTypeR8a48xlarge InstanceType = "r8a.48xlarge" - InstanceTypeR8aMetal24xl InstanceType = "r8a.metal-24xl" - InstanceTypeR8aMetal48xl InstanceType = "r8a.metal-48xl" - InstanceTypeP6B30048xlarge InstanceType = "p6-b300.48xlarge" - InstanceTypeC8aMedium InstanceType = "c8a.medium" - InstanceTypeC8aLarge InstanceType = "c8a.large" - InstanceTypeC8aXlarge InstanceType = "c8a.xlarge" - InstanceTypeC8a2xlarge InstanceType = "c8a.2xlarge" - InstanceTypeC8a4xlarge InstanceType = "c8a.4xlarge" - InstanceTypeC8a8xlarge InstanceType = "c8a.8xlarge" - InstanceTypeC8a12xlarge InstanceType = "c8a.12xlarge" - InstanceTypeC8a16xlarge InstanceType = "c8a.16xlarge" - InstanceTypeC8a24xlarge InstanceType = "c8a.24xlarge" - InstanceTypeC8a48xlarge InstanceType = "c8a.48xlarge" - InstanceTypeC8aMetal24xl InstanceType = "c8a.metal-24xl" - InstanceTypeC8aMetal48xl InstanceType = "c8a.metal-48xl" -) - -// Values returns all known values for InstanceType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceType) Values() []InstanceType { - return []InstanceType{ - "a1.medium", - "a1.large", - "a1.xlarge", - "a1.2xlarge", - "a1.4xlarge", - "a1.metal", - "c1.medium", - "c1.xlarge", - "c3.large", - "c3.xlarge", - "c3.2xlarge", - "c3.4xlarge", - "c3.8xlarge", - "c4.large", - "c4.xlarge", - "c4.2xlarge", - "c4.4xlarge", - "c4.8xlarge", - "c5.large", - "c5.xlarge", - "c5.2xlarge", - "c5.4xlarge", - "c5.9xlarge", - "c5.12xlarge", - "c5.18xlarge", - "c5.24xlarge", - "c5.metal", - "c5a.large", - "c5a.xlarge", - "c5a.2xlarge", - "c5a.4xlarge", - "c5a.8xlarge", - "c5a.12xlarge", - "c5a.16xlarge", - "c5a.24xlarge", - "c5ad.large", - "c5ad.xlarge", - "c5ad.2xlarge", - "c5ad.4xlarge", - "c5ad.8xlarge", - "c5ad.12xlarge", - "c5ad.16xlarge", - "c5ad.24xlarge", - "c5d.large", - "c5d.xlarge", - "c5d.2xlarge", - "c5d.4xlarge", - "c5d.9xlarge", - "c5d.12xlarge", - "c5d.18xlarge", - "c5d.24xlarge", - "c5d.metal", - "c5n.large", - "c5n.xlarge", - "c5n.2xlarge", - "c5n.4xlarge", - "c5n.9xlarge", - "c5n.18xlarge", - "c5n.metal", - "c6g.medium", - "c6g.large", - "c6g.xlarge", - "c6g.2xlarge", - "c6g.4xlarge", - "c6g.8xlarge", - "c6g.12xlarge", - "c6g.16xlarge", - "c6g.metal", - "c6gd.medium", - "c6gd.large", - "c6gd.xlarge", - "c6gd.2xlarge", - "c6gd.4xlarge", - "c6gd.8xlarge", - "c6gd.12xlarge", - "c6gd.16xlarge", - "c6gd.metal", - "c6gn.medium", - "c6gn.large", - "c6gn.xlarge", - "c6gn.2xlarge", - "c6gn.4xlarge", - "c6gn.8xlarge", - "c6gn.12xlarge", - "c6gn.16xlarge", - "c6i.large", - "c6i.xlarge", - "c6i.2xlarge", - "c6i.4xlarge", - "c6i.8xlarge", - "c6i.12xlarge", - "c6i.16xlarge", - "c6i.24xlarge", - "c6i.32xlarge", - "c6i.metal", - "cc1.4xlarge", - "cc2.8xlarge", - "cg1.4xlarge", - "cr1.8xlarge", - "d2.xlarge", - "d2.2xlarge", - "d2.4xlarge", - "d2.8xlarge", - "d3.xlarge", - "d3.2xlarge", - "d3.4xlarge", - "d3.8xlarge", - "d3en.xlarge", - "d3en.2xlarge", - "d3en.4xlarge", - "d3en.6xlarge", - "d3en.8xlarge", - "d3en.12xlarge", - "dl1.24xlarge", - "f1.2xlarge", - "f1.4xlarge", - "f1.16xlarge", - "g2.2xlarge", - "g2.8xlarge", - "g3.4xlarge", - "g3.8xlarge", - "g3.16xlarge", - "g3s.xlarge", - "g4ad.xlarge", - "g4ad.2xlarge", - "g4ad.4xlarge", - "g4ad.8xlarge", - "g4ad.16xlarge", - "g4dn.xlarge", - "g4dn.2xlarge", - "g4dn.4xlarge", - "g4dn.8xlarge", - "g4dn.12xlarge", - "g4dn.16xlarge", - "g4dn.metal", - "g5.xlarge", - "g5.2xlarge", - "g5.4xlarge", - "g5.8xlarge", - "g5.12xlarge", - "g5.16xlarge", - "g5.24xlarge", - "g5.48xlarge", - "g5g.xlarge", - "g5g.2xlarge", - "g5g.4xlarge", - "g5g.8xlarge", - "g5g.16xlarge", - "g5g.metal", - "hi1.4xlarge", - "hpc6a.48xlarge", - "hs1.8xlarge", - "h1.2xlarge", - "h1.4xlarge", - "h1.8xlarge", - "h1.16xlarge", - "i2.xlarge", - "i2.2xlarge", - "i2.4xlarge", - "i2.8xlarge", - "i3.large", - "i3.xlarge", - "i3.2xlarge", - "i3.4xlarge", - "i3.8xlarge", - "i3.16xlarge", - "i3.metal", - "i3en.large", - "i3en.xlarge", - "i3en.2xlarge", - "i3en.3xlarge", - "i3en.6xlarge", - "i3en.12xlarge", - "i3en.24xlarge", - "i3en.metal", - "im4gn.large", - "im4gn.xlarge", - "im4gn.2xlarge", - "im4gn.4xlarge", - "im4gn.8xlarge", - "im4gn.16xlarge", - "inf1.xlarge", - "inf1.2xlarge", - "inf1.6xlarge", - "inf1.24xlarge", - "is4gen.medium", - "is4gen.large", - "is4gen.xlarge", - "is4gen.2xlarge", - "is4gen.4xlarge", - "is4gen.8xlarge", - "m1.small", - "m1.medium", - "m1.large", - "m1.xlarge", - "m2.xlarge", - "m2.2xlarge", - "m2.4xlarge", - "m3.medium", - "m3.large", - "m3.xlarge", - "m3.2xlarge", - "m4.large", - "m4.xlarge", - "m4.2xlarge", - "m4.4xlarge", - "m4.10xlarge", - "m4.16xlarge", - "m5.large", - "m5.xlarge", - "m5.2xlarge", - "m5.4xlarge", - "m5.8xlarge", - "m5.12xlarge", - "m5.16xlarge", - "m5.24xlarge", - "m5.metal", - "m5a.large", - "m5a.xlarge", - "m5a.2xlarge", - "m5a.4xlarge", - "m5a.8xlarge", - "m5a.12xlarge", - "m5a.16xlarge", - "m5a.24xlarge", - "m5ad.large", - "m5ad.xlarge", - "m5ad.2xlarge", - "m5ad.4xlarge", - "m5ad.8xlarge", - "m5ad.12xlarge", - "m5ad.16xlarge", - "m5ad.24xlarge", - "m5d.large", - "m5d.xlarge", - "m5d.2xlarge", - "m5d.4xlarge", - "m5d.8xlarge", - "m5d.12xlarge", - "m5d.16xlarge", - "m5d.24xlarge", - "m5d.metal", - "m5dn.large", - "m5dn.xlarge", - "m5dn.2xlarge", - "m5dn.4xlarge", - "m5dn.8xlarge", - "m5dn.12xlarge", - "m5dn.16xlarge", - "m5dn.24xlarge", - "m5dn.metal", - "m5n.large", - "m5n.xlarge", - "m5n.2xlarge", - "m5n.4xlarge", - "m5n.8xlarge", - "m5n.12xlarge", - "m5n.16xlarge", - "m5n.24xlarge", - "m5n.metal", - "m5zn.large", - "m5zn.xlarge", - "m5zn.2xlarge", - "m5zn.3xlarge", - "m5zn.6xlarge", - "m5zn.12xlarge", - "m5zn.metal", - "m6a.large", - "m6a.xlarge", - "m6a.2xlarge", - "m6a.4xlarge", - "m6a.8xlarge", - "m6a.12xlarge", - "m6a.16xlarge", - "m6a.24xlarge", - "m6a.32xlarge", - "m6a.48xlarge", - "m6g.metal", - "m6g.medium", - "m6g.large", - "m6g.xlarge", - "m6g.2xlarge", - "m6g.4xlarge", - "m6g.8xlarge", - "m6g.12xlarge", - "m6g.16xlarge", - "m6gd.metal", - "m6gd.medium", - "m6gd.large", - "m6gd.xlarge", - "m6gd.2xlarge", - "m6gd.4xlarge", - "m6gd.8xlarge", - "m6gd.12xlarge", - "m6gd.16xlarge", - "m6i.large", - "m6i.xlarge", - "m6i.2xlarge", - "m6i.4xlarge", - "m6i.8xlarge", - "m6i.12xlarge", - "m6i.16xlarge", - "m6i.24xlarge", - "m6i.32xlarge", - "m6i.metal", - "mac1.metal", - "p2.xlarge", - "p2.8xlarge", - "p2.16xlarge", - "p3.2xlarge", - "p3.8xlarge", - "p3.16xlarge", - "p3dn.24xlarge", - "p4d.24xlarge", - "r3.large", - "r3.xlarge", - "r3.2xlarge", - "r3.4xlarge", - "r3.8xlarge", - "r4.large", - "r4.xlarge", - "r4.2xlarge", - "r4.4xlarge", - "r4.8xlarge", - "r4.16xlarge", - "r5.large", - "r5.xlarge", - "r5.2xlarge", - "r5.4xlarge", - "r5.8xlarge", - "r5.12xlarge", - "r5.16xlarge", - "r5.24xlarge", - "r5.metal", - "r5a.large", - "r5a.xlarge", - "r5a.2xlarge", - "r5a.4xlarge", - "r5a.8xlarge", - "r5a.12xlarge", - "r5a.16xlarge", - "r5a.24xlarge", - "r5ad.large", - "r5ad.xlarge", - "r5ad.2xlarge", - "r5ad.4xlarge", - "r5ad.8xlarge", - "r5ad.12xlarge", - "r5ad.16xlarge", - "r5ad.24xlarge", - "r5b.large", - "r5b.xlarge", - "r5b.2xlarge", - "r5b.4xlarge", - "r5b.8xlarge", - "r5b.12xlarge", - "r5b.16xlarge", - "r5b.24xlarge", - "r5b.metal", - "r5d.large", - "r5d.xlarge", - "r5d.2xlarge", - "r5d.4xlarge", - "r5d.8xlarge", - "r5d.12xlarge", - "r5d.16xlarge", - "r5d.24xlarge", - "r5d.metal", - "r5dn.large", - "r5dn.xlarge", - "r5dn.2xlarge", - "r5dn.4xlarge", - "r5dn.8xlarge", - "r5dn.12xlarge", - "r5dn.16xlarge", - "r5dn.24xlarge", - "r5dn.metal", - "r5n.large", - "r5n.xlarge", - "r5n.2xlarge", - "r5n.4xlarge", - "r5n.8xlarge", - "r5n.12xlarge", - "r5n.16xlarge", - "r5n.24xlarge", - "r5n.metal", - "r6g.medium", - "r6g.large", - "r6g.xlarge", - "r6g.2xlarge", - "r6g.4xlarge", - "r6g.8xlarge", - "r6g.12xlarge", - "r6g.16xlarge", - "r6g.metal", - "r6gd.medium", - "r6gd.large", - "r6gd.xlarge", - "r6gd.2xlarge", - "r6gd.4xlarge", - "r6gd.8xlarge", - "r6gd.12xlarge", - "r6gd.16xlarge", - "r6gd.metal", - "r6i.large", - "r6i.xlarge", - "r6i.2xlarge", - "r6i.4xlarge", - "r6i.8xlarge", - "r6i.12xlarge", - "r6i.16xlarge", - "r6i.24xlarge", - "r6i.32xlarge", - "r6i.metal", - "t1.micro", - "t2.nano", - "t2.micro", - "t2.small", - "t2.medium", - "t2.large", - "t2.xlarge", - "t2.2xlarge", - "t3.nano", - "t3.micro", - "t3.small", - "t3.medium", - "t3.large", - "t3.xlarge", - "t3.2xlarge", - "t3a.nano", - "t3a.micro", - "t3a.small", - "t3a.medium", - "t3a.large", - "t3a.xlarge", - "t3a.2xlarge", - "t4g.nano", - "t4g.micro", - "t4g.small", - "t4g.medium", - "t4g.large", - "t4g.xlarge", - "t4g.2xlarge", - "u-6tb1.56xlarge", - "u-6tb1.112xlarge", - "u-9tb1.112xlarge", - "u-12tb1.112xlarge", - "u-6tb1.metal", - "u-9tb1.metal", - "u-12tb1.metal", - "u-18tb1.metal", - "u-24tb1.metal", - "vt1.3xlarge", - "vt1.6xlarge", - "vt1.24xlarge", - "x1.16xlarge", - "x1.32xlarge", - "x1e.xlarge", - "x1e.2xlarge", - "x1e.4xlarge", - "x1e.8xlarge", - "x1e.16xlarge", - "x1e.32xlarge", - "x2iezn.2xlarge", - "x2iezn.4xlarge", - "x2iezn.6xlarge", - "x2iezn.8xlarge", - "x2iezn.12xlarge", - "x2iezn.metal", - "x2gd.medium", - "x2gd.large", - "x2gd.xlarge", - "x2gd.2xlarge", - "x2gd.4xlarge", - "x2gd.8xlarge", - "x2gd.12xlarge", - "x2gd.16xlarge", - "x2gd.metal", - "z1d.large", - "z1d.xlarge", - "z1d.2xlarge", - "z1d.3xlarge", - "z1d.6xlarge", - "z1d.12xlarge", - "z1d.metal", - "x2idn.16xlarge", - "x2idn.24xlarge", - "x2idn.32xlarge", - "x2iedn.xlarge", - "x2iedn.2xlarge", - "x2iedn.4xlarge", - "x2iedn.8xlarge", - "x2iedn.16xlarge", - "x2iedn.24xlarge", - "x2iedn.32xlarge", - "c6a.large", - "c6a.xlarge", - "c6a.2xlarge", - "c6a.4xlarge", - "c6a.8xlarge", - "c6a.12xlarge", - "c6a.16xlarge", - "c6a.24xlarge", - "c6a.32xlarge", - "c6a.48xlarge", - "c6a.metal", - "m6a.metal", - "i4i.large", - "i4i.xlarge", - "i4i.2xlarge", - "i4i.4xlarge", - "i4i.8xlarge", - "i4i.16xlarge", - "i4i.32xlarge", - "i4i.metal", - "x2idn.metal", - "x2iedn.metal", - "c7g.medium", - "c7g.large", - "c7g.xlarge", - "c7g.2xlarge", - "c7g.4xlarge", - "c7g.8xlarge", - "c7g.12xlarge", - "c7g.16xlarge", - "mac2.metal", - "c6id.large", - "c6id.xlarge", - "c6id.2xlarge", - "c6id.4xlarge", - "c6id.8xlarge", - "c6id.12xlarge", - "c6id.16xlarge", - "c6id.24xlarge", - "c6id.32xlarge", - "c6id.metal", - "m6id.large", - "m6id.xlarge", - "m6id.2xlarge", - "m6id.4xlarge", - "m6id.8xlarge", - "m6id.12xlarge", - "m6id.16xlarge", - "m6id.24xlarge", - "m6id.32xlarge", - "m6id.metal", - "r6id.large", - "r6id.xlarge", - "r6id.2xlarge", - "r6id.4xlarge", - "r6id.8xlarge", - "r6id.12xlarge", - "r6id.16xlarge", - "r6id.24xlarge", - "r6id.32xlarge", - "r6id.metal", - "r6a.large", - "r6a.xlarge", - "r6a.2xlarge", - "r6a.4xlarge", - "r6a.8xlarge", - "r6a.12xlarge", - "r6a.16xlarge", - "r6a.24xlarge", - "r6a.32xlarge", - "r6a.48xlarge", - "r6a.metal", - "p4de.24xlarge", - "u-3tb1.56xlarge", - "u-18tb1.112xlarge", - "u-24tb1.112xlarge", - "trn1.2xlarge", - "trn1.32xlarge", - "hpc6id.32xlarge", - "c6in.large", - "c6in.xlarge", - "c6in.2xlarge", - "c6in.4xlarge", - "c6in.8xlarge", - "c6in.12xlarge", - "c6in.16xlarge", - "c6in.24xlarge", - "c6in.32xlarge", - "m6in.large", - "m6in.xlarge", - "m6in.2xlarge", - "m6in.4xlarge", - "m6in.8xlarge", - "m6in.12xlarge", - "m6in.16xlarge", - "m6in.24xlarge", - "m6in.32xlarge", - "m6idn.large", - "m6idn.xlarge", - "m6idn.2xlarge", - "m6idn.4xlarge", - "m6idn.8xlarge", - "m6idn.12xlarge", - "m6idn.16xlarge", - "m6idn.24xlarge", - "m6idn.32xlarge", - "r6in.large", - "r6in.xlarge", - "r6in.2xlarge", - "r6in.4xlarge", - "r6in.8xlarge", - "r6in.12xlarge", - "r6in.16xlarge", - "r6in.24xlarge", - "r6in.32xlarge", - "r6idn.large", - "r6idn.xlarge", - "r6idn.2xlarge", - "r6idn.4xlarge", - "r6idn.8xlarge", - "r6idn.12xlarge", - "r6idn.16xlarge", - "r6idn.24xlarge", - "r6idn.32xlarge", - "c7g.metal", - "m7g.medium", - "m7g.large", - "m7g.xlarge", - "m7g.2xlarge", - "m7g.4xlarge", - "m7g.8xlarge", - "m7g.12xlarge", - "m7g.16xlarge", - "m7g.metal", - "r7g.medium", - "r7g.large", - "r7g.xlarge", - "r7g.2xlarge", - "r7g.4xlarge", - "r7g.8xlarge", - "r7g.12xlarge", - "r7g.16xlarge", - "r7g.metal", - "c6in.metal", - "m6in.metal", - "m6idn.metal", - "r6in.metal", - "r6idn.metal", - "inf2.xlarge", - "inf2.8xlarge", - "inf2.24xlarge", - "inf2.48xlarge", - "trn1n.32xlarge", - "i4g.large", - "i4g.xlarge", - "i4g.2xlarge", - "i4g.4xlarge", - "i4g.8xlarge", - "i4g.16xlarge", - "hpc7g.4xlarge", - "hpc7g.8xlarge", - "hpc7g.16xlarge", - "c7gn.medium", - "c7gn.large", - "c7gn.xlarge", - "c7gn.2xlarge", - "c7gn.4xlarge", - "c7gn.8xlarge", - "c7gn.12xlarge", - "c7gn.16xlarge", - "p5.48xlarge", - "m7i.large", - "m7i.xlarge", - "m7i.2xlarge", - "m7i.4xlarge", - "m7i.8xlarge", - "m7i.12xlarge", - "m7i.16xlarge", - "m7i.24xlarge", - "m7i.48xlarge", - "m7i-flex.large", - "m7i-flex.xlarge", - "m7i-flex.2xlarge", - "m7i-flex.4xlarge", - "m7i-flex.8xlarge", - "m7a.medium", - "m7a.large", - "m7a.xlarge", - "m7a.2xlarge", - "m7a.4xlarge", - "m7a.8xlarge", - "m7a.12xlarge", - "m7a.16xlarge", - "m7a.24xlarge", - "m7a.32xlarge", - "m7a.48xlarge", - "m7a.metal-48xl", - "hpc7a.12xlarge", - "hpc7a.24xlarge", - "hpc7a.48xlarge", - "hpc7a.96xlarge", - "c7gd.medium", - "c7gd.large", - "c7gd.xlarge", - "c7gd.2xlarge", - "c7gd.4xlarge", - "c7gd.8xlarge", - "c7gd.12xlarge", - "c7gd.16xlarge", - "m7gd.medium", - "m7gd.large", - "m7gd.xlarge", - "m7gd.2xlarge", - "m7gd.4xlarge", - "m7gd.8xlarge", - "m7gd.12xlarge", - "m7gd.16xlarge", - "r7gd.medium", - "r7gd.large", - "r7gd.xlarge", - "r7gd.2xlarge", - "r7gd.4xlarge", - "r7gd.8xlarge", - "r7gd.12xlarge", - "r7gd.16xlarge", - "r7a.medium", - "r7a.large", - "r7a.xlarge", - "r7a.2xlarge", - "r7a.4xlarge", - "r7a.8xlarge", - "r7a.12xlarge", - "r7a.16xlarge", - "r7a.24xlarge", - "r7a.32xlarge", - "r7a.48xlarge", - "c7i.large", - "c7i.xlarge", - "c7i.2xlarge", - "c7i.4xlarge", - "c7i.8xlarge", - "c7i.12xlarge", - "c7i.16xlarge", - "c7i.24xlarge", - "c7i.48xlarge", - "mac2-m2pro.metal", - "r7iz.large", - "r7iz.xlarge", - "r7iz.2xlarge", - "r7iz.4xlarge", - "r7iz.8xlarge", - "r7iz.12xlarge", - "r7iz.16xlarge", - "r7iz.32xlarge", - "c7a.medium", - "c7a.large", - "c7a.xlarge", - "c7a.2xlarge", - "c7a.4xlarge", - "c7a.8xlarge", - "c7a.12xlarge", - "c7a.16xlarge", - "c7a.24xlarge", - "c7a.32xlarge", - "c7a.48xlarge", - "c7a.metal-48xl", - "r7a.metal-48xl", - "r7i.large", - "r7i.xlarge", - "r7i.2xlarge", - "r7i.4xlarge", - "r7i.8xlarge", - "r7i.12xlarge", - "r7i.16xlarge", - "r7i.24xlarge", - "r7i.48xlarge", - "dl2q.24xlarge", - "mac2-m2.metal", - "i4i.12xlarge", - "i4i.24xlarge", - "c7i.metal-24xl", - "c7i.metal-48xl", - "m7i.metal-24xl", - "m7i.metal-48xl", - "r7i.metal-24xl", - "r7i.metal-48xl", - "r7iz.metal-16xl", - "r7iz.metal-32xl", - "c7gd.metal", - "m7gd.metal", - "r7gd.metal", - "g6.xlarge", - "g6.2xlarge", - "g6.4xlarge", - "g6.8xlarge", - "g6.12xlarge", - "g6.16xlarge", - "g6.24xlarge", - "g6.48xlarge", - "gr6.4xlarge", - "gr6.8xlarge", - "c7i-flex.large", - "c7i-flex.xlarge", - "c7i-flex.2xlarge", - "c7i-flex.4xlarge", - "c7i-flex.8xlarge", - "u7i-12tb.224xlarge", - "u7in-16tb.224xlarge", - "u7in-24tb.224xlarge", - "u7in-32tb.224xlarge", - "u7ib-12tb.224xlarge", - "c7gn.metal", - "r8g.medium", - "r8g.large", - "r8g.xlarge", - "r8g.2xlarge", - "r8g.4xlarge", - "r8g.8xlarge", - "r8g.12xlarge", - "r8g.16xlarge", - "r8g.24xlarge", - "r8g.48xlarge", - "r8g.metal-24xl", - "r8g.metal-48xl", - "mac2-m1ultra.metal", - "g6e.xlarge", - "g6e.2xlarge", - "g6e.4xlarge", - "g6e.8xlarge", - "g6e.12xlarge", - "g6e.16xlarge", - "g6e.24xlarge", - "g6e.48xlarge", - "c8g.medium", - "c8g.large", - "c8g.xlarge", - "c8g.2xlarge", - "c8g.4xlarge", - "c8g.8xlarge", - "c8g.12xlarge", - "c8g.16xlarge", - "c8g.24xlarge", - "c8g.48xlarge", - "c8g.metal-24xl", - "c8g.metal-48xl", - "m8g.medium", - "m8g.large", - "m8g.xlarge", - "m8g.2xlarge", - "m8g.4xlarge", - "m8g.8xlarge", - "m8g.12xlarge", - "m8g.16xlarge", - "m8g.24xlarge", - "m8g.48xlarge", - "m8g.metal-24xl", - "m8g.metal-48xl", - "x8g.medium", - "x8g.large", - "x8g.xlarge", - "x8g.2xlarge", - "x8g.4xlarge", - "x8g.8xlarge", - "x8g.12xlarge", - "x8g.16xlarge", - "x8g.24xlarge", - "x8g.48xlarge", - "x8g.metal-24xl", - "x8g.metal-48xl", - "i7ie.large", - "i7ie.xlarge", - "i7ie.2xlarge", - "i7ie.3xlarge", - "i7ie.6xlarge", - "i7ie.12xlarge", - "i7ie.18xlarge", - "i7ie.24xlarge", - "i7ie.48xlarge", - "i8g.large", - "i8g.xlarge", - "i8g.2xlarge", - "i8g.4xlarge", - "i8g.8xlarge", - "i8g.12xlarge", - "i8g.16xlarge", - "i8g.24xlarge", - "i8g.metal-24xl", - "u7i-6tb.112xlarge", - "u7i-8tb.112xlarge", - "u7inh-32tb.480xlarge", - "p5e.48xlarge", - "p5en.48xlarge", - "f2.12xlarge", - "f2.48xlarge", - "trn2.48xlarge", - "c7i-flex.12xlarge", - "c7i-flex.16xlarge", - "m7i-flex.12xlarge", - "m7i-flex.16xlarge", - "i7ie.metal-24xl", - "i7ie.metal-48xl", - "i8g.48xlarge", - "c8gd.medium", - "c8gd.large", - "c8gd.xlarge", - "c8gd.2xlarge", - "c8gd.4xlarge", - "c8gd.8xlarge", - "c8gd.12xlarge", - "c8gd.16xlarge", - "c8gd.24xlarge", - "c8gd.48xlarge", - "c8gd.metal-24xl", - "c8gd.metal-48xl", - "i7i.large", - "i7i.xlarge", - "i7i.2xlarge", - "i7i.4xlarge", - "i7i.8xlarge", - "i7i.12xlarge", - "i7i.16xlarge", - "i7i.24xlarge", - "i7i.48xlarge", - "i7i.metal-24xl", - "i7i.metal-48xl", - "p6-b200.48xlarge", - "m8gd.medium", - "m8gd.large", - "m8gd.xlarge", - "m8gd.2xlarge", - "m8gd.4xlarge", - "m8gd.8xlarge", - "m8gd.12xlarge", - "m8gd.16xlarge", - "m8gd.24xlarge", - "m8gd.48xlarge", - "m8gd.metal-24xl", - "m8gd.metal-48xl", - "r8gd.medium", - "r8gd.large", - "r8gd.xlarge", - "r8gd.2xlarge", - "r8gd.4xlarge", - "r8gd.8xlarge", - "r8gd.12xlarge", - "r8gd.16xlarge", - "r8gd.24xlarge", - "r8gd.48xlarge", - "r8gd.metal-24xl", - "r8gd.metal-48xl", - "c8gn.medium", - "c8gn.large", - "c8gn.xlarge", - "c8gn.2xlarge", - "c8gn.4xlarge", - "c8gn.8xlarge", - "c8gn.12xlarge", - "c8gn.16xlarge", - "c8gn.24xlarge", - "c8gn.48xlarge", - "c8gn.metal-24xl", - "c8gn.metal-48xl", - "f2.6xlarge", - "p6e-gb200.36xlarge", - "g6f.large", - "g6f.xlarge", - "g6f.2xlarge", - "g6f.4xlarge", - "gr6f.4xlarge", - "p5.4xlarge", - "r8i.large", - "r8i.xlarge", - "r8i.2xlarge", - "r8i.4xlarge", - "r8i.8xlarge", - "r8i.12xlarge", - "r8i.16xlarge", - "r8i.24xlarge", - "r8i.32xlarge", - "r8i.48xlarge", - "r8i.96xlarge", - "r8i.metal-48xl", - "r8i.metal-96xl", - "r8i-flex.large", - "r8i-flex.xlarge", - "r8i-flex.2xlarge", - "r8i-flex.4xlarge", - "r8i-flex.8xlarge", - "r8i-flex.12xlarge", - "r8i-flex.16xlarge", - "m8i.large", - "m8i.xlarge", - "m8i.2xlarge", - "m8i.4xlarge", - "m8i.8xlarge", - "m8i.12xlarge", - "m8i.16xlarge", - "m8i.24xlarge", - "m8i.32xlarge", - "m8i.48xlarge", - "m8i.96xlarge", - "m8i.metal-48xl", - "m8i.metal-96xl", - "m8i-flex.large", - "m8i-flex.xlarge", - "m8i-flex.2xlarge", - "m8i-flex.4xlarge", - "m8i-flex.8xlarge", - "m8i-flex.12xlarge", - "m8i-flex.16xlarge", - "i8ge.large", - "i8ge.xlarge", - "i8ge.2xlarge", - "i8ge.3xlarge", - "i8ge.6xlarge", - "i8ge.12xlarge", - "i8ge.18xlarge", - "i8ge.24xlarge", - "i8ge.48xlarge", - "i8ge.metal-24xl", - "i8ge.metal-48xl", - "mac-m4.metal", - "mac-m4pro.metal", - "r8gn.medium", - "r8gn.large", - "r8gn.xlarge", - "r8gn.2xlarge", - "r8gn.4xlarge", - "r8gn.8xlarge", - "r8gn.12xlarge", - "r8gn.16xlarge", - "r8gn.24xlarge", - "r8gn.48xlarge", - "r8gn.metal-24xl", - "r8gn.metal-48xl", - "c8i.large", - "c8i.xlarge", - "c8i.2xlarge", - "c8i.4xlarge", - "c8i.8xlarge", - "c8i.12xlarge", - "c8i.16xlarge", - "c8i.24xlarge", - "c8i.32xlarge", - "c8i.48xlarge", - "c8i.96xlarge", - "c8i.metal-48xl", - "c8i.metal-96xl", - "c8i-flex.large", - "c8i-flex.xlarge", - "c8i-flex.2xlarge", - "c8i-flex.4xlarge", - "c8i-flex.8xlarge", - "c8i-flex.12xlarge", - "c8i-flex.16xlarge", - "r8gb.medium", - "r8gb.large", - "r8gb.xlarge", - "r8gb.2xlarge", - "r8gb.4xlarge", - "r8gb.8xlarge", - "r8gb.12xlarge", - "r8gb.16xlarge", - "r8gb.24xlarge", - "r8gb.metal-24xl", - "m8a.medium", - "m8a.large", - "m8a.xlarge", - "m8a.2xlarge", - "m8a.4xlarge", - "m8a.8xlarge", - "m8a.12xlarge", - "m8a.16xlarge", - "m8a.24xlarge", - "m8a.48xlarge", - "m8a.metal-24xl", - "m8a.metal-48xl", - "trn2.3xlarge", - "r8a.medium", - "r8a.large", - "r8a.xlarge", - "r8a.2xlarge", - "r8a.4xlarge", - "r8a.8xlarge", - "r8a.12xlarge", - "r8a.16xlarge", - "r8a.24xlarge", - "r8a.48xlarge", - "r8a.metal-24xl", - "r8a.metal-48xl", - "p6-b300.48xlarge", - "c8a.medium", - "c8a.large", - "c8a.xlarge", - "c8a.2xlarge", - "c8a.4xlarge", - "c8a.8xlarge", - "c8a.12xlarge", - "c8a.16xlarge", - "c8a.24xlarge", - "c8a.48xlarge", - "c8a.metal-24xl", - "c8a.metal-48xl", - } -} - -type InstanceTypeHypervisor string - -// Enum values for InstanceTypeHypervisor -const ( - InstanceTypeHypervisorNitro InstanceTypeHypervisor = "nitro" - InstanceTypeHypervisorXen InstanceTypeHypervisor = "xen" -) - -// Values returns all known values for InstanceTypeHypervisor. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InstanceTypeHypervisor) Values() []InstanceTypeHypervisor { - return []InstanceTypeHypervisor{ - "nitro", - "xen", - } -} - -type InterfacePermissionType string - -// Enum values for InterfacePermissionType -const ( - InterfacePermissionTypeInstanceAttach InterfacePermissionType = "INSTANCE-ATTACH" - InterfacePermissionTypeEipAssociate InterfacePermissionType = "EIP-ASSOCIATE" -) - -// Values returns all known values for InterfacePermissionType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InterfacePermissionType) Values() []InterfacePermissionType { - return []InterfacePermissionType{ - "INSTANCE-ATTACH", - "EIP-ASSOCIATE", - } -} - -type InterfaceProtocolType string - -// Enum values for InterfaceProtocolType -const ( - InterfaceProtocolTypeVlan InterfaceProtocolType = "VLAN" - InterfaceProtocolTypeGre InterfaceProtocolType = "GRE" -) - -// Values returns all known values for InterfaceProtocolType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InterfaceProtocolType) Values() []InterfaceProtocolType { - return []InterfaceProtocolType{ - "VLAN", - "GRE", - } -} - -type InternetGatewayBlockMode string - -// Enum values for InternetGatewayBlockMode -const ( - InternetGatewayBlockModeOff InternetGatewayBlockMode = "off" - InternetGatewayBlockModeBlockBidirectional InternetGatewayBlockMode = "block-bidirectional" - InternetGatewayBlockModeBlockIngress InternetGatewayBlockMode = "block-ingress" -) - -// Values returns all known values for InternetGatewayBlockMode. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InternetGatewayBlockMode) Values() []InternetGatewayBlockMode { - return []InternetGatewayBlockMode{ - "off", - "block-bidirectional", - "block-ingress", - } -} - -type InternetGatewayExclusionMode string - -// Enum values for InternetGatewayExclusionMode -const ( - InternetGatewayExclusionModeAllowBidirectional InternetGatewayExclusionMode = "allow-bidirectional" - InternetGatewayExclusionModeAllowEgress InternetGatewayExclusionMode = "allow-egress" -) - -// Values returns all known values for InternetGatewayExclusionMode. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InternetGatewayExclusionMode) Values() []InternetGatewayExclusionMode { - return []InternetGatewayExclusionMode{ - "allow-bidirectional", - "allow-egress", - } -} - -type InterruptibleCapacityReservationAllocationStatus string - -// Enum values for InterruptibleCapacityReservationAllocationStatus -const ( - InterruptibleCapacityReservationAllocationStatusPending InterruptibleCapacityReservationAllocationStatus = "pending" - InterruptibleCapacityReservationAllocationStatusActive InterruptibleCapacityReservationAllocationStatus = "active" - InterruptibleCapacityReservationAllocationStatusUpdating InterruptibleCapacityReservationAllocationStatus = "updating" - InterruptibleCapacityReservationAllocationStatusCanceling InterruptibleCapacityReservationAllocationStatus = "canceling" - InterruptibleCapacityReservationAllocationStatusCanceled InterruptibleCapacityReservationAllocationStatus = "canceled" - InterruptibleCapacityReservationAllocationStatusFailed InterruptibleCapacityReservationAllocationStatus = "failed" -) - -// Values returns all known values for -// InterruptibleCapacityReservationAllocationStatus. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InterruptibleCapacityReservationAllocationStatus) Values() []InterruptibleCapacityReservationAllocationStatus { - return []InterruptibleCapacityReservationAllocationStatus{ - "pending", - "active", - "updating", - "canceling", - "canceled", - "failed", - } -} - -type InterruptionType string - -// Enum values for InterruptionType -const ( - InterruptionTypeAdhoc InterruptionType = "adhoc" -) - -// Values returns all known values for InterruptionType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (InterruptionType) Values() []InterruptionType { - return []InterruptionType{ - "adhoc", - } -} - -type IpAddressType string - -// Enum values for IpAddressType -const ( - IpAddressTypeIpv4 IpAddressType = "ipv4" - IpAddressTypeDualstack IpAddressType = "dualstack" - IpAddressTypeIpv6 IpAddressType = "ipv6" -) - -// Values returns all known values for IpAddressType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpAddressType) Values() []IpAddressType { - return []IpAddressType{ - "ipv4", - "dualstack", - "ipv6", - } -} - -type IpamAddressHistoryResourceType string - -// Enum values for IpamAddressHistoryResourceType -const ( - IpamAddressHistoryResourceTypeEip IpamAddressHistoryResourceType = "eip" - IpamAddressHistoryResourceTypeVpc IpamAddressHistoryResourceType = "vpc" - IpamAddressHistoryResourceTypeSubnet IpamAddressHistoryResourceType = "subnet" - IpamAddressHistoryResourceTypeNetworkInterface IpamAddressHistoryResourceType = "network-interface" - IpamAddressHistoryResourceTypeInstance IpamAddressHistoryResourceType = "instance" -) - -// Values returns all known values for IpamAddressHistoryResourceType. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamAddressHistoryResourceType) Values() []IpamAddressHistoryResourceType { - return []IpamAddressHistoryResourceType{ - "eip", - "vpc", - "subnet", - "network-interface", - "instance", - } -} - -type IpamAssociatedResourceDiscoveryStatus string - -// Enum values for IpamAssociatedResourceDiscoveryStatus -const ( - IpamAssociatedResourceDiscoveryStatusActive IpamAssociatedResourceDiscoveryStatus = "active" - IpamAssociatedResourceDiscoveryStatusNotFound IpamAssociatedResourceDiscoveryStatus = "not-found" -) - -// Values returns all known values for IpamAssociatedResourceDiscoveryStatus. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamAssociatedResourceDiscoveryStatus) Values() []IpamAssociatedResourceDiscoveryStatus { - return []IpamAssociatedResourceDiscoveryStatus{ - "active", - "not-found", - } -} - -type IpamComplianceStatus string - -// Enum values for IpamComplianceStatus -const ( - IpamComplianceStatusCompliant IpamComplianceStatus = "compliant" - IpamComplianceStatusNoncompliant IpamComplianceStatus = "noncompliant" - IpamComplianceStatusUnmanaged IpamComplianceStatus = "unmanaged" - IpamComplianceStatusIgnored IpamComplianceStatus = "ignored" -) - -// Values returns all known values for IpamComplianceStatus. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamComplianceStatus) Values() []IpamComplianceStatus { - return []IpamComplianceStatus{ - "compliant", - "noncompliant", - "unmanaged", - "ignored", - } -} - -type IpamDiscoveryFailureCode string - -// Enum values for IpamDiscoveryFailureCode -const ( - IpamDiscoveryFailureCodeAssumeRoleFailure IpamDiscoveryFailureCode = "assume-role-failure" - IpamDiscoveryFailureCodeThrottlingFailure IpamDiscoveryFailureCode = "throttling-failure" - IpamDiscoveryFailureCodeUnauthorizedFailure IpamDiscoveryFailureCode = "unauthorized-failure" -) - -// Values returns all known values for IpamDiscoveryFailureCode. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamDiscoveryFailureCode) Values() []IpamDiscoveryFailureCode { - return []IpamDiscoveryFailureCode{ - "assume-role-failure", - "throttling-failure", - "unauthorized-failure", - } -} - -type IpamExternalResourceVerificationTokenState string - -// Enum values for IpamExternalResourceVerificationTokenState -const ( - IpamExternalResourceVerificationTokenStateCreateInProgress IpamExternalResourceVerificationTokenState = "create-in-progress" - IpamExternalResourceVerificationTokenStateCreateComplete IpamExternalResourceVerificationTokenState = "create-complete" - IpamExternalResourceVerificationTokenStateCreateFailed IpamExternalResourceVerificationTokenState = "create-failed" - IpamExternalResourceVerificationTokenStateDeleteInProgress IpamExternalResourceVerificationTokenState = "delete-in-progress" - IpamExternalResourceVerificationTokenStateDeleteComplete IpamExternalResourceVerificationTokenState = "delete-complete" - IpamExternalResourceVerificationTokenStateDeleteFailed IpamExternalResourceVerificationTokenState = "delete-failed" -) - -// Values returns all known values for IpamExternalResourceVerificationTokenState. -// Note that this can be expanded in the future, and so it is only as up to date as -// the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamExternalResourceVerificationTokenState) Values() []IpamExternalResourceVerificationTokenState { - return []IpamExternalResourceVerificationTokenState{ - "create-in-progress", - "create-complete", - "create-failed", - "delete-in-progress", - "delete-complete", - "delete-failed", - } -} - -type IpamManagementState string - -// Enum values for IpamManagementState -const ( - IpamManagementStateManaged IpamManagementState = "managed" - IpamManagementStateUnmanaged IpamManagementState = "unmanaged" - IpamManagementStateIgnored IpamManagementState = "ignored" -) - -// Values returns all known values for IpamManagementState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamManagementState) Values() []IpamManagementState { - return []IpamManagementState{ - "managed", - "unmanaged", - "ignored", - } -} - -type IpamMeteredAccount string - -// Enum values for IpamMeteredAccount -const ( - IpamMeteredAccountIpamOwner IpamMeteredAccount = "ipam-owner" - IpamMeteredAccountResourceOwner IpamMeteredAccount = "resource-owner" -) - -// Values returns all known values for IpamMeteredAccount. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamMeteredAccount) Values() []IpamMeteredAccount { - return []IpamMeteredAccount{ - "ipam-owner", - "resource-owner", - } -} - -type IpamNetworkInterfaceAttachmentStatus string - -// Enum values for IpamNetworkInterfaceAttachmentStatus -const ( - IpamNetworkInterfaceAttachmentStatusAvailable IpamNetworkInterfaceAttachmentStatus = "available" - IpamNetworkInterfaceAttachmentStatusInUse IpamNetworkInterfaceAttachmentStatus = "in-use" -) - -// Values returns all known values for IpamNetworkInterfaceAttachmentStatus. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamNetworkInterfaceAttachmentStatus) Values() []IpamNetworkInterfaceAttachmentStatus { - return []IpamNetworkInterfaceAttachmentStatus{ - "available", - "in-use", - } -} - -type IpamOverlapStatus string - -// Enum values for IpamOverlapStatus -const ( - IpamOverlapStatusOverlapping IpamOverlapStatus = "overlapping" - IpamOverlapStatusNonoverlapping IpamOverlapStatus = "nonoverlapping" - IpamOverlapStatusIgnored IpamOverlapStatus = "ignored" -) - -// Values returns all known values for IpamOverlapStatus. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamOverlapStatus) Values() []IpamOverlapStatus { - return []IpamOverlapStatus{ - "overlapping", - "nonoverlapping", - "ignored", - } -} - -type IpamPolicyManagedBy string - -// Enum values for IpamPolicyManagedBy -const ( - IpamPolicyManagedByAccount IpamPolicyManagedBy = "account" - IpamPolicyManagedByDelegatedAdministratorForIpam IpamPolicyManagedBy = "delegated-administrator-for-ipam" -) - -// Values returns all known values for IpamPolicyManagedBy. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamPolicyManagedBy) Values() []IpamPolicyManagedBy { - return []IpamPolicyManagedBy{ - "account", - "delegated-administrator-for-ipam", - } -} - -type IpamPolicyResourceType string - -// Enum values for IpamPolicyResourceType -const ( - IpamPolicyResourceTypeAlb IpamPolicyResourceType = "alb" - IpamPolicyResourceTypeEip IpamPolicyResourceType = "eip" - IpamPolicyResourceTypeRds IpamPolicyResourceType = "rds" - IpamPolicyResourceTypeRnat IpamPolicyResourceType = "rnat" -) - -// Values returns all known values for IpamPolicyResourceType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamPolicyResourceType) Values() []IpamPolicyResourceType { - return []IpamPolicyResourceType{ - "alb", - "eip", - "rds", - "rnat", - } -} - -type IpamPolicyState string - -// Enum values for IpamPolicyState -const ( - IpamPolicyStateCreateInProgress IpamPolicyState = "create-in-progress" - IpamPolicyStateCreateComplete IpamPolicyState = "create-complete" - IpamPolicyStateCreateFailed IpamPolicyState = "create-failed" - IpamPolicyStateModifyInProgress IpamPolicyState = "modify-in-progress" - IpamPolicyStateModifyComplete IpamPolicyState = "modify-complete" - IpamPolicyStateModifyFailed IpamPolicyState = "modify-failed" - IpamPolicyStateDeleteInProgress IpamPolicyState = "delete-in-progress" - IpamPolicyStateDeleteComplete IpamPolicyState = "delete-complete" - IpamPolicyStateDeleteFailed IpamPolicyState = "delete-failed" - IpamPolicyStateIsolateInProgress IpamPolicyState = "isolate-in-progress" - IpamPolicyStateIsolateComplete IpamPolicyState = "isolate-complete" - IpamPolicyStateRestoreInProgress IpamPolicyState = "restore-in-progress" -) - -// Values returns all known values for IpamPolicyState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamPolicyState) Values() []IpamPolicyState { - return []IpamPolicyState{ - "create-in-progress", - "create-complete", - "create-failed", - "modify-in-progress", - "modify-complete", - "modify-failed", - "delete-in-progress", - "delete-complete", - "delete-failed", - "isolate-in-progress", - "isolate-complete", - "restore-in-progress", - } -} - -type IpamPoolAllocationResourceType string - -// Enum values for IpamPoolAllocationResourceType -const ( - IpamPoolAllocationResourceTypeIpamPool IpamPoolAllocationResourceType = "ipam-pool" - IpamPoolAllocationResourceTypeVpc IpamPoolAllocationResourceType = "vpc" - IpamPoolAllocationResourceTypeEc2PublicIpv4Pool IpamPoolAllocationResourceType = "ec2-public-ipv4-pool" - IpamPoolAllocationResourceTypeCustom IpamPoolAllocationResourceType = "custom" - IpamPoolAllocationResourceTypeSubnet IpamPoolAllocationResourceType = "subnet" - IpamPoolAllocationResourceTypeEip IpamPoolAllocationResourceType = "eip" - IpamPoolAllocationResourceTypeAnycastIpList IpamPoolAllocationResourceType = "anycast-ip-list" -) - -// Values returns all known values for IpamPoolAllocationResourceType. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamPoolAllocationResourceType) Values() []IpamPoolAllocationResourceType { - return []IpamPoolAllocationResourceType{ - "ipam-pool", - "vpc", - "ec2-public-ipv4-pool", - "custom", - "subnet", - "eip", - "anycast-ip-list", - } -} - -type IpamPoolAwsService string - -// Enum values for IpamPoolAwsService -const ( - IpamPoolAwsServiceEc2 IpamPoolAwsService = "ec2" - IpamPoolAwsServiceGlobalServices IpamPoolAwsService = "global-services" -) - -// Values returns all known values for IpamPoolAwsService. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamPoolAwsService) Values() []IpamPoolAwsService { - return []IpamPoolAwsService{ - "ec2", - "global-services", - } -} - -type IpamPoolCidrFailureCode string - -// Enum values for IpamPoolCidrFailureCode -const ( - IpamPoolCidrFailureCodeCidrNotAvailable IpamPoolCidrFailureCode = "cidr-not-available" - IpamPoolCidrFailureCodeLimitExceeded IpamPoolCidrFailureCode = "limit-exceeded" -) - -// Values returns all known values for IpamPoolCidrFailureCode. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamPoolCidrFailureCode) Values() []IpamPoolCidrFailureCode { - return []IpamPoolCidrFailureCode{ - "cidr-not-available", - "limit-exceeded", - } -} - -type IpamPoolCidrState string - -// Enum values for IpamPoolCidrState -const ( - IpamPoolCidrStatePendingProvision IpamPoolCidrState = "pending-provision" - IpamPoolCidrStateProvisioned IpamPoolCidrState = "provisioned" - IpamPoolCidrStateFailedProvision IpamPoolCidrState = "failed-provision" - IpamPoolCidrStatePendingDeprovision IpamPoolCidrState = "pending-deprovision" - IpamPoolCidrStateDeprovisioned IpamPoolCidrState = "deprovisioned" - IpamPoolCidrStateFailedDeprovision IpamPoolCidrState = "failed-deprovision" - IpamPoolCidrStatePendingImport IpamPoolCidrState = "pending-import" - IpamPoolCidrStateFailedImport IpamPoolCidrState = "failed-import" -) - -// Values returns all known values for IpamPoolCidrState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamPoolCidrState) Values() []IpamPoolCidrState { - return []IpamPoolCidrState{ - "pending-provision", - "provisioned", - "failed-provision", - "pending-deprovision", - "deprovisioned", - "failed-deprovision", - "pending-import", - "failed-import", - } -} - -type IpamPoolPublicIpSource string - -// Enum values for IpamPoolPublicIpSource -const ( - IpamPoolPublicIpSourceAmazon IpamPoolPublicIpSource = "amazon" - IpamPoolPublicIpSourceByoip IpamPoolPublicIpSource = "byoip" -) - -// Values returns all known values for IpamPoolPublicIpSource. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamPoolPublicIpSource) Values() []IpamPoolPublicIpSource { - return []IpamPoolPublicIpSource{ - "amazon", - "byoip", - } -} - -type IpamPoolSourceResourceType string - -// Enum values for IpamPoolSourceResourceType -const ( - IpamPoolSourceResourceTypeVpc IpamPoolSourceResourceType = "vpc" -) - -// Values returns all known values for IpamPoolSourceResourceType. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamPoolSourceResourceType) Values() []IpamPoolSourceResourceType { - return []IpamPoolSourceResourceType{ - "vpc", - } -} - -type IpamPoolState string - -// Enum values for IpamPoolState -const ( - IpamPoolStateCreateInProgress IpamPoolState = "create-in-progress" - IpamPoolStateCreateComplete IpamPoolState = "create-complete" - IpamPoolStateCreateFailed IpamPoolState = "create-failed" - IpamPoolStateModifyInProgress IpamPoolState = "modify-in-progress" - IpamPoolStateModifyComplete IpamPoolState = "modify-complete" - IpamPoolStateModifyFailed IpamPoolState = "modify-failed" - IpamPoolStateDeleteInProgress IpamPoolState = "delete-in-progress" - IpamPoolStateDeleteComplete IpamPoolState = "delete-complete" - IpamPoolStateDeleteFailed IpamPoolState = "delete-failed" - IpamPoolStateIsolateInProgress IpamPoolState = "isolate-in-progress" - IpamPoolStateIsolateComplete IpamPoolState = "isolate-complete" - IpamPoolStateRestoreInProgress IpamPoolState = "restore-in-progress" -) - -// Values returns all known values for IpamPoolState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamPoolState) Values() []IpamPoolState { - return []IpamPoolState{ - "create-in-progress", - "create-complete", - "create-failed", - "modify-in-progress", - "modify-complete", - "modify-failed", - "delete-in-progress", - "delete-complete", - "delete-failed", - "isolate-in-progress", - "isolate-complete", - "restore-in-progress", - } -} - -type IpamPrefixListResolverRuleConditionOperation string - -// Enum values for IpamPrefixListResolverRuleConditionOperation -const ( - IpamPrefixListResolverRuleConditionOperationEquals IpamPrefixListResolverRuleConditionOperation = "equals" - IpamPrefixListResolverRuleConditionOperationNotEquals IpamPrefixListResolverRuleConditionOperation = "not-equals" - IpamPrefixListResolverRuleConditionOperationSubnetOf IpamPrefixListResolverRuleConditionOperation = "subnet-of" -) - -// Values returns all known values for -// IpamPrefixListResolverRuleConditionOperation. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamPrefixListResolverRuleConditionOperation) Values() []IpamPrefixListResolverRuleConditionOperation { - return []IpamPrefixListResolverRuleConditionOperation{ - "equals", - "not-equals", - "subnet-of", - } -} - -type IpamPrefixListResolverRuleType string - -// Enum values for IpamPrefixListResolverRuleType -const ( - IpamPrefixListResolverRuleTypeStaticCidr IpamPrefixListResolverRuleType = "static-cidr" - IpamPrefixListResolverRuleTypeIpamResourceCidr IpamPrefixListResolverRuleType = "ipam-resource-cidr" - IpamPrefixListResolverRuleTypeIpamPoolCidr IpamPrefixListResolverRuleType = "ipam-pool-cidr" -) - -// Values returns all known values for IpamPrefixListResolverRuleType. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamPrefixListResolverRuleType) Values() []IpamPrefixListResolverRuleType { - return []IpamPrefixListResolverRuleType{ - "static-cidr", - "ipam-resource-cidr", - "ipam-pool-cidr", - } -} - -type IpamPrefixListResolverState string - -// Enum values for IpamPrefixListResolverState -const ( - IpamPrefixListResolverStateCreateInProgress IpamPrefixListResolverState = "create-in-progress" - IpamPrefixListResolverStateCreateComplete IpamPrefixListResolverState = "create-complete" - IpamPrefixListResolverStateCreateFailed IpamPrefixListResolverState = "create-failed" - IpamPrefixListResolverStateModifyInProgress IpamPrefixListResolverState = "modify-in-progress" - IpamPrefixListResolverStateModifyComplete IpamPrefixListResolverState = "modify-complete" - IpamPrefixListResolverStateModifyFailed IpamPrefixListResolverState = "modify-failed" - IpamPrefixListResolverStateDeleteInProgress IpamPrefixListResolverState = "delete-in-progress" - IpamPrefixListResolverStateDeleteComplete IpamPrefixListResolverState = "delete-complete" - IpamPrefixListResolverStateDeleteFailed IpamPrefixListResolverState = "delete-failed" - IpamPrefixListResolverStateIsolateInProgress IpamPrefixListResolverState = "isolate-in-progress" - IpamPrefixListResolverStateIsolateComplete IpamPrefixListResolverState = "isolate-complete" - IpamPrefixListResolverStateRestoreInProgress IpamPrefixListResolverState = "restore-in-progress" -) - -// Values returns all known values for IpamPrefixListResolverState. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamPrefixListResolverState) Values() []IpamPrefixListResolverState { - return []IpamPrefixListResolverState{ - "create-in-progress", - "create-complete", - "create-failed", - "modify-in-progress", - "modify-complete", - "modify-failed", - "delete-in-progress", - "delete-complete", - "delete-failed", - "isolate-in-progress", - "isolate-complete", - "restore-in-progress", - } -} - -type IpamPrefixListResolverTargetState string - -// Enum values for IpamPrefixListResolverTargetState -const ( - IpamPrefixListResolverTargetStateCreateInProgress IpamPrefixListResolverTargetState = "create-in-progress" - IpamPrefixListResolverTargetStateCreateComplete IpamPrefixListResolverTargetState = "create-complete" - IpamPrefixListResolverTargetStateCreateFailed IpamPrefixListResolverTargetState = "create-failed" - IpamPrefixListResolverTargetStateModifyInProgress IpamPrefixListResolverTargetState = "modify-in-progress" - IpamPrefixListResolverTargetStateModifyComplete IpamPrefixListResolverTargetState = "modify-complete" - IpamPrefixListResolverTargetStateModifyFailed IpamPrefixListResolverTargetState = "modify-failed" - IpamPrefixListResolverTargetStateSyncInProgress IpamPrefixListResolverTargetState = "sync-in-progress" - IpamPrefixListResolverTargetStateSyncComplete IpamPrefixListResolverTargetState = "sync-complete" - IpamPrefixListResolverTargetStateSyncFailed IpamPrefixListResolverTargetState = "sync-failed" - IpamPrefixListResolverTargetStateDeleteInProgress IpamPrefixListResolverTargetState = "delete-in-progress" - IpamPrefixListResolverTargetStateDeleteComplete IpamPrefixListResolverTargetState = "delete-complete" - IpamPrefixListResolverTargetStateDeleteFailed IpamPrefixListResolverTargetState = "delete-failed" - IpamPrefixListResolverTargetStateIsolateInProgress IpamPrefixListResolverTargetState = "isolate-in-progress" - IpamPrefixListResolverTargetStateIsolateComplete IpamPrefixListResolverTargetState = "isolate-complete" - IpamPrefixListResolverTargetStateRestoreInProgress IpamPrefixListResolverTargetState = "restore-in-progress" -) - -// Values returns all known values for IpamPrefixListResolverTargetState. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamPrefixListResolverTargetState) Values() []IpamPrefixListResolverTargetState { - return []IpamPrefixListResolverTargetState{ - "create-in-progress", - "create-complete", - "create-failed", - "modify-in-progress", - "modify-complete", - "modify-failed", - "sync-in-progress", - "sync-complete", - "sync-failed", - "delete-in-progress", - "delete-complete", - "delete-failed", - "isolate-in-progress", - "isolate-complete", - "restore-in-progress", - } -} - -type IpamPrefixListResolverVersionCreationStatus string - -// Enum values for IpamPrefixListResolverVersionCreationStatus -const ( - IpamPrefixListResolverVersionCreationStatusPending IpamPrefixListResolverVersionCreationStatus = "pending" - IpamPrefixListResolverVersionCreationStatusSuccess IpamPrefixListResolverVersionCreationStatus = "success" - IpamPrefixListResolverVersionCreationStatusFailure IpamPrefixListResolverVersionCreationStatus = "failure" -) - -// Values returns all known values for -// IpamPrefixListResolverVersionCreationStatus. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamPrefixListResolverVersionCreationStatus) Values() []IpamPrefixListResolverVersionCreationStatus { - return []IpamPrefixListResolverVersionCreationStatus{ - "pending", - "success", - "failure", - } -} - -type IpamPublicAddressAssociationStatus string - -// Enum values for IpamPublicAddressAssociationStatus -const ( - IpamPublicAddressAssociationStatusAssociated IpamPublicAddressAssociationStatus = "associated" - IpamPublicAddressAssociationStatusDisassociated IpamPublicAddressAssociationStatus = "disassociated" -) - -// Values returns all known values for IpamPublicAddressAssociationStatus. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamPublicAddressAssociationStatus) Values() []IpamPublicAddressAssociationStatus { - return []IpamPublicAddressAssociationStatus{ - "associated", - "disassociated", - } -} - -type IpamPublicAddressAwsService string - -// Enum values for IpamPublicAddressAwsService -const ( - IpamPublicAddressAwsServiceNatGateway IpamPublicAddressAwsService = "nat-gateway" - IpamPublicAddressAwsServiceDms IpamPublicAddressAwsService = "database-migration-service" - IpamPublicAddressAwsServiceRedshift IpamPublicAddressAwsService = "redshift" - IpamPublicAddressAwsServiceEcs IpamPublicAddressAwsService = "elastic-container-service" - IpamPublicAddressAwsServiceRds IpamPublicAddressAwsService = "relational-database-service" - IpamPublicAddressAwsServiceS2sVpn IpamPublicAddressAwsService = "site-to-site-vpn" - IpamPublicAddressAwsServiceEc2Lb IpamPublicAddressAwsService = "load-balancer" - IpamPublicAddressAwsServiceAga IpamPublicAddressAwsService = "global-accelerator" - IpamPublicAddressAwsServiceCloudfront IpamPublicAddressAwsService = "cloudfront" - IpamPublicAddressAwsServiceOther IpamPublicAddressAwsService = "other" -) - -// Values returns all known values for IpamPublicAddressAwsService. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamPublicAddressAwsService) Values() []IpamPublicAddressAwsService { - return []IpamPublicAddressAwsService{ - "nat-gateway", - "database-migration-service", - "redshift", - "elastic-container-service", - "relational-database-service", - "site-to-site-vpn", - "load-balancer", - "global-accelerator", - "cloudfront", - "other", - } -} - -type IpamPublicAddressType string - -// Enum values for IpamPublicAddressType -const ( - IpamPublicAddressTypeServiceManagedIp IpamPublicAddressType = "service-managed-ip" - IpamPublicAddressTypeServiceManagedByoip IpamPublicAddressType = "service-managed-byoip" - IpamPublicAddressTypeAmazonOwnedEip IpamPublicAddressType = "amazon-owned-eip" - IpamPublicAddressTypeAmazonOwnedContig IpamPublicAddressType = "amazon-owned-contig" - IpamPublicAddressTypeByoip IpamPublicAddressType = "byoip" - IpamPublicAddressTypeEc2PublicIp IpamPublicAddressType = "ec2-public-ip" - IpamPublicAddressTypeAnycastIpListIp IpamPublicAddressType = "anycast-ip-list-ip" -) - -// Values returns all known values for IpamPublicAddressType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamPublicAddressType) Values() []IpamPublicAddressType { - return []IpamPublicAddressType{ - "service-managed-ip", - "service-managed-byoip", - "amazon-owned-eip", - "amazon-owned-contig", - "byoip", - "ec2-public-ip", - "anycast-ip-list-ip", - } -} - -type IpamResourceCidrIpSource string - -// Enum values for IpamResourceCidrIpSource -const ( - IpamResourceCidrIpSourceAmazon IpamResourceCidrIpSource = "amazon" - IpamResourceCidrIpSourceByoip IpamResourceCidrIpSource = "byoip" - IpamResourceCidrIpSourceNone IpamResourceCidrIpSource = "none" -) - -// Values returns all known values for IpamResourceCidrIpSource. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamResourceCidrIpSource) Values() []IpamResourceCidrIpSource { - return []IpamResourceCidrIpSource{ - "amazon", - "byoip", - "none", - } -} - -type IpamResourceDiscoveryAssociationState string - -// Enum values for IpamResourceDiscoveryAssociationState -const ( - IpamResourceDiscoveryAssociationStateAssociateInProgress IpamResourceDiscoveryAssociationState = "associate-in-progress" - IpamResourceDiscoveryAssociationStateAssociateComplete IpamResourceDiscoveryAssociationState = "associate-complete" - IpamResourceDiscoveryAssociationStateAssociateFailed IpamResourceDiscoveryAssociationState = "associate-failed" - IpamResourceDiscoveryAssociationStateDisassociateInProgress IpamResourceDiscoveryAssociationState = "disassociate-in-progress" - IpamResourceDiscoveryAssociationStateDisassociateComplete IpamResourceDiscoveryAssociationState = "disassociate-complete" - IpamResourceDiscoveryAssociationStateDisassociateFailed IpamResourceDiscoveryAssociationState = "disassociate-failed" - IpamResourceDiscoveryAssociationStateIsolateInProgress IpamResourceDiscoveryAssociationState = "isolate-in-progress" - IpamResourceDiscoveryAssociationStateIsolateComplete IpamResourceDiscoveryAssociationState = "isolate-complete" - IpamResourceDiscoveryAssociationStateRestoreInProgress IpamResourceDiscoveryAssociationState = "restore-in-progress" -) - -// Values returns all known values for IpamResourceDiscoveryAssociationState. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamResourceDiscoveryAssociationState) Values() []IpamResourceDiscoveryAssociationState { - return []IpamResourceDiscoveryAssociationState{ - "associate-in-progress", - "associate-complete", - "associate-failed", - "disassociate-in-progress", - "disassociate-complete", - "disassociate-failed", - "isolate-in-progress", - "isolate-complete", - "restore-in-progress", - } -} - -type IpamResourceDiscoveryState string - -// Enum values for IpamResourceDiscoveryState -const ( - IpamResourceDiscoveryStateCreateInProgress IpamResourceDiscoveryState = "create-in-progress" - IpamResourceDiscoveryStateCreateComplete IpamResourceDiscoveryState = "create-complete" - IpamResourceDiscoveryStateCreateFailed IpamResourceDiscoveryState = "create-failed" - IpamResourceDiscoveryStateModifyInProgress IpamResourceDiscoveryState = "modify-in-progress" - IpamResourceDiscoveryStateModifyComplete IpamResourceDiscoveryState = "modify-complete" - IpamResourceDiscoveryStateModifyFailed IpamResourceDiscoveryState = "modify-failed" - IpamResourceDiscoveryStateDeleteInProgress IpamResourceDiscoveryState = "delete-in-progress" - IpamResourceDiscoveryStateDeleteComplete IpamResourceDiscoveryState = "delete-complete" - IpamResourceDiscoveryStateDeleteFailed IpamResourceDiscoveryState = "delete-failed" - IpamResourceDiscoveryStateIsolateInProgress IpamResourceDiscoveryState = "isolate-in-progress" - IpamResourceDiscoveryStateIsolateComplete IpamResourceDiscoveryState = "isolate-complete" - IpamResourceDiscoveryStateRestoreInProgress IpamResourceDiscoveryState = "restore-in-progress" -) - -// Values returns all known values for IpamResourceDiscoveryState. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamResourceDiscoveryState) Values() []IpamResourceDiscoveryState { - return []IpamResourceDiscoveryState{ - "create-in-progress", - "create-complete", - "create-failed", - "modify-in-progress", - "modify-complete", - "modify-failed", - "delete-in-progress", - "delete-complete", - "delete-failed", - "isolate-in-progress", - "isolate-complete", - "restore-in-progress", - } -} - -type IpamResourceType string - -// Enum values for IpamResourceType -const ( - IpamResourceTypeVpc IpamResourceType = "vpc" - IpamResourceTypeSubnet IpamResourceType = "subnet" - IpamResourceTypeEip IpamResourceType = "eip" - IpamResourceTypePublicIpv4Pool IpamResourceType = "public-ipv4-pool" - IpamResourceTypeIpv6Pool IpamResourceType = "ipv6-pool" - IpamResourceTypeEni IpamResourceType = "eni" - IpamResourceTypeAnycastIpList IpamResourceType = "anycast-ip-list" -) - -// Values returns all known values for IpamResourceType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamResourceType) Values() []IpamResourceType { - return []IpamResourceType{ - "vpc", - "subnet", - "eip", - "public-ipv4-pool", - "ipv6-pool", - "eni", - "anycast-ip-list", - } -} - -type IpamScopeExternalAuthorityType string - -// Enum values for IpamScopeExternalAuthorityType -const ( - IpamScopeExternalAuthorityTypeInfoblox IpamScopeExternalAuthorityType = "infoblox" -) - -// Values returns all known values for IpamScopeExternalAuthorityType. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamScopeExternalAuthorityType) Values() []IpamScopeExternalAuthorityType { - return []IpamScopeExternalAuthorityType{ - "infoblox", - } -} - -type IpamScopeState string - -// Enum values for IpamScopeState -const ( - IpamScopeStateCreateInProgress IpamScopeState = "create-in-progress" - IpamScopeStateCreateComplete IpamScopeState = "create-complete" - IpamScopeStateCreateFailed IpamScopeState = "create-failed" - IpamScopeStateModifyInProgress IpamScopeState = "modify-in-progress" - IpamScopeStateModifyComplete IpamScopeState = "modify-complete" - IpamScopeStateModifyFailed IpamScopeState = "modify-failed" - IpamScopeStateDeleteInProgress IpamScopeState = "delete-in-progress" - IpamScopeStateDeleteComplete IpamScopeState = "delete-complete" - IpamScopeStateDeleteFailed IpamScopeState = "delete-failed" - IpamScopeStateIsolateInProgress IpamScopeState = "isolate-in-progress" - IpamScopeStateIsolateComplete IpamScopeState = "isolate-complete" - IpamScopeStateRestoreInProgress IpamScopeState = "restore-in-progress" -) - -// Values returns all known values for IpamScopeState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamScopeState) Values() []IpamScopeState { - return []IpamScopeState{ - "create-in-progress", - "create-complete", - "create-failed", - "modify-in-progress", - "modify-complete", - "modify-failed", - "delete-in-progress", - "delete-complete", - "delete-failed", - "isolate-in-progress", - "isolate-complete", - "restore-in-progress", - } -} - -type IpamScopeType string - -// Enum values for IpamScopeType -const ( - IpamScopeTypePublic IpamScopeType = "public" - IpamScopeTypePrivate IpamScopeType = "private" -) - -// Values returns all known values for IpamScopeType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamScopeType) Values() []IpamScopeType { - return []IpamScopeType{ - "public", - "private", - } -} - -type IpamState string - -// Enum values for IpamState -const ( - IpamStateCreateInProgress IpamState = "create-in-progress" - IpamStateCreateComplete IpamState = "create-complete" - IpamStateCreateFailed IpamState = "create-failed" - IpamStateModifyInProgress IpamState = "modify-in-progress" - IpamStateModifyComplete IpamState = "modify-complete" - IpamStateModifyFailed IpamState = "modify-failed" - IpamStateDeleteInProgress IpamState = "delete-in-progress" - IpamStateDeleteComplete IpamState = "delete-complete" - IpamStateDeleteFailed IpamState = "delete-failed" - IpamStateIsolateInProgress IpamState = "isolate-in-progress" - IpamStateIsolateComplete IpamState = "isolate-complete" - IpamStateRestoreInProgress IpamState = "restore-in-progress" -) - -// Values returns all known values for IpamState. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamState) Values() []IpamState { - return []IpamState{ - "create-in-progress", - "create-complete", - "create-failed", - "modify-in-progress", - "modify-complete", - "modify-failed", - "delete-in-progress", - "delete-complete", - "delete-failed", - "isolate-in-progress", - "isolate-complete", - "restore-in-progress", - } -} - -type IpamTier string - -// Enum values for IpamTier -const ( - IpamTierFree IpamTier = "free" - IpamTierAdvanced IpamTier = "advanced" -) - -// Values returns all known values for IpamTier. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpamTier) Values() []IpamTier { - return []IpamTier{ - "free", - "advanced", - } -} - -type IpSource string - -// Enum values for IpSource -const ( - IpSourceAmazon IpSource = "amazon" - IpSourceByoip IpSource = "byoip" - IpSourceNone IpSource = "none" -) - -// Values returns all known values for IpSource. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IpSource) Values() []IpSource { - return []IpSource{ - "amazon", - "byoip", - "none", - } -} - -type Ipv6AddressAttribute string - -// Enum values for Ipv6AddressAttribute -const ( - Ipv6AddressAttributePublic Ipv6AddressAttribute = "public" - Ipv6AddressAttributePrivate Ipv6AddressAttribute = "private" -) - -// Values returns all known values for Ipv6AddressAttribute. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (Ipv6AddressAttribute) Values() []Ipv6AddressAttribute { - return []Ipv6AddressAttribute{ - "public", - "private", - } -} - -type Ipv6SupportValue string - -// Enum values for Ipv6SupportValue -const ( - Ipv6SupportValueEnable Ipv6SupportValue = "enable" - Ipv6SupportValueDisable Ipv6SupportValue = "disable" -) - -// Values returns all known values for Ipv6SupportValue. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (Ipv6SupportValue) Values() []Ipv6SupportValue { - return []Ipv6SupportValue{ - "enable", - "disable", - } -} - -type KeyFormat string - -// Enum values for KeyFormat -const ( - KeyFormatPem KeyFormat = "pem" - KeyFormatPpk KeyFormat = "ppk" -) - -// Values returns all known values for KeyFormat. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (KeyFormat) Values() []KeyFormat { - return []KeyFormat{ - "pem", - "ppk", - } -} - -type KeyType string - -// Enum values for KeyType -const ( - KeyTypeRsa KeyType = "rsa" - KeyTypeEd25519 KeyType = "ed25519" -) - -// Values returns all known values for KeyType. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (KeyType) Values() []KeyType { - return []KeyType{ - "rsa", - "ed25519", - } -} - -type LaunchTemplateAutoRecoveryState string - -// Enum values for LaunchTemplateAutoRecoveryState -const ( - LaunchTemplateAutoRecoveryStateDefault LaunchTemplateAutoRecoveryState = "default" - LaunchTemplateAutoRecoveryStateDisabled LaunchTemplateAutoRecoveryState = "disabled" -) - -// Values returns all known values for LaunchTemplateAutoRecoveryState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (LaunchTemplateAutoRecoveryState) Values() []LaunchTemplateAutoRecoveryState { - return []LaunchTemplateAutoRecoveryState{ - "default", - "disabled", - } -} - -type LaunchTemplateErrorCode string - -// Enum values for LaunchTemplateErrorCode -const ( - LaunchTemplateErrorCodeLaunchTemplateIdDoesNotExist LaunchTemplateErrorCode = "launchTemplateIdDoesNotExist" - LaunchTemplateErrorCodeLaunchTemplateIdMalformed LaunchTemplateErrorCode = "launchTemplateIdMalformed" - LaunchTemplateErrorCodeLaunchTemplateNameDoesNotExist LaunchTemplateErrorCode = "launchTemplateNameDoesNotExist" - LaunchTemplateErrorCodeLaunchTemplateNameMalformed LaunchTemplateErrorCode = "launchTemplateNameMalformed" - LaunchTemplateErrorCodeLaunchTemplateVersionDoesNotExist LaunchTemplateErrorCode = "launchTemplateVersionDoesNotExist" - LaunchTemplateErrorCodeUnexpectedError LaunchTemplateErrorCode = "unexpectedError" -) - -// Values returns all known values for LaunchTemplateErrorCode. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (LaunchTemplateErrorCode) Values() []LaunchTemplateErrorCode { - return []LaunchTemplateErrorCode{ - "launchTemplateIdDoesNotExist", - "launchTemplateIdMalformed", - "launchTemplateNameDoesNotExist", - "launchTemplateNameMalformed", - "launchTemplateVersionDoesNotExist", - "unexpectedError", - } -} - -type LaunchTemplateHttpTokensState string - -// Enum values for LaunchTemplateHttpTokensState -const ( - LaunchTemplateHttpTokensStateOptional LaunchTemplateHttpTokensState = "optional" - LaunchTemplateHttpTokensStateRequired LaunchTemplateHttpTokensState = "required" -) - -// Values returns all known values for LaunchTemplateHttpTokensState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (LaunchTemplateHttpTokensState) Values() []LaunchTemplateHttpTokensState { - return []LaunchTemplateHttpTokensState{ - "optional", - "required", - } -} - -type LaunchTemplateInstanceMetadataEndpointState string - -// Enum values for LaunchTemplateInstanceMetadataEndpointState -const ( - LaunchTemplateInstanceMetadataEndpointStateDisabled LaunchTemplateInstanceMetadataEndpointState = "disabled" - LaunchTemplateInstanceMetadataEndpointStateEnabled LaunchTemplateInstanceMetadataEndpointState = "enabled" -) - -// Values returns all known values for -// LaunchTemplateInstanceMetadataEndpointState. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (LaunchTemplateInstanceMetadataEndpointState) Values() []LaunchTemplateInstanceMetadataEndpointState { - return []LaunchTemplateInstanceMetadataEndpointState{ - "disabled", - "enabled", - } -} - -type LaunchTemplateInstanceMetadataOptionsState string - -// Enum values for LaunchTemplateInstanceMetadataOptionsState -const ( - LaunchTemplateInstanceMetadataOptionsStatePending LaunchTemplateInstanceMetadataOptionsState = "pending" - LaunchTemplateInstanceMetadataOptionsStateApplied LaunchTemplateInstanceMetadataOptionsState = "applied" -) - -// Values returns all known values for LaunchTemplateInstanceMetadataOptionsState. -// Note that this can be expanded in the future, and so it is only as up to date as -// the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (LaunchTemplateInstanceMetadataOptionsState) Values() []LaunchTemplateInstanceMetadataOptionsState { - return []LaunchTemplateInstanceMetadataOptionsState{ - "pending", - "applied", - } -} - -type LaunchTemplateInstanceMetadataProtocolIpv6 string - -// Enum values for LaunchTemplateInstanceMetadataProtocolIpv6 -const ( - LaunchTemplateInstanceMetadataProtocolIpv6Disabled LaunchTemplateInstanceMetadataProtocolIpv6 = "disabled" - LaunchTemplateInstanceMetadataProtocolIpv6Enabled LaunchTemplateInstanceMetadataProtocolIpv6 = "enabled" -) - -// Values returns all known values for LaunchTemplateInstanceMetadataProtocolIpv6. -// Note that this can be expanded in the future, and so it is only as up to date as -// the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (LaunchTemplateInstanceMetadataProtocolIpv6) Values() []LaunchTemplateInstanceMetadataProtocolIpv6 { - return []LaunchTemplateInstanceMetadataProtocolIpv6{ - "disabled", - "enabled", - } -} - -type LaunchTemplateInstanceMetadataTagsState string - -// Enum values for LaunchTemplateInstanceMetadataTagsState -const ( - LaunchTemplateInstanceMetadataTagsStateDisabled LaunchTemplateInstanceMetadataTagsState = "disabled" - LaunchTemplateInstanceMetadataTagsStateEnabled LaunchTemplateInstanceMetadataTagsState = "enabled" -) - -// Values returns all known values for LaunchTemplateInstanceMetadataTagsState. -// Note that this can be expanded in the future, and so it is only as up to date as -// the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (LaunchTemplateInstanceMetadataTagsState) Values() []LaunchTemplateInstanceMetadataTagsState { - return []LaunchTemplateInstanceMetadataTagsState{ - "disabled", - "enabled", - } -} - -type ListingState string - -// Enum values for ListingState -const ( - ListingStateAvailable ListingState = "available" - ListingStateSold ListingState = "sold" - ListingStateCancelled ListingState = "cancelled" - ListingStatePending ListingState = "pending" -) - -// Values returns all known values for ListingState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ListingState) Values() []ListingState { - return []ListingState{ - "available", - "sold", - "cancelled", - "pending", - } -} - -type ListingStatus string - -// Enum values for ListingStatus -const ( - ListingStatusActive ListingStatus = "active" - ListingStatusPending ListingStatus = "pending" - ListingStatusCancelled ListingStatus = "cancelled" - ListingStatusClosed ListingStatus = "closed" -) - -// Values returns all known values for ListingStatus. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ListingStatus) Values() []ListingStatus { - return []ListingStatus{ - "active", - "pending", - "cancelled", - "closed", - } -} - -type LocalGatewayRouteState string - -// Enum values for LocalGatewayRouteState -const ( - LocalGatewayRouteStatePending LocalGatewayRouteState = "pending" - LocalGatewayRouteStateActive LocalGatewayRouteState = "active" - LocalGatewayRouteStateBlackhole LocalGatewayRouteState = "blackhole" - LocalGatewayRouteStateDeleting LocalGatewayRouteState = "deleting" - LocalGatewayRouteStateDeleted LocalGatewayRouteState = "deleted" -) - -// Values returns all known values for LocalGatewayRouteState. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (LocalGatewayRouteState) Values() []LocalGatewayRouteState { - return []LocalGatewayRouteState{ - "pending", - "active", - "blackhole", - "deleting", - "deleted", - } -} - -type LocalGatewayRouteTableMode string - -// Enum values for LocalGatewayRouteTableMode -const ( - LocalGatewayRouteTableModeDirectVpcRouting LocalGatewayRouteTableMode = "direct-vpc-routing" - LocalGatewayRouteTableModeCoip LocalGatewayRouteTableMode = "coip" -) - -// Values returns all known values for LocalGatewayRouteTableMode. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (LocalGatewayRouteTableMode) Values() []LocalGatewayRouteTableMode { - return []LocalGatewayRouteTableMode{ - "direct-vpc-routing", - "coip", - } -} - -type LocalGatewayRouteType string - -// Enum values for LocalGatewayRouteType -const ( - LocalGatewayRouteTypeStatic LocalGatewayRouteType = "static" - LocalGatewayRouteTypePropagated LocalGatewayRouteType = "propagated" -) - -// Values returns all known values for LocalGatewayRouteType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (LocalGatewayRouteType) Values() []LocalGatewayRouteType { - return []LocalGatewayRouteType{ - "static", - "propagated", - } -} - -type LocalGatewayVirtualInterfaceConfigurationState string - -// Enum values for LocalGatewayVirtualInterfaceConfigurationState -const ( - LocalGatewayVirtualInterfaceConfigurationStatePending LocalGatewayVirtualInterfaceConfigurationState = "pending" - LocalGatewayVirtualInterfaceConfigurationStateAvailable LocalGatewayVirtualInterfaceConfigurationState = "available" - LocalGatewayVirtualInterfaceConfigurationStateDeleting LocalGatewayVirtualInterfaceConfigurationState = "deleting" - LocalGatewayVirtualInterfaceConfigurationStateDeleted LocalGatewayVirtualInterfaceConfigurationState = "deleted" -) - -// Values returns all known values for -// LocalGatewayVirtualInterfaceConfigurationState. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (LocalGatewayVirtualInterfaceConfigurationState) Values() []LocalGatewayVirtualInterfaceConfigurationState { - return []LocalGatewayVirtualInterfaceConfigurationState{ - "pending", - "available", - "deleting", - "deleted", - } -} - -type LocalGatewayVirtualInterfaceGroupConfigurationState string - -// Enum values for LocalGatewayVirtualInterfaceGroupConfigurationState -const ( - LocalGatewayVirtualInterfaceGroupConfigurationStatePending LocalGatewayVirtualInterfaceGroupConfigurationState = "pending" - LocalGatewayVirtualInterfaceGroupConfigurationStateIncomplete LocalGatewayVirtualInterfaceGroupConfigurationState = "incomplete" - LocalGatewayVirtualInterfaceGroupConfigurationStateAvailable LocalGatewayVirtualInterfaceGroupConfigurationState = "available" - LocalGatewayVirtualInterfaceGroupConfigurationStateDeleting LocalGatewayVirtualInterfaceGroupConfigurationState = "deleting" - LocalGatewayVirtualInterfaceGroupConfigurationStateDeleted LocalGatewayVirtualInterfaceGroupConfigurationState = "deleted" -) - -// Values returns all known values for -// LocalGatewayVirtualInterfaceGroupConfigurationState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (LocalGatewayVirtualInterfaceGroupConfigurationState) Values() []LocalGatewayVirtualInterfaceGroupConfigurationState { - return []LocalGatewayVirtualInterfaceGroupConfigurationState{ - "pending", - "incomplete", - "available", - "deleting", - "deleted", - } -} - -type LocalStorage string - -// Enum values for LocalStorage -const ( - LocalStorageIncluded LocalStorage = "included" - LocalStorageRequired LocalStorage = "required" - LocalStorageExcluded LocalStorage = "excluded" -) - -// Values returns all known values for LocalStorage. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (LocalStorage) Values() []LocalStorage { - return []LocalStorage{ - "included", - "required", - "excluded", - } -} - -type LocalStorageType string - -// Enum values for LocalStorageType -const ( - LocalStorageTypeHdd LocalStorageType = "hdd" - LocalStorageTypeSsd LocalStorageType = "ssd" -) - -// Values returns all known values for LocalStorageType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (LocalStorageType) Values() []LocalStorageType { - return []LocalStorageType{ - "hdd", - "ssd", - } -} - -type LocationType string - -// Enum values for LocationType -const ( - LocationTypeRegion LocationType = "region" - LocationTypeAvailabilityZone LocationType = "availability-zone" - LocationTypeAvailabilityZoneId LocationType = "availability-zone-id" - LocationTypeOutpost LocationType = "outpost" -) - -// Values returns all known values for LocationType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (LocationType) Values() []LocationType { - return []LocationType{ - "region", - "availability-zone", - "availability-zone-id", - "outpost", - } -} - -type LockMode string - -// Enum values for LockMode -const ( - LockModeCompliance LockMode = "compliance" - LockModeGovernance LockMode = "governance" -) - -// Values returns all known values for LockMode. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (LockMode) Values() []LockMode { - return []LockMode{ - "compliance", - "governance", - } -} - -type LockState string - -// Enum values for LockState -const ( - LockStateCompliance LockState = "compliance" - LockStateGovernance LockState = "governance" - LockStateComplianceCooloff LockState = "compliance-cooloff" - LockStateExpired LockState = "expired" -) - -// Values returns all known values for LockState. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (LockState) Values() []LockState { - return []LockState{ - "compliance", - "governance", - "compliance-cooloff", - "expired", - } -} - -type LogDestinationType string - -// Enum values for LogDestinationType -const ( - LogDestinationTypeCloudWatchLogs LogDestinationType = "cloud-watch-logs" - LogDestinationTypeS3 LogDestinationType = "s3" - LogDestinationTypeKinesisDataFirehose LogDestinationType = "kinesis-data-firehose" -) - -// Values returns all known values for LogDestinationType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (LogDestinationType) Values() []LogDestinationType { - return []LogDestinationType{ - "cloud-watch-logs", - "s3", - "kinesis-data-firehose", - } -} - -type MacModificationTaskState string - -// Enum values for MacModificationTaskState -const ( - MacModificationTaskStateSuccessful MacModificationTaskState = "successful" - MacModificationTaskStateFailed MacModificationTaskState = "failed" - MacModificationTaskStateInprogress MacModificationTaskState = "in-progress" - MacModificationTaskStatePending MacModificationTaskState = "pending" -) - -// Values returns all known values for MacModificationTaskState. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (MacModificationTaskState) Values() []MacModificationTaskState { - return []MacModificationTaskState{ - "successful", - "failed", - "in-progress", - "pending", - } -} - -type MacModificationTaskType string - -// Enum values for MacModificationTaskType -const ( - MacModificationTaskTypeSIPModification MacModificationTaskType = "sip-modification" - MacModificationTaskTypeVolumeOwnershipDelegation MacModificationTaskType = "volume-ownership-delegation" -) - -// Values returns all known values for MacModificationTaskType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (MacModificationTaskType) Values() []MacModificationTaskType { - return []MacModificationTaskType{ - "sip-modification", - "volume-ownership-delegation", - } -} - -type MacSystemIntegrityProtectionSettingStatus string - -// Enum values for MacSystemIntegrityProtectionSettingStatus -const ( - MacSystemIntegrityProtectionSettingStatusEnabled MacSystemIntegrityProtectionSettingStatus = "enabled" - MacSystemIntegrityProtectionSettingStatusDisabled MacSystemIntegrityProtectionSettingStatus = "disabled" -) - -// Values returns all known values for MacSystemIntegrityProtectionSettingStatus. -// Note that this can be expanded in the future, and so it is only as up to date as -// the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (MacSystemIntegrityProtectionSettingStatus) Values() []MacSystemIntegrityProtectionSettingStatus { - return []MacSystemIntegrityProtectionSettingStatus{ - "enabled", - "disabled", - } -} - -type ManagedBy string - -// Enum values for ManagedBy -const ( - ManagedByAccount ManagedBy = "account" - ManagedByDeclarativePolicy ManagedBy = "declarative-policy" -) - -// Values returns all known values for ManagedBy. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ManagedBy) Values() []ManagedBy { - return []ManagedBy{ - "account", - "declarative-policy", - } -} - -type MarketType string - -// Enum values for MarketType -const ( - MarketTypeSpot MarketType = "spot" - MarketTypeCapacityBlock MarketType = "capacity-block" - MarketTypeInterruptibleCapacityReservation MarketType = "interruptible-capacity-reservation" -) - -// Values returns all known values for MarketType. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (MarketType) Values() []MarketType { - return []MarketType{ - "spot", - "capacity-block", - "interruptible-capacity-reservation", - } -} - -type MembershipType string - -// Enum values for MembershipType -const ( - MembershipTypeStatic MembershipType = "static" - MembershipTypeIgmp MembershipType = "igmp" -) - -// Values returns all known values for MembershipType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (MembershipType) Values() []MembershipType { - return []MembershipType{ - "static", - "igmp", - } -} - -type MetadataDefaultHttpTokensState string - -// Enum values for MetadataDefaultHttpTokensState -const ( - MetadataDefaultHttpTokensStateOptional MetadataDefaultHttpTokensState = "optional" - MetadataDefaultHttpTokensStateRequired MetadataDefaultHttpTokensState = "required" - MetadataDefaultHttpTokensStateNoPreference MetadataDefaultHttpTokensState = "no-preference" -) - -// Values returns all known values for MetadataDefaultHttpTokensState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (MetadataDefaultHttpTokensState) Values() []MetadataDefaultHttpTokensState { - return []MetadataDefaultHttpTokensState{ - "optional", - "required", - "no-preference", - } -} - -type Metric string - -// Enum values for Metric -const ( - MetricReservationTotalCapacityHrsVcpu Metric = "reservation-total-capacity-hrs-vcpu" - MetricReservationTotalCapacityHrsInst Metric = "reservation-total-capacity-hrs-inst" - MetricReservationMaxSizeVcpu Metric = "reservation-max-size-vcpu" - MetricReservationMaxSizeInst Metric = "reservation-max-size-inst" - MetricReservationMinSizeVcpu Metric = "reservation-min-size-vcpu" - MetricReservationMinSizeInst Metric = "reservation-min-size-inst" - MetricReservationUnusedTotalCapacityHrsVcpu Metric = "reservation-unused-total-capacity-hrs-vcpu" - MetricReservationUnusedTotalCapacityHrsInst Metric = "reservation-unused-total-capacity-hrs-inst" - MetricReservationUnusedTotalEstimatedCost Metric = "reservation-unused-total-estimated-cost" - MetricReservationMaxUnusedSizeVcpu Metric = "reservation-max-unused-size-vcpu" - MetricReservationMaxUnusedSizeInst Metric = "reservation-max-unused-size-inst" - MetricReservationMinUnusedSizeVcpu Metric = "reservation-min-unused-size-vcpu" - MetricReservationMinUnusedSizeInst Metric = "reservation-min-unused-size-inst" - MetricReservationMaxUtilization Metric = "reservation-max-utilization" - MetricReservationMinUtilization Metric = "reservation-min-utilization" - MetricReservationAvgUtilizationVcpu Metric = "reservation-avg-utilization-vcpu" - MetricReservationAvgUtilizationInst Metric = "reservation-avg-utilization-inst" - MetricReservationTotalCount Metric = "reservation-total-count" - MetricReservationTotalEstimatedCost Metric = "reservation-total-estimated-cost" - MetricReservationAvgFutureSizeVcpu Metric = "reservation-avg-future-size-vcpu" - MetricReservationAvgFutureSizeInst Metric = "reservation-avg-future-size-inst" - MetricReservationMinFutureSizeVcpu Metric = "reservation-min-future-size-vcpu" - MetricReservationMinFutureSizeInst Metric = "reservation-min-future-size-inst" - MetricReservationMaxFutureSizeVcpu Metric = "reservation-max-future-size-vcpu" - MetricReservationMaxFutureSizeInst Metric = "reservation-max-future-size-inst" - MetricReservationAvgCommittedSizeVcpu Metric = "reservation-avg-committed-size-vcpu" - MetricReservationAvgCommittedSizeInst Metric = "reservation-avg-committed-size-inst" - MetricReservationMaxCommittedSizeVcpu Metric = "reservation-max-committed-size-vcpu" - MetricReservationMaxCommittedSizeInst Metric = "reservation-max-committed-size-inst" - MetricReservationMinCommittedSizeVcpu Metric = "reservation-min-committed-size-vcpu" - MetricReservationMinCommittedSizeInst Metric = "reservation-min-committed-size-inst" - MetricReservedTotalUsageHrsVcpu Metric = "reserved-total-usage-hrs-vcpu" - MetricReservedTotalUsageHrsInst Metric = "reserved-total-usage-hrs-inst" - MetricReservedTotalEstimatedCost Metric = "reserved-total-estimated-cost" - MetricUnreservedTotalUsageHrsVcpu Metric = "unreserved-total-usage-hrs-vcpu" - MetricUnreservedTotalUsageHrsInst Metric = "unreserved-total-usage-hrs-inst" - MetricUnreservedTotalEstimatedCost Metric = "unreserved-total-estimated-cost" - MetricSpotTotalUsageHrsVcpu Metric = "spot-total-usage-hrs-vcpu" - MetricSpotTotalUsageHrsInst Metric = "spot-total-usage-hrs-inst" - MetricSpotTotalEstimatedCost Metric = "spot-total-estimated-cost" - MetricSpotAvgRunTimeBeforeInterruptionInst Metric = "spot-avg-run-time-before-interruption-inst" - MetricSpotMaxRunTimeBeforeInterruptionInst Metric = "spot-max-run-time-before-interruption-inst" - MetricSpotMinRunTimeBeforeInterruptionInst Metric = "spot-min-run-time-before-interruption-inst" - MetricSpotTotalInterruptionsInst Metric = "spot-total-interruptions-inst" - MetricSpotTotalInterruptionsVcpu Metric = "spot-total-interruptions-vcpu" - MetricSpotTotalCountInst Metric = "spot-total-count-inst" - MetricSpotTotalCountVcpu Metric = "spot-total-count-vcpu" - MetricSpotInterruptionRateInst Metric = "spot-interruption-rate-inst" - MetricSpotInterruptionRateVcpu Metric = "spot-interruption-rate-vcpu" -) - -// Values returns all known values for Metric. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (Metric) Values() []Metric { - return []Metric{ - "reservation-total-capacity-hrs-vcpu", - "reservation-total-capacity-hrs-inst", - "reservation-max-size-vcpu", - "reservation-max-size-inst", - "reservation-min-size-vcpu", - "reservation-min-size-inst", - "reservation-unused-total-capacity-hrs-vcpu", - "reservation-unused-total-capacity-hrs-inst", - "reservation-unused-total-estimated-cost", - "reservation-max-unused-size-vcpu", - "reservation-max-unused-size-inst", - "reservation-min-unused-size-vcpu", - "reservation-min-unused-size-inst", - "reservation-max-utilization", - "reservation-min-utilization", - "reservation-avg-utilization-vcpu", - "reservation-avg-utilization-inst", - "reservation-total-count", - "reservation-total-estimated-cost", - "reservation-avg-future-size-vcpu", - "reservation-avg-future-size-inst", - "reservation-min-future-size-vcpu", - "reservation-min-future-size-inst", - "reservation-max-future-size-vcpu", - "reservation-max-future-size-inst", - "reservation-avg-committed-size-vcpu", - "reservation-avg-committed-size-inst", - "reservation-max-committed-size-vcpu", - "reservation-max-committed-size-inst", - "reservation-min-committed-size-vcpu", - "reservation-min-committed-size-inst", - "reserved-total-usage-hrs-vcpu", - "reserved-total-usage-hrs-inst", - "reserved-total-estimated-cost", - "unreserved-total-usage-hrs-vcpu", - "unreserved-total-usage-hrs-inst", - "unreserved-total-estimated-cost", - "spot-total-usage-hrs-vcpu", - "spot-total-usage-hrs-inst", - "spot-total-estimated-cost", - "spot-avg-run-time-before-interruption-inst", - "spot-max-run-time-before-interruption-inst", - "spot-min-run-time-before-interruption-inst", - "spot-total-interruptions-inst", - "spot-total-interruptions-vcpu", - "spot-total-count-inst", - "spot-total-count-vcpu", - "spot-interruption-rate-inst", - "spot-interruption-rate-vcpu", - } -} - -type MetricType string - -// Enum values for MetricType -const ( - MetricTypeAggregateLatency MetricType = "aggregate-latency" -) - -// Values returns all known values for MetricType. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (MetricType) Values() []MetricType { - return []MetricType{ - "aggregate-latency", - } -} - -type ModifyAvailabilityZoneOptInStatus string - -// Enum values for ModifyAvailabilityZoneOptInStatus -const ( - ModifyAvailabilityZoneOptInStatusOptedIn ModifyAvailabilityZoneOptInStatus = "opted-in" - ModifyAvailabilityZoneOptInStatusNotOptedIn ModifyAvailabilityZoneOptInStatus = "not-opted-in" -) - -// Values returns all known values for ModifyAvailabilityZoneOptInStatus. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ModifyAvailabilityZoneOptInStatus) Values() []ModifyAvailabilityZoneOptInStatus { - return []ModifyAvailabilityZoneOptInStatus{ - "opted-in", - "not-opted-in", - } -} - -type MonitoringState string - -// Enum values for MonitoringState -const ( - MonitoringStateDisabled MonitoringState = "disabled" - MonitoringStateDisabling MonitoringState = "disabling" - MonitoringStateEnabled MonitoringState = "enabled" - MonitoringStatePending MonitoringState = "pending" -) - -// Values returns all known values for MonitoringState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (MonitoringState) Values() []MonitoringState { - return []MonitoringState{ - "disabled", - "disabling", - "enabled", - "pending", - } -} - -type MoveStatus string - -// Enum values for MoveStatus -const ( - MoveStatusMovingToVpc MoveStatus = "movingToVpc" - MoveStatusRestoringToClassic MoveStatus = "restoringToClassic" -) - -// Values returns all known values for MoveStatus. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (MoveStatus) Values() []MoveStatus { - return []MoveStatus{ - "movingToVpc", - "restoringToClassic", - } -} - -type MulticastSupportValue string - -// Enum values for MulticastSupportValue -const ( - MulticastSupportValueEnable MulticastSupportValue = "enable" - MulticastSupportValueDisable MulticastSupportValue = "disable" -) - -// Values returns all known values for MulticastSupportValue. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (MulticastSupportValue) Values() []MulticastSupportValue { - return []MulticastSupportValue{ - "enable", - "disable", - } -} - -type NatGatewayAddressStatus string - -// Enum values for NatGatewayAddressStatus -const ( - NatGatewayAddressStatusAssigning NatGatewayAddressStatus = "assigning" - NatGatewayAddressStatusUnassigning NatGatewayAddressStatus = "unassigning" - NatGatewayAddressStatusAssociating NatGatewayAddressStatus = "associating" - NatGatewayAddressStatusDisassociating NatGatewayAddressStatus = "disassociating" - NatGatewayAddressStatusSucceeded NatGatewayAddressStatus = "succeeded" - NatGatewayAddressStatusFailed NatGatewayAddressStatus = "failed" -) - -// Values returns all known values for NatGatewayAddressStatus. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (NatGatewayAddressStatus) Values() []NatGatewayAddressStatus { - return []NatGatewayAddressStatus{ - "assigning", - "unassigning", - "associating", - "disassociating", - "succeeded", - "failed", - } -} - -type NatGatewayApplianceModifyState string - -// Enum values for NatGatewayApplianceModifyState -const ( - NatGatewayApplianceModifyStateModifying NatGatewayApplianceModifyState = "modifying" - NatGatewayApplianceModifyStateCompleted NatGatewayApplianceModifyState = "completed" - NatGatewayApplianceModifyStateFailed NatGatewayApplianceModifyState = "failed" -) - -// Values returns all known values for NatGatewayApplianceModifyState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (NatGatewayApplianceModifyState) Values() []NatGatewayApplianceModifyState { - return []NatGatewayApplianceModifyState{ - "modifying", - "completed", - "failed", - } -} - -type NatGatewayApplianceState string - -// Enum values for NatGatewayApplianceState -const ( - NatGatewayApplianceStateAttaching NatGatewayApplianceState = "attaching" - NatGatewayApplianceStateAttached NatGatewayApplianceState = "attached" - NatGatewayApplianceStateDetaching NatGatewayApplianceState = "detaching" - NatGatewayApplianceStateDetached NatGatewayApplianceState = "detached" - NatGatewayApplianceStateAttachFailed NatGatewayApplianceState = "attach-failed" - NatGatewayApplianceStateDetachFailed NatGatewayApplianceState = "detach-failed" -) - -// Values returns all known values for NatGatewayApplianceState. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (NatGatewayApplianceState) Values() []NatGatewayApplianceState { - return []NatGatewayApplianceState{ - "attaching", - "attached", - "detaching", - "detached", - "attach-failed", - "detach-failed", - } -} - -type NatGatewayApplianceType string - -// Enum values for NatGatewayApplianceType -const ( - NatGatewayApplianceTypeNetworkFirewallProxy NatGatewayApplianceType = "network-firewall-proxy" -) - -// Values returns all known values for NatGatewayApplianceType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (NatGatewayApplianceType) Values() []NatGatewayApplianceType { - return []NatGatewayApplianceType{ - "network-firewall-proxy", - } -} - -type NatGatewayState string - -// Enum values for NatGatewayState -const ( - NatGatewayStatePending NatGatewayState = "pending" - NatGatewayStateFailed NatGatewayState = "failed" - NatGatewayStateAvailable NatGatewayState = "available" - NatGatewayStateDeleting NatGatewayState = "deleting" - NatGatewayStateDeleted NatGatewayState = "deleted" -) - -// Values returns all known values for NatGatewayState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (NatGatewayState) Values() []NatGatewayState { - return []NatGatewayState{ - "pending", - "failed", - "available", - "deleting", - "deleted", - } -} - -type NetworkInterfaceAttribute string - -// Enum values for NetworkInterfaceAttribute -const ( - NetworkInterfaceAttributeDescription NetworkInterfaceAttribute = "description" - NetworkInterfaceAttributeGroupSet NetworkInterfaceAttribute = "groupSet" - NetworkInterfaceAttributeSourceDestCheck NetworkInterfaceAttribute = "sourceDestCheck" - NetworkInterfaceAttributeAttachment NetworkInterfaceAttribute = "attachment" - NetworkInterfaceAttributeAssociatePublicIpAddress NetworkInterfaceAttribute = "associatePublicIpAddress" -) - -// Values returns all known values for NetworkInterfaceAttribute. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (NetworkInterfaceAttribute) Values() []NetworkInterfaceAttribute { - return []NetworkInterfaceAttribute{ - "description", - "groupSet", - "sourceDestCheck", - "attachment", - "associatePublicIpAddress", - } -} - -type NetworkInterfaceCreationType string - -// Enum values for NetworkInterfaceCreationType -const ( - NetworkInterfaceCreationTypeEfa NetworkInterfaceCreationType = "efa" - NetworkInterfaceCreationTypeEfaOnly NetworkInterfaceCreationType = "efa-only" - NetworkInterfaceCreationTypeBranch NetworkInterfaceCreationType = "branch" - NetworkInterfaceCreationTypeTrunk NetworkInterfaceCreationType = "trunk" -) - -// Values returns all known values for NetworkInterfaceCreationType. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (NetworkInterfaceCreationType) Values() []NetworkInterfaceCreationType { - return []NetworkInterfaceCreationType{ - "efa", - "efa-only", - "branch", - "trunk", - } -} - -type NetworkInterfacePermissionStateCode string - -// Enum values for NetworkInterfacePermissionStateCode -const ( - NetworkInterfacePermissionStateCodePending NetworkInterfacePermissionStateCode = "pending" - NetworkInterfacePermissionStateCodeGranted NetworkInterfacePermissionStateCode = "granted" - NetworkInterfacePermissionStateCodeRevoking NetworkInterfacePermissionStateCode = "revoking" - NetworkInterfacePermissionStateCodeRevoked NetworkInterfacePermissionStateCode = "revoked" -) - -// Values returns all known values for NetworkInterfacePermissionStateCode. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (NetworkInterfacePermissionStateCode) Values() []NetworkInterfacePermissionStateCode { - return []NetworkInterfacePermissionStateCode{ - "pending", - "granted", - "revoking", - "revoked", - } -} - -type NetworkInterfaceStatus string - -// Enum values for NetworkInterfaceStatus -const ( - NetworkInterfaceStatusAvailable NetworkInterfaceStatus = "available" - NetworkInterfaceStatusAssociated NetworkInterfaceStatus = "associated" - NetworkInterfaceStatusAttaching NetworkInterfaceStatus = "attaching" - NetworkInterfaceStatusInUse NetworkInterfaceStatus = "in-use" - NetworkInterfaceStatusDetaching NetworkInterfaceStatus = "detaching" -) - -// Values returns all known values for NetworkInterfaceStatus. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (NetworkInterfaceStatus) Values() []NetworkInterfaceStatus { - return []NetworkInterfaceStatus{ - "available", - "associated", - "attaching", - "in-use", - "detaching", - } -} - -type NetworkInterfaceType string - -// Enum values for NetworkInterfaceType -const ( - NetworkInterfaceTypeInterface NetworkInterfaceType = "interface" - NetworkInterfaceTypeNatGateway NetworkInterfaceType = "natGateway" - NetworkInterfaceTypeEfa NetworkInterfaceType = "efa" - NetworkInterfaceTypeEfaOnly NetworkInterfaceType = "efa-only" - NetworkInterfaceTypeTrunk NetworkInterfaceType = "trunk" - NetworkInterfaceTypeLoadBalancer NetworkInterfaceType = "load_balancer" - NetworkInterfaceTypeNetworkLoadBalancer NetworkInterfaceType = "network_load_balancer" - NetworkInterfaceTypeVpcEndpoint NetworkInterfaceType = "vpc_endpoint" - NetworkInterfaceTypeBranch NetworkInterfaceType = "branch" - NetworkInterfaceTypeTransitGateway NetworkInterfaceType = "transit_gateway" - NetworkInterfaceTypeLambda NetworkInterfaceType = "lambda" - NetworkInterfaceTypeQuicksight NetworkInterfaceType = "quicksight" - NetworkInterfaceTypeGlobalAcceleratorManaged NetworkInterfaceType = "global_accelerator_managed" - NetworkInterfaceTypeApiGatewayManaged NetworkInterfaceType = "api_gateway_managed" - NetworkInterfaceTypeGatewayLoadBalancer NetworkInterfaceType = "gateway_load_balancer" - NetworkInterfaceTypeGatewayLoadBalancerEndpoint NetworkInterfaceType = "gateway_load_balancer_endpoint" - NetworkInterfaceTypeIotRulesManaged NetworkInterfaceType = "iot_rules_managed" - NetworkInterfaceTypeAwsCodestarConnectionsManaged NetworkInterfaceType = "aws_codestar_connections_managed" -) - -// Values returns all known values for NetworkInterfaceType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (NetworkInterfaceType) Values() []NetworkInterfaceType { - return []NetworkInterfaceType{ - "interface", - "natGateway", - "efa", - "efa-only", - "trunk", - "load_balancer", - "network_load_balancer", - "vpc_endpoint", - "branch", - "transit_gateway", - "lambda", - "quicksight", - "global_accelerator_managed", - "api_gateway_managed", - "gateway_load_balancer", - "gateway_load_balancer_endpoint", - "iot_rules_managed", - "aws_codestar_connections_managed", - } -} - -type NitroEnclavesSupport string - -// Enum values for NitroEnclavesSupport -const ( - NitroEnclavesSupportUnsupported NitroEnclavesSupport = "unsupported" - NitroEnclavesSupportSupported NitroEnclavesSupport = "supported" -) - -// Values returns all known values for NitroEnclavesSupport. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (NitroEnclavesSupport) Values() []NitroEnclavesSupport { - return []NitroEnclavesSupport{ - "unsupported", - "supported", - } -} - -type NitroTpmSupport string - -// Enum values for NitroTpmSupport -const ( - NitroTpmSupportUnsupported NitroTpmSupport = "unsupported" - NitroTpmSupportSupported NitroTpmSupport = "supported" -) - -// Values returns all known values for NitroTpmSupport. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (NitroTpmSupport) Values() []NitroTpmSupport { - return []NitroTpmSupport{ - "unsupported", - "supported", - } -} - -type OfferingClassType string - -// Enum values for OfferingClassType -const ( - OfferingClassTypeStandard OfferingClassType = "standard" - OfferingClassTypeConvertible OfferingClassType = "convertible" -) - -// Values returns all known values for OfferingClassType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (OfferingClassType) Values() []OfferingClassType { - return []OfferingClassType{ - "standard", - "convertible", - } -} - -type OfferingTypeValues string - -// Enum values for OfferingTypeValues -const ( - OfferingTypeValuesHeavyUtilization OfferingTypeValues = "Heavy Utilization" - OfferingTypeValuesMediumUtilization OfferingTypeValues = "Medium Utilization" - OfferingTypeValuesLightUtilization OfferingTypeValues = "Light Utilization" - OfferingTypeValuesNoUpfront OfferingTypeValues = "No Upfront" - OfferingTypeValuesPartialUpfront OfferingTypeValues = "Partial Upfront" - OfferingTypeValuesAllUpfront OfferingTypeValues = "All Upfront" -) - -// Values returns all known values for OfferingTypeValues. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (OfferingTypeValues) Values() []OfferingTypeValues { - return []OfferingTypeValues{ - "Heavy Utilization", - "Medium Utilization", - "Light Utilization", - "No Upfront", - "Partial Upfront", - "All Upfront", - } -} - -type OnDemandAllocationStrategy string - -// Enum values for OnDemandAllocationStrategy -const ( - OnDemandAllocationStrategyLowestPrice OnDemandAllocationStrategy = "lowestPrice" - OnDemandAllocationStrategyPrioritized OnDemandAllocationStrategy = "prioritized" -) - -// Values returns all known values for OnDemandAllocationStrategy. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (OnDemandAllocationStrategy) Values() []OnDemandAllocationStrategy { - return []OnDemandAllocationStrategy{ - "lowestPrice", - "prioritized", - } -} - -type OperationType string - -// Enum values for OperationType -const ( - OperationTypeAdd OperationType = "add" - OperationTypeRemove OperationType = "remove" -) - -// Values returns all known values for OperationType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (OperationType) Values() []OperationType { - return []OperationType{ - "add", - "remove", - } -} - -type OutputFormat string - -// Enum values for OutputFormat -const ( - OutputFormatCsv OutputFormat = "csv" - OutputFormatParquet OutputFormat = "parquet" -) - -// Values returns all known values for OutputFormat. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (OutputFormat) Values() []OutputFormat { - return []OutputFormat{ - "csv", - "parquet", - } -} - -type PartitionLoadFrequency string - -// Enum values for PartitionLoadFrequency -const ( - PartitionLoadFrequencyNone PartitionLoadFrequency = "none" - PartitionLoadFrequencyDaily PartitionLoadFrequency = "daily" - PartitionLoadFrequencyWeekly PartitionLoadFrequency = "weekly" - PartitionLoadFrequencyMonthly PartitionLoadFrequency = "monthly" -) - -// Values returns all known values for PartitionLoadFrequency. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (PartitionLoadFrequency) Values() []PartitionLoadFrequency { - return []PartitionLoadFrequency{ - "none", - "daily", - "weekly", - "monthly", - } -} - -type PayerResponsibility string - -// Enum values for PayerResponsibility -const ( - PayerResponsibilityServiceOwner PayerResponsibility = "ServiceOwner" -) - -// Values returns all known values for PayerResponsibility. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (PayerResponsibility) Values() []PayerResponsibility { - return []PayerResponsibility{ - "ServiceOwner", - } -} - -type PaymentOption string - -// Enum values for PaymentOption -const ( - PaymentOptionAllUpfront PaymentOption = "AllUpfront" - PaymentOptionPartialUpfront PaymentOption = "PartialUpfront" - PaymentOptionNoUpfront PaymentOption = "NoUpfront" -) - -// Values returns all known values for PaymentOption. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (PaymentOption) Values() []PaymentOption { - return []PaymentOption{ - "AllUpfront", - "PartialUpfront", - "NoUpfront", - } -} - -type PeriodType string - -// Enum values for PeriodType -const ( - PeriodTypeFiveMinutes PeriodType = "five-minutes" - PeriodTypeFifteenMinutes PeriodType = "fifteen-minutes" - PeriodTypeOneHour PeriodType = "one-hour" - PeriodTypeThreeHours PeriodType = "three-hours" - PeriodTypeOneDay PeriodType = "one-day" - PeriodTypeOneWeek PeriodType = "one-week" -) - -// Values returns all known values for PeriodType. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (PeriodType) Values() []PeriodType { - return []PeriodType{ - "five-minutes", - "fifteen-minutes", - "one-hour", - "three-hours", - "one-day", - "one-week", - } -} - -type PermissionGroup string - -// Enum values for PermissionGroup -const ( - PermissionGroupAll PermissionGroup = "all" -) - -// Values returns all known values for PermissionGroup. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (PermissionGroup) Values() []PermissionGroup { - return []PermissionGroup{ - "all", - } -} - -type PhcSupport string - -// Enum values for PhcSupport -const ( - PhcSupportUnsupported PhcSupport = "unsupported" - PhcSupportSupported PhcSupport = "supported" -) - -// Values returns all known values for PhcSupport. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (PhcSupport) Values() []PhcSupport { - return []PhcSupport{ - "unsupported", - "supported", - } -} - -type PlacementGroupState string - -// Enum values for PlacementGroupState -const ( - PlacementGroupStatePending PlacementGroupState = "pending" - PlacementGroupStateAvailable PlacementGroupState = "available" - PlacementGroupStateDeleting PlacementGroupState = "deleting" - PlacementGroupStateDeleted PlacementGroupState = "deleted" -) - -// Values returns all known values for PlacementGroupState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (PlacementGroupState) Values() []PlacementGroupState { - return []PlacementGroupState{ - "pending", - "available", - "deleting", - "deleted", - } -} - -type PlacementGroupStrategy string - -// Enum values for PlacementGroupStrategy -const ( - PlacementGroupStrategyCluster PlacementGroupStrategy = "cluster" - PlacementGroupStrategyPartition PlacementGroupStrategy = "partition" - PlacementGroupStrategySpread PlacementGroupStrategy = "spread" -) - -// Values returns all known values for PlacementGroupStrategy. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (PlacementGroupStrategy) Values() []PlacementGroupStrategy { - return []PlacementGroupStrategy{ - "cluster", - "partition", - "spread", - } -} - -type PlacementStrategy string - -// Enum values for PlacementStrategy -const ( - PlacementStrategyCluster PlacementStrategy = "cluster" - PlacementStrategySpread PlacementStrategy = "spread" - PlacementStrategyPartition PlacementStrategy = "partition" -) - -// Values returns all known values for PlacementStrategy. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (PlacementStrategy) Values() []PlacementStrategy { - return []PlacementStrategy{ - "cluster", - "spread", - "partition", - } -} - -type PlatformValues string - -// Enum values for PlatformValues -const ( - PlatformValuesWindows PlatformValues = "Windows" -) - -// Values returns all known values for PlatformValues. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (PlatformValues) Values() []PlatformValues { - return []PlatformValues{ - "Windows", - } -} - -type PrefixListState string - -// Enum values for PrefixListState -const ( - PrefixListStateCreateInProgress PrefixListState = "create-in-progress" - PrefixListStateCreateComplete PrefixListState = "create-complete" - PrefixListStateCreateFailed PrefixListState = "create-failed" - PrefixListStateModifyInProgress PrefixListState = "modify-in-progress" - PrefixListStateModifyComplete PrefixListState = "modify-complete" - PrefixListStateModifyFailed PrefixListState = "modify-failed" - PrefixListStateRestoreInProgress PrefixListState = "restore-in-progress" - PrefixListStateRestoreComplete PrefixListState = "restore-complete" - PrefixListStateRestoreFailed PrefixListState = "restore-failed" - PrefixListStateDeleteInProgress PrefixListState = "delete-in-progress" - PrefixListStateDeleteComplete PrefixListState = "delete-complete" - PrefixListStateDeleteFailed PrefixListState = "delete-failed" -) - -// Values returns all known values for PrefixListState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (PrefixListState) Values() []PrefixListState { - return []PrefixListState{ - "create-in-progress", - "create-complete", - "create-failed", - "modify-in-progress", - "modify-complete", - "modify-failed", - "restore-in-progress", - "restore-complete", - "restore-failed", - "delete-in-progress", - "delete-complete", - "delete-failed", - } -} - -type PrincipalType string - -// Enum values for PrincipalType -const ( - PrincipalTypeAll PrincipalType = "All" - PrincipalTypeService PrincipalType = "Service" - PrincipalTypeOrganizationUnit PrincipalType = "OrganizationUnit" - PrincipalTypeAccount PrincipalType = "Account" - PrincipalTypeUser PrincipalType = "User" - PrincipalTypeRole PrincipalType = "Role" -) - -// Values returns all known values for PrincipalType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (PrincipalType) Values() []PrincipalType { - return []PrincipalType{ - "All", - "Service", - "OrganizationUnit", - "Account", - "User", - "Role", - } -} - -type ProductCodeValues string - -// Enum values for ProductCodeValues -const ( - ProductCodeValuesDevpay ProductCodeValues = "devpay" - ProductCodeValuesMarketplace ProductCodeValues = "marketplace" -) - -// Values returns all known values for ProductCodeValues. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ProductCodeValues) Values() []ProductCodeValues { - return []ProductCodeValues{ - "devpay", - "marketplace", - } -} - -type Protocol string - -// Enum values for Protocol -const ( - ProtocolTcp Protocol = "tcp" - ProtocolUdp Protocol = "udp" -) - -// Values returns all known values for Protocol. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (Protocol) Values() []Protocol { - return []Protocol{ - "tcp", - "udp", - } -} - -type ProtocolValue string - -// Enum values for ProtocolValue -const ( - ProtocolValueGre ProtocolValue = "gre" -) - -// Values returns all known values for ProtocolValue. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ProtocolValue) Values() []ProtocolValue { - return []ProtocolValue{ - "gre", - } -} - -type PublicIpDnsOption string - -// Enum values for PublicIpDnsOption -const ( - PublicIpDnsOptionPublicDualStackDnsName PublicIpDnsOption = "public-dual-stack-dns-name" - PublicIpDnsOptionPublicIpv4DnsName PublicIpDnsOption = "public-ipv4-dns-name" - PublicIpDnsOptionPublicIpv6DnsName PublicIpDnsOption = "public-ipv6-dns-name" -) - -// Values returns all known values for PublicIpDnsOption. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (PublicIpDnsOption) Values() []PublicIpDnsOption { - return []PublicIpDnsOption{ - "public-dual-stack-dns-name", - "public-ipv4-dns-name", - "public-ipv6-dns-name", - } -} - -type RebootMigrationSupport string - -// Enum values for RebootMigrationSupport -const ( - RebootMigrationSupportUnsupported RebootMigrationSupport = "unsupported" - RebootMigrationSupportSupported RebootMigrationSupport = "supported" -) - -// Values returns all known values for RebootMigrationSupport. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RebootMigrationSupport) Values() []RebootMigrationSupport { - return []RebootMigrationSupport{ - "unsupported", - "supported", - } -} - -type RecurringChargeFrequency string - -// Enum values for RecurringChargeFrequency -const ( - RecurringChargeFrequencyHourly RecurringChargeFrequency = "Hourly" -) - -// Values returns all known values for RecurringChargeFrequency. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RecurringChargeFrequency) Values() []RecurringChargeFrequency { - return []RecurringChargeFrequency{ - "Hourly", - } -} - -type ReplacementStrategy string - -// Enum values for ReplacementStrategy -const ( - ReplacementStrategyLaunch ReplacementStrategy = "launch" - ReplacementStrategyLaunchBeforeTerminate ReplacementStrategy = "launch-before-terminate" -) - -// Values returns all known values for ReplacementStrategy. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ReplacementStrategy) Values() []ReplacementStrategy { - return []ReplacementStrategy{ - "launch", - "launch-before-terminate", - } -} - -type ReplaceRootVolumeTaskState string - -// Enum values for ReplaceRootVolumeTaskState -const ( - ReplaceRootVolumeTaskStatePending ReplaceRootVolumeTaskState = "pending" - ReplaceRootVolumeTaskStateInProgress ReplaceRootVolumeTaskState = "in-progress" - ReplaceRootVolumeTaskStateFailing ReplaceRootVolumeTaskState = "failing" - ReplaceRootVolumeTaskStateSucceeded ReplaceRootVolumeTaskState = "succeeded" - ReplaceRootVolumeTaskStateFailed ReplaceRootVolumeTaskState = "failed" - ReplaceRootVolumeTaskStateFailedDetached ReplaceRootVolumeTaskState = "failed-detached" -) - -// Values returns all known values for ReplaceRootVolumeTaskState. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ReplaceRootVolumeTaskState) Values() []ReplaceRootVolumeTaskState { - return []ReplaceRootVolumeTaskState{ - "pending", - "in-progress", - "failing", - "succeeded", - "failed", - "failed-detached", - } -} - -type ReportInstanceReasonCodes string - -// Enum values for ReportInstanceReasonCodes -const ( - ReportInstanceReasonCodesInstanceStuckInState ReportInstanceReasonCodes = "instance-stuck-in-state" - ReportInstanceReasonCodesUnresponsive ReportInstanceReasonCodes = "unresponsive" - ReportInstanceReasonCodesNotAcceptingCredentials ReportInstanceReasonCodes = "not-accepting-credentials" - ReportInstanceReasonCodesPasswordNotAvailable ReportInstanceReasonCodes = "password-not-available" - ReportInstanceReasonCodesPerformanceNetwork ReportInstanceReasonCodes = "performance-network" - ReportInstanceReasonCodesPerformanceInstanceStore ReportInstanceReasonCodes = "performance-instance-store" - ReportInstanceReasonCodesPerformanceEbsVolume ReportInstanceReasonCodes = "performance-ebs-volume" - ReportInstanceReasonCodesPerformanceOther ReportInstanceReasonCodes = "performance-other" - ReportInstanceReasonCodesOther ReportInstanceReasonCodes = "other" -) - -// Values returns all known values for ReportInstanceReasonCodes. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ReportInstanceReasonCodes) Values() []ReportInstanceReasonCodes { - return []ReportInstanceReasonCodes{ - "instance-stuck-in-state", - "unresponsive", - "not-accepting-credentials", - "password-not-available", - "performance-network", - "performance-instance-store", - "performance-ebs-volume", - "performance-other", - "other", - } -} - -type ReportState string - -// Enum values for ReportState -const ( - ReportStateRunning ReportState = "running" - ReportStateCancelled ReportState = "cancelled" - ReportStateComplete ReportState = "complete" - ReportStateError ReportState = "error" -) - -// Values returns all known values for ReportState. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ReportState) Values() []ReportState { - return []ReportState{ - "running", - "cancelled", - "complete", - "error", - } -} - -type ReportStatusType string - -// Enum values for ReportStatusType -const ( - ReportStatusTypeOk ReportStatusType = "ok" - ReportStatusTypeImpaired ReportStatusType = "impaired" -) - -// Values returns all known values for ReportStatusType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ReportStatusType) Values() []ReportStatusType { - return []ReportStatusType{ - "ok", - "impaired", - } -} - -type ReservationEndDateType string - -// Enum values for ReservationEndDateType -const ( - ReservationEndDateTypeLimited ReservationEndDateType = "limited" - ReservationEndDateTypeUnlimited ReservationEndDateType = "unlimited" -) - -// Values returns all known values for ReservationEndDateType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ReservationEndDateType) Values() []ReservationEndDateType { - return []ReservationEndDateType{ - "limited", - "unlimited", - } -} - -type ReservationState string - -// Enum values for ReservationState -const ( - ReservationStateActive ReservationState = "active" - ReservationStateExpired ReservationState = "expired" - ReservationStateCancelled ReservationState = "cancelled" - ReservationStateScheduled ReservationState = "scheduled" - ReservationStatePending ReservationState = "pending" - ReservationStateFailed ReservationState = "failed" - ReservationStateDelayed ReservationState = "delayed" - ReservationStateUnsupported ReservationState = "unsupported" - ReservationStatePaymentPending ReservationState = "payment-pending" - ReservationStatePaymentFailed ReservationState = "payment-failed" - ReservationStateRetired ReservationState = "retired" -) - -// Values returns all known values for ReservationState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ReservationState) Values() []ReservationState { - return []ReservationState{ - "active", - "expired", - "cancelled", - "scheduled", - "pending", - "failed", - "delayed", - "unsupported", - "payment-pending", - "payment-failed", - "retired", - } -} - -type ReservationType string - -// Enum values for ReservationType -const ( - ReservationTypeCapacityBlock ReservationType = "capacity-block" - ReservationTypeOdcr ReservationType = "odcr" -) - -// Values returns all known values for ReservationType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ReservationType) Values() []ReservationType { - return []ReservationType{ - "capacity-block", - "odcr", - } -} - -type ReservedInstanceState string - -// Enum values for ReservedInstanceState -const ( - ReservedInstanceStatePaymentPending ReservedInstanceState = "payment-pending" - ReservedInstanceStateActive ReservedInstanceState = "active" - ReservedInstanceStatePaymentFailed ReservedInstanceState = "payment-failed" - ReservedInstanceStateRetired ReservedInstanceState = "retired" - ReservedInstanceStateQueued ReservedInstanceState = "queued" - ReservedInstanceStateQueuedDeleted ReservedInstanceState = "queued-deleted" -) - -// Values returns all known values for ReservedInstanceState. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ReservedInstanceState) Values() []ReservedInstanceState { - return []ReservedInstanceState{ - "payment-pending", - "active", - "payment-failed", - "retired", - "queued", - "queued-deleted", - } -} - -type ResetFpgaImageAttributeName string - -// Enum values for ResetFpgaImageAttributeName -const ( - ResetFpgaImageAttributeNameLoadPermission ResetFpgaImageAttributeName = "loadPermission" -) - -// Values returns all known values for ResetFpgaImageAttributeName. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ResetFpgaImageAttributeName) Values() []ResetFpgaImageAttributeName { - return []ResetFpgaImageAttributeName{ - "loadPermission", - } -} - -type ResetImageAttributeName string - -// Enum values for ResetImageAttributeName -const ( - ResetImageAttributeNameLaunchPermission ResetImageAttributeName = "launchPermission" -) - -// Values returns all known values for ResetImageAttributeName. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ResetImageAttributeName) Values() []ResetImageAttributeName { - return []ResetImageAttributeName{ - "launchPermission", - } -} - -type ResourceType string - -// Enum values for ResourceType -const ( - ResourceTypeCapacityReservation ResourceType = "capacity-reservation" - ResourceTypeClientVpnEndpoint ResourceType = "client-vpn-endpoint" - ResourceTypeCustomerGateway ResourceType = "customer-gateway" - ResourceTypeCarrierGateway ResourceType = "carrier-gateway" - ResourceTypeCoipPool ResourceType = "coip-pool" - ResourceTypeDeclarativePoliciesReport ResourceType = "declarative-policies-report" - ResourceTypeDedicatedHost ResourceType = "dedicated-host" - ResourceTypeDhcpOptions ResourceType = "dhcp-options" - ResourceTypeEgressOnlyInternetGateway ResourceType = "egress-only-internet-gateway" - ResourceTypeElasticIp ResourceType = "elastic-ip" - ResourceTypeElasticGpu ResourceType = "elastic-gpu" - ResourceTypeExportImageTask ResourceType = "export-image-task" - ResourceTypeExportInstanceTask ResourceType = "export-instance-task" - ResourceTypeFleet ResourceType = "fleet" - ResourceTypeFpgaImage ResourceType = "fpga-image" - ResourceTypeHostReservation ResourceType = "host-reservation" - ResourceTypeImage ResourceType = "image" - ResourceTypeImageUsageReport ResourceType = "image-usage-report" - ResourceTypeImportImageTask ResourceType = "import-image-task" - ResourceTypeImportSnapshotTask ResourceType = "import-snapshot-task" - ResourceTypeInstance ResourceType = "instance" - ResourceTypeInstanceEventWindow ResourceType = "instance-event-window" - ResourceTypeInternetGateway ResourceType = "internet-gateway" - ResourceTypeIpam ResourceType = "ipam" - ResourceTypeIpamPool ResourceType = "ipam-pool" - ResourceTypeIpamScope ResourceType = "ipam-scope" - ResourceTypeIpv4poolEc2 ResourceType = "ipv4pool-ec2" - ResourceTypeIpv6poolEc2 ResourceType = "ipv6pool-ec2" - ResourceTypeKeyPair ResourceType = "key-pair" - ResourceTypeLaunchTemplate ResourceType = "launch-template" - ResourceTypeLocalGateway ResourceType = "local-gateway" - ResourceTypeLocalGatewayRouteTable ResourceType = "local-gateway-route-table" - ResourceTypeLocalGatewayVirtualInterface ResourceType = "local-gateway-virtual-interface" - ResourceTypeLocalGatewayVirtualInterfaceGroup ResourceType = "local-gateway-virtual-interface-group" - ResourceTypeLocalGatewayRouteTableVpcAssociation ResourceType = "local-gateway-route-table-vpc-association" - ResourceTypeLocalGatewayRouteTableVirtualInterfaceGroupAssociation ResourceType = "local-gateway-route-table-virtual-interface-group-association" - ResourceTypeNatgateway ResourceType = "natgateway" - ResourceTypeNetworkAcl ResourceType = "network-acl" - ResourceTypeNetworkInterface ResourceType = "network-interface" - ResourceTypeNetworkInsightsAnalysis ResourceType = "network-insights-analysis" - ResourceTypeNetworkInsightsPath ResourceType = "network-insights-path" - ResourceTypeNetworkInsightsAccessScope ResourceType = "network-insights-access-scope" - ResourceTypeNetworkInsightsAccessScopeAnalysis ResourceType = "network-insights-access-scope-analysis" - ResourceTypeOutpostLag ResourceType = "outpost-lag" - ResourceTypePlacementGroup ResourceType = "placement-group" - ResourceTypePrefixList ResourceType = "prefix-list" - ResourceTypeReplaceRootVolumeTask ResourceType = "replace-root-volume-task" - ResourceTypeReservedInstances ResourceType = "reserved-instances" - ResourceTypeRouteTable ResourceType = "route-table" - ResourceTypeSecurityGroup ResourceType = "security-group" - ResourceTypeSecurityGroupRule ResourceType = "security-group-rule" - ResourceTypeServiceLinkVirtualInterface ResourceType = "service-link-virtual-interface" - ResourceTypeSnapshot ResourceType = "snapshot" - ResourceTypeSpotFleetRequest ResourceType = "spot-fleet-request" - ResourceTypeSpotInstancesRequest ResourceType = "spot-instances-request" - ResourceTypeSubnet ResourceType = "subnet" - ResourceTypeSubnetCidrReservation ResourceType = "subnet-cidr-reservation" - ResourceTypeTrafficMirrorFilter ResourceType = "traffic-mirror-filter" - ResourceTypeTrafficMirrorSession ResourceType = "traffic-mirror-session" - ResourceTypeTrafficMirrorTarget ResourceType = "traffic-mirror-target" - ResourceTypeTransitGateway ResourceType = "transit-gateway" - ResourceTypeTransitGatewayAttachment ResourceType = "transit-gateway-attachment" - ResourceTypeTransitGatewayConnectPeer ResourceType = "transit-gateway-connect-peer" - ResourceTypeTransitGatewayMulticastDomain ResourceType = "transit-gateway-multicast-domain" - ResourceTypeTransitGatewayPolicyTable ResourceType = "transit-gateway-policy-table" - ResourceTypeTransitGatewayMeteringPolicy ResourceType = "transit-gateway-metering-policy" - ResourceTypeTransitGatewayRouteTable ResourceType = "transit-gateway-route-table" - ResourceTypeTransitGatewayRouteTableAnnouncement ResourceType = "transit-gateway-route-table-announcement" - ResourceTypeVolume ResourceType = "volume" - ResourceTypeVpc ResourceType = "vpc" - ResourceTypeVpcEndpoint ResourceType = "vpc-endpoint" - ResourceTypeVpcEndpointConnection ResourceType = "vpc-endpoint-connection" - ResourceTypeVpcEndpointService ResourceType = "vpc-endpoint-service" - ResourceTypeVpcEndpointServicePermission ResourceType = "vpc-endpoint-service-permission" - ResourceTypeVpcPeeringConnection ResourceType = "vpc-peering-connection" - ResourceTypeVpnConnection ResourceType = "vpn-connection" - ResourceTypeVpnGateway ResourceType = "vpn-gateway" - ResourceTypeVpcFlowLog ResourceType = "vpc-flow-log" - ResourceTypeCapacityReservationFleet ResourceType = "capacity-reservation-fleet" - ResourceTypeTrafficMirrorFilterRule ResourceType = "traffic-mirror-filter-rule" - ResourceTypeVpcEndpointConnectionDeviceType ResourceType = "vpc-endpoint-connection-device-type" - ResourceTypeVerifiedAccessInstance ResourceType = "verified-access-instance" - ResourceTypeVerifiedAccessGroup ResourceType = "verified-access-group" - ResourceTypeVerifiedAccessEndpoint ResourceType = "verified-access-endpoint" - ResourceTypeVerifiedAccessPolicy ResourceType = "verified-access-policy" - ResourceTypeVerifiedAccessTrustProvider ResourceType = "verified-access-trust-provider" - ResourceTypeVpnConnectionDeviceType ResourceType = "vpn-connection-device-type" - ResourceTypeVpcBlockPublicAccessExclusion ResourceType = "vpc-block-public-access-exclusion" - ResourceTypeVpcEncryptionControl ResourceType = "vpc-encryption-control" - ResourceTypeRouteServer ResourceType = "route-server" - ResourceTypeRouteServerEndpoint ResourceType = "route-server-endpoint" - ResourceTypeRouteServerPeer ResourceType = "route-server-peer" - ResourceTypeIpamResourceDiscovery ResourceType = "ipam-resource-discovery" - ResourceTypeIpamResourceDiscoveryAssociation ResourceType = "ipam-resource-discovery-association" - ResourceTypeInstanceConnectEndpoint ResourceType = "instance-connect-endpoint" - ResourceTypeVerifiedAccessEndpointTarget ResourceType = "verified-access-endpoint-target" - ResourceTypeIpamExternalResourceVerificationToken ResourceType = "ipam-external-resource-verification-token" - ResourceTypeCapacityBlock ResourceType = "capacity-block" - ResourceTypeMacModificationTask ResourceType = "mac-modification-task" - ResourceTypeIpamPrefixListResolver ResourceType = "ipam-prefix-list-resolver" - ResourceTypeIpamPolicy ResourceType = "ipam-policy" - ResourceTypeIpamPrefixListResolverTarget ResourceType = "ipam-prefix-list-resolver-target" - ResourceTypeCapacityManagerDataExport ResourceType = "capacity-manager-data-export" - ResourceTypeVpnConcentrator ResourceType = "vpn-concentrator" -) - -// Values returns all known values for ResourceType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ResourceType) Values() []ResourceType { - return []ResourceType{ - "capacity-reservation", - "client-vpn-endpoint", - "customer-gateway", - "carrier-gateway", - "coip-pool", - "declarative-policies-report", - "dedicated-host", - "dhcp-options", - "egress-only-internet-gateway", - "elastic-ip", - "elastic-gpu", - "export-image-task", - "export-instance-task", - "fleet", - "fpga-image", - "host-reservation", - "image", - "image-usage-report", - "import-image-task", - "import-snapshot-task", - "instance", - "instance-event-window", - "internet-gateway", - "ipam", - "ipam-pool", - "ipam-scope", - "ipv4pool-ec2", - "ipv6pool-ec2", - "key-pair", - "launch-template", - "local-gateway", - "local-gateway-route-table", - "local-gateway-virtual-interface", - "local-gateway-virtual-interface-group", - "local-gateway-route-table-vpc-association", - "local-gateway-route-table-virtual-interface-group-association", - "natgateway", - "network-acl", - "network-interface", - "network-insights-analysis", - "network-insights-path", - "network-insights-access-scope", - "network-insights-access-scope-analysis", - "outpost-lag", - "placement-group", - "prefix-list", - "replace-root-volume-task", - "reserved-instances", - "route-table", - "security-group", - "security-group-rule", - "service-link-virtual-interface", - "snapshot", - "spot-fleet-request", - "spot-instances-request", - "subnet", - "subnet-cidr-reservation", - "traffic-mirror-filter", - "traffic-mirror-session", - "traffic-mirror-target", - "transit-gateway", - "transit-gateway-attachment", - "transit-gateway-connect-peer", - "transit-gateway-multicast-domain", - "transit-gateway-policy-table", - "transit-gateway-metering-policy", - "transit-gateway-route-table", - "transit-gateway-route-table-announcement", - "volume", - "vpc", - "vpc-endpoint", - "vpc-endpoint-connection", - "vpc-endpoint-service", - "vpc-endpoint-service-permission", - "vpc-peering-connection", - "vpn-connection", - "vpn-gateway", - "vpc-flow-log", - "capacity-reservation-fleet", - "traffic-mirror-filter-rule", - "vpc-endpoint-connection-device-type", - "verified-access-instance", - "verified-access-group", - "verified-access-endpoint", - "verified-access-policy", - "verified-access-trust-provider", - "vpn-connection-device-type", - "vpc-block-public-access-exclusion", - "vpc-encryption-control", - "route-server", - "route-server-endpoint", - "route-server-peer", - "ipam-resource-discovery", - "ipam-resource-discovery-association", - "instance-connect-endpoint", - "verified-access-endpoint-target", - "ipam-external-resource-verification-token", - "capacity-block", - "mac-modification-task", - "ipam-prefix-list-resolver", - "ipam-policy", - "ipam-prefix-list-resolver-target", - "capacity-manager-data-export", - "vpn-concentrator", - } -} - -type RIProductDescription string - -// Enum values for RIProductDescription -const ( - RIProductDescriptionLinuxUnix RIProductDescription = "Linux/UNIX" - RIProductDescriptionLinuxUnixAmazonVpc RIProductDescription = "Linux/UNIX (Amazon VPC)" - RIProductDescriptionWindows RIProductDescription = "Windows" - RIProductDescriptionWindowsAmazonVpc RIProductDescription = "Windows (Amazon VPC)" -) - -// Values returns all known values for RIProductDescription. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RIProductDescription) Values() []RIProductDescription { - return []RIProductDescription{ - "Linux/UNIX", - "Linux/UNIX (Amazon VPC)", - "Windows", - "Windows (Amazon VPC)", - } -} - -type RootDeviceType string - -// Enum values for RootDeviceType -const ( - RootDeviceTypeEbs RootDeviceType = "ebs" - RootDeviceTypeInstanceStore RootDeviceType = "instance-store" -) - -// Values returns all known values for RootDeviceType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RootDeviceType) Values() []RootDeviceType { - return []RootDeviceType{ - "ebs", - "instance-store", - } -} - -type RouteOrigin string - -// Enum values for RouteOrigin -const ( - RouteOriginCreateRouteTable RouteOrigin = "CreateRouteTable" - RouteOriginCreateRoute RouteOrigin = "CreateRoute" - RouteOriginEnableVgwRoutePropagation RouteOrigin = "EnableVgwRoutePropagation" - RouteOriginAdvertisement RouteOrigin = "Advertisement" -) - -// Values returns all known values for RouteOrigin. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RouteOrigin) Values() []RouteOrigin { - return []RouteOrigin{ - "CreateRouteTable", - "CreateRoute", - "EnableVgwRoutePropagation", - "Advertisement", - } -} - -type RouteServerAssociationState string - -// Enum values for RouteServerAssociationState -const ( - RouteServerAssociationStateAssociating RouteServerAssociationState = "associating" - RouteServerAssociationStateAssociated RouteServerAssociationState = "associated" - RouteServerAssociationStateDisassociating RouteServerAssociationState = "disassociating" -) - -// Values returns all known values for RouteServerAssociationState. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RouteServerAssociationState) Values() []RouteServerAssociationState { - return []RouteServerAssociationState{ - "associating", - "associated", - "disassociating", - } -} - -type RouteServerBfdState string - -// Enum values for RouteServerBfdState -const ( - RouteServerBfdStateUp RouteServerBfdState = "up" - RouteServerBfdStateDown RouteServerBfdState = "down" -) - -// Values returns all known values for RouteServerBfdState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RouteServerBfdState) Values() []RouteServerBfdState { - return []RouteServerBfdState{ - "up", - "down", - } -} - -type RouteServerBgpState string - -// Enum values for RouteServerBgpState -const ( - RouteServerBgpStateUp RouteServerBgpState = "up" - RouteServerBgpStateDown RouteServerBgpState = "down" -) - -// Values returns all known values for RouteServerBgpState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RouteServerBgpState) Values() []RouteServerBgpState { - return []RouteServerBgpState{ - "up", - "down", - } -} - -type RouteServerEndpointState string - -// Enum values for RouteServerEndpointState -const ( - RouteServerEndpointStatePending RouteServerEndpointState = "pending" - RouteServerEndpointStateAvailable RouteServerEndpointState = "available" - RouteServerEndpointStateDeleting RouteServerEndpointState = "deleting" - RouteServerEndpointStateDeleted RouteServerEndpointState = "deleted" - RouteServerEndpointStateFailing RouteServerEndpointState = "failing" - RouteServerEndpointStateFailed RouteServerEndpointState = "failed" - RouteServerEndpointStateDeleteFailed RouteServerEndpointState = "delete-failed" -) - -// Values returns all known values for RouteServerEndpointState. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RouteServerEndpointState) Values() []RouteServerEndpointState { - return []RouteServerEndpointState{ - "pending", - "available", - "deleting", - "deleted", - "failing", - "failed", - "delete-failed", - } -} - -type RouteServerPeerLivenessMode string - -// Enum values for RouteServerPeerLivenessMode -const ( - RouteServerPeerLivenessModeBfd RouteServerPeerLivenessMode = "bfd" - RouteServerPeerLivenessModeBgpKeepalive RouteServerPeerLivenessMode = "bgp-keepalive" -) - -// Values returns all known values for RouteServerPeerLivenessMode. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RouteServerPeerLivenessMode) Values() []RouteServerPeerLivenessMode { - return []RouteServerPeerLivenessMode{ - "bfd", - "bgp-keepalive", - } -} - -type RouteServerPeerState string - -// Enum values for RouteServerPeerState -const ( - RouteServerPeerStatePending RouteServerPeerState = "pending" - RouteServerPeerStateAvailable RouteServerPeerState = "available" - RouteServerPeerStateDeleting RouteServerPeerState = "deleting" - RouteServerPeerStateDeleted RouteServerPeerState = "deleted" - RouteServerPeerStateFailing RouteServerPeerState = "failing" - RouteServerPeerStateFailed RouteServerPeerState = "failed" -) - -// Values returns all known values for RouteServerPeerState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RouteServerPeerState) Values() []RouteServerPeerState { - return []RouteServerPeerState{ - "pending", - "available", - "deleting", - "deleted", - "failing", - "failed", - } -} - -type RouteServerPersistRoutesAction string - -// Enum values for RouteServerPersistRoutesAction -const ( - RouteServerPersistRoutesActionEnable RouteServerPersistRoutesAction = "enable" - RouteServerPersistRoutesActionDisable RouteServerPersistRoutesAction = "disable" - RouteServerPersistRoutesActionReset RouteServerPersistRoutesAction = "reset" -) - -// Values returns all known values for RouteServerPersistRoutesAction. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RouteServerPersistRoutesAction) Values() []RouteServerPersistRoutesAction { - return []RouteServerPersistRoutesAction{ - "enable", - "disable", - "reset", - } -} - -type RouteServerPersistRoutesState string - -// Enum values for RouteServerPersistRoutesState -const ( - RouteServerPersistRoutesStateEnabling RouteServerPersistRoutesState = "enabling" - RouteServerPersistRoutesStateEnabled RouteServerPersistRoutesState = "enabled" - RouteServerPersistRoutesStateResetting RouteServerPersistRoutesState = "resetting" - RouteServerPersistRoutesStateDisabling RouteServerPersistRoutesState = "disabling" - RouteServerPersistRoutesStateDisabled RouteServerPersistRoutesState = "disabled" - RouteServerPersistRoutesStateModifying RouteServerPersistRoutesState = "modifying" -) - -// Values returns all known values for RouteServerPersistRoutesState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RouteServerPersistRoutesState) Values() []RouteServerPersistRoutesState { - return []RouteServerPersistRoutesState{ - "enabling", - "enabled", - "resetting", - "disabling", - "disabled", - "modifying", - } -} - -type RouteServerPropagationState string - -// Enum values for RouteServerPropagationState -const ( - RouteServerPropagationStatePending RouteServerPropagationState = "pending" - RouteServerPropagationStateAvailable RouteServerPropagationState = "available" - RouteServerPropagationStateDeleting RouteServerPropagationState = "deleting" -) - -// Values returns all known values for RouteServerPropagationState. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RouteServerPropagationState) Values() []RouteServerPropagationState { - return []RouteServerPropagationState{ - "pending", - "available", - "deleting", - } -} - -type RouteServerRouteInstallationStatus string - -// Enum values for RouteServerRouteInstallationStatus -const ( - RouteServerRouteInstallationStatusInstalled RouteServerRouteInstallationStatus = "installed" - RouteServerRouteInstallationStatusRejected RouteServerRouteInstallationStatus = "rejected" -) - -// Values returns all known values for RouteServerRouteInstallationStatus. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RouteServerRouteInstallationStatus) Values() []RouteServerRouteInstallationStatus { - return []RouteServerRouteInstallationStatus{ - "installed", - "rejected", - } -} - -type RouteServerRouteStatus string - -// Enum values for RouteServerRouteStatus -const ( - RouteServerRouteStatusInRib RouteServerRouteStatus = "in-rib" - RouteServerRouteStatusInFib RouteServerRouteStatus = "in-fib" -) - -// Values returns all known values for RouteServerRouteStatus. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RouteServerRouteStatus) Values() []RouteServerRouteStatus { - return []RouteServerRouteStatus{ - "in-rib", - "in-fib", - } -} - -type RouteServerState string - -// Enum values for RouteServerState -const ( - RouteServerStatePending RouteServerState = "pending" - RouteServerStateAvailable RouteServerState = "available" - RouteServerStateModifying RouteServerState = "modifying" - RouteServerStateDeleting RouteServerState = "deleting" - RouteServerStateDeleted RouteServerState = "deleted" -) - -// Values returns all known values for RouteServerState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RouteServerState) Values() []RouteServerState { - return []RouteServerState{ - "pending", - "available", - "modifying", - "deleting", - "deleted", - } -} - -type RouteState string - -// Enum values for RouteState -const ( - RouteStateActive RouteState = "active" - RouteStateBlackhole RouteState = "blackhole" - RouteStateFiltered RouteState = "filtered" -) - -// Values returns all known values for RouteState. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RouteState) Values() []RouteState { - return []RouteState{ - "active", - "blackhole", - "filtered", - } -} - -type RouteTableAssociationStateCode string - -// Enum values for RouteTableAssociationStateCode -const ( - RouteTableAssociationStateCodeAssociating RouteTableAssociationStateCode = "associating" - RouteTableAssociationStateCodeAssociated RouteTableAssociationStateCode = "associated" - RouteTableAssociationStateCodeDisassociating RouteTableAssociationStateCode = "disassociating" - RouteTableAssociationStateCodeDisassociated RouteTableAssociationStateCode = "disassociated" - RouteTableAssociationStateCodeFailed RouteTableAssociationStateCode = "failed" -) - -// Values returns all known values for RouteTableAssociationStateCode. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RouteTableAssociationStateCode) Values() []RouteTableAssociationStateCode { - return []RouteTableAssociationStateCode{ - "associating", - "associated", - "disassociating", - "disassociated", - "failed", - } -} - -type RuleAction string - -// Enum values for RuleAction -const ( - RuleActionAllow RuleAction = "allow" - RuleActionDeny RuleAction = "deny" -) - -// Values returns all known values for RuleAction. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (RuleAction) Values() []RuleAction { - return []RuleAction{ - "allow", - "deny", - } -} - -type Schedule string - -// Enum values for Schedule -const ( - ScheduleHourly Schedule = "hourly" -) - -// Values returns all known values for Schedule. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (Schedule) Values() []Schedule { - return []Schedule{ - "hourly", - } -} - -type Scope string - -// Enum values for Scope -const ( - ScopeAvailabilityZone Scope = "Availability Zone" - ScopeRegional Scope = "Region" -) - -// Values returns all known values for Scope. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (Scope) Values() []Scope { - return []Scope{ - "Availability Zone", - "Region", - } -} - -type SecurityGroupReferencingSupportValue string - -// Enum values for SecurityGroupReferencingSupportValue -const ( - SecurityGroupReferencingSupportValueEnable SecurityGroupReferencingSupportValue = "enable" - SecurityGroupReferencingSupportValueDisable SecurityGroupReferencingSupportValue = "disable" -) - -// Values returns all known values for SecurityGroupReferencingSupportValue. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SecurityGroupReferencingSupportValue) Values() []SecurityGroupReferencingSupportValue { - return []SecurityGroupReferencingSupportValue{ - "enable", - "disable", - } -} - -type SecurityGroupVpcAssociationState string - -// Enum values for SecurityGroupVpcAssociationState -const ( - SecurityGroupVpcAssociationStateAssociating SecurityGroupVpcAssociationState = "associating" - SecurityGroupVpcAssociationStateAssociated SecurityGroupVpcAssociationState = "associated" - SecurityGroupVpcAssociationStateAssociationFailed SecurityGroupVpcAssociationState = "association-failed" - SecurityGroupVpcAssociationStateDisassociating SecurityGroupVpcAssociationState = "disassociating" - SecurityGroupVpcAssociationStateDisassociated SecurityGroupVpcAssociationState = "disassociated" - SecurityGroupVpcAssociationStateDisassociationFailed SecurityGroupVpcAssociationState = "disassociation-failed" -) - -// Values returns all known values for SecurityGroupVpcAssociationState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SecurityGroupVpcAssociationState) Values() []SecurityGroupVpcAssociationState { - return []SecurityGroupVpcAssociationState{ - "associating", - "associated", - "association-failed", - "disassociating", - "disassociated", - "disassociation-failed", - } -} - -type SelfServicePortal string - -// Enum values for SelfServicePortal -const ( - SelfServicePortalEnabled SelfServicePortal = "enabled" - SelfServicePortalDisabled SelfServicePortal = "disabled" -) - -// Values returns all known values for SelfServicePortal. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SelfServicePortal) Values() []SelfServicePortal { - return []SelfServicePortal{ - "enabled", - "disabled", - } -} - -type ServiceConnectivityType string - -// Enum values for ServiceConnectivityType -const ( - ServiceConnectivityTypeIpv4 ServiceConnectivityType = "ipv4" - ServiceConnectivityTypeIpv6 ServiceConnectivityType = "ipv6" -) - -// Values returns all known values for ServiceConnectivityType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ServiceConnectivityType) Values() []ServiceConnectivityType { - return []ServiceConnectivityType{ - "ipv4", - "ipv6", - } -} - -type ServiceLinkVirtualInterfaceConfigurationState string - -// Enum values for ServiceLinkVirtualInterfaceConfigurationState -const ( - ServiceLinkVirtualInterfaceConfigurationStatePending ServiceLinkVirtualInterfaceConfigurationState = "pending" - ServiceLinkVirtualInterfaceConfigurationStateAvailable ServiceLinkVirtualInterfaceConfigurationState = "available" - ServiceLinkVirtualInterfaceConfigurationStateDeleting ServiceLinkVirtualInterfaceConfigurationState = "deleting" - ServiceLinkVirtualInterfaceConfigurationStateDeleted ServiceLinkVirtualInterfaceConfigurationState = "deleted" -) - -// Values returns all known values for -// ServiceLinkVirtualInterfaceConfigurationState. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ServiceLinkVirtualInterfaceConfigurationState) Values() []ServiceLinkVirtualInterfaceConfigurationState { - return []ServiceLinkVirtualInterfaceConfigurationState{ - "pending", - "available", - "deleting", - "deleted", - } -} - -type ServiceManaged string - -// Enum values for ServiceManaged -const ( - ServiceManagedAlb ServiceManaged = "alb" - ServiceManagedNlb ServiceManaged = "nlb" - ServiceManagedRnat ServiceManaged = "rnat" - ServiceManagedRds ServiceManaged = "rds" -) - -// Values returns all known values for ServiceManaged. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ServiceManaged) Values() []ServiceManaged { - return []ServiceManaged{ - "alb", - "nlb", - "rnat", - "rds", - } -} - -type ServiceState string - -// Enum values for ServiceState -const ( - ServiceStatePending ServiceState = "Pending" - ServiceStateAvailable ServiceState = "Available" - ServiceStateDeleting ServiceState = "Deleting" - ServiceStateDeleted ServiceState = "Deleted" - ServiceStateFailed ServiceState = "Failed" -) - -// Values returns all known values for ServiceState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ServiceState) Values() []ServiceState { - return []ServiceState{ - "Pending", - "Available", - "Deleting", - "Deleted", - "Failed", - } -} - -type ServiceType string - -// Enum values for ServiceType -const ( - ServiceTypeInterface ServiceType = "Interface" - ServiceTypeGateway ServiceType = "Gateway" - ServiceTypeGatewayLoadBalancer ServiceType = "GatewayLoadBalancer" -) - -// Values returns all known values for ServiceType. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ServiceType) Values() []ServiceType { - return []ServiceType{ - "Interface", - "Gateway", - "GatewayLoadBalancer", - } -} - -type ShutdownBehavior string - -// Enum values for ShutdownBehavior -const ( - ShutdownBehaviorStop ShutdownBehavior = "stop" - ShutdownBehaviorTerminate ShutdownBehavior = "terminate" -) - -// Values returns all known values for ShutdownBehavior. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ShutdownBehavior) Values() []ShutdownBehavior { - return []ShutdownBehavior{ - "stop", - "terminate", - } -} - -type SnapshotAttributeName string - -// Enum values for SnapshotAttributeName -const ( - SnapshotAttributeNameProductCodes SnapshotAttributeName = "productCodes" - SnapshotAttributeNameCreateVolumePermission SnapshotAttributeName = "createVolumePermission" -) - -// Values returns all known values for SnapshotAttributeName. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SnapshotAttributeName) Values() []SnapshotAttributeName { - return []SnapshotAttributeName{ - "productCodes", - "createVolumePermission", - } -} - -type SnapshotBlockPublicAccessState string - -// Enum values for SnapshotBlockPublicAccessState -const ( - SnapshotBlockPublicAccessStateBlockAllSharing SnapshotBlockPublicAccessState = "block-all-sharing" - SnapshotBlockPublicAccessStateBlockNewSharing SnapshotBlockPublicAccessState = "block-new-sharing" - SnapshotBlockPublicAccessStateUnblocked SnapshotBlockPublicAccessState = "unblocked" -) - -// Values returns all known values for SnapshotBlockPublicAccessState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SnapshotBlockPublicAccessState) Values() []SnapshotBlockPublicAccessState { - return []SnapshotBlockPublicAccessState{ - "block-all-sharing", - "block-new-sharing", - "unblocked", - } -} - -type SnapshotLocationEnum string - -// Enum values for SnapshotLocationEnum -const ( - SnapshotLocationEnumRegional SnapshotLocationEnum = "regional" - SnapshotLocationEnumLocal SnapshotLocationEnum = "local" -) - -// Values returns all known values for SnapshotLocationEnum. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SnapshotLocationEnum) Values() []SnapshotLocationEnum { - return []SnapshotLocationEnum{ - "regional", - "local", - } -} - -type SnapshotReturnCodes string - -// Enum values for SnapshotReturnCodes -const ( - SnapshotReturnCodesSuccess SnapshotReturnCodes = "success" - SnapshotReturnCodesWarnSkipped SnapshotReturnCodes = "skipped" - SnapshotReturnCodesErrorMissingPermissions SnapshotReturnCodes = "missing-permissions" - SnapshotReturnCodesErrorCodeInternalError SnapshotReturnCodes = "internal-error" - SnapshotReturnCodesErrorCodeClientError SnapshotReturnCodes = "client-error" -) - -// Values returns all known values for SnapshotReturnCodes. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SnapshotReturnCodes) Values() []SnapshotReturnCodes { - return []SnapshotReturnCodes{ - "success", - "skipped", - "missing-permissions", - "internal-error", - "client-error", - } -} - -type SnapshotState string - -// Enum values for SnapshotState -const ( - SnapshotStatePending SnapshotState = "pending" - SnapshotStateCompleted SnapshotState = "completed" - SnapshotStateError SnapshotState = "error" - SnapshotStateRecoverable SnapshotState = "recoverable" - SnapshotStateRecovering SnapshotState = "recovering" -) - -// Values returns all known values for SnapshotState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SnapshotState) Values() []SnapshotState { - return []SnapshotState{ - "pending", - "completed", - "error", - "recoverable", - "recovering", - } -} - -type SpotAllocationStrategy string - -// Enum values for SpotAllocationStrategy -const ( - SpotAllocationStrategyLowestPrice SpotAllocationStrategy = "lowest-price" - SpotAllocationStrategyDiversified SpotAllocationStrategy = "diversified" - SpotAllocationStrategyCapacityOptimized SpotAllocationStrategy = "capacity-optimized" - SpotAllocationStrategyCapacityOptimizedPrioritized SpotAllocationStrategy = "capacity-optimized-prioritized" - SpotAllocationStrategyPriceCapacityOptimized SpotAllocationStrategy = "price-capacity-optimized" -) - -// Values returns all known values for SpotAllocationStrategy. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SpotAllocationStrategy) Values() []SpotAllocationStrategy { - return []SpotAllocationStrategy{ - "lowest-price", - "diversified", - "capacity-optimized", - "capacity-optimized-prioritized", - "price-capacity-optimized", - } -} - -type SpotInstanceInterruptionBehavior string - -// Enum values for SpotInstanceInterruptionBehavior -const ( - SpotInstanceInterruptionBehaviorHibernate SpotInstanceInterruptionBehavior = "hibernate" - SpotInstanceInterruptionBehaviorStop SpotInstanceInterruptionBehavior = "stop" - SpotInstanceInterruptionBehaviorTerminate SpotInstanceInterruptionBehavior = "terminate" -) - -// Values returns all known values for SpotInstanceInterruptionBehavior. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SpotInstanceInterruptionBehavior) Values() []SpotInstanceInterruptionBehavior { - return []SpotInstanceInterruptionBehavior{ - "hibernate", - "stop", - "terminate", - } -} - -type SpotInstanceState string - -// Enum values for SpotInstanceState -const ( - SpotInstanceStateOpen SpotInstanceState = "open" - SpotInstanceStateActive SpotInstanceState = "active" - SpotInstanceStateClosed SpotInstanceState = "closed" - SpotInstanceStateCancelled SpotInstanceState = "cancelled" - SpotInstanceStateFailed SpotInstanceState = "failed" - SpotInstanceStateDisabled SpotInstanceState = "disabled" -) - -// Values returns all known values for SpotInstanceState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SpotInstanceState) Values() []SpotInstanceState { - return []SpotInstanceState{ - "open", - "active", - "closed", - "cancelled", - "failed", - "disabled", - } -} - -type SpotInstanceType string - -// Enum values for SpotInstanceType -const ( - SpotInstanceTypeOneTime SpotInstanceType = "one-time" - SpotInstanceTypePersistent SpotInstanceType = "persistent" -) - -// Values returns all known values for SpotInstanceType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SpotInstanceType) Values() []SpotInstanceType { - return []SpotInstanceType{ - "one-time", - "persistent", - } -} - -type SpreadLevel string - -// Enum values for SpreadLevel -const ( - SpreadLevelHost SpreadLevel = "host" - SpreadLevelRack SpreadLevel = "rack" -) - -// Values returns all known values for SpreadLevel. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SpreadLevel) Values() []SpreadLevel { - return []SpreadLevel{ - "host", - "rack", - } -} - -type SqlServerLicenseUsage string - -// Enum values for SqlServerLicenseUsage -const ( - SqlServerLicenseUsageFull SqlServerLicenseUsage = "full" - SqlServerLicenseUsageWaived SqlServerLicenseUsage = "waived" -) - -// Values returns all known values for SqlServerLicenseUsage. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SqlServerLicenseUsage) Values() []SqlServerLicenseUsage { - return []SqlServerLicenseUsage{ - "full", - "waived", - } -} - -type SSEType string - -// Enum values for SSEType -const ( - SSETypeSseEbs SSEType = "sse-ebs" - SSETypeSseKms SSEType = "sse-kms" - SSETypeNone SSEType = "none" -) - -// Values returns all known values for SSEType. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SSEType) Values() []SSEType { - return []SSEType{ - "sse-ebs", - "sse-kms", - "none", - } -} - -type State string - -// Enum values for State -const ( - StatePendingAcceptance State = "PendingAcceptance" - StatePending State = "Pending" - StateAvailable State = "Available" - StateDeleting State = "Deleting" - StateDeleted State = "Deleted" - StateRejected State = "Rejected" - StateFailed State = "Failed" - StateExpired State = "Expired" - StatePartial State = "Partial" -) - -// Values returns all known values for State. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (State) Values() []State { - return []State{ - "PendingAcceptance", - "Pending", - "Available", - "Deleting", - "Deleted", - "Rejected", - "Failed", - "Expired", - "Partial", - } -} - -type StaticSourcesSupportValue string - -// Enum values for StaticSourcesSupportValue -const ( - StaticSourcesSupportValueEnable StaticSourcesSupportValue = "enable" - StaticSourcesSupportValueDisable StaticSourcesSupportValue = "disable" -) - -// Values returns all known values for StaticSourcesSupportValue. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (StaticSourcesSupportValue) Values() []StaticSourcesSupportValue { - return []StaticSourcesSupportValue{ - "enable", - "disable", - } -} - -type StatisticType string - -// Enum values for StatisticType -const ( - StatisticTypeP50 StatisticType = "p50" -) - -// Values returns all known values for StatisticType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (StatisticType) Values() []StatisticType { - return []StatisticType{ - "p50", - } -} - -type Status string - -// Enum values for Status -const ( - StatusMoveInProgress Status = "MoveInProgress" - StatusInVpc Status = "InVpc" - StatusInClassic Status = "InClassic" -) - -// Values returns all known values for Status. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (Status) Values() []Status { - return []Status{ - "MoveInProgress", - "InVpc", - "InClassic", - } -} - -type StatusName string - -// Enum values for StatusName -const ( - StatusNameReachability StatusName = "reachability" -) - -// Values returns all known values for StatusName. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (StatusName) Values() []StatusName { - return []StatusName{ - "reachability", - } -} - -type StatusType string - -// Enum values for StatusType -const ( - StatusTypePassed StatusType = "passed" - StatusTypeFailed StatusType = "failed" - StatusTypeInsufficientData StatusType = "insufficient-data" - StatusTypeInitializing StatusType = "initializing" -) - -// Values returns all known values for StatusType. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (StatusType) Values() []StatusType { - return []StatusType{ - "passed", - "failed", - "insufficient-data", - "initializing", - } -} - -type StorageTier string - -// Enum values for StorageTier -const ( - StorageTierArchive StorageTier = "archive" - StorageTierStandard StorageTier = "standard" -) - -// Values returns all known values for StorageTier. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (StorageTier) Values() []StorageTier { - return []StorageTier{ - "archive", - "standard", - } -} - -type SubnetCidrBlockStateCode string - -// Enum values for SubnetCidrBlockStateCode -const ( - SubnetCidrBlockStateCodeAssociating SubnetCidrBlockStateCode = "associating" - SubnetCidrBlockStateCodeAssociated SubnetCidrBlockStateCode = "associated" - SubnetCidrBlockStateCodeDisassociating SubnetCidrBlockStateCode = "disassociating" - SubnetCidrBlockStateCodeDisassociated SubnetCidrBlockStateCode = "disassociated" - SubnetCidrBlockStateCodeFailing SubnetCidrBlockStateCode = "failing" - SubnetCidrBlockStateCodeFailed SubnetCidrBlockStateCode = "failed" -) - -// Values returns all known values for SubnetCidrBlockStateCode. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SubnetCidrBlockStateCode) Values() []SubnetCidrBlockStateCode { - return []SubnetCidrBlockStateCode{ - "associating", - "associated", - "disassociating", - "disassociated", - "failing", - "failed", - } -} - -type SubnetCidrReservationType string - -// Enum values for SubnetCidrReservationType -const ( - SubnetCidrReservationTypePrefix SubnetCidrReservationType = "prefix" - SubnetCidrReservationTypeExplicit SubnetCidrReservationType = "explicit" -) - -// Values returns all known values for SubnetCidrReservationType. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SubnetCidrReservationType) Values() []SubnetCidrReservationType { - return []SubnetCidrReservationType{ - "prefix", - "explicit", - } -} - -type SubnetState string - -// Enum values for SubnetState -const ( - SubnetStatePending SubnetState = "pending" - SubnetStateAvailable SubnetState = "available" - SubnetStateUnavailable SubnetState = "unavailable" - SubnetStateFailed SubnetState = "failed" - SubnetStateFailedInsufficientCapacity SubnetState = "failed-insufficient-capacity" -) - -// Values returns all known values for SubnetState. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SubnetState) Values() []SubnetState { - return []SubnetState{ - "pending", - "available", - "unavailable", - "failed", - "failed-insufficient-capacity", - } -} - -type SummaryStatus string - -// Enum values for SummaryStatus -const ( - SummaryStatusOk SummaryStatus = "ok" - SummaryStatusImpaired SummaryStatus = "impaired" - SummaryStatusInsufficientData SummaryStatus = "insufficient-data" - SummaryStatusNotApplicable SummaryStatus = "not-applicable" - SummaryStatusInitializing SummaryStatus = "initializing" -) - -// Values returns all known values for SummaryStatus. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SummaryStatus) Values() []SummaryStatus { - return []SummaryStatus{ - "ok", - "impaired", - "insufficient-data", - "not-applicable", - "initializing", - } -} - -type SupportedAdditionalProcessorFeature string - -// Enum values for SupportedAdditionalProcessorFeature -const ( - SupportedAdditionalProcessorFeatureAmdSevSnp SupportedAdditionalProcessorFeature = "amd-sev-snp" -) - -// Values returns all known values for SupportedAdditionalProcessorFeature. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (SupportedAdditionalProcessorFeature) Values() []SupportedAdditionalProcessorFeature { - return []SupportedAdditionalProcessorFeature{ - "amd-sev-snp", - } -} - -type TargetCapacityUnitType string - -// Enum values for TargetCapacityUnitType -const ( - TargetCapacityUnitTypeVcpu TargetCapacityUnitType = "vcpu" - TargetCapacityUnitTypeMemoryMib TargetCapacityUnitType = "memory-mib" - TargetCapacityUnitTypeUnits TargetCapacityUnitType = "units" -) - -// Values returns all known values for TargetCapacityUnitType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TargetCapacityUnitType) Values() []TargetCapacityUnitType { - return []TargetCapacityUnitType{ - "vcpu", - "memory-mib", - "units", - } -} - -type TargetStorageTier string - -// Enum values for TargetStorageTier -const ( - TargetStorageTierArchive TargetStorageTier = "archive" -) - -// Values returns all known values for TargetStorageTier. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TargetStorageTier) Values() []TargetStorageTier { - return []TargetStorageTier{ - "archive", - } -} - -type TelemetryStatus string - -// Enum values for TelemetryStatus -const ( - TelemetryStatusUp TelemetryStatus = "UP" - TelemetryStatusDown TelemetryStatus = "DOWN" -) - -// Values returns all known values for TelemetryStatus. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TelemetryStatus) Values() []TelemetryStatus { - return []TelemetryStatus{ - "UP", - "DOWN", - } -} - -type Tenancy string - -// Enum values for Tenancy -const ( - TenancyDefault Tenancy = "default" - TenancyDedicated Tenancy = "dedicated" - TenancyHost Tenancy = "host" -) - -// Values returns all known values for Tenancy. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (Tenancy) Values() []Tenancy { - return []Tenancy{ - "default", - "dedicated", - "host", - } -} - -type TieringOperationStatus string - -// Enum values for TieringOperationStatus -const ( - TieringOperationStatusArchivalInProgress TieringOperationStatus = "archival-in-progress" - TieringOperationStatusArchivalCompleted TieringOperationStatus = "archival-completed" - TieringOperationStatusArchivalFailed TieringOperationStatus = "archival-failed" - TieringOperationStatusTemporaryRestoreInProgress TieringOperationStatus = "temporary-restore-in-progress" - TieringOperationStatusTemporaryRestoreCompleted TieringOperationStatus = "temporary-restore-completed" - TieringOperationStatusTemporaryRestoreFailed TieringOperationStatus = "temporary-restore-failed" - TieringOperationStatusPermanentRestoreInProgress TieringOperationStatus = "permanent-restore-in-progress" - TieringOperationStatusPermanentRestoreCompleted TieringOperationStatus = "permanent-restore-completed" - TieringOperationStatusPermanentRestoreFailed TieringOperationStatus = "permanent-restore-failed" -) - -// Values returns all known values for TieringOperationStatus. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TieringOperationStatus) Values() []TieringOperationStatus { - return []TieringOperationStatus{ - "archival-in-progress", - "archival-completed", - "archival-failed", - "temporary-restore-in-progress", - "temporary-restore-completed", - "temporary-restore-failed", - "permanent-restore-in-progress", - "permanent-restore-completed", - "permanent-restore-failed", - } -} - -type TokenState string - -// Enum values for TokenState -const ( - TokenStateValid TokenState = "valid" - TokenStateExpired TokenState = "expired" -) - -// Values returns all known values for TokenState. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TokenState) Values() []TokenState { - return []TokenState{ - "valid", - "expired", - } -} - -type TpmSupportValues string - -// Enum values for TpmSupportValues -const ( - TpmSupportValuesV20 TpmSupportValues = "v2.0" -) - -// Values returns all known values for TpmSupportValues. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TpmSupportValues) Values() []TpmSupportValues { - return []TpmSupportValues{ - "v2.0", - } -} - -type TrafficDirection string - -// Enum values for TrafficDirection -const ( - TrafficDirectionIngress TrafficDirection = "ingress" - TrafficDirectionEgress TrafficDirection = "egress" -) - -// Values returns all known values for TrafficDirection. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TrafficDirection) Values() []TrafficDirection { - return []TrafficDirection{ - "ingress", - "egress", - } -} - -type TrafficIpAddressType string - -// Enum values for TrafficIpAddressType -const ( - TrafficIpAddressTypeIpv4 TrafficIpAddressType = "ipv4" - TrafficIpAddressTypeIpv6 TrafficIpAddressType = "ipv6" - TrafficIpAddressTypeDualStack TrafficIpAddressType = "dual-stack" -) - -// Values returns all known values for TrafficIpAddressType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TrafficIpAddressType) Values() []TrafficIpAddressType { - return []TrafficIpAddressType{ - "ipv4", - "ipv6", - "dual-stack", - } -} - -type TrafficMirrorFilterRuleField string - -// Enum values for TrafficMirrorFilterRuleField -const ( - TrafficMirrorFilterRuleFieldDestinationPortRange TrafficMirrorFilterRuleField = "destination-port-range" - TrafficMirrorFilterRuleFieldSourcePortRange TrafficMirrorFilterRuleField = "source-port-range" - TrafficMirrorFilterRuleFieldProtocol TrafficMirrorFilterRuleField = "protocol" - TrafficMirrorFilterRuleFieldDescription TrafficMirrorFilterRuleField = "description" -) - -// Values returns all known values for TrafficMirrorFilterRuleField. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TrafficMirrorFilterRuleField) Values() []TrafficMirrorFilterRuleField { - return []TrafficMirrorFilterRuleField{ - "destination-port-range", - "source-port-range", - "protocol", - "description", - } -} - -type TrafficMirrorNetworkService string - -// Enum values for TrafficMirrorNetworkService -const ( - TrafficMirrorNetworkServiceAmazonDns TrafficMirrorNetworkService = "amazon-dns" -) - -// Values returns all known values for TrafficMirrorNetworkService. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TrafficMirrorNetworkService) Values() []TrafficMirrorNetworkService { - return []TrafficMirrorNetworkService{ - "amazon-dns", - } -} - -type TrafficMirrorRuleAction string - -// Enum values for TrafficMirrorRuleAction -const ( - TrafficMirrorRuleActionAccept TrafficMirrorRuleAction = "accept" - TrafficMirrorRuleActionReject TrafficMirrorRuleAction = "reject" -) - -// Values returns all known values for TrafficMirrorRuleAction. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TrafficMirrorRuleAction) Values() []TrafficMirrorRuleAction { - return []TrafficMirrorRuleAction{ - "accept", - "reject", - } -} - -type TrafficMirrorSessionField string - -// Enum values for TrafficMirrorSessionField -const ( - TrafficMirrorSessionFieldPacketLength TrafficMirrorSessionField = "packet-length" - TrafficMirrorSessionFieldDescription TrafficMirrorSessionField = "description" - TrafficMirrorSessionFieldVirtualNetworkId TrafficMirrorSessionField = "virtual-network-id" -) - -// Values returns all known values for TrafficMirrorSessionField. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TrafficMirrorSessionField) Values() []TrafficMirrorSessionField { - return []TrafficMirrorSessionField{ - "packet-length", - "description", - "virtual-network-id", - } -} - -type TrafficMirrorTargetType string - -// Enum values for TrafficMirrorTargetType -const ( - TrafficMirrorTargetTypeNetworkInterface TrafficMirrorTargetType = "network-interface" - TrafficMirrorTargetTypeNetworkLoadBalancer TrafficMirrorTargetType = "network-load-balancer" - TrafficMirrorTargetTypeGatewayLoadBalancerEndpoint TrafficMirrorTargetType = "gateway-load-balancer-endpoint" -) - -// Values returns all known values for TrafficMirrorTargetType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TrafficMirrorTargetType) Values() []TrafficMirrorTargetType { - return []TrafficMirrorTargetType{ - "network-interface", - "network-load-balancer", - "gateway-load-balancer-endpoint", - } -} - -type TrafficType string - -// Enum values for TrafficType -const ( - TrafficTypeAccept TrafficType = "ACCEPT" - TrafficTypeReject TrafficType = "REJECT" - TrafficTypeAll TrafficType = "ALL" -) - -// Values returns all known values for TrafficType. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TrafficType) Values() []TrafficType { - return []TrafficType{ - "ACCEPT", - "REJECT", - "ALL", - } -} - -type TransferType string - -// Enum values for TransferType -const ( - TransferTypeTimeBased TransferType = "time-based" - TransferTypeStandard TransferType = "standard" -) - -// Values returns all known values for TransferType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransferType) Values() []TransferType { - return []TransferType{ - "time-based", - "standard", - } -} - -type TransitGatewayAssociationState string - -// Enum values for TransitGatewayAssociationState -const ( - TransitGatewayAssociationStateAssociating TransitGatewayAssociationState = "associating" - TransitGatewayAssociationStateAssociated TransitGatewayAssociationState = "associated" - TransitGatewayAssociationStateDisassociating TransitGatewayAssociationState = "disassociating" - TransitGatewayAssociationStateDisassociated TransitGatewayAssociationState = "disassociated" -) - -// Values returns all known values for TransitGatewayAssociationState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransitGatewayAssociationState) Values() []TransitGatewayAssociationState { - return []TransitGatewayAssociationState{ - "associating", - "associated", - "disassociating", - "disassociated", - } -} - -type TransitGatewayAttachmentResourceType string - -// Enum values for TransitGatewayAttachmentResourceType -const ( - TransitGatewayAttachmentResourceTypeVpc TransitGatewayAttachmentResourceType = "vpc" - TransitGatewayAttachmentResourceTypeVpn TransitGatewayAttachmentResourceType = "vpn" - TransitGatewayAttachmentResourceTypeVpnConcentrator TransitGatewayAttachmentResourceType = "vpn-concentrator" - TransitGatewayAttachmentResourceTypeDirectConnectGateway TransitGatewayAttachmentResourceType = "direct-connect-gateway" - TransitGatewayAttachmentResourceTypeConnect TransitGatewayAttachmentResourceType = "connect" - TransitGatewayAttachmentResourceTypePeering TransitGatewayAttachmentResourceType = "peering" - TransitGatewayAttachmentResourceTypeTgwPeering TransitGatewayAttachmentResourceType = "tgw-peering" - TransitGatewayAttachmentResourceTypeNetworkFunction TransitGatewayAttachmentResourceType = "network-function" -) - -// Values returns all known values for TransitGatewayAttachmentResourceType. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransitGatewayAttachmentResourceType) Values() []TransitGatewayAttachmentResourceType { - return []TransitGatewayAttachmentResourceType{ - "vpc", - "vpn", - "vpn-concentrator", - "direct-connect-gateway", - "connect", - "peering", - "tgw-peering", - "network-function", - } -} - -type TransitGatewayAttachmentState string - -// Enum values for TransitGatewayAttachmentState -const ( - TransitGatewayAttachmentStateInitiating TransitGatewayAttachmentState = "initiating" - TransitGatewayAttachmentStateInitiatingRequest TransitGatewayAttachmentState = "initiatingRequest" - TransitGatewayAttachmentStatePendingAcceptance TransitGatewayAttachmentState = "pendingAcceptance" - TransitGatewayAttachmentStateRollingBack TransitGatewayAttachmentState = "rollingBack" - TransitGatewayAttachmentStatePending TransitGatewayAttachmentState = "pending" - TransitGatewayAttachmentStateAvailable TransitGatewayAttachmentState = "available" - TransitGatewayAttachmentStateModifying TransitGatewayAttachmentState = "modifying" - TransitGatewayAttachmentStateDeleting TransitGatewayAttachmentState = "deleting" - TransitGatewayAttachmentStateDeleted TransitGatewayAttachmentState = "deleted" - TransitGatewayAttachmentStateFailed TransitGatewayAttachmentState = "failed" - TransitGatewayAttachmentStateRejected TransitGatewayAttachmentState = "rejected" - TransitGatewayAttachmentStateRejecting TransitGatewayAttachmentState = "rejecting" - TransitGatewayAttachmentStateFailing TransitGatewayAttachmentState = "failing" -) - -// Values returns all known values for TransitGatewayAttachmentState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransitGatewayAttachmentState) Values() []TransitGatewayAttachmentState { - return []TransitGatewayAttachmentState{ - "initiating", - "initiatingRequest", - "pendingAcceptance", - "rollingBack", - "pending", - "available", - "modifying", - "deleting", - "deleted", - "failed", - "rejected", - "rejecting", - "failing", - } -} - -type TransitGatewayConnectPeerState string - -// Enum values for TransitGatewayConnectPeerState -const ( - TransitGatewayConnectPeerStatePending TransitGatewayConnectPeerState = "pending" - TransitGatewayConnectPeerStateAvailable TransitGatewayConnectPeerState = "available" - TransitGatewayConnectPeerStateDeleting TransitGatewayConnectPeerState = "deleting" - TransitGatewayConnectPeerStateDeleted TransitGatewayConnectPeerState = "deleted" -) - -// Values returns all known values for TransitGatewayConnectPeerState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransitGatewayConnectPeerState) Values() []TransitGatewayConnectPeerState { - return []TransitGatewayConnectPeerState{ - "pending", - "available", - "deleting", - "deleted", - } -} - -type TransitGatewayMeteringPayerType string - -// Enum values for TransitGatewayMeteringPayerType -const ( - TransitGatewayMeteringPayerTypeSourceAttachmentOwner TransitGatewayMeteringPayerType = "source-attachment-owner" - TransitGatewayMeteringPayerTypeDestinationAttachmentOwner TransitGatewayMeteringPayerType = "destination-attachment-owner" - TransitGatewayMeteringPayerTypeTransitGatewayOwner TransitGatewayMeteringPayerType = "transit-gateway-owner" -) - -// Values returns all known values for TransitGatewayMeteringPayerType. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransitGatewayMeteringPayerType) Values() []TransitGatewayMeteringPayerType { - return []TransitGatewayMeteringPayerType{ - "source-attachment-owner", - "destination-attachment-owner", - "transit-gateway-owner", - } -} - -type TransitGatewayMeteringPolicyEntryState string - -// Enum values for TransitGatewayMeteringPolicyEntryState -const ( - TransitGatewayMeteringPolicyEntryStateAvailable TransitGatewayMeteringPolicyEntryState = "available" - TransitGatewayMeteringPolicyEntryStateDeleted TransitGatewayMeteringPolicyEntryState = "deleted" -) - -// Values returns all known values for TransitGatewayMeteringPolicyEntryState. -// Note that this can be expanded in the future, and so it is only as up to date as -// the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransitGatewayMeteringPolicyEntryState) Values() []TransitGatewayMeteringPolicyEntryState { - return []TransitGatewayMeteringPolicyEntryState{ - "available", - "deleted", - } -} - -type TransitGatewayMeteringPolicyState string - -// Enum values for TransitGatewayMeteringPolicyState -const ( - TransitGatewayMeteringPolicyStateAvailable TransitGatewayMeteringPolicyState = "available" - TransitGatewayMeteringPolicyStateDeleted TransitGatewayMeteringPolicyState = "deleted" - TransitGatewayMeteringPolicyStatePending TransitGatewayMeteringPolicyState = "pending" - TransitGatewayMeteringPolicyStateModifying TransitGatewayMeteringPolicyState = "modifying" - TransitGatewayMeteringPolicyStateDeleting TransitGatewayMeteringPolicyState = "deleting" -) - -// Values returns all known values for TransitGatewayMeteringPolicyState. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransitGatewayMeteringPolicyState) Values() []TransitGatewayMeteringPolicyState { - return []TransitGatewayMeteringPolicyState{ - "available", - "deleted", - "pending", - "modifying", - "deleting", - } -} - -type TransitGatewayMulitcastDomainAssociationState string - -// Enum values for TransitGatewayMulitcastDomainAssociationState -const ( - TransitGatewayMulitcastDomainAssociationStatePendingAcceptance TransitGatewayMulitcastDomainAssociationState = "pendingAcceptance" - TransitGatewayMulitcastDomainAssociationStateAssociating TransitGatewayMulitcastDomainAssociationState = "associating" - TransitGatewayMulitcastDomainAssociationStateAssociated TransitGatewayMulitcastDomainAssociationState = "associated" - TransitGatewayMulitcastDomainAssociationStateDisassociating TransitGatewayMulitcastDomainAssociationState = "disassociating" - TransitGatewayMulitcastDomainAssociationStateDisassociated TransitGatewayMulitcastDomainAssociationState = "disassociated" - TransitGatewayMulitcastDomainAssociationStateRejected TransitGatewayMulitcastDomainAssociationState = "rejected" - TransitGatewayMulitcastDomainAssociationStateFailed TransitGatewayMulitcastDomainAssociationState = "failed" -) - -// Values returns all known values for -// TransitGatewayMulitcastDomainAssociationState. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransitGatewayMulitcastDomainAssociationState) Values() []TransitGatewayMulitcastDomainAssociationState { - return []TransitGatewayMulitcastDomainAssociationState{ - "pendingAcceptance", - "associating", - "associated", - "disassociating", - "disassociated", - "rejected", - "failed", - } -} - -type TransitGatewayMulticastDomainState string - -// Enum values for TransitGatewayMulticastDomainState -const ( - TransitGatewayMulticastDomainStatePending TransitGatewayMulticastDomainState = "pending" - TransitGatewayMulticastDomainStateAvailable TransitGatewayMulticastDomainState = "available" - TransitGatewayMulticastDomainStateDeleting TransitGatewayMulticastDomainState = "deleting" - TransitGatewayMulticastDomainStateDeleted TransitGatewayMulticastDomainState = "deleted" -) - -// Values returns all known values for TransitGatewayMulticastDomainState. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransitGatewayMulticastDomainState) Values() []TransitGatewayMulticastDomainState { - return []TransitGatewayMulticastDomainState{ - "pending", - "available", - "deleting", - "deleted", - } -} - -type TransitGatewayPolicyTableState string - -// Enum values for TransitGatewayPolicyTableState -const ( - TransitGatewayPolicyTableStatePending TransitGatewayPolicyTableState = "pending" - TransitGatewayPolicyTableStateAvailable TransitGatewayPolicyTableState = "available" - TransitGatewayPolicyTableStateDeleting TransitGatewayPolicyTableState = "deleting" - TransitGatewayPolicyTableStateDeleted TransitGatewayPolicyTableState = "deleted" -) - -// Values returns all known values for TransitGatewayPolicyTableState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransitGatewayPolicyTableState) Values() []TransitGatewayPolicyTableState { - return []TransitGatewayPolicyTableState{ - "pending", - "available", - "deleting", - "deleted", - } -} - -type TransitGatewayPrefixListReferenceState string - -// Enum values for TransitGatewayPrefixListReferenceState -const ( - TransitGatewayPrefixListReferenceStatePending TransitGatewayPrefixListReferenceState = "pending" - TransitGatewayPrefixListReferenceStateAvailable TransitGatewayPrefixListReferenceState = "available" - TransitGatewayPrefixListReferenceStateModifying TransitGatewayPrefixListReferenceState = "modifying" - TransitGatewayPrefixListReferenceStateDeleting TransitGatewayPrefixListReferenceState = "deleting" -) - -// Values returns all known values for TransitGatewayPrefixListReferenceState. -// Note that this can be expanded in the future, and so it is only as up to date as -// the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransitGatewayPrefixListReferenceState) Values() []TransitGatewayPrefixListReferenceState { - return []TransitGatewayPrefixListReferenceState{ - "pending", - "available", - "modifying", - "deleting", - } -} - -type TransitGatewayPropagationState string - -// Enum values for TransitGatewayPropagationState -const ( - TransitGatewayPropagationStateEnabling TransitGatewayPropagationState = "enabling" - TransitGatewayPropagationStateEnabled TransitGatewayPropagationState = "enabled" - TransitGatewayPropagationStateDisabling TransitGatewayPropagationState = "disabling" - TransitGatewayPropagationStateDisabled TransitGatewayPropagationState = "disabled" -) - -// Values returns all known values for TransitGatewayPropagationState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransitGatewayPropagationState) Values() []TransitGatewayPropagationState { - return []TransitGatewayPropagationState{ - "enabling", - "enabled", - "disabling", - "disabled", - } -} - -type TransitGatewayRouteState string - -// Enum values for TransitGatewayRouteState -const ( - TransitGatewayRouteStatePending TransitGatewayRouteState = "pending" - TransitGatewayRouteStateActive TransitGatewayRouteState = "active" - TransitGatewayRouteStateBlackhole TransitGatewayRouteState = "blackhole" - TransitGatewayRouteStateDeleting TransitGatewayRouteState = "deleting" - TransitGatewayRouteStateDeleted TransitGatewayRouteState = "deleted" -) - -// Values returns all known values for TransitGatewayRouteState. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransitGatewayRouteState) Values() []TransitGatewayRouteState { - return []TransitGatewayRouteState{ - "pending", - "active", - "blackhole", - "deleting", - "deleted", - } -} - -type TransitGatewayRouteTableAnnouncementDirection string - -// Enum values for TransitGatewayRouteTableAnnouncementDirection -const ( - TransitGatewayRouteTableAnnouncementDirectionOutgoing TransitGatewayRouteTableAnnouncementDirection = "outgoing" - TransitGatewayRouteTableAnnouncementDirectionIncoming TransitGatewayRouteTableAnnouncementDirection = "incoming" -) - -// Values returns all known values for -// TransitGatewayRouteTableAnnouncementDirection. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransitGatewayRouteTableAnnouncementDirection) Values() []TransitGatewayRouteTableAnnouncementDirection { - return []TransitGatewayRouteTableAnnouncementDirection{ - "outgoing", - "incoming", - } -} - -type TransitGatewayRouteTableAnnouncementState string - -// Enum values for TransitGatewayRouteTableAnnouncementState -const ( - TransitGatewayRouteTableAnnouncementStateAvailable TransitGatewayRouteTableAnnouncementState = "available" - TransitGatewayRouteTableAnnouncementStatePending TransitGatewayRouteTableAnnouncementState = "pending" - TransitGatewayRouteTableAnnouncementStateFailing TransitGatewayRouteTableAnnouncementState = "failing" - TransitGatewayRouteTableAnnouncementStateFailed TransitGatewayRouteTableAnnouncementState = "failed" - TransitGatewayRouteTableAnnouncementStateDeleting TransitGatewayRouteTableAnnouncementState = "deleting" - TransitGatewayRouteTableAnnouncementStateDeleted TransitGatewayRouteTableAnnouncementState = "deleted" -) - -// Values returns all known values for TransitGatewayRouteTableAnnouncementState. -// Note that this can be expanded in the future, and so it is only as up to date as -// the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransitGatewayRouteTableAnnouncementState) Values() []TransitGatewayRouteTableAnnouncementState { - return []TransitGatewayRouteTableAnnouncementState{ - "available", - "pending", - "failing", - "failed", - "deleting", - "deleted", - } -} - -type TransitGatewayRouteTableState string - -// Enum values for TransitGatewayRouteTableState -const ( - TransitGatewayRouteTableStatePending TransitGatewayRouteTableState = "pending" - TransitGatewayRouteTableStateAvailable TransitGatewayRouteTableState = "available" - TransitGatewayRouteTableStateDeleting TransitGatewayRouteTableState = "deleting" - TransitGatewayRouteTableStateDeleted TransitGatewayRouteTableState = "deleted" -) - -// Values returns all known values for TransitGatewayRouteTableState. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransitGatewayRouteTableState) Values() []TransitGatewayRouteTableState { - return []TransitGatewayRouteTableState{ - "pending", - "available", - "deleting", - "deleted", - } -} - -type TransitGatewayRouteType string - -// Enum values for TransitGatewayRouteType -const ( - TransitGatewayRouteTypeStatic TransitGatewayRouteType = "static" - TransitGatewayRouteTypePropagated TransitGatewayRouteType = "propagated" -) - -// Values returns all known values for TransitGatewayRouteType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransitGatewayRouteType) Values() []TransitGatewayRouteType { - return []TransitGatewayRouteType{ - "static", - "propagated", - } -} - -type TransitGatewayState string - -// Enum values for TransitGatewayState -const ( - TransitGatewayStatePending TransitGatewayState = "pending" - TransitGatewayStateAvailable TransitGatewayState = "available" - TransitGatewayStateModifying TransitGatewayState = "modifying" - TransitGatewayStateDeleting TransitGatewayState = "deleting" - TransitGatewayStateDeleted TransitGatewayState = "deleted" -) - -// Values returns all known values for TransitGatewayState. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransitGatewayState) Values() []TransitGatewayState { - return []TransitGatewayState{ - "pending", - "available", - "modifying", - "deleting", - "deleted", - } -} - -type TransportProtocol string - -// Enum values for TransportProtocol -const ( - TransportProtocolTcp TransportProtocol = "tcp" - TransportProtocolUdp TransportProtocol = "udp" -) - -// Values returns all known values for TransportProtocol. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TransportProtocol) Values() []TransportProtocol { - return []TransportProtocol{ - "tcp", - "udp", - } -} - -type TrustProviderType string - -// Enum values for TrustProviderType -const ( - TrustProviderTypeUser TrustProviderType = "user" - TrustProviderTypeDevice TrustProviderType = "device" -) - -// Values returns all known values for TrustProviderType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TrustProviderType) Values() []TrustProviderType { - return []TrustProviderType{ - "user", - "device", - } -} - -type TunnelInsideIpVersion string - -// Enum values for TunnelInsideIpVersion -const ( - TunnelInsideIpVersionIpv4 TunnelInsideIpVersion = "ipv4" - TunnelInsideIpVersionIpv6 TunnelInsideIpVersion = "ipv6" -) - -// Values returns all known values for TunnelInsideIpVersion. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (TunnelInsideIpVersion) Values() []TunnelInsideIpVersion { - return []TunnelInsideIpVersion{ - "ipv4", - "ipv6", - } -} - -type UnlimitedSupportedInstanceFamily string - -// Enum values for UnlimitedSupportedInstanceFamily -const ( - UnlimitedSupportedInstanceFamilyT2 UnlimitedSupportedInstanceFamily = "t2" - UnlimitedSupportedInstanceFamilyT3 UnlimitedSupportedInstanceFamily = "t3" - UnlimitedSupportedInstanceFamilyT3a UnlimitedSupportedInstanceFamily = "t3a" - UnlimitedSupportedInstanceFamilyT4g UnlimitedSupportedInstanceFamily = "t4g" -) - -// Values returns all known values for UnlimitedSupportedInstanceFamily. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (UnlimitedSupportedInstanceFamily) Values() []UnlimitedSupportedInstanceFamily { - return []UnlimitedSupportedInstanceFamily{ - "t2", - "t3", - "t3a", - "t4g", - } -} - -type UnsuccessfulInstanceCreditSpecificationErrorCode string - -// Enum values for UnsuccessfulInstanceCreditSpecificationErrorCode -const ( - UnsuccessfulInstanceCreditSpecificationErrorCodeInvalidInstanceId UnsuccessfulInstanceCreditSpecificationErrorCode = "InvalidInstanceID.Malformed" - UnsuccessfulInstanceCreditSpecificationErrorCodeInstanceNotFound UnsuccessfulInstanceCreditSpecificationErrorCode = "InvalidInstanceID.NotFound" - UnsuccessfulInstanceCreditSpecificationErrorCodeIncorrectInstanceState UnsuccessfulInstanceCreditSpecificationErrorCode = "IncorrectInstanceState" - UnsuccessfulInstanceCreditSpecificationErrorCodeInstanceCreditSpecificationNotSupported UnsuccessfulInstanceCreditSpecificationErrorCode = "InstanceCreditSpecification.NotSupported" -) - -// Values returns all known values for -// UnsuccessfulInstanceCreditSpecificationErrorCode. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (UnsuccessfulInstanceCreditSpecificationErrorCode) Values() []UnsuccessfulInstanceCreditSpecificationErrorCode { - return []UnsuccessfulInstanceCreditSpecificationErrorCode{ - "InvalidInstanceID.Malformed", - "InvalidInstanceID.NotFound", - "IncorrectInstanceState", - "InstanceCreditSpecification.NotSupported", - } -} - -type UsageClassType string - -// Enum values for UsageClassType -const ( - UsageClassTypeSpot UsageClassType = "spot" - UsageClassTypeOnDemand UsageClassType = "on-demand" - UsageClassTypeCapacityBlock UsageClassType = "capacity-block" -) - -// Values returns all known values for UsageClassType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (UsageClassType) Values() []UsageClassType { - return []UsageClassType{ - "spot", - "on-demand", - "capacity-block", - } -} - -type UserTrustProviderType string - -// Enum values for UserTrustProviderType -const ( - UserTrustProviderTypeIamIdentityCenter UserTrustProviderType = "iam-identity-center" - UserTrustProviderTypeOidc UserTrustProviderType = "oidc" -) - -// Values returns all known values for UserTrustProviderType. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (UserTrustProviderType) Values() []UserTrustProviderType { - return []UserTrustProviderType{ - "iam-identity-center", - "oidc", - } -} - -type VerificationMethod string - -// Enum values for VerificationMethod -const ( - VerificationMethodRemarksX509 VerificationMethod = "remarks-x509" - VerificationMethodDnsToken VerificationMethod = "dns-token" -) - -// Values returns all known values for VerificationMethod. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VerificationMethod) Values() []VerificationMethod { - return []VerificationMethod{ - "remarks-x509", - "dns-token", - } -} - -type VerifiedAccessEndpointAttachmentType string - -// Enum values for VerifiedAccessEndpointAttachmentType -const ( - VerifiedAccessEndpointAttachmentTypeVpc VerifiedAccessEndpointAttachmentType = "vpc" -) - -// Values returns all known values for VerifiedAccessEndpointAttachmentType. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VerifiedAccessEndpointAttachmentType) Values() []VerifiedAccessEndpointAttachmentType { - return []VerifiedAccessEndpointAttachmentType{ - "vpc", - } -} - -type VerifiedAccessEndpointProtocol string - -// Enum values for VerifiedAccessEndpointProtocol -const ( - VerifiedAccessEndpointProtocolHttp VerifiedAccessEndpointProtocol = "http" - VerifiedAccessEndpointProtocolHttps VerifiedAccessEndpointProtocol = "https" - VerifiedAccessEndpointProtocolTcp VerifiedAccessEndpointProtocol = "tcp" -) - -// Values returns all known values for VerifiedAccessEndpointProtocol. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VerifiedAccessEndpointProtocol) Values() []VerifiedAccessEndpointProtocol { - return []VerifiedAccessEndpointProtocol{ - "http", - "https", - "tcp", - } -} - -type VerifiedAccessEndpointStatusCode string - -// Enum values for VerifiedAccessEndpointStatusCode -const ( - VerifiedAccessEndpointStatusCodePending VerifiedAccessEndpointStatusCode = "pending" - VerifiedAccessEndpointStatusCodeActive VerifiedAccessEndpointStatusCode = "active" - VerifiedAccessEndpointStatusCodeUpdating VerifiedAccessEndpointStatusCode = "updating" - VerifiedAccessEndpointStatusCodeDeleting VerifiedAccessEndpointStatusCode = "deleting" - VerifiedAccessEndpointStatusCodeDeleted VerifiedAccessEndpointStatusCode = "deleted" -) - -// Values returns all known values for VerifiedAccessEndpointStatusCode. Note that -// this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VerifiedAccessEndpointStatusCode) Values() []VerifiedAccessEndpointStatusCode { - return []VerifiedAccessEndpointStatusCode{ - "pending", - "active", - "updating", - "deleting", - "deleted", - } -} - -type VerifiedAccessEndpointType string - -// Enum values for VerifiedAccessEndpointType -const ( - VerifiedAccessEndpointTypeLoadBalancer VerifiedAccessEndpointType = "load-balancer" - VerifiedAccessEndpointTypeNetworkInterface VerifiedAccessEndpointType = "network-interface" - VerifiedAccessEndpointTypeRds VerifiedAccessEndpointType = "rds" - VerifiedAccessEndpointTypeCidr VerifiedAccessEndpointType = "cidr" -) - -// Values returns all known values for VerifiedAccessEndpointType. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VerifiedAccessEndpointType) Values() []VerifiedAccessEndpointType { - return []VerifiedAccessEndpointType{ - "load-balancer", - "network-interface", - "rds", - "cidr", - } -} - -type VerifiedAccessLogDeliveryStatusCode string - -// Enum values for VerifiedAccessLogDeliveryStatusCode -const ( - VerifiedAccessLogDeliveryStatusCodeSuccess VerifiedAccessLogDeliveryStatusCode = "success" - VerifiedAccessLogDeliveryStatusCodeFailed VerifiedAccessLogDeliveryStatusCode = "failed" -) - -// Values returns all known values for VerifiedAccessLogDeliveryStatusCode. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VerifiedAccessLogDeliveryStatusCode) Values() []VerifiedAccessLogDeliveryStatusCode { - return []VerifiedAccessLogDeliveryStatusCode{ - "success", - "failed", - } -} - -type VirtualizationType string - -// Enum values for VirtualizationType -const ( - VirtualizationTypeHvm VirtualizationType = "hvm" - VirtualizationTypeParavirtual VirtualizationType = "paravirtual" -) - -// Values returns all known values for VirtualizationType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VirtualizationType) Values() []VirtualizationType { - return []VirtualizationType{ - "hvm", - "paravirtual", - } -} - -type VolumeAttachmentState string - -// Enum values for VolumeAttachmentState -const ( - VolumeAttachmentStateAttaching VolumeAttachmentState = "attaching" - VolumeAttachmentStateAttached VolumeAttachmentState = "attached" - VolumeAttachmentStateDetaching VolumeAttachmentState = "detaching" - VolumeAttachmentStateDetached VolumeAttachmentState = "detached" - VolumeAttachmentStateBusy VolumeAttachmentState = "busy" -) - -// Values returns all known values for VolumeAttachmentState. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VolumeAttachmentState) Values() []VolumeAttachmentState { - return []VolumeAttachmentState{ - "attaching", - "attached", - "detaching", - "detached", - "busy", - } -} - -type VolumeAttributeName string - -// Enum values for VolumeAttributeName -const ( - VolumeAttributeNameAutoEnableIO VolumeAttributeName = "autoEnableIO" - VolumeAttributeNameProductCodes VolumeAttributeName = "productCodes" -) - -// Values returns all known values for VolumeAttributeName. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VolumeAttributeName) Values() []VolumeAttributeName { - return []VolumeAttributeName{ - "autoEnableIO", - "productCodes", - } -} - -type VolumeModificationState string - -// Enum values for VolumeModificationState -const ( - VolumeModificationStateModifying VolumeModificationState = "modifying" - VolumeModificationStateOptimizing VolumeModificationState = "optimizing" - VolumeModificationStateCompleted VolumeModificationState = "completed" - VolumeModificationStateFailed VolumeModificationState = "failed" -) - -// Values returns all known values for VolumeModificationState. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VolumeModificationState) Values() []VolumeModificationState { - return []VolumeModificationState{ - "modifying", - "optimizing", - "completed", - "failed", - } -} - -type VolumeState string - -// Enum values for VolumeState -const ( - VolumeStateCreating VolumeState = "creating" - VolumeStateAvailable VolumeState = "available" - VolumeStateInUse VolumeState = "in-use" - VolumeStateDeleting VolumeState = "deleting" - VolumeStateDeleted VolumeState = "deleted" - VolumeStateError VolumeState = "error" -) - -// Values returns all known values for VolumeState. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VolumeState) Values() []VolumeState { - return []VolumeState{ - "creating", - "available", - "in-use", - "deleting", - "deleted", - "error", - } -} - -type VolumeStatusInfoStatus string - -// Enum values for VolumeStatusInfoStatus -const ( - VolumeStatusInfoStatusOk VolumeStatusInfoStatus = "ok" - VolumeStatusInfoStatusImpaired VolumeStatusInfoStatus = "impaired" - VolumeStatusInfoStatusInsufficientData VolumeStatusInfoStatus = "insufficient-data" - VolumeStatusInfoStatusWarning VolumeStatusInfoStatus = "warning" -) - -// Values returns all known values for VolumeStatusInfoStatus. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VolumeStatusInfoStatus) Values() []VolumeStatusInfoStatus { - return []VolumeStatusInfoStatus{ - "ok", - "impaired", - "insufficient-data", - "warning", - } -} - -type VolumeStatusName string - -// Enum values for VolumeStatusName -const ( - VolumeStatusNameIoEnabled VolumeStatusName = "io-enabled" - VolumeStatusNameIoPerformance VolumeStatusName = "io-performance" - VolumeStatusNameInitializationState VolumeStatusName = "initialization-state" -) - -// Values returns all known values for VolumeStatusName. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VolumeStatusName) Values() []VolumeStatusName { - return []VolumeStatusName{ - "io-enabled", - "io-performance", - "initialization-state", - } -} - -type VolumeType string - -// Enum values for VolumeType -const ( - VolumeTypeStandard VolumeType = "standard" - VolumeTypeIo1 VolumeType = "io1" - VolumeTypeIo2 VolumeType = "io2" - VolumeTypeGp2 VolumeType = "gp2" - VolumeTypeSc1 VolumeType = "sc1" - VolumeTypeSt1 VolumeType = "st1" - VolumeTypeGp3 VolumeType = "gp3" -) - -// Values returns all known values for VolumeType. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VolumeType) Values() []VolumeType { - return []VolumeType{ - "standard", - "io1", - "io2", - "gp2", - "sc1", - "st1", - "gp3", - } -} - -type VpcAttributeName string - -// Enum values for VpcAttributeName -const ( - VpcAttributeNameEnableDnsSupport VpcAttributeName = "enableDnsSupport" - VpcAttributeNameEnableDnsHostnames VpcAttributeName = "enableDnsHostnames" - VpcAttributeNameEnableNetworkAddressUsageMetrics VpcAttributeName = "enableNetworkAddressUsageMetrics" -) - -// Values returns all known values for VpcAttributeName. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpcAttributeName) Values() []VpcAttributeName { - return []VpcAttributeName{ - "enableDnsSupport", - "enableDnsHostnames", - "enableNetworkAddressUsageMetrics", - } -} - -type VpcBlockPublicAccessExclusionsAllowed string - -// Enum values for VpcBlockPublicAccessExclusionsAllowed -const ( - VpcBlockPublicAccessExclusionsAllowedAllowed VpcBlockPublicAccessExclusionsAllowed = "allowed" - VpcBlockPublicAccessExclusionsAllowedNotAllowed VpcBlockPublicAccessExclusionsAllowed = "not-allowed" -) - -// Values returns all known values for VpcBlockPublicAccessExclusionsAllowed. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpcBlockPublicAccessExclusionsAllowed) Values() []VpcBlockPublicAccessExclusionsAllowed { - return []VpcBlockPublicAccessExclusionsAllowed{ - "allowed", - "not-allowed", - } -} - -type VpcBlockPublicAccessExclusionState string - -// Enum values for VpcBlockPublicAccessExclusionState -const ( - VpcBlockPublicAccessExclusionStateCreateInProgress VpcBlockPublicAccessExclusionState = "create-in-progress" - VpcBlockPublicAccessExclusionStateCreateComplete VpcBlockPublicAccessExclusionState = "create-complete" - VpcBlockPublicAccessExclusionStateCreateFailed VpcBlockPublicAccessExclusionState = "create-failed" - VpcBlockPublicAccessExclusionStateUpdateInProgress VpcBlockPublicAccessExclusionState = "update-in-progress" - VpcBlockPublicAccessExclusionStateUpdateComplete VpcBlockPublicAccessExclusionState = "update-complete" - VpcBlockPublicAccessExclusionStateUpdateFailed VpcBlockPublicAccessExclusionState = "update-failed" - VpcBlockPublicAccessExclusionStateDeleteInProgress VpcBlockPublicAccessExclusionState = "delete-in-progress" - VpcBlockPublicAccessExclusionStateDeleteComplete VpcBlockPublicAccessExclusionState = "delete-complete" - VpcBlockPublicAccessExclusionStateDisableInProgress VpcBlockPublicAccessExclusionState = "disable-in-progress" - VpcBlockPublicAccessExclusionStateDisableComplete VpcBlockPublicAccessExclusionState = "disable-complete" -) - -// Values returns all known values for VpcBlockPublicAccessExclusionState. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpcBlockPublicAccessExclusionState) Values() []VpcBlockPublicAccessExclusionState { - return []VpcBlockPublicAccessExclusionState{ - "create-in-progress", - "create-complete", - "create-failed", - "update-in-progress", - "update-complete", - "update-failed", - "delete-in-progress", - "delete-complete", - "disable-in-progress", - "disable-complete", - } -} - -type VpcBlockPublicAccessState string - -// Enum values for VpcBlockPublicAccessState -const ( - VpcBlockPublicAccessStateDefaultState VpcBlockPublicAccessState = "default-state" - VpcBlockPublicAccessStateUpdateInProgress VpcBlockPublicAccessState = "update-in-progress" - VpcBlockPublicAccessStateUpdateComplete VpcBlockPublicAccessState = "update-complete" -) - -// Values returns all known values for VpcBlockPublicAccessState. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpcBlockPublicAccessState) Values() []VpcBlockPublicAccessState { - return []VpcBlockPublicAccessState{ - "default-state", - "update-in-progress", - "update-complete", - } -} - -type VpcCidrBlockStateCode string - -// Enum values for VpcCidrBlockStateCode -const ( - VpcCidrBlockStateCodeAssociating VpcCidrBlockStateCode = "associating" - VpcCidrBlockStateCodeAssociated VpcCidrBlockStateCode = "associated" - VpcCidrBlockStateCodeDisassociating VpcCidrBlockStateCode = "disassociating" - VpcCidrBlockStateCodeDisassociated VpcCidrBlockStateCode = "disassociated" - VpcCidrBlockStateCodeFailing VpcCidrBlockStateCode = "failing" - VpcCidrBlockStateCodeFailed VpcCidrBlockStateCode = "failed" -) - -// Values returns all known values for VpcCidrBlockStateCode. Note that this can -// be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpcCidrBlockStateCode) Values() []VpcCidrBlockStateCode { - return []VpcCidrBlockStateCode{ - "associating", - "associated", - "disassociating", - "disassociated", - "failing", - "failed", - } -} - -type VpcEncryptionControlExclusionState string - -// Enum values for VpcEncryptionControlExclusionState -const ( - VpcEncryptionControlExclusionStateEnabling VpcEncryptionControlExclusionState = "enabling" - VpcEncryptionControlExclusionStateEnabled VpcEncryptionControlExclusionState = "enabled" - VpcEncryptionControlExclusionStateDisabling VpcEncryptionControlExclusionState = "disabling" - VpcEncryptionControlExclusionStateDisabled VpcEncryptionControlExclusionState = "disabled" -) - -// Values returns all known values for VpcEncryptionControlExclusionState. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpcEncryptionControlExclusionState) Values() []VpcEncryptionControlExclusionState { - return []VpcEncryptionControlExclusionState{ - "enabling", - "enabled", - "disabling", - "disabled", - } -} - -type VpcEncryptionControlExclusionStateInput string - -// Enum values for VpcEncryptionControlExclusionStateInput -const ( - VpcEncryptionControlExclusionStateInputEnable VpcEncryptionControlExclusionStateInput = "enable" - VpcEncryptionControlExclusionStateInputDisable VpcEncryptionControlExclusionStateInput = "disable" -) - -// Values returns all known values for VpcEncryptionControlExclusionStateInput. -// Note that this can be expanded in the future, and so it is only as up to date as -// the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpcEncryptionControlExclusionStateInput) Values() []VpcEncryptionControlExclusionStateInput { - return []VpcEncryptionControlExclusionStateInput{ - "enable", - "disable", - } -} - -type VpcEncryptionControlMode string - -// Enum values for VpcEncryptionControlMode -const ( - VpcEncryptionControlModeMonitor VpcEncryptionControlMode = "monitor" - VpcEncryptionControlModeEnforce VpcEncryptionControlMode = "enforce" -) - -// Values returns all known values for VpcEncryptionControlMode. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpcEncryptionControlMode) Values() []VpcEncryptionControlMode { - return []VpcEncryptionControlMode{ - "monitor", - "enforce", - } -} - -type VpcEncryptionControlState string - -// Enum values for VpcEncryptionControlState -const ( - VpcEncryptionControlStateEnforceInProgress VpcEncryptionControlState = "enforce-in-progress" - VpcEncryptionControlStateMonitorInProgress VpcEncryptionControlState = "monitor-in-progress" - VpcEncryptionControlStateEnforceFailed VpcEncryptionControlState = "enforce-failed" - VpcEncryptionControlStateMonitorFailed VpcEncryptionControlState = "monitor-failed" - VpcEncryptionControlStateDeleting VpcEncryptionControlState = "deleting" - VpcEncryptionControlStateDeleted VpcEncryptionControlState = "deleted" - VpcEncryptionControlStateAvailable VpcEncryptionControlState = "available" - VpcEncryptionControlStateCreating VpcEncryptionControlState = "creating" - VpcEncryptionControlStateDeleteFailed VpcEncryptionControlState = "delete-failed" -) - -// Values returns all known values for VpcEncryptionControlState. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpcEncryptionControlState) Values() []VpcEncryptionControlState { - return []VpcEncryptionControlState{ - "enforce-in-progress", - "monitor-in-progress", - "enforce-failed", - "monitor-failed", - "deleting", - "deleted", - "available", - "creating", - "delete-failed", - } -} - -type VpcEndpointType string - -// Enum values for VpcEndpointType -const ( - VpcEndpointTypeInterface VpcEndpointType = "Interface" - VpcEndpointTypeGateway VpcEndpointType = "Gateway" - VpcEndpointTypeGatewayLoadBalancer VpcEndpointType = "GatewayLoadBalancer" - VpcEndpointTypeResource VpcEndpointType = "Resource" - VpcEndpointTypeServiceNetwork VpcEndpointType = "ServiceNetwork" -) - -// Values returns all known values for VpcEndpointType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpcEndpointType) Values() []VpcEndpointType { - return []VpcEndpointType{ - "Interface", - "Gateway", - "GatewayLoadBalancer", - "Resource", - "ServiceNetwork", - } -} - -type VpcPeeringConnectionStateReasonCode string - -// Enum values for VpcPeeringConnectionStateReasonCode -const ( - VpcPeeringConnectionStateReasonCodeInitiatingRequest VpcPeeringConnectionStateReasonCode = "initiating-request" - VpcPeeringConnectionStateReasonCodePendingAcceptance VpcPeeringConnectionStateReasonCode = "pending-acceptance" - VpcPeeringConnectionStateReasonCodeActive VpcPeeringConnectionStateReasonCode = "active" - VpcPeeringConnectionStateReasonCodeDeleted VpcPeeringConnectionStateReasonCode = "deleted" - VpcPeeringConnectionStateReasonCodeRejected VpcPeeringConnectionStateReasonCode = "rejected" - VpcPeeringConnectionStateReasonCodeFailed VpcPeeringConnectionStateReasonCode = "failed" - VpcPeeringConnectionStateReasonCodeExpired VpcPeeringConnectionStateReasonCode = "expired" - VpcPeeringConnectionStateReasonCodeProvisioning VpcPeeringConnectionStateReasonCode = "provisioning" - VpcPeeringConnectionStateReasonCodeDeleting VpcPeeringConnectionStateReasonCode = "deleting" -) - -// Values returns all known values for VpcPeeringConnectionStateReasonCode. Note -// that this can be expanded in the future, and so it is only as up to date as the -// client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpcPeeringConnectionStateReasonCode) Values() []VpcPeeringConnectionStateReasonCode { - return []VpcPeeringConnectionStateReasonCode{ - "initiating-request", - "pending-acceptance", - "active", - "deleted", - "rejected", - "failed", - "expired", - "provisioning", - "deleting", - } -} - -type VpcState string - -// Enum values for VpcState -const ( - VpcStatePending VpcState = "pending" - VpcStateAvailable VpcState = "available" -) - -// Values returns all known values for VpcState. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpcState) Values() []VpcState { - return []VpcState{ - "pending", - "available", - } -} - -type VpcTenancy string - -// Enum values for VpcTenancy -const ( - VpcTenancyDefault VpcTenancy = "default" -) - -// Values returns all known values for VpcTenancy. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpcTenancy) Values() []VpcTenancy { - return []VpcTenancy{ - "default", - } -} - -type VpnConcentratorType string - -// Enum values for VpnConcentratorType -const ( - VpnConcentratorTypeIpsec1 VpnConcentratorType = "ipsec.1" -) - -// Values returns all known values for VpnConcentratorType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpnConcentratorType) Values() []VpnConcentratorType { - return []VpnConcentratorType{ - "ipsec.1", - } -} - -type VpnEcmpSupportValue string - -// Enum values for VpnEcmpSupportValue -const ( - VpnEcmpSupportValueEnable VpnEcmpSupportValue = "enable" - VpnEcmpSupportValueDisable VpnEcmpSupportValue = "disable" -) - -// Values returns all known values for VpnEcmpSupportValue. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpnEcmpSupportValue) Values() []VpnEcmpSupportValue { - return []VpnEcmpSupportValue{ - "enable", - "disable", - } -} - -type VpnProtocol string - -// Enum values for VpnProtocol -const ( - VpnProtocolOpenvpn VpnProtocol = "openvpn" -) - -// Values returns all known values for VpnProtocol. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpnProtocol) Values() []VpnProtocol { - return []VpnProtocol{ - "openvpn", - } -} - -type VpnState string - -// Enum values for VpnState -const ( - VpnStatePending VpnState = "pending" - VpnStateAvailable VpnState = "available" - VpnStateDeleting VpnState = "deleting" - VpnStateDeleted VpnState = "deleted" -) - -// Values returns all known values for VpnState. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpnState) Values() []VpnState { - return []VpnState{ - "pending", - "available", - "deleting", - "deleted", - } -} - -type VpnStaticRouteSource string - -// Enum values for VpnStaticRouteSource -const ( - VpnStaticRouteSourceStatic VpnStaticRouteSource = "Static" -) - -// Values returns all known values for VpnStaticRouteSource. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpnStaticRouteSource) Values() []VpnStaticRouteSource { - return []VpnStaticRouteSource{ - "Static", - } -} - -type VpnTunnelBandwidth string - -// Enum values for VpnTunnelBandwidth -const ( - VpnTunnelBandwidthStandard VpnTunnelBandwidth = "standard" - VpnTunnelBandwidthLarge VpnTunnelBandwidth = "large" -) - -// Values returns all known values for VpnTunnelBandwidth. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpnTunnelBandwidth) Values() []VpnTunnelBandwidth { - return []VpnTunnelBandwidth{ - "standard", - "large", - } -} - -type VpnTunnelProvisioningStatus string - -// Enum values for VpnTunnelProvisioningStatus -const ( - VpnTunnelProvisioningStatusAvailable VpnTunnelProvisioningStatus = "available" - VpnTunnelProvisioningStatusPending VpnTunnelProvisioningStatus = "pending" - VpnTunnelProvisioningStatusFailed VpnTunnelProvisioningStatus = "failed" -) - -// Values returns all known values for VpnTunnelProvisioningStatus. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (VpnTunnelProvisioningStatus) Values() []VpnTunnelProvisioningStatus { - return []VpnTunnelProvisioningStatus{ - "available", - "pending", - "failed", - } -} - -type WeekDay string - -// Enum values for WeekDay -const ( - WeekDaySunday WeekDay = "sunday" - WeekDayMonday WeekDay = "monday" - WeekDayTuesday WeekDay = "tuesday" - WeekDayWednesday WeekDay = "wednesday" - WeekDayThursday WeekDay = "thursday" - WeekDayFriday WeekDay = "friday" - WeekDaySaturday WeekDay = "saturday" -) - -// Values returns all known values for WeekDay. Note that this can be expanded in -// the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (WeekDay) Values() []WeekDay { - return []WeekDay{ - "sunday", - "monday", - "tuesday", - "wednesday", - "thursday", - "friday", - "saturday", - } -} diff --git a/api/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/types.go b/api/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/types.go deleted file mode 100644 index 04c2f06af5e7..000000000000 --- a/api/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/types.go +++ /dev/null @@ -1,25560 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package types - -import ( - smithydocument "github.com/aws/smithy-go/document" - "time" -) - -// The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web -// Services Inferentia chips) on an instance. -type AcceleratorCount struct { - - // The maximum number of accelerators. If this parameter is not specified, there - // is no maximum limit. - Max *int32 - - // The minimum number of accelerators. If this parameter is not specified, there - // is no minimum limit. - Min *int32 - - noSmithyDocumentSerde -} - -// The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web -// Services Inferentia chips) on an instance. To exclude accelerator-enabled -// instance types, set Max to 0 . -type AcceleratorCountRequest struct { - - // The maximum number of accelerators. To specify no maximum limit, omit this - // parameter. To exclude accelerator-enabled instance types, set Max to 0 . - Max *int32 - - // The minimum number of accelerators. To specify no minimum limit, omit this - // parameter. - Min *int32 - - noSmithyDocumentSerde -} - -// The minimum and maximum amount of total accelerator memory, in MiB. -type AcceleratorTotalMemoryMiB struct { - - // The maximum amount of accelerator memory, in MiB. If this parameter is not - // specified, there is no maximum limit. - Max *int32 - - // The minimum amount of accelerator memory, in MiB. If this parameter is not - // specified, there is no minimum limit. - Min *int32 - - noSmithyDocumentSerde -} - -// The minimum and maximum amount of total accelerator memory, in MiB. -type AcceleratorTotalMemoryMiBRequest struct { - - // The maximum amount of accelerator memory, in MiB. To specify no maximum limit, - // omit this parameter. - Max *int32 - - // The minimum amount of accelerator memory, in MiB. To specify no minimum limit, - // omit this parameter. - Min *int32 - - noSmithyDocumentSerde -} - -// Describes a finding for a Network Access Scope. -type AccessScopeAnalysisFinding struct { - - // The finding components. - FindingComponents []PathComponent - - // The ID of the finding. - FindingId *string - - // The ID of the Network Access Scope analysis. - NetworkInsightsAccessScopeAnalysisId *string - - // The ID of the Network Access Scope. - NetworkInsightsAccessScopeId *string - - noSmithyDocumentSerde -} - -// Describes a path. -type AccessScopePath struct { - - // The destination. - Destination *PathStatement - - // The source. - Source *PathStatement - - // The through resources. - ThroughResources []ThroughResourcesStatement - - noSmithyDocumentSerde -} - -// Describes a path. -type AccessScopePathRequest struct { - - // The destination. - Destination *PathStatementRequest - - // The source. - Source *PathStatementRequest - - // The through resources. - ThroughResources []ThroughResourcesStatementRequest - - noSmithyDocumentSerde -} - -// Describes an account attribute. -type AccountAttribute struct { - - // The name of the account attribute. - AttributeName *string - - // The values for the account attribute. - AttributeValues []AccountAttributeValue - - noSmithyDocumentSerde -} - -// Describes a value of an account attribute. -type AccountAttributeValue struct { - - // The value of the attribute. - AttributeValue *string - - noSmithyDocumentSerde -} - -// Describes a running instance in a Spot Fleet. -type ActiveInstance struct { - - // The health status of the instance. If the status of either the instance status - // check or the system status check is impaired , the health status of the instance - // is unhealthy . Otherwise, the health status is healthy . - InstanceHealth InstanceHealthStatus - - // The ID of the instance. - InstanceId *string - - // The instance type. - InstanceType *string - - // The ID of the Spot Instance request. - SpotInstanceRequestId *string - - noSmithyDocumentSerde -} - -// Contains information about the current security configuration of an active VPN -// tunnel. -type ActiveVpnTunnelStatus struct { - - // The version of the Internet Key Exchange (IKE) protocol being used. - IkeVersion *string - - // The Diffie-Hellman group number being used in Phase 1 IKE negotiations. - Phase1DHGroup *int32 - - // The encryption algorithm negotiated in Phase 1 IKE negotiations. - Phase1EncryptionAlgorithm *string - - // The integrity algorithm negotiated in Phase 1 IKE negotiations. - Phase1IntegrityAlgorithm *string - - // The Diffie-Hellman group number being used in Phase 2 IKE negotiations. - Phase2DHGroup *int32 - - // The encryption algorithm negotiated in Phase 2 IKE negotiations. - Phase2EncryptionAlgorithm *string - - // The integrity algorithm negotiated in Phase 2 IKE negotiations. - Phase2IntegrityAlgorithm *string - - // The current provisioning status of the VPN tunnel. - ProvisioningStatus VpnTunnelProvisioningStatus - - // The reason for the current provisioning status. - ProvisioningStatusReason *string - - noSmithyDocumentSerde -} - -// Describes a principal. -type AddedPrincipal struct { - - // The Amazon Resource Name (ARN) of the principal. - Principal *string - - // The type of principal. - PrincipalType PrincipalType - - // The ID of the service. - ServiceId *string - - // The ID of the service permission. - ServicePermissionId *string - - noSmithyDocumentSerde -} - -// Add an operating Region to an IPAM. Operating Regions are Amazon Web Services -// Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only -// discovers and monitors resources in the Amazon Web Services Regions you select -// as operating Regions. -// -// For more information about operating Regions, see [Create an IPAM] in the Amazon VPC IPAM User -// Guide. -// -// [Create an IPAM]: https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html -type AddIpamOperatingRegion struct { - - // The name of the operating Region. - RegionName *string - - noSmithyDocumentSerde -} - -// Add an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is -// integrated with Amazon Web Services Organizations and you add an organizational -// unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that -// OU exclusion. There is a limit on the number of exclusions you can create. For -// more information, see [Quotas for your IPAM]in the Amazon VPC IPAM User Guide. -// -// [Quotas for your IPAM]: https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html -type AddIpamOrganizationalUnitExclusion struct { - - // An Amazon Web Services Organizations entity path. Build the path for the OU(s) - // using Amazon Web Services Organizations IDs separated by a / . Include all child - // OUs by ending the path with /* . - // - // - Example 1 - // - // - Path to a child OU: - // o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/ou-jkl0-awsddddd/ - // - // - In this example, o-a1b2c3d4e5 is the organization ID, r-f6g7h8i9j0example is - // the root ID , ou-ghi0-awsccccc is an OU ID, and ou-jkl0-awsddddd is a child OU - // ID. - // - // - IPAM will not manage the IP addresses in accounts in the child OU. - // - // - Example 2 - // - // - Path where all child OUs will be part of the exclusion: - // o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/* - // - // - In this example, IPAM will not manage the IP addresses in accounts in the - // OU ( ou-ghi0-awsccccc ) or in accounts in any OUs that are children of the OU. - // - // For more information on how to construct an entity path, see [Understand the Amazon Web Services Organizations entity path] in the Amazon Web - // Services Identity and Access Management User Guide. - // - // [Understand the Amazon Web Services Organizations entity path]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_last-accessed-view-data-orgs.html#access_policies_access-advisor-viewing-orgs-entity-path - OrganizationsEntityPath *string - - noSmithyDocumentSerde -} - -// Describes an additional detail for a path analysis. For more information, see [Reachability Analyzer additional detail codes]. -// -// [Reachability Analyzer additional detail codes]: https://docs.aws.amazon.com/vpc/latest/reachability/additional-detail-codes.html -type AdditionalDetail struct { - - // The additional detail code. - AdditionalDetailType *string - - // The path component. - Component *AnalysisComponent - - // The load balancers. - LoadBalancers []AnalysisComponent - - // The rule options. - RuleGroupRuleOptionsPairs []RuleGroupRuleOptionsPair - - // The rule group type. - RuleGroupTypePairs []RuleGroupTypePair - - // The rule options. - RuleOptions []RuleOption - - // The name of the VPC endpoint service. - ServiceName *string - - // The VPC endpoint service. - VpcEndpointService *AnalysisComponent - - noSmithyDocumentSerde -} - -// An entry for a prefix list. -type AddPrefixListEntry struct { - - // The CIDR block. - // - // This member is required. - Cidr *string - - // A description for the entry. - // - // Constraints: Up to 255 characters in length. - Description *string - - noSmithyDocumentSerde -} - -// Describes an Elastic IP address, or a carrier IP address. -type Address struct { - - // The ID representing the allocation of the address. - AllocationId *string - - // The ID representing the association of the address with an instance. - AssociationId *string - - // The carrier IP address associated. This option is only available for network - // interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 - // instance). - CarrierIp *string - - // The customer-owned IP address. - CustomerOwnedIp *string - - // The ID of the customer-owned address pool. - CustomerOwnedIpv4Pool *string - - // The network ( vpc ). - Domain DomainType - - // The ID of the instance that the address is associated with (if any). - InstanceId *string - - // The name of the unique set of Availability Zones, Local Zones, or Wavelength - // Zones from which Amazon Web Services advertises IP addresses. - NetworkBorderGroup *string - - // The ID of the network interface. - NetworkInterfaceId *string - - // The ID of the Amazon Web Services account that owns the network interface. - NetworkInterfaceOwnerId *string - - // The private IP address associated with the Elastic IP address. - PrivateIpAddress *string - - // The Elastic IP address. - PublicIp *string - - // The ID of an address pool. - PublicIpv4Pool *string - - // The service that manages the elastic IP address. - // - // The only option supported today is alb . - ServiceManaged ServiceManaged - - // The ID of the subnet where the IP address is allocated. - SubnetId *string - - // Any tags assigned to the Elastic IP address. - Tags []Tag - - noSmithyDocumentSerde -} - -// The attributes associated with an Elastic IP address. -type AddressAttribute struct { - - // [EC2-VPC] The allocation ID. - AllocationId *string - - // The pointer (PTR) record for the IP address. - PtrRecord *string - - // The updated PTR record for the IP address. - PtrRecordUpdate *PtrUpdateStatus - - // The public IP address. - PublicIp *string - - noSmithyDocumentSerde -} - -// Details on the Elastic IP address transfer. For more information, see [Transfer Elastic IP addresses] in the -// Amazon VPC User Guide. -// -// [Transfer Elastic IP addresses]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro -type AddressTransfer struct { - - // The Elastic IP address transfer status. - AddressTransferStatus AddressTransferStatus - - // The allocation ID of an Elastic IP address. - AllocationId *string - - // The Elastic IP address being transferred. - PublicIp *string - - // The ID of the account that you want to transfer the Elastic IP address to. - TransferAccountId *string - - // The timestamp when the Elastic IP address transfer was accepted. - TransferOfferAcceptedTimestamp *time.Time - - // The timestamp when the Elastic IP address transfer expired. When the source - // account starts the transfer, the transfer account has seven hours to allocate - // the Elastic IP address to complete the transfer, or the Elastic IP address will - // return to its original owner. - TransferOfferExpirationTimestamp *time.Time - - noSmithyDocumentSerde -} - -// Describes a principal. -type AllowedPrincipal struct { - - // The Amazon Resource Name (ARN) of the principal. - Principal *string - - // The type of principal. - PrincipalType PrincipalType - - // The ID of the service. - ServiceId *string - - // The ID of the service permission. - ServicePermissionId *string - - // The tags. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes an potential intermediate component of a feasible path. -type AlternatePathHint struct { - - // The Amazon Resource Name (ARN) of the component. - ComponentArn *string - - // The ID of the component. - ComponentId *string - - noSmithyDocumentSerde -} - -// Describes a network access control (ACL) rule. -type AnalysisAclRule struct { - - // The IPv4 address range, in CIDR notation. - Cidr *string - - // Indicates whether the rule is an outbound rule. - Egress *bool - - // The range of ports. - PortRange *PortRange - - // The protocol. - Protocol *string - - // Indicates whether to allow or deny traffic that matches the rule. - RuleAction *string - - // The rule number. - RuleNumber *int32 - - noSmithyDocumentSerde -} - -// Describes a path component. -type AnalysisComponent struct { - - // The Amazon Resource Name (ARN) of the component. - Arn *string - - // The ID of the component. - Id *string - - // The name of the analysis component. - Name *string - - noSmithyDocumentSerde -} - -// Describes a load balancer listener. -type AnalysisLoadBalancerListener struct { - - // [Classic Load Balancers] The back-end port for the listener. - InstancePort *int32 - - // The port on which the load balancer is listening. - LoadBalancerPort *int32 - - noSmithyDocumentSerde -} - -// Describes a load balancer target. -type AnalysisLoadBalancerTarget struct { - - // The IP address. - Address *string - - // The Availability Zone. - AvailabilityZone *string - - // The ID of the Availability Zone. - AvailabilityZoneId *string - - // Information about the instance. - Instance *AnalysisComponent - - // The port on which the target is listening. - Port *int32 - - noSmithyDocumentSerde -} - -// Describes a header. Reflects any changes made by a component as traffic passes -// through. The fields of an inbound header are null except for the first component -// of a path. -type AnalysisPacketHeader struct { - - // The destination addresses. - DestinationAddresses []string - - // The destination port ranges. - DestinationPortRanges []PortRange - - // The protocol. - Protocol *string - - // The source addresses. - SourceAddresses []string - - // The source port ranges. - SourcePortRanges []PortRange - - noSmithyDocumentSerde -} - -// Describes a route table route. -type AnalysisRouteTableRoute struct { - - // The ID of a carrier gateway. - CarrierGatewayId *string - - // The Amazon Resource Name (ARN) of a core network. - CoreNetworkArn *string - - // The destination IPv4 address, in CIDR notation. - DestinationCidr *string - - // The prefix of the Amazon Web Services service. - DestinationPrefixListId *string - - // The ID of an egress-only internet gateway. - EgressOnlyInternetGatewayId *string - - // The ID of the gateway, such as an internet gateway or virtual private gateway. - GatewayId *string - - // The ID of the instance, such as a NAT instance. - InstanceId *string - - // The ID of a local gateway. - LocalGatewayId *string - - // The ID of a NAT gateway. - NatGatewayId *string - - // The ID of a network interface. - NetworkInterfaceId *string - - // Describes how the route was created. The following are the possible values: - // - // - CreateRouteTable - The route was automatically created when the route table - // was created. - // - // - CreateRoute - The route was manually added to the route table. - // - // - EnableVgwRoutePropagation - The route was propagated by route propagation. - Origin *string - - // The state. The following are the possible values: - // - // - active - // - // - blackhole - State *string - - // The ID of a transit gateway. - TransitGatewayId *string - - // The ID of a VPC peering connection. - VpcPeeringConnectionId *string - - noSmithyDocumentSerde -} - -// Describes a security group rule. -type AnalysisSecurityGroupRule struct { - - // The IPv4 address range, in CIDR notation. - Cidr *string - - // The direction. The following are the possible values: - // - // - egress - // - // - ingress - Direction *string - - // The port range. - PortRange *PortRange - - // The prefix list ID. - PrefixListId *string - - // The protocol name. - Protocol *string - - // The security group ID. - SecurityGroupId *string - - noSmithyDocumentSerde -} - -// An Autonomous System Number (ASN) and BYOIP CIDR association. -type AsnAssociation struct { - - // The association's ASN. - Asn *string - - // The association's CIDR. - Cidr *string - - // The association's state. - State AsnAssociationState - - // The association's status message. - StatusMessage *string - - noSmithyDocumentSerde -} - -// Provides authorization for Amazon to bring an Autonomous System Number (ASN) to -// a specific Amazon Web Services account using bring your own ASN (BYOASN). For -// details on the format of the message and signature, see [Tutorial: Bring your ASN to IPAM]in the Amazon VPC IPAM -// guide. -// -// [Tutorial: Bring your ASN to IPAM]: https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-byoasn.html -type AsnAuthorizationContext struct { - - // The authorization context's message. - // - // This member is required. - Message *string - - // The authorization context's signature. - // - // This member is required. - Signature *string - - noSmithyDocumentSerde -} - -// Describes the private IP addresses assigned to a network interface. -type AssignedPrivateIpAddress struct { - - // The private IP address assigned to the network interface. - PrivateIpAddress *string - - noSmithyDocumentSerde -} - -// Information about the associated IAM roles. -type AssociatedRole struct { - - // The ARN of the associated IAM role. - AssociatedRoleArn *string - - // The name of the Amazon S3 bucket in which the Amazon S3 object is stored. - CertificateS3BucketName *string - - // The key of the Amazon S3 object where the certificate, certificate chain, and - // encrypted private key bundle are stored. The object key is formatted as follows: - // role_arn / certificate_arn . - CertificateS3ObjectKey *string - - // The ID of the KMS key used to encrypt the private key. - EncryptionKmsKeyId *string - - noSmithyDocumentSerde -} - -// Describes a target network that is associated with a Client VPN endpoint. A -// target network is a subnet in a VPC. -type AssociatedTargetNetwork struct { - - // The ID of the subnet. - NetworkId *string - - // The target network type. - NetworkType AssociatedNetworkType - - noSmithyDocumentSerde -} - -// Describes the state of a target network association. -type AssociationStatus struct { - - // The state of the target network association. - Code AssociationStatusCode - - // A message about the status of the target network association, if applicable. - Message *string - - noSmithyDocumentSerde -} - -// Describes integration options for Amazon Athena. -type AthenaIntegration struct { - - // The location in Amazon S3 to store the generated CloudFormation template. - // - // This member is required. - IntegrationResultS3DestinationArn *string - - // The schedule for adding new partitions to the table. - // - // This member is required. - PartitionLoadFrequency PartitionLoadFrequency - - // The end date for the partition. - PartitionEndDate *time.Time - - // The start date for the partition. - PartitionStartDate *time.Time - - noSmithyDocumentSerde -} - -// 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. -type AttachmentEnaSrdSpecification struct { - - // Indicates whether ENA Express is enabled for the network interface. - EnaSrdEnabled *bool - - // Configures ENA Express for UDP network traffic. - EnaSrdUdpSpecification *AttachmentEnaSrdUdpSpecification - - noSmithyDocumentSerde -} - -// 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. -type AttachmentEnaSrdUdpSpecification struct { - - // Indicates whether UDP traffic to and from the instance uses ENA Express. To - // specify this setting, you must first enable ENA Express. - EnaSrdUdpEnabled *bool - - noSmithyDocumentSerde -} - -// Describes a value for a resource attribute that is a Boolean value. -type AttributeBooleanValue struct { - - // The attribute value. The valid values are true or false . - Value *bool - - noSmithyDocumentSerde -} - -// A summary report for the attribute across all Regions. -type AttributeSummary struct { - - // The name of the attribute. - AttributeName *string - - // The configuration value that is most frequently observed for the attribute. - MostFrequentValue *string - - // The number of accounts with the same configuration value for the attribute that - // is most frequently observed. - NumberOfMatchedAccounts *int32 - - // The number of accounts with a configuration value different from the most - // frequently observed value for the attribute. - NumberOfUnmatchedAccounts *int32 - - // The summary report for each Region for the attribute. - RegionalSummaries []RegionalSummary - - noSmithyDocumentSerde -} - -// Describes a value for a resource attribute that is a String. -type AttributeValue struct { - - // The attribute value. The value is case-sensitive. - Value *string - - noSmithyDocumentSerde -} - -// Information about an authorization rule. -type AuthorizationRule struct { - - // Indicates whether the authorization rule grants access to all clients. - AccessAll *bool - - // The ID of the Client VPN endpoint with which the authorization rule is - // associated. - ClientVpnEndpointId *string - - // A brief description of the authorization rule. - Description *string - - // The IPv4 address range, in CIDR notation, of the network to which the - // authorization rule applies. - DestinationCidr *string - - // The ID of the Active Directory group to which the authorization rule grants - // access. - GroupId *string - - // The current state of the authorization rule. - Status *ClientVpnAuthorizationRuleStatus - - noSmithyDocumentSerde -} - -// Describes Availability Zones, Local Zones, and Wavelength Zones. -type AvailabilityZone struct { - - // The long name of the Availability Zone group, Local Zone group, or Wavelength - // Zone group. - GroupLongName *string - - // The name of the zone group. For example: - // - // - Availability Zones - us-east-1-zg-1 - // - // - Local Zones - us-west-2-lax-1 - // - // - Wavelength Zones - us-east-1-wl1-bos-wlz-1 - GroupName *string - - // Any messages about the Availability Zone, Local Zone, or Wavelength Zone. - Messages []AvailabilityZoneMessage - - // The name of the network border group. - NetworkBorderGroup *string - - // For Availability Zones, this parameter always has the value of - // opt-in-not-required . - // - // For Local Zones and Wavelength Zones, this parameter is the opt-in status. The - // possible values are opted-in and not-opted-in . - OptInStatus AvailabilityZoneOptInStatus - - // The ID of the zone that handles some of the Local Zone or Wavelength Zone - // control plane operations, such as API calls. - ParentZoneId *string - - // The name of the zone that handles some of the Local Zone or Wavelength Zone - // control plane operations, such as API calls. - ParentZoneName *string - - // The name of the Region. - RegionName *string - - // The state of the Availability Zone, Local Zone, or Wavelength Zone. The - // possible values are available , unavailable , and constrained . - State AvailabilityZoneState - - // The ID of the Availability Zone, Local Zone, or Wavelength Zone. - ZoneId *string - - // The name of the Availability Zone, Local Zone, or Wavelength Zone. - ZoneName *string - - // The type of zone. - // - // Valid values: availability-zone | local-zone | wavelength-zone - ZoneType *string - - noSmithyDocumentSerde -} - -// For regional NAT gateways only: The configuration specifying which Elastic IP -// address (EIP) to use for handling outbound NAT traffic from a specific -// Availability Zone. -// -// A regional NAT gateway is a single NAT Gateway that works across multiple -// availability zones (AZs) in your VPC, providing redundancy, scalability and -// availability across all the AZs in a Region. -// -// For more information, see [Regional NAT gateways for automatic multi-AZ expansion] in the Amazon VPC User Guide. -// -// [Regional NAT gateways for automatic multi-AZ expansion]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateways-regional.html -type AvailabilityZoneAddress struct { - - // The allocation IDs of the Elastic IP addresses (EIPs) to be used for handling - // outbound NAT traffic in this specific Availability Zone. - AllocationIds []string - - // For regional NAT gateways only: The Availability Zone where this specific NAT - // gateway configuration will be active. Each AZ in a regional NAT gateway has its - // own configuration to handle outbound NAT traffic from that AZ. - // - // A regional NAT gateway is a single NAT Gateway that works across multiple - // availability zones (AZs) in your VPC, providing redundancy, scalability and - // availability across all the AZs in a Region. - AvailabilityZone *string - - // For regional NAT gateways only: The ID of the Availability Zone where this - // specific NAT gateway configuration will be active. Each AZ in a regional NAT - // gateway has its own configuration to handle outbound NAT traffic from that AZ. - // Use this instead of AvailabilityZone for consistent identification of AZs across - // Amazon Web Services Regions. - // - // A regional NAT gateway is a single NAT Gateway that works across multiple - // availability zones (AZs) in your VPC, providing redundancy, scalability and - // availability across all the AZs in a Region. - AvailabilityZoneId *string - - noSmithyDocumentSerde -} - -// Describes a message about an Availability Zone, Local Zone, or Wavelength Zone. -type AvailabilityZoneMessage struct { - - // The message about the Availability Zone, Local Zone, or Wavelength Zone. - Message *string - - noSmithyDocumentSerde -} - -// The capacity information for instances that can be launched onto the Dedicated -// Host. -type AvailableCapacity struct { - - // The number of instances that can be launched onto the Dedicated Host depending - // on the host's available capacity. For Dedicated Hosts that support multiple - // instance types, this parameter represents the number of instances for each - // instance size that is supported on the host. - AvailableInstanceCapacity []InstanceCapacity - - // The number of vCPUs available for launching instances onto the Dedicated Host. - AvailableVCpus *int32 - - noSmithyDocumentSerde -} - -// The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more -// information, see [Amazon EBS–optimized instances]in the Amazon EC2 User Guide. -// -// [Amazon EBS–optimized instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html -type BaselineEbsBandwidthMbps struct { - - // The maximum baseline bandwidth, in Mbps. If this parameter is not specified, - // there is no maximum limit. - Max *int32 - - // The minimum baseline bandwidth, in Mbps. If this parameter is not specified, - // there is no minimum limit. - Min *int32 - - noSmithyDocumentSerde -} - -// The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more -// information, see [Amazon EBS–optimized instances]in the Amazon EC2 User Guide. -// -// [Amazon EBS–optimized instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html -type BaselineEbsBandwidthMbpsRequest struct { - - // The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit this - // parameter. - Max *int32 - - // The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit this - // parameter. - Min *int32 - - noSmithyDocumentSerde -} - -// The baseline performance to consider, using an instance family as a baseline -// reference. The instance family establishes the lowest acceptable level of -// performance. Amazon EC2 uses this baseline to guide instance type selection, but -// there is no guarantee that the selected instance types will always exceed the -// baseline for every application. -// -// Currently, this parameter only supports CPU performance as a baseline -// performance factor. For example, specifying c6i would use the CPU performance -// of the c6i family as the baseline reference. -type BaselinePerformanceFactors struct { - - // The CPU performance to consider, using an instance family as the baseline - // reference. - Cpu *CpuPerformanceFactor - - noSmithyDocumentSerde -} - -// The baseline performance to consider, using an instance family as a baseline -// reference. The instance family establishes the lowest acceptable level of -// performance. Amazon EC2 uses this baseline to guide instance type selection, but -// there is no guarantee that the selected instance types will always exceed the -// baseline for every application. -// -// Currently, this parameter only supports CPU performance as a baseline -// performance factor. For example, specifying c6i would use the CPU performance -// of the c6i family as the baseline reference. -type BaselinePerformanceFactorsRequest struct { - - // The CPU performance to consider, using an instance family as the baseline - // reference. - Cpu *CpuPerformanceFactorRequest - - noSmithyDocumentSerde -} - -type BlobAttributeValue struct { - Value []byte - - noSmithyDocumentSerde -} - -// Describes a block device mapping, which defines the EBS volumes and instance -// store volumes to attach to an instance at launch. -type BlockDeviceMapping struct { - - // The device name. For available device names, see [Device names for volumes]. - // - // [Device names for volumes]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html - DeviceName *string - - // Parameters used to automatically set up EBS volumes when the instance is - // launched. - Ebs *EbsBlockDevice - - // To omit the device from the block device mapping, specify an empty string. When - // this property is specified, the device is removed from the block device mapping - // regardless of the assigned value. - NoDevice *string - - // The virtual device name ( ephemeral N). Instance store volumes are numbered - // starting from 0. An instance type with 2 available instance store volumes can - // specify mappings for ephemeral0 and ephemeral1 . The number of available - // instance store volumes depends on the instance type. After you connect to the - // instance, you must mount the volume. - // - // NVMe instance store volumes are automatically enumerated and assigned a device - // name. Including them in your block device mapping has no effect. - // - // Constraints: For M3 instances, you must specify instance store volumes in the - // block device mapping for the instance. When you launch an M3 instance, we ignore - // any instance store volumes specified in the block device mapping for the AMI. - VirtualName *string - - noSmithyDocumentSerde -} - -// Describes a block device mapping, which defines the EBS volumes and instance -// store volumes to attach to an instance at launch. -type BlockDeviceMappingResponse struct { - - // The device name (for example, /dev/sdh or xvdh ). - DeviceName *string - - // Parameters used to automatically set up EBS volumes when the instance is - // launched. - Ebs *EbsBlockDeviceResponse - - // Suppresses the specified device included in the block device mapping. - NoDevice *string - - // The virtual device name. - VirtualName *string - - noSmithyDocumentSerde -} - -// The state of VPC Block Public Access (BPA). -type BlockPublicAccessStates struct { - - // The mode of VPC BPA. - // - // - off : VPC BPA is not enabled and traffic is allowed to and from internet - // gateways and egress-only internet gateways in this Region. - // - // - block-bidirectional : Block all traffic to and from internet gateways and - // egress-only internet gateways in this Region (except for excluded VPCs and - // subnets). - // - // - block-ingress : Block all internet traffic to the VPCs in this Region - // (except for VPCs or subnets which are excluded). Only traffic to and from NAT - // gateways and egress-only internet gateways is allowed because these gateways - // only allow outbound connections to be established. - InternetGatewayBlockMode BlockPublicAccessMode - - noSmithyDocumentSerde -} - -// Describes a bundle task. -type BundleTask struct { - - // The ID of the bundle task. - BundleId *string - - // If the task fails, a description of the error. - BundleTaskError *BundleTaskError - - // The ID of the instance associated with this bundle task. - InstanceId *string - - // The level of task completion, as a percent (for example, 20%). - Progress *string - - // The time this task started. - StartTime *time.Time - - // The state of the task. - State BundleTaskState - - // The Amazon S3 storage locations. - Storage *Storage - - // The time of the most recent update for the task. - UpdateTime *time.Time - - noSmithyDocumentSerde -} - -// Describes an error for BundleInstance. -type BundleTaskError struct { - - // The error code. - Code *string - - // The error message. - Message *string - - noSmithyDocumentSerde -} - -// The Autonomous System Number (ASN) and BYOIP CIDR association. -type Byoasn struct { - - // A public 2-byte or 4-byte ASN. - Asn *string - - // An IPAM ID. - IpamId *string - - // The provisioning state of the BYOASN. - State AsnState - - // The status message. - StatusMessage *string - - noSmithyDocumentSerde -} - -// Information about an address range that is provisioned for use with your Amazon -// Web Services resources through bring your own IP addresses (BYOIP). -type ByoipCidr struct { - - // Specifies the advertisement method for the BYOIP CIDR. Valid values are: - // - // - unicast : IP is advertised from a single location (regional services like - // EC2) - // - // - anycast : IP is advertised from multiple global locations simultaneously - // (global services like CloudFront) - // - // For more information, see [Bring your own IP to CloudFront using IPAM] in the Amazon VPC IPAM User Guide. - // - // [Bring your own IP to CloudFront using IPAM]: https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-byoip-cloudfront.html - AdvertisementType *string - - // The BYOIP CIDR associations with ASNs. - AsnAssociations []AsnAssociation - - // The address range, in CIDR notation. - Cidr *string - - // The description of the address range. - Description *string - - // If you have [Local Zones] enabled, you can choose a network border group for Local Zones - // when you provision and advertise a BYOIPv4 CIDR. Choose the network border group - // carefully as the EIP and the Amazon Web Services resource it is associated with - // must reside in the same network border group. - // - // You can provision BYOIP address ranges to and advertise them in the following - // Local Zone network border groups: - // - // - us-east-1-dfw-2 - // - // - us-west-2-lax-1 - // - // - us-west-2-phx-2 - // - // You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this - // time. - // - // [Local Zones]: https://docs.aws.amazon.com/local-zones/latest/ug/how-local-zones-work.html - NetworkBorderGroup *string - - // The state of the address range. - // - // - advertised : The address range is being advertised to the internet by Amazon - // Web Services. - // - // - deprovisioned : The address range is deprovisioned. - // - // - failed-deprovision : The request to deprovision the address range was - // unsuccessful. Ensure that all EIPs from the range have been deallocated and try - // again. - // - // - failed-provision : The request to provision the address range was - // unsuccessful. - // - // - pending-deprovision : You’ve submitted a request to deprovision an address - // range and it's pending. - // - // - pending-provision : You’ve submitted a request to provision an address range - // and it's pending. - // - // - provisioned : The address range is provisioned and can be advertised. The - // range is not currently advertised. - // - // - provisioned-not-publicly-advertisable : The address range is provisioned and - // cannot be advertised. - State ByoipCidrState - - // Upon success, contains the ID of the address pool. Otherwise, contains an error - // message. - StatusMessage *string - - noSmithyDocumentSerde -} - -// Describes a Capacity Reservation Fleet cancellation error. -type CancelCapacityReservationFleetError struct { - - // The error code. - Code *string - - // The error message. - Message *string - - noSmithyDocumentSerde -} - -// Describes a request to cancel a Spot Instance. -type CancelledSpotInstanceRequest struct { - - // The ID of the Spot Instance request. - SpotInstanceRequestId *string - - // The state of the Spot Instance request. - State CancelSpotInstanceRequestState - - noSmithyDocumentSerde -} - -// Describes a Spot Fleet error. -type CancelSpotFleetRequestsError struct { - - // The error code. - Code CancelBatchErrorCode - - // The description for the error code. - Message *string - - noSmithyDocumentSerde -} - -// Describes a Spot Fleet request that was not successfully canceled. -type CancelSpotFleetRequestsErrorItem struct { - - // The error. - Error *CancelSpotFleetRequestsError - - // The ID of the Spot Fleet request. - SpotFleetRequestId *string - - noSmithyDocumentSerde -} - -// Describes a Spot Fleet request that was successfully canceled. -type CancelSpotFleetRequestsSuccessItem struct { - - // The current state of the Spot Fleet request. - CurrentSpotFleetRequestState BatchState - - // The previous state of the Spot Fleet request. - PreviousSpotFleetRequestState BatchState - - // The ID of the Spot Fleet request. - SpotFleetRequestId *string - - noSmithyDocumentSerde -} - -// Information about instance capacity usage for a Capacity Reservation. -type CapacityAllocation struct { - - // The usage type. used indicates that the instance capacity is in use by - // instances that are running in the Capacity Reservation. - AllocationType AllocationType - - // The amount of instance capacity associated with the usage. For example a value - // of 4 indicates that instance capacity for 4 instances is currently in use. - Count *int32 - - noSmithyDocumentSerde -} - -// Reserve powerful GPU instances on a future date to support your short duration -// machine learning (ML) workloads. Instances that run inside a Capacity Block are -// automatically placed close together inside [Amazon EC2 UltraClusters], for low-latency, petabit-scale, -// non-blocking networking. -// -// You can also reserve Amazon EC2 UltraServers. UltraServers connect multiple EC2 -// instances using a low-latency, high-bandwidth accelerator interconnect -// (NeuronLink). They are built to tackle very large-scale AI/ML workloads that -// require significant processing power. For more information, see Amazon EC2 -// UltraServers. -// -// [Amazon EC2 UltraClusters]: http://aws.amazon.com/ec2/ultraclusters/ -type CapacityBlock struct { - - // The Availability Zone of the Capacity Block. - AvailabilityZone *string - - // The Availability Zone ID of the Capacity Block. - AvailabilityZoneId *string - - // The ID of the Capacity Block. - CapacityBlockId *string - - // The ID of the Capacity Reservation. - CapacityReservationIds []string - - // The date and time at which the Capacity Block was created. - CreateDate *time.Time - - // The date and time at which the Capacity Block expires. When a Capacity Block - // expires, all instances in the Capacity Block are terminated. - EndDate *time.Time - - // The date and time at which the Capacity Block was started. - StartDate *time.Time - - // The state of the Capacity Block. - State CapacityBlockResourceState - - // The tags assigned to the Capacity Block. - Tags []Tag - - // The EC2 UltraServer type of the Capacity Block. - UltraserverType *string - - noSmithyDocumentSerde -} - -// Describes a Capacity Block extension. With an extension, you can extend the -// duration of time for an existing Capacity Block. -type CapacityBlockExtension struct { - - // The Availability Zone of the Capacity Block extension. - AvailabilityZone *string - - // The Availability Zone ID of the Capacity Block extension. - AvailabilityZoneId *string - - // The duration of the Capacity Block extension in hours. - CapacityBlockExtensionDurationHours *int32 - - // The end date of the Capacity Block extension. - CapacityBlockExtensionEndDate *time.Time - - // The ID of the Capacity Block extension offering. - CapacityBlockExtensionOfferingId *string - - // The date when the Capacity Block extension was purchased. - CapacityBlockExtensionPurchaseDate *time.Time - - // The start date of the Capacity Block extension. - CapacityBlockExtensionStartDate *time.Time - - // The status of the Capacity Block extension. A Capacity Block extension can have - // one of the following statuses: - // - // - payment-pending - The Capacity Block extension payment is processing. If - // your payment can't be processed within 12 hours, the Capacity Block extension is - // failed. - // - // - payment-failed - Payment for the Capacity Block extension request was not - // successful. - // - // - payment-succeeded - Payment for the Capacity Block extension request was - // successful. You receive an invoice that reflects the one-time upfront payment. - // In the invoice, you can associate the paid amount with the Capacity Block - // reservation ID. - CapacityBlockExtensionStatus CapacityBlockExtensionStatus - - // The reservation ID of the Capacity Block extension. - CapacityReservationId *string - - // The currency of the payment for the Capacity Block extension. - CurrencyCode *string - - // The number of instances in the Capacity Block extension. - InstanceCount *int32 - - // The instance type of the Capacity Block extension. - InstanceType *string - - // The total price to be paid up front. - UpfrontFee *string - - noSmithyDocumentSerde -} - -// The recommended Capacity Block extension that fits your search requirements. -type CapacityBlockExtensionOffering struct { - - // The Availability Zone of the Capacity Block that will be extended. - AvailabilityZone *string - - // The Availability Zone ID of the Capacity Block that will be extended. - AvailabilityZoneId *string - - // The amount of time of the Capacity Block extension offering in hours. - CapacityBlockExtensionDurationHours *int32 - - // The date and time at which the Capacity Block extension expires. When a - // Capacity Block expires, the reserved capacity is released and you can no longer - // launch instances into it. The Capacity Block's state changes to expired when it - // reaches its end date - CapacityBlockExtensionEndDate *time.Time - - // The ID of the Capacity Block extension offering. - CapacityBlockExtensionOfferingId *string - - // The date and time at which the Capacity Block extension will start. This date - // is also the same as the end date of the Capacity Block that will be extended. - CapacityBlockExtensionStartDate *time.Time - - // The currency of the payment for the Capacity Block extension offering. - CurrencyCode *string - - // The number of instances in the Capacity Block extension offering. - InstanceCount *int32 - - // The instance type of the Capacity Block that will be extended. - InstanceType *string - - // The start date of the Capacity Block that will be extended. - StartDate *time.Time - - // Indicates the tenancy of the Capacity Block extension offering. A Capacity - // Block can have one of the following tenancy settings: - // - // - default - The Capacity Block is created on hardware that is shared with - // other Amazon Web Services accounts. - // - // - dedicated - The Capacity Block is created on single-tenant hardware that is - // dedicated to a single Amazon Web Services account. - Tenancy CapacityReservationTenancy - - // The total price of the Capacity Block extension offering, to be paid up front. - UpfrontFee *string - - noSmithyDocumentSerde -} - -// The recommended Capacity Block that fits your search requirements. -type CapacityBlockOffering struct { - - // The Availability Zone of the Capacity Block offering. - AvailabilityZone *string - - // The number of hours (in addition to capacityBlockDurationMinutes ) for the - // duration of the Capacity Block reservation. For example, if a Capacity Block - // starts at 04:55 and ends at 11:30, the hours field would be 6. - CapacityBlockDurationHours *int32 - - // The number of minutes (in addition to capacityBlockDurationHours ) for the - // duration of the Capacity Block reservation. For example, if a Capacity Block - // starts at 08:55 and ends at 11:30, the minutes field would be 35. - CapacityBlockDurationMinutes *int32 - - // The ID of the Capacity Block offering. - CapacityBlockOfferingId *string - - // The currency of the payment for the Capacity Block. - CurrencyCode *string - - // The end date of the Capacity Block offering. - EndDate *time.Time - - // The number of instances in the Capacity Block offering. - InstanceCount *int32 - - // The instance type of the Capacity Block offering. - InstanceType *string - - // The start date of the Capacity Block offering. - StartDate *time.Time - - // The tenancy of the Capacity Block. - Tenancy CapacityReservationTenancy - - // The number of EC2 UltraServers in the offering. - UltraserverCount *int32 - - // The EC2 UltraServer type of the Capacity Block offering. - UltraserverType *string - - // The total price to be paid up front. - UpfrontFee *string - - noSmithyDocumentSerde -} - -// Describes the availability of capacity for a Capacity Block. -type CapacityBlockStatus struct { - - // The ID of the Capacity Block. - CapacityBlockId *string - - // The availability of capacity for the Capacity Block reservations. - CapacityReservationStatuses []CapacityReservationStatus - - // The status of the high-bandwidth accelerator interconnect. Possible states - // include: - // - // - ok the accelerator interconnect is healthy. - // - // - impaired - accelerator interconnect communication is impaired. - // - // - insufficient-data - insufficient data to determine accelerator interconnect - // status. - InterconnectStatus CapacityBlockInterconnectStatus - - // The remaining capacity. Indicates the number of resources that can be launched - // into the Capacity Block. - TotalAvailableCapacity *int32 - - // The combined amount of Available and Unavailable capacity in the Capacity Block. - TotalCapacity *int32 - - // The unavailable capacity. Indicates the instance capacity that is unavailable - // for use due to a system status check failure. - TotalUnavailableCapacity *int32 - - noSmithyDocumentSerde -} - -// Represents a filter condition for Capacity Manager queries. Contains -// -// dimension-based filtering criteria used to narrow down metric data and dimension -// results. -type CapacityManagerCondition struct { - - // The dimension-based condition that specifies how to filter the data based on - // dimension values. - DimensionCondition *DimensionCondition - - noSmithyDocumentSerde -} - -// Contains information about a Capacity Manager data export configuration, -// -// including export settings, delivery status, and recent export activity. -type CapacityManagerDataExportResponse struct { - - // The unique identifier for the data export configuration. - CapacityManagerDataExportId *string - - // The timestamp when the data export configuration was created. - CreateTime *time.Time - - // The S3 URI of the most recently delivered export file. - LatestDeliveryS3LocationUri *string - - // The status of the most recent export delivery. - LatestDeliveryStatus CapacityManagerDataExportStatus - - // A message describing the status of the most recent export delivery, including - // any error details if the delivery failed. - LatestDeliveryStatusMessage *string - - // The timestamp when the most recent export was delivered to S3. - LatestDeliveryTime *time.Time - - // The file format of the exported data. - OutputFormat OutputFormat - - // The name of the S3 bucket where export files are delivered. - S3BucketName *string - - // The S3 key prefix used for organizing export files within the bucket. - S3BucketPrefix *string - - // The frequency at which data exports are generated. - Schedule Schedule - - // The tags associated with the data export configuration. - Tags []Tag - - noSmithyDocumentSerde -} - -// Represents dimension values for capacity metrics, including resource -// -// identifiers, geographic information, and reservation details used for grouping -// and filtering capacity data. -type CapacityManagerDimension struct { - - // The Amazon Web Services account ID that owns the capacity resource. - AccountId *string - - // The unique identifier of the Availability Zone where the capacity resource is - // located. - AvailabilityZoneId *string - - // The EC2 instance family of the capacity resource. - InstanceFamily *string - - // The platform or operating system of the instance. - InstancePlatform *string - - // The specific EC2 instance type of the capacity resource. - InstanceType *string - - // The Amazon Resource Name (ARN) of the capacity reservation. This provides a - // unique identifier that can be used across Amazon Web Services services to - // reference the specific reservation. - ReservationArn *string - - // The timestamp when the capacity reservation was originally created, in - // milliseconds since epoch. This differs from the start timestamp as reservations - // can be created before they become active. - ReservationCreateTimestamp *time.Time - - // The type of end date for the capacity reservation. This indicates whether the - // reservation has a fixed end date, is open-ended, or follows a specific - // termination pattern. - ReservationEndDateType ReservationEndDateType - - // The timestamp when the capacity reservation expires and is no longer - // available, in milliseconds since epoch. After this time, the reservation will - // not provide any capacity. - ReservationEndTimestamp *time.Time - - // The unique identifier of the capacity reservation. - ReservationId *string - - // The instance matching criteria for the capacity reservation, determining how - // instances are matched to the reservation. - ReservationInstanceMatchCriteria *string - - // The timestamp when the capacity reservation becomes active and available for - // use, in milliseconds since epoch. This is when the reservation begins providing - // capacity. - ReservationStartTimestamp *time.Time - - // The current state of the capacity reservation. - ReservationState ReservationState - - // The type of capacity reservation. - ReservationType ReservationType - - // The Amazon Web Services account ID that is financially responsible for unused - // capacity reservation costs. - ReservationUnusedFinancialOwner *string - - // The Amazon Web Services Region where the capacity resource is located. - ResourceRegion *string - - // The tenancy of the EC2 instances associated with this capacity dimension. - // Valid values are 'default' for shared tenancy, 'dedicated' for dedicated - // instances, or 'host' for dedicated hosts. - Tenancy CapacityTenancy - - noSmithyDocumentSerde -} - -// Describes a Capacity Reservation. -type CapacityReservation struct { - - // The Availability Zone in which the capacity is reserved. - AvailabilityZone *string - - // The ID of the Availability Zone in which the capacity is reserved. - AvailabilityZoneId *string - - // The remaining capacity. Indicates the number of instances that can be launched - // in the Capacity Reservation. - AvailableInstanceCount *int32 - - // Information about instance capacity usage. - CapacityAllocations []CapacityAllocation - - // The ID of the Capacity Block. - CapacityBlockId *string - - // The Amazon Resource Name (ARN) of the Capacity Reservation. - CapacityReservationArn *string - - // The ID of the Capacity Reservation Fleet to which the Capacity Reservation - // belongs. Only valid for Capacity Reservations that were created by a Capacity - // Reservation Fleet. - CapacityReservationFleetId *string - - // The ID of the Capacity Reservation. - CapacityReservationId *string - - // Information about your commitment for a future-dated Capacity Reservation. - CommitmentInfo *CapacityReservationCommitmentInfo - - // The date and time the Capacity Reservation was created. - CreateDate *time.Time - - // The delivery method for a future-dated Capacity Reservation. incremental - // indicates that the requested capacity is delivered in addition to any running - // instances and reserved capacity that you have in your account at the requested - // date and time. - DeliveryPreference CapacityReservationDeliveryPreference - - // Indicates whether the Capacity Reservation supports EBS-optimized instances. - // This optimization provides dedicated throughput to Amazon EBS and an optimized - // configuration stack to provide optimal I/O performance. This optimization isn't - // available with all instance types. Additional usage charges apply when using an - // EBS- optimized instance. - EbsOptimized *bool - - // The date and time the Capacity Reservation expires. When a Capacity Reservation - // expires, the reserved capacity is released and you can no longer launch - // instances into it. The Capacity Reservation's state changes to expired when it - // reaches its end date and time. - EndDate *time.Time - - // Indicates the way in which the Capacity Reservation ends. A Capacity - // Reservation can have one of the following end types: - // - // - unlimited - The Capacity Reservation remains active until you explicitly - // cancel it. - // - // - limited - The Capacity Reservation expires automatically at a specified date - // and time. - EndDateType EndDateType - - // Deprecated. - EphemeralStorage *bool - - // Indicates the type of instance launches that the Capacity Reservation accepts. - // The options include: - // - // - open - The Capacity Reservation accepts all instances that have matching - // attributes (instance type, platform, and Availability Zone). Instances that have - // matching attributes launch into the Capacity Reservation automatically without - // specifying any additional parameters. - // - // - targeted - The Capacity Reservation only accepts instances that have - // matching attributes (instance type, platform, and Availability Zone), and - // explicitly target the Capacity Reservation. This ensures that only permitted - // instances can use the reserved capacity. - InstanceMatchCriteria InstanceMatchCriteria - - // The type of operating system for which the Capacity Reservation reserves - // capacity. - InstancePlatform CapacityReservationInstancePlatform - - // The type of instance for which the Capacity Reservation reserves capacity. - InstanceType *string - - // Indicates whether this Capacity Reservation is interruptible, meaning - // instances may be terminated when the owner reclaims capacity. - Interruptible *bool - - // Contains allocation details for interruptible reservations, including current - // allocated instances and target instance counts within the - // interruptibleCapacityAllocation object. - InterruptibleCapacityAllocation *InterruptibleCapacityAllocation - - // Information about the interruption configuration and association with the - // source reservation for interruptible Capacity Reservations. - InterruptionInfo *InterruptionInfo - - // The Amazon Resource Name (ARN) of the Outpost on which the Capacity Reservation - // was created. - OutpostArn *string - - // The ID of the Amazon Web Services account that owns the Capacity Reservation. - OwnerId *string - - // The Amazon Resource Name (ARN) of the cluster placement group in which the - // Capacity Reservation was created. For more information, see [Capacity Reservations for cluster placement groups]in the Amazon EC2 - // User Guide. - // - // [Capacity Reservations for cluster placement groups]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html - PlacementGroupArn *string - - // The type of Capacity Reservation. - ReservationType CapacityReservationType - - // The date and time the Capacity Reservation was started. - StartDate *time.Time - - // The current state of the Capacity Reservation. A Capacity Reservation can be in - // one of the following states: - // - // - active - The capacity is available for use. - // - // - expired - The Capacity Reservation expired automatically at the date and - // time specified in your reservation request. The reserved capacity is no longer - // available for your use. - // - // - cancelled - The Capacity Reservation was canceled. The reserved capacity is - // no longer available for your use. - // - // - pending - The Capacity Reservation request was successful but the capacity - // provisioning is still pending. - // - // - failed - The Capacity Reservation request has failed. A request can fail due - // to request parameters that are not valid, capacity constraints, or instance - // limit constraints. You can view a failed request for 60 minutes. - // - // - scheduled - (Future-dated Capacity Reservations) The future-dated Capacity - // Reservation request was approved and the Capacity Reservation is scheduled for - // delivery on the requested start date. - // - // - payment-pending - (Capacity Blocks) The upfront payment has not been - // processed yet. - // - // - payment-failed - (Capacity Blocks) The upfront payment was not processed in - // the 12-hour time frame. Your Capacity Block was released. - // - // - assessing - (Future-dated Capacity Reservations) Amazon EC2 is assessing - // your request for a future-dated Capacity Reservation. - // - // - delayed - (Future-dated Capacity Reservations) Amazon EC2 encountered a - // delay in provisioning the requested future-dated Capacity Reservation. Amazon - // EC2 is unable to deliver the requested capacity by the requested start date and - // time. - // - // - unsupported - (Future-dated Capacity Reservations) Amazon EC2 can't support - // the future-dated Capacity Reservation request due to capacity constraints. You - // can view unsupported requests for 30 days. The Capacity Reservation will not be - // delivered. - State CapacityReservationState - - // Any tags assigned to the Capacity Reservation. - Tags []Tag - - // Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can - // have one of the following tenancy settings: - // - // - default - The Capacity Reservation is created on hardware that is shared - // with other Amazon Web Services accounts. - // - // - dedicated - The Capacity Reservation is created on single-tenant hardware - // that is dedicated to a single Amazon Web Services account. - Tenancy CapacityReservationTenancy - - // The total number of instances for which the Capacity Reservation reserves - // capacity. - TotalInstanceCount *int32 - - // The ID of the Amazon Web Services account to which billing of the unused - // capacity of the Capacity Reservation is assigned. - UnusedReservationBillingOwnerId *string - - noSmithyDocumentSerde -} - -// Information about a request to assign billing of the unused capacity of a -// Capacity Reservation. -type CapacityReservationBillingRequest struct { - - // The ID of the Capacity Reservation. - CapacityReservationId *string - - // Information about the Capacity Reservation. - CapacityReservationInfo *CapacityReservationInfo - - // The date and time, in UTC time format, at which the request was initiated. - LastUpdateTime *time.Time - - // The ID of the Amazon Web Services account that initiated the request. - RequestedBy *string - - // The status of the request. For more information, see [View billing assignment requests for a shared Amazon EC2 Capacity Reservation]. - // - // [View billing assignment requests for a shared Amazon EC2 Capacity Reservation]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/view-billing-transfers.html - Status CapacityReservationBillingRequestStatus - - // Information about the status. - StatusMessage *string - - // The ID of the Amazon Web Services account to which the request was sent. - UnusedReservationBillingOwnerId *string - - noSmithyDocumentSerde -} - -// Information about your commitment for a future-dated Capacity Reservation. -type CapacityReservationCommitmentInfo struct { - - // The date and time at which the commitment duration expires, in the ISO8601 - // format in the UTC time zone ( YYYY-MM-DDThh:mm:ss.sssZ ). You can't decrease the - // instance count or cancel the Capacity Reservation before this date and time. - CommitmentEndDate *time.Time - - // The instance capacity that you committed to when you requested the future-dated - // Capacity Reservation. - CommittedInstanceCount *int32 - - noSmithyDocumentSerde -} - -// Information about a Capacity Reservation Fleet. -type CapacityReservationFleet struct { - - // The strategy used by the Capacity Reservation Fleet to determine which of the - // specified instance types to use. For more information, see For more information, - // see [Allocation strategy]in the Amazon EC2 User Guide. - // - // [Allocation strategy]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy - AllocationStrategy *string - - // The ARN of the Capacity Reservation Fleet. - CapacityReservationFleetArn *string - - // The ID of the Capacity Reservation Fleet. - CapacityReservationFleetId *string - - // The date and time at which the Capacity Reservation Fleet was created. - CreateTime *time.Time - - // The date and time at which the Capacity Reservation Fleet expires. - EndDate *time.Time - - // Indicates the type of instance launches that the Capacity Reservation Fleet - // accepts. All Capacity Reservations in the Fleet inherit this instance matching - // criteria. - // - // Currently, Capacity Reservation Fleets support open instance matching criteria - // only. This means that instances that have matching attributes (instance type, - // platform, and Availability Zone) run in the Capacity Reservations automatically. - // Instances do not need to explicitly target a Capacity Reservation Fleet to use - // its reserved capacity. - InstanceMatchCriteria FleetInstanceMatchCriteria - - // Information about the instance types for which to reserve the capacity. - InstanceTypeSpecifications []FleetCapacityReservation - - // The state of the Capacity Reservation Fleet. Possible states include: - // - // - submitted - The Capacity Reservation Fleet request has been submitted and - // Amazon Elastic Compute Cloud is preparing to create the Capacity Reservations. - // - // - modifying - The Capacity Reservation Fleet is being modified. The Fleet - // remains in this state until the modification is complete. - // - // - active - The Capacity Reservation Fleet has fulfilled its total target - // capacity and it is attempting to maintain this capacity. The Fleet remains in - // this state until it is modified or deleted. - // - // - partially_fulfilled - The Capacity Reservation Fleet has partially fulfilled - // its total target capacity. There is insufficient Amazon EC2 to fulfill the total - // target capacity. The Fleet is attempting to asynchronously fulfill its total - // target capacity. - // - // - expiring - The Capacity Reservation Fleet has reach its end date and it is - // in the process of expiring. One or more of its Capacity reservations might still - // be active. - // - // - expired - The Capacity Reservation Fleet has reach its end date. The Fleet - // and its Capacity Reservations are expired. The Fleet can't create new Capacity - // Reservations. - // - // - cancelling - The Capacity Reservation Fleet is in the process of being - // cancelled. One or more of its Capacity reservations might still be active. - // - // - cancelled - The Capacity Reservation Fleet has been manually cancelled. The - // Fleet and its Capacity Reservations are cancelled and the Fleet can't create new - // Capacity Reservations. - // - // - failed - The Capacity Reservation Fleet failed to reserve capacity for the - // specified instance types. - State CapacityReservationFleetState - - // The tags assigned to the Capacity Reservation Fleet. - Tags []Tag - - // The tenancy of the Capacity Reservation Fleet. Tenancies include: - // - // - default - The Capacity Reservation Fleet is created on hardware that is - // shared with other Amazon Web Services accounts. - // - // - dedicated - The Capacity Reservation Fleet is created on single-tenant - // hardware that is dedicated to a single Amazon Web Services account. - Tenancy FleetCapacityReservationTenancy - - // The capacity units that have been fulfilled. - TotalFulfilledCapacity *float64 - - // The total number of capacity units for which the Capacity Reservation Fleet - // reserves capacity. For more information, see [Total target capacity]in the Amazon EC2 User Guide. - // - // [Total target capacity]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity - TotalTargetCapacity *int32 - - noSmithyDocumentSerde -} - -// Describes a Capacity Reservation Fleet that was successfully cancelled. -type CapacityReservationFleetCancellationState struct { - - // The ID of the Capacity Reservation Fleet that was successfully cancelled. - CapacityReservationFleetId *string - - // The current state of the Capacity Reservation Fleet. - CurrentFleetState CapacityReservationFleetState - - // The previous state of the Capacity Reservation Fleet. - PreviousFleetState CapacityReservationFleetState - - noSmithyDocumentSerde -} - -// Describes a resource group to which a Capacity Reservation has been added. -type CapacityReservationGroup struct { - - // The ARN of the resource group. - GroupArn *string - - // The ID of the Amazon Web Services account that owns the resource group. - OwnerId *string - - noSmithyDocumentSerde -} - -// Information about a Capacity Reservation. -type CapacityReservationInfo struct { - - // The Availability Zone for the Capacity Reservation. - AvailabilityZone *string - - // The ID of the Availability Zone. - AvailabilityZoneId *string - - // The instance type for the Capacity Reservation. - InstanceType *string - - // The tenancy of the Capacity Reservation. - Tenancy CapacityReservationTenancy - - noSmithyDocumentSerde -} - -// Describes the strategy for using unused Capacity Reservations for fulfilling -// On-Demand capacity. -// -// This strategy can only be used if the EC2 Fleet is of type instant . -// -// For more information about Capacity Reservations, see [On-Demand Capacity Reservations] in the Amazon EC2 User -// Guide. For examples of using Capacity Reservations in an EC2 Fleet, see [EC2 Fleet example configurations]in the -// Amazon EC2 User Guide. -// -// [EC2 Fleet example configurations]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-examples.html -// [On-Demand Capacity Reservations]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html -type CapacityReservationOptions struct { - - // Indicates whether to use unused Capacity Reservations for fulfilling On-Demand - // capacity. - // - // If you specify use-capacity-reservations-first , the fleet uses unused Capacity - // Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. - // If multiple instance pools have unused Capacity Reservations, the On-Demand - // allocation strategy ( lowest-price or prioritized ) is applied. If the number of - // unused Capacity Reservations is less than the On-Demand target capacity, the - // remaining On-Demand target capacity is launched according to the On-Demand - // allocation strategy ( lowest-price or prioritized ). - // - // If you do not specify a value, the fleet fulfils the On-Demand capacity - // according to the chosen On-Demand allocation strategy. - UsageStrategy FleetCapacityReservationUsageStrategy - - noSmithyDocumentSerde -} - -// Describes the strategy for using unused Capacity Reservations for fulfilling -// On-Demand capacity. -// -// This strategy can only be used if the EC2 Fleet is of type instant . -// -// For more information about Capacity Reservations, see [On-Demand Capacity Reservations] in the Amazon EC2 User -// Guide. For examples of using Capacity Reservations in an EC2 Fleet, see [EC2 Fleet example configurations]in the -// Amazon EC2 User Guide. -// -// [EC2 Fleet example configurations]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-examples.html -// [On-Demand Capacity Reservations]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html -type CapacityReservationOptionsRequest struct { - - // Indicates whether to use unused Capacity Reservations for fulfilling On-Demand - // capacity. - // - // If you specify use-capacity-reservations-first , the fleet uses unused Capacity - // Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. - // If multiple instance pools have unused Capacity Reservations, the On-Demand - // allocation strategy ( lowest-price or prioritized ) is applied. If the number of - // unused Capacity Reservations is less than the On-Demand target capacity, the - // remaining On-Demand target capacity is launched according to the On-Demand - // allocation strategy ( lowest-price or prioritized ). - // - // If you do not specify a value, the fleet fulfils the On-Demand capacity - // according to the chosen On-Demand allocation strategy. - UsageStrategy FleetCapacityReservationUsageStrategy - - noSmithyDocumentSerde -} - -// Describes an instance's Capacity Reservation targeting option. -// -// Use the CapacityReservationPreference parameter to configure the instance to -// run as an On-Demand Instance, to run in any open Capacity Reservation that has -// matching attributes, or to run only in a Capacity Reservation or Capacity -// Reservation group. Use the CapacityReservationTarget parameter to explicitly -// target a specific Capacity Reservation or a Capacity Reservation group. -// -// You can only specify CapacityReservationPreference and CapacityReservationTarget -// if the CapacityReservationPreference is capacity-reservations-only . -type CapacityReservationSpecification struct { - - // Indicates the instance's Capacity Reservation preferences. Possible preferences - // include: - // - // - capacity-reservations-only - The instance will only run in a Capacity - // Reservation or Capacity Reservation group. If capacity isn't available, the - // instance will fail to launch. - // - // - open - The instance can run in any open Capacity Reservation that has - // matching attributes (instance type, platform, Availability Zone, and tenancy). - // If capacity isn't available, the instance runs as an On-Demand Instance. - // - // - none - The instance doesn't run in a Capacity Reservation even if one is - // available. The instance runs as an On-Demand Instance. - CapacityReservationPreference CapacityReservationPreference - - // Information about the target Capacity Reservation or Capacity Reservation group. - CapacityReservationTarget *CapacityReservationTarget - - noSmithyDocumentSerde -} - -// Describes the instance's Capacity Reservation targeting preferences. The action -// returns the capacityReservationPreference response element if the instance is -// configured to run in On-Demand capacity, or if it is configured in run in any -// open Capacity Reservation that has matching attributes (instance type, platform, -// Availability Zone). The action returns the capacityReservationTarget response -// element if the instance explicily targets a specific Capacity Reservation or -// Capacity Reservation group. -type CapacityReservationSpecificationResponse struct { - - // Describes the instance's Capacity Reservation preferences. Possible preferences - // include: - // - // - open - The instance can run in any open Capacity Reservation that has - // matching attributes (instance type, platform, Availability Zone). - // - // - none - The instance avoids running in a Capacity Reservation even if one is - // available. The instance runs in On-Demand capacity. - CapacityReservationPreference CapacityReservationPreference - - // Information about the targeted Capacity Reservation or Capacity Reservation - // group. - CapacityReservationTarget *CapacityReservationTargetResponse - - noSmithyDocumentSerde -} - -// Describes the availability of capacity for a Capacity Reservation. -type CapacityReservationStatus struct { - - // The ID of the Capacity Reservation. - CapacityReservationId *string - - // The remaining capacity. Indicates the amount of resources that can be launched - // into the Capacity Reservation. - TotalAvailableCapacity *int32 - - // The combined amount of Available and Unavailable capacity in the Capacity - // Reservation. - TotalCapacity *int32 - - // The used capacity. Indicates that the capacity is in use by resources that are - // running in the Capacity Reservation. - TotalUnavailableCapacity *int32 - - noSmithyDocumentSerde -} - -// Describes a target Capacity Reservation or Capacity Reservation group. -type CapacityReservationTarget struct { - - // The ID of the Capacity Reservation in which to run the instance. - CapacityReservationId *string - - // The ARN of the Capacity Reservation resource group in which to run the instance. - CapacityReservationResourceGroupArn *string - - noSmithyDocumentSerde -} - -// Describes a target Capacity Reservation or Capacity Reservation group. -type CapacityReservationTargetResponse struct { - - // The ID of the targeted Capacity Reservation. - CapacityReservationId *string - - // The ARN of the targeted Capacity Reservation group. - CapacityReservationResourceGroupArn *string - - noSmithyDocumentSerde -} - -// Information about the Capacity Reservation topology. -type CapacityReservationTopology struct { - - // The name of the Availability Zone or Local Zone that the Capacity Reservation - // is in. - AvailabilityZone *string - - // The ID of the Availability Zone or Local Zone that the Capacity Reservation is - // in. - AvailabilityZoneId *string - - // The ID of the Capacity Block. This parameter is only supported for UltraServer - // instances and identifies instances within the UltraServer domain. - CapacityBlockId *string - - // The ID of the Capacity Reservation. - CapacityReservationId *string - - // The name of the placement group that the Capacity Reservation is in. - GroupName *string - - // The instance type. - InstanceType *string - - // The network nodes. The nodes are hashed based on your account. Capacity - // Reservations from different accounts running under the same server will return a - // different hashed list of strings. - // - // The value is null or empty if: - // - // - The instance type is not supported. - // - // - The Capacity Reservation is in a state other than active or pending . - NetworkNodes []string - - // The current state of the Capacity Reservation. For the list of possible states, - // see [DescribeCapacityReservations]. - // - // [DescribeCapacityReservations]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCapacityReservations.html - State *string - - noSmithyDocumentSerde -} - -// Describes a carrier gateway. -type CarrierGateway struct { - - // The ID of the carrier gateway. - CarrierGatewayId *string - - // The Amazon Web Services account ID of the owner of the carrier gateway. - OwnerId *string - - // The state of the carrier gateway. - State CarrierGatewayState - - // The tags assigned to the carrier gateway. - Tags []Tag - - // The ID of the VPC associated with the carrier gateway. - VpcId *string - - noSmithyDocumentSerde -} - -// Information about the client certificate used for authentication. -type CertificateAuthentication struct { - - // The ARN of the client certificate. - ClientRootCertificateChain *string - - noSmithyDocumentSerde -} - -// Information about the client certificate to be used for authentication. -type CertificateAuthenticationRequest struct { - - // The ARN of the client certificate. The certificate must be signed by a - // certificate authority (CA) and it must be provisioned in Certificate Manager - // (ACM). - ClientRootCertificateChainArn *string - - noSmithyDocumentSerde -} - -// Provides authorization for Amazon to bring a specific IP address range to a -// specific Amazon Web Services account using bring your own IP addresses (BYOIP). -// For more information, see [Configuring your BYOIP address range]in the Amazon EC2 User Guide. -// -// [Configuring your BYOIP address range]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#prepare-for-byoip -type CidrAuthorizationContext struct { - - // The plain-text authorization message for the prefix and account. - // - // This member is required. - Message *string - - // The signed authorization message for the prefix and account. - // - // This member is required. - Signature *string - - noSmithyDocumentSerde -} - -// Describes an IPv4 CIDR block. -type CidrBlock struct { - - // The IPv4 CIDR block. - CidrBlock *string - - noSmithyDocumentSerde -} - -// Deprecated. -// -// Describes the ClassicLink DNS support status of a VPC. -type ClassicLinkDnsSupport struct { - - // Indicates whether ClassicLink DNS support is enabled for the VPC. - ClassicLinkDnsSupported *bool - - // The ID of the VPC. - VpcId *string - - noSmithyDocumentSerde -} - -// Deprecated. -// -// Describes a linked EC2-Classic instance. -type ClassicLinkInstance struct { - - // The security groups. - Groups []GroupIdentifier - - // The ID of the instance. - InstanceId *string - - // Any tags assigned to the instance. - Tags []Tag - - // The ID of the VPC. - VpcId *string - - noSmithyDocumentSerde -} - -// Describes a Classic Load Balancer. -type ClassicLoadBalancer struct { - - // The name of the load balancer. - Name *string - - noSmithyDocumentSerde -} - -// Describes the Classic Load Balancers to attach to a Spot Fleet. Spot Fleet -// registers the running Spot Instances with these Classic Load Balancers. -type ClassicLoadBalancersConfig struct { - - // One or more Classic Load Balancers. - ClassicLoadBalancers []ClassicLoadBalancer - - noSmithyDocumentSerde -} - -// Describes the state of a client certificate revocation list. -type ClientCertificateRevocationListStatus struct { - - // The state of the client certificate revocation list. - Code ClientCertificateRevocationListStatusCode - - // A message about the status of the client certificate revocation list, if - // applicable. - Message *string - - noSmithyDocumentSerde -} - -// The options for managing connection authorization for new client connections. -type ClientConnectOptions struct { - - // Indicates whether client connect options are enabled. The default is false (not - // enabled). - Enabled *bool - - // The Amazon Resource Name (ARN) of the Lambda function used for connection - // authorization. - LambdaFunctionArn *string - - noSmithyDocumentSerde -} - -// The options for managing connection authorization for new client connections. -type ClientConnectResponseOptions struct { - - // Indicates whether client connect options are enabled. - Enabled *bool - - // The Amazon Resource Name (ARN) of the Lambda function used for connection - // authorization. - LambdaFunctionArn *string - - // The status of any updates to the client connect options. - Status *ClientVpnEndpointAttributeStatus - - noSmithyDocumentSerde -} - -// Describes the client-specific data. -type ClientData struct { - - // A user-defined comment about the disk upload. - Comment *string - - // The time that the disk upload ends. - UploadEnd *time.Time - - // The size of the uploaded disk image, in GiB. - UploadSize *float64 - - // The time that the disk upload starts. - UploadStart *time.Time - - noSmithyDocumentSerde -} - -// Options for enabling a customizable text banner that will be displayed on -// Amazon Web Services provided clients when a VPN session is established. -type ClientLoginBannerOptions struct { - - // Customizable text that will be displayed in a banner on Amazon Web Services - // provided clients when a VPN session is established. UTF-8 encoded characters - // only. Maximum of 1400 characters. - BannerText *string - - // Enable or disable a customizable text banner that will be displayed on Amazon - // Web Services provided clients when a VPN session is established. - // - // Valid values: true | false - // - // Default value: false - Enabled *bool - - noSmithyDocumentSerde -} - -// Current state of options for customizable text banner that will be displayed on -// Amazon Web Services provided clients when a VPN session is established. -type ClientLoginBannerResponseOptions struct { - - // Customizable text that will be displayed in a banner on Amazon Web Services - // provided clients when a VPN session is established. UTF-8 encoded characters - // only. Maximum of 1400 characters. - BannerText *string - - // Current state of text banner feature. - // - // Valid values: true | false - Enabled *bool - - noSmithyDocumentSerde -} - -// Client Route Enforcement is a feature of Client VPN that helps enforce -// administrator defined routes on devices connected through the VPN. This feature -// helps improve your security posture by ensuring that network traffic originating -// from a connected client is not inadvertently sent outside the VPN tunnel. -// -// Client Route Enforcement works by monitoring the route table of a connected -// device for routing policy changes to the VPN connection. If the feature detects -// any VPN routing policy modifications, it will automatically force an update to -// the route table, reverting it back to the expected route configurations. -type ClientRouteEnforcementOptions struct { - - // Enable or disable Client Route Enforcement. The state can either be true - // (enabled) or false (disabled). The default is false . - // - // Valid values: true | false - // - // Default value: false - Enforced *bool - - noSmithyDocumentSerde -} - -// The current status of Client Route Enforcement. -type ClientRouteEnforcementResponseOptions struct { - - // Status of the client route enforcement feature, indicating whether Client Route - // Enforcement is true (enabled) or false (disabled). - // - // Valid values: true | false - // - // Default value: false - Enforced *bool - - noSmithyDocumentSerde -} - -// Describes the authentication methods used by a Client VPN endpoint. For more -// information, see [Authentication]in the Client VPN Administrator Guide. -// -// [Authentication]: https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/client-authentication.html -type ClientVpnAuthentication struct { - - // Information about the Active Directory, if applicable. - ActiveDirectory *DirectoryServiceAuthentication - - // Information about the IAM SAML identity provider, if applicable. - FederatedAuthentication *FederatedAuthentication - - // Information about the authentication certificates, if applicable. - MutualAuthentication *CertificateAuthentication - - // The authentication type used. - Type ClientVpnAuthenticationType - - noSmithyDocumentSerde -} - -// Describes the authentication method to be used by a Client VPN endpoint. For -// more information, see [Authentication]in the Client VPN Administrator Guide. -// -// [Authentication]: https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/authentication-authrization.html#client-authentication -type ClientVpnAuthenticationRequest struct { - - // Information about the Active Directory to be used, if applicable. You must - // provide this information if Type is directory-service-authentication . - ActiveDirectory *DirectoryServiceAuthenticationRequest - - // Information about the IAM SAML identity provider to be used, if applicable. You - // must provide this information if Type is federated-authentication . - FederatedAuthentication *FederatedAuthenticationRequest - - // Information about the authentication certificates to be used, if applicable. - // You must provide this information if Type is certificate-authentication . - MutualAuthentication *CertificateAuthenticationRequest - - // The type of client authentication to be used. - Type ClientVpnAuthenticationType - - noSmithyDocumentSerde -} - -// Describes the state of an authorization rule. -type ClientVpnAuthorizationRuleStatus struct { - - // The state of the authorization rule. - Code ClientVpnAuthorizationRuleStatusCode - - // A message about the status of the authorization rule, if applicable. - Message *string - - noSmithyDocumentSerde -} - -// Describes a client connection. -type ClientVpnConnection struct { - - // The IP address of the client. - ClientIp *string - - // The IPv6 address assigned to the client connection when using a dual-stack - // Client VPN endpoint. This field is only populated when the endpoint is - // configured for dual-stack addressing, and the client is using IPv6 for - // connectivity. - ClientIpv6Address *string - - // The ID of the Client VPN endpoint to which the client is connected. - ClientVpnEndpointId *string - - // The common name associated with the client. This is either the name of the - // client certificate, or the Active Directory user name. - CommonName *string - - // The date and time the client connection was terminated. - ConnectionEndTime *string - - // The date and time the client connection was established. - ConnectionEstablishedTime *string - - // The ID of the client connection. - ConnectionId *string - - // The number of bytes received by the client. - EgressBytes *string - - // The number of packets received by the client. - EgressPackets *string - - // The number of bytes sent by the client. - IngressBytes *string - - // The number of packets sent by the client. - IngressPackets *string - - // The statuses returned by the client connect handler for posture compliance, if - // applicable. - PostureComplianceStatuses []string - - // The current state of the client connection. - Status *ClientVpnConnectionStatus - - // The current date and time. - Timestamp *string - - // The username of the client who established the client connection. This - // information is only provided if Active Directory client authentication is used. - Username *string - - noSmithyDocumentSerde -} - -// Describes the status of a client connection. -type ClientVpnConnectionStatus struct { - - // The state of the client connection. - Code ClientVpnConnectionStatusCode - - // A message about the status of the client connection, if applicable. - Message *string - - noSmithyDocumentSerde -} - -// Describes a Client VPN endpoint. -type ClientVpnEndpoint struct { - - // Information about the associated target networks. A target network is a subnet - // in a VPC. - // - // Deprecated: This property is deprecated. To view the target networks associated - // with a Client VPN endpoint, call DescribeClientVpnTargetNetworks and inspect the - // clientVpnTargetNetworks response element. - AssociatedTargetNetworks []AssociatedTargetNetwork - - // Information about the authentication method used by the Client VPN endpoint. - AuthenticationOptions []ClientVpnAuthentication - - // The IPv4 address range, in CIDR notation, from which client IP addresses are - // assigned. - ClientCidrBlock *string - - // The options for managing connection authorization for new client connections. - ClientConnectOptions *ClientConnectResponseOptions - - // Options for enabling a customizable text banner that will be displayed on - // Amazon Web Services provided clients when a VPN session is established. - ClientLoginBannerOptions *ClientLoginBannerResponseOptions - - // Client route enforcement is a feature of the Client VPN service that helps - // enforce administrator defined routes on devices connected through the VPN. T his - // feature helps improve your security posture by ensuring that network traffic - // originating from a connected client is not inadvertently sent outside the VPN - // tunnel. - // - // Client route enforcement works by monitoring the route table of a connected - // device for routing policy changes to the VPN connection. If the feature detects - // any VPN routing policy modifications, it will automatically force an update to - // the route table, reverting it back to the expected route configurations. - ClientRouteEnforcementOptions *ClientRouteEnforcementResponseOptions - - // The ID of the Client VPN endpoint. - ClientVpnEndpointId *string - - // Information about the client connection logging options for the Client VPN - // endpoint. - ConnectionLogOptions *ConnectionLogResponseOptions - - // The date and time the Client VPN endpoint was created. - CreationTime *string - - // The date and time the Client VPN endpoint was deleted, if applicable. - DeletionTime *string - - // A brief description of the endpoint. - Description *string - - // Indicates whether the client VPN session is disconnected after the maximum - // sessionTimeoutHours is reached. If true , users are prompted to reconnect client - // VPN. If false , client VPN attempts to reconnect automatically. The default - // value is true . - DisconnectOnSessionTimeout *bool - - // The DNS name to be used by clients when connecting to the Client VPN endpoint. - DnsName *string - - // Information about the DNS servers to be used for DNS resolution. - DnsServers []string - - // The IP address type of the Client VPN endpoint. Possible values are ipv4 for - // IPv4 addressing only, ipv6 for IPv6 addressing only, or dual-stack for both - // IPv4 and IPv6 addressing. - EndpointIpAddressType EndpointIpAddressType - - // The IDs of the security groups for the target network. - SecurityGroupIds []string - - // The URL of the self-service portal. - SelfServicePortalUrl *string - - // The ARN of the server certificate. - ServerCertificateArn *string - - // The maximum VPN session duration time in hours. - // - // Valid values: 8 | 10 | 12 | 24 - // - // Default value: 24 - SessionTimeoutHours *int32 - - // Indicates whether split-tunnel is enabled in the Client VPN endpoint. - // - // For information about split-tunnel VPN endpoints, see [Split-Tunnel Client VPN endpoint] in the Client VPN - // Administrator Guide. - // - // [Split-Tunnel Client VPN endpoint]: https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html - SplitTunnel *bool - - // The current state of the Client VPN endpoint. - Status *ClientVpnEndpointStatus - - // Any tags assigned to the Client VPN endpoint. - Tags []Tag - - // The IP address type of the Client VPN endpoint. Possible values are either ipv4 - // for IPv4 addressing only, ipv6 for IPv6 addressing only, or dual-stack for both - // IPv4 and IPv6 addressing. - TrafficIpAddressType TrafficIpAddressType - - // The transport protocol used by the Client VPN endpoint. - TransportProtocol TransportProtocol - - // The ID of the VPC. - VpcId *string - - // The port number for the Client VPN endpoint. - VpnPort *int32 - - // The protocol used by the VPN session. - VpnProtocol VpnProtocol - - noSmithyDocumentSerde -} - -// Describes the status of the Client VPN endpoint attribute. -type ClientVpnEndpointAttributeStatus struct { - - // The status code. - Code ClientVpnEndpointAttributeStatusCode - - // The status message. - Message *string - - noSmithyDocumentSerde -} - -// Describes the state of a Client VPN endpoint. -type ClientVpnEndpointStatus struct { - - // The state of the Client VPN endpoint. Possible states include: - // - // - pending-associate - The Client VPN endpoint has been created but no target - // networks have been associated. The Client VPN endpoint cannot accept - // connections. - // - // - available - The Client VPN endpoint has been created and a target network - // has been associated. The Client VPN endpoint can accept connections. - // - // - deleting - The Client VPN endpoint is being deleted. The Client VPN endpoint - // cannot accept connections. - // - // - deleted - The Client VPN endpoint has been deleted. The Client VPN endpoint - // cannot accept connections. - Code ClientVpnEndpointStatusCode - - // A message about the status of the Client VPN endpoint. - Message *string - - noSmithyDocumentSerde -} - -// Information about a Client VPN endpoint route. -type ClientVpnRoute struct { - - // The ID of the Client VPN endpoint with which the route is associated. - ClientVpnEndpointId *string - - // A brief description of the route. - Description *string - - // The IPv4 address range, in CIDR notation, of the route destination. - DestinationCidr *string - - // Indicates how the route was associated with the Client VPN endpoint. associate - // indicates that the route was automatically added when the target network was - // associated with the Client VPN endpoint. add-route indicates that the route was - // manually added using the CreateClientVpnRoute action. - Origin *string - - // The current state of the route. - Status *ClientVpnRouteStatus - - // The ID of the subnet through which traffic is routed. - TargetSubnet *string - - // The route type. - Type *string - - noSmithyDocumentSerde -} - -// Describes the state of a Client VPN endpoint route. -type ClientVpnRouteStatus struct { - - // The state of the Client VPN endpoint route. - Code ClientVpnRouteStatusCode - - // A message about the status of the Client VPN endpoint route, if applicable. - Message *string - - noSmithyDocumentSerde -} - -// Options for sending VPN tunnel logs to CloudWatch. -type CloudWatchLogOptions struct { - - // Indicates whether Border Gateway Protocol (BGP) logging is enabled for the VPN - // connection. Default value is False . - // - // Valid values: True | False - BgpLogEnabled *bool - - // The Amazon Resource Name (ARN) of the CloudWatch log group for BGP logs. - BgpLogGroupArn *string - - // The output format for BGP logs sent to CloudWatch. Default format is json . - // - // Valid values: json | text - BgpLogOutputFormat *string - - // Status of VPN tunnel logging feature. Default value is False . - // - // Valid values: True | False - LogEnabled *bool - - // The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to. - LogGroupArn *string - - // Configured log format. Default format is json . - // - // Valid values: json | text - LogOutputFormat *string - - noSmithyDocumentSerde -} - -// Options for sending VPN tunnel logs to CloudWatch. -type CloudWatchLogOptionsSpecification struct { - - // Specifies whether to enable BGP logging for the VPN connection. Default value - // is False . - // - // Valid values: True | False - BgpLogEnabled *bool - - // The Amazon Resource Name (ARN) of the CloudWatch log group where BGP logs will - // be sent. - BgpLogGroupArn *string - - // The desired output format for BGP logs to be sent to CloudWatch. Default format - // is json . - // - // Valid values: json | text - BgpLogOutputFormat *string - - // Enable or disable VPN tunnel logging feature. Default value is False . - // - // Valid values: True | False - LogEnabled *bool - - // The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to. - LogGroupArn *string - - // Set log format. Default format is json . - // - // Valid values: json | text - LogOutputFormat *string - - noSmithyDocumentSerde -} - -// Describes address usage for a customer-owned address pool. -type CoipAddressUsage struct { - - // The allocation ID of the address. - AllocationId *string - - // The Amazon Web Services account ID. - AwsAccountId *string - - // The Amazon Web Services service. - AwsService *string - - // The customer-owned IP address. - CoIp *string - - noSmithyDocumentSerde -} - -// Information about a customer-owned IP address range. -type CoipCidr struct { - - // An address range in a customer-owned IP address space. - Cidr *string - - // The ID of the address pool. - CoipPoolId *string - - // The ID of the local gateway route table. - LocalGatewayRouteTableId *string - - noSmithyDocumentSerde -} - -// Describes a customer-owned address pool. -type CoipPool struct { - - // The ID of the local gateway route table. - LocalGatewayRouteTableId *string - - // The ARN of the address pool. - PoolArn *string - - // The address ranges of the address pool. - PoolCidrs []string - - // The ID of the address pool. - PoolId *string - - // The tags. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes the client connection logging options for the Client VPN endpoint. -type ConnectionLogOptions struct { - - // The name of the CloudWatch Logs log group. Required if connection logging is - // enabled. - CloudwatchLogGroup *string - - // The name of the CloudWatch Logs log stream to which the connection data is - // published. - CloudwatchLogStream *string - - // Indicates whether connection logging is enabled. - Enabled *bool - - noSmithyDocumentSerde -} - -// Information about the client connection logging options for a Client VPN -// endpoint. -type ConnectionLogResponseOptions struct { - - // The name of the Amazon CloudWatch Logs log group to which connection logging - // data is published. - CloudwatchLogGroup *string - - // The name of the Amazon CloudWatch Logs log stream to which connection logging - // data is published. - CloudwatchLogStream *string - - // Indicates whether client connection logging is enabled for the Client VPN - // endpoint. - Enabled *bool - - noSmithyDocumentSerde -} - -// Describes a connection notification for a VPC endpoint or VPC endpoint service. -type ConnectionNotification struct { - - // The events for the notification. Valid values are Accept , Connect , Delete , - // and Reject . - ConnectionEvents []string - - // The ARN of the SNS topic for the notification. - ConnectionNotificationArn *string - - // The ID of the notification. - ConnectionNotificationId *string - - // The state of the notification. - ConnectionNotificationState ConnectionNotificationState - - // The type of notification. - ConnectionNotificationType ConnectionNotificationType - - // The ID of the endpoint service. - ServiceId *string - - // The Region for the endpoint service. - ServiceRegion *string - - // The ID of the VPC endpoint. - VpcEndpointId *string - - noSmithyDocumentSerde -} - -// A security group connection tracking configuration that enables you to set the -// idle timeout for connection tracking on an Elastic network interface. For more -// information, see [Connection tracking timeouts]in the Amazon EC2 User Guide. -// -// [Connection tracking timeouts]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts -type ConnectionTrackingConfiguration struct { - - // Timeout (in seconds) for idle TCP connections in an established state. Min: 60 - // seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: - // Less than 432000 seconds. - TcpEstablishedTimeout *int32 - - // Timeout (in seconds) for idle UDP flows classified as streams which have seen - // more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 - // minutes). Default: 180 seconds. - UdpStreamTimeout *int32 - - // Timeout (in seconds) for idle UDP flows that have seen traffic only in a single - // direction or a single request-response transaction. Min: 30 seconds. Max: 60 - // seconds. Default: 30 seconds. - UdpTimeout *int32 - - noSmithyDocumentSerde -} - -// A security group connection tracking specification that enables you to set the -// idle timeout for connection tracking on an Elastic network interface. For more -// information, see [Connection tracking timeouts]in the Amazon EC2 User Guide. -// -// [Connection tracking timeouts]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts -type ConnectionTrackingSpecification struct { - - // Timeout (in seconds) for idle TCP connections in an established state. Min: 60 - // seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: - // Less than 432000 seconds. - TcpEstablishedTimeout *int32 - - // Timeout (in seconds) for idle UDP flows classified as streams which have seen - // more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 - // minutes). Default: 180 seconds. - UdpStreamTimeout *int32 - - // Timeout (in seconds) for idle UDP flows that have seen traffic only in a single - // direction or a single request-response transaction. Min: 30 seconds. Max: 60 - // seconds. Default: 30 seconds. - UdpTimeout *int32 - - noSmithyDocumentSerde -} - -// A security group connection tracking specification request that enables you to -// set the idle timeout for connection tracking on an Elastic network interface. -// For more information, see [Connection tracking timeouts]in the Amazon EC2 User Guide. -// -// [Connection tracking timeouts]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts -type ConnectionTrackingSpecificationRequest struct { - - // Timeout (in seconds) for idle TCP connections in an established state. Min: 60 - // seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: - // Less than 432000 seconds. - TcpEstablishedTimeout *int32 - - // Timeout (in seconds) for idle UDP flows classified as streams which have seen - // more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 - // minutes). Default: 180 seconds. - UdpStreamTimeout *int32 - - // Timeout (in seconds) for idle UDP flows that have seen traffic only in a single - // direction or a single request-response transaction. Min: 30 seconds. Max: 60 - // seconds. Default: 30 seconds. - UdpTimeout *int32 - - noSmithyDocumentSerde -} - -// A security group connection tracking specification response that enables you to -// set the idle timeout for connection tracking on an Elastic network interface. -// For more information, see [Connection tracking timeouts]in the Amazon EC2 User Guide. -// -// [Connection tracking timeouts]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts -type ConnectionTrackingSpecificationResponse struct { - - // Timeout (in seconds) for idle TCP connections in an established state. Min: 60 - // seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: - // Less than 432000 seconds. - TcpEstablishedTimeout *int32 - - // Timeout (in seconds) for idle UDP flows classified as streams which have seen - // more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 - // minutes). Default: 180 seconds. - UdpStreamTimeout *int32 - - // Timeout (in seconds) for idle UDP flows that have seen traffic only in a single - // direction or a single request-response transaction. Min: 30 seconds. Max: 60 - // seconds. Default: 30 seconds. - UdpTimeout *int32 - - noSmithyDocumentSerde -} - -// Describes a conversion task. -type ConversionTask struct { - - // The ID of the conversion task. - ConversionTaskId *string - - // The time when the task expires. If the upload isn't complete before the - // expiration time, we automatically cancel the task. - ExpirationTime *string - - // If the task is for importing an instance, this contains information about the - // import instance task. - ImportInstance *ImportInstanceTaskDetails - - // If the task is for importing a volume, this contains information about the - // import volume task. - ImportVolume *ImportVolumeTaskDetails - - // The state of the conversion task. - State ConversionTaskState - - // The status message related to the conversion task. - StatusMessage *string - - // Any tags assigned to the task. - Tags []Tag - - noSmithyDocumentSerde -} - -// The CPU options for the instance. -type CpuOptions struct { - - // Indicates whether the instance is enabled for AMD SEV-SNP. For more - // information, see [AMD SEV-SNP]. - // - // [AMD SEV-SNP]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html - AmdSevSnp AmdSevSnpSpecification - - // The number of CPU cores for the instance. - CoreCount *int32 - - // The number of threads per CPU core. - ThreadsPerCore *int32 - - noSmithyDocumentSerde -} - -// The CPU options for the instance. Both the core count and threads per core must -// be specified in the request. -type CpuOptionsRequest struct { - - // Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is - // supported with M6a, R6a, and C6a instance types only. For more information, see [AMD SEV-SNP] - // . - // - // [AMD SEV-SNP]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html - AmdSevSnp AmdSevSnpSpecification - - // The number of CPU cores for the instance. - CoreCount *int32 - - // The number of threads per CPU core. To disable multithreading for the instance, - // specify a value of 1 . Otherwise, specify the default value of 2 . - ThreadsPerCore *int32 - - noSmithyDocumentSerde -} - -// The CPU performance to consider, using an instance family as the baseline -// reference. -type CpuPerformanceFactor struct { - - // Specify an instance family to use as the baseline reference for CPU - // performance. All instance types that match your specified attributes will be - // compared against the CPU performance of the referenced instance family, - // regardless of CPU manufacturer or architecture differences. - // - // Currently, only one instance family can be specified in the list. - References []PerformanceFactorReference - - noSmithyDocumentSerde -} - -// The CPU performance to consider, using an instance family as the baseline -// reference. -type CpuPerformanceFactorRequest struct { - - // Specify an instance family to use as the baseline reference for CPU - // performance. All instance types that match your specified attributes will be - // compared against the CPU performance of the referenced instance family, - // regardless of CPU manufacturer or architecture differences. - // - // Currently, only one instance family can be specified in the list. - References []PerformanceFactorReferenceRequest - - noSmithyDocumentSerde -} - -// Describes the instances that could not be launched by the fleet. -type CreateFleetError struct { - - // The error code that indicates why the instance could not be launched. For more - // information about error codes, see [Error codes]. - // - // [Error codes]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html - ErrorCode *string - - // The error message that describes why the instance could not be launched. For - // more information about error messages, see [Error codes]. - // - // [Error codes]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html - ErrorMessage *string - - // The launch templates and overrides that were used for launching the instances. - // The values that you specify in the Overrides replace the values in the launch - // template. - LaunchTemplateAndOverrides *LaunchTemplateAndOverridesResponse - - // Indicates if the instance that could not be launched was a Spot Instance or - // On-Demand Instance. - Lifecycle InstanceLifecycle - - noSmithyDocumentSerde -} - -// Describes the instances that were launched by the fleet. -type CreateFleetInstance struct { - - // The IDs of the instances. - InstanceIds []string - - // The instance type. - InstanceType InstanceType - - // The launch templates and overrides that were used for launching the instances. - // The values that you specify in the Overrides replace the values in the launch - // template. - LaunchTemplateAndOverrides *LaunchTemplateAndOverridesResponse - - // Indicates if the instance that was launched is a Spot Instance or On-Demand - // Instance. - Lifecycle InstanceLifecycle - - // The value is windows for Windows instances in an EC2 Fleet. Otherwise, the - // value is blank. - Platform PlatformValues - - noSmithyDocumentSerde -} - -// The options for a Connect attachment. -type CreateTransitGatewayConnectRequestOptions struct { - - // The tunnel protocol. - // - // This member is required. - Protocol ProtocolValue - - noSmithyDocumentSerde -} - -// The options for the transit gateway multicast domain. -type CreateTransitGatewayMulticastDomainRequestOptions struct { - - // Indicates whether to automatically accept cross-account subnet associations - // that are associated with the transit gateway multicast domain. - AutoAcceptSharedAssociations AutoAcceptSharedAssociationsValue - - // Specify whether to enable Internet Group Management Protocol (IGMP) version 2 - // for the transit gateway multicast domain. - Igmpv2Support Igmpv2SupportValue - - // Specify whether to enable support for statically configuring multicast group - // sources for a domain. - StaticSourcesSupport StaticSourcesSupportValue - - noSmithyDocumentSerde -} - -// Describes whether dynamic routing is enabled or disabled for the transit -// gateway peering request. -type CreateTransitGatewayPeeringAttachmentRequestOptions struct { - - // Indicates whether dynamic routing is enabled or disabled. - DynamicRouting DynamicRoutingValue - - noSmithyDocumentSerde -} - -// Describes the options for a VPC attachment. -type CreateTransitGatewayVpcAttachmentRequestOptions struct { - - // Enable or disable support for appliance mode. If enabled, a traffic flow - // between a source and destination uses the same Availability Zone for the VPC - // attachment for the lifetime of that flow. The default is disable . - ApplianceModeSupport ApplianceModeSupportValue - - // Enable or disable DNS support. The default is enable . - DnsSupport DnsSupportValue - - // Enable or disable IPv6 support. The default is disable . - Ipv6Support Ipv6SupportValue - - // Enables you to reference a security group across VPCs attached to a transit - // gateway to simplify security group management. - // - // This option is set to enable by default. However, at the transit gateway level - // the default is set to disable . - // - // For more information about security group referencing, see [Security group referencing] in the Amazon Web - // Services Transit Gateways Guide. - // - // [Security group referencing]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security - SecurityGroupReferencingSupport SecurityGroupReferencingSupportValue - - noSmithyDocumentSerde -} - -// Describes the CIDR options for a Verified Access endpoint. -type CreateVerifiedAccessEndpointCidrOptions struct { - - // The CIDR. - Cidr *string - - // The port ranges. - PortRanges []CreateVerifiedAccessEndpointPortRange - - // The protocol. - Protocol VerifiedAccessEndpointProtocol - - // The IDs of the subnets. - SubnetIds []string - - noSmithyDocumentSerde -} - -// Describes the network interface options when creating an Amazon Web Services -// Verified Access endpoint using the network-interface type. -type CreateVerifiedAccessEndpointEniOptions struct { - - // The ID of the network interface. - NetworkInterfaceId *string - - // The IP port number. - Port *int32 - - // The port ranges. - PortRanges []CreateVerifiedAccessEndpointPortRange - - // The IP protocol. - Protocol VerifiedAccessEndpointProtocol - - noSmithyDocumentSerde -} - -// Describes the load balancer options when creating an Amazon Web Services -// Verified Access endpoint using the load-balancer type. -type CreateVerifiedAccessEndpointLoadBalancerOptions struct { - - // The ARN of the load balancer. - LoadBalancerArn *string - - // The IP port number. - Port *int32 - - // The port ranges. - PortRanges []CreateVerifiedAccessEndpointPortRange - - // The IP protocol. - Protocol VerifiedAccessEndpointProtocol - - // The IDs of the subnets. You can specify only one subnet per Availability Zone. - SubnetIds []string - - noSmithyDocumentSerde -} - -// Describes the port range for a Verified Access endpoint. -type CreateVerifiedAccessEndpointPortRange struct { - - // The start of the port range. - FromPort *int32 - - // The end of the port range. - ToPort *int32 - - noSmithyDocumentSerde -} - -// Describes the RDS options for a Verified Access endpoint. -type CreateVerifiedAccessEndpointRdsOptions struct { - - // The port. - Port *int32 - - // The protocol. - Protocol VerifiedAccessEndpointProtocol - - // The ARN of the DB cluster. - RdsDbClusterArn *string - - // The ARN of the RDS instance. - RdsDbInstanceArn *string - - // The ARN of the RDS proxy. - RdsDbProxyArn *string - - // The RDS endpoint. - RdsEndpoint *string - - // The IDs of the subnets. You can specify only one subnet per Availability Zone. - SubnetIds []string - - noSmithyDocumentSerde -} - -// Describes the OpenID Connect (OIDC) options. -type CreateVerifiedAccessNativeApplicationOidcOptions struct { - - // The authorization endpoint of the IdP. - AuthorizationEndpoint *string - - // The OAuth 2.0 client identifier. - ClientId *string - - // The OAuth 2.0 client secret. - ClientSecret *string - - // The OIDC issuer identifier of the IdP. - Issuer *string - - // The public signing key endpoint. - PublicSigningKeyEndpoint *string - - // The set of user claims to be requested from the IdP. - Scope *string - - // The token endpoint of the IdP. - TokenEndpoint *string - - // The user info endpoint of the IdP. - UserInfoEndpoint *string - - noSmithyDocumentSerde -} - -// Describes the options when creating an Amazon Web Services Verified Access -// trust provider using the device type. -type CreateVerifiedAccessTrustProviderDeviceOptions struct { - - // The URL Amazon Web Services Verified Access will use to verify the - // authenticity of the device tokens. - PublicSigningKeyUrl *string - - // The ID of the tenant application with the device-identity provider. - TenantId *string - - noSmithyDocumentSerde -} - -// Describes the options when creating an Amazon Web Services Verified Access -// trust provider using the user type. -type CreateVerifiedAccessTrustProviderOidcOptions struct { - - // The OIDC authorization endpoint. - AuthorizationEndpoint *string - - // The client identifier. - ClientId *string - - // The client secret. - ClientSecret *string - - // The OIDC issuer. - Issuer *string - - // OpenID Connect (OIDC) scopes are used by an application during authentication - // to authorize access to a user's details. Each scope returns a specific set of - // user attributes. - Scope *string - - // The OIDC token endpoint. - TokenEndpoint *string - - // The OIDC user info endpoint. - UserInfoEndpoint *string - - noSmithyDocumentSerde -} - -// Describes the user or group to be added or removed from the list of create -// volume permissions for a volume. -type CreateVolumePermission struct { - - // The group to be added or removed. The possible value is all . - Group PermissionGroup - - // The ID of the Amazon Web Services account to be added or removed. - UserId *string - - noSmithyDocumentSerde -} - -// Describes modifications to the list of create volume permissions for a volume. -type CreateVolumePermissionModifications struct { - - // Adds the specified Amazon Web Services account ID or group to the list. - Add []CreateVolumePermission - - // Removes the specified Amazon Web Services account ID or group from the list. - Remove []CreateVolumePermission - - noSmithyDocumentSerde -} - -// The maximum age for allowed images. -type CreationDateCondition struct { - - // The maximum number of days that have elapsed since the image was created. For - // example, a value of 300 allows images that were created within the last 300 - // days. - MaximumDaysSinceCreated *int32 - - noSmithyDocumentSerde -} - -// The maximum age for allowed images. -type CreationDateConditionRequest struct { - - // The maximum number of days that have elapsed since the image was created. For - // example, a value of 300 allows images that were created within the last 300 - // days. - MaximumDaysSinceCreated *int32 - - noSmithyDocumentSerde -} - -// Describes the credit option for CPU usage of a T instance. -type CreditSpecification struct { - - // The credit option for CPU usage of a T instance. - // - // Valid values: standard | unlimited - CpuCredits *string - - noSmithyDocumentSerde -} - -// The credit option for CPU usage of a T instance. -type CreditSpecificationRequest struct { - - // The credit option for CPU usage of a T instance. - // - // Valid values: standard | unlimited - // - // This member is required. - CpuCredits *string - - noSmithyDocumentSerde -} - -// Describes a customer gateway. -type CustomerGateway struct { - - // The customer gateway device's Border Gateway Protocol (BGP) Autonomous System - // Number (ASN). - // - // Valid values: 1 to 2,147,483,647 - BgpAsn *string - - // The customer gateway device's Border Gateway Protocol (BGP) Autonomous System - // Number (ASN). - // - // Valid values: 2,147,483,648 to 4,294,967,295 - BgpAsnExtended *string - - // The Amazon Resource Name (ARN) for the customer gateway certificate. - CertificateArn *string - - // The ID of the customer gateway. - CustomerGatewayId *string - - // The name of customer gateway device. - DeviceName *string - - // The IP address for the customer gateway device's outside interface. The - // address must be static. If OutsideIpAddressType in your VPN connection options - // is set to PrivateIpv4 , you can use an RFC6598 or RFC1918 private IPv4 address. - // If OutsideIpAddressType is set to PublicIpv4 , you can use a public IPv4 - // address. If OutsideIpAddressType is set to Ipv6 , you can use a public IPv6 - // address. - IpAddress *string - - // The current state of the customer gateway ( pending | available | deleting | - // deleted ). - State *string - - // Any tags assigned to the customer gateway. - Tags []Tag - - // The type of VPN connection the customer gateway supports ( ipsec.1 ). - Type *string - - noSmithyDocumentSerde -} - -// A query used for retrieving network health data. -type DataQuery struct { - - // The Region or Availability Zone that's the target for the data query. For - // example, eu-north-1 . - Destination *string - - // A user-defined ID associated with a data query that's returned in the - // dataResponse identifying the query. For example, if you set the Id to MyQuery01 - // in the query, the dataResponse identifies the query as MyQuery01 . - Id *string - - // The metric used for the network performance request. - Metric MetricType - - // The aggregation period used for the data query. - Period PeriodType - - // The Region or Availability Zone that's the source for the data query. For - // example, us-east-1 . - Source *string - - // The metric data aggregation period, p50 , between the specified startDate and - // endDate . For example, a metric of five_minutes is the median of all the data - // points gathered within those five minutes. p50 is the only supported metric. - Statistic StatisticType - - noSmithyDocumentSerde -} - -// The response to a DataQuery . -type DataResponse struct { - - // The Region or Availability Zone that's the destination for the data query. For - // example, eu-west-1 . - Destination *string - - // The ID passed in the DataQuery . - Id *string - - // The metric used for the network performance request. - Metric MetricType - - // A list of MetricPoint objects. - MetricPoints []MetricPoint - - // The period used for the network performance request. - Period PeriodType - - // The Region or Availability Zone that's the source for the data query. For - // example, us-east-1 . - Source *string - - // The statistic used for the network performance request. - Statistic StatisticType - - noSmithyDocumentSerde -} - -// Describes the metadata of the account status report. -type DeclarativePoliciesReport struct { - - // The time when the report generation ended. - EndTime *time.Time - - // The ID of the report. - ReportId *string - - // The name of the Amazon S3 bucket where the report is located. - S3Bucket *string - - // The prefix for your S3 object. - S3Prefix *string - - // The time when the report generation started. - StartTime *time.Time - - // The current status of the report. - Status ReportState - - // Any tags assigned to the report. - Tags []Tag - - // The root ID, organizational unit ID, or account ID. - // - // Format: - // - // - For root: r-ab12 - // - // - For OU: ou-ab12-cdef1234 - // - // - For account: 123456789012 - TargetId *string - - noSmithyDocumentSerde -} - -// Describes an EC2 Fleet error. -type DeleteFleetError struct { - - // The error code. - Code DeleteFleetErrorCode - - // The description for the error code. - Message *string - - noSmithyDocumentSerde -} - -// Describes an EC2 Fleet that was not successfully deleted. -type DeleteFleetErrorItem struct { - - // The error. - Error *DeleteFleetError - - // The ID of the EC2 Fleet. - FleetId *string - - noSmithyDocumentSerde -} - -// Describes an EC2 Fleet that was successfully deleted. -type DeleteFleetSuccessItem struct { - - // The current state of the EC2 Fleet. - CurrentFleetState FleetStateCode - - // The ID of the EC2 Fleet. - FleetId *string - - // The previous state of the EC2 Fleet. - PreviousFleetState FleetStateCode - - noSmithyDocumentSerde -} - -// Describes a launch template version that could not be deleted. -type DeleteLaunchTemplateVersionsResponseErrorItem struct { - - // The ID of the launch template. - LaunchTemplateId *string - - // The name of the launch template. - LaunchTemplateName *string - - // Information about the error. - ResponseError *ResponseError - - // The version number of the launch template. - VersionNumber *int64 - - noSmithyDocumentSerde -} - -// Describes a launch template version that was successfully deleted. -type DeleteLaunchTemplateVersionsResponseSuccessItem struct { - - // The ID of the launch template. - LaunchTemplateId *string - - // The name of the launch template. - LaunchTemplateName *string - - // The version number of the launch template. - VersionNumber *int64 - - noSmithyDocumentSerde -} - -// Describes the error for a Reserved Instance whose queued purchase could not be -// deleted. -type DeleteQueuedReservedInstancesError struct { - - // The error code. - Code DeleteQueuedReservedInstancesErrorCode - - // The error message. - Message *string - - noSmithyDocumentSerde -} - -// The snapshot ID and its deletion result code. -type DeleteSnapshotReturnCode struct { - - // The result code from the snapshot deletion attempt. Possible values: - // - // - success - The snapshot was successfully deleted. - // - // - skipped - The snapshot was not deleted because it's associated with other - // AMIs. - // - // - missing-permissions - The snapshot was not deleted because the role lacks - // DeleteSnapshot permissions. For more information, see [How Amazon EBS works with IAM]. - // - // - internal-error - The snapshot was not deleted due to a server error. - // - // - client-error - The snapshot was not deleted due to a client configuration - // error. - // - // For details about an error, check the DeleteSnapshot event in the CloudTrail - // event history. For more information, see [View event history]in the Amazon Web Services CloudTrail - // User Guide. - // - // [View event history]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/tutorial-event-history.html - // [How Amazon EBS works with IAM]: https://docs.aws.amazon.com/ebs/latest/userguide/security_iam_service-with-iam.html - ReturnCode SnapshotReturnCodes - - // The ID of the snapshot. - SnapshotId *string - - noSmithyDocumentSerde -} - -// The maximum period since deprecation for allowed images. -type DeprecationTimeCondition struct { - - // The maximum number of days that have elapsed since the image was deprecated. - // When set to 0 , no deprecated images are allowed. - MaximumDaysSinceDeprecated *int32 - - noSmithyDocumentSerde -} - -// The maximum period since deprecation for allowed images. -type DeprecationTimeConditionRequest struct { - - // The maximum number of days that have elapsed since the image was deprecated. - // Set to 0 to exclude all deprecated images. - MaximumDaysSinceDeprecated *int32 - - noSmithyDocumentSerde -} - -// Information about the tag keys to deregister for the current Region. You can -// either specify individual tag keys or deregister all tag keys in the current -// Region. You must specify either IncludeAllTagsOfInstance or InstanceTagKeys in -// the request -type DeregisterInstanceTagAttributeRequest struct { - - // Indicates whether to deregister all tag keys in the current Region. Specify - // false to deregister all tag keys. - IncludeAllTagsOfInstance *bool - - // Information about the tag keys to deregister. - InstanceTagKeys []string - - noSmithyDocumentSerde -} - -// Describe details about a Windows image with Windows fast launch enabled that -// meets the requested criteria. Criteria are defined by the -// DescribeFastLaunchImages action filters. -type DescribeFastLaunchImagesSuccessItem struct { - - // The image ID that identifies the Windows fast launch enabled image. - ImageId *string - - // The launch template that the Windows fast launch enabled AMI uses when it - // launches Windows instances from pre-provisioned snapshots. - LaunchTemplate *FastLaunchLaunchTemplateSpecificationResponse - - // The maximum number of instances that Amazon EC2 can launch at the same time to - // create pre-provisioned snapshots for Windows fast launch. - MaxParallelLaunches *int32 - - // The owner ID for the Windows fast launch enabled AMI. - OwnerId *string - - // The resource type that Amazon EC2 uses for pre-provisioning the Windows AMI. - // Supported values include: snapshot . - ResourceType FastLaunchResourceType - - // A group of parameters that are used for pre-provisioning the associated Windows - // AMI using snapshots. - SnapshotConfiguration *FastLaunchSnapshotConfigurationResponse - - // The current state of Windows fast launch for the specified Windows AMI. - State FastLaunchStateCode - - // The reason that Windows fast launch for the AMI changed to the current state. - StateTransitionReason *string - - // The time that Windows fast launch for the AMI changed to the current state. - StateTransitionTime *time.Time - - noSmithyDocumentSerde -} - -// Describes fast snapshot restores for a snapshot. -type DescribeFastSnapshotRestoreSuccessItem struct { - - // The Availability Zone. - AvailabilityZone *string - - // The ID of the Availability Zone. - AvailabilityZoneId *string - - // The time at which fast snapshot restores entered the disabled state. - DisabledTime *time.Time - - // The time at which fast snapshot restores entered the disabling state. - DisablingTime *time.Time - - // The time at which fast snapshot restores entered the enabled state. - EnabledTime *time.Time - - // The time at which fast snapshot restores entered the enabling state. - EnablingTime *time.Time - - // The time at which fast snapshot restores entered the optimizing state. - OptimizingTime *time.Time - - // The Amazon Web Services owner alias that enabled fast snapshot restores on the - // snapshot. This is intended for future use. - OwnerAlias *string - - // The ID of the Amazon Web Services account that enabled fast snapshot restores - // on the snapshot. - OwnerId *string - - // The ID of the snapshot. - SnapshotId *string - - // The state of fast snapshot restores. - State FastSnapshotRestoreStateCode - - // The reason for the state transition. The possible values are as follows: - // - // - Client.UserInitiated - The state successfully transitioned to enabling or - // disabling . - // - // - Client.UserInitiated - Lifecycle state transition - The state successfully - // transitioned to optimizing , enabled , or disabled . - StateTransitionReason *string - - noSmithyDocumentSerde -} - -// Describes the instances that could not be launched by the fleet. -type DescribeFleetError struct { - - // The error code that indicates why the instance could not be launched. For more - // information about error codes, see [Error codes]. - // - // [Error codes]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html - ErrorCode *string - - // The error message that describes why the instance could not be launched. For - // more information about error messages, see [Error codes]. - // - // [Error codes]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html - ErrorMessage *string - - // The launch templates and overrides that were used for launching the instances. - // The values that you specify in the Overrides replace the values in the launch - // template. - LaunchTemplateAndOverrides *LaunchTemplateAndOverridesResponse - - // Indicates if the instance that could not be launched was a Spot Instance or - // On-Demand Instance. - Lifecycle InstanceLifecycle - - noSmithyDocumentSerde -} - -// Describes the instances that were launched by the fleet. -type DescribeFleetsInstances struct { - - // The IDs of the instances. - InstanceIds []string - - // The instance type. - InstanceType InstanceType - - // The launch templates and overrides that were used for launching the instances. - // The values that you specify in the Overrides replace the values in the launch - // template. - LaunchTemplateAndOverrides *LaunchTemplateAndOverridesResponse - - // Indicates if the instance that was launched is a Spot Instance or On-Demand - // Instance. - Lifecycle InstanceLifecycle - - // The value is windows for Windows instances in an EC2 Fleet. Otherwise, the - // value is blank. - Platform PlatformValues - - noSmithyDocumentSerde -} - -// Describes the destination options for a flow log. -type DestinationOptionsRequest struct { - - // The format for the flow log. The default is plain-text . - FileFormat DestinationFileFormat - - // Indicates whether to use Hive-compatible prefixes for flow logs stored in - // Amazon S3. The default is false . - HiveCompatiblePartitions *bool - - // Indicates whether to partition the flow log per hour. This reduces the cost and - // response time for queries. The default is false . - PerHourPartition *bool - - noSmithyDocumentSerde -} - -// Describes the destination options for a flow log. -type DestinationOptionsResponse struct { - - // The format for the flow log. - FileFormat DestinationFileFormat - - // Indicates whether to use Hive-compatible prefixes for flow logs stored in - // Amazon S3. - HiveCompatiblePartitions *bool - - // Indicates whether to partition the flow log per hour. - PerHourPartition *bool - - noSmithyDocumentSerde -} - -// Describes the options for an Amazon Web Services Verified Access -// device-identity based trust provider. -type DeviceOptions struct { - - // The URL Amazon Web Services Verified Access will use to verify the - // authenticity of the device tokens. - PublicSigningKeyUrl *string - - // The ID of the tenant application with the device-identity provider. - TenantId *string - - noSmithyDocumentSerde -} - -// Describes a DHCP configuration option. -type DhcpConfiguration struct { - - // The name of a DHCP option. - Key *string - - // The values for the DHCP option. - Values []AttributeValue - - noSmithyDocumentSerde -} - -// The set of DHCP options. -type DhcpOptions struct { - - // The DHCP options in the set. - DhcpConfigurations []DhcpConfiguration - - // The ID of the set of DHCP options. - DhcpOptionsId *string - - // The ID of the Amazon Web Services account that owns the DHCP options set. - OwnerId *string - - // Any tags assigned to the DHCP options set. - Tags []Tag - - noSmithyDocumentSerde -} - -// Specifies a condition for filtering capacity data based on dimension values. -// -// Used to create precise filters for metric queries and dimension lookups. -type DimensionCondition struct { - - // The comparison operator to use for the filter. - Comparison Comparison - - // The name of the dimension to filter by. - Dimension FilterByDimension - - // The list of values to match against the specified dimension. For 'equals' - // comparison, only the first value is used. For 'in' comparison, any matching - // value will satisfy the condition. - Values []string - - noSmithyDocumentSerde -} - -// Describes an Active Directory. -type DirectoryServiceAuthentication struct { - - // The ID of the Active Directory used for authentication. - DirectoryId *string - - noSmithyDocumentSerde -} - -// Describes the Active Directory to be used for client authentication. -type DirectoryServiceAuthenticationRequest struct { - - // The ID of the Active Directory to be used for authentication. - DirectoryId *string - - noSmithyDocumentSerde -} - -// Contains information about the errors that occurred when disabling fast -// snapshot restores. -type DisableFastSnapshotRestoreErrorItem struct { - - // The errors. - FastSnapshotRestoreStateErrors []DisableFastSnapshotRestoreStateErrorItem - - // The ID of the snapshot. - SnapshotId *string - - noSmithyDocumentSerde -} - -// Describes an error that occurred when disabling fast snapshot restores. -type DisableFastSnapshotRestoreStateError struct { - - // The error code. - Code *string - - // The error message. - Message *string - - noSmithyDocumentSerde -} - -// Contains information about an error that occurred when disabling fast snapshot -// restores. -type DisableFastSnapshotRestoreStateErrorItem struct { - - // The Availability Zone. - AvailabilityZone *string - - // The ID of the Availability Zone. - AvailabilityZoneId *string - - // The error. - Error *DisableFastSnapshotRestoreStateError - - noSmithyDocumentSerde -} - -// Describes fast snapshot restores that were successfully disabled. -type DisableFastSnapshotRestoreSuccessItem struct { - - // The Availability Zone. - AvailabilityZone *string - - // The ID of the Availability Zone. - AvailabilityZoneId *string - - // The time at which fast snapshot restores entered the disabled state. - DisabledTime *time.Time - - // The time at which fast snapshot restores entered the disabling state. - DisablingTime *time.Time - - // The time at which fast snapshot restores entered the enabled state. - EnabledTime *time.Time - - // The time at which fast snapshot restores entered the enabling state. - EnablingTime *time.Time - - // The time at which fast snapshot restores entered the optimizing state. - OptimizingTime *time.Time - - // The Amazon Web Services owner alias that enabled fast snapshot restores on the - // snapshot. This is intended for future use. - OwnerAlias *string - - // The ID of the Amazon Web Services account that enabled fast snapshot restores - // on the snapshot. - OwnerId *string - - // The ID of the snapshot. - SnapshotId *string - - // The state of fast snapshot restores for the snapshot. - State FastSnapshotRestoreStateCode - - // The reason for the state transition. The possible values are as follows: - // - // - Client.UserInitiated - The state successfully transitioned to enabling or - // disabling . - // - // - Client.UserInitiated - Lifecycle state transition - The state successfully - // transitioned to optimizing , enabled , or disabled . - StateTransitionReason *string - - noSmithyDocumentSerde -} - -// Describes a disk image. -type DiskImage struct { - - // A description of the disk image. - Description *string - - // Information about the disk image. - Image *DiskImageDetail - - // Information about the volume. - Volume *VolumeDetail - - noSmithyDocumentSerde -} - -// Describes a disk image. -type DiskImageDescription struct { - - // The checksum computed for the disk image. - Checksum *string - - // The disk image format. - Format DiskImageFormat - - // A presigned URL for the import manifest stored in Amazon S3. For information - // about creating a presigned URL for an Amazon S3 object, read the "Query String - // Request Authentication Alternative" section of the [Authenticating REST Requests]topic in the Amazon Simple - // Storage Service Developer Guide. - // - // For information about the import manifest referenced by this API action, see [VM Import Manifest]. - // - // [Authenticating REST Requests]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html - // [VM Import Manifest]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html - ImportManifestUrl *string - - // The size of the disk image, in GiB. - Size *int64 - - noSmithyDocumentSerde -} - -// Describes a disk image. -type DiskImageDetail struct { - - // The size of the disk image, in GiB. - // - // This member is required. - Bytes *int64 - - // The disk image format. - // - // This member is required. - Format DiskImageFormat - - // A presigned URL for the import manifest stored in Amazon S3 and presented here - // as an Amazon S3 presigned URL. For information about creating a presigned URL - // for an Amazon S3 object, read the "Query String Request Authentication - // Alternative" section of the [Authenticating REST Requests]topic in the Amazon Simple Storage Service - // Developer Guide. - // - // For information about the import manifest referenced by this API action, see [VM Import Manifest]. - // - // [Authenticating REST Requests]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html - // [VM Import Manifest]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html - // - // This member is required. - ImportManifestUrl *string - - noSmithyDocumentSerde -} - -// Describes a disk image volume. -type DiskImageVolumeDescription struct { - - // The volume identifier. - Id *string - - // The size of the volume, in GiB. - Size *int64 - - noSmithyDocumentSerde -} - -// Describes a disk. -type DiskInfo struct { - - // The number of disks with this configuration. - Count *int32 - - // The size of the disk in GB. - SizeInGB *int64 - - // The type of disk. - Type DiskType - - noSmithyDocumentSerde -} - -// Describes a DNS entry. -type DnsEntry struct { - - // The DNS name. - DnsName *string - - // The ID of the private hosted zone. - HostedZoneId *string - - noSmithyDocumentSerde -} - -// Describes the DNS options for an endpoint. -type DnsOptions struct { - - // The DNS records created for the endpoint. - DnsRecordIpType DnsRecordIpType - - // Indicates whether to enable private DNS only for inbound endpoints. - PrivateDnsOnlyForInboundResolverEndpoint *bool - - // The preference for which private domains have a private hosted zone created - // for and associated with the specified VPC. Only supported when private DNS is - // enabled and when the VPC endpoint type is ServiceNetwork or Resource. - // - // - ALL_DOMAINS - VPC Lattice provisions private hosted zones for all custom - // domain names. - // - // - VERIFIED_DOMAINS_ONLY - VPC Lattice provisions a private hosted zone only if - // custom domain name has been verified by the provider. - // - // - VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS - VPC Lattice provisions private - // hosted zones for all verified custom domain names and other domain names that - // the resource consumer specifies. The resource consumer specifies the domain - // names in the PrivateDnsSpecifiedDomains parameter. - // - // - SPECIFIED_DOMAINS_ONLY - VPC Lattice provisions a private hosted zone for - // domain names specified by the resource consumer. The resource consumer specifies - // the domain names in the PrivateDnsSpecifiedDomains parameter. - PrivateDnsPreference *string - - // Indicates which of the private domains to create private hosted zones for and - // associate with the specified VPC. Only supported when private DNS is enabled and - // the private DNS preference is VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS or - // SPECIFIED_DOMAINS_ONLY . - PrivateDnsSpecifiedDomains []string - - noSmithyDocumentSerde -} - -// Describes the DNS options for an endpoint. -type DnsOptionsSpecification struct { - - // The DNS records created for the endpoint. - DnsRecordIpType DnsRecordIpType - - // Indicates whether to enable private DNS only for inbound endpoints. This option - // is available only for services that support both gateway and interface - // endpoints. It routes traffic that originates from the VPC to the gateway - // endpoint and traffic that originates from on-premises to the interface endpoint. - PrivateDnsOnlyForInboundResolverEndpoint *bool - - // The preference for which private domains have a private hosted zone created - // for and associated with the specified VPC. Only supported when private DNS is - // enabled and when the VPC endpoint type is ServiceNetwork or Resource. - // - // - ALL_DOMAINS - VPC Lattice provisions private hosted zones for all custom - // domain names. - // - // - VERIFIED_DOMAINS_ONLY - VPC Lattice provisions a private hosted zone only if - // custom domain name has been verified by the provider. - // - // - VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS - VPC Lattice provisions private - // hosted zones for all verified custom domain names and other domain names that - // the resource consumer specifies. The resource consumer specifies the domain - // names in the PrivateDnsSpecifiedDomains parameter. - // - // - SPECIFIED_DOMAINS_ONLY - VPC Lattice provisions a private hosted zone for - // domain names specified by the resource consumer. The resource consumer specifies - // the domain names in the PrivateDnsSpecifiedDomains parameter. - PrivateDnsPreference *string - - // Indicates which of the private domains to create private hosted zones for and - // associate with the specified VPC. Only supported when private DNS is enabled and - // the private DNS preference is verified-domains-and-specified-domains or - // specified-domains-only. - PrivateDnsSpecifiedDomains []string - - noSmithyDocumentSerde -} - -// Information about the DNS server to be used. -type DnsServersOptionsModifyStructure struct { - - // The IPv4 address range, in CIDR notation, of the DNS servers to be used. You - // can specify up to two DNS servers. Ensure that the DNS servers can be reached by - // the clients. The specified values overwrite the existing values. - CustomDnsServers []string - - // Indicates whether DNS servers should be used. Specify False to delete the - // existing DNS servers. - Enabled *bool - - noSmithyDocumentSerde -} - -// Describes a block device for an EBS volume. -type EbsBlockDevice struct { - - // The Availability Zone where the EBS volume will be created (for example, - // us-east-1a ). - // - // Either AvailabilityZone or AvailabilityZoneId can be specified, but not both. - // If neither is specified, Amazon EC2 automatically selects an Availability Zone - // within the Region. - // - // This parameter is not supported when using [CreateFleet], [CreateImage], [DescribeImages], [RequestSpotFleet], [RequestSpotInstances], and [RunInstances]. - // - // [DescribeImages]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html - // [CreateFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html - // [RequestSpotInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html - // [RunInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html - // [CreateImage]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html - // [RequestSpotFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html - AvailabilityZone *string - - // The ID of the Availability Zone where the EBS volume will be created (for - // example, use1-az1 ). - // - // Either AvailabilityZone or AvailabilityZoneId can be specified, but not both. - // If neither is specified, Amazon EC2 automatically selects an Availability Zone - // within the Region. - // - // This parameter is not supported when using [CreateFleet], [CreateImage], [DescribeImages], [RequestSpotFleet], [RequestSpotInstances], and [RunInstances]. - // - // [DescribeImages]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html - // [CreateFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html - // [RequestSpotInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html - // [RunInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html - // [CreateImage]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html - // [RequestSpotFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html - AvailabilityZoneId *string - - // Indicates whether the EBS volume is deleted on instance termination. For more - // information, see [Preserving Amazon EBS volumes on instance termination]in the Amazon EC2 User Guide. - // - // [Preserving Amazon EBS volumes on instance termination]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#preserving-volumes-on-termination - DeleteOnTermination *bool - - // Indicates whether the encryption state of an EBS volume is changed while being - // restored from a backing snapshot. The effect of setting the encryption state to - // true depends on the volume origin (new or from a snapshot), starting encryption - // state, ownership, and whether encryption by default is enabled. For more - // information, see [Amazon EBS encryption]in the Amazon EBS User Guide. - // - // In no case can you remove encryption from an encrypted volume. - // - // Encrypted volumes can only be attached to instances that support Amazon EBS - // encryption. For more information, see [Supported instance types]. - // - // This parameter is not returned by DescribeImageAttribute. - // - // For CreateImage and RegisterImage, whether you can include this parameter, and the allowed values - // differ depending on the type of block device mapping you are creating. - // - // - If you are creating a block device mapping for a new (empty) volume, you - // can include this parameter, and specify either true for an encrypted volume, - // or false for an unencrypted volume. If you omit this parameter, it defaults to - // false (unencrypted). - // - // - If you are creating a block device mapping from an existing encrypted or - // unencrypted snapshot, you must omit this parameter. If you include this - // parameter, the request will fail, regardless of the value that you specify. - // - // - If you are creating a block device mapping from an existing unencrypted - // volume, you can include this parameter, but you must specify false . If you - // specify true , the request will fail. In this case, we recommend that you omit - // the parameter. - // - // - If you are creating a block device mapping from an existing encrypted - // volume, you can include this parameter, and specify either true or false . - // However, if you specify false , the parameter is ignored and the block device - // mapping is always encrypted. In this case, we recommend that you omit the - // parameter. - // - // [Amazon EBS encryption]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html#encryption-parameters - // [Supported instance types]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances - Encrypted *bool - - // The number of I/O operations per second (IOPS). For gp3 , io1 , and io2 - // volumes, this represents the number of IOPS that are provisioned for the volume. - // For gp2 volumes, this represents the baseline performance of the volume and the - // rate at which the volume accumulates I/O credits for bursting. - // - // The following are the supported values for each volume type: - // - // - gp3 : 3,000 - 80,000 IOPS - // - // - io1 : 100 - 64,000 IOPS - // - // - io2 : 100 - 256,000 IOPS - // - // For io2 volumes, you can achieve up to 256,000 IOPS on [instances built on the Nitro System]. On other instances, - // you can achieve performance up to 32,000 IOPS. - // - // This parameter is required for io1 and io2 volumes. The default for gp3 volumes - // is 3,000 IOPS. - // - // [instances built on the Nitro System]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances - Iops *int32 - - // Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed - // KMS key to use for EBS encryption. - // - // This parameter is only supported on BlockDeviceMapping objects called by [RunInstances], [RequestSpotFleet], - // and [RequestSpotInstances]. - // - // [RequestSpotInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html - // [RunInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html - // [RequestSpotFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html - KmsKeyId *string - - // The ARN of the Outpost on which the snapshot is stored. - // - // This parameter is not supported when using [CreateImage]. - // - // [CreateImage]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html - OutpostArn *string - - // The ID of the snapshot. - SnapshotId *string - - // The throughput that the volume supports, in MiB/s. - // - // This parameter is valid only for gp3 volumes. - // - // Valid Range: Minimum value of 125. Maximum value of 2,000. - Throughput *int32 - - // Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume - // initialization rate), in MiB/s, at which to download the snapshot blocks from - // Amazon S3 to the volume. This is also known as volume initialization. Specifying - // a volume initialization rate ensures that the volume is initialized at a - // predictable and consistent rate after creation. For more information, see [Initialize Amazon EBS volumes]in - // the Amazon EC2 User Guide. - // - // This parameter is supported only for volumes created from snapshots. Omit this - // parameter if: - // - // - You want to create the volume using fast snapshot restore. You must specify - // a snapshot that is enabled for fast snapshot restore. In this case, the volume - // is fully initialized at creation. - // - // If you specify a snapshot that is enabled for fast snapshot restore and a - // volume initialization rate, the volume will be initialized at the specified rate - // instead of fast snapshot restore. - // - // - You want to create a volume that is initialized at the default rate. - // - // This parameter is not supported when using [CreateImage] and [DescribeImages]. - // - // Valid range: 100 - 300 MiB/s - // - // [DescribeImages]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html - // [Initialize Amazon EBS volumes]: https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html - // [CreateImage]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html - VolumeInitializationRate *int32 - - // The size of the volume, in GiBs. You must specify either a snapshot ID or a - // volume size. If you specify a snapshot, the default is the snapshot size. You - // can specify a volume size that is equal to or larger than the snapshot size. - // - // The following are the supported sizes for each volume type: - // - // - gp2 : 1 - 16,384 GiB - // - // - gp3 : 1 - 65,536 GiB - // - // - io1 : 4 - 16,384 GiB - // - // - io2 : 4 - 65,536 GiB - // - // - st1 and sc1 : 125 - 16,384 GiB - // - // - standard : 1 - 1024 GiB - VolumeSize *int32 - - // The volume type. For more information, see [Amazon EBS volume types] in the Amazon EBS User Guide. - // - // [Amazon EBS volume types]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html - VolumeType VolumeType - - noSmithyDocumentSerde -} - -// Describes a block device for an EBS volume. -type EbsBlockDeviceResponse struct { - - // Indicates whether the volume is deleted on instance termination. - DeleteOnTermination *bool - - // Indicates whether the volume is encrypted. - Encrypted *bool - - // The number of I/O operations per second (IOPS). For gp3 , io1 , and io2 - // volumes, this represents the number of IOPS that are provisioned for the volume. - // For gp2 volumes, this represents the baseline performance of the volume and the - // rate at which the volume accumulates I/O credits for bursting. - Iops *int32 - - // Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed - // KMS key to use for EBS encryption. - KmsKeyId *string - - // The ID of the snapshot. - SnapshotId *string - - // The throughput that the volume supports, in MiB/s. - Throughput *int32 - - // The size of the volume, in GiBs. - VolumeSize *int32 - - // The volume type. For more information, see [Amazon EBS volume types] in the Amazon EBS User Guide. - // - // [Amazon EBS volume types]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html - VolumeType VolumeType - - noSmithyDocumentSerde -} - -// Describes the Amazon EBS features supported by the instance type. -type EbsInfo struct { - - // Indicates whether the instance type features a shared or dedicated Amazon EBS - // volume attachment limit. For more information, see [Amazon EBS volume limits for Amazon EC2 instances]in the Amazon EC2 User Guide. - // - // [Amazon EBS volume limits for Amazon EC2 instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/volume_limits.html - AttachmentLimitType AttachmentLimitType - - // Describes the optimized EBS performance for the instance type. - EbsOptimizedInfo *EbsOptimizedInfo - - // Indicates whether the instance type is Amazon EBS-optimized. For more - // information, see [Amazon EBS-optimized instances]in Amazon EC2 User Guide. - // - // [Amazon EBS-optimized instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html - EbsOptimizedSupport EbsOptimizedSupport - - // Indicates whether Amazon EBS encryption is supported. - EncryptionSupport EbsEncryptionSupport - - // Indicates the maximum number of Amazon EBS volumes that can be attached to the - // instance type. For more information, see [Amazon EBS volume limits for Amazon EC2 instances]in the Amazon EC2 User Guide. - // - // [Amazon EBS volume limits for Amazon EC2 instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/volume_limits.html - MaximumEbsAttachments *int32 - - // Indicates whether non-volatile memory express (NVMe) is supported. - NvmeSupport EbsNvmeSupport - - noSmithyDocumentSerde -} - -// Describes a parameter used to set up an EBS volume in a block device mapping. -type EbsInstanceBlockDevice struct { - - // The ARN of the Amazon Web Services-managed resource to which the volume is - // attached. - AssociatedResource *string - - // The time stamp when the attachment initiated. - AttachTime *time.Time - - // Indicates whether the volume is deleted on instance termination. - DeleteOnTermination *bool - - // The service provider that manages the EBS volume. - Operator *OperatorResponse - - // The attachment state. - Status AttachmentStatus - - // The ID of the EBS volume. - VolumeId *string - - // The ID of the Amazon Web Services account that owns the volume. - // - // This parameter is returned only for volumes that are attached to Amazon Web - // Services-managed resources. - VolumeOwnerId *string - - noSmithyDocumentSerde -} - -// Describes information used to set up an EBS volume specified in a block device -// mapping. -type EbsInstanceBlockDeviceSpecification struct { - - // Indicates whether the volume is deleted on instance termination. - DeleteOnTermination *bool - - // The ID of the EBS volume. - VolumeId *string - - noSmithyDocumentSerde -} - -// Describes the optimized EBS performance for supported instance types. -type EbsOptimizedInfo struct { - - // The baseline bandwidth performance for an EBS-optimized instance type, in Mbps. - BaselineBandwidthInMbps *int32 - - // The baseline input/output storage operations per seconds for an EBS-optimized - // instance type. - BaselineIops *int32 - - // The baseline throughput performance for an EBS-optimized instance type, in MB/s. - BaselineThroughputInMBps *float64 - - // The maximum bandwidth performance for an EBS-optimized instance type, in Mbps. - MaximumBandwidthInMbps *int32 - - // The maximum input/output storage operations per second for an EBS-optimized - // instance type. - MaximumIops *int32 - - // The maximum throughput performance for an EBS-optimized instance type, in MB/s. - MaximumThroughputInMBps *float64 - - noSmithyDocumentSerde -} - -// Describes the attached EBS status check for an instance. -type EbsStatusDetails struct { - - // The date and time when the attached EBS status check failed. - ImpairedSince *time.Time - - // The name of the attached EBS status check. - Name StatusName - - // The result of the attached EBS status check. - Status StatusType - - noSmithyDocumentSerde -} - -// Provides a summary of the attached EBS volume status for an instance. -type EbsStatusSummary struct { - - // Details about the attached EBS status check for an instance. - Details []EbsStatusDetails - - // The current status. - Status SummaryStatus - - noSmithyDocumentSerde -} - -// Describes an EC2 Instance Connect Endpoint. -type Ec2InstanceConnectEndpoint struct { - - // The Availability Zone of the EC2 Instance Connect Endpoint. - AvailabilityZone *string - - // The ID of the Availability Zone of the EC2 Instance Connect Endpoint. - AvailabilityZoneId *string - - // The date and time that the EC2 Instance Connect Endpoint was created. - CreatedAt *time.Time - - // The DNS name of the EC2 Instance Connect Endpoint. - DnsName *string - - // The Federal Information Processing Standards (FIPS) compliant DNS name of the - // EC2 Instance Connect Endpoint. - FipsDnsName *string - - // The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint. - InstanceConnectEndpointArn *string - - // The ID of the EC2 Instance Connect Endpoint. - InstanceConnectEndpointId *string - - // The IP address type of the endpoint. - IpAddressType IpAddressType - - // The ID of the elastic network interface that Amazon EC2 automatically created - // when creating the EC2 Instance Connect Endpoint. - NetworkInterfaceIds []string - - // The ID of the Amazon Web Services account that created the EC2 Instance Connect - // Endpoint. - OwnerId *string - - // Indicates whether your client's IP address is preserved as the source when you - // connect to a resource. The following are the possible values. - // - // - true - Use the IP address of the client. Your instance must have an IPv4 - // address. - // - // - false - Use the IP address of the network interface. - // - // Default: false - PreserveClientIp *bool - - // The public DNS names of the endpoint. - PublicDnsNames *InstanceConnectEndpointPublicDnsNames - - // The security groups associated with the endpoint. If you didn't specify a - // security group, the default security group for your VPC is associated with the - // endpoint. - SecurityGroupIds []string - - // The current state of the EC2 Instance Connect Endpoint. - State Ec2InstanceConnectEndpointState - - // The message for the current state of the EC2 Instance Connect Endpoint. Can - // include a failure message. - StateMessage *string - - // The ID of the subnet in which the EC2 Instance Connect Endpoint was created. - SubnetId *string - - // The tags assigned to the EC2 Instance Connect Endpoint. - Tags []Tag - - // The ID of the VPC in which the EC2 Instance Connect Endpoint was created. - VpcId *string - - noSmithyDocumentSerde -} - -// Describes the Elastic Fabric Adapters for the instance type. -type EfaInfo struct { - - // The maximum number of Elastic Fabric Adapters for the instance type. - MaximumEfaInterfaces *int32 - - noSmithyDocumentSerde -} - -// Describes an egress-only internet gateway. -type EgressOnlyInternetGateway struct { - - // Information about the attachment of the egress-only internet gateway. - Attachments []InternetGatewayAttachment - - // The ID of the egress-only internet gateway. - EgressOnlyInternetGatewayId *string - - // The tags assigned to the egress-only internet gateway. - Tags []Tag - - noSmithyDocumentSerde -} - -// Amazon Elastic Graphics reached end of life on January 8, 2024. -// -// Describes the association between an instance and an Elastic Graphics -// accelerator. -type ElasticGpuAssociation struct { - - // The ID of the association. - ElasticGpuAssociationId *string - - // The state of the association between the instance and the Elastic Graphics - // accelerator. - ElasticGpuAssociationState *string - - // The time the Elastic Graphics accelerator was associated with the instance. - ElasticGpuAssociationTime *string - - // The ID of the Elastic Graphics accelerator. - ElasticGpuId *string - - noSmithyDocumentSerde -} - -// Amazon Elastic Graphics reached end of life on January 8, 2024. -// -// Describes the status of an Elastic Graphics accelerator. -type ElasticGpuHealth struct { - - // The health status. - Status ElasticGpuStatus - - noSmithyDocumentSerde -} - -// Amazon Elastic Graphics reached end of life on January 8, 2024. -// -// Describes an Elastic Graphics accelerator. -type ElasticGpus struct { - - // The Availability Zone in the which the Elastic Graphics accelerator resides. - AvailabilityZone *string - - // The status of the Elastic Graphics accelerator. - ElasticGpuHealth *ElasticGpuHealth - - // The ID of the Elastic Graphics accelerator. - ElasticGpuId *string - - // The state of the Elastic Graphics accelerator. - ElasticGpuState ElasticGpuState - - // The type of Elastic Graphics accelerator. - ElasticGpuType *string - - // The ID of the instance to which the Elastic Graphics accelerator is attached. - InstanceId *string - - // The tags assigned to the Elastic Graphics accelerator. - Tags []Tag - - noSmithyDocumentSerde -} - -// Amazon Elastic Graphics reached end of life on January 8, 2024. -// -// A specification for an Elastic Graphics accelerator. -type ElasticGpuSpecification struct { - - // The type of Elastic Graphics accelerator. - // - // This member is required. - Type *string - - noSmithyDocumentSerde -} - -// Deprecated. -// -// Amazon Elastic Graphics reached end of life on January 8, 2024. -type ElasticGpuSpecificationResponse struct { - - // Deprecated. - // - // Amazon Elastic Graphics reached end of life on January 8, 2024. - Type *string - - noSmithyDocumentSerde -} - -// Amazon Elastic Inference is no longer available. -// -// Describes an elastic inference accelerator. -type ElasticInferenceAccelerator struct { - - // The type of elastic inference accelerator. The possible values are eia1.medium - // , eia1.large , eia1.xlarge , eia2.medium , eia2.large , and eia2.xlarge . - // - // This member is required. - Type *string - - // The number of elastic inference accelerators to attach to the instance. - // - // Default: 1 - Count *int32 - - noSmithyDocumentSerde -} - -// Amazon Elastic Inference is no longer available. -// -// Describes the association between an instance and an elastic inference -// accelerator. -type ElasticInferenceAcceleratorAssociation struct { - - // The Amazon Resource Name (ARN) of the elastic inference accelerator. - ElasticInferenceAcceleratorArn *string - - // The ID of the association. - ElasticInferenceAcceleratorAssociationId *string - - // The state of the elastic inference accelerator. - ElasticInferenceAcceleratorAssociationState *string - - // The time at which the elastic inference accelerator is associated with an - // instance. - ElasticInferenceAcceleratorAssociationTime *time.Time - - noSmithyDocumentSerde -} - -// Contains information about the errors that occurred when enabling fast snapshot -// restores. -type EnableFastSnapshotRestoreErrorItem struct { - - // The errors. - FastSnapshotRestoreStateErrors []EnableFastSnapshotRestoreStateErrorItem - - // The ID of the snapshot. - SnapshotId *string - - noSmithyDocumentSerde -} - -// Describes an error that occurred when enabling fast snapshot restores. -type EnableFastSnapshotRestoreStateError struct { - - // The error code. - Code *string - - // The error message. - Message *string - - noSmithyDocumentSerde -} - -// Contains information about an error that occurred when enabling fast snapshot -// restores. -type EnableFastSnapshotRestoreStateErrorItem struct { - - // The Availability Zone. - AvailabilityZone *string - - // The ID of the Availability Zone. - AvailabilityZoneId *string - - // The error. - Error *EnableFastSnapshotRestoreStateError - - noSmithyDocumentSerde -} - -// Describes fast snapshot restores that were successfully enabled. -type EnableFastSnapshotRestoreSuccessItem struct { - - // The Availability Zone. - AvailabilityZone *string - - // The ID of the Availability Zone. - AvailabilityZoneId *string - - // The time at which fast snapshot restores entered the disabled state. - DisabledTime *time.Time - - // The time at which fast snapshot restores entered the disabling state. - DisablingTime *time.Time - - // The time at which fast snapshot restores entered the enabled state. - EnabledTime *time.Time - - // The time at which fast snapshot restores entered the enabling state. - EnablingTime *time.Time - - // The time at which fast snapshot restores entered the optimizing state. - OptimizingTime *time.Time - - // The Amazon Web Services owner alias that enabled fast snapshot restores on the - // snapshot. This is intended for future use. - OwnerAlias *string - - // The ID of the Amazon Web Services account that enabled fast snapshot restores - // on the snapshot. - OwnerId *string - - // The ID of the snapshot. - SnapshotId *string - - // The state of fast snapshot restores. - State FastSnapshotRestoreStateCode - - // The reason for the state transition. The possible values are as follows: - // - // - Client.UserInitiated - The state successfully transitioned to enabling or - // disabling . - // - // - Client.UserInitiated - Lifecycle state transition - The state successfully - // transitioned to optimizing , enabled , or disabled . - StateTransitionReason *string - - noSmithyDocumentSerde -} - -// 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. -type EnaSrdSpecification struct { - - // Indicates whether ENA Express is enabled for the network interface. - EnaSrdEnabled *bool - - // Configures ENA Express for UDP network traffic. - EnaSrdUdpSpecification *EnaSrdUdpSpecification - - noSmithyDocumentSerde -} - -// Launch instances with ENA Express settings configured from your launch template. -type EnaSrdSpecificationRequest struct { - - // Specifies whether ENA Express is enabled for the network interface when you - // launch an instance. - EnaSrdEnabled *bool - - // Contains ENA Express settings for UDP network traffic for the network interface - // attached to the instance. - EnaSrdUdpSpecification *EnaSrdUdpSpecificationRequest - - noSmithyDocumentSerde -} - -// 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. -type EnaSrdUdpSpecification struct { - - // Indicates whether UDP traffic to and from the instance uses ENA Express. To - // specify this setting, you must first enable ENA Express. - EnaSrdUdpEnabled *bool - - noSmithyDocumentSerde -} - -// Configures ENA Express for UDP network traffic from your launch template. -type EnaSrdUdpSpecificationRequest struct { - - // Indicates whether UDP traffic uses ENA Express for your instance. To ensure - // that UDP traffic can use ENA Express when you launch an instance, you must also - // set EnaSrdEnabled in the EnaSrdSpecificationRequest to true . - EnaSrdUdpEnabled *bool - - noSmithyDocumentSerde -} - -// Indicates whether the instance is enabled for Amazon Web Services Nitro -// Enclaves. -type EnclaveOptions struct { - - // If this parameter is set to true , the instance is enabled for Amazon Web - // Services Nitro Enclaves; otherwise, it is not enabled for Amazon Web Services - // Nitro Enclaves. - Enabled *bool - - noSmithyDocumentSerde -} - -// Indicates whether the instance is enabled for Amazon Web Services Nitro -// Enclaves. For more information, see [What is Amazon Web Services Nitro Enclaves?]in the Amazon Web Services Nitro Enclaves -// User Guide. -// -// [What is Amazon Web Services Nitro Enclaves?]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html -type EnclaveOptionsRequest struct { - - // To enable the instance for Amazon Web Services Nitro Enclaves, set this - // parameter to true . - Enabled *bool - - noSmithyDocumentSerde -} - -// Describes the encryption support status for a transit gateway. -type EncryptionSupport struct { - - // The current encryption state of the resource. - EncryptionState EncryptionStateValue - - // A message describing the encryption state. - StateMessage *string - - noSmithyDocumentSerde -} - -// Describes an EC2 Fleet or Spot Fleet event. -type EventInformation struct { - - // The description of the event. - EventDescription *string - - // The event. - // - // error events: - // - // - iamFleetRoleInvalid - The EC2 Fleet or Spot Fleet does not have the required - // permissions either to launch or terminate an instance. - // - // - allLaunchSpecsTemporarilyBlacklisted - None of the configurations are valid, - // and several attempts to launch instances have failed. For more information, see - // the description of the event. - // - // - spotInstanceCountLimitExceeded - You've reached the limit on the number of - // Spot Instances that you can launch. - // - // - spotFleetRequestConfigurationInvalid - The configuration is not valid. For - // more information, see the description of the event. - // - // fleetRequestChange events: - // - // - active - The EC2 Fleet or Spot Fleet request has been validated and Amazon - // EC2 is attempting to maintain the target number of running instances. - // - // - deleted (EC2 Fleet) / cancelled (Spot Fleet) - The EC2 Fleet is deleted or - // the Spot Fleet request is canceled and has no running instances. The EC2 Fleet - // or Spot Fleet will be deleted two days after its instances are terminated. - // - // - deleted_running (EC2 Fleet) / cancelled_running (Spot Fleet) - The EC2 Fleet - // is deleted or the Spot Fleet request is canceled and does not launch additional - // instances. Its existing instances continue to run until they are interrupted or - // terminated. The request remains in this state until all instances are - // interrupted or terminated. - // - // - deleted_terminating (EC2 Fleet) / cancelled_terminating (Spot Fleet) - The - // EC2 Fleet is deleted or the Spot Fleet request is canceled and its instances are - // terminating. The request remains in this state until all instances are - // terminated. - // - // - expired - The EC2 Fleet or Spot Fleet request has expired. If the request - // was created with TerminateInstancesWithExpiration set, a subsequent terminated - // event indicates that the instances are terminated. - // - // - modify_in_progress - The EC2 Fleet or Spot Fleet request is being modified. - // The request remains in this state until the modification is fully processed. - // - // - modify_succeeded - The EC2 Fleet or Spot Fleet request was modified. - // - // - submitted - The EC2 Fleet or Spot Fleet request is being evaluated and - // Amazon EC2 is preparing to launch the target number of instances. - // - // - progress - The EC2 Fleet or Spot Fleet request is in the process of being - // fulfilled. - // - // instanceChange events: - // - // - launched - A new instance was launched. - // - // - terminated - An instance was terminated by the user. - // - // - termination_notified - An instance termination notification was sent when a - // Spot Instance was terminated by Amazon EC2 during scale-down, when the target - // capacity of the fleet was modified down, for example, from a target capacity of - // 4 to a target capacity of 3. - // - // Information events: - // - // - fleetProgressHalted - The price in every launch specification is not valid - // because it is below the Spot price (all the launch specifications have produced - // launchSpecUnusable events). A launch specification might become valid if the - // Spot price changes. - // - // - launchSpecTemporarilyBlacklisted - The configuration is not valid and - // several attempts to launch instances have failed. For more information, see the - // description of the event. - // - // - launchSpecUnusable - The price specified in a launch specification is not - // valid because it is below the Spot price for the requested Spot pools. - // - // Note: Even if a fleet with the maintain request type is in the process of being - // canceled, it may still publish a launchSpecUnusable event. This does not mean - // that the canceled fleet is attempting to launch a new instance. - // - // - registerWithLoadBalancersFailed - An attempt to register instances with load - // balancers failed. For more information, see the description of the event. - EventSubType *string - - // The ID of the instance. This information is available only for instanceChange - // events. - InstanceId *string - - noSmithyDocumentSerde -} - -// Describes an explanation code for an unreachable path. For more information, -// see [Reachability Analyzer explanation codes]. -// -// [Reachability Analyzer explanation codes]: https://docs.aws.amazon.com/vpc/latest/reachability/explanation-codes.html -type Explanation struct { - - // The network ACL. - Acl *AnalysisComponent - - // The network ACL rule. - AclRule *AnalysisAclRule - - // The IPv4 address, in CIDR notation. - Address *string - - // The IPv4 addresses, in CIDR notation. - Addresses []string - - // The resource to which the component is attached. - AttachedTo *AnalysisComponent - - // The IDs of the Availability Zones. - AvailabilityZoneIds []string - - // The Availability Zones. - AvailabilityZones []string - - // The CIDR ranges. - Cidrs []string - - // The listener for a Classic Load Balancer. - ClassicLoadBalancerListener *AnalysisLoadBalancerListener - - // The component. - Component *AnalysisComponent - - // The Amazon Web Services account for the component. - ComponentAccount *string - - // The Region for the component. - ComponentRegion *string - - // The customer gateway. - CustomerGateway *AnalysisComponent - - // The destination. - Destination *AnalysisComponent - - // The destination VPC. - DestinationVpc *AnalysisComponent - - // The direction. The following are the possible values: - // - // - egress - // - // - ingress - Direction *string - - // The load balancer listener. - ElasticLoadBalancerListener *AnalysisComponent - - // The explanation code. - ExplanationCode *string - - // The Network Firewall stateful rule. - FirewallStatefulRule *FirewallStatefulRule - - // The Network Firewall stateless rule. - FirewallStatelessRule *FirewallStatelessRule - - // The route table. - IngressRouteTable *AnalysisComponent - - // The internet gateway. - InternetGateway *AnalysisComponent - - // The Amazon Resource Name (ARN) of the load balancer. - LoadBalancerArn *string - - // The listener port of the load balancer. - LoadBalancerListenerPort *int32 - - // The target. - LoadBalancerTarget *AnalysisLoadBalancerTarget - - // The target group. - LoadBalancerTargetGroup *AnalysisComponent - - // The target groups. - LoadBalancerTargetGroups []AnalysisComponent - - // The target port. - LoadBalancerTargetPort *int32 - - // The missing component. - MissingComponent *string - - // The NAT gateway. - NatGateway *AnalysisComponent - - // The network interface. - NetworkInterface *AnalysisComponent - - // The packet field. - PacketField *string - - // The port. - Port *int32 - - // The port ranges. - PortRanges []PortRange - - // The prefix list. - PrefixList *AnalysisComponent - - // The protocols. - Protocols []string - - // The route table. - RouteTable *AnalysisComponent - - // The route table route. - RouteTableRoute *AnalysisRouteTableRoute - - // The security group. - SecurityGroup *AnalysisComponent - - // The security group rule. - SecurityGroupRule *AnalysisSecurityGroupRule - - // The security groups. - SecurityGroups []AnalysisComponent - - // The source VPC. - SourceVpc *AnalysisComponent - - // The state. - State *string - - // The subnet. - Subnet *AnalysisComponent - - // The route table for the subnet. - SubnetRouteTable *AnalysisComponent - - // The transit gateway. - TransitGateway *AnalysisComponent - - // The transit gateway attachment. - TransitGatewayAttachment *AnalysisComponent - - // The transit gateway route table. - TransitGatewayRouteTable *AnalysisComponent - - // The transit gateway route table route. - TransitGatewayRouteTableRoute *TransitGatewayRouteTableRoute - - // The component VPC. - Vpc *AnalysisComponent - - // The VPC endpoint. - VpcEndpoint *AnalysisComponent - - // The VPC peering connection. - VpcPeeringConnection *AnalysisComponent - - // The VPN connection. - VpnConnection *AnalysisComponent - - // The VPN gateway. - VpnGateway *AnalysisComponent - - noSmithyDocumentSerde -} - -// Describes an export image task. -type ExportImageTask struct { - - // A description of the image being exported. - Description *string - - // The ID of the export image task. - ExportImageTaskId *string - - // The ID of the image. - ImageId *string - - // The percent complete of the export image task. - Progress *string - - // Information about the destination Amazon S3 bucket. - S3ExportLocation *ExportTaskS3Location - - // The status of the export image task. The possible values are active , completed - // , deleting , and deleted . - Status *string - - // The status message for the export image task. - StatusMessage *string - - // Any tags assigned to the export image task. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes an export instance task. -type ExportTask struct { - - // A description of the resource being exported. - Description *string - - // The ID of the export task. - ExportTaskId *string - - // Information about the export task. - ExportToS3Task *ExportToS3Task - - // Information about the instance to export. - InstanceExportDetails *InstanceExportDetails - - // The state of the export task. - State ExportTaskState - - // The status message related to the export task. - StatusMessage *string - - // The tags for the export task. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes the destination for an export image task. -type ExportTaskS3Location struct { - - // The destination Amazon S3 bucket. - S3Bucket *string - - // The prefix (logical hierarchy) in the bucket. - S3Prefix *string - - noSmithyDocumentSerde -} - -// Describes the destination for an export image task. -type ExportTaskS3LocationRequest struct { - - // The destination Amazon S3 bucket. - // - // This member is required. - S3Bucket *string - - // The prefix (logical hierarchy) in the bucket. - S3Prefix *string - - noSmithyDocumentSerde -} - -// Describes the format and location for the export task. -type ExportToS3Task struct { - - // The container format used to combine disk images with metadata (such as OVF). - // If absent, only the disk image is exported. - ContainerFormat ContainerFormat - - // The format for the exported image. - DiskImageFormat DiskImageFormat - - // The Amazon S3 bucket for the destination image. The destination bucket must - // exist and have an access control list (ACL) attached that specifies the - // Region-specific canonical account ID for the Grantee . For more information - // about the ACL to your S3 bucket, see [Prerequisites]in the VM Import/Export User Guide. - // - // [Prerequisites]: https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport.html#vmexport-prerequisites - S3Bucket *string - - // The encryption key for your S3 bucket. - S3Key *string - - noSmithyDocumentSerde -} - -// Describes an export instance task. -type ExportToS3TaskSpecification struct { - - // The container format used to combine disk images with metadata (such as OVF). - // If absent, only the disk image is exported. - ContainerFormat ContainerFormat - - // The format for the exported image. - DiskImageFormat DiskImageFormat - - // The Amazon S3 bucket for the destination image. The destination bucket must - // exist and have an access control list (ACL) attached that specifies the - // Region-specific canonical account ID for the Grantee . For more information - // about the ACL to your S3 bucket, see [Prerequisites]in the VM Import/Export User Guide. - // - // [Prerequisites]: https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport.html#vmexport-prerequisites - S3Bucket *string - - // The image is written to a single object in the Amazon S3 bucket at the S3 key - // s3prefix + exportTaskId + '.' + diskImageFormat. - S3Prefix *string - - noSmithyDocumentSerde -} - -// The configuration that links an Amazon VPC IPAM scope to an external authority -// system. It specifies the type of external system and the external resource -// identifier that identifies your account or instance in that system. -// -// For more information, see [Integrate VPC IPAM with Infoblox infrastructure] in the Amazon VPC IPAM User Guide. -// -// [Integrate VPC IPAM with Infoblox infrastructure]: https://docs.aws.amazon.com/vpc/latest/ipam/integrate-infoblox-ipam.html -type ExternalAuthorityConfiguration struct { - - // The identifier for the external resource managing this scope. For Infoblox - // integrations, this is the Infoblox resource identifier in the format - // .identity.account.. . - ExternalResourceIdentifier *string - - // The type of external authority. - Type IpamScopeExternalAuthorityType - - noSmithyDocumentSerde -} - -// Describes a Capacity Reservation Fleet that could not be cancelled. -type FailedCapacityReservationFleetCancellationResult struct { - - // Information about the Capacity Reservation Fleet cancellation error. - CancelCapacityReservationFleetError *CancelCapacityReservationFleetError - - // The ID of the Capacity Reservation Fleet that could not be cancelled. - CapacityReservationFleetId *string - - noSmithyDocumentSerde -} - -// Describes a Reserved Instance whose queued purchase was not deleted. -type FailedQueuedPurchaseDeletion struct { - - // The error. - Error *DeleteQueuedReservedInstancesError - - // The ID of the Reserved Instance. - ReservedInstancesId *string - - noSmithyDocumentSerde -} - -// Request to create a launch template for a Windows fast launch enabled AMI. -// -// Note - You can specify either the LaunchTemplateName or the LaunchTemplateId , -// but not both. -type FastLaunchLaunchTemplateSpecificationRequest struct { - - // Specify the version of the launch template that the AMI should use for Windows - // fast launch. - // - // This member is required. - Version *string - - // Specify the ID of the launch template that the AMI should use for Windows fast - // launch. - LaunchTemplateId *string - - // Specify the name of the launch template that the AMI should use for Windows - // fast launch. - LaunchTemplateName *string - - noSmithyDocumentSerde -} - -// Identifies the launch template that the AMI uses for Windows fast launch. -type FastLaunchLaunchTemplateSpecificationResponse struct { - - // The ID of the launch template that the AMI uses for Windows fast launch. - LaunchTemplateId *string - - // The name of the launch template that the AMI uses for Windows fast launch. - LaunchTemplateName *string - - // The version of the launch template that the AMI uses for Windows fast launch. - Version *string - - noSmithyDocumentSerde -} - -// Configuration settings for creating and managing pre-provisioned snapshots for -// a Windows fast launch enabled AMI. -type FastLaunchSnapshotConfigurationRequest struct { - - // The number of pre-provisioned snapshots to keep on hand for a Windows fast - // launch enabled AMI. - TargetResourceCount *int32 - - noSmithyDocumentSerde -} - -// Configuration settings for creating and managing pre-provisioned snapshots for -// a Windows fast launch enabled Windows AMI. -type FastLaunchSnapshotConfigurationResponse struct { - - // The number of pre-provisioned snapshots requested to keep on hand for a Windows - // fast launch enabled AMI. - TargetResourceCount *int32 - - noSmithyDocumentSerde -} - -// Describes the IAM SAML identity providers used for federated authentication. -type FederatedAuthentication struct { - - // The Amazon Resource Name (ARN) of the IAM SAML identity provider. - SamlProviderArn *string - - // The Amazon Resource Name (ARN) of the IAM SAML identity provider for the - // self-service portal. - SelfServiceSamlProviderArn *string - - noSmithyDocumentSerde -} - -// The IAM SAML identity provider used for federated authentication. -type FederatedAuthenticationRequest struct { - - // The Amazon Resource Name (ARN) of the IAM SAML identity provider. - SAMLProviderArn *string - - // The Amazon Resource Name (ARN) of the IAM SAML identity provider for the - // self-service portal. - SelfServiceSAMLProviderArn *string - - noSmithyDocumentSerde -} - -// A filter name and value pair that is used to return a more specific list of -// results from a describe operation. Filters can be used to match a set of -// resources by specific criteria, such as tags, attributes, or IDs. -// -// If you specify multiple filters, the filters are joined with an AND , and the -// request returns only results that match all of the specified filters. -// -// For more information, see [List and filter using the CLI and API] in the Amazon EC2 User Guide. -// -// [List and filter using the CLI and API]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Filtering.html#Filtering_Resources_CLI -type Filter struct { - - // The name of the filter. Filter names are case-sensitive. - Name *string - - // The filter values. Filter values are case-sensitive. If you specify multiple - // values for a filter, the values are joined with an OR , and the request returns - // all results that match any of the specified values. - Values []string - - noSmithyDocumentSerde -} - -// Describes a port range. -type FilterPortRange struct { - - // The first port in the range. - FromPort *int32 - - // The last port in the range. - ToPort *int32 - - noSmithyDocumentSerde -} - -// Describes a stateful rule. -type FirewallStatefulRule struct { - - // The destination ports. - DestinationPorts []PortRange - - // The destination IP addresses, in CIDR notation. - Destinations []string - - // The direction. The possible values are FORWARD and ANY . - Direction *string - - // The protocol. - Protocol *string - - // The rule action. The possible values are pass , drop , and alert . - RuleAction *string - - // The ARN of the stateful rule group. - RuleGroupArn *string - - // The source ports. - SourcePorts []PortRange - - // The source IP addresses, in CIDR notation. - Sources []string - - noSmithyDocumentSerde -} - -// Describes a stateless rule. -type FirewallStatelessRule struct { - - // The destination ports. - DestinationPorts []PortRange - - // The destination IP addresses, in CIDR notation. - Destinations []string - - // The rule priority. - Priority *int32 - - // The protocols. - Protocols []int32 - - // The rule action. The possible values are pass , drop , and forward_to_site . - RuleAction *string - - // The ARN of the stateless rule group. - RuleGroupArn *string - - // The source ports. - SourcePorts []PortRange - - // The source IP addresses, in CIDR notation. - Sources []string - - noSmithyDocumentSerde -} - -// Describes a block device mapping, which defines the EBS volumes and instance -// store volumes to attach to an instance at launch. -// -// To override a block device mapping specified in the launch template: -// -// - Specify the exact same DeviceName here as specified in the launch template. -// -// - Only specify the parameters you want to change. -// -// - Any parameters you don't specify here will keep their original launch -// template values. -// -// To add a new block device mapping: -// -// - Specify a DeviceName that doesn't exist in the launch template. -// -// - Specify all desired parameters here. -type FleetBlockDeviceMappingRequest struct { - - // The device name (for example, /dev/sdh or xvdh ). - DeviceName *string - - // Parameters used to automatically set up EBS volumes when the instance is - // launched. - Ebs *FleetEbsBlockDeviceRequest - - // To omit the device from the block device mapping, specify an empty string. When - // this property is specified, the device is removed from the block device mapping - // regardless of the assigned value. - NoDevice *string - - // The virtual device name ( ephemeralN ). Instance store volumes are numbered - // starting from 0. An instance type with 2 available instance store volumes can - // specify mappings for ephemeral0 and ephemeral1 . The number of available - // instance store volumes depends on the instance type. After you connect to the - // instance, you must mount the volume. - // - // NVMe instance store volumes are automatically enumerated and assigned a device - // name. Including them in your block device mapping has no effect. - // - // Constraints: For M3 instances, you must specify instance store volumes in the - // block device mapping for the instance. When you launch an M3 instance, we ignore - // any instance store volumes specified in the block device mapping for the AMI. - VirtualName *string - - noSmithyDocumentSerde -} - -// Information about a Capacity Reservation in a Capacity Reservation Fleet. -type FleetCapacityReservation struct { - - // The Availability Zone in which the Capacity Reservation reserves capacity. - AvailabilityZone *string - - // The ID of the Availability Zone in which the Capacity Reservation reserves - // capacity. - AvailabilityZoneId *string - - // The ID of the Capacity Reservation. - CapacityReservationId *string - - // The date and time at which the Capacity Reservation was created. - CreateDate *time.Time - - // Indicates whether the Capacity Reservation reserves capacity for EBS-optimized - // instance types. - EbsOptimized *bool - - // The number of capacity units fulfilled by the Capacity Reservation. For more - // information, see [Total target capacity]in the Amazon EC2 User Guide. - // - // [Total target capacity]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity - FulfilledCapacity *float64 - - // The type of operating system for which the Capacity Reservation reserves - // capacity. - InstancePlatform CapacityReservationInstancePlatform - - // The instance type for which the Capacity Reservation reserves capacity. - InstanceType InstanceType - - // The priority of the instance type in the Capacity Reservation Fleet. For more - // information, see [Instance type priority]in the Amazon EC2 User Guide. - // - // [Instance type priority]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-priority - Priority *int32 - - // The total number of instances for which the Capacity Reservation reserves - // capacity. - TotalInstanceCount *int32 - - // The weight of the instance type in the Capacity Reservation Fleet. For more - // information, see [Instance type weight]in the Amazon EC2 User Guide. - // - // [Instance type weight]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-weight - Weight *float64 - - noSmithyDocumentSerde -} - -// Describes an EC2 Fleet. -type FleetData struct { - - // The progress of the EC2 Fleet. - // - // For fleets of type instant , the status is fulfilled after all requests are - // placed, regardless of whether target capacity is met (this is the only possible - // status for instant fleets). - // - // For fleets of type request or maintain , the status is pending_fulfillment - // after all requests are placed, fulfilled when the fleet size meets or exceeds - // target capacity, pending_termination while instances are terminating when fleet - // size is decreased, and error if there's an error. - ActivityStatus FleetActivityStatus - - // Unique, case-sensitive identifier that you provide to ensure the idempotency of - // the request. For more information, see [Ensuring idempotency]. - // - // Constraints: Maximum 64 ASCII characters - // - // [Ensuring idempotency]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html - ClientToken *string - - // Reserved. - Context *string - - // The creation date and time of the EC2 Fleet. - CreateTime *time.Time - - // Information about the instances that could not be launched by the fleet. Valid - // only when Type is set to instant . - Errors []DescribeFleetError - - // Indicates whether running instances should be terminated if the target capacity - // of the EC2 Fleet is decreased below the current size of the EC2 Fleet. - // - // Supported only for fleets of type maintain . - ExcessCapacityTerminationPolicy FleetExcessCapacityTerminationPolicy - - // The ID of the EC2 Fleet. - FleetId *string - - // The state of the EC2 Fleet. - FleetState FleetStateCode - - // The number of units fulfilled by this request compared to the set target - // capacity. - FulfilledCapacity *float64 - - // The number of units fulfilled by this request compared to the set target - // On-Demand capacity. - FulfilledOnDemandCapacity *float64 - - // Information about the instances that were launched by the fleet. Valid only - // when Type is set to instant . - Instances []DescribeFleetsInstances - - // The launch template and overrides. - LaunchTemplateConfigs []FleetLaunchTemplateConfig - - // The allocation strategy of On-Demand Instances in an EC2 Fleet. - OnDemandOptions *OnDemandOptions - - // Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported - // only for fleets of type maintain . For more information, see [EC2 Fleet health checks] in the Amazon EC2 - // User Guide. - // - // [EC2 Fleet health checks]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks - ReplaceUnhealthyInstances *bool - - // The configuration of Spot Instances in an EC2 Fleet. - SpotOptions *SpotOptions - - // The tags for an EC2 Fleet resource. - Tags []Tag - - // The number of units to request. You can choose to set the target capacity in - // terms of instances or a performance characteristic that is important to your - // application workload, such as vCPUs, memory, or I/O. If the request type is - // maintain , you can specify a target capacity of 0 and add capacity later. - TargetCapacitySpecification *TargetCapacitySpecification - - // Indicates whether running instances should be terminated when the EC2 Fleet - // expires. - TerminateInstancesWithExpiration *bool - - // The type of request. Indicates whether the EC2 Fleet only requests the target - // capacity, or also attempts to maintain it. If you request a certain target - // capacity, EC2 Fleet only places the required requests; it does not attempt to - // replenish instances if capacity is diminished, and it does not submit requests - // in alternative capacity pools if capacity is unavailable. To maintain a certain - // target capacity, EC2 Fleet places the required requests to meet this target - // capacity. It also automatically replenishes any interrupted Spot Instances. - // Default: maintain . - Type FleetType - - // The start date and time of the request, in UTC format (for example, - // YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request - // immediately. - ValidFrom *time.Time - - // The end date and time of the request, in UTC format (for example, - // YYYY-MM-DDTHH:MM:SSZ). At this point, no new instance requests are placed or - // able to fulfill the request. The default end date is 7 days from the current - // date. - ValidUntil *time.Time - - noSmithyDocumentSerde -} - -// Describes a block device for an EBS volume. -type FleetEbsBlockDeviceRequest struct { - - // Indicates whether the EBS volume is deleted on instance termination. For more - // information, see [Preserve data when an instance is terminated]in the Amazon EC2 User Guide. - // - // [Preserve data when an instance is terminated]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/preserving-volumes-on-termination.html - DeleteOnTermination *bool - - // Indicates whether the encryption state of an EBS volume is changed while being - // restored from a backing snapshot. The effect of setting the encryption state to - // true depends on the volume origin (new or from a snapshot), starting encryption - // state, ownership, and whether encryption by default is enabled. For more - // information, see [Amazon EBS encryption]in the Amazon EBS User Guide. - // - // In no case can you remove encryption from an encrypted volume. - // - // Encrypted volumes can only be attached to instances that support Amazon EBS - // encryption. For more information, see [Supported instance types]. - // - // This parameter is not returned by [DescribeImageAttribute]. - // - // For [CreateImage] and [RegisterImage], whether you can include this parameter, and the allowed values - // differ depending on the type of block device mapping you are creating. - // - // - If you are creating a block device mapping for a new (empty) volume, you - // can include this parameter, and specify either true for an encrypted volume, - // or false for an unencrypted volume. If you omit this parameter, it defaults to - // false (unencrypted). - // - // - If you are creating a block device mapping from an existing encrypted or - // unencrypted snapshot, you must omit this parameter. If you include this - // parameter, the request will fail, regardless of the value that you specify. - // - // - If you are creating a block device mapping from an existing unencrypted - // volume, you can include this parameter, but you must specify false . If you - // specify true , the request will fail. In this case, we recommend that you omit - // the parameter. - // - // - If you are creating a block device mapping from an existing encrypted - // volume, you can include this parameter, and specify either true or false . - // However, if you specify false , the parameter is ignored and the block device - // mapping is always encrypted. In this case, we recommend that you omit the - // parameter. - // - // [Amazon EBS encryption]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html - // [DescribeImageAttribute]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImageAttribute - // [RegisterImage]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RegisterImage - // [Supported instance types]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances - // [CreateImage]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage - Encrypted *bool - - // The number of I/O operations per second (IOPS). For gp3 , io1 , and io2 - // volumes, this represents the number of IOPS that are provisioned for the volume. - // For gp2 volumes, this represents the baseline performance of the volume and the - // rate at which the volume accumulates I/O credits for bursting. - // - // The following are the supported values for each volume type: - // - // - gp3 : 3,000 - 80,000 IOPS - // - // - io1 : 100 - 64,000 IOPS - // - // - io2 : 100 - 256,000 IOPS - // - // For io2 volumes, you can achieve up to 256,000 IOPS on [instances built on the Nitro System]. On other instances, - // you can achieve performance up to 32,000 IOPS. - // - // This parameter is required for io1 and io2 volumes. The default for gp3 volumes - // is 3,000 IOPS. - // - // [instances built on the Nitro System]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances - Iops *int32 - - // Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed - // KMS key to use for EBS encryption. - // - // This parameter is only supported on BlockDeviceMapping objects called by [CreateFleet], [RequestSpotInstances], - // and [RunInstances]. - // - // [CreateFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html - // [RequestSpotInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html - // [RunInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html - KmsKeyId *string - - // The ID of the snapshot. - SnapshotId *string - - // The throughput that the volume supports, in MiB/s. - // - // This parameter is valid only for gp3 volumes. - // - // Valid Range: Minimum value of 125. Maximum value of 2,000. - Throughput *int32 - - // The size of the volume, in GiBs. You must specify either a snapshot ID or a - // volume size. If you specify a snapshot, the default is the snapshot size. You - // can specify a volume size that is equal to or larger than the snapshot size. - // - // The following are the supported sizes for each volume type: - // - // - gp2 : 1 - 16,384 GiB - // - // - gp3 : 1 - 65,536 GiB - // - // - io1 : 4 - 16,384 GiB - // - // - io2 : 4 - 65,536 GiB - // - // - st1 and sc1 : 125 - 16,384 GiB - // - // - standard : 1 - 1024 GiB - VolumeSize *int32 - - // The volume type. For more information, see [Amazon EBS volume types] in the Amazon EBS User Guide. - // - // [Amazon EBS volume types]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html - VolumeType VolumeType - - noSmithyDocumentSerde -} - -// Describes a launch template and overrides. -type FleetLaunchTemplateConfig struct { - - // The launch template. - LaunchTemplateSpecification *FleetLaunchTemplateSpecification - - // Any parameters that you specify override the same parameters in the launch - // template. - Overrides []FleetLaunchTemplateOverrides - - noSmithyDocumentSerde -} - -// Describes a launch template and overrides. -type FleetLaunchTemplateConfigRequest struct { - - // The launch template to use. You must specify either the launch template ID or - // launch template name in the request. - LaunchTemplateSpecification *FleetLaunchTemplateSpecificationRequest - - // Any parameters that you specify override the same parameters in the launch - // template. - // - // For fleets of type request and maintain , a maximum of 300 items is allowed - // across all launch templates. - Overrides []FleetLaunchTemplateOverridesRequest - - noSmithyDocumentSerde -} - -// Describes overrides for a launch template. -type FleetLaunchTemplateOverrides struct { - - // The Availability Zone in which to launch the instances. For example, us-east-2a . - // - // Either AvailabilityZone or AvailabilityZoneId must be specified in the request, - // but not both. - AvailabilityZone *string - - // The ID of the Availability Zone in which to launch the instances. For example, - // use2-az1 . - // - // Either AvailabilityZone or AvailabilityZoneId must be specified in the request, - // but not both. - AvailabilityZoneId *string - - // The block device mappings, which define the EBS volumes and instance store - // volumes to attach to the instance at launch. - // - // Supported only for fleets of type instant . - // - // For more information, see [Block device mappings for volumes on Amazon EC2 instances] in the Amazon EC2 User Guide. - // - // [Block device mappings for volumes on Amazon EC2 instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html - BlockDeviceMappings []BlockDeviceMappingResponse - - // The ID of the AMI in the format ami-17characters00000 . - // - // Alternatively, you can specify a Systems Manager parameter, using one of the - // following formats. The Systems Manager parameter will resolve to an AMI ID on - // launch. - // - // To reference a public parameter: - // - // - resolve:ssm:public-parameter - // - // To reference a parameter stored in the same account: - // - // - resolve:ssm:parameter-name - // - // - resolve:ssm:parameter-name:version-number - // - // - resolve:ssm:parameter-name:label - // - // To reference a parameter shared from another Amazon Web Services account: - // - // - resolve:ssm:parameter-ARN - // - // - resolve:ssm:parameter-ARN:version-number - // - // - resolve:ssm:parameter-ARN:label - // - // For more information, see [Use a Systems Manager parameter instead of an AMI ID] in the Amazon EC2 User Guide. - // - // This parameter is only available for fleets of type instant . For fleets of type - // maintain and request , you must specify the AMI ID in the launch template. - // - // [Use a Systems Manager parameter instead of an AMI ID]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id - ImageId *string - - // The attributes for the instance types. When you specify instance attributes, - // Amazon EC2 will identify instance types with those attributes. - // - // If you specify InstanceRequirements , you can't specify InstanceType . - InstanceRequirements *InstanceRequirements - - // The instance type. - // - // mac1.metal is not supported as a launch template override. - // - // If you specify InstanceType , you can't specify InstanceRequirements . - InstanceType InstanceType - - // The maximum price per unit hour that you are willing to pay for a Spot - // Instance. We do not recommend using this parameter because it can lead to - // increased interruptions. If you do not specify this parameter, you will pay the - // current Spot price. - // - // If you specify a maximum price, your instances will be interrupted more - // frequently than if you do not specify this parameter. - // - // If you specify a maximum price, it must be more than USD $0.001. Specifying a - // value below USD $0.001 will result in an InvalidParameterValue error message. - MaxPrice *string - - // The location where the instance launched, if applicable. - Placement *PlacementResponse - - // The priority for the launch template override. The highest priority is launched - // first. - // - // If the On-Demand AllocationStrategy is set to prioritized , EC2 Fleet uses - // priority to determine which launch template override to use first in fulfilling - // On-Demand capacity. - // - // If the Spot AllocationStrategy is set to capacity-optimized-prioritized , EC2 - // Fleet uses priority on a best-effort basis to determine which launch template - // override to use in fulfilling Spot capacity, but optimizes for capacity first. - // - // Valid values are whole numbers starting at 0 . The lower the number, the higher - // the priority. If no number is set, the override has the lowest priority. You can - // set the same priority for different launch template overrides. - Priority *float64 - - // The ID of the subnet in which to launch the instances. - SubnetId *string - - // The number of units provided by the specified instance type. These are the same - // units that you chose to set the target capacity in terms of instances, or a - // performance characteristic such as vCPUs, memory, or I/O. - // - // If the target capacity divided by this value is not a whole number, Amazon EC2 - // rounds the number of instances to the next whole number. If this value is not - // specified, the default is 1. - // - // When specifying weights, the price used in the lowest-price and - // price-capacity-optimized allocation strategies is per unit hour (where the - // instance price is divided by the specified weight). However, if all the - // specified weights are above the requested TargetCapacity , resulting in only 1 - // instance being launched, the price used is per instance hour. - WeightedCapacity *float64 - - noSmithyDocumentSerde -} - -// Describes overrides for a launch template. -type FleetLaunchTemplateOverridesRequest struct { - - // The Availability Zone in which to launch the instances. For example, us-east-2a . - // - // Either AvailabilityZone or AvailabilityZoneId must be specified in the request, - // but not both. - AvailabilityZone *string - - // The ID of the Availability Zone in which to launch the instances. For example, - // use2-az1 . - // - // Either AvailabilityZone or AvailabilityZoneId must be specified in the request, - // but not both. - AvailabilityZoneId *string - - // The block device mappings, which define the EBS volumes and instance store - // volumes to attach to the instance at launch. - // - // Supported only for fleets of type instant . - // - // For more information, see [Block device mappings for volumes on Amazon EC2 instances] in the Amazon EC2 User Guide. - // - // [Block device mappings for volumes on Amazon EC2 instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html - BlockDeviceMappings []FleetBlockDeviceMappingRequest - - // The ID of the AMI in the format ami-17characters00000 . - // - // Alternatively, you can specify a Systems Manager parameter, using one of the - // following formats. The Systems Manager parameter will resolve to an AMI ID on - // launch. - // - // To reference a public parameter: - // - // - resolve:ssm:public-parameter - // - // To reference a parameter stored in the same account: - // - // - resolve:ssm:parameter-name - // - // - resolve:ssm:parameter-name:version-number - // - // - resolve:ssm:parameter-name:label - // - // To reference a parameter shared from another Amazon Web Services account: - // - // - resolve:ssm:parameter-ARN - // - // - resolve:ssm:parameter-ARN:version-number - // - // - resolve:ssm:parameter-ARN:label - // - // For more information, see [Use a Systems Manager parameter instead of an AMI ID] in the Amazon EC2 User Guide. - // - // This parameter is only available for fleets of type instant . For fleets of type - // maintain and request , you must specify the AMI ID in the launch template. - // - // [Use a Systems Manager parameter instead of an AMI ID]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id - ImageId *string - - // The attributes for the instance types. When you specify instance attributes, - // Amazon EC2 will identify instance types with those attributes. - // - // If you specify InstanceRequirements , you can't specify InstanceType . - InstanceRequirements *InstanceRequirementsRequest - - // The instance type. - // - // mac1.metal is not supported as a launch template override. - // - // If you specify InstanceType , you can't specify InstanceRequirements . - InstanceType InstanceType - - // The maximum price per unit hour that you are willing to pay for a Spot - // Instance. We do not recommend using this parameter because it can lead to - // increased interruptions. If you do not specify this parameter, you will pay the - // current Spot price. - // - // If you specify a maximum price, your instances will be interrupted more - // frequently than if you do not specify this parameter. - // - // If you specify a maximum price, it must be more than USD $0.001. Specifying a - // value below USD $0.001 will result in an InvalidParameterValue error message. - MaxPrice *string - - // The location where the instance launched, if applicable. - Placement *Placement - - // The priority for the launch template override. The highest priority is launched - // first. - // - // If the On-Demand AllocationStrategy is set to prioritized , EC2 Fleet uses - // priority to determine which launch template override to use first in fulfilling - // On-Demand capacity. - // - // If the Spot AllocationStrategy is set to capacity-optimized-prioritized , EC2 - // Fleet uses priority on a best-effort basis to determine which launch template - // override to use in fulfilling Spot capacity, but optimizes for capacity first. - // - // Valid values are whole numbers starting at 0 . The lower the number, the higher - // the priority. If no number is set, the launch template override has the lowest - // priority. You can set the same priority for different launch template overrides. - Priority *float64 - - // The IDs of the subnets in which to launch the instances. Separate multiple - // subnet IDs using commas (for example, subnet-1234abcdeexample1, - // subnet-0987cdef6example2 ). A request of type instant can have only one subnet - // ID. - SubnetId *string - - // The number of units provided by the specified instance type. These are the same - // units that you chose to set the target capacity in terms of instances, or a - // performance characteristic such as vCPUs, memory, or I/O. - // - // If the target capacity divided by this value is not a whole number, Amazon EC2 - // rounds the number of instances to the next whole number. If this value is not - // specified, the default is 1. - // - // When specifying weights, the price used in the lowest-price and - // price-capacity-optimized allocation strategies is per unit hour (where the - // instance price is divided by the specified weight). However, if all the - // specified weights are above the requested TargetCapacity , resulting in only 1 - // instance being launched, the price used is per instance hour. - WeightedCapacity *float64 - - noSmithyDocumentSerde -} - -// The Amazon EC2 launch template that can be used by a Spot Fleet to configure -// Amazon EC2 instances. You must specify either the ID or name of the launch -// template in the request, but not both. -// -// For information about launch templates, see [Launch an instance from a launch template] in the Amazon EC2 User Guide. -// -// [Launch an instance from a launch template]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html -type FleetLaunchTemplateSpecification struct { - - // The ID of the launch template. - // - // You must specify the LaunchTemplateId or the LaunchTemplateName , but not both. - LaunchTemplateId *string - - // The name of the launch template. - // - // You must specify the LaunchTemplateName or the LaunchTemplateId , but not both. - LaunchTemplateName *string - - // The launch template version number, $Latest , or $Default . You must specify a - // value, otherwise the request fails. - // - // If the value is $Latest , Amazon EC2 uses the latest version of the launch - // template. - // - // If the value is $Default , Amazon EC2 uses the default version of the launch - // template. - Version *string - - noSmithyDocumentSerde -} - -// The Amazon EC2 launch template that can be used by an EC2 Fleet to configure -// Amazon EC2 instances. You must specify either the ID or name of the launch -// template in the request, but not both. -// -// For information about launch templates, see [Launch an instance from a launch template] in the Amazon EC2 User Guide. -// -// [Launch an instance from a launch template]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html -type FleetLaunchTemplateSpecificationRequest struct { - - // The ID of the launch template. - // - // You must specify the LaunchTemplateId or the LaunchTemplateName , but not both. - LaunchTemplateId *string - - // The name of the launch template. - // - // You must specify the LaunchTemplateName or the LaunchTemplateId , but not both. - LaunchTemplateName *string - - // The launch template version number, $Latest , or $Default . You must specify a - // value, otherwise the request fails. - // - // If the value is $Latest , Amazon EC2 uses the latest version of the launch - // template. - // - // If the value is $Default , Amazon EC2 uses the default version of the launch - // template. - Version *string - - noSmithyDocumentSerde -} - -// The strategy to use when Amazon EC2 emits a signal that your Spot Instance is -// at an elevated risk of being interrupted. -type FleetSpotCapacityRebalance struct { - - // The replacement strategy to use. Only available for fleets of type maintain . - // - // launch - EC2 Fleet launches a new replacement Spot Instance when a rebalance - // notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet - // does not terminate the instances that receive a rebalance notification. You can - // terminate the old instances, or you can leave them running. You are charged for - // all instances while they are running. - // - // launch-before-terminate - EC2 Fleet launches a new replacement Spot Instance - // when a rebalance notification is emitted for an existing Spot Instance in the - // fleet, and then, after a delay that you specify (in TerminationDelay ), - // terminates the instances that received a rebalance notification. - ReplacementStrategy FleetReplacementStrategy - - // The amount of time (in seconds) that Amazon EC2 waits before terminating the - // old Spot Instance after launching a new replacement Spot Instance. - // - // Required when ReplacementStrategy is set to launch-before-terminate . - // - // Not valid when ReplacementStrategy is set to launch . - // - // Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds. - TerminationDelay *int32 - - noSmithyDocumentSerde -} - -// The Spot Instance replacement strategy to use when Amazon EC2 emits a rebalance -// notification signal that your Spot Instance is at an elevated risk of being -// interrupted. For more information, see [Capacity rebalancing]in the Amazon EC2 User Guide. -// -// [Capacity rebalancing]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-capacity-rebalance.html -type FleetSpotCapacityRebalanceRequest struct { - - // The replacement strategy to use. Only available for fleets of type maintain . - // - // launch - EC2 Fleet launches a replacement Spot Instance when a rebalance - // notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet - // does not terminate the instances that receive a rebalance notification. You can - // terminate the old instances, or you can leave them running. You are charged for - // all instances while they are running. - // - // launch-before-terminate - EC2 Fleet launches a replacement Spot Instance when a - // rebalance notification is emitted for an existing Spot Instance in the fleet, - // and then, after a delay that you specify (in TerminationDelay ), terminates the - // instances that received a rebalance notification. - ReplacementStrategy FleetReplacementStrategy - - // The amount of time (in seconds) that Amazon EC2 waits before terminating the - // old Spot Instance after launching a new replacement Spot Instance. - // - // Required when ReplacementStrategy is set to launch-before-terminate . - // - // Not valid when ReplacementStrategy is set to launch . - // - // Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds. - TerminationDelay *int32 - - noSmithyDocumentSerde -} - -// The strategies for managing your Spot Instances that are at an elevated risk of -// being interrupted. -type FleetSpotMaintenanceStrategies struct { - - // The strategy to use when Amazon EC2 emits a signal that your Spot Instance is - // at an elevated risk of being interrupted. - CapacityRebalance *FleetSpotCapacityRebalance - - noSmithyDocumentSerde -} - -// The strategies for managing your Spot Instances that are at an elevated risk of -// being interrupted. -type FleetSpotMaintenanceStrategiesRequest struct { - - // The strategy to use when Amazon EC2 emits a signal that your Spot Instance is - // at an elevated risk of being interrupted. - CapacityRebalance *FleetSpotCapacityRebalanceRequest - - noSmithyDocumentSerde -} - -// Describes a flow log. -type FlowLog struct { - - // The date and time the flow log was created. - CreationTime *time.Time - - // The ARN of the IAM role that allows the service to publish flow logs across - // accounts. - DeliverCrossAccountRole *string - - // Information about the error that occurred. Rate limited indicates that - // CloudWatch Logs throttling has been applied for one or more network interfaces, - // or that you've reached the limit on the number of log groups that you can - // create. Access error indicates that the IAM role associated with the flow log - // does not have sufficient permissions to publish to CloudWatch Logs. Unknown - // error indicates an internal error. - DeliverLogsErrorMessage *string - - // The ARN of the IAM role allows the service to publish logs to CloudWatch Logs. - DeliverLogsPermissionArn *string - - // The status of the logs delivery ( SUCCESS | FAILED ). - DeliverLogsStatus *string - - // The destination options. - DestinationOptions *DestinationOptionsResponse - - // The ID of the flow log. - FlowLogId *string - - // The status of the flow log ( ACTIVE ). - FlowLogStatus *string - - // The Amazon Resource Name (ARN) of the destination for the flow log data. - LogDestination *string - - // The type of destination for the flow log data. - LogDestinationType LogDestinationType - - // The format of the flow log record. - LogFormat *string - - // The name of the flow log group. - LogGroupName *string - - // The maximum interval of time, in seconds, during which a flow of packets is - // captured and aggregated into a flow log record. - // - // When a network interface is attached to a [Nitro-based instance], the aggregation interval is always - // 60 seconds (1 minute) or less, regardless of the specified value. - // - // Valid Values: 60 | 600 - // - // [Nitro-based instance]: https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html - MaxAggregationInterval *int32 - - // The ID of the resource being monitored. - ResourceId *string - - // The tags for the flow log. - Tags []Tag - - // The type of traffic captured for the flow log. - TrafficType TrafficType - - noSmithyDocumentSerde -} - -// Describes the FPGA accelerator for the instance type. -type FpgaDeviceInfo struct { - - // The count of FPGA accelerators for the instance type. - Count *int32 - - // The manufacturer of the FPGA accelerator. - Manufacturer *string - - // Describes the memory for the FPGA accelerator for the instance type. - MemoryInfo *FpgaDeviceMemoryInfo - - // The name of the FPGA accelerator. - Name *string - - noSmithyDocumentSerde -} - -// Describes the memory for the FPGA accelerator for the instance type. -type FpgaDeviceMemoryInfo struct { - - // The size of the memory available to the FPGA accelerator, in MiB. - SizeInMiB *int32 - - noSmithyDocumentSerde -} - -// Describes an Amazon FPGA image (AFI). -type FpgaImage struct { - - // The date and time the AFI was created. - CreateTime *time.Time - - // Indicates whether data retention support is enabled for the AFI. - DataRetentionSupport *bool - - // The description of the AFI. - Description *string - - // The global FPGA image identifier (AGFI ID). - FpgaImageGlobalId *string - - // The FPGA image identifier (AFI ID). - FpgaImageId *string - - // The instance types supported by the AFI. - InstanceTypes []string - - // The name of the AFI. - Name *string - - // The alias of the AFI owner. Possible values include self , amazon , and - // aws-marketplace . - OwnerAlias *string - - // The ID of the Amazon Web Services account that owns the AFI. - OwnerId *string - - // Information about the PCI bus. - PciId *PciId - - // The product codes for the AFI. - ProductCodes []ProductCode - - // Indicates whether the AFI is public. - Public *bool - - // The version of the Amazon Web Services Shell that was used to create the - // bitstream. - ShellVersion *string - - // Information about the state of the AFI. - State *FpgaImageState - - // Any tags assigned to the AFI. - Tags []Tag - - // The time of the most recent update to the AFI. - UpdateTime *time.Time - - noSmithyDocumentSerde -} - -// Describes an Amazon FPGA image (AFI) attribute. -type FpgaImageAttribute struct { - - // The description of the AFI. - Description *string - - // The ID of the AFI. - FpgaImageId *string - - // The load permissions. - LoadPermissions []LoadPermission - - // The name of the AFI. - Name *string - - // The product codes. - ProductCodes []ProductCode - - noSmithyDocumentSerde -} - -// Describes the state of the bitstream generation process for an Amazon FPGA -// image (AFI). -type FpgaImageState struct { - - // The state. The following are the possible values: - // - // - pending - AFI bitstream generation is in progress. - // - // - available - The AFI is available for use. - // - // - failed - AFI bitstream generation failed. - // - // - unavailable - The AFI is no longer available for use. - Code FpgaImageStateCode - - // If the state is failed , this is the error message. - Message *string - - noSmithyDocumentSerde -} - -// Describes the FPGAs for the instance type. -type FpgaInfo struct { - - // Describes the FPGAs for the instance type. - Fpgas []FpgaDeviceInfo - - // The total memory of all FPGA accelerators for the instance type. - TotalFpgaMemoryInMiB *int32 - - noSmithyDocumentSerde -} - -// Describes the GPU accelerators for the instance type. -type GpuDeviceInfo struct { - - // The number of GPUs for the instance type. - Count *int32 - - // The manufacturer of the GPU accelerator. - Manufacturer *string - - // Describes the memory available to the GPU accelerator. - MemoryInfo *GpuDeviceMemoryInfo - - // The name of the GPU accelerator. - Name *string - - noSmithyDocumentSerde -} - -// Describes the memory available to the GPU accelerator. -type GpuDeviceMemoryInfo struct { - - // The size of the memory available to the GPU accelerator, in MiB. - SizeInMiB *int32 - - noSmithyDocumentSerde -} - -// Describes the GPU accelerators for the instance type. -type GpuInfo struct { - - // Describes the GPU accelerators for the instance type. - Gpus []GpuDeviceInfo - - // The total size of the memory for the GPU accelerators for the instance type, in - // MiB. - TotalGpuMemoryInMiB *int32 - - noSmithyDocumentSerde -} - -// Describes a security group. -type GroupIdentifier struct { - - // The ID of the security group. - GroupId *string - - // The name of the security group. - GroupName *string - - noSmithyDocumentSerde -} - -// Indicates whether your instance is configured for hibernation. This parameter -// is valid only if the instance meets the [hibernation prerequisites]. For more information, see [Hibernate your Amazon EC2 instance] in the -// Amazon EC2 User Guide. -// -// [Hibernate your Amazon EC2 instance]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html -// [hibernation prerequisites]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html -type HibernationOptions struct { - - // If true , your instance is enabled for hibernation; otherwise, it is not enabled - // for hibernation. - Configured *bool - - noSmithyDocumentSerde -} - -// Indicates whether your instance is configured for hibernation. This parameter -// is valid only if the instance meets the [hibernation prerequisites]. For more information, see [Hibernate your Amazon EC2 instance] in the -// Amazon EC2 User Guide. -// -// [Hibernate your Amazon EC2 instance]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html -// [hibernation prerequisites]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html -type HibernationOptionsRequest struct { - - // Set to true to enable your instance for hibernation. - // - // For Spot Instances, if you set Configured to true , either omit the - // InstanceInterruptionBehavior parameter (for [SpotMarketOptions]SpotMarketOptions ), or set it to - // hibernate . When Configured is true: - // - // - If you omit InstanceInterruptionBehavior , it defaults to hibernate . - // - // - If you set InstanceInterruptionBehavior to a value other than hibernate , - // you'll get an error. - // - // Default: false - // - // [SpotMarketOptions]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotMarketOptions.html - Configured *bool - - noSmithyDocumentSerde -} - -// Describes an event in the history of the Spot Fleet request. -type HistoryRecord struct { - - // Information about the event. - EventInformation *EventInformation - - // The event type. - // - // - error - An error with the Spot Fleet request. - // - // - fleetRequestChange - A change in the status or configuration of the Spot - // Fleet request. - // - // - instanceChange - An instance was launched or terminated. - // - // - Information - An informational event. - EventType EventType - - // The date and time of the event, in UTC format (for example, - // YYYY-MM-DDTHH:MM:SSZ). - Timestamp *time.Time - - noSmithyDocumentSerde -} - -// Describes an event in the history of an EC2 Fleet. -type HistoryRecordEntry struct { - - // Information about the event. - EventInformation *EventInformation - - // The event type. - EventType FleetEventType - - // The date and time of the event, in UTC format (for example, - // YYYY-MM-DDTHH:MM:SSZ). - Timestamp *time.Time - - noSmithyDocumentSerde -} - -// Describes the properties of the Dedicated Host. -type Host struct { - - // The time that the Dedicated Host was allocated. - AllocationTime *time.Time - - // Indicates whether the Dedicated Host supports multiple instance types of the - // same instance family. If the value is on , the Dedicated Host supports multiple - // instance types in the instance family. If the value is off , the Dedicated Host - // supports a single instance type only. - AllowsMultipleInstanceTypes AllowsMultipleInstanceTypes - - // The ID of the Outpost hardware asset on which the Dedicated Host is allocated. - AssetId *string - - // Whether auto-placement is on or off. - AutoPlacement AutoPlacement - - // The Availability Zone of the Dedicated Host. - AvailabilityZone *string - - // The ID of the Availability Zone in which the Dedicated Host is allocated. - AvailabilityZoneId *string - - // Information about the instances running on the Dedicated Host. - AvailableCapacity *AvailableCapacity - - // Unique, case-sensitive identifier that you provide to ensure the idempotency of - // the request. For more information, see [Ensuring Idempotency]. - // - // [Ensuring Idempotency]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html - ClientToken *string - - // The ID of the Dedicated Host. - HostId *string - - // Indicates whether host maintenance is enabled or disabled for the Dedicated - // Host. - HostMaintenance HostMaintenance - - // The hardware specifications of the Dedicated Host. - HostProperties *HostProperties - - // Indicates whether host recovery is enabled or disabled for the Dedicated Host. - HostRecovery HostRecovery - - // The reservation ID of the Dedicated Host. This returns a null response if the - // Dedicated Host doesn't have an associated reservation. - HostReservationId *string - - // The IDs and instance type that are currently running on the Dedicated Host. - Instances []HostInstance - - // Indicates whether the Dedicated Host is in a host resource group. If - // memberOfServiceLinkedResourceGroup is true , the host is in a host resource - // group; otherwise, it is not. - MemberOfServiceLinkedResourceGroup *bool - - // The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which the - // Dedicated Host is allocated. - OutpostArn *string - - // The ID of the Amazon Web Services account that owns the Dedicated Host. - OwnerId *string - - // The time that the Dedicated Host was released. - ReleaseTime *time.Time - - // The Dedicated Host's state. - State AllocationState - - // Any tags assigned to the Dedicated Host. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes an instance running on a Dedicated Host. -type HostInstance struct { - - // The ID of instance that is running on the Dedicated Host. - InstanceId *string - - // The instance type (for example, m3.medium ) of the running instance. - InstanceType *string - - // The ID of the Amazon Web Services account that owns the instance. - OwnerId *string - - noSmithyDocumentSerde -} - -// Details about the Dedicated Host Reservation offering. -type HostOffering struct { - - // The currency of the offering. - CurrencyCode CurrencyCodeValues - - // The duration of the offering (in seconds). - Duration *int32 - - // The hourly price of the offering. - HourlyPrice *string - - // The instance family of the offering. - InstanceFamily *string - - // The ID of the offering. - OfferingId *string - - // The available payment option. - PaymentOption PaymentOption - - // The upfront price of the offering. Does not apply to No Upfront offerings. - UpfrontPrice *string - - noSmithyDocumentSerde -} - -// Describes the properties of a Dedicated Host. -type HostProperties struct { - - // The number of cores on the Dedicated Host. - Cores *int32 - - // The instance family supported by the Dedicated Host. For example, m5 . - InstanceFamily *string - - // The instance type supported by the Dedicated Host. For example, m5.large . If - // the host supports multiple instance types, no instanceType is returned. - InstanceType *string - - // The number of sockets on the Dedicated Host. - Sockets *int32 - - // The total number of vCPUs on the Dedicated Host. - TotalVCpus *int32 - - noSmithyDocumentSerde -} - -// Details about the Dedicated Host Reservation and associated Dedicated Hosts. -type HostReservation struct { - - // The number of Dedicated Hosts the reservation is associated with. - Count *int32 - - // The currency in which the upfrontPrice and hourlyPrice amounts are specified. - // At this time, the only supported currency is USD . - CurrencyCode CurrencyCodeValues - - // The length of the reservation's term, specified in seconds. Can be 31536000 (1 - // year) | 94608000 (3 years) . - Duration *int32 - - // The date and time that the reservation ends. - End *time.Time - - // The IDs of the Dedicated Hosts associated with the reservation. - HostIdSet []string - - // The ID of the reservation that specifies the associated Dedicated Hosts. - HostReservationId *string - - // The hourly price of the reservation. - HourlyPrice *string - - // The instance family of the Dedicated Host Reservation. The instance family on - // the Dedicated Host must be the same in order for it to benefit from the - // reservation. - InstanceFamily *string - - // The ID of the reservation. This remains the same regardless of which Dedicated - // Hosts are associated with it. - OfferingId *string - - // The payment option selected for this reservation. - PaymentOption PaymentOption - - // The date and time that the reservation started. - Start *time.Time - - // The state of the reservation. - State ReservationState - - // Any tags assigned to the Dedicated Host Reservation. - Tags []Tag - - // The upfront price of the reservation. - UpfrontPrice *string - - noSmithyDocumentSerde -} - -// Describes an IAM instance profile. -type IamInstanceProfile struct { - - // The Amazon Resource Name (ARN) of the instance profile. - Arn *string - - // The ID of the instance profile. - Id *string - - noSmithyDocumentSerde -} - -// Describes an association between an IAM instance profile and an instance. -type IamInstanceProfileAssociation struct { - - // The ID of the association. - AssociationId *string - - // The IAM instance profile. - IamInstanceProfile *IamInstanceProfile - - // The ID of the instance. - InstanceId *string - - // The state of the association. - State IamInstanceProfileAssociationState - - // The time the IAM instance profile was associated with the instance. - Timestamp *time.Time - - noSmithyDocumentSerde -} - -// Describes an IAM instance profile. -type IamInstanceProfileSpecification struct { - - // The Amazon Resource Name (ARN) of the instance profile. - Arn *string - - // The name of the instance profile. - Name *string - - noSmithyDocumentSerde -} - -// Describes the ICMP type and code. -type IcmpTypeCode struct { - - // The ICMP code. A value of -1 means all codes for the specified ICMP type. - Code *int32 - - // The ICMP type. A value of -1 means all types. - Type *int32 - - noSmithyDocumentSerde -} - -// Describes the ID format for a resource. -type IdFormat struct { - - // The date in UTC at which you are permanently switched over to using longer IDs. - // If a deadline is not yet available for this resource type, this field is not - // returned. - Deadline *time.Time - - // The type of resource. - Resource *string - - // Indicates whether longer IDs (17-character IDs) are enabled for the resource. - UseLongIds *bool - - noSmithyDocumentSerde -} - -// The internet key exchange (IKE) version permitted for the VPN tunnel. -type IKEVersionsListValue struct { - - // The IKE version. - Value *string - - noSmithyDocumentSerde -} - -// The IKE version that is permitted for the VPN tunnel. -type IKEVersionsRequestListValue struct { - - // The IKE version. - Value *string - - noSmithyDocumentSerde -} - -// Describes an image. -type Image struct { - - // The architecture of the image. - Architecture ArchitectureValues - - // Any block device mapping entries. - BlockDeviceMappings []BlockDeviceMapping - - // The boot mode of the image. For more information, see [Instance launch behavior with Amazon EC2 boot modes] in the Amazon EC2 User - // Guide. - // - // [Instance launch behavior with Amazon EC2 boot modes]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html - BootMode BootModeValues - - // The date and time the image was created. - CreationDate *string - - // The date and time to deprecate the AMI, in UTC, in the following format: - // YYYY-MM-DDTHH:MM:SSZ. If you specified a value for seconds, Amazon EC2 rounds - // the seconds to the nearest minute. - DeprecationTime *string - - // Indicates whether deregistration protection is enabled for the AMI. - DeregistrationProtection *string - - // The description of the AMI that was provided during image creation. - Description *string - - // Specifies whether enhanced networking with ENA is enabled. - EnaSupport *bool - - // Indicates whether the image is eligible for Amazon Web Services Free Tier. - // - // - If true , the AMI is eligible for Free Tier and can be used to launch - // instances under the Free Tier limits. - // - // - If false , the AMI is not eligible for Free Tier. - FreeTierEligible *bool - - // The hypervisor type of the image. Only xen is supported. ovm is not supported. - Hypervisor HypervisorType - - // If true , the AMI satisfies the criteria for Allowed AMIs and can be discovered - // and used in the account. If false and Allowed AMIs is set to enabled , the AMI - // can't be discovered or used in the account. If false and Allowed AMIs is set to - // audit-mode , the AMI can be discovered and used in the account. - // - // For more information, see [Control the discovery and use of AMIs in Amazon EC2 with Allowed AMIs] in Amazon EC2 User Guide. - // - // [Control the discovery and use of AMIs in Amazon EC2 with Allowed AMIs]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html - ImageAllowed *bool - - // The ID of the AMI. - ImageId *string - - // The location of the AMI. - ImageLocation *string - - // The owner alias ( amazon | aws-backup-vault | aws-marketplace ). - ImageOwnerAlias *string - - // The type of image. - ImageType ImageTypeValues - - // If v2.0 , it indicates that IMDSv2 is specified in the AMI. Instances launched - // from this AMI will have HttpTokens automatically set to required so that, by - // default, the instance requires that IMDSv2 is used when requesting instance - // metadata. In addition, HttpPutResponseHopLimit is set to 2 . For more - // information, see [Configure the AMI]in the Amazon EC2 User Guide. - // - // [Configure the AMI]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration - ImdsSupport ImdsSupportValues - - // The kernel associated with the image, if any. Only applicable for machine - // images. - KernelId *string - - // The date and time, in [ISO 8601 date-time format], when the AMI was last used to launch an EC2 instance. - // When the AMI is used to launch an instance, there is a 24-hour delay before that - // usage is reported. - // - // lastLaunchedTime data is available starting April 2017. - // - // [ISO 8601 date-time format]: http://www.iso.org/iso/iso8601 - LastLaunchedTime *string - - // The name of the AMI that was provided during image creation. - Name *string - - // The ID of the Amazon Web Services account that owns the image. - OwnerId *string - - // This value is set to windows for Windows AMIs; otherwise, it is blank. - Platform PlatformValues - - // The platform details associated with the billing code of the AMI. For more - // information, see [Understand AMI billing information]in the Amazon EC2 User Guide. - // - // [Understand AMI billing information]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html - PlatformDetails *string - - // Any product codes associated with the AMI. - ProductCodes []ProductCode - - // Indicates whether the image has public launch permissions. The value is true if - // this image has public launch permissions or false if it has only implicit and - // explicit launch permissions. - Public *bool - - // The RAM disk associated with the image, if any. Only applicable for machine - // images. - RamdiskId *string - - // The device name of the root device volume (for example, /dev/sda1 ). - RootDeviceName *string - - // The type of root device used by the AMI. The AMI can use an Amazon EBS volume - // or an instance store volume. - RootDeviceType DeviceType - - // The ID of the source AMI from which the AMI was created. - SourceImageId *string - - // The Region of the source AMI. - SourceImageRegion *string - - // The ID of the instance that the AMI was created from if the AMI was created - // using [CreateImage]. This field only appears if the AMI was created using CreateImage. - // - // [CreateImage]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html - SourceInstanceId *string - - // Specifies whether enhanced networking with the Intel 82599 Virtual Function - // interface is enabled. - SriovNetSupport *string - - // The current state of the AMI. If the state is available , the image is - // successfully registered and can be used to launch an instance. - State ImageState - - // The reason for the state change. - StateReason *StateReason - - // Any tags assigned to the image. - Tags []Tag - - // If the image is configured for NitroTPM support, the value is v2.0 . For more - // information, see [NitroTPM]in the Amazon EC2 User Guide. - // - // [NitroTPM]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html - TpmSupport TpmSupportValues - - // The operation of the Amazon EC2 instance and the billing code that is - // associated with the AMI. usageOperation corresponds to the [lineitem/Operation] column on your - // Amazon Web Services Cost and Usage Report and in the [Amazon Web Services Price List API]. You can view these - // fields on the Instances or AMIs pages in the Amazon EC2 console, or in the - // responses that are returned by the [DescribeImages]command in the Amazon EC2 API, or the [describe-images] - // command in the CLI. - // - // [describe-images]: https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html - // [lineitem/Operation]: https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation - // [DescribeImages]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html - // [Amazon Web Services Price List API]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html - UsageOperation *string - - // The type of virtualization of the AMI. - VirtualizationType VirtualizationType - - noSmithyDocumentSerde -} - -// Information about a single AMI in the ancestry chain and its source (parent) -// AMI. -type ImageAncestryEntry struct { - - // The date and time when this AMI was created. - CreationDate *time.Time - - // The ID of this AMI. - ImageId *string - - // The owner alias ( amazon | aws-backup-vault | aws-marketplace ) of this AMI, if - // one is assigned. Otherwise, the value is null . - ImageOwnerAlias *string - - // The ID of the parent AMI. - SourceImageId *string - - // The Amazon Web Services Region of the parent AMI. - SourceImageRegion *string - - noSmithyDocumentSerde -} - -// The criteria that are evaluated to determine which AMIs are discoverable and -// usable in your account for the specified Amazon Web Services Region. -// -// For more information, see [How Allowed AMIs works] in the Amazon EC2 User Guide. -// -// [How Allowed AMIs works]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html#how-allowed-amis-works -type ImageCriterion struct { - - // The maximum age for allowed images. - CreationDateCondition *CreationDateCondition - - // The maximum period since deprecation for allowed images. - DeprecationTimeCondition *DeprecationTimeCondition - - // The names of allowed images. Names can include wildcards ( ? and * ). - // - // Length: 1–128 characters. With ? , the minimum is 3 characters. - // - // Valid characters: - // - // - Letters: A–Z, a–z - // - // - Numbers: 0–9 - // - // - Special characters: ( ) [ ] . / - ' @ _ * ? - // - // - Spaces - // - // Maximum: 50 values - ImageNames []string - - // The image providers whose images are allowed. - // - // Possible values: - // - // - amazon : Allow AMIs created by Amazon or verified providers. - // - // - aws-marketplace : Allow AMIs created by verified providers in the Amazon Web - // Services Marketplace. - // - // - aws-backup-vault : Allow AMIs created by Amazon Web Services Backup. - // - // - 12-digit account ID: Allow AMIs created by this account. One or more - // account IDs can be specified. - // - // - none : Allow AMIs created by your own account only. - // - // Maximum: 200 values - ImageProviders []string - - // The Amazon Web Services Marketplace product codes for allowed images. - // - // Length: 1-25 characters - // - // Valid characters: Letters ( A–Z, a–z ) and numbers ( 0–9 ) - // - // Maximum: 50 values - MarketplaceProductCodes []string - - noSmithyDocumentSerde -} - -// The criteria that are evaluated to determine which AMIs are discoverable and -// usable in your account for the specified Amazon Web Services Region. -// -// The ImageCriteria can include up to: -// -// - 10 ImageCriterion -// -// Each ImageCriterion can include up to: -// -// - 200 values for ImageProviders -// -// - 50 values for ImageNames -// -// - 50 values for MarketplaceProductCodes -// -// For more information, see [How Allowed AMIs works] in the Amazon EC2 User Guide. -// -// [How Allowed AMIs works]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html#how-allowed-amis-works -type ImageCriterionRequest struct { - - // The maximum age for allowed images. - CreationDateCondition *CreationDateConditionRequest - - // The maximum period since deprecation for allowed images. - DeprecationTimeCondition *DeprecationTimeConditionRequest - - // The names of allowed images. Names can include wildcards ( ? and * ). - // - // Length: 1–128 characters. With ? , the minimum is 3 characters. - // - // Valid characters: - // - // - Letters: A–Z, a–z - // - // - Numbers: 0–9 - // - // - Special characters: ( ) [ ] . / - ' @ _ * ? - // - // - Spaces - // - // Maximum: 50 values - ImageNames []string - - // The image providers whose images are allowed. - // - // Possible values: - // - // - amazon : Allow AMIs created by Amazon or verified providers. - // - // - aws-marketplace : Allow AMIs created by verified providers in the Amazon Web - // Services Marketplace. - // - // - aws-backup-vault : Allow AMIs created by Amazon Web Services Backup. - // - // - 12-digit account ID: Allow AMIs created by the specified accounts. One or - // more account IDs can be specified. - // - // - none : Allow AMIs created by your own account only. When none is specified, - // no other values can be specified. - // - // Maximum: 200 values - ImageProviders []string - - // The Amazon Web Services Marketplace product codes for allowed images. - // - // Length: 1-25 characters - // - // Valid characters: Letters ( A–Z, a–z ) and numbers ( 0–9 ) - // - // Maximum: 50 values - MarketplaceProductCodes []string - - noSmithyDocumentSerde -} - -// Describes the disk container object for an import image task. -type ImageDiskContainer struct { - - // The description of the disk image. - Description *string - - // The block device mapping for the disk. - DeviceName *string - - // The format of the disk image being imported. - // - // Valid values: OVA | VHD | VHDX | VMDK | RAW - Format *string - - // The ID of the EBS snapshot to be used for importing the snapshot. - SnapshotId *string - - // The URL to the Amazon S3-based disk image being imported. The URL can either be - // a https URL (https://..) or an Amazon S3 URL (s3://..) - Url *string - - // The S3 bucket for the disk image. - UserBucket *UserBucket - - noSmithyDocumentSerde -} - -// Information about the AMI. -type ImageMetadata struct { - - // The date and time the AMI was created. - CreationDate *string - - // The deprecation date and time of the AMI, in UTC, in the following format: - // YYYY-MM-DDTHH:MM:SSZ. - DeprecationTime *string - - // If true , the AMI satisfies the criteria for Allowed AMIs and can be discovered - // and used in the account. If false , the AMI can't be discovered or used in the - // account. - // - // For more information, see [Control the discovery and use of AMIs in Amazon EC2 with Allowed AMIs] in Amazon EC2 User Guide. - // - // [Control the discovery and use of AMIs in Amazon EC2 with Allowed AMIs]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html - ImageAllowed *bool - - // The ID of the AMI. - ImageId *string - - // The alias of the AMI owner. - // - // Valid values: amazon | aws-backup-vault | aws-marketplace - ImageOwnerAlias *string - - // Indicates whether the AMI has public launch permissions. A value of true means - // this AMI has public launch permissions, while false means it has only implicit - // (AMI owner) or explicit (shared with your account) launch permissions. - IsPublic *bool - - // The name of the AMI. - Name *string - - // The ID of the Amazon Web Services account that owns the AMI. - OwnerId *string - - // The current state of the AMI. If the state is available , the AMI is - // successfully registered and can be used to launch an instance. - State ImageState - - noSmithyDocumentSerde -} - -// Information about an AMI that is currently in the Recycle Bin. -type ImageRecycleBinInfo struct { - - // The description of the AMI. - Description *string - - // The ID of the AMI. - ImageId *string - - // The name of the AMI. - Name *string - - // The date and time when the AMI entered the Recycle Bin. - RecycleBinEnterTime *time.Time - - // The date and time when the AMI is to be permanently deleted from the Recycle - // Bin. - RecycleBinExitTime *time.Time - - noSmithyDocumentSerde -} - -// A resource that is referencing an image. -type ImageReference struct { - - // The Amazon Resource Name (ARN) of the resource referencing the image. - Arn *string - - // The ID of the referenced image. - ImageId *string - - // The type of resource referencing the image. - ResourceType ImageReferenceResourceType - - noSmithyDocumentSerde -} - -// The configuration and status of an image usage report. -type ImageUsageReport struct { - - // The IDs of the Amazon Web Services accounts that were specified when the report - // was created. - AccountIds []string - - // The date and time when the report was created. - CreationTime *time.Time - - // The date and time when Amazon EC2 will delete the report (30 days after the - // report was created). - ExpirationTime *time.Time - - // The ID of the image that was specified when the report was created. - ImageId *string - - // The ID of the report. - ReportId *string - - // The resource types that were specified when the report was created. - ResourceTypes []ImageUsageResourceType - - // The current state of the report. Possible values: - // - // - available - The report is available to view. - // - // - pending - The report is being created and not available to view. - // - // - error - The report could not be created. - State *string - - // Provides additional details when the report is in an error state. - StateReason *string - - // Any tags assigned to the report. - Tags []Tag - - noSmithyDocumentSerde -} - -// A single entry in an image usage report, detailing how an image is being used -// by a specific Amazon Web Services account and resource type. -type ImageUsageReportEntry struct { - - // The ID of the account that uses the image. - AccountId *string - - // The ID of the image. - ImageId *string - - // The date and time the report creation was initiated. - ReportCreationTime *time.Time - - // The ID of the report. - ReportId *string - - // The type of resource ( ec2:Instance or ec2:LaunchTemplate ). - ResourceType *string - - // The number of times resources of this type reference this image in the account. - UsageCount *int64 - - noSmithyDocumentSerde -} - -// A resource type to include in the report. Associated options can also be -// specified if the resource type is a launch template. -type ImageUsageResourceType struct { - - // The resource type. - // - // Valid values: ec2:Instance | ec2:LaunchTemplate - ResourceType *string - - // The options that affect the scope of the report. Valid only when ResourceType - // is ec2:LaunchTemplate . - ResourceTypeOptions []ImageUsageResourceTypeOption - - noSmithyDocumentSerde -} - -// The options that affect the scope of the report. -type ImageUsageResourceTypeOption struct { - - // The name of the option. - OptionName *string - - // The number of launch template versions to check. - OptionValues []string - - noSmithyDocumentSerde -} - -// The options that affect the scope of the report. -type ImageUsageResourceTypeOptionRequest struct { - - // The name of the option. - // - // Valid value: version-depth - The number of launch template versions to check. - OptionName *string - - // A value for the specified option. - // - // Valid values: Integers between 1 and 10000 - // - // Default: 20 - OptionValues []string - - noSmithyDocumentSerde -} - -// A resource type to include in the report. Associated options can also be -// specified if the resource type is a launch template. -type ImageUsageResourceTypeRequest struct { - - // The resource type. - // - // Valid values: ec2:Instance | ec2:LaunchTemplate - ResourceType *string - - // The options that affect the scope of the report. Valid only when ResourceType - // is ec2:LaunchTemplate . - ResourceTypeOptions []ImageUsageResourceTypeOptionRequest - - noSmithyDocumentSerde -} - -// The request information of license configurations. -type ImportImageLicenseConfigurationRequest struct { - - // The ARN of a license configuration. - LicenseConfigurationArn *string - - noSmithyDocumentSerde -} - -// The response information for license configurations. -type ImportImageLicenseConfigurationResponse struct { - - // The ARN of a license configuration. - LicenseConfigurationArn *string - - noSmithyDocumentSerde -} - -// Describes an import image task. -type ImportImageTask struct { - - // The architecture of the virtual machine. - // - // Valid values: i386 | x86_64 | arm64 - Architecture *string - - // The boot mode of the virtual machine. - BootMode BootModeValues - - // A description of the import task. - Description *string - - // Indicates whether the image is encrypted. - Encrypted *bool - - // The target hypervisor for the import task. - // - // Valid values: xen - Hypervisor *string - - // The ID of the Amazon Machine Image (AMI) of the imported virtual machine. - ImageId *string - - // The ID of the import image task. - ImportTaskId *string - - // The identifier for the KMS key that was used to create the encrypted image. - KmsKeyId *string - - // The ARNs of the license configurations that are associated with the import - // image task. - LicenseSpecifications []ImportImageLicenseConfigurationResponse - - // The license type of the virtual machine. - LicenseType *string - - // The description string for the import image task. - Platform *string - - // The percentage of progress of the import image task. - Progress *string - - // Information about the snapshots. - SnapshotDetails []SnapshotDetail - - // A brief status for the import image task. - Status *string - - // A descriptive status message for the import image task. - StatusMessage *string - - // The tags for the import image task. - Tags []Tag - - // The usage operation value. - UsageOperation *string - - noSmithyDocumentSerde -} - -// Describes the launch specification for VM import. -type ImportInstanceLaunchSpecification struct { - - // Reserved. - AdditionalInfo *string - - // The architecture of the instance. - Architecture ArchitectureValues - - // The security group IDs. - GroupIds []string - - // The security group names. - GroupNames []string - - // Indicates whether an instance stops or terminates when you initiate shutdown - // from the instance (using the operating system command for system shutdown). - InstanceInitiatedShutdownBehavior ShutdownBehavior - - // The instance type. For more information about the instance types that you can - // import, see [Instance Types]in the VM Import/Export User Guide. - // - // [Instance Types]: https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-instance-types - InstanceType InstanceType - - // Indicates whether monitoring is enabled. - Monitoring *bool - - // The placement information for the instance. - Placement *Placement - - // [EC2-VPC] An available IP address from the IP address range of the subnet. - PrivateIpAddress *string - - // [EC2-VPC] The ID of the subnet in which to launch the instance. - SubnetId *string - - // The Base64-encoded user data to make available to the instance. - UserData *UserData - - noSmithyDocumentSerde -} - -// Describes an import instance task. -type ImportInstanceTaskDetails struct { - - // A description of the task. - Description *string - - // The ID of the instance. - InstanceId *string - - // The instance operating system. - Platform PlatformValues - - // The volumes. - Volumes []ImportInstanceVolumeDetailItem - - noSmithyDocumentSerde -} - -// Describes an import volume task. -type ImportInstanceVolumeDetailItem struct { - - // The Availability Zone where the resulting instance will reside. - AvailabilityZone *string - - // The ID of the Availability Zone where the resulting instance will reside. - AvailabilityZoneId *string - - // The number of bytes converted so far. - BytesConverted *int64 - - // A description of the task. - Description *string - - // The image. - Image *DiskImageDescription - - // The status of the import of this particular disk image. - Status *string - - // The status information or errors related to the disk image. - StatusMessage *string - - // The volume. - Volume *DiskImageVolumeDescription - - noSmithyDocumentSerde -} - -// Describes an import snapshot task. -type ImportSnapshotTask struct { - - // A description of the import snapshot task. - Description *string - - // The ID of the import snapshot task. - ImportTaskId *string - - // Describes an import snapshot task. - SnapshotTaskDetail *SnapshotTaskDetail - - // The tags for the import snapshot task. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes an import volume task. -type ImportVolumeTaskDetails struct { - - // The Availability Zone where the resulting volume will reside. - AvailabilityZone *string - - // The ID of the Availability Zone where the resulting volume will reside. - AvailabilityZoneId *string - - // The number of bytes converted so far. - BytesConverted *int64 - - // The description you provided when starting the import volume task. - Description *string - - // The image. - Image *DiskImageDescription - - // The volume. - Volume *DiskImageVolumeDescription - - noSmithyDocumentSerde -} - -// Amazon Elastic Inference is no longer available. -// -// Describes the Inference accelerators for the instance type. -type InferenceAcceleratorInfo struct { - - // Describes the Inference accelerators for the instance type. - Accelerators []InferenceDeviceInfo - - // The total size of the memory for the inference accelerators for the instance - // type, in MiB. - TotalInferenceMemoryInMiB *int32 - - noSmithyDocumentSerde -} - -// Amazon Elastic Inference is no longer available. -// -// Describes the Inference accelerators for the instance type. -type InferenceDeviceInfo struct { - - // The number of Inference accelerators for the instance type. - Count *int32 - - // The manufacturer of the Inference accelerator. - Manufacturer *string - - // Describes the memory available to the inference accelerator. - MemoryInfo *InferenceDeviceMemoryInfo - - // The name of the Inference accelerator. - Name *string - - noSmithyDocumentSerde -} - -// Amazon Elastic Inference is no longer available. -// -// Describes the memory available to the inference accelerator. -type InferenceDeviceMemoryInfo struct { - - // The size of the memory available to the inference accelerator, in MiB. - SizeInMiB *int32 - - noSmithyDocumentSerde -} - -// Information about the volume initialization. For more information, see [Initialize Amazon EBS volumes]. -// -// [Initialize Amazon EBS volumes]: https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html -type InitializationStatusDetails struct { - - // The estimated remaining time, in seconds, for volume initialization to - // complete. Returns 0 when volume initialization has completed. - // - // Only available for volumes created with Amazon EBS Provisioned Rate for Volume - // Initialization. - EstimatedTimeToCompleteInSeconds *int64 - - // The method used for volume initialization. Possible values include: - // - // - default - Volume initialized using the default volume initialization rate or - // fast snapshot restore. - // - // - provisioned-rate - Volume initialized using an Amazon EBS Provisioned Rate - // for Volume Initialization. - // - // - volume-copy - Volume copy initialized at the rate for volume copies. - InitializationType InitializationType - - // The current volume initialization progress as a percentage (0-100). Returns 100 - // when volume initialization has completed. - Progress *int64 - - noSmithyDocumentSerde -} - -// Describes an instance. -type Instance struct { - - // The AMI launch index, which can be used to find this instance in the launch - // group. - AmiLaunchIndex *int32 - - // The architecture of the image. - Architecture ArchitectureValues - - // Any block device mapping entries for the instance. - BlockDeviceMappings []InstanceBlockDeviceMapping - - // The boot mode that was specified by the AMI. If the value is uefi-preferred , - // the AMI supports both UEFI and Legacy BIOS. The currentInstanceBootMode - // parameter is the boot mode that is used to boot the instance at launch or start. - // - // The operating system contained in the AMI must be configured to support the - // specified boot mode. - // - // For more information, see [Boot modes] in the Amazon EC2 User Guide. - // - // [Boot modes]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html - BootMode BootModeValues - - // The ID of the Capacity Block. - // - // For P5 instances, a Capacity Block ID refers to a group of instances. For Trn2u - // instances, a capacity block ID refers to an EC2 UltraServer. - CapacityBlockId *string - - // The ID of the Capacity Reservation. - CapacityReservationId *string - - // Information about the Capacity Reservation targeting option. - CapacityReservationSpecification *CapacityReservationSpecificationResponse - - // The idempotency token you provided when you launched the instance, if - // applicable. - ClientToken *string - - // The CPU options for the instance. - CpuOptions *CpuOptions - - // The boot mode that is used to boot the instance at launch or start. For more - // information, see [Boot modes]in the Amazon EC2 User Guide. - // - // [Boot modes]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html - CurrentInstanceBootMode InstanceBootModeValues - - // Indicates whether the instance is optimized for Amazon EBS I/O. This - // optimization provides dedicated throughput to Amazon EBS and an optimized - // configuration stack to provide optimal I/O performance. This optimization isn't - // available with all instance types. Additional usage charges apply when using an - // EBS Optimized instance. - EbsOptimized *bool - - // Deprecated. - // - // Amazon Elastic Graphics reached end of life on January 8, 2024. - ElasticGpuAssociations []ElasticGpuAssociation - - // Deprecated - // - // Amazon Elastic Inference is no longer available. - ElasticInferenceAcceleratorAssociations []ElasticInferenceAcceleratorAssociation - - // Specifies whether enhanced networking with ENA is enabled. - EnaSupport *bool - - // Indicates whether the instance is enabled for Amazon Web Services Nitro - // Enclaves. - EnclaveOptions *EnclaveOptions - - // Indicates whether the instance is enabled for hibernation. - HibernationOptions *HibernationOptions - - // The hypervisor type of the instance. The value xen is used for both Xen and - // Nitro hypervisors. - Hypervisor HypervisorType - - // The IAM instance profile associated with the instance, if applicable. - IamInstanceProfile *IamInstanceProfile - - // The ID of the AMI used to launch the instance. - ImageId *string - - // The ID of the instance. - InstanceId *string - - // Indicates whether this is a Spot Instance or a Scheduled Instance. - InstanceLifecycle InstanceLifecycleType - - // The instance type. - InstanceType InstanceType - - // The IPv6 address assigned to the instance. - Ipv6Address *string - - // The kernel associated with this instance, if applicable. - KernelId *string - - // The name of the key pair, if this instance was launched with an associated key - // pair. - KeyName *string - - // The time that the instance was last launched. To determine the time that - // instance was first launched, see the attachment time for the primary network - // interface. - LaunchTime *time.Time - - // The license configurations for the instance. - Licenses []LicenseConfiguration - - // Provides information on the recovery and maintenance options of your instance. - MaintenanceOptions *InstanceMaintenanceOptions - - // The metadata options for the instance. - MetadataOptions *InstanceMetadataOptionsResponse - - // The monitoring for the instance. - Monitoring *Monitoring - - // The network interfaces for the instance. - NetworkInterfaces []InstanceNetworkInterface - - // Contains settings for the network performance options for your instance. - NetworkPerformanceOptions *InstanceNetworkPerformanceOptions - - // The service provider that manages the instance. - Operator *OperatorResponse - - // The Amazon Resource Name (ARN) of the Outpost. - OutpostArn *string - - // The location where the instance launched, if applicable. - Placement *Placement - - // The platform. This value is windows for Windows instances; otherwise, it is - // empty. - Platform PlatformValues - - // The platform details value for the instance. For more information, see [AMI billing information fields] in the - // Amazon EC2 User Guide. - // - // [AMI billing information fields]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html - PlatformDetails *string - - // [IPv4 only] The private DNS hostname name assigned to the instance. This DNS - // hostname can only be used inside the Amazon EC2 network. This name is not - // available until the instance enters the running state. - // - // The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames - // if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not - // using the Amazon-provided DNS server in your VPC, your custom domain name - // servers must resolve the hostname as appropriate. - PrivateDnsName *string - - // The options for the instance hostname. - PrivateDnsNameOptions *PrivateDnsNameOptionsResponse - - // The private IPv4 address assigned to the instance. - PrivateIpAddress *string - - // The product codes attached to this instance, if applicable. - ProductCodes []ProductCode - - // The public DNS name assigned to the instance. This name is not available until - // the instance enters the running state. This name is only available if you've - // enabled DNS hostnames for your VPC. The format of this name depends on the [public hostname type]. - // - // [public hostname type]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hostname-types.html#public-hostnames - PublicDnsName *string - - // The public IPv4 address, or the Carrier IP address assigned to the instance, if - // applicable. - // - // A Carrier IP address only applies to an instance launched in a subnet - // associated with a Wavelength Zone. - PublicIpAddress *string - - // The RAM disk associated with this instance, if applicable. - RamdiskId *string - - // The device name of the root device volume (for example, /dev/sda1 ). - RootDeviceName *string - - // The root device type used by the AMI. The AMI can use an EBS volume or an - // instance store volume. - RootDeviceType DeviceType - - // The security groups for the instance. - SecurityGroups []GroupIdentifier - - // Indicates whether source/destination checking is enabled. - SourceDestCheck *bool - - // If the request is a Spot Instance request, the ID of the request. - SpotInstanceRequestId *string - - // Specifies whether enhanced networking with the Intel 82599 Virtual Function - // interface is enabled. - SriovNetSupport *string - - // The current state of the instance. - State *InstanceState - - // The reason for the most recent state transition. - StateReason *StateReason - - // The reason for the most recent state transition. This might be an empty string. - StateTransitionReason *string - - // The ID of the subnet in which the instance is running. - SubnetId *string - - // Any tags assigned to the instance. - Tags []Tag - - // If the instance is configured for NitroTPM support, the value is v2.0 . For more - // information, see [NitroTPM]in the Amazon EC2 User Guide. - // - // [NitroTPM]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html - TpmSupport *string - - // The usage operation value for the instance. For more information, see [AMI billing information fields] in the - // Amazon EC2 User Guide. - // - // [AMI billing information fields]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html - UsageOperation *string - - // The time that the usage operation was last updated. - UsageOperationUpdateTime *time.Time - - // The virtualization type of the instance. - VirtualizationType VirtualizationType - - // The ID of the VPC in which the instance is running. - VpcId *string - - noSmithyDocumentSerde -} - -// 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. -type InstanceAttachmentEnaSrdSpecification struct { - - // Indicates whether ENA Express is enabled for the network interface. - EnaSrdEnabled *bool - - // Configures ENA Express for UDP network traffic. - EnaSrdUdpSpecification *InstanceAttachmentEnaSrdUdpSpecification - - noSmithyDocumentSerde -} - -// 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. -type InstanceAttachmentEnaSrdUdpSpecification struct { - - // Indicates whether UDP traffic to and from the instance uses ENA Express. To - // specify this setting, you must first enable ENA Express. - EnaSrdUdpEnabled *bool - - noSmithyDocumentSerde -} - -// Describes a block device mapping. -type InstanceBlockDeviceMapping struct { - - // The device name. - DeviceName *string - - // Parameters used to automatically set up EBS volumes when the instance is - // launched. - Ebs *EbsInstanceBlockDevice - - noSmithyDocumentSerde -} - -// Describes a block device mapping entry. -type InstanceBlockDeviceMappingSpecification struct { - - // The device name. For available device names, see [Device names for volumes]. - // - // [Device names for volumes]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html - DeviceName *string - - // Parameters used to automatically set up EBS volumes when the instance is - // launched. - Ebs *EbsInstanceBlockDeviceSpecification - - // Suppresses the specified device included in the block device mapping. - NoDevice *string - - // The virtual device name. - VirtualName *string - - noSmithyDocumentSerde -} - -// Information about the number of instances that can be launched onto the -// Dedicated Host. -type InstanceCapacity struct { - - // The number of instances that can be launched onto the Dedicated Host based on - // the host's available capacity. - AvailableCapacity *int32 - - // The instance type supported by the Dedicated Host. - InstanceType *string - - // The total number of instances that can be launched onto the Dedicated Host if - // there are no instances running on it. - TotalCapacity *int32 - - noSmithyDocumentSerde -} - -// The DNS names of the endpoint. -type InstanceConnectEndpointDnsNames struct { - - // The DNS name of the EC2 Instance Connect Endpoint. - DnsName *string - - // The Federal Information Processing Standards (FIPS) compliant DNS name of the - // EC2 Instance Connect Endpoint. - FipsDnsName *string - - noSmithyDocumentSerde -} - -// The public DNS names of the endpoint, including IPv4-only and dualstack DNS -// names. -type InstanceConnectEndpointPublicDnsNames struct { - - // The dualstack DNS name of the EC2 Instance Connect Endpoint. A dualstack DNS - // name supports connections from both IPv4 and IPv6 clients. - Dualstack *InstanceConnectEndpointDnsNames - - // The IPv4-only DNS name of the EC2 Instance Connect Endpoint. - Ipv4 *InstanceConnectEndpointDnsNames - - noSmithyDocumentSerde -} - -// Describes a Reserved Instance listing state. -type InstanceCount struct { - - // The number of listed Reserved Instances in the state specified by the state . - InstanceCount *int32 - - // The states of the listed Reserved Instances. - State ListingState - - noSmithyDocumentSerde -} - -// Describes the credit option for CPU usage of a burstable performance instance. -type InstanceCreditSpecification struct { - - // The credit option for CPU usage of the instance. - // - // Valid values: standard | unlimited - CpuCredits *string - - // The ID of the instance. - InstanceId *string - - noSmithyDocumentSerde -} - -// Describes the credit option for CPU usage of a burstable performance instance. -type InstanceCreditSpecificationRequest struct { - - // The ID of the instance. - // - // This member is required. - InstanceId *string - - // The credit option for CPU usage of the instance. - // - // Valid values: standard | unlimited - // - // T3 instances with host tenancy do not support the unlimited CPU credit option. - CpuCredits *string - - noSmithyDocumentSerde -} - -// The event window. -type InstanceEventWindow struct { - - // One or more targets associated with the event window. - AssociationTarget *InstanceEventWindowAssociationTarget - - // The cron expression defined for the event window. - CronExpression *string - - // The ID of the event window. - InstanceEventWindowId *string - - // The name of the event window. - Name *string - - // The current state of the event window. - State InstanceEventWindowState - - // The instance tags associated with the event window. - Tags []Tag - - // One or more time ranges defined for the event window. - TimeRanges []InstanceEventWindowTimeRange - - noSmithyDocumentSerde -} - -// One or more targets associated with the specified event window. Only one type -// of target (instance ID, instance tag, or Dedicated Host ID) can be associated -// with an event window. -type InstanceEventWindowAssociationRequest struct { - - // The IDs of the Dedicated Hosts to associate with the event window. - DedicatedHostIds []string - - // The IDs of the instances to associate with the event window. If the instance is - // on a Dedicated Host, you can't specify the Instance ID parameter; you must use - // the Dedicated Host ID parameter. - InstanceIds []string - - // The instance tags to associate with the event window. Any instances associated - // with the tags will be associated with the event window. - // - // Note that while you can't create tag keys beginning with aws: , you can specify - // existing Amazon Web Services managed tag keys (with the aws: prefix) when - // specifying them as targets to associate with the event window. - InstanceTags []Tag - - noSmithyDocumentSerde -} - -// One or more targets associated with the event window. -type InstanceEventWindowAssociationTarget struct { - - // The IDs of the Dedicated Hosts associated with the event window. - DedicatedHostIds []string - - // The IDs of the instances associated with the event window. - InstanceIds []string - - // The instance tags associated with the event window. Any instances associated - // with the tags will be associated with the event window. - // - // Note that while you can't create tag keys beginning with aws: , you can specify - // existing Amazon Web Services managed tag keys (with the aws: prefix) when - // specifying them as targets to associate with the event window. - Tags []Tag - - noSmithyDocumentSerde -} - -// The targets to disassociate from the specified event window. -type InstanceEventWindowDisassociationRequest struct { - - // The IDs of the Dedicated Hosts to disassociate from the event window. - DedicatedHostIds []string - - // The IDs of the instances to disassociate from the event window. - InstanceIds []string - - // The instance tags to disassociate from the event window. Any instances - // associated with the tags will be disassociated from the event window. - InstanceTags []Tag - - noSmithyDocumentSerde -} - -// The state of the event window. -type InstanceEventWindowStateChange struct { - - // The ID of the event window. - InstanceEventWindowId *string - - // The current state of the event window. - State InstanceEventWindowState - - noSmithyDocumentSerde -} - -// The start day and time and the end day and time of the time range, in UTC. -type InstanceEventWindowTimeRange struct { - - // The hour when the time range ends. - EndHour *int32 - - // The day on which the time range ends. - EndWeekDay WeekDay - - // The hour when the time range begins. - StartHour *int32 - - // The day on which the time range begins. - StartWeekDay WeekDay - - noSmithyDocumentSerde -} - -// The start day and time and the end day and time of the time range, in UTC. -type InstanceEventWindowTimeRangeRequest struct { - - // The hour when the time range ends. - EndHour *int32 - - // The day on which the time range ends. - EndWeekDay WeekDay - - // The hour when the time range begins. - StartHour *int32 - - // The day on which the time range begins. - StartWeekDay WeekDay - - noSmithyDocumentSerde -} - -// Describes an instance to export. -type InstanceExportDetails struct { - - // The ID of the resource being exported. - InstanceId *string - - // The target virtualization environment. - TargetEnvironment ExportEnvironment - - noSmithyDocumentSerde -} - -// Describes the default credit option for CPU usage of a burstable performance -// instance family. -type InstanceFamilyCreditSpecification struct { - - // The default credit option for CPU usage of the instance family. Valid values - // are standard and unlimited . - CpuCredits *string - - // The instance family. - InstanceFamily UnlimitedSupportedInstanceFamily - - noSmithyDocumentSerde -} - -// Information about the instance and the AMI used to launch the instance. -type InstanceImageMetadata struct { - - // The Availability Zone or Local Zone of the instance. - AvailabilityZone *string - - // Information about the AMI used to launch the instance. - ImageMetadata *ImageMetadata - - // The ID of the instance. - InstanceId *string - - // The instance type. - InstanceType InstanceType - - // The time the instance was launched. - LaunchTime *time.Time - - // The entity that manages the instance. - Operator *OperatorResponse - - // The ID of the Amazon Web Services account that owns the instance. - OwnerId *string - - // The current state of the instance. - State *InstanceState - - // Any tags assigned to the instance. - Tags []Tag - - // The ID of the Availability Zone or Local Zone of the instance. - ZoneId *string - - noSmithyDocumentSerde -} - -// Information about an IPv4 prefix. -type InstanceIpv4Prefix struct { - - // One or more IPv4 prefixes assigned to the network interface. - Ipv4Prefix *string - - noSmithyDocumentSerde -} - -// Describes an IPv6 address. -type InstanceIpv6Address struct { - - // The IPv6 address. - Ipv6Address *string - - // Determines if an IPv6 address associated with a network interface is the - // primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, - // the first IPv6 GUA will be made the primary IPv6 address until the instance is - // terminated or the network interface is detached. For more information, see [RunInstances]. - // - // [RunInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html - IsPrimaryIpv6 *bool - - noSmithyDocumentSerde -} - -// Describes an IPv6 address. -type InstanceIpv6AddressRequest struct { - - // The IPv6 address. - Ipv6Address *string - - noSmithyDocumentSerde -} - -// Information about an IPv6 prefix. -type InstanceIpv6Prefix struct { - - // One or more IPv6 prefixes assigned to the network interface. - Ipv6Prefix *string - - noSmithyDocumentSerde -} - -// The maintenance options for the instance. -type InstanceMaintenanceOptions struct { - - // Provides information on the current automatic recovery behavior of your - // instance. - AutoRecovery InstanceAutoRecoveryState - - // Specifies whether to attempt reboot migration during a user-initiated reboot of - // an instance that has a scheduled system-reboot event: - // - // - default - Amazon EC2 attempts to migrate the instance to new hardware - // (reboot migration). If successful, the system-reboot event is cleared. If - // unsuccessful, an in-place reboot occurs and the event remains scheduled. - // - // - disabled - Amazon EC2 keeps the instance on the same hardware (in-place - // reboot). The system-reboot event remains scheduled. - // - // This setting only applies to supported instances that have a scheduled reboot - // event. For more information, see [Enable or disable reboot migration]in the Amazon EC2 User Guide. - // - // [Enable or disable reboot migration]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration - RebootMigration InstanceRebootMigrationState - - noSmithyDocumentSerde -} - -// The maintenance options for the instance. -type InstanceMaintenanceOptionsRequest struct { - - // Disables the automatic recovery behavior of your instance or sets it to - // default. For more information, see [Simplified automatic recovery]. - // - // [Simplified automatic recovery]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery - AutoRecovery InstanceAutoRecoveryState - - noSmithyDocumentSerde -} - -// Describes the market (purchasing) option for the instances. -type InstanceMarketOptionsRequest struct { - - // The market type. - MarketType MarketType - - // The options for Spot Instances. - SpotOptions *SpotMarketOptions - - noSmithyDocumentSerde -} - -// The default instance metadata service (IMDS) settings that were set at the -// account level in the specified Amazon Web Services
 Region. -type InstanceMetadataDefaultsResponse struct { - - // Indicates whether the IMDS endpoint for an instance is enabled or disabled. - // When disabled, the instance metadata can't be accessed. - HttpEndpoint InstanceMetadataEndpointState - - // The maximum number of hops that the metadata token can travel. - HttpPutResponseHopLimit *int32 - - // Indicates whether IMDSv2 is required. - // - // - optional – IMDSv2 is optional, which means that you can use either IMDSv2 or - // IMDSv1. - // - // - required – IMDSv2 is required, which means that IMDSv1 is disabled, and you - // must use IMDSv2. - HttpTokens HttpTokensState - - // Indicates whether access to instance tags from the instance metadata is enabled - // or disabled. For more information, see [Work with instance tags using the instance metadata]in the Amazon EC2 User Guide. - // - // [Work with instance tags using the instance metadata]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS - InstanceMetadataTags InstanceMetadataTagsState - - // The entity that manages the IMDS default settings. Possible values include: - // - // - account - The IMDS default settings are managed by the account. - // - // - declarative-policy - The IMDS default settings are managed by a declarative - // policy and can't be modified by the account. - ManagedBy ManagedBy - - // The customized exception message that is specified in the declarative policy. - ManagedExceptionMessage *string - - noSmithyDocumentSerde -} - -// The metadata options for the instance. -type InstanceMetadataOptionsRequest struct { - - // Enables or disables the HTTP metadata endpoint on your instances. - // - // If you specify a value of disabled , you cannot access your instance metadata. - // - // Default: enabled - HttpEndpoint InstanceMetadataEndpointState - - // Enables or disables the IPv6 endpoint for the instance metadata service. - // - // Default: disabled - HttpProtocolIpv6 InstanceMetadataProtocolState - - // The maximum number of hops that the metadata token can travel. - // - // Possible values: Integers from 1 to 64 - HttpPutResponseHopLimit *int32 - - // Indicates whether IMDSv2 is required. - // - // - optional - IMDSv2 is optional, which means that you can use either IMDSv2 or - // IMDSv1. - // - // - required - IMDSv2 is required, which means that IMDSv1 is disabled, and you - // must use IMDSv2. - // - // Default: - // - // - If the value of ImdsSupport for the Amazon Machine Image (AMI) for your - // instance is v2.0 and the account level default is set to no-preference , the - // default is required . - // - // - If the value of ImdsSupport for the Amazon Machine Image (AMI) for your - // instance is v2.0 , but the account level default is set to V1 or V2 , the - // default is optional . - // - // The default value can also be affected by other combinations of parameters. For - // more information, see [Order of precedence for instance metadata options]in the Amazon EC2 User Guide. - // - // [Order of precedence for instance metadata options]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence - HttpTokens HttpTokensState - - // Set to enabled to allow access to instance tags from the instance metadata. Set - // to disabled to turn off access to instance tags from the instance metadata. For - // more information, see [Work with instance tags using the instance metadata]. - // - // Default: disabled - // - // [Work with instance tags using the instance metadata]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS - InstanceMetadataTags InstanceMetadataTagsState - - noSmithyDocumentSerde -} - -// The metadata options for the instance. -type InstanceMetadataOptionsResponse struct { - - // Indicates whether the HTTP metadata endpoint on your instances is enabled or - // disabled. - // - // If the value is disabled , you cannot access your instance metadata. - HttpEndpoint InstanceMetadataEndpointState - - // Indicates whether the IPv6 endpoint for the instance metadata service is - // enabled or disabled. - // - // Default: disabled - HttpProtocolIpv6 InstanceMetadataProtocolState - - // The maximum number of hops that the metadata token can travel. - // - // Possible values: Integers from 1 to 64 - HttpPutResponseHopLimit *int32 - - // Indicates whether IMDSv2 is required. - // - // - optional - IMDSv2 is optional, which means that you can use either IMDSv2 or - // IMDSv1. - // - // - required - IMDSv2 is required, which means that IMDSv1 is disabled, and you - // must use IMDSv2. - HttpTokens HttpTokensState - - // Indicates whether access to instance tags from the instance metadata is enabled - // or disabled. For more information, see [Work with instance tags using the instance metadata]. - // - // [Work with instance tags using the instance metadata]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS - InstanceMetadataTags InstanceMetadataTagsState - - // The state of the metadata option changes. - // - // pending - The metadata options are being updated and the instance is not ready - // to process metadata traffic with the new selection. - // - // applied - The metadata options have been successfully applied on the instance. - State InstanceMetadataOptionsState - - noSmithyDocumentSerde -} - -// Describes the monitoring of an instance. -type InstanceMonitoring struct { - - // The ID of the instance. - InstanceId *string - - // The monitoring for the instance. - Monitoring *Monitoring - - noSmithyDocumentSerde -} - -// Describes a network interface. -type InstanceNetworkInterface struct { - - // The association information for an Elastic IPv4 associated with the network - // interface. - Association *InstanceNetworkInterfaceAssociation - - // The network interface attachment. - Attachment *InstanceNetworkInterfaceAttachment - - // A security group connection tracking configuration that enables you to set the - // timeout for connection tracking on an Elastic network interface. For more - // information, see [Connection tracking timeouts]in the Amazon EC2 User Guide. - // - // [Connection tracking timeouts]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts - ConnectionTrackingConfiguration *ConnectionTrackingSpecificationResponse - - // The description. - Description *string - - // The security groups. - Groups []GroupIdentifier - - // The type of network interface. - // - // Valid values: interface | efa | efa-only | evs | trunk - InterfaceType *string - - // The IPv4 delegated prefixes that are assigned to the network interface. - Ipv4Prefixes []InstanceIpv4Prefix - - // The IPv6 addresses associated with the network interface. - Ipv6Addresses []InstanceIpv6Address - - // The IPv6 delegated prefixes that are assigned to the network interface. - Ipv6Prefixes []InstanceIpv6Prefix - - // The MAC address. - MacAddress *string - - // The ID of the network interface. - NetworkInterfaceId *string - - // The service provider that manages the network interface. - Operator *OperatorResponse - - // The ID of the Amazon Web Services account that created the network interface. - OwnerId *string - - // The private DNS name. - PrivateDnsName *string - - // The IPv4 address of the network interface within the subnet. - PrivateIpAddress *string - - // The private IPv4 addresses associated with the network interface. - PrivateIpAddresses []InstancePrivateIpAddress - - // Indicates whether source/destination checking is enabled. - SourceDestCheck *bool - - // The status of the network interface. - Status NetworkInterfaceStatus - - // The ID of the subnet. - SubnetId *string - - // The ID of the VPC. - VpcId *string - - noSmithyDocumentSerde -} - -// Describes association information for an Elastic IP address (IPv4). -type InstanceNetworkInterfaceAssociation struct { - - // The carrier IP address associated with the network interface. - CarrierIp *string - - // The customer-owned IP address associated with the network interface. - CustomerOwnedIp *string - - // The ID of the owner of the Elastic IP address. - IpOwnerId *string - - // The public DNS name. - PublicDnsName *string - - // The public IP address or Elastic IP address bound to the network interface. - PublicIp *string - - noSmithyDocumentSerde -} - -// Describes a network interface attachment. -type InstanceNetworkInterfaceAttachment struct { - - // The time stamp when the attachment initiated. - AttachTime *time.Time - - // The ID of the network interface attachment. - AttachmentId *string - - // Indicates whether the network interface is deleted when the instance is - // terminated. - DeleteOnTermination *bool - - // The index of the device on the instance for the network interface attachment. - DeviceIndex *int32 - - // The number of ENA queues created with the instance. - EnaQueueCount *int32 - - // Contains the ENA Express settings for the network interface that's attached to - // the instance. - EnaSrdSpecification *InstanceAttachmentEnaSrdSpecification - - // The index of the network card. - NetworkCardIndex *int32 - - // The attachment state. - Status AttachmentStatus - - noSmithyDocumentSerde -} - -// Describes a network interface. -type InstanceNetworkInterfaceSpecification struct { - - // Indicates whether to assign a carrier IP address to the network interface. - // - // You can only assign a carrier IP address to a network interface that is in a - // subnet in a Wavelength Zone. For more information about carrier IP addresses, - // see [Carrier IP address]in the Amazon Web Services Wavelength Developer Guide. - // - // [Carrier IP address]: https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip - AssociateCarrierIpAddress *bool - - // Indicates whether to assign a public IPv4 address to an instance you launch in - // a VPC. The public IP address can only be assigned to a network interface for - // eth0, and can only be assigned to a new network interface, not an existing one. - // You cannot specify more than one network interface in the request. If launching - // into a default subnet, the default value is true . - // - // Amazon Web Services charges for all public IPv4 addresses, including public - // IPv4 addresses associated with running instances and Elastic IP addresses. For - // more information, see the Public IPv4 Address tab on the [Amazon VPC pricing page]. - // - // [Amazon VPC pricing page]: http://aws.amazon.com/vpc/pricing/ - AssociatePublicIpAddress *bool - - // A security group connection tracking specification that enables you to set the - // timeout for connection tracking on an Elastic network interface. For more - // information, see [Connection tracking timeouts]in the Amazon EC2 User Guide. - // - // [Connection tracking timeouts]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts - ConnectionTrackingSpecification *ConnectionTrackingSpecificationRequest - - // If set to true , the interface is deleted when the instance is terminated. You - // can specify true only if creating a new network interface when launching an - // instance. - DeleteOnTermination *bool - - // The description of the network interface. Applies only if creating a network - // interface when launching an instance. - Description *string - - // The position of the network interface in the attachment order. A primary - // network interface has a device index of 0. - // - // If you specify a network interface when launching an instance, you must specify - // the device index. - DeviceIndex *int32 - - // The number of ENA queues to be created with the instance. - EnaQueueCount *int32 - - // Specifies the ENA Express settings for the network interface that's attached to - // the instance. - EnaSrdSpecification *EnaSrdSpecificationRequest - - // The IDs of the security groups for the network interface. Applies only if - // creating a network interface when launching an instance. - Groups []string - - // The type of network interface. - // - // If you specify efa-only , do not assign any IP addresses to the network - // interface. EFA-only network interfaces do not support IP addresses. - // - // Valid values: interface | efa | efa-only - InterfaceType *string - - // The number of IPv4 delegated prefixes to be automatically assigned to the - // network interface. You cannot use this option if you use the Ipv4Prefix option. - Ipv4PrefixCount *int32 - - // The IPv4 delegated prefixes to be assigned to the network interface. You cannot - // use this option if you use the Ipv4PrefixCount option. - Ipv4Prefixes []Ipv4PrefixSpecificationRequest - - // A number of IPv6 addresses to assign to the network interface. Amazon EC2 - // chooses the IPv6 addresses from the range of the subnet. You cannot specify this - // option and the option to assign specific IPv6 addresses in the same request. You - // can specify this option if you've specified a minimum number of instances to - // launch. - Ipv6AddressCount *int32 - - // The IPv6 addresses to assign to the network interface. You cannot specify this - // option and the option to assign a number of IPv6 addresses in the same request. - // You cannot specify this option if you've specified a minimum number of instances - // to launch. - Ipv6Addresses []InstanceIpv6Address - - // The number of IPv6 delegated prefixes to be automatically assigned to the - // network interface. You cannot use this option if you use the Ipv6Prefix option. - Ipv6PrefixCount *int32 - - // The IPv6 delegated prefixes to be assigned to the network interface. You cannot - // use this option if you use the Ipv6PrefixCount option. - Ipv6Prefixes []Ipv6PrefixSpecificationRequest - - // The index of the network card. Some instance types support multiple network - // cards. The primary network interface must be assigned to network card index 0. - // The default is network card index 0. - // - // If you are using [RequestSpotInstances] to create Spot Instances, omit this parameter because you - // can’t specify the network card index when using this API. To specify the network - // card index, use [RunInstances]. - // - // [RequestSpotInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html - // [RunInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html - NetworkCardIndex *int32 - - // The ID of the network interface. - // - // If you are creating a Spot Fleet, omit this parameter because you can’t specify - // a network interface ID in a launch specification. - NetworkInterfaceId *string - - // The primary IPv6 address of the network interface. When you enable an IPv6 GUA - // address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 - // address until the instance is terminated or the network interface is detached. - // For more information about primary IPv6 addresses, see [RunInstances]. - // - // [RunInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html - PrimaryIpv6 *bool - - // The private IPv4 address of the network interface. Applies only if creating a - // network interface when launching an instance. You cannot specify this option if - // you're launching more than one instance in a [RunInstances]request. - // - // [RunInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html - PrivateIpAddress *string - - // The private IPv4 addresses to assign to the network interface. Only one private - // IPv4 address can be designated as primary. You cannot specify this option if - // you're launching more than one instance in a [RunInstances]request. - // - // [RunInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html - PrivateIpAddresses []PrivateIpAddressSpecification - - // The number of secondary private IPv4 addresses. You can’t specify this - // parameter and also specify a secondary private IP address using the - // PrivateIpAddress parameter. - SecondaryPrivateIpAddressCount *int32 - - // The ID of the subnet associated with the network interface. Applies only if - // creating a network interface when launching an instance. - SubnetId *string - - noSmithyDocumentSerde -} - -// With network performance options, you can adjust your bandwidth preferences to -// meet the needs of the workload that runs on your instance. -type InstanceNetworkPerformanceOptions struct { - - // When you configure network bandwidth weighting, you can boost your baseline - // bandwidth for either networking or EBS by up to 25%. The total available - // baseline bandwidth for your instance remains the same. The default option uses - // the standard bandwidth configuration for your instance type. - BandwidthWeighting InstanceBandwidthWeighting - - noSmithyDocumentSerde -} - -// Configure network performance options for your instance that are geared towards -// performance improvements based on the workload that it runs. -type InstanceNetworkPerformanceOptionsRequest struct { - - // Specify the bandwidth weighting option to boost the associated type of baseline - // bandwidth, as follows: - // - // default This option uses the standard bandwidth configuration for your instance - // type. - // - // vpc-1 This option boosts your networking baseline bandwidth and reduces your - // EBS baseline bandwidth. - // - // ebs-1 This option boosts your EBS baseline bandwidth and reduces your - // networking baseline bandwidth. - BandwidthWeighting InstanceBandwidthWeighting - - noSmithyDocumentSerde -} - -// Describes a private IPv4 address. -type InstancePrivateIpAddress struct { - - // The association information for an Elastic IP address for the network interface. - Association *InstanceNetworkInterfaceAssociation - - // Indicates whether this IPv4 address is the primary private IP address of the - // network interface. - Primary *bool - - // The private IPv4 DNS name. - PrivateDnsName *string - - // The private IPv4 address of the network interface. - PrivateIpAddress *string - - noSmithyDocumentSerde -} - -// The attributes for the instance types. When you specify instance attributes, -// Amazon EC2 will identify instance types with these attributes. -// -// You must specify VCpuCount and MemoryMiB . All other attributes are optional. -// Any unspecified optional attribute is set to its default. -// -// When you specify multiple attributes, you get instance types that satisfy all -// of the specified attributes. If you specify multiple values for an attribute, -// you get instance types that satisfy any of the specified values. -// -// To limit the list of instance types from which Amazon EC2 can identify matching -// instance types, you can use one of the following parameters, but not both in the -// same request: -// -// - AllowedInstanceTypes - The instance types to include in the list. All other -// instance types are ignored, even if they match your specified attributes. -// -// - ExcludedInstanceTypes - The instance types to exclude from the list, even if -// they match your specified attributes. -// -// If you specify InstanceRequirements , you can't specify InstanceType . -// -// Attribute-based instance type selection is only supported when using Auto -// Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to -// use the launch template in the [launch instance wizard]or with the [RunInstances API], you can't specify -// InstanceRequirements . -// -// For more information, see [Create mixed instances group using attribute-based instance type selection] in the Amazon EC2 Auto Scaling User Guide, and also [Specify attributes for instance type selection for EC2 Fleet or Spot Fleet] -// and [Spot placement score]in the Amazon EC2 User Guide. -// -// [Specify attributes for instance type selection for EC2 Fleet or Spot Fleet]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html -// [RunInstances API]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html -// [Create 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 -// [Spot placement score]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html -// [launch instance wizard]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html -type InstanceRequirements struct { - - // The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web - // Services Inferentia chips) on an instance. - // - // To exclude accelerator-enabled instance types, set Max to 0 . - // - // Default: No minimum or maximum limits - AcceleratorCount *AcceleratorCount - - // Indicates whether instance types must have accelerators by specific - // manufacturers. - // - // - For instance types with Amazon Web Services devices, specify - // amazon-web-services . - // - // - For instance types with AMD devices, specify amd . - // - // - For instance types with Habana devices, specify habana . - // - // - For instance types with NVIDIA devices, specify nvidia . - // - // - For instance types with Xilinx devices, specify xilinx . - // - // Default: Any manufacturer - AcceleratorManufacturers []AcceleratorManufacturer - - // The accelerators that must be on the instance type. - // - // - For instance types with NVIDIA A10G GPUs, specify a10g . - // - // - For instance types with NVIDIA A100 GPUs, specify a100 . - // - // - For instance types with NVIDIA H100 GPUs, specify h100 . - // - // - For instance types with Amazon Web Services Inferentia chips, specify - // inferentia . - // - // - For instance types with Amazon Web Services Inferentia2 chips, specify - // inferentia2 . - // - // - For instance types with Habana Gaudi HL-205 GPUs, specify gaudi-hl-205 . - // - // - For instance types with NVIDIA GRID K520 GPUs, specify k520 . - // - // - For instance types with NVIDIA K80 GPUs, specify k80 . - // - // - For instance types with NVIDIA L4 GPUs, specify l4 . - // - // - For instance types with NVIDIA L40S GPUs, specify l40s . - // - // - For instance types with NVIDIA M60 GPUs, specify m60 . - // - // - For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520 . - // - // - For instance types with Amazon Web Services Trainium chips, specify trainium - // . - // - // - For instance types with Amazon Web Services Trainium2 chips, specify - // trainium2 . - // - // - For instance types with NVIDIA T4 GPUs, specify t4 . - // - // - For instance types with NVIDIA T4G GPUs, specify t4g . - // - // - For instance types with Xilinx U30 cards, specify u30 . - // - // - For instance types with Xilinx VU9P FPGAs, specify vu9p . - // - // - For instance types with NVIDIA V100 GPUs, specify v100 . - // - // Default: Any accelerator - AcceleratorNames []AcceleratorName - - // The minimum and maximum amount of total accelerator memory, in MiB. - // - // Default: No minimum or maximum limits - AcceleratorTotalMemoryMiB *AcceleratorTotalMemoryMiB - - // The accelerator types that must be on the instance type. - // - // - For instance types with FPGA accelerators, specify fpga . - // - // - For instance types with GPU accelerators, specify gpu . - // - // - For instance types with Inference accelerators, specify inference . - // - // - For instance types with Media accelerators, specify media . - // - // Default: Any accelerator type - AcceleratorTypes []AcceleratorType - - // The instance types to apply your specified attributes against. All other - // instance types are ignored, even if they match your specified attributes. - // - // You can use strings with one or more wild cards, represented by an asterisk ( * - // ), to allow an instance type, size, or generation. The following are examples: - // m5.8xlarge , c5*.* , m5a.* , r* , *3* . - // - // For example, if you specify c5* ,Amazon EC2 will allow the entire C5 instance - // family, which includes all C5a and C5n instance types. If you specify m5a.* , - // Amazon EC2 will allow all the M5a instance types, but not the M5n instance - // types. - // - // If you specify AllowedInstanceTypes , you can't specify ExcludedInstanceTypes . - // - // Default: All instance types - AllowedInstanceTypes []string - - // Indicates whether bare metal instance types must be included, excluded, or - // required. - // - // - To include bare metal instance types, specify included . - // - // - To require only bare metal instance types, specify required . - // - // - To exclude bare metal instance types, specify excluded . - // - // Default: excluded - BareMetal BareMetal - - // The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more - // information, see [Amazon EBS–optimized instances]in the Amazon EC2 User Guide. - // - // Default: No minimum or maximum limits - // - // [Amazon EBS–optimized instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html - BaselineEbsBandwidthMbps *BaselineEbsBandwidthMbps - - // The baseline performance to consider, using an instance family as a baseline - // reference. The instance family establishes the lowest acceptable level of - // performance. Amazon EC2 uses this baseline to guide instance type selection, but - // there is no guarantee that the selected instance types will always exceed the - // baseline for every application. Currently, this parameter only supports CPU - // performance as a baseline performance factor. For more information, see [Performance protection]in the - // Amazon EC2 User Guide. - // - // [Performance protection]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-abis-performance-protection - BaselinePerformanceFactors *BaselinePerformanceFactors - - // Indicates whether burstable performance T instance types are included, - // excluded, or required. For more information, see [Burstable performance instances]. - // - // - To include burstable performance instance types, specify included . - // - // - To require only burstable performance instance types, specify required . - // - // - To exclude burstable performance instance types, specify excluded . - // - // Default: excluded - // - // [Burstable performance instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html - BurstablePerformance BurstablePerformance - - // The CPU manufacturers to include. - // - // - For instance types with Intel CPUs, specify intel . - // - // - For instance types with AMD CPUs, specify amd . - // - // - For instance types with Amazon Web Services CPUs, specify - // amazon-web-services . - // - // - For instance types with Apple CPUs, specify apple . - // - // Don't confuse the CPU manufacturer with the CPU architecture. Instances will be - // launched with a compatible CPU architecture based on the Amazon Machine Image - // (AMI) that you specify in your launch template. - // - // Default: Any manufacturer - CpuManufacturers []CpuManufacturer - - // The instance types to exclude. - // - // You can use strings with one or more wild cards, represented by an asterisk ( * - // ), to exclude an instance type, size, or generation. The following are examples: - // m5.8xlarge , c5*.* , m5a.* , r* , *3* . - // - // For example, if you specify c5* ,Amazon EC2 will exclude the entire C5 instance - // family, which includes all C5a and C5n instance types. If you specify m5a.* , - // Amazon EC2 will exclude all the M5a instance types, but not the M5n instance - // types. - // - // If you specify ExcludedInstanceTypes , you can't specify AllowedInstanceTypes . - // - // Default: No excluded instance types - ExcludedInstanceTypes []string - - // Indicates whether current or previous generation instance types are included. - // The current generation instance types are recommended for use. Current - // generation instance types are typically the latest two to three generations in - // each instance family. For more information, see [Instance types]in the Amazon EC2 User Guide. - // - // For current generation instance types, specify current . - // - // For previous generation instance types, specify previous . - // - // Default: Current and previous generation instance types - // - // [Instance types]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html - InstanceGenerations []InstanceGeneration - - // Indicates whether instance types with instance store volumes are included, - // excluded, or required. For more information, [Amazon EC2 instance store]in the Amazon EC2 User Guide. - // - // - To include instance types with instance store volumes, specify included . - // - // - To require only instance types with instance store volumes, specify required - // . - // - // - To exclude instance types with instance store volumes, specify excluded . - // - // Default: included - // - // [Amazon EC2 instance store]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html - LocalStorage LocalStorage - - // The type of local storage that is required. - // - // - For instance types with hard disk drive (HDD) storage, specify hdd . - // - // - For instance types with solid state drive (SSD) storage, specify ssd . - // - // Default: hdd and ssd - LocalStorageTypes []LocalStorageType - - // [Price protection] The price protection threshold for Spot Instances, as a - // percentage of an identified On-Demand price. The identified On-Demand price is - // the price of the lowest priced current generation C, M, or R instance type with - // your specified attributes. If no current generation C, M, or R instance type - // matches your attributes, then the identified price is from the lowest priced - // current generation instance types, and failing that, from the lowest priced - // previous generation instance types that match your attributes. When Amazon EC2 - // selects instance types with your attributes, it will exclude instance types - // whose price exceeds your specified threshold. - // - // The parameter accepts an integer, which Amazon EC2 interprets as a percentage. - // - // If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection - // threshold is based on the per vCPU or per memory price instead of the per - // instance price. - // - // Only one of SpotMaxPricePercentageOverLowestPrice or - // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't - // specify either, Amazon EC2 will automatically apply optimal price protection to - // consistently select from a wide range of instance types. To indicate no price - // protection threshold for Spot Instances, meaning you want to consider all - // instance types that match your attributes, include one of these parameters and - // specify a high value, such as 999999 . - MaxSpotPriceAsPercentageOfOptimalOnDemandPrice *int32 - - // The minimum and maximum amount of memory per vCPU, in GiB. - // - // Default: No minimum or maximum limits - MemoryGiBPerVCpu *MemoryGiBPerVCpu - - // The minimum and maximum amount of memory, in MiB. - MemoryMiB *MemoryMiB - - // The minimum and maximum amount of network bandwidth, in gigabits per second - // (Gbps). - // - // Default: No minimum or maximum limits - NetworkBandwidthGbps *NetworkBandwidthGbps - - // The minimum and maximum number of network interfaces. - // - // Default: No minimum or maximum limits - NetworkInterfaceCount *NetworkInterfaceCount - - // [Price protection] The price protection threshold for On-Demand Instances, as a - // percentage higher than an identified On-Demand price. The identified On-Demand - // price is the price of the lowest priced current generation C, M, or R instance - // type with your specified attributes. When Amazon EC2 selects instance types with - // your attributes, it will exclude instance types whose price exceeds your - // specified threshold. - // - // The parameter accepts an integer, which Amazon EC2 interprets as a percentage. - // - // To turn off price protection, specify a high value, such as 999999 . - // - // This parameter is not supported for [GetSpotPlacementScores] and [GetInstanceTypesFromInstanceRequirements]. - // - // If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection - // threshold is applied based on the per-vCPU or per-memory price instead of the - // per-instance price. - // - // Default: 20 - // - // [GetSpotPlacementScores]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html - // [GetInstanceTypesFromInstanceRequirements]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html - OnDemandMaxPricePercentageOverLowestPrice *int32 - - // Specifies whether instance types must support encrypting in-transit traffic - // between instances. For more information, including the supported instance types, - // see [Encryption in transit]in the Amazon EC2 User Guide. - // - // Default: false - // - // [Encryption in transit]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/data-protection.html#encryption-transit - RequireEncryptionInTransit *bool - - // Indicates whether instance types must support hibernation for On-Demand - // Instances. - // - // This parameter is not supported for [GetSpotPlacementScores]. - // - // Default: false - // - // [GetSpotPlacementScores]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html - RequireHibernateSupport *bool - - // [Price protection] The price protection threshold for Spot Instances, as a - // percentage higher than an identified Spot price. The identified Spot price is - // the Spot price of the lowest priced current generation C, M, or R instance type - // with your specified attributes. If no current generation C, M, or R instance - // type matches your attributes, then the identified Spot price is from the lowest - // priced current generation instance types, and failing that, from the lowest - // priced previous generation instance types that match your attributes. When - // Amazon EC2 selects instance types with your attributes, it will exclude instance - // types whose Spot price exceeds your specified threshold. - // - // The parameter accepts an integer, which Amazon EC2 interprets as a percentage. - // - // If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection - // threshold is applied based on the per-vCPU or per-memory price instead of the - // per-instance price. - // - // This parameter is not supported for [GetSpotPlacementScores] and [GetInstanceTypesFromInstanceRequirements]. - // - // Only one of SpotMaxPricePercentageOverLowestPrice or - // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't - // specify either, Amazon EC2 will automatically apply optimal price protection to - // consistently select from a wide range of instance types. To indicate no price - // protection threshold for Spot Instances, meaning you want to consider all - // instance types that match your attributes, include one of these parameters and - // specify a high value, such as 999999 . - // - // Default: 100 - // - // [GetSpotPlacementScores]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html - // [GetInstanceTypesFromInstanceRequirements]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html - SpotMaxPricePercentageOverLowestPrice *int32 - - // The minimum and maximum amount of total local storage, in GB. - // - // Default: No minimum or maximum limits - TotalLocalStorageGB *TotalLocalStorageGB - - // The minimum and maximum number of vCPUs. - VCpuCount *VCpuCountRange - - noSmithyDocumentSerde -} - -// The attributes for the instance types. When you specify instance attributes, -// Amazon EC2 will identify instance types with these attributes. -// -// You must specify VCpuCount and MemoryMiB . All other attributes are optional. -// Any unspecified optional attribute is set to its default. -// -// When you specify multiple attributes, you get instance types that satisfy all -// of the specified attributes. If you specify multiple values for an attribute, -// you get instance types that satisfy any of the specified values. -// -// To limit the list of instance types from which Amazon EC2 can identify matching -// instance types, you can use one of the following parameters, but not both in the -// same request: -// -// - AllowedInstanceTypes - The instance types to include in the list. All other -// instance types are ignored, even if they match your specified attributes. -// -// - ExcludedInstanceTypes - The instance types to exclude from the list, even if -// they match your specified attributes. -// -// If you specify InstanceRequirements , you can't specify InstanceType . -// -// Attribute-based instance type selection is only supported when using Auto -// Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to -// use the launch template in the [launch instance wizard], or with the [RunInstances] API or [AWS::EC2::Instance] Amazon Web Services -// CloudFormation resource, you can't specify InstanceRequirements . -// -// For more information, see [Specify attributes for instance type selection for EC2 Fleet or Spot Fleet] and [Spot placement score] in the Amazon EC2 User Guide. -// -// [Specify attributes for instance type selection for EC2 Fleet or Spot Fleet]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html -// [AWS::EC2::Instance]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html -// [RunInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html -// [Spot placement score]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html -// [launch instance wizard]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html -type InstanceRequirementsRequest struct { - - // The minimum and maximum amount of memory, in MiB. - // - // This member is required. - MemoryMiB *MemoryMiBRequest - - // The minimum and maximum number of vCPUs. - // - // This member is required. - VCpuCount *VCpuCountRangeRequest - - // The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web - // Services Inferentia chips) on an instance. - // - // To exclude accelerator-enabled instance types, set Max to 0 . - // - // Default: No minimum or maximum limits - AcceleratorCount *AcceleratorCountRequest - - // Indicates whether instance types must have accelerators by specific - // manufacturers. - // - // - For instance types with Amazon Web Services devices, specify - // amazon-web-services . - // - // - For instance types with AMD devices, specify amd . - // - // - For instance types with Habana devices, specify habana . - // - // - For instance types with NVIDIA devices, specify nvidia . - // - // - For instance types with Xilinx devices, specify xilinx . - // - // Default: Any manufacturer - AcceleratorManufacturers []AcceleratorManufacturer - - // The accelerators that must be on the instance type. - // - // - For instance types with NVIDIA A10G GPUs, specify a10g . - // - // - For instance types with NVIDIA A100 GPUs, specify a100 . - // - // - For instance types with NVIDIA H100 GPUs, specify h100 . - // - // - For instance types with Amazon Web Services Inferentia chips, specify - // inferentia . - // - // - For instance types with Amazon Web Services Inferentia2 chips, specify - // inferentia2 . - // - // - For instance types with Habana Gaudi HL-205 GPUs, specify gaudi-hl-205 . - // - // - For instance types with NVIDIA GRID K520 GPUs, specify k520 . - // - // - For instance types with NVIDIA K80 GPUs, specify k80 . - // - // - For instance types with NVIDIA L4 GPUs, specify l4 . - // - // - For instance types with NVIDIA L40S GPUs, specify l40s . - // - // - For instance types with NVIDIA M60 GPUs, specify m60 . - // - // - For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520 . - // - // - For instance types with Amazon Web Services Trainium chips, specify trainium - // . - // - // - For instance types with Amazon Web Services Trainium2 chips, specify - // trainium2 . - // - // - For instance types with NVIDIA T4 GPUs, specify t4 . - // - // - For instance types with NVIDIA T4G GPUs, specify t4g . - // - // - For instance types with Xilinx U30 cards, specify u30 . - // - // - For instance types with Xilinx VU9P FPGAs, specify vu9p . - // - // - For instance types with NVIDIA V100 GPUs, specify v100 . - // - // Default: Any accelerator - AcceleratorNames []AcceleratorName - - // The minimum and maximum amount of total accelerator memory, in MiB. - // - // Default: No minimum or maximum limits - AcceleratorTotalMemoryMiB *AcceleratorTotalMemoryMiBRequest - - // The accelerator types that must be on the instance type. - // - // - For instance types with FPGA accelerators, specify fpga . - // - // - For instance types with GPU accelerators, specify gpu . - // - // - For instance types with Inference accelerators, specify inference . - // - // - For instance types with Media accelerators, specify media . - // - // Default: Any accelerator type - AcceleratorTypes []AcceleratorType - - // The instance types to apply your specified attributes against. All other - // instance types are ignored, even if they match your specified attributes. - // - // You can use strings with one or more wild cards, represented by an asterisk ( * - // ), to allow an instance type, size, or generation. The following are examples: - // m5.8xlarge , c5*.* , m5a.* , r* , *3* . - // - // For example, if you specify c5* ,Amazon EC2 will allow the entire C5 instance - // family, which includes all C5a and C5n instance types. If you specify m5a.* , - // Amazon EC2 will allow all the M5a instance types, but not the M5n instance - // types. - // - // If you specify AllowedInstanceTypes , you can't specify ExcludedInstanceTypes . - // - // Default: All instance types - AllowedInstanceTypes []string - - // Indicates whether bare metal instance types must be included, excluded, or - // required. - // - // - To include bare metal instance types, specify included . - // - // - To require only bare metal instance types, specify required . - // - // - To exclude bare metal instance types, specify excluded . - // - // Default: excluded - BareMetal BareMetal - - // The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more - // information, see [Amazon EBS–optimized instances]in the Amazon EC2 User Guide. - // - // Default: No minimum or maximum limits - // - // [Amazon EBS–optimized instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html - BaselineEbsBandwidthMbps *BaselineEbsBandwidthMbpsRequest - - // The baseline performance to consider, using an instance family as a baseline - // reference. The instance family establishes the lowest acceptable level of - // performance. Amazon EC2 uses this baseline to guide instance type selection, but - // there is no guarantee that the selected instance types will always exceed the - // baseline for every application. Currently, this parameter only supports CPU - // performance as a baseline performance factor. For more information, see [Performance protection]in the - // Amazon EC2 User Guide. - // - // [Performance protection]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-abis-performance-protection - BaselinePerformanceFactors *BaselinePerformanceFactorsRequest - - // Indicates whether burstable performance T instance types are included, - // excluded, or required. For more information, see [Burstable performance instances]. - // - // - To include burstable performance instance types, specify included . - // - // - To require only burstable performance instance types, specify required . - // - // - To exclude burstable performance instance types, specify excluded . - // - // Default: excluded - // - // [Burstable performance instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html - BurstablePerformance BurstablePerformance - - // The CPU manufacturers to include. - // - // - For instance types with Intel CPUs, specify intel . - // - // - For instance types with AMD CPUs, specify amd . - // - // - For instance types with Amazon Web Services CPUs, specify - // amazon-web-services . - // - // - For instance types with Apple CPUs, specify apple . - // - // Don't confuse the CPU manufacturer with the CPU architecture. Instances will be - // launched with a compatible CPU architecture based on the Amazon Machine Image - // (AMI) that you specify in your launch template. - // - // Default: Any manufacturer - CpuManufacturers []CpuManufacturer - - // The instance types to exclude. - // - // You can use strings with one or more wild cards, represented by an asterisk ( * - // ), to exclude an instance family, type, size, or generation. The following are - // examples: m5.8xlarge , c5*.* , m5a.* , r* , *3* . - // - // For example, if you specify c5* ,Amazon EC2 will exclude the entire C5 instance - // family, which includes all C5a and C5n instance types. If you specify m5a.* , - // Amazon EC2 will exclude all the M5a instance types, but not the M5n instance - // types. - // - // If you specify ExcludedInstanceTypes , you can't specify AllowedInstanceTypes . - // - // Default: No excluded instance types - ExcludedInstanceTypes []string - - // Indicates whether current or previous generation instance types are included. - // The current generation instance types are recommended for use. Current - // generation instance types are typically the latest two to three generations in - // each instance family. For more information, see [Instance types]in the Amazon EC2 User Guide. - // - // For current generation instance types, specify current . - // - // For previous generation instance types, specify previous . - // - // Default: Current and previous generation instance types - // - // [Instance types]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html - InstanceGenerations []InstanceGeneration - - // Indicates whether instance types with instance store volumes are included, - // excluded, or required. For more information, [Amazon EC2 instance store]in the Amazon EC2 User Guide. - // - // - To include instance types with instance store volumes, specify included . - // - // - To require only instance types with instance store volumes, specify required - // . - // - // - To exclude instance types with instance store volumes, specify excluded . - // - // Default: included - // - // [Amazon EC2 instance store]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html - LocalStorage LocalStorage - - // The type of local storage that is required. - // - // - For instance types with hard disk drive (HDD) storage, specify hdd . - // - // - For instance types with solid state drive (SSD) storage, specify ssd . - // - // Default: hdd and ssd - LocalStorageTypes []LocalStorageType - - // [Price protection] The price protection threshold for Spot Instances, as a - // percentage of an identified On-Demand price. The identified On-Demand price is - // the price of the lowest priced current generation C, M, or R instance type with - // your specified attributes. If no current generation C, M, or R instance type - // matches your attributes, then the identified price is from the lowest priced - // current generation instance types, and failing that, from the lowest priced - // previous generation instance types that match your attributes. When Amazon EC2 - // selects instance types with your attributes, it will exclude instance types - // whose price exceeds your specified threshold. - // - // The parameter accepts an integer, which Amazon EC2 interprets as a percentage. - // - // If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection - // threshold is based on the per vCPU or per memory price instead of the per - // instance price. - // - // Only one of SpotMaxPricePercentageOverLowestPrice or - // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't - // specify either, Amazon EC2 will automatically apply optimal price protection to - // consistently select from a wide range of instance types. To indicate no price - // protection threshold for Spot Instances, meaning you want to consider all - // instance types that match your attributes, include one of these parameters and - // specify a high value, such as 999999 . - MaxSpotPriceAsPercentageOfOptimalOnDemandPrice *int32 - - // The minimum and maximum amount of memory per vCPU, in GiB. - // - // Default: No minimum or maximum limits - MemoryGiBPerVCpu *MemoryGiBPerVCpuRequest - - // The minimum and maximum amount of baseline network bandwidth, in gigabits per - // second (Gbps). For more information, see [Amazon EC2 instance network bandwidth]in the Amazon EC2 User Guide. - // - // Default: No minimum or maximum limits - // - // [Amazon EC2 instance network bandwidth]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html - NetworkBandwidthGbps *NetworkBandwidthGbpsRequest - - // The minimum and maximum number of network interfaces. - // - // Default: No minimum or maximum limits - NetworkInterfaceCount *NetworkInterfaceCountRequest - - // [Price protection] The price protection threshold for On-Demand Instances, as a - // percentage higher than an identified On-Demand price. The identified On-Demand - // price is the price of the lowest priced current generation C, M, or R instance - // type with your specified attributes. When Amazon EC2 selects instance types with - // your attributes, it will exclude instance types whose price exceeds your - // specified threshold. - // - // The parameter accepts an integer, which Amazon EC2 interprets as a percentage. - // - // To indicate no price protection threshold, specify a high value, such as 999999 . - // - // This parameter is not supported for [GetSpotPlacementScores] and [GetInstanceTypesFromInstanceRequirements]. - // - // If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection - // threshold is applied based on the per-vCPU or per-memory price instead of the - // per-instance price. - // - // Default: 20 - // - // [GetSpotPlacementScores]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html - // [GetInstanceTypesFromInstanceRequirements]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html - OnDemandMaxPricePercentageOverLowestPrice *int32 - - // Specifies whether instance types must support encrypting in-transit traffic - // between instances. For more information, including the supported instance types, - // see [Encryption in transit]in the Amazon EC2 User Guide. - // - // Default: false - // - // [Encryption in transit]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/data-protection.html#encryption-transit - RequireEncryptionInTransit *bool - - // Indicates whether instance types must support hibernation for On-Demand - // Instances. - // - // This parameter is not supported for [GetSpotPlacementScores]. - // - // Default: false - // - // [GetSpotPlacementScores]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html - RequireHibernateSupport *bool - - // [Price protection] The price protection threshold for Spot Instances, as a - // percentage higher than an identified Spot price. The identified Spot price is - // the Spot price of the lowest priced current generation C, M, or R instance type - // with your specified attributes. If no current generation C, M, or R instance - // type matches your attributes, then the identified Spot price is from the lowest - // priced current generation instance types, and failing that, from the lowest - // priced previous generation instance types that match your attributes. When - // Amazon EC2 selects instance types with your attributes, it will exclude instance - // types whose Spot price exceeds your specified threshold. - // - // The parameter accepts an integer, which Amazon EC2 interprets as a percentage. - // - // If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection - // threshold is applied based on the per-vCPU or per-memory price instead of the - // per-instance price. - // - // This parameter is not supported for [GetSpotPlacementScores] and [GetInstanceTypesFromInstanceRequirements]. - // - // Only one of SpotMaxPricePercentageOverLowestPrice or - // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't - // specify either, Amazon EC2 will automatically apply optimal price protection to - // consistently select from a wide range of instance types. To indicate no price - // protection threshold for Spot Instances, meaning you want to consider all - // instance types that match your attributes, include one of these parameters and - // specify a high value, such as 999999 . - // - // Default: 100 - // - // [GetSpotPlacementScores]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html - // [GetInstanceTypesFromInstanceRequirements]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html - SpotMaxPricePercentageOverLowestPrice *int32 - - // The minimum and maximum amount of total local storage, in GB. - // - // Default: No minimum or maximum limits - TotalLocalStorageGB *TotalLocalStorageGBRequest - - noSmithyDocumentSerde -} - -// The architecture type, virtualization type, and other attributes for the -// instance types. When you specify instance attributes, Amazon EC2 will identify -// instance types with those attributes. -// -// If you specify InstanceRequirementsWithMetadataRequest , you can't specify -// InstanceTypes . -type InstanceRequirementsWithMetadataRequest struct { - - // The architecture type. - ArchitectureTypes []ArchitectureType - - // The attributes for the instance types. When you specify instance attributes, - // Amazon EC2 will identify instance types with those attributes. - InstanceRequirements *InstanceRequirementsRequest - - // The virtualization type. - VirtualizationTypes []VirtualizationType - - noSmithyDocumentSerde -} - -// The instance details to specify which volumes should be snapshotted. -type InstanceSpecification struct { - - // The instance to specify which volumes should be snapshotted. - // - // This member is required. - InstanceId *string - - // Excludes the root volume from being snapshotted. - ExcludeBootVolume *bool - - // The IDs of the data (non-root) volumes to exclude from the multi-volume - // snapshot set. If you specify the ID of the root volume, the request fails. To - // exclude the root volume, use ExcludeBootVolume. - // - // You can specify up to 40 volume IDs per request. - ExcludeDataVolumeIds []string - - noSmithyDocumentSerde -} - -// Describes the current state of an instance. -type InstanceState struct { - - // The state of the instance as a 16-bit unsigned integer. - // - // The high byte is all of the bits between 2^8 and (2^16)-1, which equals decimal - // values between 256 and 65,535. These numerical values are used for internal - // purposes and should be ignored. - // - // The low byte is all of the bits between 2^0 and (2^8)-1, which equals decimal - // values between 0 and 255. - // - // The valid values for instance-state-code will all be in the range of the low - // byte and they are: - // - // - 0 : pending - // - // - 16 : running - // - // - 32 : shutting-down - // - // - 48 : terminated - // - // - 64 : stopping - // - // - 80 : stopped - // - // You can ignore the high byte value by zeroing out all of the bits above 2^8 or - // 256 in decimal. - Code *int32 - - // The current state of the instance. - Name InstanceStateName - - noSmithyDocumentSerde -} - -// Describes an instance state change. -type InstanceStateChange struct { - - // The current state of the instance. - CurrentState *InstanceState - - // The ID of the instance. - InstanceId *string - - // The previous state of the instance. - PreviousState *InstanceState - - noSmithyDocumentSerde -} - -// Describes the status of an instance. -type InstanceStatus struct { - - // Reports impaired functionality that stems from an attached Amazon EBS volume - // that is unreachable and unable to complete I/O operations. - AttachedEbsStatus *EbsStatusSummary - - // The Availability Zone of the instance. - AvailabilityZone *string - - // The ID of the Availability Zone of the instance. - AvailabilityZoneId *string - - // Any scheduled events associated with the instance. - Events []InstanceStatusEvent - - // The ID of the instance. - InstanceId *string - - // The intended state of the instance. DescribeInstanceStatus requires that an instance be in the running - // state. - InstanceState *InstanceState - - // Reports impaired functionality that stems from issues internal to the instance, - // such as impaired reachability. - InstanceStatus *InstanceStatusSummary - - // The service provider that manages the instance. - Operator *OperatorResponse - - // The Amazon Resource Name (ARN) of the Outpost. - OutpostArn *string - - // Reports impaired functionality that stems from issues related to the systems - // that support an instance, such as hardware failures and network connectivity - // problems. - SystemStatus *InstanceStatusSummary - - noSmithyDocumentSerde -} - -// Describes the instance status. -type InstanceStatusDetails struct { - - // The time when a status check failed. For an instance that was launched and - // impaired, this is the time when the instance was launched. - ImpairedSince *time.Time - - // The type of instance status. - Name StatusName - - // The status. - Status StatusType - - noSmithyDocumentSerde -} - -// Describes a scheduled event for an instance. -type InstanceStatusEvent struct { - - // The event code. - Code EventCode - - // A description of the event. - // - // After a scheduled event is completed, it can still be described for up to a - // week. If the event has been completed, this description starts with the - // following text: [Completed]. - Description *string - - // The ID of the event. - InstanceEventId *string - - // The latest scheduled end time for the event. - NotAfter *time.Time - - // The earliest scheduled start time for the event. - NotBefore *time.Time - - // The deadline for starting the event. - NotBeforeDeadline *time.Time - - noSmithyDocumentSerde -} - -// Describes the status of an instance. -type InstanceStatusSummary struct { - - // The system instance health or application instance health. - Details []InstanceStatusDetails - - // The status. - Status SummaryStatus - - noSmithyDocumentSerde -} - -// Describes the instance store features that are supported by the instance type. -type InstanceStorageInfo struct { - - // Describes the disks that are available for the instance type. - Disks []DiskInfo - - // Indicates whether data is encrypted at rest. - EncryptionSupport InstanceStorageEncryptionSupport - - // Indicates whether non-volatile memory express (NVMe) is supported. - NvmeSupport EphemeralNvmeSupport - - // The total size of the disks, in GB. - TotalSizeInGB *int64 - - noSmithyDocumentSerde -} - -// Describes the registered tag keys for the current Region. -type InstanceTagNotificationAttribute struct { - - // Indicates wheter all tag keys in the current Region are registered to appear in - // scheduled event notifications. true indicates that all tag keys in the current - // Region are registered. - IncludeAllTagsOfInstance *bool - - // The registered tag keys. - InstanceTagKeys []string - - noSmithyDocumentSerde -} - -// Information about the instance topology. -type InstanceTopology struct { - - // The name of the Availability Zone or Local Zone that the instance is in. - AvailabilityZone *string - - // The ID of the Capacity Block. This parameter is only supported for UltraServer - // instances and identifies instances within the UltraServer domain. - CapacityBlockId *string - - // The name of the placement group that the instance is in. - GroupName *string - - // The instance ID. - InstanceId *string - - // The instance type. - InstanceType *string - - // The network nodes. The nodes are hashed based on your account. Instances from - // different accounts running under the same server will return a different hashed - // list of strings. - // - // The value is null or empty if: - // - // - The instance type is not supported. - // - // - The instance is in a state other than running . - NetworkNodes []string - - // The ID of the Availability Zone or Local Zone that the instance is in. - ZoneId *string - - noSmithyDocumentSerde -} - -// Describes the instance type. -type InstanceTypeInfo struct { - - // Indicates whether Amazon CloudWatch action based recovery is supported. - AutoRecoverySupported *bool - - // Indicates whether the instance is a bare metal instance type. - BareMetal *bool - - // Indicates whether the instance type is a burstable performance T instance type. - // For more information, see [Burstable performance instances]. - // - // [Burstable performance instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html - BurstablePerformanceSupported *bool - - // Indicates whether the instance type is current generation. - CurrentGeneration *bool - - // Indicates whether Dedicated Hosts are supported on the instance type. - DedicatedHostsSupported *bool - - // Describes the Amazon EBS settings for the instance type. - EbsInfo *EbsInfo - - // Describes the FPGA accelerator settings for the instance type. - FpgaInfo *FpgaInfo - - // Indicates whether the instance type is eligible for the free tier. - FreeTierEligible *bool - - // Describes the GPU accelerator settings for the instance type. - GpuInfo *GpuInfo - - // Indicates whether On-Demand hibernation is supported. - HibernationSupported *bool - - // The hypervisor for the instance type. - Hypervisor InstanceTypeHypervisor - - // Describes the Inference accelerator settings for the instance type. - InferenceAcceleratorInfo *InferenceAcceleratorInfo - - // Describes the instance storage for the instance type. - InstanceStorageInfo *InstanceStorageInfo - - // Indicates whether instance storage is supported. - InstanceStorageSupported *bool - - // The instance type. For more information, see [Instance types] in the Amazon EC2 User Guide. - // - // [Instance types]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html - InstanceType InstanceType - - // Describes the media accelerator settings for the instance type. - MediaAcceleratorInfo *MediaAcceleratorInfo - - // Describes the memory for the instance type. - MemoryInfo *MemoryInfo - - // Describes the network settings for the instance type. - NetworkInfo *NetworkInfo - - // Describes the Neuron accelerator settings for the instance type. - NeuronInfo *NeuronInfo - - // Indicates whether Nitro Enclaves is supported. - NitroEnclavesSupport NitroEnclavesSupport - - // Describes the supported NitroTPM versions for the instance type. - NitroTpmInfo *NitroTpmInfo - - // Indicates whether NitroTPM is supported. - NitroTpmSupport NitroTpmSupport - - // Indicates whether a local Precision Time Protocol (PTP) hardware clock (PHC) is - // supported. - PhcSupport PhcSupport - - // Describes the placement group settings for the instance type. - PlacementGroupInfo *PlacementGroupInfo - - // Describes the processor. - ProcessorInfo *ProcessorInfo - - // Indicates whether reboot migration during a user-initiated reboot is supported - // for instances that have a scheduled system-reboot event. For more information, - // see [Enable or disable reboot migration]in the Amazon EC2 User Guide. - // - // [Enable or disable reboot migration]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration - RebootMigrationSupport RebootMigrationSupport - - // The supported boot modes. For more information, see [Boot modes] in the Amazon EC2 User - // Guide. - // - // [Boot modes]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html - SupportedBootModes []BootModeType - - // The supported root device types. - SupportedRootDeviceTypes []RootDeviceType - - // Indicates whether the instance type is offered for spot, On-Demand, or Capacity - // Blocks. - SupportedUsageClasses []UsageClassType - - // The supported virtualization types. - SupportedVirtualizationTypes []VirtualizationType - - // Describes the vCPU configurations for the instance type. - VCpuInfo *VCpuInfo - - noSmithyDocumentSerde -} - -// The list of instance types with the specified instance attributes. -type InstanceTypeInfoFromInstanceRequirements struct { - - // The matching instance type. - InstanceType *string - - noSmithyDocumentSerde -} - -// The instance types offered. -type InstanceTypeOffering struct { - - // The instance type. For more information, see [Instance types] in the Amazon EC2 User Guide. - // - // [Instance types]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html - InstanceType InstanceType - - // The identifier for the location. This depends on the location type. For - // example, if the location type is region , the location is the Region code (for - // example, us-east-2 .) - Location *string - - // The location type. - LocationType LocationType - - noSmithyDocumentSerde -} - -// Information about the Capacity Reservation usage. -type InstanceUsage struct { - - // The ID of the Amazon Web Services account that is making use of the Capacity - // Reservation. - AccountId *string - - // The number of instances the Amazon Web Services account currently has in the - // Capacity Reservation. - UsedInstanceCount *int32 - - noSmithyDocumentSerde -} - -// Describes service integrations with VPC Flow logs. -type IntegrateServices struct { - - // Information about the integration with Amazon Athena. - AthenaIntegrations []AthenaIntegration - - noSmithyDocumentSerde -} - -// Describes an internet gateway. -type InternetGateway struct { - - // Any VPCs attached to the internet gateway. - Attachments []InternetGatewayAttachment - - // The ID of the internet gateway. - InternetGatewayId *string - - // The ID of the Amazon Web Services account that owns the internet gateway. - OwnerId *string - - // Any tags assigned to the internet gateway. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes the attachment of a VPC to an internet gateway or an egress-only -// internet gateway. -type InternetGatewayAttachment struct { - - // The current state of the attachment. For an internet gateway, the state is - // available when attached to a VPC; otherwise, this value is not returned. - State AttachmentStatus - - // The ID of the VPC. - VpcId *string - - noSmithyDocumentSerde -} - -// Represents the allocation of capacity from a source reservation to an -// -// interruptible reservation, tracking current and target instance counts for -// allocation management. -type InterruptibleCapacityAllocation struct { - - // The current number of instances allocated to the interruptible reservation. - InstanceCount *int32 - - // The ID of the interruptible Capacity Reservation created from the allocation. - InterruptibleCapacityReservationId *string - - // The type of interruption policy applied to the interruptible reservation. - InterruptionType InterruptionType - - // The current status of the allocation (updating during reclamation, active when - // complete). - Status InterruptibleCapacityReservationAllocationStatus - - // After your modify request, the requested number of instances allocated to - // interruptible reservation. - TargetInstanceCount *int32 - - noSmithyDocumentSerde -} - -// Contains information about how and when instances in an interruptible -// -// reservation can be terminated when capacity is reclaimed. -type InterruptionInfo struct { - - // The interruption type that determines how instances are terminated when - // capacity is reclaimed. - InterruptionType InterruptionType - - // The ID of the source Capacity Reservation from which the interruptible - // reservation was created. - SourceCapacityReservationId *string - - noSmithyDocumentSerde -} - -// IPAM is a VPC feature that you can use to automate your IP address management -// workflows including assigning, tracking, troubleshooting, and auditing IP -// addresses across Amazon Web Services Regions and accounts throughout your Amazon -// Web Services Organization. For more information, see [What is IPAM?]in the Amazon VPC IPAM -// User Guide. -// -// [What is IPAM?]: https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html -type Ipam struct { - - // The IPAM's default resource discovery association ID. - DefaultResourceDiscoveryAssociationId *string - - // The IPAM's default resource discovery ID. - DefaultResourceDiscoveryId *string - - // The description for the IPAM. - Description *string - - // Enable this option to use your own GUA ranges as private IPv6 addresses. This - // option is disabled by default. - EnablePrivateGua *bool - - // The Amazon Resource Name (ARN) of the IPAM. - IpamArn *string - - // The ID of the IPAM. - IpamId *string - - // The Amazon Web Services Region of the IPAM. - IpamRegion *string - - // A metered account is an Amazon Web Services account that is charged for active - // IP addresses managed in IPAM. For more information, see [Enable cost distribution]in the Amazon VPC IPAM - // User Guide. - // - // Possible values: - // - // - ipam-owner (default): The Amazon Web Services account which owns the IPAM is - // charged for all active IP addresses managed in IPAM. - // - // - resource-owner : The Amazon Web Services account that owns the IP address is - // charged for the active IP address. - // - // [Enable cost distribution]: https://docs.aws.amazon.com/vpc/latest/ipam/ipam-enable-cost-distro.html - MeteredAccount IpamMeteredAccount - - // The operating Regions for an IPAM. Operating Regions are Amazon Web Services - // Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only - // discovers and monitors resources in the Amazon Web Services Regions you select - // as operating Regions. - // - // For more information about operating Regions, see [Create an IPAM] in the Amazon VPC IPAM User - // Guide. - // - // [Create an IPAM]: https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html - OperatingRegions []IpamOperatingRegion - - // The Amazon Web Services account ID of the owner of the IPAM. - OwnerId *string - - // The ID of the IPAM's default private scope. - PrivateDefaultScopeId *string - - // The ID of the IPAM's default public scope. - PublicDefaultScopeId *string - - // The IPAM's resource discovery association count. - ResourceDiscoveryAssociationCount *int32 - - // The number of scopes in the IPAM. The scope quota is 5. For more information on - // quotas, see [Quotas in IPAM]in the Amazon VPC IPAM User Guide. - // - // [Quotas in IPAM]: https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html - ScopeCount *int32 - - // The state of the IPAM. - State IpamState - - // The state message. - StateMessage *string - - // The key/value combination of a tag assigned to the resource. Use the tag key in - // the filter name and the tag value as the filter value. For example, to find all - // resources that have a tag with the key Owner and the value TeamA , specify - // tag:Owner for the filter name and TeamA for the filter value. - Tags []Tag - - // IPAM is offered in a Free Tier and an Advanced Tier. For more information about - // the features available in each tier and the costs associated with the tiers, see - // [Amazon VPC pricing > IPAM tab]. - // - // [Amazon VPC pricing > IPAM tab]: http://aws.amazon.com/vpc/pricing/ - Tier IpamTier - - noSmithyDocumentSerde -} - -// The historical record of a CIDR within an IPAM scope. For more information, see [View the history of IP addresses] -// in the Amazon VPC IPAM User Guide. -// -// [View the history of IP addresses]: https://docs.aws.amazon.com/vpc/latest/ipam/view-history-cidr-ipam.html -type IpamAddressHistoryRecord struct { - - // The CIDR of the resource. - ResourceCidr *string - - // The compliance status of a resource. For more information on compliance - // statuses, see [Monitor CIDR usage by resource]in the Amazon VPC IPAM User Guide. - // - // [Monitor CIDR usage by resource]: https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html - ResourceComplianceStatus IpamComplianceStatus - - // The ID of the resource. - ResourceId *string - - // The name of the resource. - ResourceName *string - - // The overlap status of an IPAM resource. The overlap status tells you if the - // CIDR for a resource overlaps with another CIDR in the scope. For more - // information on overlap statuses, see [Monitor CIDR usage by resource]in the Amazon VPC IPAM User Guide. - // - // [Monitor CIDR usage by resource]: https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html - ResourceOverlapStatus IpamOverlapStatus - - // The ID of the resource owner. - ResourceOwnerId *string - - // The Amazon Web Services Region of the resource. - ResourceRegion *string - - // The type of the resource. - ResourceType IpamAddressHistoryResourceType - - // Sampled end time of the resource-to-CIDR association within the IPAM scope. - // Changes are picked up in periodic snapshots, so the end time may have occurred - // before this specific time. - SampledEndTime *time.Time - - // Sampled start time of the resource-to-CIDR association within the IPAM scope. - // Changes are picked up in periodic snapshots, so the start time may have occurred - // before this specific time. - SampledStartTime *time.Time - - // The VPC ID of the resource. - VpcId *string - - noSmithyDocumentSerde -} - -// A signed document that proves that you are authorized to bring the specified IP -// address range to Amazon using BYOIP. -type IpamCidrAuthorizationContext struct { - - // The plain-text authorization message for the prefix and account. - Message *string - - // The signed authorization message for the prefix and account. - Signature *string - - noSmithyDocumentSerde -} - -// An IPAM discovered account. A discovered account is an Amazon Web Services -// account that is monitored under a resource discovery. If you have integrated -// IPAM with Amazon Web Services Organizations, all accounts in the organization -// are discovered accounts. -type IpamDiscoveredAccount struct { - - // The account ID. - AccountId *string - - // The Amazon Web Services Region that the account information is returned from. - // An account can be discovered in multiple regions and will have a separate - // discovered account for each Region. - DiscoveryRegion *string - - // The resource discovery failure reason. - FailureReason *IpamDiscoveryFailureReason - - // The last attempted resource discovery time. - LastAttemptedDiscoveryTime *time.Time - - // The last successful resource discovery time. - LastSuccessfulDiscoveryTime *time.Time - - // The ID of an Organizational Unit in Amazon Web Services Organizations. - OrganizationalUnitId *string - - noSmithyDocumentSerde -} - -// A public IP Address discovered by IPAM. -type IpamDiscoveredPublicAddress struct { - - // The IP address. - Address *string - - // The allocation ID of the resource the IP address is assigned to. - AddressAllocationId *string - - // The ID of the owner of the resource the IP address is assigned to. - AddressOwnerId *string - - // The Region of the resource the IP address is assigned to. - AddressRegion *string - - // The IP address type. - AddressType IpamPublicAddressType - - // The association status. - AssociationStatus IpamPublicAddressAssociationStatus - - // The instance ID of the instance the assigned IP address is assigned to. - InstanceId *string - - // The resource discovery ID. - IpamResourceDiscoveryId *string - - // The Availability Zone (AZ) or Local Zone (LZ) network border group that the - // resource that the IP address is assigned to is in. Defaults to an AZ network - // border group. For more information on available Local Zones, see [Local Zone availability]in the Amazon - // EC2 User Guide. - // - // [Local Zone availability]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail - NetworkBorderGroup *string - - // The description of the network interface that IP address is assigned to. - NetworkInterfaceDescription *string - - // The network interface ID of the resource with the assigned IP address. - NetworkInterfaceId *string - - // The ID of the public IPv4 pool that the resource with the assigned IP address - // is from. - PublicIpv4PoolId *string - - // The last successful resource discovery time. - SampleTime *time.Time - - // Security groups associated with the resource that the IP address is assigned to. - SecurityGroups []IpamPublicAddressSecurityGroup - - // The Amazon Web Services service associated with the IP address. - Service IpamPublicAddressAwsService - - // The resource ARN or ID. - ServiceResource *string - - // The ID of the subnet that the resource with the assigned IP address is in. - SubnetId *string - - // Tags associated with the IP address. - Tags *IpamPublicAddressTags - - // The ID of the VPC that the resource with the assigned IP address is in. - VpcId *string - - noSmithyDocumentSerde -} - -// An IPAM discovered resource CIDR. A discovered resource is a resource CIDR -// monitored under a resource discovery. The following resources can be discovered: -// VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses. The discovered -// resource CIDR is the IP address range in CIDR notation that is associated with -// the resource. -type IpamDiscoveredResourceCidr struct { - - // The Availability Zone ID. - AvailabilityZoneId *string - - // The source that allocated the IP address space. byoip or amazon indicates - // public IP address space allocated by Amazon or space that you have allocated - // with Bring your own IP (BYOIP). none indicates private space. - IpSource IpamResourceCidrIpSource - - // The percentage of IP address space in use. To convert the decimal to a - // percentage, multiply the decimal by 100. Note the following: - // - // - For resources that are VPCs, this is the percentage of IP address space in - // the VPC that's taken up by subnet CIDRs. - // - // - For resources that are subnets, if the subnet has an IPv4 CIDR provisioned - // to it, this is the percentage of IPv4 address space in the subnet that's in use. - // If the subnet has an IPv6 CIDR provisioned to it, the percentage of IPv6 address - // space in use is not represented. The percentage of IPv6 address space in use - // cannot currently be calculated. - // - // - For resources that are public IPv4 pools, this is the percentage of IP - // address space in the pool that's been allocated to Elastic IP addresses (EIPs). - IpUsage *float64 - - // The resource discovery ID. - IpamResourceDiscoveryId *string - - // For elastic network interfaces, this is the status of whether or not the - // elastic network interface is attached. - NetworkInterfaceAttachmentStatus IpamNetworkInterfaceAttachmentStatus - - // The resource CIDR. - ResourceCidr *string - - // The resource ID. - ResourceId *string - - // The resource owner ID. - ResourceOwnerId *string - - // The resource Region. - ResourceRegion *string - - // The resource tags. - ResourceTags []IpamResourceTag - - // The resource type. - ResourceType IpamResourceType - - // The last successful resource discovery time. - SampleTime *time.Time - - // The subnet ID. - SubnetId *string - - // The VPC ID. - VpcId *string - - noSmithyDocumentSerde -} - -// The discovery failure reason. -type IpamDiscoveryFailureReason struct { - - // The discovery failure code. - // - // - assume-role-failure - IPAM could not assume the Amazon Web Services IAM - // service-linked role. This could be because of any of the following: - // - // - SLR has not been created yet and IPAM is still creating it. - // - // - You have opted-out of the IPAM home Region. - // - // - Account you are using as your IPAM account has been suspended. - // - // - throttling-failure - IPAM account is already using the allotted transactions - // per second and IPAM is receiving a throttling error when assuming the Amazon Web - // Services IAM SLR. - // - // - unauthorized-failure - Amazon Web Services account making the request is not - // authorized. For more information, see [AuthFailure]in the Amazon Elastic Compute Cloud API - // Reference. - // - // [AuthFailure]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html - Code IpamDiscoveryFailureCode - - // The discovery failure message. - Message *string - - noSmithyDocumentSerde -} - -// A verification token is an Amazon Web Services-generated random value that you -// can use to prove ownership of an external resource. For example, you can use a -// verification token to validate that you control a public IP address range when -// you bring an IP address range to Amazon Web Services (BYOIP). -type IpamExternalResourceVerificationToken struct { - - // ARN of the IPAM that created the token. - IpamArn *string - - // Token ARN. - IpamExternalResourceVerificationTokenArn *string - - // The ID of the token. - IpamExternalResourceVerificationTokenId *string - - // The ID of the IPAM that created the token. - IpamId *string - - // Region of the IPAM that created the token. - IpamRegion *string - - // Token expiration. - NotAfter *time.Time - - // Token state. - State IpamExternalResourceVerificationTokenState - - // Token status. - Status TokenState - - // Token tags. - Tags []Tag - - // Token name. - TokenName *string - - // Token value. - TokenValue *string - - noSmithyDocumentSerde -} - -// The operating Regions for an IPAM. Operating Regions are Amazon Web Services -// Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only -// discovers and monitors resources in the Amazon Web Services Regions you select -// as operating Regions. -// -// For more information about operating Regions, see [Create an IPAM] in the Amazon VPC IPAM User -// Guide. -// -// [Create an IPAM]: https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html -type IpamOperatingRegion struct { - - // The name of the operating Region. - RegionName *string - - noSmithyDocumentSerde -} - -// If your IPAM is integrated with Amazon Web Services Organizations and you add -// an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in -// accounts in that OU exclusion. -type IpamOrganizationalUnitExclusion struct { - - // An Amazon Web Services Organizations entity path. For more information on the - // entity path, see [Understand the Amazon Web Services Organizations entity path]in the Amazon Web Services Identity and Access Management User - // Guide. - // - // [Understand the Amazon Web Services Organizations entity path]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_last-accessed-view-data-orgs.html#access_policies_access-advisor-viewing-orgs-entity-path - OrganizationsEntityPath *string - - noSmithyDocumentSerde -} - -// Information about an IPAM policy. -// -// An IPAM policy is a set of rules that define how public IPv4 addresses from -// IPAM pools are allocated to Amazon Web Services resources. Each rule maps an -// Amazon Web Services service to IPAM pools that the service will use to get IP -// addresses. A single policy can have multiple rules and be applied to multiple -// Amazon Web Services Regions. If the IPAM pool run out of addresses then the -// services fallback to Amazon-provided IP addresses. A policy can be applied to an -// individual Amazon Web Services account or an entity within Amazon Web Services -// Organizations. -type IpamPolicy struct { - - // The ID of the IPAM this policy belongs to. - IpamId *string - - // The Amazon Resource Name (ARN) of the IPAM policy. - IpamPolicyArn *string - - // The ID of the IPAM policy. - IpamPolicyId *string - - // The Region of the IPAM policy. - IpamPolicyRegion *string - - // The account ID that owns the IPAM policy. - OwnerId *string - - // The state of the IPAM policy. - State IpamPolicyState - - // A message about the state of the IPAM policy. - StateMessage *string - - // The tags assigned to the IPAM policy. - Tags []Tag - - noSmithyDocumentSerde -} - -// Information about an IPAM policy allocation rule. -// -// Allocation rules are optional configurations within an IPAM policy that map -// Amazon Web Services resource types to specific IPAM pools. If no rules are -// defined, the resource types default to using Amazon-provided IP addresses. -type IpamPolicyAllocationRule struct { - - // The ID of the source IPAM pool for the allocation rule. - // - // An IPAM pool is a collection of IP addresses in IPAM that can be allocated to - // Amazon Web Services resources. - SourceIpamPoolId *string - - noSmithyDocumentSerde -} - -// Information about a requested IPAM policy allocation rule. -// -// Allocation rules are optional configurations within an IPAM policy that map -// Amazon Web Services resource types to specific IPAM pools. If no rules are -// defined, the resource types default to using Amazon-provided IP addresses. -type IpamPolicyAllocationRuleRequest struct { - - // The ID of the source IPAM pool for the requested allocation rule. - // - // An IPAM pool is a collection of IP addresses in IPAM that can be allocated to - // Amazon Web Services resources. - SourceIpamPoolId *string - - noSmithyDocumentSerde -} - -// Information about an IPAM policy. -type IpamPolicyDocument struct { - - // The allocation rules in the IPAM policy document. - // - // Allocation rules are optional configurations within an IPAM policy that map - // Amazon Web Services resource types to specific IPAM pools. If no rules are - // defined, the resource types default to using Amazon-provided IP addresses. - AllocationRules []IpamPolicyAllocationRule - - // The ID of the IPAM policy. - IpamPolicyId *string - - // The locale of the IPAM policy document. - Locale *string - - // The resource type of the IPAM policy document. - // - // The Amazon Web Services service or resource type that can use IP addresses - // through IPAM policies. Supported services and resource types include: - // - // - Elastic IP addresses - ResourceType IpamPolicyResourceType - - noSmithyDocumentSerde -} - -// The Amazon Web Services Organizations target for an IPAM policy. -type IpamPolicyOrganizationTarget struct { - - // The ID of the Amazon Web Services Organizations target. - // - // A target can be an individual Amazon Web Services account or an entity within - // an Amazon Web Services Organization to which an IPAM policy can be applied. - OrganizationTargetId *string - - noSmithyDocumentSerde -} - -// In IPAM, a pool is a collection of contiguous IP addresses CIDRs. Pools enable -// you to organize your IP addresses according to your routing and security needs. -// For example, if you have separate routing and security needs for development and -// production applications, you can create a pool for each. -type IpamPool struct { - - // The address family of the pool. - AddressFamily AddressFamily - - // The default netmask length for allocations added to this pool. If, for example, - // the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new - // allocations will default to 10.0.0.0/16. - AllocationDefaultNetmaskLength *int32 - - // The maximum netmask length possible for CIDR allocations in this IPAM pool to - // be compliant. The maximum netmask length must be greater than the minimum - // netmask length. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible - // netmask lengths for IPv6 addresses are 0 - 128. - AllocationMaxNetmaskLength *int32 - - // The minimum netmask length required for CIDR allocations in this IPAM pool to - // be compliant. The minimum netmask length must be less than the maximum netmask - // length. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask - // lengths for IPv6 addresses are 0 - 128. - AllocationMinNetmaskLength *int32 - - // Tags that are required for resources that use CIDRs from this IPAM pool. - // Resources that do not have these tags will not be allowed to allocate space from - // the pool. If the resources have their tags changed after they have allocated - // space or if the allocation tagging requirements are changed on the pool, the - // resource may be marked as noncompliant. - AllocationResourceTags []IpamResourceTag - - // If selected, IPAM will continuously look for resources within the CIDR range of - // this pool and automatically import them as allocations into your IPAM. The CIDRs - // that will be allocated for these resources must not already be allocated to - // other resources in order for the import to succeed. IPAM will import a CIDR - // regardless of its compliance with the pool's allocation rules, so a resource - // might be imported and subsequently marked as noncompliant. If IPAM discovers - // multiple CIDRs that overlap, IPAM will import the largest CIDR only. If IPAM - // discovers multiple CIDRs with matching CIDRs, IPAM will randomly import one of - // them only. - // - // A locale must be set on the pool for this feature to work. - AutoImport *bool - - // Limits which service in Amazon Web Services that the pool can be used in. - // "ec2", for example, allows users to use space for Elastic IP addresses and VPCs. - AwsService IpamPoolAwsService - - // The description of the IPAM pool. - Description *string - - // The ARN of the IPAM. - IpamArn *string - - // The Amazon Resource Name (ARN) of the IPAM pool. - IpamPoolArn *string - - // The ID of the IPAM pool. - IpamPoolId *string - - // The Amazon Web Services Region of the IPAM pool. - IpamRegion *string - - // The ARN of the scope of the IPAM pool. - IpamScopeArn *string - - // In IPAM, a scope is the highest-level container within IPAM. An IPAM contains - // two default scopes. Each scope represents the IP space for a single network. The - // private scope is intended for all private IP address space. The public scope is - // intended for all public IP address space. Scopes enable you to reuse IP - // addresses across multiple unconnected networks without causing IP address - // overlap or conflict. - IpamScopeType IpamScopeType - - // The locale of the IPAM pool. - // - // The locale for the pool should be one of the following: - // - // - An Amazon Web Services Region where you want this IPAM pool to be available - // for allocations. - // - // - The network border group for an Amazon Web Services Local Zone where you - // want this IPAM pool to be available for allocations ([supported Local Zones] ). This option is only - // available for IPAM IPv4 pools in the public scope. - // - // If you choose an Amazon Web Services Region for locale that has not been - // configured as an operating Region for the IPAM, you'll get an error. - // - // [supported Local Zones]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail - Locale *string - - // The Amazon Web Services account ID of the owner of the IPAM pool. - OwnerId *string - - // The depth of pools in your IPAM pool. The pool depth quota is 10. For more - // information, see [Quotas in IPAM]in the Amazon VPC IPAM User Guide. - // - // [Quotas in IPAM]: https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html - PoolDepth *int32 - - // The IP address source for pools in the public scope. Only used for provisioning - // IP address CIDRs to pools in the public scope. Default is BYOIP . For more - // information, see [Create IPv6 pools]in the Amazon VPC IPAM User Guide. By default, you can add - // only one Amazon-provided IPv6 CIDR block to a top-level IPv6 pool. For - // information on increasing the default limit, see [Quotas for your IPAM]in the Amazon VPC IPAM User - // Guide. - // - // [Create IPv6 pools]: https://docs.aws.amazon.com/vpc/latest/ipam/intro-create-ipv6-pools.html - // [Quotas for your IPAM]: https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html - PublicIpSource IpamPoolPublicIpSource - - // Determines if a pool is publicly advertisable. This option is not available for - // pools with AddressFamily set to ipv4 . - PubliclyAdvertisable *bool - - // The ID of the source IPAM pool. You can use this option to create an IPAM pool - // within an existing source pool. - SourceIpamPoolId *string - - // The resource used to provision CIDRs to a resource planning pool. - SourceResource *IpamPoolSourceResource - - // The state of the IPAM pool. - State IpamPoolState - - // The state message. - StateMessage *string - - // The key/value combination of a tag assigned to the resource. Use the tag key in - // the filter name and the tag value as the filter value. For example, to find all - // resources that have a tag with the key Owner and the value TeamA , specify - // tag:Owner for the filter name and TeamA for the filter value. - Tags []Tag - - noSmithyDocumentSerde -} - -// In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM -// pool or to a resource. -type IpamPoolAllocation struct { - - // The CIDR for the allocation. A CIDR is a representation of an IP address and - // its associated network mask (or netmask) and refers to a range of IP addresses. - // An IPv4 CIDR example is 10.24.34.0/23 . An IPv6 CIDR example is 2001:DB8::/32 . - Cidr *string - - // A description of the pool allocation. - Description *string - - // The ID of an allocation. - IpamPoolAllocationId *string - - // The ID of the resource. - ResourceId *string - - // The owner of the resource. - ResourceOwner *string - - // The Amazon Web Services Region of the resource. - ResourceRegion *string - - // The type of the resource. - ResourceType IpamPoolAllocationResourceType - - noSmithyDocumentSerde -} - -// A CIDR provisioned to an IPAM pool. -type IpamPoolCidr struct { - - // The CIDR provisioned to the IPAM pool. A CIDR is a representation of an IP - // address and its associated network mask (or netmask) and refers to a range of IP - // addresses. An IPv4 CIDR example is 10.24.34.0/23 . An IPv6 CIDR example is - // 2001:DB8::/32 . - Cidr *string - - // Details related to why an IPAM pool CIDR failed to be provisioned. - FailureReason *IpamPoolCidrFailureReason - - // The IPAM pool CIDR ID. - IpamPoolCidrId *string - - // The netmask length of the CIDR you'd like to provision to a pool. Can be used - // for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for - // provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP - // CIDRs to top-level pools. "NetmaskLength" or "Cidr" is required. - NetmaskLength *int32 - - // The state of the CIDR. - State IpamPoolCidrState - - noSmithyDocumentSerde -} - -// Details related to why an IPAM pool CIDR failed to be provisioned. -type IpamPoolCidrFailureReason struct { - - // An error code related to why an IPAM pool CIDR failed to be provisioned. - Code IpamPoolCidrFailureCode - - // A message related to why an IPAM pool CIDR failed to be provisioned. - Message *string - - noSmithyDocumentSerde -} - -// The resource used to provision CIDRs to a resource planning pool. -type IpamPoolSourceResource struct { - - // The source resource ID. - ResourceId *string - - // The source resource owner. - ResourceOwner *string - - // The source resource Region. - ResourceRegion *string - - // The source resource type. - ResourceType IpamPoolSourceResourceType - - noSmithyDocumentSerde -} - -// The resource used to provision CIDRs to a resource planning pool. -type IpamPoolSourceResourceRequest struct { - - // The source resource ID. - ResourceId *string - - // The source resource owner. - ResourceOwner *string - - // The source resource Region. - ResourceRegion *string - - // The source resource type. - ResourceType IpamPoolSourceResourceType - - noSmithyDocumentSerde -} - -// Describes an IPAM prefix list resolver. -// -// An IPAM prefix list resolver is a component that manages the synchronization -// between IPAM's CIDR selection rules and customer-managed prefix lists. It -// automates connectivity configurations by selecting CIDRs from IPAM's database -// based on your business logic and synchronizing them with prefix lists used in -// resources such as VPC route tables and security groups. -type IpamPrefixListResolver struct { - - // The address family (IPv4 or IPv6) for the IPAM prefix list resolver. - AddressFamily AddressFamily - - // The description of the IPAM prefix list resolver. - Description *string - - // The Amazon Resource Name (ARN) of the IPAM associated with this resolver. - IpamArn *string - - // The Amazon Resource Name (ARN) of the IPAM prefix list resolver. - IpamPrefixListResolverArn *string - - // The ID of the IPAM prefix list resolver. - IpamPrefixListResolverId *string - - // The Amazon Web Services Region where the associated IPAM is located. - IpamRegion *string - - // The status for the last time a version was created. - // - // Each version is a snapshot of what CIDRs matched your rules at that moment in - // time. The version number increments every time the CIDR list changes due to - // infrastructure changes. - LastVersionCreationStatus IpamPrefixListResolverVersionCreationStatus - - // The status message for the last time a version was created. - // - // Each version is a snapshot of what CIDRs matched your rules at that moment in - // time. The version number increments every time the CIDR list changes due to - // infrastructure changes. - LastVersionCreationStatusMessage *string - - // The ID of the Amazon Web Services account that owns the IPAM prefix list - // resolver. - OwnerId *string - - // The current state of the IPAM prefix list resolver. Valid values include - // create-in-progress , create-complete , create-failed , modify-in-progress , - // modify-complete , modify-failed , delete-in-progress , delete-complete , and - // delete-failed . - State IpamPrefixListResolverState - - // The tags assigned to the IPAM prefix list resolver. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes a CIDR selection rule. -// -// CIDR selection rules define the business logic for selecting CIDRs from IPAM. -// If a CIDR matches any of the rules, it will be included. If a rule has multiple -// conditions, the CIDR has to match every condition of that rule. You can create a -// prefix list resolver without any CIDR selection rules, but it will generate -// empty versions (containing no CIDRs) until you add rules. -type IpamPrefixListResolverRule struct { - - // The conditions that determine which CIDRs are selected by this rule. Conditions - // specify criteria such as resource type, tags, account IDs, and Regions. - Conditions []IpamPrefixListResolverRuleCondition - - // The ID of the IPAM scope from which to select CIDRs. This determines whether to - // select from public or private IP address space. - IpamScopeId *string - - // For rules of type ipam-resource-cidr , this is the resource type. - ResourceType IpamResourceType - - // The type of CIDR selection rule. Valid values include include for selecting - // CIDRs that match the conditions, and exclude for excluding CIDRs that match the - // conditions. - RuleType IpamPrefixListResolverRuleType - - // A fixed list of CIDRs that do not change (like a manual list replicated across - // Regions). - StaticCidr *string - - noSmithyDocumentSerde -} - -// Describes a condition within a CIDR selection rule. Conditions define the -// criteria for selecting CIDRs from IPAM's database based on resource attributes. -// -// CIDR selection rules define the business logic for selecting CIDRs from IPAM. -// If a CIDR matches any of the rules, it will be included. If a rule has multiple -// conditions, the CIDR has to match every condition of that rule. You can create a -// prefix list resolver without any CIDR selection rules, but it will generate -// empty versions (containing no CIDRs) until you add rules. -// -// There are three rule types. Only 2 of the 3 rule types support conditions - -// IPAM pool CIDR and Scope resource CIDR. Static CIDR rules cannot have -// conditions. -// -// - Static CIDR: A fixed list of CIDRs that do not change (like a manual list -// replicated across Regions) -// -// - IPAM pool CIDR: CIDRs from specific IPAM pools (like all CIDRs from your -// IPAM production pool) -// -// If you choose this option, choose the following: -// -// - IPAM scope: Select the IPAM scope to search for resources -// -// - Conditions: -// -// - Property -// -// - IPAM pool ID: Select an IPAM pool that contains the resources -// -// - CIDR (like 10.24.34.0/23) -// -// - Operation: Equals/Not equals -// -// - Value: The value on which to match the condition -// -// - Scope resource CIDR: CIDRs from Amazon Web Services resources like VPCs, -// subnets, EIPs within an IPAM scope -// -// If you choose this option, choose the following: -// -// - IPAM scope: Select the IPAM scope to search for resources -// -// - Resource type: Select a resource, like a VPC or subnet. -// -// - Conditions: -// -// - Property: -// -// - Resource ID: The unique ID of a resource (like vpc-1234567890abcdef0) -// -// - Resource owner (like 111122223333) -// -// - Resource region (like us-east-1) -// -// - Resource tag (like key: name, value: dev-vpc-1) -// -// - CIDR (like 10.24.34.0/23) -// -// - Operation: Equals/Not equals -// -// - Value: The value on which to match the condition -type IpamPrefixListResolverRuleCondition struct { - - // A CIDR block to match against. This condition selects CIDRs that fall within or - // match the specified CIDR range. - Cidr *string - - // The ID of the IPAM pool to match against. This condition selects CIDRs that - // belong to the specified IPAM pool. - IpamPoolId *string - - // The operation to perform when evaluating this condition. Valid values include - // equals , not-equals , contains , and not-contains . - Operation IpamPrefixListResolverRuleConditionOperation - - // The ID of the Amazon Web Services resource to match against. This condition - // selects CIDRs associated with the specified resource. - ResourceId *string - - // The Amazon Web Services account ID that owns the resources to match against. - // This condition selects CIDRs from resources owned by the specified account. - ResourceOwner *string - - // The Amazon Web Services Region where the resources are located. This condition - // selects CIDRs from resources in the specified Region. - ResourceRegion *string - - // A tag key-value pair to match against. This condition selects CIDRs from - // resources that have the specified tag. - ResourceTag *IpamResourceTag - - noSmithyDocumentSerde -} - -// Describes a condition used when creating or modifying resolver rules. -// -// CIDR selection rules define the business logic for selecting CIDRs from IPAM. -// If a CIDR matches any of the rules, it will be included. If a rule has multiple -// conditions, the CIDR has to match every condition of that rule. You can create a -// prefix list resolver without any CIDR selection rules, but it will generate -// empty versions (containing no CIDRs) until you add rules. -// -// There are three rule types. Only 2 of the 3 rule types support conditions - -// IPAM pool CIDR and Scope resource CIDR. Static CIDR rules cannot have -// conditions. -// -// - Static CIDR: A fixed list of CIDRs that do not change (like a manual list -// replicated across Regions) -// -// - IPAM pool CIDR: CIDRs from specific IPAM pools (like all CIDRs from your -// IPAM production pool) -// -// If you choose this option, choose the following: -// -// - IPAM scope: Select the IPAM scope to search for resources -// -// - Conditions: -// -// - Property -// -// - IPAM pool ID: Select an IPAM pool that contains the resources -// -// - CIDR (like 10.24.34.0/23) -// -// - Operation: Equals/Not equals -// -// - Value: The value on which to match the condition -// -// - Scope resource CIDR: CIDRs from Amazon Web Services resources like VPCs, -// subnets, EIPs within an IPAM scope -// -// If you choose this option, choose the following: -// -// - IPAM scope: Select the IPAM scope to search for resources -// -// - Resource type: Select a resource, like a VPC or subnet. -// -// - Conditions: -// -// - Property: -// -// - Resource ID: The unique ID of a resource (like vpc-1234567890abcdef0) -// -// - Resource owner (like 111122223333) -// -// - Resource region (like us-east-1) -// -// - Resource tag (like key: name, value: dev-vpc-1) -// -// - CIDR (like 10.24.34.0/23) -// -// - Operation: Equals/Not equals -// -// - Value: The value on which to match the condition -type IpamPrefixListResolverRuleConditionRequest struct { - - // The operation to perform when evaluating this condition. - // - // This member is required. - Operation IpamPrefixListResolverRuleConditionOperation - - // A CIDR block to match against. This condition selects CIDRs that fall within or - // match the specified CIDR range. - Cidr *string - - // The ID of the IPAM pool to match against. This condition selects CIDRs that - // belong to the specified IPAM pool. - IpamPoolId *string - - // The ID of the Amazon Web Services resource to match against. This condition - // selects CIDRs associated with the specified resource. - ResourceId *string - - // The Amazon Web Services account ID that owns the resources to match against. - // This condition selects CIDRs from resources owned by the specified account. - ResourceOwner *string - - // The Amazon Web Services Region where the resources are located. This condition - // selects CIDRs from resources in the specified Region. - ResourceRegion *string - - // A tag key-value pair to match against. This condition selects CIDRs from - // resources that have the specified tag. - ResourceTag *RequestIpamResourceTag - - noSmithyDocumentSerde -} - -// Describes a CIDR selection rule to include in a request. This is used when -// creating or modifying resolver rules. -// -// CIDR selection rules define the business logic for selecting CIDRs from IPAM. -// If a CIDR matches any of the rules, it will be included. If a rule has multiple -// conditions, the CIDR has to match every condition of that rule. You can create a -// prefix list resolver without any CIDR selection rules, but it will generate -// empty versions (containing no CIDRs) until you add rules. -// -// There are three rule types. Only 2 of the 3 rule types support conditions - -// IPAM pool CIDR and Scope resource CIDR. Static CIDR rules cannot have -// conditions. -// -// - Static CIDR: A fixed list of CIDRs that do not change (like a manual list -// replicated across Regions) -// -// - IPAM pool CIDR: CIDRs from specific IPAM pools (like all CIDRs from your -// IPAM production pool) -// -// If you choose this option, choose the following: -// -// - IPAM scope: Select the IPAM scope to search for resources -// -// - Conditions: -// -// - Property -// -// - IPAM pool ID: Select an IPAM pool that contains the resources -// -// - CIDR (like 10.24.34.0/23) -// -// - Operation: Equals/Not equals -// -// - Value: The value on which to match the condition -// -// - Scope resource CIDR: CIDRs from Amazon Web Services resources like VPCs, -// subnets, EIPs within an IPAM scope -// -// If you choose this option, choose the following: -// -// - IPAM scope: Select the IPAM scope to search for resources -// -// - Resource type: Select a resource, like a VPC or subnet. -// -// - Conditions: -// -// - Property: -// -// - Resource ID: The unique ID of a resource (like vpc-1234567890abcdef0) -// -// - Resource owner (like 111122223333) -// -// - Resource region (like us-east-1) -// -// - Resource tag (like key: name, value: dev-vpc-1) -// -// - CIDR (like 10.24.34.0/23) -// -// - Operation: Equals/Not equals -// -// - Value: The value on which to match the condition -type IpamPrefixListResolverRuleRequest struct { - - // The type of CIDR selection rule. Valid values include include for selecting - // CIDRs that match the conditions, and exclude for excluding CIDRs that match the - // conditions. - // - // This member is required. - RuleType IpamPrefixListResolverRuleType - - // The conditions that determine which CIDRs are selected by this rule. Conditions - // specify criteria such as resource type, tags, account IDs, and Regions. - Conditions []IpamPrefixListResolverRuleConditionRequest - - // The ID of the IPAM scope from which to select CIDRs. This determines whether to - // select from public or private IP address space. - IpamScopeId *string - - // For rules of type ipam-resource-cidr , this is the resource type. - ResourceType IpamResourceType - - // A fixed list of CIDRs that do not change (like a manual list replicated across - // Regions). - StaticCidr *string - - noSmithyDocumentSerde -} - -// Describes an IPAM prefix list resolver target. -// -// An IPAM prefix list resolver target is an association between a specific -// customer-managed prefix list and an IPAM prefix list resolver. The target -// enables the resolver to synchronize CIDRs selected by its rules into the -// specified prefix list, which can then be referenced in Amazon Web Services -// resources. -type IpamPrefixListResolverTarget struct { - - // The desired version of the prefix list that this target should synchronize with. - DesiredVersion *int64 - - // The ID of the IPAM prefix list resolver associated with this target. - IpamPrefixListResolverId *string - - // The Amazon Resource Name (ARN) of the IPAM prefix list resolver target. - IpamPrefixListResolverTargetArn *string - - // The ID of the IPAM prefix list resolver target. - IpamPrefixListResolverTargetId *string - - // The version of the prefix list that was last successfully synchronized by this - // target. - LastSyncedVersion *int64 - - // The ID of the Amazon Web Services account that owns the IPAM prefix list - // resolver target. - OwnerId *string - - // The ID of the managed prefix list associated with this target. - PrefixListId *string - - // The Amazon Web Services Region where the prefix list associated with this - // target is located. - PrefixListRegion *string - - // The current state of the IPAM prefix list resolver target. Valid values include - // create-in-progress , create-complete , create-failed , modify-in-progress , - // modify-complete , modify-failed , delete-in-progress , delete-complete , and - // delete-failed . - State IpamPrefixListResolverTargetState - - // A message describing the current state of the IPAM prefix list resolver target, - // including any error information. - StateMessage *string - - // The tags assigned to the IPAM prefix list resolver target. - Tags []Tag - - // Indicates whether this target automatically tracks the latest version of the - // prefix list. - TrackLatestVersion *bool - - noSmithyDocumentSerde -} - -// Describes a version of an IPAM prefix list resolver. -// -// Each version is a snapshot of what CIDRs matched your rules at that moment in -// time. The version number increments every time the CIDR list changes due to -// infrastructure changes. -// -// Version example: -// -// Initial State (Version 1) -// -// Production environment: -// -// - vpc-prod-web (10.1.0.0/16) - tagged env=prod -// -// - vpc-prod-db (10.2.0.0/16) - tagged env=prod -// -// Resolver rule: Include all VPCs tagged env=prod -// -// Version 1 CIDRs: 10.1.0.0/16, 10.2.0.0/16 -// -// Infrastructure Change (Version 2) -// -// New VPC added: -// -// - vpc-prod-api (10.3.0.0/16) - tagged env=prod -// -// IPAM automatically detects the change and creates a new version. -// -// Version 2 CIDRs: 10.1.0.0/16, 10.2.0.0/16, 10.3.0.0/16 -type IpamPrefixListResolverVersion struct { - - // The version number of the IPAM prefix list resolver. - // - // Each version is a snapshot of what CIDRs matched your rules at that moment in - // time. The version number increments every time the CIDR list changes due to - // infrastructure changes. - Version *int64 - - noSmithyDocumentSerde -} - -// Describes a CIDR entry in a specific version of an IPAM prefix list resolver. -// This represents a CIDR that was selected and synchronized at a particular point -// in time. -type IpamPrefixListResolverVersionEntry struct { - - // The CIDR block that was selected and synchronized in this resolver version. - Cidr *string - - noSmithyDocumentSerde -} - -// The security group that the resource with the public IP address is in. -type IpamPublicAddressSecurityGroup struct { - - // The security group's ID. - GroupId *string - - // The security group's name. - GroupName *string - - noSmithyDocumentSerde -} - -// A tag for a public IP address discovered by IPAM. -type IpamPublicAddressTag struct { - - // The tag's key. - Key *string - - // The tag's value. - Value *string - - noSmithyDocumentSerde -} - -// Tags for a public IP address discovered by IPAM. -type IpamPublicAddressTags struct { - - // Tags for an Elastic IP address. - EipTags []IpamPublicAddressTag - - noSmithyDocumentSerde -} - -// The CIDR for an IPAM resource. -type IpamResourceCidr struct { - - // The Availability Zone ID. - AvailabilityZoneId *string - - // The compliance status of the IPAM resource. For more information on compliance - // statuses, see [Monitor CIDR usage by resource]in the Amazon VPC IPAM User Guide. - // - // [Monitor CIDR usage by resource]: https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html - ComplianceStatus IpamComplianceStatus - - // The percentage of IP address space in use. To convert the decimal to a - // percentage, multiply the decimal by 100. Note the following: - // - // - For resources that are VPCs, this is the percentage of IP address space in - // the VPC that's taken up by subnet CIDRs. - // - // - For resources that are subnets, if the subnet has an IPv4 CIDR provisioned - // to it, this is the percentage of IPv4 address space in the subnet that's in use. - // If the subnet has an IPv6 CIDR provisioned to it, the percentage of IPv6 address - // space in use is not represented. The percentage of IPv6 address space in use - // cannot currently be calculated. - // - // - For resources that are public IPv4 pools, this is the percentage of IP - // address space in the pool that's been allocated to Elastic IP addresses (EIPs). - IpUsage *float64 - - // The IPAM ID for an IPAM resource. - IpamId *string - - // The pool ID for an IPAM resource. - IpamPoolId *string - - // The scope ID for an IPAM resource. - IpamScopeId *string - - // The management state of the resource. For more information about management - // states, see [Monitor CIDR usage by resource]in the Amazon VPC IPAM User Guide. - // - // [Monitor CIDR usage by resource]: https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html - ManagementState IpamManagementState - - // The overlap status of an IPAM resource. The overlap status tells you if the - // CIDR for a resource overlaps with another CIDR in the scope. For more - // information on overlap statuses, see [Monitor CIDR usage by resource]in the Amazon VPC IPAM User Guide. - // - // [Monitor CIDR usage by resource]: https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html - OverlapStatus IpamOverlapStatus - - // The CIDR for an IPAM resource. - ResourceCidr *string - - // The ID of an IPAM resource. - ResourceId *string - - // The name of an IPAM resource. - ResourceName *string - - // The Amazon Web Services account number of the owner of an IPAM resource. - ResourceOwnerId *string - - // The Amazon Web Services Region for an IPAM resource. - ResourceRegion *string - - // The tags for an IPAM resource. - ResourceTags []IpamResourceTag - - // The type of IPAM resource. - ResourceType IpamResourceType - - // The ID of a VPC. - VpcId *string - - noSmithyDocumentSerde -} - -// A resource discovery is an IPAM component that enables IPAM to manage and -// monitor resources that belong to the owning account. -type IpamResourceDiscovery struct { - - // The resource discovery description. - Description *string - - // The resource discovery Amazon Resource Name (ARN). - IpamResourceDiscoveryArn *string - - // The resource discovery ID. - IpamResourceDiscoveryId *string - - // The resource discovery Region. - IpamResourceDiscoveryRegion *string - - // Defines if the resource discovery is the default. The default resource - // discovery is the resource discovery automatically created when you create an - // IPAM. - IsDefault *bool - - // The operating Regions for the resource discovery. Operating Regions are Amazon - // Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM - // only discovers and monitors resources in the Amazon Web Services Regions you - // select as operating Regions. - OperatingRegions []IpamOperatingRegion - - // If your IPAM is integrated with Amazon Web Services Organizations and you add - // an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in - // accounts in that OU exclusion. - OrganizationalUnitExclusions []IpamOrganizationalUnitExclusion - - // The ID of the owner. - OwnerId *string - - // The lifecycle state of the resource discovery. - // - // - create-in-progress - Resource discovery is being created. - // - // - create-complete - Resource discovery creation is complete. - // - // - create-failed - Resource discovery creation has failed. - // - // - modify-in-progress - Resource discovery is being modified. - // - // - modify-complete - Resource discovery modification is complete. - // - // - modify-failed - Resource discovery modification has failed. - // - // - delete-in-progress - Resource discovery is being deleted. - // - // - delete-complete - Resource discovery deletion is complete. - // - // - delete-failed - Resource discovery deletion has failed. - // - // - isolate-in-progress - Amazon Web Services account that created the resource - // discovery has been removed and the resource discovery is being isolated. - // - // - isolate-complete - Resource discovery isolation is complete. - // - // - restore-in-progress - Amazon Web Services account that created the resource - // discovery and was isolated has been restored. - State IpamResourceDiscoveryState - - // A tag is a label that you assign to an Amazon Web Services resource. Each tag - // consists of a key and an optional value. You can use tags to search and filter - // your resources or track your Amazon Web Services costs. - Tags []Tag - - noSmithyDocumentSerde -} - -// An IPAM resource discovery association. An associated resource discovery is a -// resource discovery that has been associated with an IPAM. IPAM aggregates the -// resource CIDRs discovered by the associated resource discovery. -type IpamResourceDiscoveryAssociation struct { - - // The IPAM ARN. - IpamArn *string - - // The IPAM ID. - IpamId *string - - // The IPAM home Region. - IpamRegion *string - - // The resource discovery association Amazon Resource Name (ARN). - IpamResourceDiscoveryAssociationArn *string - - // The resource discovery association ID. - IpamResourceDiscoveryAssociationId *string - - // The resource discovery ID. - IpamResourceDiscoveryId *string - - // Defines if the resource discovery is the default. When you create an IPAM, a - // default resource discovery is created for your IPAM and it's associated with - // your IPAM. - IsDefault *bool - - // The Amazon Web Services account ID of the resource discovery owner. - OwnerId *string - - // The resource discovery status. - // - // - active - Connection or permissions required to read the results of the - // resource discovery are intact. - // - // - not-found - Connection or permissions required to read the results of the - // resource discovery are broken. This may happen if the owner of the resource - // discovery stopped sharing it or deleted the resource discovery. Verify the - // resource discovery still exists and the Amazon Web Services RAM resource share - // is still intact. - ResourceDiscoveryStatus IpamAssociatedResourceDiscoveryStatus - - // The lifecycle state of the association when you associate or disassociate a - // resource discovery. - // - // - associate-in-progress - Resource discovery is being associated. - // - // - associate-complete - Resource discovery association is complete. - // - // - associate-failed - Resource discovery association has failed. - // - // - disassociate-in-progress - Resource discovery is being disassociated. - // - // - disassociate-complete - Resource discovery disassociation is complete. - // - // - disassociate-failed - Resource discovery disassociation has failed. - // - // - isolate-in-progress - Amazon Web Services account that created the resource - // discovery association has been removed and the resource discovery association is - // being isolated. - // - // - isolate-complete - Resource discovery isolation is complete. - // - // - restore-in-progress - Resource discovery is being restored. - State IpamResourceDiscoveryAssociationState - - // A tag is a label that you assign to an Amazon Web Services resource. Each tag - // consists of a key and an optional value. You can use tags to search and filter - // your resources or track your Amazon Web Services costs. - Tags []Tag - - noSmithyDocumentSerde -} - -// The key/value combination of a tag assigned to the resource. Use the tag key in -// the filter name and the tag value as the filter value. For example, to find all -// resources that have a tag with the key Owner and the value TeamA , specify -// tag:Owner for the filter name and TeamA for the filter value. -type IpamResourceTag struct { - - // The key of a tag assigned to the resource. Use this filter to find all - // resources assigned a tag with a specific key, regardless of the tag value. - Key *string - - // The value of the tag. - Value *string - - noSmithyDocumentSerde -} - -// In IPAM, a scope is the highest-level container within IPAM. An IPAM contains -// two default scopes. Each scope represents the IP space for a single network. The -// private scope is intended for all private IP address space. The public scope is -// intended for all public IP address space. Scopes enable you to reuse IP -// addresses across multiple unconnected networks without causing IP address -// overlap or conflict. -// -// For more information, see [How IPAM works] in the Amazon VPC IPAM User Guide. -// -// [How IPAM works]: https://docs.aws.amazon.com/vpc/latest/ipam/how-it-works-ipam.html -type IpamScope struct { - - // The description of the scope. - Description *string - - // The external authority configuration for this IPAM scope, if configured. - // - // The configuration that links an Amazon VPC IPAM scope to an external authority - // system. It specifies the type of external system and the external resource - // identifier that identifies your account or instance in that system. - // - // In IPAM, an external authority is a third-party IP address management system - // that provides CIDR blocks when you provision address space for top-level IPAM - // pools. This allows you to use your existing IP management system to control - // which address ranges are allocated to Amazon Web Services while using Amazon VPC - // IPAM to manage subnets within those ranges. - ExternalAuthorityConfiguration *IpamScopeExternalAuthorityConfiguration - - // The ARN of the IPAM. - IpamArn *string - - // The Amazon Web Services Region of the IPAM scope. - IpamRegion *string - - // The Amazon Resource Name (ARN) of the scope. - IpamScopeArn *string - - // The ID of the scope. - IpamScopeId *string - - // The type of the scope. - IpamScopeType IpamScopeType - - // Defines if the scope is the default scope or not. - IsDefault *bool - - // The Amazon Web Services account ID of the owner of the scope. - OwnerId *string - - // The number of pools in the scope. - PoolCount *int32 - - // The state of the IPAM scope. - State IpamScopeState - - // The key/value combination of a tag assigned to the resource. Use the tag key in - // the filter name and the tag value as the filter value. For example, to find all - // resources that have a tag with the key Owner and the value TeamA , specify - // tag:Owner for the filter name and TeamA for the filter value. - Tags []Tag - - noSmithyDocumentSerde -} - -// The configuration that links an Amazon VPC IPAM scope to an external authority -// system. It specifies the type of external system and the external resource -// identifier that identifies your account or instance in that system. -// -// In IPAM, an external authority is a third-party IP address management system -// that provides CIDR blocks when you provision address space for top-level IPAM -// pools. This allows you to use your existing IP management system to control -// which address ranges are allocated to Amazon Web Services while using Amazon VPC -// IPAM to manage subnets within those ranges. -type IpamScopeExternalAuthorityConfiguration struct { - - // The identifier for the external resource managing this scope. For Infoblox - // integrations, this is the Infoblox resource identifier in the format - // .identity.account.. . - ExternalResourceIdentifier *string - - // The type of external authority managing this scope. Currently supports Infoblox - // for integration with Infoblox Universal DDI. - Type IpamScopeExternalAuthorityType - - noSmithyDocumentSerde -} - -// Describes the permissions for a security group rule. -type IpPermission struct { - - // If the protocol is TCP or UDP, this is the start of the port range. If the - // protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types). - FromPort *int32 - - // The IP protocol name ( tcp , udp , icmp , icmpv6 ) or number (see [Protocol Numbers]). - // - // Use -1 to specify all protocols. When authorizing security group rules, - // specifying -1 or a protocol number other than tcp , udp , icmp , or icmpv6 - // allows traffic on all ports, regardless of any port range you specify. For tcp , - // udp , and icmp , you must specify a port range. For icmpv6 , the port range is - // optional; if you omit the port range, traffic for all types and codes is - // allowed. - // - // [Protocol Numbers]: http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml - IpProtocol *string - - // The IPv4 address ranges. - IpRanges []IpRange - - // The IPv6 address ranges. - Ipv6Ranges []Ipv6Range - - // The prefix list IDs. - PrefixListIds []PrefixListId - - // If the protocol is TCP or UDP, this is the end of the port range. If the - // protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes). If the - // start port is -1 (all ICMP types), then the end port must be -1 (all ICMP - // codes). - ToPort *int32 - - // The security group and Amazon Web Services account ID pairs. - UserIdGroupPairs []UserIdGroupPair - - noSmithyDocumentSerde -} - -// Describes an IPv4 address range. -type IpRange struct { - - // The IPv4 address range. You can either specify a CIDR block or a source - // security group, not both. To specify a single IPv4 address, use the /32 prefix - // length. - // - // Amazon Web Services [canonicalizes] IPv4 and IPv6 CIDRs. For example, if you specify - // 100.68.0.18/18 for the CIDR block, Amazon Web Services canonicalizes the CIDR - // block to 100.68.0.0/18. Any subsequent DescribeSecurityGroups and - // DescribeSecurityGroupRules calls will return the canonicalized form of the CIDR - // block. Additionally, if you attempt to add another rule with the non-canonical - // form of the CIDR (such as 100.68.0.18/18) and there is already a rule for the - // canonicalized form of the CIDR block (such as 100.68.0.0/18), the API throws an - // duplicate rule error. - // - // [canonicalizes]: https://en.wikipedia.org/wiki/Canonicalization - CidrIp *string - - // A description for the security group rule that references this IPv4 address - // range. - // - // Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, - // 0-9, spaces, and ._-:/()#,@[]+=&;{}!$* - Description *string - - noSmithyDocumentSerde -} - -// Describes an IPv4 prefix. -type Ipv4PrefixSpecification struct { - - // The IPv4 prefix. For information, see [Assigning prefixes to network interfaces] in the Amazon EC2 User Guide. - // - // [Assigning prefixes to network interfaces]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html - Ipv4Prefix *string - - noSmithyDocumentSerde -} - -// Describes the IPv4 prefix option for a network interface. -type Ipv4PrefixSpecificationRequest struct { - - // The IPv4 prefix. For information, see [Assigning prefixes to network interfaces] in the Amazon EC2 User Guide. - // - // [Assigning prefixes to network interfaces]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html - Ipv4Prefix *string - - noSmithyDocumentSerde -} - -// Information about the IPv4 delegated prefixes assigned to a network interface. -type Ipv4PrefixSpecificationResponse struct { - - // The IPv4 delegated prefixes assigned to the network interface. - Ipv4Prefix *string - - noSmithyDocumentSerde -} - -// Describes an IPv6 CIDR block association. -type Ipv6CidrAssociation struct { - - // The resource that's associated with the IPv6 CIDR block. - AssociatedResource *string - - // The IPv6 CIDR block. - Ipv6Cidr *string - - noSmithyDocumentSerde -} - -// Describes an IPv6 CIDR block. -type Ipv6CidrBlock struct { - - // The IPv6 CIDR block. - Ipv6CidrBlock *string - - noSmithyDocumentSerde -} - -// Describes an IPv6 address pool. -type Ipv6Pool struct { - - // The description for the address pool. - Description *string - - // The CIDR blocks for the address pool. - PoolCidrBlocks []PoolCidrBlock - - // The ID of the address pool. - PoolId *string - - // Any tags for the address pool. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes the IPv6 prefix. -type Ipv6PrefixSpecification struct { - - // The IPv6 prefix. - Ipv6Prefix *string - - noSmithyDocumentSerde -} - -// Describes the IPv6 prefix option for a network interface. -type Ipv6PrefixSpecificationRequest struct { - - // The IPv6 prefix. - Ipv6Prefix *string - - noSmithyDocumentSerde -} - -// Information about the IPv6 delegated prefixes assigned to a network interface. -type Ipv6PrefixSpecificationResponse struct { - - // The IPv6 delegated prefixes assigned to the network interface. - Ipv6Prefix *string - - noSmithyDocumentSerde -} - -// Describes an IPv6 address range. -type Ipv6Range struct { - - // The IPv6 address range. You can either specify a CIDR block or a source - // security group, not both. To specify a single IPv6 address, use the /128 prefix - // length. - // - // Amazon Web Services [canonicalizes] IPv4 and IPv6 CIDRs. For example, if you specify - // 100.68.0.18/18 for the CIDR block, Amazon Web Services canonicalizes the CIDR - // block to 100.68.0.0/18. Any subsequent DescribeSecurityGroups and - // DescribeSecurityGroupRules calls will return the canonicalized form of the CIDR - // block. Additionally, if you attempt to add another rule with the non-canonical - // form of the CIDR (such as 100.68.0.18/18) and there is already a rule for the - // canonicalized form of the CIDR block (such as 100.68.0.0/18), the API throws an - // duplicate rule error. - // - // [canonicalizes]: https://en.wikipedia.org/wiki/Canonicalization - CidrIpv6 *string - - // A description for the security group rule that references this IPv6 address - // range. - // - // Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, - // 0-9, spaces, and ._-:/()#,@[]+=&;{}!$* - Description *string - - noSmithyDocumentSerde -} - -// Describes a key pair. -type KeyPairInfo struct { - - // If you used Amazon EC2 to create the key pair, this is the date and time when - // the key was created, in [ISO 8601 date-time format], in the UTC time zone. - // - // If you imported an existing key pair to Amazon EC2, this is the date and time - // the key was imported, in [ISO 8601 date-time format], in the UTC time zone. - // - // [ISO 8601 date-time format]: https://www.iso.org/iso-8601-date-and-time-format.html - CreateTime *time.Time - - // If you used CreateKeyPair to create the key pair: - // - // - For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER - // encoded private key. - // - // - For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 - // digest, which is the default for OpenSSH, starting with [OpenSSH 6.8]. - // - // If you used ImportKeyPair to provide Amazon Web Services the public key: - // - // - For RSA key pairs, the key fingerprint is the MD5 public key fingerprint as - // specified in section 4 of RFC4716. - // - // - For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 - // digest, which is the default for OpenSSH, starting with [OpenSSH 6.8]. - // - // [OpenSSH 6.8]: http://www.openssh.com/txt/release-6.8 - KeyFingerprint *string - - // The name of the key pair. - KeyName *string - - // The ID of the key pair. - KeyPairId *string - - // The type of key pair. - KeyType KeyType - - // The public key material. - PublicKey *string - - // Any tags applied to the key pair. - Tags []Tag - - noSmithyDocumentSerde -} - -// The last error that occurred for a VPC endpoint. -type LastError struct { - - // The error code for the VPC endpoint error. - Code *string - - // The error message for the VPC endpoint error. - Message *string - - noSmithyDocumentSerde -} - -// Describes a launch permission. -type LaunchPermission struct { - - // The name of the group. - Group PermissionGroup - - // The Amazon Resource Name (ARN) of an organization. - OrganizationArn *string - - // The Amazon Resource Name (ARN) of an organizational unit (OU). - OrganizationalUnitArn *string - - // The Amazon Web Services account ID. - // - // Constraints: Up to 10 000 account IDs can be specified in a single request. - UserId *string - - noSmithyDocumentSerde -} - -// Describes a launch permission modification. -type LaunchPermissionModifications struct { - - // The Amazon Web Services account ID, organization ARN, or OU ARN to add to the - // list of launch permissions for the AMI. - Add []LaunchPermission - - // The Amazon Web Services account ID, organization ARN, or OU ARN to remove from - // the list of launch permissions for the AMI. - Remove []LaunchPermission - - noSmithyDocumentSerde -} - -// Describes the launch specification for an instance. -type LaunchSpecification struct { - - // Deprecated. - AddressingType *string - - // The block device mapping entries. - BlockDeviceMappings []BlockDeviceMapping - - // Indicates whether the instance is optimized for EBS I/O. This optimization - // provides dedicated throughput to Amazon EBS and an optimized configuration stack - // to provide optimal EBS I/O performance. This optimization isn't available with - // all instance types. Additional usage charges apply when using an EBS Optimized - // instance. - // - // Default: false - EbsOptimized *bool - - // The IAM instance profile. - IamInstanceProfile *IamInstanceProfileSpecification - - // The ID of the AMI. - ImageId *string - - // The instance type. Only one instance type can be specified. - InstanceType InstanceType - - // The ID of the kernel. - KernelId *string - - // The name of the key pair. - KeyName *string - - // Describes the monitoring of an instance. - Monitoring *RunInstancesMonitoringEnabled - - // The network interfaces. If you specify a network interface, you must specify - // subnet IDs and security group IDs using the network interface. - NetworkInterfaces []InstanceNetworkInterfaceSpecification - - // The placement information for the instance. - Placement *SpotPlacement - - // The ID of the RAM disk. - RamdiskId *string - - // The IDs of the security groups. - SecurityGroups []GroupIdentifier - - // The ID of the subnet in which to launch the instance. - SubnetId *string - - // The base64-encoded user data that instances use when starting up. User data is - // limited to 16 KB. - UserData *string - - noSmithyDocumentSerde -} - -// Describes a launch template. -type LaunchTemplate struct { - - // The time launch template was created. - CreateTime *time.Time - - // The principal that created the launch template. - CreatedBy *string - - // The version number of the default version of the launch template. - DefaultVersionNumber *int64 - - // The version number of the latest version of the launch template. - LatestVersionNumber *int64 - - // The ID of the launch template. - LaunchTemplateId *string - - // The name of the launch template. - LaunchTemplateName *string - - // The entity that manages the launch template. - Operator *OperatorResponse - - // The tags for the launch template. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes a launch template and overrides. -type LaunchTemplateAndOverridesResponse struct { - - // The launch template. - LaunchTemplateSpecification *FleetLaunchTemplateSpecification - - // Any parameters that you specify override the same parameters in the launch - // template. - Overrides *FleetLaunchTemplateOverrides - - noSmithyDocumentSerde -} - -// Describes a block device mapping. -type LaunchTemplateBlockDeviceMapping struct { - - // The device name. - DeviceName *string - - // Information about the block device for an EBS volume. - Ebs *LaunchTemplateEbsBlockDevice - - // To omit the device from the block device mapping, specify an empty string. - NoDevice *string - - // The virtual device name (ephemeralN). - VirtualName *string - - noSmithyDocumentSerde -} - -// Describes a block device mapping. -type LaunchTemplateBlockDeviceMappingRequest struct { - - // The device name (for example, /dev/sdh or xvdh). - DeviceName *string - - // Parameters used to automatically set up EBS volumes when the instance is - // launched. - Ebs *LaunchTemplateEbsBlockDeviceRequest - - // To omit the device from the block device mapping, specify an empty string. - NoDevice *string - - // The virtual device name (ephemeralN). Instance store volumes are numbered - // starting from 0. An instance type with 2 available instance store volumes can - // specify mappings for ephemeral0 and ephemeral1. The number of available instance - // store volumes depends on the instance type. After you connect to the instance, - // you must mount the volume. - VirtualName *string - - noSmithyDocumentSerde -} - -// Describes an instance's Capacity Reservation targeting option. You can specify -// only one option at a time. Use the CapacityReservationPreference parameter to -// configure the instance to run in On-Demand capacity or to run in any open -// Capacity Reservation that has matching attributes (instance type, platform, -// Availability Zone). Use the CapacityReservationTarget parameter to explicitly -// target a specific Capacity Reservation or a Capacity Reservation group. -type LaunchTemplateCapacityReservationSpecificationRequest struct { - - // Indicates the instance's Capacity Reservation preferences. Possible preferences - // include: - // - // - capacity-reservations-only - The instance will only run in a Capacity - // Reservation or Capacity Reservation group. If capacity isn't available, the - // instance will fail to launch. - // - // - open - The instance can run in any open Capacity Reservation that has - // matching attributes (instance type, platform, Availability Zone, tenancy). - // - // - none - The instance avoids running in a Capacity Reservation even if one is - // available. The instance runs in On-Demand capacity. - CapacityReservationPreference CapacityReservationPreference - - // Information about the target Capacity Reservation or Capacity Reservation group. - CapacityReservationTarget *CapacityReservationTarget - - noSmithyDocumentSerde -} - -// Information about the Capacity Reservation targeting option. -type LaunchTemplateCapacityReservationSpecificationResponse struct { - - // Indicates the instance's Capacity Reservation preferences. Possible preferences - // include: - // - // - open - The instance can run in any open Capacity Reservation that has - // matching attributes (instance type, platform, Availability Zone). - // - // - none - The instance avoids running in a Capacity Reservation even if one is - // available. The instance runs in On-Demand capacity. - CapacityReservationPreference CapacityReservationPreference - - // Information about the target Capacity Reservation or Capacity Reservation group. - CapacityReservationTarget *CapacityReservationTargetResponse - - noSmithyDocumentSerde -} - -// Describes a launch template and overrides. -type LaunchTemplateConfig struct { - - // The launch template to use. Make sure that the launch template does not contain - // the NetworkInterfaceId parameter because you can't specify a network interface - // ID in a Spot Fleet. - LaunchTemplateSpecification *FleetLaunchTemplateSpecification - - // Any parameters that you specify override the same parameters in the launch - // template. - Overrides []LaunchTemplateOverrides - - noSmithyDocumentSerde -} - -// The CPU options for the instance. -type LaunchTemplateCpuOptions struct { - - // Indicates whether the instance is enabled for AMD SEV-SNP. For more - // information, see [AMD SEV-SNP for Amazon EC2 instances]. - // - // [AMD SEV-SNP for Amazon EC2 instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html - AmdSevSnp AmdSevSnpSpecification - - // The number of CPU cores for the instance. - CoreCount *int32 - - // The number of threads per CPU core. - ThreadsPerCore *int32 - - noSmithyDocumentSerde -} - -// The CPU options for the instance. Both the core count and threads per core must -// be specified in the request. -type LaunchTemplateCpuOptionsRequest struct { - - // Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is - // supported with M6a, R6a, and C6a instance types only. For more information, see [AMD SEV-SNP for Amazon EC2 instances] - // . - // - // [AMD SEV-SNP for Amazon EC2 instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html - AmdSevSnp AmdSevSnpSpecification - - // The number of CPU cores for the instance. - CoreCount *int32 - - // The number of threads per CPU core. To disable multithreading for the instance, - // specify a value of 1 . Otherwise, specify the default value of 2 . - ThreadsPerCore *int32 - - noSmithyDocumentSerde -} - -// Describes a block device for an EBS volume. -type LaunchTemplateEbsBlockDevice struct { - - // Indicates whether the EBS volume is deleted on instance termination. - DeleteOnTermination *bool - - // Indicates whether the EBS volume is encrypted. - Encrypted *bool - - // The number of I/O operations per second (IOPS) that the volume supports. - Iops *int32 - - // Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed - // KMS key to use for EBS encryption. - KmsKeyId *string - - // The ID of the snapshot. - SnapshotId *string - - // The throughput that the volume supports, in MiB/s. - Throughput *int32 - - // The Amazon EBS Provisioned Rate for Volume Initialization (volume - // initialization rate) specified for the volume, in MiB/s. If no volume - // initialization rate was specified, the value is null . - VolumeInitializationRate *int32 - - // The size of the volume, in GiB. - VolumeSize *int32 - - // The volume type. - VolumeType VolumeType - - noSmithyDocumentSerde -} - -// The parameters for a block device for an EBS volume. -type LaunchTemplateEbsBlockDeviceRequest struct { - - // Indicates whether the EBS volume is deleted on instance termination. - DeleteOnTermination *bool - - // Indicates whether the EBS volume is encrypted. Encrypted volumes can only be - // attached to instances that support Amazon EBS encryption. If you are creating a - // volume from a snapshot, you can't specify an encryption value. - Encrypted *bool - - // The number of I/O operations per second (IOPS). For gp3 , io1 , and io2 - // volumes, this represents the number of IOPS that are provisioned for the volume. - // For gp2 volumes, this represents the baseline performance of the volume and the - // rate at which the volume accumulates I/O credits for bursting. - // - // The following are the supported values for each volume type: - // - // - gp3 : 3,000 - 80,000 IOPS - // - // - io1 : 100 - 64,000 IOPS - // - // - io2 : 100 - 256,000 IOPS - // - // For io2 volumes, you can achieve up to 256,000 IOPS on [instances built on the Nitro System]. On other instances, - // you can achieve performance up to 32,000 IOPS. - // - // This parameter is supported for io1 , io2 , and gp3 volumes only. - // - // [instances built on the Nitro System]: https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html - Iops *int32 - - // Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed - // KMS key to use for EBS encryption. - KmsKeyId *string - - // The ID of the snapshot. - SnapshotId *string - - // The throughput to provision for a gp3 volume, with a maximum of 2,000 MiB/s. - // - // Valid Range: Minimum value of 125. Maximum value of 2,000. - Throughput *int32 - - // Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume - // initialization rate), in MiB/s, at which to download the snapshot blocks from - // Amazon S3 to the volume. This is also known as volume initialization. Specifying - // a volume initialization rate ensures that the volume is initialized at a - // predictable and consistent rate after creation. - // - // This parameter is supported only for volumes created from snapshots. Omit this - // parameter if: - // - // - You want to create the volume using fast snapshot restore. You must specify - // a snapshot that is enabled for fast snapshot restore. In this case, the volume - // is fully initialized at creation. - // - // If you specify a snapshot that is enabled for fast snapshot restore and a - // volume initialization rate, the volume will be initialized at the specified rate - // instead of fast snapshot restore. - // - // - You want to create a volume that is initialized at the default rate. - // - // For more information, see [Initialize Amazon EBS volumes] in the Amazon EC2 User Guide. - // - // Valid range: 100 - 300 MiB/s - // - // [Initialize Amazon EBS volumes]: https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html - VolumeInitializationRate *int32 - - // The size of the volume, in GiBs. You must specify either a snapshot ID or a - // volume size. The following are the supported volumes sizes for each volume type: - // - // - gp2 : 1 - 16,384 GiB - // - // - gp3 : 1 - 65,536 GiB - // - // - io1 : 4 - 16,384 GiB - // - // - io2 : 4 - 65,536 GiB - // - // - st1 and sc1 : 125 - 16,384 GiB - // - // - standard : 1 - 1024 GiB - VolumeSize *int32 - - // The volume type. For more information, see [Amazon EBS volume types] in the Amazon EBS User Guide. - // - // [Amazon EBS volume types]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html - VolumeType VolumeType - - noSmithyDocumentSerde -} - -// Amazon Elastic Inference is no longer available. -// -// Describes an elastic inference accelerator. -type LaunchTemplateElasticInferenceAccelerator struct { - - // The type of elastic inference accelerator. The possible values are - // eia1.medium, eia1.large, and eia1.xlarge. - // - // This member is required. - Type *string - - // The number of elastic inference accelerators to attach to the instance. - Count *int32 - - noSmithyDocumentSerde -} - -// Amazon Elastic Inference is no longer available. -// -// Describes an elastic inference accelerator. -type LaunchTemplateElasticInferenceAcceleratorResponse struct { - - // The number of elastic inference accelerators to attach to the instance. - Count *int32 - - // The type of elastic inference accelerator. The possible values are eia1.medium, - // eia1.large, and eia1.xlarge. - Type *string - - noSmithyDocumentSerde -} - -// 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. -type LaunchTemplateEnaSrdSpecification struct { - - // Indicates whether ENA Express is enabled for the network interface. - EnaSrdEnabled *bool - - // Configures ENA Express for UDP network traffic. - EnaSrdUdpSpecification *LaunchTemplateEnaSrdUdpSpecification - - noSmithyDocumentSerde -} - -// 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. -type LaunchTemplateEnaSrdUdpSpecification struct { - - // Indicates whether UDP traffic to and from the instance uses ENA Express. To - // specify this setting, you must first enable ENA Express. - EnaSrdUdpEnabled *bool - - noSmithyDocumentSerde -} - -// Indicates whether the instance is enabled for Amazon Web Services Nitro -// Enclaves. -type LaunchTemplateEnclaveOptions struct { - - // If this parameter is set to true , the instance is enabled for Amazon Web - // Services Nitro Enclaves; otherwise, it is not enabled for Amazon Web Services - // Nitro Enclaves. - Enabled *bool - - noSmithyDocumentSerde -} - -// Indicates whether the instance is enabled for Amazon Web Services Nitro -// Enclaves. For more information, see [What is Nitro Enclaves?]in the Amazon Web Services Nitro Enclaves -// User Guide. -// -// [What is Nitro Enclaves?]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html -type LaunchTemplateEnclaveOptionsRequest struct { - - // To enable the instance for Amazon Web Services Nitro Enclaves, set this - // parameter to true . - Enabled *bool - - noSmithyDocumentSerde -} - -// Indicates whether an instance is configured for hibernation. -type LaunchTemplateHibernationOptions struct { - - // If this parameter is set to true , the instance is enabled for hibernation; - // otherwise, it is not enabled for hibernation. - Configured *bool - - noSmithyDocumentSerde -} - -// Indicates whether the instance is configured for hibernation. This parameter is -// valid only if the instance meets the [hibernation prerequisites]. -// -// [hibernation prerequisites]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html -type LaunchTemplateHibernationOptionsRequest struct { - - // If you set this parameter to true , the instance is enabled for hibernation. - // - // Default: false - Configured *bool - - noSmithyDocumentSerde -} - -// Describes an IAM instance profile. -type LaunchTemplateIamInstanceProfileSpecification struct { - - // The Amazon Resource Name (ARN) of the instance profile. - Arn *string - - // The name of the instance profile. - Name *string - - noSmithyDocumentSerde -} - -// An IAM instance profile. -type LaunchTemplateIamInstanceProfileSpecificationRequest struct { - - // The Amazon Resource Name (ARN) of the instance profile. - Arn *string - - // The name of the instance profile. - Name *string - - noSmithyDocumentSerde -} - -// The maintenance options of your instance. -type LaunchTemplateInstanceMaintenanceOptions struct { - - // Disables the automatic recovery behavior of your instance or sets it to default. - AutoRecovery LaunchTemplateAutoRecoveryState - - noSmithyDocumentSerde -} - -// The maintenance options of your instance. -type LaunchTemplateInstanceMaintenanceOptionsRequest struct { - - // Disables the automatic recovery behavior of your instance or sets it to - // default. For more information, see [Simplified automatic recovery]. - // - // [Simplified automatic recovery]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery - AutoRecovery LaunchTemplateAutoRecoveryState - - noSmithyDocumentSerde -} - -// The market (purchasing) option for the instances. -type LaunchTemplateInstanceMarketOptions struct { - - // The market type. - MarketType MarketType - - // The options for Spot Instances. - SpotOptions *LaunchTemplateSpotMarketOptions - - noSmithyDocumentSerde -} - -// The market (purchasing) option for the instances. -type LaunchTemplateInstanceMarketOptionsRequest struct { - - // The market type. - MarketType MarketType - - // The options for Spot Instances. - SpotOptions *LaunchTemplateSpotMarketOptionsRequest - - noSmithyDocumentSerde -} - -// The metadata options for the instance. For more information, see [Use instance metadata to manage your EC2 instance] in the Amazon -// EC2 User Guide. -// -// [Use instance metadata to manage your EC2 instance]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html -type LaunchTemplateInstanceMetadataOptions struct { - - // Enables or disables the HTTP metadata endpoint on your instances. If the - // parameter is not specified, the default state is enabled . - // - // If you specify a value of disabled , you will not be able to access your - // instance metadata. - HttpEndpoint LaunchTemplateInstanceMetadataEndpointState - - // Enables or disables the IPv6 endpoint for the instance metadata service. - // - // Default: disabled - HttpProtocolIpv6 LaunchTemplateInstanceMetadataProtocolIpv6 - - // The desired HTTP PUT response hop limit for instance metadata requests. The - // larger the number, the further instance metadata requests can travel. - // - // Possible values: Integers from 1 to 64 - HttpPutResponseHopLimit *int32 - - // Indicates whether IMDSv2 is required. - // - // - optional - IMDSv2 is optional. You can choose whether to send a session - // token in your instance metadata retrieval requests. If you retrieve IAM role - // credentials without a session token, you receive the IMDSv1 role credentials. If - // you retrieve IAM role credentials using a valid session token, you receive the - // IMDSv2 role credentials. - // - // - required - IMDSv2 is required. You must send a session token in your - // instance metadata retrieval requests. With this option, retrieving the IAM role - // credentials always returns IMDSv2 credentials; IMDSv1 credentials are not - // available. - HttpTokens LaunchTemplateHttpTokensState - - // Set to enabled to allow access to instance tags from the instance metadata. Set - // to disabled to turn off access to instance tags from the instance metadata. For - // more information, see [View tags for your EC2 instances using instance metadata]. - // - // Default: disabled - // - // [View tags for your EC2 instances using instance metadata]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html - InstanceMetadataTags LaunchTemplateInstanceMetadataTagsState - - // The state of the metadata option changes. - // - // pending - The metadata options are being updated and the instance is not ready - // to process metadata traffic with the new selection. - // - // applied - The metadata options have been successfully applied on the instance. - State LaunchTemplateInstanceMetadataOptionsState - - noSmithyDocumentSerde -} - -// The metadata options for the instance. For more information, see [Use instance metadata to manage your EC2 instance] in the Amazon -// EC2 User Guide. -// -// [Use instance metadata to manage your EC2 instance]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html -type LaunchTemplateInstanceMetadataOptionsRequest struct { - - // Enables or disables the HTTP metadata endpoint on your instances. If the - // parameter is not specified, the default state is enabled . - // - // If you specify a value of disabled , you will not be able to access your - // instance metadata. - HttpEndpoint LaunchTemplateInstanceMetadataEndpointState - - // Enables or disables the IPv6 endpoint for the instance metadata service. - // - // Default: disabled - HttpProtocolIpv6 LaunchTemplateInstanceMetadataProtocolIpv6 - - // The desired HTTP PUT response hop limit for instance metadata requests. The - // larger the number, the further instance metadata requests can travel. - // - // Default: 1 - // - // Possible values: Integers from 1 to 64 - HttpPutResponseHopLimit *int32 - - // Indicates whether IMDSv2 is required. - // - // - optional - IMDSv2 is optional. You can choose whether to send a session - // token in your instance metadata retrieval requests. If you retrieve IAM role - // credentials without a session token, you receive the IMDSv1 role credentials. If - // you retrieve IAM role credentials using a valid session token, you receive the - // IMDSv2 role credentials. - // - // - required - IMDSv2 is required. You must send a session token in your - // instance metadata retrieval requests. With this option, retrieving the IAM role - // credentials always returns IMDSv2 credentials; IMDSv1 credentials are not - // available. - // - // Default: If the value of ImdsSupport for the Amazon Machine Image (AMI) for - // your instance is v2.0 , the default is required . - HttpTokens LaunchTemplateHttpTokensState - - // Set to enabled to allow access to instance tags from the instance metadata. Set - // to disabled to turn off access to instance tags from the instance metadata. For - // more information, see [View tags for your EC2 instances using instance metadata]. - // - // Default: disabled - // - // [View tags for your EC2 instances using instance metadata]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html - InstanceMetadataTags LaunchTemplateInstanceMetadataTagsState - - noSmithyDocumentSerde -} - -// Describes a network interface. -type LaunchTemplateInstanceNetworkInterfaceSpecification struct { - - // Indicates whether to associate a Carrier IP address with eth0 for a new network - // interface. - // - // Use this option when you launch an instance in a Wavelength Zone and want to - // associate a Carrier IP address with the network interface. For more information - // about Carrier IP addresses, see [Carrier IP address]in the Wavelength Developer Guide. - // - // [Carrier IP address]: https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip - AssociateCarrierIpAddress *bool - - // Indicates whether to associate a public IPv4 address with eth0 for a new - // network interface. - // - // Amazon Web Services charges for all public IPv4 addresses, including public - // IPv4 addresses associated with running instances and Elastic IP addresses. For - // more information, see the Public IPv4 Address tab on the [Amazon VPC pricing page]. - // - // [Amazon VPC pricing page]: http://aws.amazon.com/vpc/pricing/ - AssociatePublicIpAddress *bool - - // A security group connection tracking specification that enables you to set the - // timeout for connection tracking on an Elastic network interface. For more - // information, see [Idle connection tracking timeout]in the Amazon EC2 User Guide. - // - // [Idle connection tracking timeout]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts - ConnectionTrackingSpecification *ConnectionTrackingSpecification - - // Indicates whether the network interface is deleted when the instance is - // terminated. - DeleteOnTermination *bool - - // A description for the network interface. - Description *string - - // The device index for the network interface attachment. - DeviceIndex *int32 - - // The number of ENA queues created with the instance. - EnaQueueCount *int32 - - // Contains the ENA Express settings for instances launched from your launch - // template. - EnaSrdSpecification *LaunchTemplateEnaSrdSpecification - - // The IDs of one or more security groups. - Groups []string - - // The type of network interface. - InterfaceType *string - - // The number of IPv4 prefixes that Amazon Web Services automatically assigned to - // the network interface. - Ipv4PrefixCount *int32 - - // One or more IPv4 prefixes assigned to the network interface. - Ipv4Prefixes []Ipv4PrefixSpecificationResponse - - // The number of IPv6 addresses for the network interface. - Ipv6AddressCount *int32 - - // The IPv6 addresses for the network interface. - Ipv6Addresses []InstanceIpv6Address - - // The number of IPv6 prefixes that Amazon Web Services automatically assigned to - // the network interface. - Ipv6PrefixCount *int32 - - // One or more IPv6 prefixes assigned to the network interface. - Ipv6Prefixes []Ipv6PrefixSpecificationResponse - - // The index of the network card. - NetworkCardIndex *int32 - - // The ID of the network interface. - NetworkInterfaceId *string - - // The primary IPv6 address of the network interface. When you enable an IPv6 GUA - // address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 - // address until the instance is terminated or the network interface is detached. - // For more information about primary IPv6 addresses, see [RunInstances]. - // - // [RunInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html - PrimaryIpv6 *bool - - // The primary private IPv4 address of the network interface. - PrivateIpAddress *string - - // One or more private IPv4 addresses. - PrivateIpAddresses []PrivateIpAddressSpecification - - // The number of secondary private IPv4 addresses for the network interface. - SecondaryPrivateIpAddressCount *int32 - - // The ID of the subnet for the network interface. - SubnetId *string - - noSmithyDocumentSerde -} - -// The parameters for a network interface. -type LaunchTemplateInstanceNetworkInterfaceSpecificationRequest struct { - - // Associates a Carrier IP address with eth0 for a new network interface. - // - // Use this option when you launch an instance in a Wavelength Zone and want to - // associate a Carrier IP address with the network interface. For more information - // about Carrier IP addresses, see [Carrier IP addresses]in the Wavelength Developer Guide. - // - // [Carrier IP addresses]: https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip - AssociateCarrierIpAddress *bool - - // Associates a public IPv4 address with eth0 for a new network interface. - // - // Amazon Web Services charges for all public IPv4 addresses, including public - // IPv4 addresses associated with running instances and Elastic IP addresses. For - // more information, see the Public IPv4 Address tab on the [Amazon VPC pricing page]. - // - // [Amazon VPC pricing page]: http://aws.amazon.com/vpc/pricing/ - AssociatePublicIpAddress *bool - - // A security group connection tracking specification that enables you to set the - // timeout for connection tracking on an Elastic network interface. For more - // information, see [Idle connection tracking timeout]in the Amazon EC2 User Guide. - // - // [Idle connection tracking timeout]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts - ConnectionTrackingSpecification *ConnectionTrackingSpecificationRequest - - // Indicates whether the network interface is deleted when the instance is - // terminated. - DeleteOnTermination *bool - - // A description for the network interface. - Description *string - - // The device index for the network interface attachment. The primary network - // interface has a device index of 0. Each network interface is of type interface , - // you must specify a device index. If you create a launch template that includes - // secondary network interfaces but not a primary network interface, then you must - // add a primary network interface as a launch parameter when you launch an - // instance from the template. - DeviceIndex *int32 - - // The number of ENA queues to be created with the instance. - EnaQueueCount *int32 - - // Configure ENA Express settings for your launch template. - EnaSrdSpecification *EnaSrdSpecificationRequest - - // The IDs of one or more security groups. - Groups []string - - // The type of network interface. To create an Elastic Fabric Adapter (EFA), - // specify efa or efa . For more information, see [Elastic Fabric Adapter for AI/ML and HPC workloads on Amazon EC2] in the Amazon EC2 User Guide. - // - // If you are not creating an EFA, specify interface or omit this parameter. - // - // If you specify efa-only , do not assign any IP addresses to the network - // interface. EFA-only network interfaces do not support IP addresses. - // - // Valid values: interface | efa | efa-only - // - // [Elastic Fabric Adapter for AI/ML and HPC workloads on Amazon EC2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html - InterfaceType *string - - // The number of IPv4 prefixes to be automatically assigned to the network - // interface. You cannot use this option if you use the Ipv4Prefix option. - Ipv4PrefixCount *int32 - - // One or more IPv4 prefixes to be assigned to the network interface. You cannot - // use this option if you use the Ipv4PrefixCount option. - Ipv4Prefixes []Ipv4PrefixSpecificationRequest - - // The number of IPv6 addresses to assign to a network interface. Amazon EC2 - // automatically selects the IPv6 addresses from the subnet range. You can't use - // this option if specifying specific IPv6 addresses. - Ipv6AddressCount *int32 - - // One or more specific IPv6 addresses from the IPv6 CIDR block range of your - // subnet. You can't use this option if you're specifying a number of IPv6 - // addresses. - Ipv6Addresses []InstanceIpv6AddressRequest - - // The number of IPv6 prefixes to be automatically assigned to the network - // interface. You cannot use this option if you use the Ipv6Prefix option. - Ipv6PrefixCount *int32 - - // One or more IPv6 prefixes to be assigned to the network interface. You cannot - // use this option if you use the Ipv6PrefixCount option. - Ipv6Prefixes []Ipv6PrefixSpecificationRequest - - // The index of the network card. Some instance types support multiple network - // cards. The primary network interface must be assigned to network card index 0. - // The default is network card index 0. - NetworkCardIndex *int32 - - // The ID of the network interface. - NetworkInterfaceId *string - - // The primary IPv6 address of the network interface. When you enable an IPv6 GUA - // address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 - // address until the instance is terminated or the network interface is detached. - // For more information about primary IPv6 addresses, see [RunInstances]. - // - // [RunInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html - PrimaryIpv6 *bool - - // The primary private IPv4 address of the network interface. - PrivateIpAddress *string - - // One or more private IPv4 addresses. - PrivateIpAddresses []PrivateIpAddressSpecification - - // The number of secondary private IPv4 addresses to assign to a network interface. - SecondaryPrivateIpAddressCount *int32 - - // The ID of the subnet for the network interface. - SubnetId *string - - noSmithyDocumentSerde -} - -// Describes a license configuration. -type LaunchTemplateLicenseConfiguration struct { - - // The Amazon Resource Name (ARN) of the license configuration. - LicenseConfigurationArn *string - - noSmithyDocumentSerde -} - -// Describes a license configuration. -type LaunchTemplateLicenseConfigurationRequest struct { - - // The Amazon Resource Name (ARN) of the license configuration. - LicenseConfigurationArn *string - - noSmithyDocumentSerde -} - -// With network performance options, you can adjust your bandwidth preferences to -// meet the needs of the workload that runs on your instance at launch. -type LaunchTemplateNetworkPerformanceOptions struct { - - // When you configure network bandwidth weighting, you can boost baseline - // bandwidth for either networking or EBS by up to 25%. The total available - // baseline bandwidth for your instance remains the same. The default option uses - // the standard bandwidth configuration for your instance type. - BandwidthWeighting InstanceBandwidthWeighting - - noSmithyDocumentSerde -} - -// When you configure network performance options in your launch template, your -// instance is geared for performance improvements based on the workload that it -// runs as soon as it's available. -type LaunchTemplateNetworkPerformanceOptionsRequest struct { - - // Specify the bandwidth weighting option to boost the associated type of baseline - // bandwidth, as follows: - // - // default This option uses the standard bandwidth configuration for your instance - // type. - // - // vpc-1 This option boosts your networking baseline bandwidth and reduces your - // EBS baseline bandwidth. - // - // ebs-1 This option boosts your EBS baseline bandwidth and reduces your - // networking baseline bandwidth. - BandwidthWeighting InstanceBandwidthWeighting - - noSmithyDocumentSerde -} - -// Describes overrides for a launch template. -type LaunchTemplateOverrides struct { - - // The Availability Zone in which to launch the instances. For example, us-east-2a . - // - // Either AvailabilityZone or AvailabilityZoneId must be specified in the request, - // but not both. - AvailabilityZone *string - - // The ID of the Availability Zone in which to launch the instances. For example, - // use2-az1 . - // - // Either AvailabilityZone or AvailabilityZoneId must be specified in the request, - // but not both. - AvailabilityZoneId *string - - // The instance requirements. When you specify instance requirements, Amazon EC2 - // will identify instance types with the provided requirements, and then use your - // On-Demand and Spot allocation strategies to launch instances from these instance - // types, in the same way as when you specify a list of instance types. - // - // If you specify InstanceRequirements , you can't specify InstanceType . - InstanceRequirements *InstanceRequirements - - // The instance type. - InstanceType InstanceType - - // The priority for the launch template override. The highest priority is launched - // first. - // - // If OnDemandAllocationStrategy is set to prioritized , Spot Fleet uses priority - // to determine which launch template override to use first in fulfilling On-Demand - // capacity. - // - // If the Spot AllocationStrategy is set to capacityOptimizedPrioritized , Spot - // Fleet uses priority on a best-effort basis to determine which launch template - // override to use in fulfilling Spot capacity, but optimizes for capacity first. - // - // Valid values are whole numbers starting at 0 . The lower the number, the higher - // the priority. If no number is set, the launch template override has the lowest - // priority. You can set the same priority for different launch template overrides. - Priority *float64 - - // The maximum price per unit hour that you are willing to pay for a Spot - // Instance. We do not recommend using this parameter because it can lead to - // increased interruptions. If you do not specify this parameter, you will pay the - // current Spot price. - // - // If you specify a maximum price, your instances will be interrupted more - // frequently than if you do not specify this parameter. - SpotPrice *string - - // The ID of the subnet in which to launch the instances. - SubnetId *string - - // The number of units provided by the specified instance type. These are the same - // units that you chose to set the target capacity in terms of instances, or a - // performance characteristic such as vCPUs, memory, or I/O. - // - // If the target capacity divided by this value is not a whole number, Amazon EC2 - // rounds the number of instances to the next whole number. If this value is not - // specified, the default is 1. - // - // When specifying weights, the price used in the lowestPrice and - // priceCapacityOptimized allocation strategies is per unit hour (where the - // instance price is divided by the specified weight). However, if all the - // specified weights are above the requested TargetCapacity , resulting in only 1 - // instance being launched, the price used is per instance hour. - WeightedCapacity *float64 - - noSmithyDocumentSerde -} - -// Describes the placement of an instance. -type LaunchTemplatePlacement struct { - - // The affinity setting for the instance on the Dedicated Host. - Affinity *string - - // The Availability Zone of the instance. - AvailabilityZone *string - - // The ID of the Availability Zone of the instance. - AvailabilityZoneId *string - - // The Group ID of the placement group. You must specify the Placement Group Group - // ID to launch an instance in a shared placement group. - GroupId *string - - // The name of the placement group for the instance. - GroupName *string - - // The ID of the Dedicated Host for the instance. - HostId *string - - // The ARN of the host resource group in which to launch the instances. - HostResourceGroupArn *string - - // The number of the partition the instance should launch in. Valid only if the - // placement group strategy is set to partition . - PartitionNumber *int32 - - // Reserved for future use. - SpreadDomain *string - - // The tenancy of the instance. An instance with a tenancy of dedicated runs on - // single-tenant hardware. - Tenancy Tenancy - - noSmithyDocumentSerde -} - -// Describes the placement of an instance. -type LaunchTemplatePlacementRequest struct { - - // The affinity setting for an instance on a Dedicated Host. - Affinity *string - - // The Availability Zone for the instance. - // - // Either AvailabilityZone or AvailabilityZoneId can be specified, but not both - AvailabilityZone *string - - // The ID of the Availability Zone for the instance. - // - // Either AvailabilityZone or AvailabilityZoneId can be specified, but not both - AvailabilityZoneId *string - - // The Group Id of a placement group. You must specify the Placement Group Group - // Id to launch an instance in a shared placement group. - GroupId *string - - // The name of the placement group for the instance. - GroupName *string - - // The ID of the Dedicated Host for the instance. - HostId *string - - // The ARN of the host resource group in which to launch the instances. If you - // specify a host resource group ARN, omit the Tenancy parameter or set it to host . - HostResourceGroupArn *string - - // The number of the partition the instance should launch in. Valid only if the - // placement group strategy is set to partition . - PartitionNumber *int32 - - // Reserved for future use. - SpreadDomain *string - - // The tenancy of the instance. An instance with a tenancy of dedicated runs on - // single-tenant hardware. - Tenancy Tenancy - - noSmithyDocumentSerde -} - -// Describes the options for instance hostnames. -type LaunchTemplatePrivateDnsNameOptions struct { - - // Indicates whether to respond to DNS queries for instance hostnames with DNS - // AAAA records. - EnableResourceNameDnsAAAARecord *bool - - // Indicates whether to respond to DNS queries for instance hostnames with DNS A - // records. - EnableResourceNameDnsARecord *bool - - // The type of hostname to assign to an instance. - HostnameType HostnameType - - noSmithyDocumentSerde -} - -// Describes the options for instance hostnames. -type LaunchTemplatePrivateDnsNameOptionsRequest struct { - - // Indicates whether to respond to DNS queries for instance hostnames with DNS - // AAAA records. - EnableResourceNameDnsAAAARecord *bool - - // Indicates whether to respond to DNS queries for instance hostnames with DNS A - // records. - EnableResourceNameDnsARecord *bool - - // The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an - // instance DNS name must be based on the instance IPv4 address. For IPv6 native - // subnets, an instance DNS name must be based on the instance ID. For dual-stack - // subnets, you can specify whether DNS names use the instance IPv4 address or the - // instance ID. - HostnameType HostnameType - - noSmithyDocumentSerde -} - -// Describes the monitoring for the instance. -type LaunchTemplatesMonitoring struct { - - // Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring - // is enabled. - Enabled *bool - - noSmithyDocumentSerde -} - -// Describes the monitoring for the instance. -type LaunchTemplatesMonitoringRequest struct { - - // Specify true to enable detailed monitoring. Otherwise, basic monitoring is - // enabled. - Enabled *bool - - noSmithyDocumentSerde -} - -// Describes the launch template to use. -type LaunchTemplateSpecification struct { - - // The ID of the launch template. - // - // You must specify either the launch template ID or the launch template name, but - // not both. - LaunchTemplateId *string - - // The name of the launch template. - // - // You must specify either the launch template ID or the launch template name, but - // not both. - LaunchTemplateName *string - - // The launch template version number, $Latest , or $Default . - // - // A value of $Latest uses the latest version of the launch template. - // - // A value of $Default uses the default version of the launch template. - // - // Default: The default version of the launch template. - Version *string - - noSmithyDocumentSerde -} - -// The options for Spot Instances. -type LaunchTemplateSpotMarketOptions struct { - - // The required duration for the Spot Instances (also known as Spot blocks), in - // minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360). - BlockDurationMinutes *int32 - - // The behavior when a Spot Instance is interrupted. - InstanceInterruptionBehavior InstanceInterruptionBehavior - - // The maximum hourly price you're willing to pay for a Spot Instance. We do not - // recommend using this parameter because it can lead to increased interruptions. - // If you do not specify this parameter, you will pay the current Spot price. If - // you do specify this parameter, it must be more than USD $0.001. Specifying a - // value below USD $0.001 will result in an InvalidParameterValue error message - // when the launch template is used to launch an instance. - MaxPrice *string - - // The Spot Instance request type. - SpotInstanceType SpotInstanceType - - // The end date of the request. For a one-time request, the request remains active - // until all instances launch, the request is canceled, or this date is reached. If - // the request is persistent, it remains active until it is canceled or this date - // and time is reached. - ValidUntil *time.Time - - noSmithyDocumentSerde -} - -// The options for Spot Instances. -type LaunchTemplateSpotMarketOptionsRequest struct { - - // Deprecated. - BlockDurationMinutes *int32 - - // The behavior when a Spot Instance is interrupted. The default is terminate . - InstanceInterruptionBehavior InstanceInterruptionBehavior - - // The maximum hourly price you're willing to pay for a Spot Instance. We do not - // recommend using this parameter because it can lead to increased interruptions. - // If you do not specify this parameter, you will pay the current Spot price. If - // you do specify this parameter, it must be more than USD $0.001. Specifying a - // value below USD $0.001 will result in an InvalidParameterValue error message - // when the launch template is used to launch an instance. - // - // If you specify a maximum price, your Spot Instances will be interrupted more - // frequently than if you do not specify this parameter. - MaxPrice *string - - // The Spot Instance request type. - SpotInstanceType SpotInstanceType - - // The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). Supported - // only for persistent requests. - // - // - For a persistent request, the request remains active until the ValidUntil - // date and time is reached. Otherwise, the request remains active until you cancel - // it. - // - // - For a one-time request, ValidUntil is not supported. The request remains - // active until all instances launch or you cancel the request. - // - // Default: 7 days from the current date - ValidUntil *time.Time - - noSmithyDocumentSerde -} - -// The tags specification for the launch template. -type LaunchTemplateTagSpecification struct { - - // The type of resource to tag. - ResourceType ResourceType - - // The tags for the resource. - Tags []Tag - - noSmithyDocumentSerde -} - -// The tags specification for the resources that are created during instance -// launch. -type LaunchTemplateTagSpecificationRequest struct { - - // The type of resource to tag. - // - // Valid Values lists all resource types for Amazon EC2 that can be tagged. When - // you create a launch template, you can specify tags for the following resource - // types only: instance | volume | network-interface | spot-instances-request . If - // the instance does not include the resource type that you specify, the instance - // launch fails. For example, not all instance types include a volume. - // - // To tag a resource after it has been created, see [CreateTags]. - // - // [CreateTags]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html - ResourceType ResourceType - - // The tags to apply to the resource. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes a launch template version. -type LaunchTemplateVersion struct { - - // The time the version was created. - CreateTime *time.Time - - // The principal that created the version. - CreatedBy *string - - // Indicates whether the version is the default version. - DefaultVersion *bool - - // Information about the launch template. - LaunchTemplateData *ResponseLaunchTemplateData - - // The ID of the launch template. - LaunchTemplateId *string - - // The name of the launch template. - LaunchTemplateName *string - - // The entity that manages the launch template. - Operator *OperatorResponse - - // The description for the version. - VersionDescription *string - - // The version number. - VersionNumber *int64 - - noSmithyDocumentSerde -} - -// Describes a license configuration. -type LicenseConfiguration struct { - - // The Amazon Resource Name (ARN) of the license configuration. - LicenseConfigurationArn *string - - noSmithyDocumentSerde -} - -// Describes a license configuration. -type LicenseConfigurationRequest struct { - - // The Amazon Resource Name (ARN) of the license configuration. - LicenseConfigurationArn *string - - noSmithyDocumentSerde -} - -// Describes the Classic Load Balancers and target groups to attach to a Spot -// Fleet request. -type LoadBalancersConfig struct { - - // The Classic Load Balancers. - ClassicLoadBalancersConfig *ClassicLoadBalancersConfig - - // The target groups. - TargetGroupsConfig *TargetGroupsConfig - - noSmithyDocumentSerde -} - -// Describes a load permission. -type LoadPermission struct { - - // The name of the group. - Group PermissionGroup - - // The Amazon Web Services account ID. - UserId *string - - noSmithyDocumentSerde -} - -// Describes modifications to the load permissions of an Amazon FPGA image (AFI). -type LoadPermissionModifications struct { - - // The load permissions to add. - Add []LoadPermissionRequest - - // The load permissions to remove. - Remove []LoadPermissionRequest - - noSmithyDocumentSerde -} - -// Describes a load permission. -type LoadPermissionRequest struct { - - // The name of the group. - Group PermissionGroup - - // The Amazon Web Services account ID. - UserId *string - - noSmithyDocumentSerde -} - -// Describes a local gateway. -type LocalGateway struct { - - // The ID of the local gateway. - LocalGatewayId *string - - // The Amazon Resource Name (ARN) of the Outpost. - OutpostArn *string - - // The ID of the Amazon Web Services account that owns the local gateway. - OwnerId *string - - // The state of the local gateway. - State *string - - // The tags assigned to the local gateway. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes a route for a local gateway route table. -type LocalGatewayRoute struct { - - // The ID of the customer-owned address pool. - CoipPoolId *string - - // The CIDR block used for destination matches. - DestinationCidrBlock *string - - // The ID of the prefix list. - DestinationPrefixListId *string - - // The Amazon Resource Name (ARN) of the local gateway route table. - LocalGatewayRouteTableArn *string - - // The ID of the local gateway route table. - LocalGatewayRouteTableId *string - - // The ID of the virtual interface group. - LocalGatewayVirtualInterfaceGroupId *string - - // The ID of the network interface. - NetworkInterfaceId *string - - // The ID of the Amazon Web Services account that owns the local gateway route. - OwnerId *string - - // The state of the route. - State LocalGatewayRouteState - - // The ID of the subnet. - SubnetId *string - - // The route type. - Type LocalGatewayRouteType - - noSmithyDocumentSerde -} - -// Describes a local gateway route table. -type LocalGatewayRouteTable struct { - - // The ID of the local gateway. - LocalGatewayId *string - - // The Amazon Resource Name (ARN) of the local gateway route table. - LocalGatewayRouteTableArn *string - - // The ID of the local gateway route table. - LocalGatewayRouteTableId *string - - // The mode of the local gateway route table. - Mode LocalGatewayRouteTableMode - - // The Amazon Resource Name (ARN) of the Outpost. - OutpostArn *string - - // The ID of the Amazon Web Services account that owns the local gateway route - // table. - OwnerId *string - - // The state of the local gateway route table. - State *string - - // Information about the state change. - StateReason *StateReason - - // The tags assigned to the local gateway route table. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes an association between a local gateway route table and a virtual -// interface group. -type LocalGatewayRouteTableVirtualInterfaceGroupAssociation struct { - - // The ID of the local gateway. - LocalGatewayId *string - - // The Amazon Resource Name (ARN) of the local gateway route table for the virtual - // interface group. - LocalGatewayRouteTableArn *string - - // The ID of the local gateway route table. - LocalGatewayRouteTableId *string - - // The ID of the association. - LocalGatewayRouteTableVirtualInterfaceGroupAssociationId *string - - // The ID of the virtual interface group. - LocalGatewayVirtualInterfaceGroupId *string - - // The ID of the Amazon Web Services account that owns the local gateway virtual - // interface group association. - OwnerId *string - - // The state of the association. - State *string - - // The tags assigned to the association. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes an association between a local gateway route table and a VPC. -type LocalGatewayRouteTableVpcAssociation struct { - - // The ID of the local gateway. - LocalGatewayId *string - - // The Amazon Resource Name (ARN) of the local gateway route table for the - // association. - LocalGatewayRouteTableArn *string - - // The ID of the local gateway route table. - LocalGatewayRouteTableId *string - - // The ID of the association. - LocalGatewayRouteTableVpcAssociationId *string - - // The ID of the Amazon Web Services account that owns the local gateway route - // table for the association. - OwnerId *string - - // The state of the association. - State *string - - // The tags assigned to the association. - Tags []Tag - - // The ID of the VPC. - VpcId *string - - noSmithyDocumentSerde -} - -// Describes a local gateway virtual interface. -type LocalGatewayVirtualInterface struct { - - // The current state of the local gateway virtual interface. - ConfigurationState LocalGatewayVirtualInterfaceConfigurationState - - // The local address. - LocalAddress *string - - // The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local - // gateway. - LocalBgpAsn *int32 - - // The ID of the local gateway. - LocalGatewayId *string - - // The Amazon Resource Number (ARN) of the local gateway virtual interface. - LocalGatewayVirtualInterfaceArn *string - - // The ID of the local gateway virtual interface group. - LocalGatewayVirtualInterfaceGroupId *string - - // The ID of the virtual interface. - LocalGatewayVirtualInterfaceId *string - - // The Outpost LAG ID. - OutpostLagId *string - - // The ID of the Amazon Web Services account that owns the local gateway virtual - // interface. - OwnerId *string - - // The peer address. - PeerAddress *string - - // The peer BGP ASN. - PeerBgpAsn *int32 - - // The extended 32-bit ASN of the BGP peer for use with larger ASN values. - PeerBgpAsnExtended *int64 - - // The tags assigned to the virtual interface. - Tags []Tag - - // The ID of the VLAN. - Vlan *int32 - - noSmithyDocumentSerde -} - -// Describes a local gateway virtual interface group. -type LocalGatewayVirtualInterfaceGroup struct { - - // The current state of the local gateway virtual interface group. - ConfigurationState LocalGatewayVirtualInterfaceGroupConfigurationState - - // The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP). - LocalBgpAsn *int32 - - // The extended 32-bit ASN for the local BGP configuration. - LocalBgpAsnExtended *int64 - - // The ID of the local gateway. - LocalGatewayId *string - - // The Amazon Resource Number (ARN) of the local gateway virtual interface group. - LocalGatewayVirtualInterfaceGroupArn *string - - // The ID of the virtual interface group. - LocalGatewayVirtualInterfaceGroupId *string - - // The IDs of the virtual interfaces. - LocalGatewayVirtualInterfaceIds []string - - // The ID of the Amazon Web Services account that owns the local gateway virtual - // interface group. - OwnerId *string - - // The tags assigned to the virtual interface group. - Tags []Tag - - noSmithyDocumentSerde -} - -// Information about a locked snapshot. -type LockedSnapshotsInfo struct { - - // The compliance mode cooling-off period, in hours. - CoolOffPeriod *int32 - - // The date and time at which the compliance mode cooling-off period expires, in - // the UTC time zone ( YYYY-MM-DDThh:mm:ss.sssZ ). - CoolOffPeriodExpiresOn *time.Time - - // The date and time at which the snapshot was locked, in the UTC time zone ( - // YYYY-MM-DDThh:mm:ss.sssZ ). - LockCreatedOn *time.Time - - // The period of time for which the snapshot is locked, in days. - LockDuration *int32 - - // The date and time at which the lock duration started, in the UTC time zone ( - // YYYY-MM-DDThh:mm:ss.sssZ ). - // - // If you lock a snapshot that is in the pending state, the lock duration starts - // only once the snapshot enters the completed state. - LockDurationStartTime *time.Time - - // The date and time at which the lock will expire, in the UTC time zone ( - // YYYY-MM-DDThh:mm:ss.sssZ ). - LockExpiresOn *time.Time - - // The state of the snapshot lock. Valid states include: - // - // - compliance-cooloff - The snapshot has been locked in compliance mode but it - // is still within the cooling-off period. The snapshot can't be deleted, but it - // can be unlocked and the lock settings can be modified by users with appropriate - // permissions. - // - // - governance - The snapshot is locked in governance mode. The snapshot can't - // be deleted, but it can be unlocked and the lock settings can be modified by - // users with appropriate permissions. - // - // - compliance - The snapshot is locked in compliance mode and the cooling-off - // period has expired. The snapshot can't be unlocked or deleted. The lock duration - // can only be increased by users with appropriate permissions. - // - // - expired - The snapshot was locked in compliance or governance mode but the - // lock duration has expired. The snapshot is not locked and can be deleted. - LockState LockState - - // The account ID of the Amazon Web Services account that owns the snapshot. - OwnerId *string - - // The ID of the snapshot. - SnapshotId *string - - noSmithyDocumentSerde -} - -// Information about the EC2 Mac Dedicated Host. -type MacHost struct { - - // The EC2 Mac Dedicated Host ID. - HostId *string - - // The latest macOS versions that the EC2 Mac Dedicated Host can launch without - // being upgraded. - MacOSLatestSupportedVersions []string - - noSmithyDocumentSerde -} - -// Information about a System Integrity Protection (SIP) modification task or -// volume ownership delegation task for an Amazon EC2 Mac instance. -type MacModificationTask struct { - - // The ID of the Amazon EC2 Mac instance. - InstanceId *string - - // The ID of task. - MacModificationTaskId *string - - // [SIP modification tasks only] Information about the SIP configuration. - MacSystemIntegrityProtectionConfig *MacSystemIntegrityProtectionConfiguration - - // The date and time the task was created, in the UTC timezone ( - // YYYY-MM-DDThh:mm:ss.sssZ ). - StartTime *time.Time - - // The tags assigned to the task. - Tags []Tag - - // The state of the task. - TaskState MacModificationTaskState - - // The type of task. - TaskType MacModificationTaskType - - noSmithyDocumentSerde -} - -// Describes the configuration for a System Integrity Protection (SIP) -// modification task. -type MacSystemIntegrityProtectionConfiguration struct { - - // Indicates whether Apple Internal was enabled or disabled by the task. - AppleInternal MacSystemIntegrityProtectionSettingStatus - - // Indicates whether Base System was enabled or disabled by the task. - BaseSystem MacSystemIntegrityProtectionSettingStatus - - // Indicates whether Dtrace Restrictions was enabled or disabled by the task. - DTraceRestrictions MacSystemIntegrityProtectionSettingStatus - - // Indicates whether Debugging Restrictions was enabled or disabled by the task. - DebuggingRestrictions MacSystemIntegrityProtectionSettingStatus - - // Indicates whether Filesystem Protections was enabled or disabled by the task. - FilesystemProtections MacSystemIntegrityProtectionSettingStatus - - // Indicates whether Kext Signing was enabled or disabled by the task. - KextSigning MacSystemIntegrityProtectionSettingStatus - - // Indicates whether NVRAM Protections was enabled or disabled by the task. - NvramProtections MacSystemIntegrityProtectionSettingStatus - - // Indicates SIP was enabled or disabled by the task. - Status MacSystemIntegrityProtectionSettingStatus - - noSmithyDocumentSerde -} - -// Describes a custom configuration for a System Integrity Protection (SIP) -// modification task. -type MacSystemIntegrityProtectionConfigurationRequest struct { - - // Enables or disables Apple Internal. - AppleInternal MacSystemIntegrityProtectionSettingStatus - - // Enables or disables Base System. - BaseSystem MacSystemIntegrityProtectionSettingStatus - - // Enables or disables Dtrace Restrictions. - DTraceRestrictions MacSystemIntegrityProtectionSettingStatus - - // Enables or disables Debugging Restrictions. - DebuggingRestrictions MacSystemIntegrityProtectionSettingStatus - - // Enables or disables Filesystem Protections. - FilesystemProtections MacSystemIntegrityProtectionSettingStatus - - // Enables or disables Kext Signing. - KextSigning MacSystemIntegrityProtectionSettingStatus - - // Enables or disables Nvram Protections. - NvramProtections MacSystemIntegrityProtectionSettingStatus - - noSmithyDocumentSerde -} - -// Details for Site-to-Site VPN tunnel endpoint maintenance events. -type MaintenanceDetails struct { - - // Timestamp of last applied maintenance. - LastMaintenanceApplied *time.Time - - // The timestamp after which Amazon Web Services will automatically apply - // maintenance. - MaintenanceAutoAppliedAfter *time.Time - - // Verify existence of a pending maintenance. - PendingMaintenance *string - - noSmithyDocumentSerde -} - -// Describes a managed prefix list. -type ManagedPrefixList struct { - - // The IP address version. - AddressFamily *string - - // Indicates whether synchronization with an IPAM prefix list resolver is enabled - // for this managed prefix list. When enabled, the prefix list CIDRs are - // automatically updated based on the resolver's CIDR selection rules. - IpamPrefixListResolverSyncEnabled *bool - - // The ID of the IPAM prefix list resolver target associated with this managed - // prefix list. When set, this prefix list becomes an IPAM managed prefix list. - // - // An IPAM-managed prefix list is a customer-managed prefix list that has been - // associated with an IPAM prefix list resolver target. When a prefix list becomes - // IPAM managed, its CIDRs are automatically synchronized based on the IPAM prefix - // list resolver's CIDR selection rules, and direct CIDR modifications are - // restricted. - IpamPrefixListResolverTargetId *string - - // The maximum number of entries for the prefix list. - MaxEntries *int32 - - // The ID of the owner of the prefix list. - OwnerId *string - - // The Amazon Resource Name (ARN) for the prefix list. - PrefixListArn *string - - // The ID of the prefix list. - PrefixListId *string - - // The name of the prefix list. - PrefixListName *string - - // The current state of the prefix list. - State PrefixListState - - // The state message. - StateMessage *string - - // The tags for the prefix list. - Tags []Tag - - // The version of the prefix list. - Version *int64 - - noSmithyDocumentSerde -} - -// Describes the media accelerators for the instance type. -type MediaAcceleratorInfo struct { - - // Describes the media accelerators for the instance type. - Accelerators []MediaDeviceInfo - - // The total size of the memory for the media accelerators for the instance type, - // in MiB. - TotalMediaMemoryInMiB *int32 - - noSmithyDocumentSerde -} - -// Describes the media accelerators for the instance type. -type MediaDeviceInfo struct { - - // The number of media accelerators for the instance type. - Count *int32 - - // The manufacturer of the media accelerator. - Manufacturer *string - - // Describes the memory available to the media accelerator. - MemoryInfo *MediaDeviceMemoryInfo - - // The name of the media accelerator. - Name *string - - noSmithyDocumentSerde -} - -// Describes the memory available to the media accelerator. -type MediaDeviceMemoryInfo struct { - - // The size of the memory available to each media accelerator, in MiB. - SizeInMiB *int32 - - noSmithyDocumentSerde -} - -// The minimum and maximum amount of memory per vCPU, in GiB. -type MemoryGiBPerVCpu struct { - - // The maximum amount of memory per vCPU, in GiB. If this parameter is not - // specified, there is no maximum limit. - Max *float64 - - // The minimum amount of memory per vCPU, in GiB. If this parameter is not - // specified, there is no minimum limit. - Min *float64 - - noSmithyDocumentSerde -} - -// The minimum and maximum amount of memory per vCPU, in GiB. -type MemoryGiBPerVCpuRequest struct { - - // The maximum amount of memory per vCPU, in GiB. To specify no maximum limit, - // omit this parameter. - Max *float64 - - // The minimum amount of memory per vCPU, in GiB. To specify no minimum limit, - // omit this parameter. - Min *float64 - - noSmithyDocumentSerde -} - -// Describes the memory for the instance type. -type MemoryInfo struct { - - // The size of the memory, in MiB. - SizeInMiB *int64 - - noSmithyDocumentSerde -} - -// The minimum and maximum amount of memory, in MiB. -type MemoryMiB struct { - - // The maximum amount of memory, in MiB. If this parameter is not specified, there - // is no maximum limit. - Max *int32 - - // The minimum amount of memory, in MiB. If this parameter is not specified, there - // is no minimum limit. - Min *int32 - - noSmithyDocumentSerde -} - -// The minimum and maximum amount of memory, in MiB. -type MemoryMiBRequest struct { - - // The minimum amount of memory, in MiB. To specify no minimum limit, specify 0 . - // - // This member is required. - Min *int32 - - // The maximum amount of memory, in MiB. To specify no maximum limit, omit this - // parameter. - Max *int32 - - noSmithyDocumentSerde -} - -// Contains a single data point from a capacity metrics query, including the -// -// dimension values, timestamp, and metric values for that specific combination. -type MetricDataResult struct { - - // The dimension values that identify this specific data point, such as account - // ID, region, and instance family. - Dimension *CapacityManagerDimension - - // The metric values and statistics for this data point, containing the actual - // capacity usage numbers. - MetricValues []MetricValue - - // The timestamp for this data point, indicating when the capacity usage - // occurred. - Timestamp *time.Time - - noSmithyDocumentSerde -} - -// Indicates whether the network was healthy or degraded at a particular point. -// The value is aggregated from the startDate to the endDate . Currently only -// five_minutes is supported. -type MetricPoint struct { - - // The end date for the metric point. The ending time must be formatted as - // yyyy-mm-ddThh:mm:ss . For example, 2022-06-12T12:00:00.000Z . - EndDate *time.Time - - // The start date for the metric point. The starting date for the metric point. - // The starting time must be formatted as yyyy-mm-ddThh:mm:ss . For example, - // 2022-06-10T12:00:00.000Z . - StartDate *time.Time - - // The status of the metric point. - Status *string - - Value *float32 - - noSmithyDocumentSerde -} - -// Represents a single metric value with its associated statistic, such as the -// -// sum or average of unused capacity hours. -type MetricValue struct { - - // The name of the metric. - Metric Metric - - // The numerical value of the metric for the specified statistic and time period. - Value *float64 - - noSmithyDocumentSerde -} - -// The transit gateway options. -type ModifyTransitGatewayOptions struct { - - // Adds IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR - // block or larger for IPv4, or a size /64 CIDR block or larger for IPv6. - AddTransitGatewayCidrBlocks []string - - // A private Autonomous System Number (ASN) for the Amazon side of a BGP session. - // The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for - // 32-bit ASNs. - // - // The modify ASN operation is not allowed on a transit gateway if it has the - // following attachments: - // - // - Dynamic VPN - // - // - Static VPN - // - // - Direct Connect Gateway - // - // - Connect - // - // You must first delete all transit gateway attachments configured prior to - // modifying the ASN on the transit gateway. - AmazonSideAsn *int64 - - // The ID of the default association route table. - AssociationDefaultRouteTableId *string - - // Enable or disable automatic acceptance of attachment requests. - AutoAcceptSharedAttachments AutoAcceptSharedAttachmentsValue - - // Enable or disable automatic association with the default association route - // table. - DefaultRouteTableAssociation DefaultRouteTableAssociationValue - - // Indicates whether resource attachments automatically propagate routes to the - // default propagation route table. Enabled by default. If - // defaultRouteTablePropagation is set to enable , Amazon Web Services Transit - // Gateway will create the default transit gateway route table. - DefaultRouteTablePropagation DefaultRouteTablePropagationValue - - // Enable or disable DNS support. - DnsSupport DnsSupportValue - - // Enable or disable encryption support for VPC Encryption Control. - EncryptionSupport EncryptionSupportOptionValue - - // The ID of the default propagation route table. - PropagationDefaultRouteTableId *string - - // Removes CIDR blocks for the transit gateway. - RemoveTransitGatewayCidrBlocks []string - - // Enables you to reference a security group across VPCs attached to a transit - // gateway to simplify security group management. - // - // This option is disabled by default. - // - // For more information about security group referencing, see [Security group referencing] in the Amazon Web - // Services Transit Gateways Guide. - // - // [Security group referencing]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security - SecurityGroupReferencingSupport SecurityGroupReferencingSupportValue - - // Enable or disable Equal Cost Multipath Protocol support. - VpnEcmpSupport VpnEcmpSupportValue - - noSmithyDocumentSerde -} - -// Describes the options for a VPC attachment. -type ModifyTransitGatewayVpcAttachmentRequestOptions struct { - - // Enable or disable support for appliance mode. If enabled, a traffic flow - // between a source and destination uses the same Availability Zone for the VPC - // attachment for the lifetime of that flow. The default is disable . - ApplianceModeSupport ApplianceModeSupportValue - - // Enable or disable DNS support. The default is enable . - DnsSupport DnsSupportValue - - // Enable or disable IPv6 support. The default is enable . - Ipv6Support Ipv6SupportValue - - // Enables you to reference a security group across VPCs attached to a transit - // gateway to simplify security group management. - // - // This option is disabled by default. - // - // For more information about security group referencing, see [Security group referencing] in the Amazon Web - // Services Transit Gateways Guide. - // - // [Security group referencing]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security - SecurityGroupReferencingSupport SecurityGroupReferencingSupportValue - - noSmithyDocumentSerde -} - -// The CIDR options for a Verified Access endpoint. -type ModifyVerifiedAccessEndpointCidrOptions struct { - - // The port ranges. - PortRanges []ModifyVerifiedAccessEndpointPortRange - - noSmithyDocumentSerde -} - -// Describes the options when modifying a Verified Access endpoint with the -// network-interface type. -type ModifyVerifiedAccessEndpointEniOptions struct { - - // The IP port number. - Port *int32 - - // The port ranges. - PortRanges []ModifyVerifiedAccessEndpointPortRange - - // The IP protocol. - Protocol VerifiedAccessEndpointProtocol - - noSmithyDocumentSerde -} - -// Describes a load balancer when creating an Amazon Web Services Verified Access -// endpoint using the load-balancer type. -type ModifyVerifiedAccessEndpointLoadBalancerOptions struct { - - // The IP port number. - Port *int32 - - // The port ranges. - PortRanges []ModifyVerifiedAccessEndpointPortRange - - // The IP protocol. - Protocol VerifiedAccessEndpointProtocol - - // The IDs of the subnets. - SubnetIds []string - - noSmithyDocumentSerde -} - -// Describes the port range for a Verified Access endpoint. -type ModifyVerifiedAccessEndpointPortRange struct { - - // The start of the port range. - FromPort *int32 - - // The end of the port range. - ToPort *int32 - - noSmithyDocumentSerde -} - -// The RDS options for a Verified Access endpoint. -type ModifyVerifiedAccessEndpointRdsOptions struct { - - // The port. - Port *int32 - - // The RDS endpoint. - RdsEndpoint *string - - // The IDs of the subnets. - SubnetIds []string - - noSmithyDocumentSerde -} - -// Describes the OpenID Connect (OIDC) options. -type ModifyVerifiedAccessNativeApplicationOidcOptions struct { - - // The authorization endpoint of the IdP. - AuthorizationEndpoint *string - - // The OAuth 2.0 client identifier. - ClientId *string - - // The OAuth 2.0 client secret. - ClientSecret *string - - // The OIDC issuer identifier of the IdP. - Issuer *string - - // The public signing key endpoint. - PublicSigningKeyEndpoint *string - - // The set of user claims to be requested from the IdP. - Scope *string - - // The token endpoint of the IdP. - TokenEndpoint *string - - // The user info endpoint of the IdP. - UserInfoEndpoint *string - - noSmithyDocumentSerde -} - -// Modifies the configuration of the specified device-based Amazon Web Services -// Verified Access trust provider. -type ModifyVerifiedAccessTrustProviderDeviceOptions struct { - - // The URL Amazon Web Services Verified Access will use to verify the - // authenticity of the device tokens. - PublicSigningKeyUrl *string - - noSmithyDocumentSerde -} - -// Options for an OpenID Connect-compatible user-identity trust provider. -type ModifyVerifiedAccessTrustProviderOidcOptions struct { - - // The OIDC authorization endpoint. - AuthorizationEndpoint *string - - // The client identifier. - ClientId *string - - // The client secret. - ClientSecret *string - - // The OIDC issuer. - Issuer *string - - // OpenID Connect (OIDC) scopes are used by an application during authentication - // to authorize access to a user's details. Each scope returns a specific set of - // user attributes. - Scope *string - - // The OIDC token endpoint. - TokenEndpoint *string - - // The OIDC user info endpoint. - UserInfoEndpoint *string - - noSmithyDocumentSerde -} - -// The Amazon Web Services Site-to-Site VPN tunnel options to modify. -type ModifyVpnTunnelOptionsSpecification struct { - - // The action to take after DPD timeout occurs. Specify restart to restart the IKE - // initiation. Specify clear to end the IKE session. - // - // Valid Values: clear | none | restart - // - // Default: clear - DPDTimeoutAction *string - - // The number of seconds after which a DPD timeout occurs. A DPD timeout of 40 - // seconds means that the VPN endpoint will consider the peer dead 30 seconds after - // the first failed keep-alive. - // - // Constraints: A value greater than or equal to 30. - // - // Default: 40 - DPDTimeoutSeconds *int32 - - // Turn on or off tunnel endpoint lifecycle control feature. - EnableTunnelLifecycleControl *bool - - // The IKE versions that are permitted for the VPN tunnel. - // - // Valid values: ikev1 | ikev2 - IKEVersions []IKEVersionsRequestListValue - - // Options for logging VPN tunnel activity. - LogOptions *VpnTunnelLogOptionsSpecification - - // One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel - // for phase 1 IKE negotiations. - // - // Valid values: 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 - Phase1DHGroupNumbers []Phase1DHGroupNumbersRequestListValue - - // One or more encryption algorithms that are permitted for the VPN tunnel for - // phase 1 IKE negotiations. - // - // Valid values: AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16 - Phase1EncryptionAlgorithms []Phase1EncryptionAlgorithmsRequestListValue - - // One or more integrity algorithms that are permitted for the VPN tunnel for - // phase 1 IKE negotiations. - // - // Valid values: SHA1 | SHA2-256 | SHA2-384 | SHA2-512 - Phase1IntegrityAlgorithms []Phase1IntegrityAlgorithmsRequestListValue - - // The lifetime for phase 1 of the IKE negotiation, in seconds. - // - // Constraints: A value between 900 and 28,800. - // - // Default: 28800 - Phase1LifetimeSeconds *int32 - - // One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel - // for phase 2 IKE negotiations. - // - // Valid values: 2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 - Phase2DHGroupNumbers []Phase2DHGroupNumbersRequestListValue - - // One or more encryption algorithms that are permitted for the VPN tunnel for - // phase 2 IKE negotiations. - // - // Valid values: AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16 - Phase2EncryptionAlgorithms []Phase2EncryptionAlgorithmsRequestListValue - - // One or more integrity algorithms that are permitted for the VPN tunnel for - // phase 2 IKE negotiations. - // - // Valid values: SHA1 | SHA2-256 | SHA2-384 | SHA2-512 - Phase2IntegrityAlgorithms []Phase2IntegrityAlgorithmsRequestListValue - - // The lifetime for phase 2 of the IKE negotiation, in seconds. - // - // Constraints: A value between 900 and 3,600. The value must be less than the - // value for Phase1LifetimeSeconds . - // - // Default: 3600 - Phase2LifetimeSeconds *int32 - - // The pre-shared key (PSK) to establish initial authentication between the - // virtual private gateway and the customer gateway. - // - // Constraints: Allowed characters are alphanumeric characters, periods (.), and - // underscores (_). Must be between 8 and 64 characters in length and cannot start - // with zero (0). - PreSharedKey *string - - // The percentage of the rekey window (determined by RekeyMarginTimeSeconds ) - // during which the rekey time is randomly selected. - // - // Constraints: A value between 0 and 100. - // - // Default: 100 - RekeyFuzzPercentage *int32 - - // The margin time, in seconds, before the phase 2 lifetime expires, during which - // the Amazon Web Services side of the VPN connection performs an IKE rekey. The - // exact time of the rekey is randomly selected based on the value for - // RekeyFuzzPercentage . - // - // Constraints: A value between 60 and half of Phase2LifetimeSeconds . - // - // Default: 270 - RekeyMarginTimeSeconds *int32 - - // The number of packets in an IKE replay window. - // - // Constraints: A value between 64 and 2048. - // - // Default: 1024 - ReplayWindowSize *int32 - - // The action to take when the establishing the tunnel for the VPN connection. By - // default, your customer gateway device must initiate the IKE negotiation and - // bring up the tunnel. Specify start for Amazon Web Services to initiate the IKE - // negotiation. - // - // Valid Values: add | start - // - // Default: add - StartupAction *string - - // The range of inside IPv4 addresses for the tunnel. Any specified CIDR blocks - // must be unique across all VPN connections that use the same virtual private - // gateway. - // - // Constraints: A size /30 CIDR block from the 169.254.0.0/16 range. The following - // CIDR blocks are reserved and cannot be used: - // - // - 169.254.0.0/30 - // - // - 169.254.1.0/30 - // - // - 169.254.2.0/30 - // - // - 169.254.3.0/30 - // - // - 169.254.4.0/30 - // - // - 169.254.5.0/30 - // - // - 169.254.169.252/30 - TunnelInsideCidr *string - - // The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks - // must be unique across all VPN connections that use the same transit gateway. - // - // Constraints: A size /126 CIDR block from the local fd00::/8 range. - TunnelInsideIpv6Cidr *string - - noSmithyDocumentSerde -} - -// Describes the monitoring of an instance. -type Monitoring struct { - - // Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring - // is enabled. - State MonitoringState - - noSmithyDocumentSerde -} - -// This action is deprecated. -// -// Describes the status of a moving Elastic IP address. -type MovingAddressStatus struct { - - // The status of the Elastic IP address that's being moved or restored. - MoveStatus MoveStatus - - // The Elastic IP address. - PublicIp *string - - noSmithyDocumentSerde -} - -// Describes a NAT gateway. -type NatGateway struct { - - // The proxy appliances attached to the NAT Gateway for filtering and inspecting - // traffic to prevent data exfiltration. - AttachedAppliances []NatGatewayAttachedAppliance - - // For regional NAT gateways only: Indicates whether Amazon Web Services - // automatically manages AZ coverage. When enabled, the NAT gateway associates EIPs - // in all AZs where your VPC has subnets to handle outbound NAT traffic, expands to - // new AZs when you create subnets there, and retracts from AZs where you've - // removed all subnets. When disabled, you must manually manage which AZs the NAT - // gateway supports and their corresponding EIPs. - // - // A regional NAT gateway is a single NAT Gateway that works across multiple - // availability zones (AZs) in your VPC, providing redundancy, scalability and - // availability across all the AZs in a Region. - // - // For more information, see [Regional NAT gateways for automatic multi-AZ expansion] in the Amazon VPC User Guide. - // - // [Regional NAT gateways for automatic multi-AZ expansion]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateways-regional.html - AutoProvisionZones AutoProvisionZonesState - - // For regional NAT gateways only: Indicates whether Amazon Web Services - // automatically allocates additional Elastic IP addresses (EIPs) in an AZ when the - // NAT gateway needs more ports due to increased concurrent connections to a single - // destination from that AZ. - // - // For more information, see [Regional NAT gateways for automatic multi-AZ expansion] in the Amazon VPC User Guide. - // - // [Regional NAT gateways for automatic multi-AZ expansion]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateways-regional.html - AutoScalingIps AutoScalingIpsState - - // Indicates whether this is a zonal (single-AZ) or regional (multi-AZ) NAT - // gateway. - // - // A zonal NAT gateway is a NAT Gateway that provides redundancy and scalability - // within a single availability zone. A regional NAT gateway is a single NAT - // Gateway that works across multiple availability zones (AZs) in your VPC, - // providing redundancy, scalability and availability across all the AZs in a - // Region. - // - // For more information, see [Regional NAT gateways for automatic multi-AZ expansion] in the Amazon VPC User Guide. - // - // [Regional NAT gateways for automatic multi-AZ expansion]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateways-regional.html - AvailabilityMode AvailabilityMode - - // Indicates whether the NAT gateway supports public or private connectivity. - ConnectivityType ConnectivityType - - // The date and time the NAT gateway was created. - CreateTime *time.Time - - // The date and time the NAT gateway was deleted, if applicable. - DeleteTime *time.Time - - // If the NAT gateway could not be created, specifies the error code for the - // failure. ( InsufficientFreeAddressesInSubnet | Gateway.NotAttached | - // InvalidAllocationID.NotFound | Resource.AlreadyAssociated | InternalError | - // InvalidSubnetID.NotFound ) - FailureCode *string - - // If the NAT gateway could not be created, specifies the error message for the - // failure, that corresponds to the error code. - // - // - For InsufficientFreeAddressesInSubnet: "Subnet has insufficient free - // addresses to create this NAT gateway" - // - // - For Gateway.NotAttached: "Network vpc-xxxxxxxx has no Internet gateway - // attached" - // - // - For InvalidAllocationID.NotFound: "Elastic IP address eipalloc-xxxxxxxx - // could not be associated with this NAT gateway" - // - // - For Resource.AlreadyAssociated: "Elastic IP address eipalloc-xxxxxxxx is - // already associated" - // - // - For InternalError: "Network interface eni-xxxxxxxx, created and used - // internally by this NAT gateway is in an invalid state. Please try again." - // - // - For InvalidSubnetID.NotFound: "The specified subnet subnet-xxxxxxxx does - // not exist or could not be found." - FailureMessage *string - - // Information about the IP addresses and network interface associated with the - // NAT gateway. - NatGatewayAddresses []NatGatewayAddress - - // The ID of the NAT gateway. - NatGatewayId *string - - // Reserved. If you need to sustain traffic greater than the [documented limits], contact Amazon Web - // Services Support. - // - // [documented limits]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-gateways - ProvisionedBandwidth *ProvisionedBandwidth - - // For regional NAT gateways only, this is the ID of the NAT gateway. - RouteTableId *string - - // The state of the NAT gateway. - // - // - pending : The NAT gateway is being created and is not ready to process - // traffic. - // - // - failed : The NAT gateway could not be created. Check the failureCode and - // failureMessage fields for the reason. - // - // - available : The NAT gateway is able to process traffic. This status remains - // until you delete the NAT gateway, and does not indicate the health of the NAT - // gateway. - // - // - deleting : The NAT gateway is in the process of being terminated and may - // still be processing traffic. - // - // - deleted : The NAT gateway has been terminated and is no longer processing - // traffic. - State NatGatewayState - - // The ID of the subnet in which the NAT gateway is located. - SubnetId *string - - // The tags for the NAT gateway. - Tags []Tag - - // The ID of the VPC in which the NAT gateway is located. - VpcId *string - - noSmithyDocumentSerde -} - -// Describes the IP addresses and network interface associated with a NAT gateway. -type NatGatewayAddress struct { - - // [Public NAT gateway only] The allocation ID of the Elastic IP address that's - // associated with the NAT gateway. - AllocationId *string - - // [Public NAT gateway only] The association ID of the Elastic IP address that's - // associated with the NAT gateway. - AssociationId *string - - // The Availability Zone where this Elastic IP address (EIP) is being used to - // handle outbound NAT traffic. - AvailabilityZone *string - - // The ID of the Availability Zone where this Elastic IP address (EIP) is being - // used to handle outbound NAT traffic. Use this instead of AvailabilityZone for - // consistent identification of AZs across Amazon Web Services Regions. - AvailabilityZoneId *string - - // The address failure message. - FailureMessage *string - - // Defines if the IP address is the primary address. - IsPrimary *bool - - // The ID of the network interface associated with the NAT gateway. - NetworkInterfaceId *string - - // The private IP address associated with the NAT gateway. - PrivateIp *string - - // [Public NAT gateway only] The Elastic IP address associated with the NAT - // gateway. - PublicIp *string - - // The address status. - Status NatGatewayAddressStatus - - noSmithyDocumentSerde -} - -// Information about an appliance attached to a NAT Gateway, providing managed -// security solutions for traffic filtering and inspection. -type NatGatewayAttachedAppliance struct { - - // The Amazon Resource Name (ARN) of the attached appliance, identifying the - // specific proxy or security appliance resource. - ApplianceArn *string - - // The current attachment state of the appliance. - AttachmentState NatGatewayApplianceState - - // The failure code if the appliance attachment or modification operation failed. - FailureCode *string - - // A descriptive message explaining the failure if the appliance attachment or - // modification operation failed. - FailureMessage *string - - // The current modification state of the appliance. - ModificationState NatGatewayApplianceModifyState - - // The type of appliance attached to the NAT Gateway. For network firewall proxy - // functionality, this will be "network-firewall-proxy". - Type NatGatewayApplianceType - - // The VPC endpoint ID used to route traffic from application VPCs to the proxy - // for inspection and filtering. - VpcEndpointId *string - - noSmithyDocumentSerde -} - -// Describes the OpenID Connect (OIDC) options. -type NativeApplicationOidcOptions struct { - - // The authorization endpoint of the IdP. - AuthorizationEndpoint *string - - // The OAuth 2.0 client identifier. - ClientId *string - - // The OIDC issuer identifier of the IdP. - Issuer *string - - // The public signing key endpoint. - PublicSigningKeyEndpoint *string - - // The set of user claims to be requested from the IdP. - Scope *string - - // The token endpoint of the IdP. - TokenEndpoint *string - - // The user info endpoint of the IdP. - UserInfoEndpoint *string - - noSmithyDocumentSerde -} - -// Describes a network ACL. -type NetworkAcl struct { - - // Any associations between the network ACL and your subnets - Associations []NetworkAclAssociation - - // The entries (rules) in the network ACL. - Entries []NetworkAclEntry - - // Indicates whether this is the default network ACL for the VPC. - IsDefault *bool - - // The ID of the network ACL. - NetworkAclId *string - - // The ID of the Amazon Web Services account that owns the network ACL. - OwnerId *string - - // Any tags assigned to the network ACL. - Tags []Tag - - // The ID of the VPC for the network ACL. - VpcId *string - - noSmithyDocumentSerde -} - -// Describes an association between a network ACL and a subnet. -type NetworkAclAssociation struct { - - // The ID of the association between a network ACL and a subnet. - NetworkAclAssociationId *string - - // The ID of the network ACL. - NetworkAclId *string - - // The ID of the subnet. - SubnetId *string - - noSmithyDocumentSerde -} - -// Describes an entry in a network ACL. -type NetworkAclEntry struct { - - // The IPv4 network range to allow or deny, in CIDR notation. - CidrBlock *string - - // Indicates whether the rule is an egress rule (applied to traffic leaving the - // subnet). - Egress *bool - - // ICMP protocol: The ICMP type and code. - IcmpTypeCode *IcmpTypeCode - - // The IPv6 network range to allow or deny, in CIDR notation. - Ipv6CidrBlock *string - - // TCP or UDP protocols: The range of ports the rule applies to. - PortRange *PortRange - - // The protocol number. A value of "-1" means all protocols. - Protocol *string - - // Indicates whether to allow or deny the traffic that matches the rule. - RuleAction RuleAction - - // The rule number for the entry. ACL entries are processed in ascending order by - // rule number. - RuleNumber *int32 - - noSmithyDocumentSerde -} - -// The minimum and maximum amount of network bandwidth, in gigabits per second -// (Gbps). -// -// Setting the minimum bandwidth does not guarantee that your instance will -// achieve the minimum bandwidth. Amazon EC2 will identify instance types that -// support the specified minimum bandwidth, but the actual bandwidth of your -// instance might go below the specified minimum at times. For more information, -// see [Available instance bandwidth]in the Amazon EC2 User Guide. -// -// [Available instance bandwidth]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth -type NetworkBandwidthGbps struct { - - // The maximum amount of network bandwidth, in Gbps. If this parameter is not - // specified, there is no maximum limit. - Max *float64 - - // The minimum amount of network bandwidth, in Gbps. If this parameter is not - // specified, there is no minimum limit. - Min *float64 - - noSmithyDocumentSerde -} - -// The minimum and maximum amount of network bandwidth, in gigabits per second -// (Gbps). -// -// Setting the minimum bandwidth does not guarantee that your instance will -// achieve the minimum bandwidth. Amazon EC2 will identify instance types that -// support the specified minimum bandwidth, but the actual bandwidth of your -// instance might go below the specified minimum at times. For more information, -// see [Available instance bandwidth]in the Amazon EC2 User Guide. -// -// [Available instance bandwidth]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth -type NetworkBandwidthGbpsRequest struct { - - // The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, - // omit this parameter. - Max *float64 - - // The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, - // omit this parameter. - Min *float64 - - noSmithyDocumentSerde -} - -// Describes the network card support of the instance type. -type NetworkCardInfo struct { - - // The baseline network performance of the network card, in Gbps. - BaselineBandwidthInGbps *float64 - - // The default number of the ENA queues for each interface. - DefaultEnaQueueCountPerInterface *int32 - - // The maximum number of the ENA queues. - MaximumEnaQueueCount *int32 - - // The maximum number of the ENA queues for each interface. - MaximumEnaQueueCountPerInterface *int32 - - // The maximum number of network interfaces for the network card. - MaximumNetworkInterfaces *int32 - - // The index of the network card. - NetworkCardIndex *int32 - - // The network performance of the network card. - NetworkPerformance *string - - // The peak (burst) network performance of the network card, in Gbps. - PeakBandwidthInGbps *float64 - - noSmithyDocumentSerde -} - -// Describes the networking features of the instance type. -type NetworkInfo struct { - - // A list of valid settings for configurable bandwidth weighting for the instance - // type, if supported. - BandwidthWeightings []BandwidthWeightingType - - // The index of the default network card, starting at 0. - DefaultNetworkCardIndex *int32 - - // Describes the Elastic Fabric Adapters for the instance type. - EfaInfo *EfaInfo - - // Indicates whether Elastic Fabric Adapter (EFA) is supported. - EfaSupported *bool - - // Indicates whether the instance type supports ENA Express. 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. - EnaSrdSupported *bool - - // Indicates whether Elastic Network Adapter (ENA) is supported. - EnaSupport EnaSupport - - // Indicates whether the instance type automatically encrypts in-transit traffic - // between instances. - EncryptionInTransitSupported *bool - - // Indicates whether changing the number of ENA queues is supported. - FlexibleEnaQueuesSupport FlexibleEnaQueuesSupport - - // The maximum number of IPv4 addresses per network interface. - Ipv4AddressesPerInterface *int32 - - // The maximum number of IPv6 addresses per network interface. - Ipv6AddressesPerInterface *int32 - - // Indicates whether IPv6 is supported. - Ipv6Supported *bool - - // The maximum number of physical network cards that can be allocated to the - // instance. - MaximumNetworkCards *int32 - - // The maximum number of network interfaces for the instance type. - MaximumNetworkInterfaces *int32 - - // Describes the network cards for the instance type. - NetworkCards []NetworkCardInfo - - // The network performance. - NetworkPerformance *string - - noSmithyDocumentSerde -} - -// Describes a Network Access Scope. -type NetworkInsightsAccessScope struct { - - // The creation date. - CreatedDate *time.Time - - // The Amazon Resource Name (ARN) of the Network Access Scope. - NetworkInsightsAccessScopeArn *string - - // The ID of the Network Access Scope. - NetworkInsightsAccessScopeId *string - - // The tags. - Tags []Tag - - // The last updated date. - UpdatedDate *time.Time - - noSmithyDocumentSerde -} - -// Describes a Network Access Scope analysis. -type NetworkInsightsAccessScopeAnalysis struct { - - // The number of network interfaces analyzed. - AnalyzedEniCount *int32 - - // The analysis end date. - EndDate *time.Time - - // Indicates whether there are findings. - FindingsFound FindingsFound - - // The Amazon Resource Name (ARN) of the Network Access Scope analysis. - NetworkInsightsAccessScopeAnalysisArn *string - - // The ID of the Network Access Scope analysis. - NetworkInsightsAccessScopeAnalysisId *string - - // The ID of the Network Access Scope. - NetworkInsightsAccessScopeId *string - - // The analysis start date. - StartDate *time.Time - - // The status. - Status AnalysisStatus - - // The status message. - StatusMessage *string - - // The tags. - Tags []Tag - - // The warning message. - WarningMessage *string - - noSmithyDocumentSerde -} - -// Describes the Network Access Scope content. -type NetworkInsightsAccessScopeContent struct { - - // The paths to exclude. - ExcludePaths []AccessScopePath - - // The paths to match. - MatchPaths []AccessScopePath - - // The ID of the Network Access Scope. - NetworkInsightsAccessScopeId *string - - noSmithyDocumentSerde -} - -// Describes a network insights analysis. -type NetworkInsightsAnalysis struct { - - // The member accounts that contain resources that the path can traverse. - AdditionalAccounts []string - - // Potential intermediate components. - AlternatePathHints []AlternatePathHint - - // The explanations. For more information, see [Reachability Analyzer explanation codes]. - // - // [Reachability Analyzer explanation codes]: https://docs.aws.amazon.com/vpc/latest/reachability/explanation-codes.html - Explanations []Explanation - - // The Amazon Resource Names (ARN) of the resources that the path must traverse. - FilterInArns []string - - // The Amazon Resource Names (ARN) of the resources that the path must ignore. - FilterOutArns []string - - // The components in the path from source to destination. - ForwardPathComponents []PathComponent - - // The Amazon Resource Name (ARN) of the network insights analysis. - NetworkInsightsAnalysisArn *string - - // The ID of the network insights analysis. - NetworkInsightsAnalysisId *string - - // The ID of the path. - NetworkInsightsPathId *string - - // Indicates whether the destination is reachable from the source. - NetworkPathFound *bool - - // The components in the path from destination to source. - ReturnPathComponents []PathComponent - - // The time the analysis started. - StartDate *time.Time - - // The status of the network insights analysis. - Status AnalysisStatus - - // The status message, if the status is failed . - StatusMessage *string - - // Potential intermediate accounts. - SuggestedAccounts []string - - // The tags. - Tags []Tag - - // The warning message. - WarningMessage *string - - noSmithyDocumentSerde -} - -// Describes a path. -type NetworkInsightsPath struct { - - // The time stamp when the path was created. - CreatedDate *time.Time - - // The ID of the destination. - Destination *string - - // The Amazon Resource Name (ARN) of the destination. - DestinationArn *string - - // The IP address of the destination. - DestinationIp *string - - // The destination port. - DestinationPort *int32 - - // Scopes the analysis to network paths that match specific filters at the - // destination. - FilterAtDestination *PathFilter - - // Scopes the analysis to network paths that match specific filters at the source. - FilterAtSource *PathFilter - - // The Amazon Resource Name (ARN) of the path. - NetworkInsightsPathArn *string - - // The ID of the path. - NetworkInsightsPathId *string - - // The protocol. - Protocol Protocol - - // The ID of the source. - Source *string - - // The Amazon Resource Name (ARN) of the source. - SourceArn *string - - // The IP address of the source. - SourceIp *string - - // The tags associated with the path. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes a network interface. -type NetworkInterface struct { - - // The subnets associated with this network interface. - AssociatedSubnets []string - - // The association information for an Elastic IP address (IPv4) associated with - // the network interface. - Association *NetworkInterfaceAssociation - - // The network interface attachment. - Attachment *NetworkInterfaceAttachment - - // The Availability Zone. - AvailabilityZone *string - - // The ID of the Availability Zone. - AvailabilityZoneId *string - - // A security group connection tracking configuration that enables you to set the - // timeout for connection tracking on an Elastic network interface. For more - // information, see [Connection tracking timeouts]in the Amazon EC2 User Guide. - // - // [Connection tracking timeouts]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts - ConnectionTrackingConfiguration *ConnectionTrackingConfiguration - - // Indicates whether a network interface with an IPv6 address is unreachable from - // the public internet. If the value is true , inbound traffic from the internet is - // dropped and you cannot assign an elastic IP address to the network interface. - // The network interface is reachable from peered VPCs and resources connected - // through a transit gateway, including on-premises networks. - DenyAllIgwTraffic *bool - - // A description. - Description *string - - // Any security groups for the network interface. - Groups []GroupIdentifier - - // The type of network interface. - InterfaceType NetworkInterfaceType - - // The IPv4 prefixes that are assigned to the network interface. - Ipv4Prefixes []Ipv4PrefixSpecification - - // The IPv6 globally unique address associated with the network interface. - Ipv6Address *string - - // The IPv6 addresses associated with the network interface. - Ipv6Addresses []NetworkInterfaceIpv6Address - - // Indicates whether this is an IPv6 only network interface. - Ipv6Native *bool - - // The IPv6 prefixes that are assigned to the network interface. - Ipv6Prefixes []Ipv6PrefixSpecification - - // The MAC address. - MacAddress *string - - // The ID of the network interface. - NetworkInterfaceId *string - - // The service provider that manages the network interface. - Operator *OperatorResponse - - // The Amazon Resource Name (ARN) of the Outpost. - OutpostArn *string - - // The Amazon Web Services account ID of the owner of the network interface. - OwnerId *string - - // The private hostname. For more information, see [EC2 instance hostnames, DNS names, and domains] in the Amazon EC2 User Guide. - // - // [EC2 instance hostnames, DNS names, and domains]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html - PrivateDnsName *string - - // The IPv4 address of the network interface within the subnet. - PrivateIpAddress *string - - // The private IPv4 addresses associated with the network interface. - PrivateIpAddresses []NetworkInterfacePrivateIpAddress - - // A public hostname. For more information, see [EC2 instance hostnames, DNS names, and domains] in the Amazon EC2 User Guide. - // - // [EC2 instance hostnames, DNS names, and domains]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html - PublicDnsName *string - - // Public hostname type options. For more information, see [EC2 instance hostnames, DNS names, and domains] in the Amazon EC2 User - // Guide. - // - // [EC2 instance hostnames, DNS names, and domains]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html - PublicIpDnsNameOptions *PublicIpDnsNameOptions - - // The alias or Amazon Web Services account ID of the principal or service that - // created the network interface. - RequesterId *string - - // Indicates whether the network interface is being managed by Amazon Web Services. - RequesterManaged *bool - - // Indicates whether source/destination checking is enabled. - SourceDestCheck *bool - - // The status of the network interface. - Status NetworkInterfaceStatus - - // The ID of the subnet. - SubnetId *string - - // Any tags assigned to the network interface. - TagSet []Tag - - // The ID of the VPC. - VpcId *string - - noSmithyDocumentSerde -} - -// Describes association information for an Elastic IP address (IPv4 only), or a -// Carrier IP address (for a network interface which resides in a subnet in a -// Wavelength Zone). -type NetworkInterfaceAssociation struct { - - // The allocation ID. - AllocationId *string - - // The association ID. - AssociationId *string - - // The carrier IP address associated with the network interface. - // - // This option is only available when the network interface is in a subnet which - // is associated with a Wavelength Zone. - CarrierIp *string - - // The customer-owned IP address associated with the network interface. - CustomerOwnedIp *string - - // The ID of the Elastic IP address owner. - IpOwnerId *string - - // The public DNS name. - PublicDnsName *string - - // The address of the Elastic IP address bound to the network interface. - PublicIp *string - - noSmithyDocumentSerde -} - -// Describes a network interface attachment. -type NetworkInterfaceAttachment struct { - - // The timestamp indicating when the attachment initiated. - AttachTime *time.Time - - // The ID of the network interface attachment. - AttachmentId *string - - // Indicates whether the network interface is deleted when the instance is - // terminated. - DeleteOnTermination *bool - - // The device index of the network interface attachment on the instance. - DeviceIndex *int32 - - // The number of ENA queues created with the instance. - EnaQueueCount *int32 - - // Configures ENA Express for the network interface that this action attaches to - // the instance. - EnaSrdSpecification *AttachmentEnaSrdSpecification - - // The ID of the instance. - InstanceId *string - - // The Amazon Web Services account ID of the owner of the instance. - InstanceOwnerId *string - - // The index of the network card. - NetworkCardIndex *int32 - - // The attachment state. - Status AttachmentStatus - - noSmithyDocumentSerde -} - -// Describes an attachment change. -type NetworkInterfaceAttachmentChanges struct { - - // The ID of the network interface attachment. - AttachmentId *string - - // The default number of the ENA queues. - DefaultEnaQueueCount *bool - - // Indicates whether the network interface is deleted when the instance is - // terminated. - DeleteOnTermination *bool - - // The number of ENA queues to be created with the instance. - EnaQueueCount *int32 - - noSmithyDocumentSerde -} - -// The minimum and maximum number of network interfaces. -type NetworkInterfaceCount struct { - - // The maximum number of network interfaces. If this parameter is not specified, - // there is no maximum limit. - Max *int32 - - // The minimum number of network interfaces. If this parameter is not specified, - // there is no minimum limit. - Min *int32 - - noSmithyDocumentSerde -} - -// The minimum and maximum number of network interfaces. -type NetworkInterfaceCountRequest struct { - - // The maximum number of network interfaces. To specify no maximum limit, omit - // this parameter. - Max *int32 - - // The minimum number of network interfaces. To specify no minimum limit, omit - // this parameter. - Min *int32 - - noSmithyDocumentSerde -} - -// Describes an IPv6 address associated with a network interface. -type NetworkInterfaceIpv6Address struct { - - // The IPv6 address. - Ipv6Address *string - - // Determines if an IPv6 address associated with a network interface is the - // primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, - // the first IPv6 GUA will be made the primary IPv6 address until the instance is - // terminated or the network interface is detached. For more information, see [ModifyNetworkInterfaceAttribute]. - // - // [ModifyNetworkInterfaceAttribute]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyNetworkInterfaceAttribute.html - IsPrimaryIpv6 *bool - - // An IPv6-enabled public hostname for a network interface. Requests from within - // the VPC or from the internet resolve to the IPv6 GUA of the network interface. - // For more information, see [EC2 instance hostnames, DNS names, and domains]in the Amazon EC2 User Guide. - // - // [EC2 instance hostnames, DNS names, and domains]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html - PublicIpv6DnsName *string - - noSmithyDocumentSerde -} - -// Describes a permission for a network interface. -type NetworkInterfacePermission struct { - - // The Amazon Web Services account ID. - AwsAccountId *string - - // The Amazon Web Services service. - AwsService *string - - // The ID of the network interface. - NetworkInterfaceId *string - - // The ID of the network interface permission. - NetworkInterfacePermissionId *string - - // The type of permission. - Permission InterfacePermissionType - - // Information about the state of the permission. - PermissionState *NetworkInterfacePermissionState - - noSmithyDocumentSerde -} - -// Describes the state of a network interface permission. -type NetworkInterfacePermissionState struct { - - // The state of the permission. - State NetworkInterfacePermissionStateCode - - // A status message, if applicable. - StatusMessage *string - - noSmithyDocumentSerde -} - -// Describes the private IPv4 address of a network interface. -type NetworkInterfacePrivateIpAddress struct { - - // The association information for an Elastic IP address (IPv4) associated with - // the network interface. - Association *NetworkInterfaceAssociation - - // Indicates whether this IPv4 address is the primary private IPv4 address of the - // network interface. - Primary *bool - - // The private DNS name. - PrivateDnsName *string - - // The private IPv4 address. - PrivateIpAddress *string - - noSmithyDocumentSerde -} - -// Describes the cores available to the neuron accelerator. -type NeuronDeviceCoreInfo struct { - - // The number of cores available to the neuron accelerator. - Count *int32 - - // The version of the neuron accelerator. - Version *int32 - - noSmithyDocumentSerde -} - -// Describes the neuron accelerators for the instance type. -type NeuronDeviceInfo struct { - - // Describes the cores available to each neuron accelerator. - CoreInfo *NeuronDeviceCoreInfo - - // The number of neuron accelerators for the instance type. - Count *int32 - - // Describes the memory available to each neuron accelerator. - MemoryInfo *NeuronDeviceMemoryInfo - - // The name of the neuron accelerator. - Name *string - - noSmithyDocumentSerde -} - -// Describes the memory available to the neuron accelerator. -type NeuronDeviceMemoryInfo struct { - - // The size of the memory available to the neuron accelerator, in MiB. - SizeInMiB *int32 - - noSmithyDocumentSerde -} - -// Describes the neuron accelerators for the instance type. -type NeuronInfo struct { - - // Describes the neuron accelerators for the instance type. - NeuronDevices []NeuronDeviceInfo - - // The total size of the memory for the neuron accelerators for the instance type, - // in MiB. - TotalNeuronDeviceMemoryInMiB *int32 - - noSmithyDocumentSerde -} - -// Describes a DHCP configuration option. -type NewDhcpConfiguration struct { - - // The name of a DHCP option. - Key *string - - // The values for the DHCP option. - Values []string - - noSmithyDocumentSerde -} - -// Describes the supported NitroTPM versions for the instance type. -type NitroTpmInfo struct { - - // Indicates the supported NitroTPM versions. - SupportedVersions []string - - noSmithyDocumentSerde -} - -// Describes the options for an OpenID Connect-compatible user-identity trust -// provider. -type OidcOptions struct { - - // The OIDC authorization endpoint. - AuthorizationEndpoint *string - - // The client identifier. - ClientId *string - - // The client secret. - ClientSecret *string - - // The OIDC issuer. - Issuer *string - - // The OpenID Connect (OIDC) scope specified. - Scope *string - - // The OIDC token endpoint. - TokenEndpoint *string - - // The OIDC user info endpoint. - UserInfoEndpoint *string - - noSmithyDocumentSerde -} - -// Describes the configuration of On-Demand Instances in an EC2 Fleet. -type OnDemandOptions struct { - - // The strategy that determines the order of the launch template overrides to use - // in fulfilling On-Demand capacity. - // - // lowest-price - EC2 Fleet uses price to determine the order, launching the - // lowest price first. - // - // prioritized - EC2 Fleet uses the priority that you assigned to each launch - // template override, launching the highest priority first. - // - // Default: lowest-price - AllocationStrategy FleetOnDemandAllocationStrategy - - // The strategy for using unused Capacity Reservations for fulfilling On-Demand - // capacity. - // - // Supported only for fleets of type instant . - CapacityReservationOptions *CapacityReservationOptions - - // The maximum amount per hour for On-Demand Instances that you're willing to pay. - // - // If your fleet includes T instances that are configured as unlimited , and if - // their average CPU usage exceeds the baseline utilization, you will incur a - // charge for surplus credits. The maxTotalPrice does not account for surplus - // credits, and, if you use surplus credits, your final cost might be higher than - // what you specified for maxTotalPrice . For more information, see [Surplus credits can incur charges] in the Amazon - // EC2 User Guide. - // - // [Surplus credits can incur charges]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits - MaxTotalPrice *string - - // The minimum target capacity for On-Demand Instances in the fleet. If this - // minimum capacity isn't reached, no instances are launched. - // - // Constraints: Maximum value of 1000 . Supported only for fleets of type instant . - // - // At least one of the following must be specified: SingleAvailabilityZone | - // SingleInstanceType - MinTargetCapacity *int32 - - // Indicates that the fleet launches all On-Demand Instances into a single - // Availability Zone. - // - // Supported only for fleets of type instant . - SingleAvailabilityZone *bool - - // Indicates that the fleet uses a single instance type to launch all On-Demand - // Instances in the fleet. - // - // Supported only for fleets of type instant . - SingleInstanceType *bool - - noSmithyDocumentSerde -} - -// Describes the configuration of On-Demand Instances in an EC2 Fleet. -type OnDemandOptionsRequest struct { - - // The strategy that determines the order of the launch template overrides to use - // in fulfilling On-Demand capacity. - // - // lowest-price - EC2 Fleet uses price to determine the order, launching the - // lowest price first. - // - // prioritized - EC2 Fleet uses the priority that you assigned to each launch - // template override, launching the highest priority first. - // - // Default: lowest-price - AllocationStrategy FleetOnDemandAllocationStrategy - - // The strategy for using unused Capacity Reservations for fulfilling On-Demand - // capacity. - // - // Supported only for fleets of type instant . - CapacityReservationOptions *CapacityReservationOptionsRequest - - // The maximum amount per hour for On-Demand Instances that you're willing to pay. - // - // If your fleet includes T instances that are configured as unlimited , and if - // their average CPU usage exceeds the baseline utilization, you will incur a - // charge for surplus credits. The MaxTotalPrice does not account for surplus - // credits, and, if you use surplus credits, your final cost might be higher than - // what you specified for MaxTotalPrice . For more information, see [Surplus credits can incur charges] in the Amazon - // EC2 User Guide. - // - // [Surplus credits can incur charges]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits - MaxTotalPrice *string - - // The minimum target capacity for On-Demand Instances in the fleet. If this - // minimum capacity isn't reached, no instances are launched. - // - // Constraints: Maximum value of 1000 . Supported only for fleets of type instant . - // - // At least one of the following must be specified: SingleAvailabilityZone | - // SingleInstanceType - MinTargetCapacity *int32 - - // Indicates that the fleet launches all On-Demand Instances into a single - // Availability Zone. - // - // Supported only for fleets of type instant . - SingleAvailabilityZone *bool - - // Indicates that the fleet uses a single instance type to launch all On-Demand - // Instances in the fleet. - // - // Supported only for fleets of type instant . - SingleInstanceType *bool - - noSmithyDocumentSerde -} - -// The service provider that manages the resource. -type OperatorRequest struct { - - // The service provider that manages the resource. - Principal *string - - noSmithyDocumentSerde -} - -// Describes whether the resource is managed by a service provider and, if so, -// describes the service provider that manages it. -type OperatorResponse struct { - - // If true , the resource is managed by a service provider. - Managed *bool - - // If managed is true , then the principal is returned. The principal is the - // service provider that manages the resource. - Principal *string - - noSmithyDocumentSerde -} - -// Describes an Outpost link aggregation group (LAG). -type OutpostLag struct { - - // The IDs of the local gateway virtual interfaces associated with the Outpost LAG. - LocalGatewayVirtualInterfaceIds []string - - // The Amazon Resource Number (ARN) of the Outpost LAG. - OutpostArn *string - - // The ID of the Outpost LAG. - OutpostLagId *string - - // The ID of the Outpost LAG owner. - OwnerId *string - - // The service link virtual interface IDs associated with the Outpost LAG. - ServiceLinkVirtualInterfaceIds []string - - // The current state of the Outpost LAG. - State *string - - // The tags associated with the Outpost LAG. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes a packet header statement. -type PacketHeaderStatement struct { - - // The destination addresses. - DestinationAddresses []string - - // The destination ports. - DestinationPorts []string - - // The destination prefix lists. - DestinationPrefixLists []string - - // The protocols. - Protocols []Protocol - - // The source addresses. - SourceAddresses []string - - // The source ports. - SourcePorts []string - - // The source prefix lists. - SourcePrefixLists []string - - noSmithyDocumentSerde -} - -// Describes a packet header statement. -type PacketHeaderStatementRequest struct { - - // The destination addresses. - DestinationAddresses []string - - // The destination ports. - DestinationPorts []string - - // The destination prefix lists. - DestinationPrefixLists []string - - // The protocols. - Protocols []Protocol - - // The source addresses. - SourceAddresses []string - - // The source ports. - SourcePorts []string - - // The source prefix lists. - SourcePrefixLists []string - - noSmithyDocumentSerde -} - -// Describes a path component. -type PathComponent struct { - - // The network ACL rule. - AclRule *AnalysisAclRule - - // The additional details. - AdditionalDetails []AdditionalDetail - - // The resource to which the path component is attached. - AttachedTo *AnalysisComponent - - // The component. - Component *AnalysisComponent - - // The destination VPC. - DestinationVpc *AnalysisComponent - - // The load balancer listener. - ElasticLoadBalancerListener *AnalysisComponent - - // The explanation codes. - Explanations []Explanation - - // The Network Firewall stateful rule. - FirewallStatefulRule *FirewallStatefulRule - - // The Network Firewall stateless rule. - FirewallStatelessRule *FirewallStatelessRule - - // The inbound header. - InboundHeader *AnalysisPacketHeader - - // The outbound header. - OutboundHeader *AnalysisPacketHeader - - // The route table route. - RouteTableRoute *AnalysisRouteTableRoute - - // The security group rule. - SecurityGroupRule *AnalysisSecurityGroupRule - - // The sequence number. - SequenceNumber *int32 - - // The name of the VPC endpoint service. - ServiceName *string - - // The source VPC. - SourceVpc *AnalysisComponent - - // The subnet. - Subnet *AnalysisComponent - - // The transit gateway. - TransitGateway *AnalysisComponent - - // The route in a transit gateway route table. - TransitGatewayRouteTableRoute *TransitGatewayRouteTableRoute - - // The component VPC. - Vpc *AnalysisComponent - - noSmithyDocumentSerde -} - -// Describes a set of filters for a path analysis. Use path filters to scope the -// analysis when there can be multiple resulting paths. -type PathFilter struct { - - // The destination IPv4 address. - DestinationAddress *string - - // The destination port range. - DestinationPortRange *FilterPortRange - - // The source IPv4 address. - SourceAddress *string - - // The source port range. - SourcePortRange *FilterPortRange - - noSmithyDocumentSerde -} - -// Describes a set of filters for a path analysis. Use path filters to scope the -// analysis when there can be multiple resulting paths. -type PathRequestFilter struct { - - // The destination IPv4 address. - DestinationAddress *string - - // The destination port range. - DestinationPortRange *RequestFilterPortRange - - // The source IPv4 address. - SourceAddress *string - - // The source port range. - SourcePortRange *RequestFilterPortRange - - noSmithyDocumentSerde -} - -// Describes a path statement. -type PathStatement struct { - - // The packet header statement. - PacketHeaderStatement *PacketHeaderStatement - - // The resource statement. - ResourceStatement *ResourceStatement - - noSmithyDocumentSerde -} - -// Describes a path statement. -type PathStatementRequest struct { - - // The packet header statement. - PacketHeaderStatement *PacketHeaderStatementRequest - - // The resource statement. - ResourceStatement *ResourceStatementRequest - - noSmithyDocumentSerde -} - -// Describes the data that identifies an Amazon FPGA image (AFI) on the PCI bus. -type PciId struct { - - // The ID of the device. - DeviceId *string - - // The ID of the subsystem. - SubsystemId *string - - // The ID of the vendor for the subsystem. - SubsystemVendorId *string - - // The ID of the vendor. - VendorId *string - - noSmithyDocumentSerde -} - -// The status of the transit gateway peering attachment. -type PeeringAttachmentStatus struct { - - // The status code. - Code *string - - // The status message, if applicable. - Message *string - - noSmithyDocumentSerde -} - -// Describes the VPC peering connection options. -type PeeringConnectionOptions struct { - - // If true, the public DNS hostnames of instances in the specified VPC resolve to - // private IP addresses when queried from instances in the peer VPC. - AllowDnsResolutionFromRemoteVpc *bool - - // Deprecated. - AllowEgressFromLocalClassicLinkToRemoteVpc *bool - - // Deprecated. - AllowEgressFromLocalVpcToRemoteClassicLink *bool - - noSmithyDocumentSerde -} - -// The VPC peering connection options. -type PeeringConnectionOptionsRequest struct { - - // If true, enables a local VPC to resolve public DNS hostnames to private IP - // addresses when queried from instances in the peer VPC. - AllowDnsResolutionFromRemoteVpc *bool - - // Deprecated. - AllowEgressFromLocalClassicLinkToRemoteVpc *bool - - // Deprecated. - AllowEgressFromLocalVpcToRemoteClassicLink *bool - - noSmithyDocumentSerde -} - -// Information about the transit gateway in the peering attachment. -type PeeringTgwInfo struct { - - // The ID of the core network where the transit gateway peer is located. - CoreNetworkId *string - - // The ID of the Amazon Web Services account that owns the transit gateway. - OwnerId *string - - // The Region of the transit gateway. - Region *string - - // The ID of the transit gateway. - TransitGatewayId *string - - noSmithyDocumentSerde -} - -// Specify an instance family to use as the baseline reference for CPU -// performance. All instance types that match your specified attributes will be -// compared against the CPU performance of the referenced instance family, -// regardless of CPU manufacturer or architecture. -// -// Currently, only one instance family can be specified in the list. -type PerformanceFactorReference struct { - - // The instance family to use as a baseline reference. - // - // Ensure that you specify the correct value for the instance family. The instance - // family is everything before the period ( . ) in the instance type name. For - // example, in the instance type c6i.large , the instance family is c6i , not c6 . - // For more information, see [Amazon EC2 instance type naming conventions]in Amazon EC2 Instance Types. - // - // The following instance families are not supported for performance protection: - // - // - c1 - // - // - g3 | g3s - // - // - hpc7g - // - // - m1 | m2 - // - // - mac1 | mac2 | mac2-m1ultra | mac2-m2 | mac2-m2pro - // - // - p3dn | p4d | p5 - // - // - t1 - // - // - u-12tb1 | u-18tb1 | u-24tb1 | u-3tb1 | u-6tb1 | u-9tb1 | u7i-12tb | - // u7in-16tb | u7in-24tb | u7in-32tb - // - // If you enable performance protection by specifying a supported instance family, - // the returned instance types will exclude the above unsupported instance - // families. - // - // If you specify an unsupported instance family as a value for baseline - // performance, the API returns an empty response for [GetInstanceTypesFromInstanceRequirements]and an exception for [CreateFleet], [RequestSpotFleet], [ModifyFleet], - // and [ModifySpotFleetRequest]. - // - // [GetInstanceTypesFromInstanceRequirements]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements - // [ModifySpotFleetRequest]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifySpotFleetRequest - // [CreateFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet - // [Amazon EC2 instance type naming conventions]: https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html - // [RequestSpotFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet - // [ModifyFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyFleet - InstanceFamily *string - - noSmithyDocumentSerde -} - -// Specify an instance family to use as the baseline reference for CPU -// performance. All instance types that match your specified attributes will be -// compared against the CPU performance of the referenced instance family, -// regardless of CPU manufacturer or architecture. -// -// Currently, only one instance family can be specified in the list. -type PerformanceFactorReferenceRequest struct { - - // The instance family to use as a baseline reference. - // - // Ensure that you specify the correct value for the instance family. The instance - // family is everything before the period ( . ) in the instance type name. For - // example, in the instance type c6i.large , the instance family is c6i , not c6 . - // For more information, see [Amazon EC2 instance type naming conventions]in Amazon EC2 Instance Types. - // - // The following instance families are not supported for performance protection: - // - // - c1 - // - // - g3 | g3s - // - // - hpc7g - // - // - m1 | m2 - // - // - mac1 | mac2 | mac2-m1ultra | mac2-m2 | mac2-m2pro - // - // - p3dn | p4d | p5 - // - // - t1 - // - // - u-12tb1 | u-18tb1 | u-24tb1 | u-3tb1 | u-6tb1 | u-9tb1 | u7i-12tb | - // u7in-16tb | u7in-24tb | u7in-32tb - // - // If you enable performance protection by specifying a supported instance family, - // the returned instance types will exclude the above unsupported instance - // families. - // - // If you specify an unsupported instance family as a value for baseline - // performance, the API returns an empty response for [GetInstanceTypesFromInstanceRequirements]and an exception for [CreateFleet], [RequestSpotFleet], [ModifyFleet], - // and [ModifySpotFleetRequest]. - // - // [GetInstanceTypesFromInstanceRequirements]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements - // [ModifySpotFleetRequest]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifySpotFleetRequest - // [CreateFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet - // [Amazon EC2 instance type naming conventions]: https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html - // [RequestSpotFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet - // [ModifyFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyFleet - InstanceFamily *string - - noSmithyDocumentSerde -} - -// The Diffie-Hellmann group number for phase 1 IKE negotiations. -type Phase1DHGroupNumbersListValue struct { - - // The Diffie-Hellmann group number. - Value *int32 - - noSmithyDocumentSerde -} - -// Specifies a Diffie-Hellman group number for the VPN tunnel for phase 1 IKE -// negotiations. -type Phase1DHGroupNumbersRequestListValue struct { - - // The Diffie-Hellmann group number. - Value *int32 - - noSmithyDocumentSerde -} - -// The encryption algorithm for phase 1 IKE negotiations. -type Phase1EncryptionAlgorithmsListValue struct { - - // The value for the encryption algorithm. - Value *string - - noSmithyDocumentSerde -} - -// Specifies the encryption algorithm for the VPN tunnel for phase 1 IKE -// negotiations. -type Phase1EncryptionAlgorithmsRequestListValue struct { - - // The value for the encryption algorithm. - Value *string - - noSmithyDocumentSerde -} - -// The integrity algorithm for phase 1 IKE negotiations. -type Phase1IntegrityAlgorithmsListValue struct { - - // The value for the integrity algorithm. - Value *string - - noSmithyDocumentSerde -} - -// Specifies the integrity algorithm for the VPN tunnel for phase 1 IKE -// negotiations. -type Phase1IntegrityAlgorithmsRequestListValue struct { - - // The value for the integrity algorithm. - Value *string - - noSmithyDocumentSerde -} - -// The Diffie-Hellmann group number for phase 2 IKE negotiations. -type Phase2DHGroupNumbersListValue struct { - - // The Diffie-Hellmann group number. - Value *int32 - - noSmithyDocumentSerde -} - -// Specifies a Diffie-Hellman group number for the VPN tunnel for phase 2 IKE -// negotiations. -type Phase2DHGroupNumbersRequestListValue struct { - - // The Diffie-Hellmann group number. - Value *int32 - - noSmithyDocumentSerde -} - -// The encryption algorithm for phase 2 IKE negotiations. -type Phase2EncryptionAlgorithmsListValue struct { - - // The encryption algorithm. - Value *string - - noSmithyDocumentSerde -} - -// Specifies the encryption algorithm for the VPN tunnel for phase 2 IKE -// negotiations. -type Phase2EncryptionAlgorithmsRequestListValue struct { - - // The encryption algorithm. - Value *string - - noSmithyDocumentSerde -} - -// The integrity algorithm for phase 2 IKE negotiations. -type Phase2IntegrityAlgorithmsListValue struct { - - // The integrity algorithm. - Value *string - - noSmithyDocumentSerde -} - -// Specifies the integrity algorithm for the VPN tunnel for phase 2 IKE -// negotiations. -type Phase2IntegrityAlgorithmsRequestListValue struct { - - // The integrity algorithm. - Value *string - - noSmithyDocumentSerde -} - -// Describes the placement of an instance. -type Placement struct { - - // The affinity setting for the instance on the Dedicated Host. - // - // This parameter is not supported for [CreateFleet] or [ImportInstance]. - // - // [CreateFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet - // [ImportInstance]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html - Affinity *string - - // The Availability Zone of the instance. - // - // On input, you can specify AvailabilityZone or AvailabilityZoneId , but not both. - // If you specify neither one, Amazon EC2 automatically selects an Availability - // Zone for you. - // - // This parameter is not supported for [CreateFleet]. - // - // [CreateFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet - AvailabilityZone *string - - // The ID of the Availability Zone of the instance. - // - // On input, you can specify AvailabilityZone or AvailabilityZoneId , but not both. - // If you specify neither one, Amazon EC2 automatically selects an Availability - // Zone for you. - // - // This parameter is not supported for [CreateFleet]. - // - // [CreateFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet - AvailabilityZoneId *string - - // The ID of the placement group that the instance is in. - // - // On input, you can specify GroupId or GroupName , but not both. - GroupId *string - - // The name of the placement group that the instance is in. - // - // On input, you can specify GroupId or GroupName , but not both. - GroupName *string - - // The ID of the Dedicated Host on which the instance resides. - // - // This parameter is not supported for [CreateFleet] or [ImportInstance]. - // - // [CreateFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet - // [ImportInstance]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html - HostId *string - - // The ARN of the host resource group in which to launch the instances. - // - // On input, if you specify this parameter, either omit the Tenancy parameter or - // set it to host . - // - // This parameter is not supported for [CreateFleet]. - // - // [CreateFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet - HostResourceGroupArn *string - - // The number of the partition that the instance is in. Valid only if the - // placement group strategy is set to partition . - // - // This parameter is not supported for [CreateFleet]. - // - // [CreateFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet - PartitionNumber *int32 - - // Reserved for future use. - SpreadDomain *string - - // The tenancy of the instance. An instance with a tenancy of dedicated runs on - // single-tenant hardware. - // - // This parameter is not supported for [CreateFleet]. The host tenancy is not supported for [ImportInstance] or - // for T3 instances that are configured for the unlimited CPU credit option. - // - // [CreateFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet - // [ImportInstance]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html - Tenancy Tenancy - - noSmithyDocumentSerde -} - -// Describes a placement group. -type PlacementGroup struct { - - // The Amazon Resource Name (ARN) of the placement group. - GroupArn *string - - // The ID of the placement group. - GroupId *string - - // The name of the placement group. - GroupName *string - - // Reserved for future use. - LinkedGroupId *string - - // The number of partitions. Valid only if strategy is set to partition . - PartitionCount *int32 - - // The spread level for the placement group. Only Outpost placement groups can be - // spread across hosts. - SpreadLevel SpreadLevel - - // The state of the placement group. - State PlacementGroupState - - // The placement strategy. - Strategy PlacementStrategy - - // Any tags applied to the placement group. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes the placement group support of the instance type. -type PlacementGroupInfo struct { - - // The supported placement group types. - SupportedStrategies []PlacementGroupStrategy - - noSmithyDocumentSerde -} - -// Describes the placement of an instance. -type PlacementResponse struct { - - // The name of the placement group that the instance is in. - GroupName *string - - noSmithyDocumentSerde -} - -// Describes a CIDR block for an address pool. -type PoolCidrBlock struct { - - // The CIDR block. - Cidr *string - - noSmithyDocumentSerde -} - -// Describes a range of ports. -type PortRange struct { - - // The first port in the range. - From *int32 - - // The last port in the range. - To *int32 - - noSmithyDocumentSerde -} - -// Describes prefixes for Amazon Web Services services. -type PrefixList struct { - - // The IP address range of the Amazon Web Services service. - Cidrs []string - - // The ID of the prefix. - PrefixListId *string - - // The name of the prefix. - PrefixListName *string - - noSmithyDocumentSerde -} - -// Describes the resource with which a prefix list is associated. -type PrefixListAssociation struct { - - // The ID of the resource. - ResourceId *string - - // The owner of the resource. - ResourceOwner *string - - noSmithyDocumentSerde -} - -// Describes a prefix list entry. -type PrefixListEntry struct { - - // The CIDR block. - Cidr *string - - // The description. - Description *string - - noSmithyDocumentSerde -} - -// Describes a prefix list ID. -type PrefixListId struct { - - // A description for the security group rule that references this prefix list ID. - // - // Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, - // 0-9, spaces, and ._-:/()#,@[]+=;{}!$* - Description *string - - // The ID of the prefix. - PrefixListId *string - - noSmithyDocumentSerde -} - -// Describes the price for a Reserved Instance. -type PriceSchedule struct { - - // The current price schedule, as determined by the term remaining for the - // Reserved Instance in the listing. - // - // A specific price schedule is always in effect, but only one price schedule can - // be active at any time. Take, for example, a Reserved Instance listing that has - // five months remaining in its term. When you specify price schedules for five - // months and two months, this means that schedule 1, covering the first three - // months of the remaining term, will be active during months 5, 4, and 3. Then - // schedule 2, covering the last two months of the term, will be active for months - // 2 and 1. - Active *bool - - // The currency for transacting the Reserved Instance resale. At this time, the - // only supported currency is USD . - CurrencyCode CurrencyCodeValues - - // The fixed price for the term. - Price *float64 - - // The number of months remaining in the reservation. For example, 2 is the second - // to the last month before the capacity reservation expires. - Term *int64 - - noSmithyDocumentSerde -} - -// Describes the price for a Reserved Instance. -type PriceScheduleSpecification struct { - - // The currency for transacting the Reserved Instance resale. At this time, the - // only supported currency is USD . - CurrencyCode CurrencyCodeValues - - // The fixed price for the term. - Price *float64 - - // The number of months remaining in the reservation. For example, 2 is the second - // to the last month before the capacity reservation expires. - Term *int64 - - noSmithyDocumentSerde -} - -// Describes a Reserved Instance offering. -type PricingDetail struct { - - // The number of reservations available for the price. - Count *int32 - - // The price per instance. - Price *float64 - - noSmithyDocumentSerde -} - -// PrincipalIdFormat description -type PrincipalIdFormat struct { - - // PrincipalIdFormatARN description - Arn *string - - // PrincipalIdFormatStatuses description - Statuses []IdFormat - - noSmithyDocumentSerde -} - -// Information about the Private DNS name for interface endpoints. -type PrivateDnsDetails struct { - - // The private DNS name assigned to the VPC endpoint service. - PrivateDnsName *string - - noSmithyDocumentSerde -} - -// Information about the private DNS name for the service endpoint. -type PrivateDnsNameConfiguration struct { - - // The name of the record subdomain the service provider needs to create. The - // service provider adds the value text to the name . - Name *string - - // The verification state of the VPC endpoint service. - // - // Consumers of the endpoint service can use the private name only when the state - // is verified . - State DnsNameState - - // The endpoint service verification type, for example TXT. - Type *string - - // The value the service provider adds to the private DNS name domain record - // before verification. - Value *string - - noSmithyDocumentSerde -} - -// Describes the options for instance hostnames. -type PrivateDnsNameOptionsOnLaunch struct { - - // Indicates whether to respond to DNS queries for instance hostname with DNS AAAA - // records. - EnableResourceNameDnsAAAARecord *bool - - // Indicates whether to respond to DNS queries for instance hostnames with DNS A - // records. - EnableResourceNameDnsARecord *bool - - // The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS - // name must be based on the instance IPv4 address. For IPv6 only subnets, an - // instance DNS name must be based on the instance ID. For dual-stack subnets, you - // can specify whether DNS names use the instance IPv4 address or the instance ID. - HostnameType HostnameType - - noSmithyDocumentSerde -} - -// Describes the options for instance hostnames. -type PrivateDnsNameOptionsRequest struct { - - // Indicates whether to respond to DNS queries for instance hostnames with DNS - // AAAA records. - EnableResourceNameDnsAAAARecord *bool - - // Indicates whether to respond to DNS queries for instance hostnames with DNS A - // records. - EnableResourceNameDnsARecord *bool - - // The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS - // name must be based on the instance IPv4 address. For IPv6 only subnets, an - // instance DNS name must be based on the instance ID. For dual-stack subnets, you - // can specify whether DNS names use the instance IPv4 address or the instance ID. - HostnameType HostnameType - - noSmithyDocumentSerde -} - -// Describes the options for instance hostnames. -type PrivateDnsNameOptionsResponse struct { - - // Indicates whether to respond to DNS queries for instance hostnames with DNS - // AAAA records. - EnableResourceNameDnsAAAARecord *bool - - // Indicates whether to respond to DNS queries for instance hostnames with DNS A - // records. - EnableResourceNameDnsARecord *bool - - // The type of hostname to assign to an instance. - HostnameType HostnameType - - noSmithyDocumentSerde -} - -// Describes a secondary private IPv4 address for a network interface. -type PrivateIpAddressSpecification struct { - - // Indicates whether the private IPv4 address is the primary private IPv4 address. - // Only one IPv4 address can be designated as primary. - Primary *bool - - // The private IPv4 address. - PrivateIpAddress *string - - noSmithyDocumentSerde -} - -// Describes the processor used by the instance type. -type ProcessorInfo struct { - - // The manufacturer of the processor. - Manufacturer *string - - // The architectures supported by the instance type. - SupportedArchitectures []ArchitectureType - - // Indicates whether the instance type supports AMD SEV-SNP. If the request - // returns amd-sev-snp , AMD SEV-SNP is supported. Otherwise, it is not supported. - // For more information, see [AMD SEV-SNP]. - // - // [AMD SEV-SNP]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html - SupportedFeatures []SupportedAdditionalProcessorFeature - - // The speed of the processor, in GHz. - SustainedClockSpeedInGhz *float64 - - noSmithyDocumentSerde -} - -// Describes a product code. -type ProductCode struct { - - // The product code. - ProductCodeId *string - - // The type of product code. - ProductCodeType ProductCodeValues - - noSmithyDocumentSerde -} - -// Describes a virtual private gateway propagating route. -type PropagatingVgw struct { - - // The ID of the virtual private gateway. - GatewayId *string - - noSmithyDocumentSerde -} - -// Reserved. If you need to sustain traffic greater than the [documented limits], contact Amazon Web -// Services Support. -// -// [documented limits]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-gateways -type ProvisionedBandwidth struct { - - // Reserved. - ProvisionTime *time.Time - - // Reserved. - Provisioned *string - - // Reserved. - RequestTime *time.Time - - // Reserved. - Requested *string - - // Reserved. - Status *string - - noSmithyDocumentSerde -} - -// The status of an updated pointer (PTR) record for an Elastic IP address. -type PtrUpdateStatus struct { - - // The reason for the PTR record update. - Reason *string - - // The status of the PTR record update. - Status *string - - // The value for the PTR record update. - Value *string - - noSmithyDocumentSerde -} - -// Public hostname type options. For more information, see [EC2 instance hostnames, DNS names, and domains] in the Amazon EC2 User -// Guide. -// -// [EC2 instance hostnames, DNS names, and domains]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html -type PublicIpDnsNameOptions struct { - - // The public hostname type. For more information, see [EC2 instance hostnames, DNS names, and domains] in the Amazon EC2 User - // Guide. - // - // [EC2 instance hostnames, DNS names, and domains]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html - DnsHostnameType *string - - // A dual-stack public hostname for a network interface. Requests from within the - // VPC resolve to both the private IPv4 address and the IPv6 Global Unicast Address - // of the network interface. Requests from the internet resolve to both the public - // IPv4 and the IPv6 GUA address of the network interface. - PublicDualStackDnsName *string - - // An IPv4-enabled public hostname for a network interface. Requests from within - // the VPC resolve to the private primary IPv4 address of the network interface. - // Requests from the internet resolve to the public IPv4 address of the network - // interface. - PublicIpv4DnsName *string - - // An IPv6-enabled public hostname for a network interface. Requests from within - // the VPC or from the internet resolve to the IPv6 GUA of the network interface. - PublicIpv6DnsName *string - - noSmithyDocumentSerde -} - -// Describes an IPv4 address pool. -type PublicIpv4Pool struct { - - // A description of the address pool. - Description *string - - // The name of the location from which the address pool is advertised. A network - // border group is a unique set of Availability Zones or Local Zones from where - // Amazon Web Services advertises public IP addresses. - NetworkBorderGroup *string - - // The address ranges. - PoolAddressRanges []PublicIpv4PoolRange - - // The ID of the address pool. - PoolId *string - - // Any tags for the address pool. - Tags []Tag - - // The total number of addresses. - TotalAddressCount *int32 - - // The total number of available addresses. - TotalAvailableAddressCount *int32 - - noSmithyDocumentSerde -} - -// Describes an address range of an IPv4 address pool. -type PublicIpv4PoolRange struct { - - // The number of addresses in the range. - AddressCount *int32 - - // The number of available addresses in the range. - AvailableAddressCount *int32 - - // The first IP address in the range. - FirstAddress *string - - // The last IP address in the range. - LastAddress *string - - noSmithyDocumentSerde -} - -// Describes the result of the purchase. -type Purchase struct { - - // The currency in which the UpfrontPrice and HourlyPrice amounts are specified. - // At this time, the only supported currency is USD . - CurrencyCode CurrencyCodeValues - - // The duration of the reservation's term in seconds. - Duration *int32 - - // The IDs of the Dedicated Hosts associated with the reservation. - HostIdSet []string - - // The ID of the reservation. - HostReservationId *string - - // The hourly price of the reservation per hour. - HourlyPrice *string - - // The instance family on the Dedicated Host that the reservation can be - // associated with. - InstanceFamily *string - - // The payment option for the reservation. - PaymentOption PaymentOption - - // The upfront price of the reservation. - UpfrontPrice *string - - noSmithyDocumentSerde -} - -// Describes a request to purchase Scheduled Instances. -type PurchaseRequest struct { - - // The number of instances. - // - // This member is required. - InstanceCount *int32 - - // The purchase token. - // - // This member is required. - PurchaseToken *string - - noSmithyDocumentSerde -} - -// Describes a recurring charge. -type RecurringCharge struct { - - // The amount of the recurring charge. - Amount *float64 - - // The frequency of the recurring charge. - Frequency RecurringChargeFrequency - - noSmithyDocumentSerde -} - -// Describes the security group that is referenced in the security group rule. -type ReferencedSecurityGroup struct { - - // The ID of the security group. - GroupId *string - - // The status of a VPC peering connection, if applicable. - PeeringStatus *string - - // The Amazon Web Services account ID. - UserId *string - - // The ID of the VPC. - VpcId *string - - // The ID of the VPC peering connection (if applicable). - VpcPeeringConnectionId *string - - noSmithyDocumentSerde -} - -// Describes a Region. -type Region struct { - - // The Region service endpoint. - Endpoint *string - - // The Region opt-in status. The possible values are opt-in-not-required , opted-in - // , and not-opted-in . - OptInStatus *string - - // The name of the Region. - RegionName *string - - noSmithyDocumentSerde -} - -// A summary report for the attribute for a Region. -type RegionalSummary struct { - - // The number of accounts in the Region with the same configuration value for the - // attribute that is most frequently observed. - NumberOfMatchedAccounts *int32 - - // The number of accounts in the Region with a configuration value different from - // the most frequently observed value for the attribute. - NumberOfUnmatchedAccounts *int32 - - // The Amazon Web Services Region. - RegionName *string - - noSmithyDocumentSerde -} - -// Describes an Amazon EC2 instance that is enabled for SQL Server High -// Availability standby detection monitoring. -type RegisteredInstance struct { - - // The SQL Server High Availability status of the instance. Valid values are: - // - // - processing - The SQL Server High Availability status for the SQL Server High - // Availability instance is being updated. - // - // - active - The SQL Server High Availability instance is an active node in an - // SQL Server High Availability cluster. - // - // - standby - The SQL Server High Availability instance is a standby failover - // node in an SQL Server High Availability cluster. - // - // - invalid - An error occurred due to misconfigured permissions, or unable to - // dertemine SQL Server High Availability status for the SQL Server High - // Availability instance. - HaStatus HaStatus - - // The ID of the SQL Server High Availability instance. - InstanceId *string - - // The date and time when the instance's SQL Server High Availability status was - // last updated, in the ISO 8601 format in the UTC time zone ( - // YYYY-MM-DDThh:mm:ss.sssZ ). - LastUpdatedTime *time.Time - - // A brief description of the SQL Server High Availability status. If the instance - // is in the invalid High Availability status, this parameter includes the error - // message. - ProcessingStatus *string - - // The ARN of the Secrets Manager secret containing the SQL Server access - // credentials for the SQL Server High Availability instance. If not specified, - // deafult local user credentials will be used by the Amazon Web Services Systems - // Manager agent. - SqlServerCredentials *string - - // The license type for the SQL Server license. Valid values include: - // - // - full - The SQL Server High Availability instance is using a full SQL Server - // license. - // - // - waived - The SQL Server High Availability instance is waived from the SQL - // Server license. - SqlServerLicenseUsage SqlServerLicenseUsage - - // The tags assigned to the SQL Server High Availability instance. - Tags []Tag - - noSmithyDocumentSerde -} - -// Information about the tag keys to register for the current Region. You can -// either specify individual tag keys or register all tag keys in the current -// Region. You must specify either IncludeAllTagsOfInstance or InstanceTagKeys in -// the request -type RegisterInstanceTagAttributeRequest struct { - - // Indicates whether to register all tag keys in the current Region. Specify true - // to register all tag keys. - IncludeAllTagsOfInstance *bool - - // The tag keys to register. - InstanceTagKeys []string - - noSmithyDocumentSerde -} - -// Remove an operating Region from an IPAM. Operating Regions are Amazon Web -// Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only -// discovers and monitors resources in the Amazon Web Services Regions you select -// as operating Regions. -// -// For more information about operating Regions, see [Create an IPAM] in the Amazon VPC IPAM User -// Guide -// -// [Create an IPAM]: https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html -type RemoveIpamOperatingRegion struct { - - // The name of the operating Region you want to remove. - RegionName *string - - noSmithyDocumentSerde -} - -// Remove an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is -// integrated with Amazon Web Services Organizations and you add an organizational -// unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that -// OU exclusion. There is a limit on the number of exclusions you can create. For -// more information, see [Quotas for your IPAM]in the Amazon VPC IPAM User Guide. -// -// [Quotas for your IPAM]: https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html -type RemoveIpamOrganizationalUnitExclusion struct { - - // An Amazon Web Services Organizations entity path. Build the path for the OU(s) - // using Amazon Web Services Organizations IDs separated by a / . Include all child - // OUs by ending the path with /* . - // - // - Example 1 - // - // - Path to a child OU: - // o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/ou-jkl0-awsddddd/ - // - // - In this example, o-a1b2c3d4e5 is the organization ID, r-f6g7h8i9j0example is - // the root ID , ou-ghi0-awsccccc is an OU ID, and ou-jkl0-awsddddd is a child OU - // ID. - // - // - IPAM will not manage the IP addresses in accounts in the child OU. - // - // - Example 2 - // - // - Path where all child OUs will be part of the exclusion: - // o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/* - // - // - In this example, IPAM will not manage the IP addresses in accounts in the - // OU ( ou-ghi0-awsccccc ) or in accounts in any OUs that are children of the OU. - // - // For more information on how to construct an entity path, see [Understand the Amazon Web Services Organizations entity path] in the Amazon Web - // Services Identity and Access Management User Guide. - // - // [Understand the Amazon Web Services Organizations entity path]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_last-accessed-view-data-orgs.html#access_policies_access-advisor-viewing-orgs-entity-path - OrganizationsEntityPath *string - - noSmithyDocumentSerde -} - -// An entry for a prefix list. -type RemovePrefixListEntry struct { - - // The CIDR block. - // - // This member is required. - Cidr *string - - noSmithyDocumentSerde -} - -// Information about a root volume replacement task. -type ReplaceRootVolumeTask struct { - - // The time the task completed. - CompleteTime *string - - // Indicates whether the original root volume is to be deleted after the root - // volume replacement task completes. - DeleteReplacedRootVolume *bool - - // The ID of the AMI used to create the replacement root volume. - ImageId *string - - // The ID of the instance for which the root volume replacement task was created. - InstanceId *string - - // The ID of the root volume replacement task. - ReplaceRootVolumeTaskId *string - - // The ID of the snapshot used to create the replacement root volume. - SnapshotId *string - - // The time the task was started. - StartTime *string - - // The tags assigned to the task. - Tags []Tag - - // The state of the task. The task can be in one of the following states: - // - // - pending - the replacement volume is being created. - // - // - in-progress - the original volume is being detached and the replacement - // volume is being attached. - // - // - succeeded - the replacement volume has been successfully attached to the - // instance and the instance is available. - // - // - failing - the replacement task is in the process of failing. - // - // - failed - the replacement task has failed but the original root volume is - // still attached. - // - // - failing-detached - the replacement task is in the process of failing. The - // instance might have no root volume attached. - // - // - failed-detached - the replacement task has failed and the instance has no - // root volume attached. - TaskState ReplaceRootVolumeTaskState - - noSmithyDocumentSerde -} - -// Describes a port range. -type RequestFilterPortRange struct { - - // The first port in the range. - FromPort *int32 - - // The last port in the range. - ToPort *int32 - - noSmithyDocumentSerde -} - -// A tag on an IPAM resource. -type RequestIpamResourceTag struct { - - // The key of a tag assigned to the resource. Use this filter to find all - // resources assigned a tag with a specific key, regardless of the tag value. - Key *string - - // The value for the tag. - Value *string - - noSmithyDocumentSerde -} - -// The information to include in the launch template. -// -// You must specify at least one parameter for the launch template data. -type RequestLaunchTemplateData struct { - - // The block device mapping. - BlockDeviceMappings []LaunchTemplateBlockDeviceMappingRequest - - // The Capacity Reservation targeting option. If you do not specify this - // parameter, the instance's Capacity Reservation preference defaults to open , - // which enables it to run in any open Capacity Reservation that has matching - // attributes (instance type, platform, Availability Zone). - CapacityReservationSpecification *LaunchTemplateCapacityReservationSpecificationRequest - - // The CPU options for the instance. For more information, see [CPU options for Amazon EC2 instances] in the Amazon EC2 - // User Guide. - // - // [CPU options for Amazon EC2 instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html - CpuOptions *LaunchTemplateCpuOptionsRequest - - // The credit option for CPU usage of the instance. Valid only for T instances. - CreditSpecification *CreditSpecificationRequest - - // Indicates whether to enable the instance for stop protection. For more - // information, see [Enable stop protection for your EC2 instances]in the Amazon EC2 User Guide. - // - // [Enable stop protection for your EC2 instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html - DisableApiStop *bool - - // Indicates whether termination protection is enabled for the instance. The - // default is false , which means that you can terminate the instance using the - // Amazon EC2 console, command line tools, or API. You can enable termination - // protection when you launch an instance, while the instance is running, or while - // the instance is stopped. - DisableApiTermination *bool - - // Indicates whether the instance is optimized for Amazon EBS I/O. This - // optimization provides dedicated throughput to Amazon EBS and an optimized - // configuration stack to provide optimal Amazon EBS I/O performance. This - // optimization isn't available with all instance types. Additional usage charges - // apply when using an EBS-optimized instance. - EbsOptimized *bool - - // Deprecated. - // - // Amazon Elastic Graphics reached end of life on January 8, 2024. - // - // Deprecated: Specifying Elastic Graphics accelerators is no longer supported on - // the RunInstances API. - ElasticGpuSpecifications []ElasticGpuSpecification - - // Amazon Elastic Inference is no longer available. - // - // An elastic inference accelerator to associate with the instance. Elastic - // inference accelerators are a resource you can attach to your Amazon EC2 - // instances to accelerate your Deep Learning (DL) inference workloads. - // - // You cannot specify accelerators from different generations in the same request. - // - // Deprecated: Specifying Elastic Inference accelerators is no longer supported on - // the RunInstances API. - ElasticInferenceAccelerators []LaunchTemplateElasticInferenceAccelerator - - // Indicates whether the instance is enabled for Amazon Web Services Nitro - // Enclaves. For more information, see [What is Nitro Enclaves?]in the Amazon Web Services Nitro Enclaves - // User Guide. - // - // You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same - // instance. - // - // [What is Nitro Enclaves?]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html - EnclaveOptions *LaunchTemplateEnclaveOptionsRequest - - // Indicates whether an instance is enabled for hibernation. This parameter is - // valid only if the instance meets the [hibernation prerequisites]. For more information, see [Hibernate your Amazon EC2 instance] in the Amazon - // EC2 User Guide. - // - // [Hibernate your Amazon EC2 instance]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html - // [hibernation prerequisites]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html - HibernationOptions *LaunchTemplateHibernationOptionsRequest - - // The name or Amazon Resource Name (ARN) of an IAM instance profile. - IamInstanceProfile *LaunchTemplateIamInstanceProfileSpecificationRequest - - // The ID of the AMI in the format ami-0ac394d6a3example . - // - // Alternatively, you can specify a Systems Manager parameter, using one of the - // following formats. The Systems Manager parameter will resolve to an AMI ID on - // launch. - // - // To reference a public parameter: - // - // - resolve:ssm:public-parameter - // - // To reference a parameter stored in the same account: - // - // - resolve:ssm:parameter-name - // - // - resolve:ssm:parameter-name:version-number - // - // - resolve:ssm:parameter-name:label - // - // To reference a parameter shared from another Amazon Web Services account: - // - // - resolve:ssm:parameter-ARN - // - // - resolve:ssm:parameter-ARN:version-number - // - // - resolve:ssm:parameter-ARN:label - // - // For more information, see [Use a Systems Manager parameter instead of an AMI ID] in the Amazon EC2 User Guide. - // - // If the launch template will be used for an EC2 Fleet or Spot Fleet, note the - // following: - // - // - Only EC2 Fleets of type instant support specifying a Systems Manager - // parameter. - // - // - For EC2 Fleets of type maintain or request , or for Spot Fleets, you must - // specify the AMI ID. - // - // [Use a Systems Manager parameter instead of an AMI ID]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id - ImageId *string - - // Indicates whether an instance stops or terminates when you initiate shutdown - // from the instance (using the operating system command for system shutdown). - // - // Default: stop - InstanceInitiatedShutdownBehavior ShutdownBehavior - - // The market (purchasing) option for the instances. - InstanceMarketOptions *LaunchTemplateInstanceMarketOptionsRequest - - // The attributes for the instance types. When you specify instance attributes, - // Amazon EC2 will identify instance types with these attributes. - // - // You must specify VCpuCount and MemoryMiB . All other attributes are optional. - // Any unspecified optional attribute is set to its default. - // - // When you specify multiple attributes, you get instance types that satisfy all - // of the specified attributes. If you specify multiple values for an attribute, - // you get instance types that satisfy any of the specified values. - // - // To limit the list of instance types from which Amazon EC2 can identify matching - // instance types, you can use one of the following parameters, but not both in the - // same request: - // - // - AllowedInstanceTypes - The instance types to include in the list. All other - // instance types are ignored, even if they match your specified attributes. - // - // - ExcludedInstanceTypes - The instance types to exclude from the list, even if - // they match your specified attributes. - // - // If you specify InstanceRequirements , you can't specify InstanceType . - // - // Attribute-based instance type selection is only supported when using Auto - // Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to - // use the launch template in the [launch instance wizard], or with the [RunInstances] API or [AWS::EC2::Instance] Amazon Web Services - // CloudFormation resource, you can't specify InstanceRequirements . - // - // For more information, see [Specify attributes for instance type selection for EC2 Fleet or Spot Fleet] and [Spot placement score] in the Amazon EC2 User Guide. - // - // [Specify attributes for instance type selection for EC2 Fleet or Spot Fleet]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html - // [AWS::EC2::Instance]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html - // [RunInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html - // [Spot placement score]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html - // [launch instance wizard]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html - InstanceRequirements *InstanceRequirementsRequest - - // The instance type. For more information, see [Amazon EC2 instance types] in the Amazon EC2 User Guide. - // - // If you specify InstanceType , you can't specify InstanceRequirements . - // - // [Amazon EC2 instance types]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html - InstanceType InstanceType - - // The ID of the kernel. - // - // We recommend that you use PV-GRUB instead of kernels and RAM disks. For more - // information, see [User provided kernels]in the Amazon Linux 2 User Guide. - // - // [User provided kernels]: https://docs.aws.amazon.com/linux/al2/ug/UserProvidedKernels.html - KernelId *string - - // The name of the key pair. You can create a key pair using [CreateKeyPair] or [ImportKeyPair]. - // - // If you do not specify a key pair, you can't connect to the instance unless you - // choose an AMI that is configured to allow users another way to log in. - // - // [ImportKeyPair]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html - // [CreateKeyPair]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateKeyPair.html - KeyName *string - - // The license configurations. - LicenseSpecifications []LaunchTemplateLicenseConfigurationRequest - - // The maintenance options for the instance. - MaintenanceOptions *LaunchTemplateInstanceMaintenanceOptionsRequest - - // The metadata options for the instance. For more information, see [Configure the Instance Metadata Service options] in the Amazon - // EC2 User Guide. - // - // [Configure the Instance Metadata Service options]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html - MetadataOptions *LaunchTemplateInstanceMetadataOptionsRequest - - // The monitoring for the instance. - Monitoring *LaunchTemplatesMonitoringRequest - - // The network interfaces for the instance. - NetworkInterfaces []LaunchTemplateInstanceNetworkInterfaceSpecificationRequest - - // Contains launch template settings to boost network performance for the type of - // workload that runs on your instance. - NetworkPerformanceOptions *LaunchTemplateNetworkPerformanceOptionsRequest - - // The entity that manages the launch template. - Operator *OperatorRequest - - // The placement for the instance. - Placement *LaunchTemplatePlacementRequest - - // The options for the instance hostname. The default values are inherited from - // the subnet. - PrivateDnsNameOptions *LaunchTemplatePrivateDnsNameOptionsRequest - - // The ID of the RAM disk. - // - // We recommend that you use PV-GRUB instead of kernels and RAM disks. For more - // information, see [User provided kernels]in the Amazon EC2 User Guide. - // - // [User provided kernels]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html - RamDiskId *string - - // The IDs of the security groups. - // - // If you specify a network interface, you must specify any security groups as - // part of the network interface instead of using this parameter. - SecurityGroupIds []string - - // The names of the security groups. For a nondefault VPC, you must use security - // group IDs instead. - // - // If you specify a network interface, you must specify any security groups as - // part of the network interface instead of using this parameter. - SecurityGroups []string - - // The tags to apply to the resources that are created during instance launch. - // These tags are not applied to the launch template. - TagSpecifications []LaunchTemplateTagSpecificationRequest - - // The user data to make available to the instance. You must provide - // base64-encoded text. User data is limited to 16 KB. For more information, see [Run commands when you launch an EC2 instance with user data input] - // in the Amazon EC2 User Guide. - // - // If you are creating the launch template for use with Batch, the user data must - // be provided in the [MIME multi-part archive format]. For more information, see [Amazon EC2 user data in launch templates] in the Batch User Guide. - // - // [Amazon EC2 user data in launch templates]: https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html#lt-user-data - // [Run commands when you launch an EC2 instance with user data input]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html - // [MIME multi-part archive format]: https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive - UserData *string - - noSmithyDocumentSerde -} - -// Describes the launch specification for an instance. -type RequestSpotLaunchSpecification struct { - - // Deprecated. - AddressingType *string - - // The block device mapping entries. You can't specify both a snapshot ID and an - // encryption value. This is because only blank volumes can be encrypted on - // creation. If a snapshot is the basis for a volume, it is not blank and its - // encryption status is used for the volume encryption status. - BlockDeviceMappings []BlockDeviceMapping - - // Indicates whether the instance is optimized for EBS I/O. This optimization - // provides dedicated throughput to Amazon EBS and an optimized configuration stack - // to provide optimal EBS I/O performance. This optimization isn't available with - // all instance types. Additional usage charges apply when using an EBS Optimized - // instance. - // - // Default: false - EbsOptimized *bool - - // The IAM instance profile. - IamInstanceProfile *IamInstanceProfileSpecification - - // The ID of the AMI. - ImageId *string - - // The instance type. Only one instance type can be specified. - InstanceType InstanceType - - // The ID of the kernel. - KernelId *string - - // The name of the key pair. - KeyName *string - - // Indicates whether basic or detailed monitoring is enabled for the instance. - // - // Default: Disabled - Monitoring *RunInstancesMonitoringEnabled - - // The network interfaces. If you specify a network interface, you must specify - // subnet IDs and security group IDs using the network interface. - NetworkInterfaces []InstanceNetworkInterfaceSpecification - - // The placement information for the instance. - Placement *SpotPlacement - - // The ID of the RAM disk. - RamdiskId *string - - // The IDs of the security groups. - SecurityGroupIds []string - - // Not supported. - SecurityGroups []string - - // The ID of the subnet in which to launch the instance. - SubnetId *string - - // The base64-encoded user data that instances use when starting up. User data is - // limited to 16 KB. - UserData *string - - noSmithyDocumentSerde -} - -// Describes a launch request for one or more instances, and includes owner, -// requester, and security group information that applies to all instances in the -// launch request. -type Reservation struct { - - // Not supported. - Groups []GroupIdentifier - - // The instances. - Instances []Instance - - // The ID of the Amazon Web Services account that owns the reservation. - OwnerId *string - - // The ID of the requester that launched the instances on your behalf (for - // example, Amazon Web Services Management Console or Auto Scaling). - RequesterId *string - - // The ID of the reservation. - ReservationId *string - - noSmithyDocumentSerde -} - -// Information about an instance type to use in a Capacity Reservation Fleet. -type ReservationFleetInstanceSpecification struct { - - // The Availability Zone in which the Capacity Reservation Fleet reserves the - // capacity. A Capacity Reservation Fleet can't span Availability Zones. All - // instance type specifications that you specify for the Fleet must use the same - // Availability Zone. - AvailabilityZone *string - - // The ID of the Availability Zone in which the Capacity Reservation Fleet - // reserves the capacity. A Capacity Reservation Fleet can't span Availability - // Zones. All instance type specifications that you specify for the Fleet must use - // the same Availability Zone. - AvailabilityZoneId *string - - // Indicates whether the Capacity Reservation Fleet supports EBS-optimized - // instances types. This optimization provides dedicated throughput to Amazon EBS - // and an optimized configuration stack to provide optimal I/O performance. This - // optimization isn't available with all instance types. Additional usage charges - // apply when using EBS-optimized instance types. - EbsOptimized *bool - - // The type of operating system for which the Capacity Reservation Fleet reserves - // capacity. - InstancePlatform CapacityReservationInstancePlatform - - // The instance type for which the Capacity Reservation Fleet reserves capacity. - InstanceType InstanceType - - // The priority to assign to the instance type. This value is used to determine - // which of the instance types specified for the Fleet should be prioritized for - // use. A lower value indicates a high priority. For more information, see [Instance type priority]in the - // Amazon EC2 User Guide. - // - // [Instance type priority]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-priority - Priority *int32 - - // The number of capacity units provided by the specified instance type. This - // value, together with the total target capacity that you specify for the Fleet - // determine the number of instances for which the Fleet reserves capacity. Both - // values are based on units that make sense for your workload. For more - // information, see [Total target capacity]in the Amazon EC2 User Guide. - // - // [Total target capacity]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity - Weight *float64 - - noSmithyDocumentSerde -} - -// The cost associated with the Reserved Instance. -type ReservationValue struct { - - // The hourly rate of the reservation. - HourlyPrice *string - - // The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice - // * number of hours remaining). - RemainingTotalValue *string - - // The remaining upfront cost of the reservation. - RemainingUpfrontValue *string - - noSmithyDocumentSerde -} - -// Describes the limit price of a Reserved Instance offering. -type ReservedInstanceLimitPrice struct { - - // Used for Reserved Instance Marketplace offerings. Specifies the limit price on - // the total order (instanceCount * price). - Amount *float64 - - // The currency in which the limitPrice amount is specified. At this time, the - // only supported currency is USD . - CurrencyCode CurrencyCodeValues - - noSmithyDocumentSerde -} - -// The total value of the Convertible Reserved Instance. -type ReservedInstanceReservationValue struct { - - // The total value of the Convertible Reserved Instance that you are exchanging. - ReservationValue *ReservationValue - - // The ID of the Convertible Reserved Instance that you are exchanging. - ReservedInstanceId *string - - noSmithyDocumentSerde -} - -// Describes a Reserved Instance. -type ReservedInstances struct { - - // The Availability Zone in which the Reserved Instance can be used. - AvailabilityZone *string - - // The ID of the Availability Zone. - AvailabilityZoneId *string - - // The currency of the Reserved Instance. It's specified using ISO 4217 standard - // currency codes. At this time, the only supported currency is USD . - CurrencyCode CurrencyCodeValues - - // The duration of the Reserved Instance, in seconds. - Duration *int64 - - // The time when the Reserved Instance expires. - End *time.Time - - // The purchase price of the Reserved Instance. - FixedPrice *float32 - - // The number of reservations purchased. - InstanceCount *int32 - - // The tenancy of the instance. - InstanceTenancy Tenancy - - // The instance type on which the Reserved Instance can be used. - InstanceType InstanceType - - // The offering class of the Reserved Instance. - OfferingClass OfferingClassType - - // The Reserved Instance offering type. - OfferingType OfferingTypeValues - - // The Reserved Instance product platform description. - ProductDescription RIProductDescription - - // The recurring charge tag assigned to the resource. - RecurringCharges []RecurringCharge - - // The ID of the Reserved Instance. - ReservedInstancesId *string - - // The scope of the Reserved Instance. - Scope Scope - - // The date and time the Reserved Instance started. - Start *time.Time - - // The state of the Reserved Instance purchase. - State ReservedInstanceState - - // Any tags assigned to the resource. - Tags []Tag - - // The usage price of the Reserved Instance, per hour. - UsagePrice *float32 - - noSmithyDocumentSerde -} - -// Describes the configuration settings for the modified Reserved Instances. -type ReservedInstancesConfiguration struct { - - // The Availability Zone for the modified Reserved Instances. - AvailabilityZone *string - - // The ID of the Availability Zone. - AvailabilityZoneId *string - - // The number of modified Reserved Instances. - // - // This is a required field for a request. - InstanceCount *int32 - - // The instance type for the modified Reserved Instances. - InstanceType InstanceType - - // The network platform of the modified Reserved Instances. - Platform *string - - // Whether the Reserved Instance is applied to instances in a Region or instances - // in a specific Availability Zone. - Scope Scope - - noSmithyDocumentSerde -} - -// Describes the ID of a Reserved Instance. -type ReservedInstancesId struct { - - // The ID of the Reserved Instance. - ReservedInstancesId *string - - noSmithyDocumentSerde -} - -// Describes a Reserved Instance listing. -type ReservedInstancesListing struct { - - // A unique, case-sensitive key supplied by the client to ensure that the request - // is idempotent. For more information, see [Ensuring Idempotency]. - // - // [Ensuring Idempotency]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html - ClientToken *string - - // The time the listing was created. - CreateDate *time.Time - - // The number of instances in this state. - InstanceCounts []InstanceCount - - // The price of the Reserved Instance listing. - PriceSchedules []PriceSchedule - - // The ID of the Reserved Instance. - ReservedInstancesId *string - - // The ID of the Reserved Instance listing. - ReservedInstancesListingId *string - - // The status of the Reserved Instance listing. - Status ListingStatus - - // The reason for the current status of the Reserved Instance listing. The - // response can be blank. - StatusMessage *string - - // Any tags assigned to the resource. - Tags []Tag - - // The last modified timestamp of the listing. - UpdateDate *time.Time - - noSmithyDocumentSerde -} - -// Describes a Reserved Instance modification. -type ReservedInstancesModification struct { - - // A unique, case-sensitive key supplied by the client to ensure that the request - // is idempotent. For more information, see [Ensuring Idempotency]. - // - // [Ensuring Idempotency]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html - ClientToken *string - - // The time when the modification request was created. - CreateDate *time.Time - - // The time for the modification to become effective. - EffectiveDate *time.Time - - // Contains target configurations along with their corresponding new Reserved - // Instance IDs. - ModificationResults []ReservedInstancesModificationResult - - // The IDs of one or more Reserved Instances. - ReservedInstancesIds []ReservedInstancesId - - // A unique ID for the Reserved Instance modification. - ReservedInstancesModificationId *string - - // The status of the Reserved Instances modification request. - Status *string - - // The reason for the status. - StatusMessage *string - - // The time when the modification request was last updated. - UpdateDate *time.Time - - noSmithyDocumentSerde -} - -// Describes the modification request/s. -type ReservedInstancesModificationResult struct { - - // The ID for the Reserved Instances that were created as part of the modification - // request. This field is only available when the modification is fulfilled. - ReservedInstancesId *string - - // The target Reserved Instances configurations supplied as part of the - // modification request. - TargetConfiguration *ReservedInstancesConfiguration - - noSmithyDocumentSerde -} - -// Describes a Reserved Instance offering. -type ReservedInstancesOffering struct { - - // The Availability Zone in which the Reserved Instance can be used. - AvailabilityZone *string - - // The ID of the Availability Zone. - AvailabilityZoneId *string - - // The currency of the Reserved Instance offering you are purchasing. It's - // specified using ISO 4217 standard currency codes. At this time, the only - // supported currency is USD . - CurrencyCode CurrencyCodeValues - - // The duration of the Reserved Instance, in seconds. - Duration *int64 - - // The purchase price of the Reserved Instance. - FixedPrice *float32 - - // The tenancy of the instance. - InstanceTenancy Tenancy - - // The instance type on which the Reserved Instance can be used. - InstanceType InstanceType - - // Indicates whether the offering is available through the Reserved Instance - // Marketplace (resale) or Amazon Web Services. If it's a Reserved Instance - // Marketplace offering, this is true . - Marketplace *bool - - // If convertible it can be exchanged for Reserved Instances of the same or higher - // monetary value, with different configurations. If standard , it is not possible - // to perform an exchange. - OfferingClass OfferingClassType - - // The Reserved Instance offering type. - OfferingType OfferingTypeValues - - // The pricing details of the Reserved Instance offering. - PricingDetails []PricingDetail - - // The Reserved Instance product platform description. - ProductDescription RIProductDescription - - // The recurring charge tag assigned to the resource. - RecurringCharges []RecurringCharge - - // The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to - // confirm that an exchange can be made. - ReservedInstancesOfferingId *string - - // Whether the Reserved Instance is applied to instances in a Region or an - // Availability Zone. - Scope Scope - - // The usage price of the Reserved Instance, per hour. - UsagePrice *float32 - - noSmithyDocumentSerde -} - -// Describes a resource statement. -type ResourceStatement struct { - - // The resource types. - ResourceTypes []string - - // The resources. - Resources []string - - noSmithyDocumentSerde -} - -// Describes a resource statement. -type ResourceStatementRequest struct { - - // The resource types. - ResourceTypes []string - - // The resources. - Resources []string - - noSmithyDocumentSerde -} - -// The options that affect the scope of the response. -type ResourceTypeOption struct { - - // The name of the option. - // - // - For ec2:Instance : - // - // Specify state-name - The current state of the EC2 instance. - // - // - For ec2:LaunchTemplate : - // - // Specify version-depth - The number of launch template versions to check, - // starting from the most recent version. - OptionName ImageReferenceOptionName - - // A value for the specified option. - // - // - For state-name : - // - // - Valid values: pending | running | shutting-down | terminated | stopping | - // stopped - // - // - Default: All states - // - // - For version-depth : - // - // - Valid values: Integers between 1 and 10000 - // - // - Default: 10 - OptionValues []string - - noSmithyDocumentSerde -} - -// A resource type to check for image references. Associated options can also be -// specified if the resource type is an EC2 instance or launch template. -type ResourceTypeRequest struct { - - // The resource type. - ResourceType ImageReferenceResourceType - - // The options that affect the scope of the response. Valid only when ResourceType - // is ec2:Instance or ec2:LaunchTemplate . - ResourceTypeOptions []ResourceTypeOption - - noSmithyDocumentSerde -} - -// Describes the error that's returned when you cannot delete a launch template -// version. -type ResponseError struct { - - // The error code. - Code LaunchTemplateErrorCode - - // The error message, if applicable. - Message *string - - noSmithyDocumentSerde -} - -// The information for a launch template. -type ResponseLaunchTemplateData struct { - - // The block device mappings. - BlockDeviceMappings []LaunchTemplateBlockDeviceMapping - - // Information about the Capacity Reservation targeting option. - CapacityReservationSpecification *LaunchTemplateCapacityReservationSpecificationResponse - - // The CPU options for the instance. For more information, see [CPU options for Amazon EC2 instances] in the Amazon EC2 - // User Guide. - // - // [CPU options for Amazon EC2 instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html - CpuOptions *LaunchTemplateCpuOptions - - // The credit option for CPU usage of the instance. - CreditSpecification *CreditSpecification - - // Indicates whether the instance is enabled for stop protection. For more - // information, see [Enable stop protection for your EC2 instances]in the Amazon EC2 User Guide. - // - // [Enable stop protection for your EC2 instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html - DisableApiStop *bool - - // If set to true , indicates that the instance cannot be terminated using the - // Amazon EC2 console, command line tool, or API. - DisableApiTermination *bool - - // Indicates whether the instance is optimized for Amazon EBS I/O. - EbsOptimized *bool - - // Deprecated. - // - // Amazon Elastic Graphics reached end of life on January 8, 2024. - ElasticGpuSpecifications []ElasticGpuSpecificationResponse - - // Amazon Elastic Inference is no longer available. - // - // An elastic inference accelerator to associate with the instance. Elastic - // inference accelerators are a resource you can attach to your Amazon EC2 - // instances to accelerate your Deep Learning (DL) inference workloads. - // - // You cannot specify accelerators from different generations in the same request. - ElasticInferenceAccelerators []LaunchTemplateElasticInferenceAcceleratorResponse - - // Indicates whether the instance is enabled for Amazon Web Services Nitro - // Enclaves. - EnclaveOptions *LaunchTemplateEnclaveOptions - - // Indicates whether an instance is configured for hibernation. For more - // information, see [Hibernate your Amazon EC2 instance]in the Amazon EC2 User Guide. - // - // [Hibernate your Amazon EC2 instance]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html - HibernationOptions *LaunchTemplateHibernationOptions - - // The IAM instance profile. - IamInstanceProfile *LaunchTemplateIamInstanceProfileSpecification - - // The ID of the AMI or a Systems Manager parameter. The Systems Manager parameter - // will resolve to the ID of the AMI at instance launch. - // - // The value depends on what you specified in the request. The possible values are: - // - // - If an AMI ID was specified in the request, then this is the AMI ID. - // - // - If a Systems Manager parameter was specified in the request, and - // ResolveAlias was configured as true , then this is the AMI ID that the - // parameter is mapped to in the Parameter Store. - // - // - If a Systems Manager parameter was specified in the request, and - // ResolveAlias was configured as false , then this is the parameter value. - // - // For more information, see [Use a Systems Manager parameter instead of an AMI ID] in the Amazon EC2 User Guide. - // - // [Use a Systems Manager parameter instead of an AMI ID]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id - ImageId *string - - // Indicates whether an instance stops or terminates when you initiate shutdown - // from the instance (using the operating system command for system shutdown). - InstanceInitiatedShutdownBehavior ShutdownBehavior - - // The market (purchasing) option for the instances. - InstanceMarketOptions *LaunchTemplateInstanceMarketOptions - - // The attributes for the instance types. When you specify instance attributes, - // Amazon EC2 will identify instance types with these attributes. - // - // If you specify InstanceRequirements , you can't specify InstanceTypes . - InstanceRequirements *InstanceRequirements - - // The instance type. - InstanceType InstanceType - - // The ID of the kernel, if applicable. - KernelId *string - - // The name of the key pair. - KeyName *string - - // The license configurations. - LicenseSpecifications []LaunchTemplateLicenseConfiguration - - // The maintenance options for your instance. - MaintenanceOptions *LaunchTemplateInstanceMaintenanceOptions - - // The metadata options for the instance. For more information, see [Configure the Instance Metadata Service options] in the Amazon - // EC2 User Guide. - // - // [Configure the Instance Metadata Service options]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html - MetadataOptions *LaunchTemplateInstanceMetadataOptions - - // The monitoring for the instance. - Monitoring *LaunchTemplatesMonitoring - - // The network interfaces. - NetworkInterfaces []LaunchTemplateInstanceNetworkInterfaceSpecification - - // Contains the launch template settings for network performance options for your - // instance. - NetworkPerformanceOptions *LaunchTemplateNetworkPerformanceOptions - - // The entity that manages the launch template. - Operator *OperatorResponse - - // The placement of the instance. - Placement *LaunchTemplatePlacement - - // The options for the instance hostname. - PrivateDnsNameOptions *LaunchTemplatePrivateDnsNameOptions - - // The ID of the RAM disk, if applicable. - RamDiskId *string - - // The security group IDs. - SecurityGroupIds []string - - // The security group names. - SecurityGroups []string - - // The tags that are applied to the resources that are created during instance - // launch. - TagSpecifications []LaunchTemplateTagSpecification - - // The user data for the instance. - UserData *string - - noSmithyDocumentSerde -} - -// A security group rule removed with [RevokeSecurityGroupEgress] or [RevokeSecurityGroupIngress]. -// -// [RevokeSecurityGroupIngress]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RevokeSecurityGroupIngress.html -// [RevokeSecurityGroupEgress]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RevokeSecurityGroupEgress.html -type RevokedSecurityGroupRule struct { - - // The IPv4 CIDR of the traffic source. - CidrIpv4 *string - - // The IPv6 CIDR of the traffic source. - CidrIpv6 *string - - // A description of the revoked security group rule. - Description *string - - // The 'from' port number of the security group rule. - FromPort *int32 - - // A security group ID. - GroupId *string - - // The security group rule's protocol. - IpProtocol *string - - // Defines if a security group rule is an outbound rule. - IsEgress *bool - - // The ID of a prefix list that's the traffic source. - PrefixListId *string - - // The ID of a referenced security group. - ReferencedGroupId *string - - // A security group rule ID. - SecurityGroupRuleId *string - - // The 'to' port number of the security group rule. - ToPort *int32 - - noSmithyDocumentSerde -} - -// Describes a route in a route table. -type Route struct { - - // The ID of the carrier gateway. - CarrierGatewayId *string - - // The Amazon Resource Name (ARN) of the core network. - CoreNetworkArn *string - - // The IPv4 CIDR block used for the destination match. - DestinationCidrBlock *string - - // The IPv6 CIDR block used for the destination match. - DestinationIpv6CidrBlock *string - - // The prefix of the Amazon Web Services service. - DestinationPrefixListId *string - - // The ID of the egress-only internet gateway. - EgressOnlyInternetGatewayId *string - - // The ID of a gateway attached to your VPC. - GatewayId *string - - // The ID of a NAT instance in your VPC. - InstanceId *string - - // The ID of Amazon Web Services account that owns the instance. - InstanceOwnerId *string - - // The next hop IP address for routes propagated by VPC Route Server into VPC - // route tables. - IpAddress *string - - // The ID of the local gateway. - LocalGatewayId *string - - // The ID of a NAT gateway. - NatGatewayId *string - - // The ID of the network interface. - NetworkInterfaceId *string - - // The Amazon Resource Name (ARN) of the ODB network. - OdbNetworkArn *string - - // Describes how the route was created. - // - // - CreateRouteTable - The route was automatically created when the route table - // was created. - // - // - CreateRoute - The route was manually added to the route table. - // - // - EnableVgwRoutePropagation - The route was propagated by route propagation. - // - // - Advertisement - The route was created dynamically by Amazon VPC Route Server. - Origin RouteOrigin - - // The state of the route. The blackhole state indicates that the route's target - // isn't available (for example, the specified gateway isn't attached to the VPC, - // or the specified NAT instance has been terminated). - State RouteState - - // The ID of a transit gateway. - TransitGatewayId *string - - // The ID of a VPC peering connection. - VpcPeeringConnectionId *string - - noSmithyDocumentSerde -} - -// Describes a route server and its configuration. -// -// Amazon VPC Route Server simplifies routing for traffic between workloads that -// are deployed within a VPC and its internet gateways. With this feature, VPC -// Route Server dynamically updates VPC and internet gateway route tables with your -// preferred IPv4 or IPv6 routes to achieve routing fault tolerance for those -// workloads. This enables you to automatically reroute traffic within a VPC, which -// increases the manageability of VPC routing and interoperability with third-party -// workloads. -// -// Route server supports the follow route table types: -// -// - VPC route tables not associated with subnets -// -// - Subnet route tables -// -// - Internet gateway route tables -// -// Route server does not support route tables associated with virtual private -// gateways. To propagate routes into a transit gateway route table, use [Transit Gateway Connect]. -// -// [Transit Gateway Connect]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-connect.html -type RouteServer struct { - - // The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the - // appliance. Valid values are from 1 to 4294967295. We recommend using a private - // ASN in the 64512–65534 (16-bit ASN) or 4200000000–4294967294 (32-bit ASN) range. - AmazonSideAsn *int64 - - // The number of minutes a route server will wait after BGP is re-established to - // unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. The - // default value is 1. Only valid if persistRoutesState is 'enabled'. - // - // If you set the duration to 1 minute, then when your network appliance - // re-establishes BGP with route server, it has 1 minute to relearn it's adjacent - // network and advertise those routes to route server before route server resumes - // normal functionality. In most cases, 1 minute is probably sufficient. If, - // however, you have concerns that your BGP network may not be capable of fully - // re-establishing and re-learning everything in 1 minute, you can increase the - // duration up to 5 minutes. - PersistRoutesDuration *int64 - - // The current state of route persistence for the route server. - PersistRoutesState RouteServerPersistRoutesState - - // The unique identifier of the route server. - RouteServerId *string - - // Indicates whether SNS notifications are enabled for the route server. Enabling - // SNS notifications persists BGP status changes to an SNS topic provisioned by - // Amazon Web Services. - SnsNotificationsEnabled *bool - - // The ARN of the SNS topic where notifications are published. - SnsTopicArn *string - - // The current state of the route server. - State RouteServerState - - // Any tags assigned to the route server. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes the association between a route server and a VPC. -// -// A route server association is the connection established between a route server -// and a VPC. -type RouteServerAssociation struct { - - // The ID of the associated route server. - RouteServerId *string - - // The current state of the association. - State RouteServerAssociationState - - // The ID of the associated VPC. - VpcId *string - - noSmithyDocumentSerde -} - -// The current status of Bidirectional Forwarding Detection (BFD) for a BGP -// session. -type RouteServerBfdStatus struct { - - // The operational status of the BFD session. - Status RouteServerBfdState - - noSmithyDocumentSerde -} - -// The BGP configuration options for a route server peer. -type RouteServerBgpOptions struct { - - // The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the - // appliance. Valid values are from 1 to 4294967295. We recommend using a private - // ASN in the 64512–65534 (16-bit ASN) or 4200000000–4294967294 (32-bit ASN) range. - PeerAsn *int64 - - // The liveness detection protocol used for the BGP peer. - // - // The requested liveness detection protocol for the BGP peer. - // - // - bgp-keepalive : The standard BGP keep alive mechanism ([RFC4271] ) that is stable but - // may take longer to fail-over in cases of network impact or router failure. - // - // - bfd : An additional Bidirectional Forwarding Detection (BFD) protocol ([RFC5880] ) - // that enables fast failover by using more sensitive liveness detection. - // - // Defaults to bgp-keepalive . - // - // [RFC5880]: https://www.rfc-editor.org/rfc/rfc5880 - // [RFC4271]: https://www.rfc-editor.org/rfc/rfc4271#page-21 - PeerLivenessDetection RouteServerPeerLivenessMode - - noSmithyDocumentSerde -} - -// The BGP configuration options requested for a route server peer. -type RouteServerBgpOptionsRequest struct { - - // The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the - // appliance. Valid values are from 1 to 4294967295. We recommend using a private - // ASN in the 64512–65534 (16-bit ASN) or 4200000000–4294967294 (32-bit ASN) range. - // - // This member is required. - PeerAsn *int64 - - // The requested liveness detection protocol for the BGP peer. - // - // - bgp-keepalive : The standard BGP keep alive mechanism ([RFC4271] ) that is stable but - // may take longer to fail-over in cases of network impact or router failure. - // - // - bfd : An additional Bidirectional Forwarding Detection (BFD) protocol ([RFC5880] ) - // that enables fast failover by using more sensitive liveness detection. - // - // Defaults to bgp-keepalive . - // - // [RFC5880]: https://www.rfc-editor.org/rfc/rfc5880 - // [RFC4271]: https://www.rfc-editor.org/rfc/rfc4271#page-21 - PeerLivenessDetection RouteServerPeerLivenessMode - - noSmithyDocumentSerde -} - -// The current status of a BGP session. -type RouteServerBgpStatus struct { - - // The operational status of the BGP session. The status enables you to monitor - // session liveness if you lack monitoring on your router/appliance. - Status RouteServerBgpState - - noSmithyDocumentSerde -} - -// Describes a route server endpoint and its properties. -// -// A route server endpoint is an Amazon Web Services-managed component inside a -// subnet that facilitates [BGP (Border Gateway Protocol)]connections between your route server and your BGP -// peers. -// -// [BGP (Border Gateway Protocol)]: https://en.wikipedia.org/wiki/Border_Gateway_Protocol -type RouteServerEndpoint struct { - - // The IP address of the Elastic network interface for the endpoint. - EniAddress *string - - // The ID of the Elastic network interface for the endpoint. - EniId *string - - // The reason for any failure in endpoint creation or operation. - FailureReason *string - - // The unique identifier of the route server endpoint. - RouteServerEndpointId *string - - // The ID of the route server associated with this endpoint. - RouteServerId *string - - // The current state of the route server endpoint. - State RouteServerEndpointState - - // The ID of the subnet to place the route server endpoint into. - SubnetId *string - - // Any tags assigned to the route server endpoint. - Tags []Tag - - // The ID of the VPC containing the endpoint. - VpcId *string - - noSmithyDocumentSerde -} - -// Describes a BGP peer configuration for a route server endpoint. -// -// A route server peer is a session between a route server endpoint and the device -// deployed in Amazon Web Services (such as a firewall appliance or other network -// security function running on an EC2 instance). The device must meet these -// requirements: -// -// - Have an elastic network interface in the VPC -// -// - Support BGP (Border Gateway Protocol) -// -// - Can initiate BGP sessions -type RouteServerPeer struct { - - // The current status of the BFD session with this peer. - BfdStatus *RouteServerBfdStatus - - // The BGP configuration options for this peer, including ASN (Autonomous System - // Number) and BFD (Bidrectional Forwarding Detection) settings. - BgpOptions *RouteServerBgpOptions - - // The current status of the BGP session with this peer. - BgpStatus *RouteServerBgpStatus - - // The IP address of the Elastic network interface for the route server endpoint. - EndpointEniAddress *string - - // The ID of the Elastic network interface for the route server endpoint. - EndpointEniId *string - - // The reason for any failure in peer creation or operation. - FailureReason *string - - // The IPv4 address of the peer device. - PeerAddress *string - - // The ID of the route server endpoint associated with this peer. - RouteServerEndpointId *string - - // The ID of the route server associated with this peer. - RouteServerId *string - - // The unique identifier of the route server peer. - RouteServerPeerId *string - - // The current state of the route server peer. - State RouteServerPeerState - - // The ID of the subnet containing the route server peer. - SubnetId *string - - // Any tags assigned to the route server peer. - Tags []Tag - - // The ID of the VPC containing the route server peer. - VpcId *string - - noSmithyDocumentSerde -} - -// Describes the route propagation configuration between a route server and a -// route table. -// -// When enabled, route server propagation installs the routes in the FIB on the -// route table you've specified. Route server supports IPv4 and IPv6 route -// propagation. -type RouteServerPropagation struct { - - // The ID of the route server configured for route propagation. - RouteServerId *string - - // The ID of the route table configured for route server propagation. - RouteTableId *string - - // The current state of route propagation. - State RouteServerPropagationState - - noSmithyDocumentSerde -} - -// Describes a route in the route server's routing database. -type RouteServerRoute struct { - - // The AS path attributes of the BGP route. - AsPaths []string - - // The Multi-Exit Discriminator (MED) value of the BGP route. - Med *int32 - - // The IP address for the next hop. - NextHopIp *string - - // The destination CIDR block of the route. - Prefix *string - - // Details about the installation status of this route in route tables. - RouteInstallationDetails []RouteServerRouteInstallationDetail - - // The ID of the route server endpoint that received this route. - RouteServerEndpointId *string - - // The ID of the route server peer that advertised this route. - RouteServerPeerId *string - - // The current status of the route in the routing database. Values are in-rib or - // in-fib depending on if the routes are in the RIB or the FIB database. - // - // The [Routing Information Base (RIB)] serves as a database that stores all the routing information and network - // topology data collected by a router or routing system, such as routes learned - // from BGP peers. The RIB is constantly updated as new routing information is - // received or existing routes change. This ensures that the route server always - // has the most current view of the network topology and can make optimal routing - // decisions. - // - // The [Forwarding Information Base (FIB)] serves as a forwarding table for what route server has determined are the - // best-path routes in the RIB after evaluating all available routing information - // and policies. The FIB routes are installed on the route tables. The FIB is - // recomputed whenever there are changes to the RIB. - // - // [Routing Information Base (RIB)]: https://en.wikipedia.org/wiki/Routing_table - // [Forwarding Information Base (FIB)]: https://en.wikipedia.org/wiki/Forwarding_information_base - RouteStatus RouteServerRouteStatus - - noSmithyDocumentSerde -} - -// Describes the installation status of a route in a route table. -type RouteServerRouteInstallationDetail struct { - - // The current installation status of the route in the route table. - RouteInstallationStatus RouteServerRouteInstallationStatus - - // The reason for the current installation status of the route. - RouteInstallationStatusReason *string - - // The ID of the route table where the route is being installed. - RouteTableId *string - - noSmithyDocumentSerde -} - -// Describes a route table. -type RouteTable struct { - - // The associations between the route table and your subnets or gateways. - Associations []RouteTableAssociation - - // The ID of the Amazon Web Services account that owns the route table. - OwnerId *string - - // Any virtual private gateway (VGW) propagating routes. - PropagatingVgws []PropagatingVgw - - // The ID of the route table. - RouteTableId *string - - // The routes in the route table. - Routes []Route - - // Any tags assigned to the route table. - Tags []Tag - - // The ID of the VPC. - VpcId *string - - noSmithyDocumentSerde -} - -// Describes an association between a route table and a subnet or gateway. -type RouteTableAssociation struct { - - // The state of the association. - AssociationState *RouteTableAssociationState - - // The ID of the internet gateway or virtual private gateway. - GatewayId *string - - // Indicates whether this is the main route table. - Main *bool - - // The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4 addresses - // that you've brought to Amazon Web Services with BYOIP. - PublicIpv4Pool *string - - // The ID of the association. - RouteTableAssociationId *string - - // The ID of the route table. - RouteTableId *string - - // The ID of the subnet. A subnet ID is not returned for an implicit association. - SubnetId *string - - noSmithyDocumentSerde -} - -// Describes the state of an association between a route table and a subnet or -// gateway. -type RouteTableAssociationState struct { - - // The state of the association. - State RouteTableAssociationStateCode - - // The status message, if applicable. - StatusMessage *string - - noSmithyDocumentSerde -} - -// Describes the rule options for a stateful rule group. -type RuleGroupRuleOptionsPair struct { - - // The ARN of the rule group. - RuleGroupArn *string - - // The rule options. - RuleOptions []RuleOption - - noSmithyDocumentSerde -} - -// Describes the type of a stateful rule group. -type RuleGroupTypePair struct { - - // The ARN of the rule group. - RuleGroupArn *string - - // The rule group type. The possible values are Domain List and Suricata . - RuleGroupType *string - - noSmithyDocumentSerde -} - -// Describes additional settings for a stateful rule. -type RuleOption struct { - - // The Suricata keyword. - Keyword *string - - // The settings for the keyword. - Settings []string - - noSmithyDocumentSerde -} - -// Describes the monitoring of an instance. -type RunInstancesMonitoringEnabled struct { - - // Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring - // is enabled. - // - // This member is required. - Enabled *bool - - noSmithyDocumentSerde -} - -// The tags to apply to the AMI object that will be stored in the Amazon S3 -// bucket. For more information, see [Categorizing your storage using tags]in the Amazon Simple Storage Service User -// Guide. -// -// [Categorizing your storage using tags]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html -type S3ObjectTag struct { - - // The key of the tag. - // - // Constraints: Tag keys are case-sensitive and can be up to 128 Unicode - // characters in length. May not begin with aws :. - Key *string - - // The value of the tag. - // - // Constraints: Tag values are case-sensitive and can be up to 256 Unicode - // characters in length. - Value *string - - noSmithyDocumentSerde -} - -// Describes the storage parameters for Amazon S3 and Amazon S3 buckets for an -// instance store-backed AMI. -type S3Storage struct { - - // The access key ID of the owner of the bucket. Before you specify a value for - // your access key ID, review and follow the guidance in [Best Practices for Amazon Web Services accounts]in the Account - // ManagementReference Guide. - // - // [Best Practices for Amazon Web Services accounts]: https://docs.aws.amazon.com/accounts/latest/reference/best-practices.html - AWSAccessKeyId *string - - // The bucket in which to store the AMI. You can specify a bucket that you already - // own or a new bucket that Amazon EC2 creates on your behalf. If you specify a - // bucket that belongs to someone else, Amazon EC2 returns an error. - Bucket *string - - // The beginning of the file name of the AMI. - Prefix *string - - // An Amazon S3 upload policy that gives Amazon EC2 permission to upload items - // into Amazon S3 on your behalf. - UploadPolicy []byte - - // The signature of the JSON document. - UploadPolicySignature *string - - noSmithyDocumentSerde -} - -// Describes a Scheduled Instance. -type ScheduledInstance struct { - - // The Availability Zone. - AvailabilityZone *string - - // The date when the Scheduled Instance was purchased. - CreateDate *time.Time - - // The hourly price for a single instance. - HourlyPrice *string - - // The number of instances. - InstanceCount *int32 - - // The instance type. - InstanceType *string - - // The network platform. - NetworkPlatform *string - - // The time for the next schedule to start. - NextSlotStartTime *time.Time - - // The platform ( Linux/UNIX or Windows ). - Platform *string - - // The time that the previous schedule ended or will end. - PreviousSlotEndTime *time.Time - - // The schedule recurrence. - Recurrence *ScheduledInstanceRecurrence - - // The Scheduled Instance ID. - ScheduledInstanceId *string - - // The number of hours in the schedule. - SlotDurationInHours *int32 - - // The end date for the Scheduled Instance. - TermEndDate *time.Time - - // The start date for the Scheduled Instance. - TermStartDate *time.Time - - // The total number of hours for a single instance for the entire term. - TotalScheduledInstanceHours *int32 - - noSmithyDocumentSerde -} - -// Describes a schedule that is available for your Scheduled Instances. -type ScheduledInstanceAvailability struct { - - // The Availability Zone. - AvailabilityZone *string - - // The number of available instances. - AvailableInstanceCount *int32 - - // The time period for the first schedule to start. - FirstSlotStartTime *time.Time - - // The hourly price for a single instance. - HourlyPrice *string - - // The instance type. You can specify one of the C3, C4, M4, or R3 instance types. - InstanceType *string - - // The maximum term. The only possible value is 365 days. - MaxTermDurationInDays *int32 - - // The minimum term. The only possible value is 365 days. - MinTermDurationInDays *int32 - - // The network platform. - NetworkPlatform *string - - // The platform ( Linux/UNIX or Windows ). - Platform *string - - // The purchase token. This token expires in two hours. - PurchaseToken *string - - // The schedule recurrence. - Recurrence *ScheduledInstanceRecurrence - - // The number of hours in the schedule. - SlotDurationInHours *int32 - - // The total number of hours for a single instance for the entire term. - TotalScheduledInstanceHours *int32 - - noSmithyDocumentSerde -} - -// Describes the recurring schedule for a Scheduled Instance. -type ScheduledInstanceRecurrence struct { - - // The frequency ( Daily , Weekly , or Monthly ). - Frequency *string - - // The interval quantity. The interval unit depends on the value of frequency . For - // example, every 2 weeks or every 2 months. - Interval *int32 - - // The days. For a monthly schedule, this is one or more days of the month (1-31). - // For a weekly schedule, this is one or more days of the week (1-7, where 1 is - // Sunday). - OccurrenceDaySet []int32 - - // Indicates whether the occurrence is relative to the end of the specified week - // or month. - OccurrenceRelativeToEnd *bool - - // The unit for occurrenceDaySet ( DayOfWeek or DayOfMonth ). - OccurrenceUnit *string - - noSmithyDocumentSerde -} - -// Describes the recurring schedule for a Scheduled Instance. -type ScheduledInstanceRecurrenceRequest struct { - - // The frequency ( Daily , Weekly , or Monthly ). - Frequency *string - - // The interval quantity. The interval unit depends on the value of Frequency . For - // example, every 2 weeks or every 2 months. - Interval *int32 - - // The days. For a monthly schedule, this is one or more days of the month (1-31). - // For a weekly schedule, this is one or more days of the week (1-7, where 1 is - // Sunday). You can't specify this value with a daily schedule. If the occurrence - // is relative to the end of the month, you can specify only a single day. - OccurrenceDays []int32 - - // Indicates whether the occurrence is relative to the end of the specified week - // or month. You can't specify this value with a daily schedule. - OccurrenceRelativeToEnd *bool - - // The unit for OccurrenceDays ( DayOfWeek or DayOfMonth ). This value is required - // for a monthly schedule. You can't specify DayOfWeek with a weekly schedule. You - // can't specify this value with a daily schedule. - OccurrenceUnit *string - - noSmithyDocumentSerde -} - -// Describes a block device mapping for a Scheduled Instance. -type ScheduledInstancesBlockDeviceMapping struct { - - // The device name (for example, /dev/sdh or xvdh ). - DeviceName *string - - // Parameters used to set up EBS volumes automatically when the instance is - // launched. - Ebs *ScheduledInstancesEbs - - // To omit the device from the block device mapping, specify an empty string. - NoDevice *string - - // The virtual device name ( ephemeral N). Instance store volumes are numbered - // starting from 0. An instance type with two available instance store volumes can - // specify mappings for ephemeral0 and ephemeral1 . The number of available - // instance store volumes depends on the instance type. After you connect to the - // instance, you must mount the volume. - // - // Constraints: For M3 instances, you must specify instance store volumes in the - // block device mapping for the instance. When you launch an M3 instance, we ignore - // any instance store volumes specified in the block device mapping for the AMI. - VirtualName *string - - noSmithyDocumentSerde -} - -// Describes an EBS volume for a Scheduled Instance. -type ScheduledInstancesEbs struct { - - // Indicates whether the volume is deleted on instance termination. - DeleteOnTermination *bool - - // Indicates whether the volume is encrypted. You can attached encrypted volumes - // only to instances that support them. - Encrypted *bool - - // The number of I/O operations per second (IOPS) to provision for a gp3 , io1 , or - // io2 volume. - Iops *int32 - - // The ID of the snapshot. - SnapshotId *string - - // The size of the volume, in GiB. - // - // Default: If you're creating the volume from a snapshot and don't specify a - // volume size, the default is the snapshot size. - VolumeSize *int32 - - // The volume type. - // - // Default: gp2 - VolumeType *string - - noSmithyDocumentSerde -} - -// Describes an IAM instance profile for a Scheduled Instance. -type ScheduledInstancesIamInstanceProfile struct { - - // The Amazon Resource Name (ARN). - Arn *string - - // The name. - Name *string - - noSmithyDocumentSerde -} - -// Describes an IPv6 address. -type ScheduledInstancesIpv6Address struct { - - // The IPv6 address. - Ipv6Address *string - - noSmithyDocumentSerde -} - -// Describes the launch specification for a Scheduled Instance. -// -// If you are launching the Scheduled Instance in EC2-VPC, you must specify the ID -// of the subnet. You can specify the subnet using either SubnetId or -// NetworkInterface . -type ScheduledInstancesLaunchSpecification struct { - - // The ID of the Amazon Machine Image (AMI). - // - // This member is required. - ImageId *string - - // The block device mapping entries. - BlockDeviceMappings []ScheduledInstancesBlockDeviceMapping - - // Indicates whether the instances are optimized for EBS I/O. This optimization - // provides dedicated throughput to Amazon EBS and an optimized configuration stack - // to provide optimal EBS I/O performance. This optimization isn't available with - // all instance types. Additional usage charges apply when using an EBS-optimized - // instance. - // - // Default: false - EbsOptimized *bool - - // The IAM instance profile. - IamInstanceProfile *ScheduledInstancesIamInstanceProfile - - // The instance type. - InstanceType *string - - // The ID of the kernel. - KernelId *string - - // The name of the key pair. - KeyName *string - - // Enable or disable monitoring for the instances. - Monitoring *ScheduledInstancesMonitoring - - // The network interfaces. - NetworkInterfaces []ScheduledInstancesNetworkInterface - - // The placement information. - Placement *ScheduledInstancesPlacement - - // The ID of the RAM disk. - RamdiskId *string - - // The IDs of the security groups. - SecurityGroupIds []string - - // The ID of the subnet in which to launch the instances. - SubnetId *string - - // The base64-encoded MIME user data. - UserData *string - - noSmithyDocumentSerde -} - -// Describes whether monitoring is enabled for a Scheduled Instance. -type ScheduledInstancesMonitoring struct { - - // Indicates whether monitoring is enabled. - Enabled *bool - - noSmithyDocumentSerde -} - -// Describes a network interface for a Scheduled Instance. -type ScheduledInstancesNetworkInterface struct { - - // Indicates whether to assign a public IPv4 address to instances launched in a - // VPC. The public IPv4 address can only be assigned to a network interface for - // eth0, and can only be assigned to a new network interface, not an existing one. - // You cannot specify more than one network interface in the request. If launching - // into a default subnet, the default value is true . - // - // Amazon Web Services charges for all public IPv4 addresses, including public - // IPv4 addresses associated with running instances and Elastic IP addresses. For - // more information, see the Public IPv4 Address tab on the [Amazon VPC pricing page]. - // - // [Amazon VPC pricing page]: http://aws.amazon.com/vpc/pricing/ - AssociatePublicIpAddress *bool - - // Indicates whether to delete the interface when the instance is terminated. - DeleteOnTermination *bool - - // The description. - Description *string - - // The index of the device for the network interface attachment. - DeviceIndex *int32 - - // The IDs of the security groups. - Groups []string - - // The number of IPv6 addresses to assign to the network interface. The IPv6 - // addresses are automatically selected from the subnet range. - Ipv6AddressCount *int32 - - // The specific IPv6 addresses from the subnet range. - Ipv6Addresses []ScheduledInstancesIpv6Address - - // The ID of the network interface. - NetworkInterfaceId *string - - // The IPv4 address of the network interface within the subnet. - PrivateIpAddress *string - - // The private IPv4 addresses. - PrivateIpAddressConfigs []ScheduledInstancesPrivateIpAddressConfig - - // The number of secondary private IPv4 addresses. - SecondaryPrivateIpAddressCount *int32 - - // The ID of the subnet. - SubnetId *string - - noSmithyDocumentSerde -} - -// Describes the placement for a Scheduled Instance. -type ScheduledInstancesPlacement struct { - - // The Availability Zone. - AvailabilityZone *string - - // The name of the placement group. - GroupName *string - - noSmithyDocumentSerde -} - -// Describes a private IPv4 address for a Scheduled Instance. -type ScheduledInstancesPrivateIpAddressConfig struct { - - // Indicates whether this is a primary IPv4 address. Otherwise, this is a - // secondary IPv4 address. - Primary *bool - - // The IPv4 address. - PrivateIpAddress *string - - noSmithyDocumentSerde -} - -// Describes a security group. -type SecurityGroup struct { - - // A description of the security group. - Description *string - - // The ID of the security group. - GroupId *string - - // The name of the security group. - GroupName *string - - // The inbound rules associated with the security group. - IpPermissions []IpPermission - - // The outbound rules associated with the security group. - IpPermissionsEgress []IpPermission - - // The Amazon Web Services account ID of the owner of the security group. - OwnerId *string - - // The ARN of the security group. - SecurityGroupArn *string - - // Any tags assigned to the security group. - Tags []Tag - - // The ID of the VPC for the security group. - VpcId *string - - noSmithyDocumentSerde -} - -// A security group that can be used by interfaces in the VPC. -type SecurityGroupForVpc struct { - - // The security group's description. - Description *string - - // The security group ID. - GroupId *string - - // The security group name. - GroupName *string - - // The security group owner ID. - OwnerId *string - - // The VPC ID in which the security group was created. - PrimaryVpcId *string - - // The security group tags. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes a security group. -type SecurityGroupIdentifier struct { - - // The ID of the security group. - GroupId *string - - // The name of the security group. - GroupName *string - - noSmithyDocumentSerde -} - -// Describes a VPC with a security group that references your security group. -type SecurityGroupReference struct { - - // The ID of your security group. - GroupId *string - - // The ID of the VPC with the referencing security group. - ReferencingVpcId *string - - // The ID of the transit gateway (if applicable). - TransitGatewayId *string - - // The ID of the VPC peering connection (if applicable). For more information - // about security group referencing for peering connections, see [Update your security groups to reference peer security groups]in the VPC - // Peering Guide. - // - // [Update your security groups to reference peer security groups]: https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html - VpcPeeringConnectionId *string - - noSmithyDocumentSerde -} - -// Describes a security group rule. -type SecurityGroupRule struct { - - // The IPv4 CIDR range. - CidrIpv4 *string - - // The IPv6 CIDR range. - CidrIpv6 *string - - // The security group rule description. - Description *string - - // If the protocol is TCP or UDP, this is the start of the port range. If the - // protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types). - FromPort *int32 - - // The ID of the security group. - GroupId *string - - // The ID of the Amazon Web Services account that owns the security group. - GroupOwnerId *string - - // The IP protocol name ( tcp , udp , icmp , icmpv6 ) or number (see [Protocol Numbers]). - // - // Use -1 to specify all protocols. - // - // [Protocol Numbers]: http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml - IpProtocol *string - - // Indicates whether the security group rule is an outbound rule. - IsEgress *bool - - // The ID of the prefix list. - PrefixListId *string - - // Describes the security group that is referenced in the rule. - ReferencedGroupInfo *ReferencedSecurityGroup - - // The ARN of the security group rule. - SecurityGroupRuleArn *string - - // The ID of the security group rule. - SecurityGroupRuleId *string - - // The tags applied to the security group rule. - Tags []Tag - - // If the protocol is TCP or UDP, this is the end of the port range. If the - // protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes). If the - // start port is -1 (all ICMP types), then the end port must be -1 (all ICMP - // codes). - ToPort *int32 - - noSmithyDocumentSerde -} - -// Describes the description of a security group rule. -// -// You can use this when you want to update the security group rule description -// for either an inbound or outbound rule. -type SecurityGroupRuleDescription struct { - - // The description of the security group rule. - Description *string - - // The ID of the security group rule. - SecurityGroupRuleId *string - - noSmithyDocumentSerde -} - -// Describes a security group rule. -// -// You must specify exactly one of the following parameters, based on the rule -// type: -// -// - CidrIpv4 -// -// - CidrIpv6 -// -// - PrefixListId -// -// - ReferencedGroupId -// -// Amazon Web Services [canonicalizes] IPv4 and IPv6 CIDRs. For example, if you specify -// 100.68.0.18/18 for the CIDR block, Amazon Web Services canonicalizes the CIDR -// block to 100.68.0.0/18. Any subsequent DescribeSecurityGroups and -// DescribeSecurityGroupRules calls will return the canonicalized form of the CIDR -// block. Additionally, if you attempt to add another rule with the non-canonical -// form of the CIDR (such as 100.68.0.18/18) and there is already a rule for the -// canonicalized form of the CIDR block (such as 100.68.0.0/18), the API throws an -// duplicate rule error. -// -// When you modify a rule, you cannot change the rule type. For example, if the -// rule uses an IPv4 address range, you must use CidrIpv4 to specify a new IPv4 -// address range. -// -// [canonicalizes]: https://en.wikipedia.org/wiki/Canonicalization -type SecurityGroupRuleRequest struct { - - // The IPv4 CIDR range. To specify a single IPv4 address, use the /32 prefix - // length. - CidrIpv4 *string - - // The IPv6 CIDR range. To specify a single IPv6 address, use the /128 prefix - // length. - CidrIpv6 *string - - // The description of the security group rule. - Description *string - - // If the protocol is TCP or UDP, this is the start of the port range. If the - // protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types). - FromPort *int32 - - // The IP protocol name ( tcp , udp , icmp , icmpv6 ) or number (see [Protocol Numbers]). - // - // Use -1 to specify all protocols. - // - // [Protocol Numbers]: http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml - IpProtocol *string - - // The ID of the prefix list. - PrefixListId *string - - // The ID of the security group that is referenced in the security group rule. - ReferencedGroupId *string - - // If the protocol is TCP or UDP, this is the end of the port range. If the - // protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes). If the - // start port is -1 (all ICMP types), then the end port must be -1 (all ICMP - // codes). - ToPort *int32 - - noSmithyDocumentSerde -} - -// Describes an update to a security group rule. -type SecurityGroupRuleUpdate struct { - - // The ID of the security group rule. - // - // This member is required. - SecurityGroupRuleId *string - - // Information about the security group rule. - SecurityGroupRule *SecurityGroupRuleRequest - - noSmithyDocumentSerde -} - -// A security group association with a VPC that you made with [AssociateSecurityGroupVpc]. -// -// [AssociateSecurityGroupVpc]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateSecurityGroupVpc.html -type SecurityGroupVpcAssociation struct { - - // The association's security group ID. - GroupId *string - - // The Amazon Web Services account ID of the owner of the security group. - GroupOwnerId *string - - // The association's state. - State SecurityGroupVpcAssociationState - - // The association's state reason. - StateReason *string - - // The association's VPC ID. - VpcId *string - - // The Amazon Web Services account ID of the owner of the VPC. - VpcOwnerId *string - - noSmithyDocumentSerde -} - -// Describes a service configuration for a VPC endpoint service. -type ServiceConfiguration struct { - - // Indicates whether requests from other Amazon Web Services accounts to create an - // endpoint to the service must first be accepted. - AcceptanceRequired *bool - - // The IDs of the Availability Zones in which the service is available. - // - // Either AvailabilityZone or AvailabilityZoneId can be specified, but not both - AvailabilityZoneIds []string - - // The Availability Zones in which the service is available. - // - // Either AvailabilityZone or AvailabilityZoneId can be specified, but not both - AvailabilityZones []string - - // The DNS names for the service. - BaseEndpointDnsNames []string - - // The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service. - GatewayLoadBalancerArns []string - - // Indicates whether the service manages its VPC endpoints. Management of the - // service VPC endpoints using the VPC endpoint API is restricted. - ManagesVpcEndpoints *bool - - // The Amazon Resource Names (ARNs) of the Network Load Balancers for the service. - NetworkLoadBalancerArns []string - - // The payer responsibility. - PayerResponsibility PayerResponsibility - - // The private DNS name for the service. - PrivateDnsName *string - - // Information about the endpoint service private DNS name configuration. - PrivateDnsNameConfiguration *PrivateDnsNameConfiguration - - // Indicates whether consumers can access the service from a Region other than the - // Region where the service is hosted. - RemoteAccessEnabled *bool - - // The ID of the service. - ServiceId *string - - // The name of the service. - ServiceName *string - - // The service state. - ServiceState ServiceState - - // The type of service. - ServiceType []ServiceTypeDetail - - // The supported IP address types. - SupportedIpAddressTypes []ServiceConnectivityType - - // The supported Regions. - SupportedRegions []SupportedRegionDetail - - // The tags assigned to the service. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes a VPC endpoint service. -type ServiceDetail struct { - - // Indicates whether VPC endpoint connection requests to the service must be - // accepted by the service owner. - AcceptanceRequired *bool - - // The IDs of the Availability Zones in which the service is available. - // - // Either AvailabilityZone or AvailabilityZoneId can be specified, but not both - AvailabilityZoneIds []string - - // The Availability Zones in which the service is available. - // - // Either AvailabilityZone or AvailabilityZoneId can be specified, but not both - AvailabilityZones []string - - // The DNS names for the service. - BaseEndpointDnsNames []string - - // Indicates whether the service manages its VPC endpoints. Management of the - // service VPC endpoints using the VPC endpoint API is restricted. - ManagesVpcEndpoints *bool - - // The Amazon Web Services account ID of the service owner. - Owner *string - - // The payer responsibility. - PayerResponsibility PayerResponsibility - - // The private DNS name for the service. - PrivateDnsName *string - - // The verification state of the VPC endpoint service. - // - // Consumers of the endpoint service cannot use the private name when the state is - // not verified . - PrivateDnsNameVerificationState DnsNameState - - // The private DNS names assigned to the VPC endpoint service. - PrivateDnsNames []PrivateDnsDetails - - // The ID of the endpoint service. - ServiceId *string - - // The name of the service. - ServiceName *string - - // The Region where the service is hosted. - ServiceRegion *string - - // The type of service. - ServiceType []ServiceTypeDetail - - // The supported IP address types. - SupportedIpAddressTypes []ServiceConnectivityType - - // The tags assigned to the service. - Tags []Tag - - // Indicates whether the service supports endpoint policies. - VpcEndpointPolicySupported *bool - - noSmithyDocumentSerde -} - -// Describes the service link virtual interfaces that establish connectivity -// between Amazon Web Services Outpost and on-premises networks. -type ServiceLinkVirtualInterface struct { - - // The current state of the service link virtual interface. - ConfigurationState ServiceLinkVirtualInterfaceConfigurationState - - // The IPv4 address assigned to the local gateway virtual interface on the Outpost - // side. - LocalAddress *string - - // The Outpost Amazon Resource Number (ARN) for the service link virtual interface. - OutpostArn *string - - // The Outpost ID for the service link virtual interface. - OutpostId *string - - // The link aggregation group (LAG) ID for the service link virtual interface. - OutpostLagId *string - - // The ID of the Amazon Web Services account that owns the service link virtual - // interface.. - OwnerId *string - - // The IPv4 peer address for the service link virtual interface. - PeerAddress *string - - // The ASN for the Border Gateway Protocol (BGP) associated with the service link - // virtual interface. - PeerBgpAsn *int64 - - // The Amazon Resource Number (ARN) for the service link virtual interface. - ServiceLinkVirtualInterfaceArn *string - - // The ID of the service link virtual interface. - ServiceLinkVirtualInterfaceId *string - - // The tags associated with the service link virtual interface. - Tags []Tag - - // The virtual local area network for the service link virtual interface. - Vlan *int32 - - noSmithyDocumentSerde -} - -// Describes the type of service for a VPC endpoint. -type ServiceTypeDetail struct { - - // The type of service. - ServiceType ServiceType - - noSmithyDocumentSerde -} - -// Describes the time period for a Scheduled Instance to start its first schedule. -// The time period must span less than one day. -type SlotDateTimeRangeRequest struct { - - // The earliest date and time, in UTC, for the Scheduled Instance to start. - // - // This member is required. - EarliestTime *time.Time - - // The latest date and time, in UTC, for the Scheduled Instance to start. This - // value must be later than or equal to the earliest date and at most three months - // in the future. - // - // This member is required. - LatestTime *time.Time - - noSmithyDocumentSerde -} - -// Describes the time period for a Scheduled Instance to start its first schedule. -type SlotStartTimeRangeRequest struct { - - // The earliest date and time, in UTC, for the Scheduled Instance to start. - EarliestTime *time.Time - - // The latest date and time, in UTC, for the Scheduled Instance to start. - LatestTime *time.Time - - noSmithyDocumentSerde -} - -// Describes a snapshot. -type Snapshot struct { - - // The Availability Zone or Local Zone of the snapshot. For example, us-west-1a - // (Availability Zone) or us-west-2-lax-1a (Local Zone). - AvailabilityZone *string - - // Only for snapshot copies created with time-based snapshot copy operations. - // - // The completion duration requested for the time-based snapshot copy operation. - CompletionDurationMinutes *int32 - - // The time stamp when the snapshot was completed. - CompletionTime *time.Time - - // The data encryption key identifier for the snapshot. This value is a unique - // identifier that corresponds to the data encryption key that was used to encrypt - // the original volume or snapshot copy. Because data encryption keys are inherited - // by volumes created from snapshots, and vice versa, if snapshots share the same - // data encryption key identifier, then they belong to the same volume/snapshot - // lineage. This parameter is only returned by DescribeSnapshots. - DataEncryptionKeyId *string - - // The description for the snapshot. - Description *string - - // Indicates whether the snapshot is encrypted. - Encrypted *bool - - // The full size of the snapshot, in bytes. - // - // This is not the incremental size of the snapshot. This is the full snapshot - // size and represents the size of all the blocks that were written to the source - // volume at the time the snapshot was created. - FullSnapshotSizeInBytes *int64 - - // The Amazon Resource Name (ARN) of the KMS key that was used to protect the - // volume encryption key for the parent volume. - KmsKeyId *string - - // The ARN of the Outpost on which the snapshot is stored. For more information, - // see [Amazon EBS local snapshots on Outposts]in the Amazon EBS User Guide. - // - // [Amazon EBS local snapshots on Outposts]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html - OutpostArn *string - - // The Amazon Web Services owner alias, from an Amazon-maintained list ( amazon ). - // This is not the user-configured Amazon Web Services account alias set using the - // IAM console. - OwnerAlias *string - - // The ID of the Amazon Web Services account that owns the EBS snapshot. - OwnerId *string - - // The progress of the snapshot, as a percentage. - Progress *string - - // Only for archived snapshots that are temporarily restored. Indicates the date - // and time when a temporarily restored snapshot will be automatically re-archived. - RestoreExpiryTime *time.Time - - // The ID of the snapshot. Each snapshot receives a unique identifier when it is - // created. - SnapshotId *string - - // Reserved for future use. - SseType SSEType - - // The time stamp when the snapshot was initiated. - StartTime *time.Time - - // The snapshot state. - State SnapshotState - - // Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot copy - // operation fails (for example, if the proper KMS permissions are not obtained) - // this field displays error state details to help you diagnose why the error - // occurred. This parameter is only returned by DescribeSnapshots. - StateMessage *string - - // The storage tier in which the snapshot is stored. standard indicates that the - // snapshot is stored in the standard snapshot storage tier and that it is ready - // for use. archive indicates that the snapshot is currently archived and that it - // must be restored before it can be used. - StorageTier StorageTier - - // Any tags assigned to the snapshot. - Tags []Tag - - // Only for snapshot copies. - // - // Indicates whether the snapshot copy was created with a standard or time-based - // snapshot copy operation. Time-based snapshot copy operations complete within the - // completion duration specified in the request. Standard snapshot copy operations - // are completed on a best-effort basis. - // - // - standard - The snapshot copy was created with a standard snapshot copy - // operation. - // - // - time-based - The snapshot copy was created with a time-based snapshot copy - // operation. - TransferType TransferType - - // The ID of the volume that was used to create the snapshot. Snapshots created by - // a copy snapshot operation have an arbitrary volume ID that you should not use - // for any purpose. - VolumeId *string - - // The size of the volume, in GiB. - VolumeSize *int32 - - noSmithyDocumentSerde -} - -// Describes the snapshot created from the imported disk. -type SnapshotDetail struct { - - // A description for the snapshot. - Description *string - - // The block device mapping for the snapshot. - DeviceName *string - - // The size of the disk in the snapshot, in GiB. - DiskImageSize *float64 - - // The format of the disk image from which the snapshot is created. - Format *string - - // The percentage of progress for the task. - Progress *string - - // The snapshot ID of the disk being imported. - SnapshotId *string - - // A brief status of the snapshot creation. - Status *string - - // A detailed status message for the snapshot creation. - StatusMessage *string - - // The URL used to access the disk image. - Url *string - - // The Amazon S3 bucket for the disk image. - UserBucket *UserBucketDetails - - noSmithyDocumentSerde -} - -// The disk container object for the import snapshot request. -type SnapshotDiskContainer struct { - - // The description of the disk image being imported. - Description *string - - // The format of the disk image being imported. - // - // Valid values: VHD | VMDK | RAW - Format *string - - // The URL to the Amazon S3-based disk image being imported. It can either be a - // https URL (https://..) or an Amazon S3 URL (s3://..). - Url *string - - // The Amazon S3 bucket for the disk image. - UserBucket *UserBucket - - noSmithyDocumentSerde -} - -// Information about a snapshot. -type SnapshotInfo struct { - - // The Availability Zone or Local Zone of the snapshots. For example, us-west-1a - // (Availability Zone) or us-west-2-lax-1a (Local Zone). - AvailabilityZone *string - - // Description specified by the CreateSnapshotRequest that has been applied to all - // snapshots. - Description *string - - // Indicates whether the snapshot is encrypted. - Encrypted *bool - - // The ARN of the Outpost on which the snapshot is stored. For more information, - // see [Amazon EBS local snapshots on Outposts]in the Amazon EBS User Guide. - // - // [Amazon EBS local snapshots on Outposts]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html - OutpostArn *string - - // Account id used when creating this snapshot. - OwnerId *string - - // Progress this snapshot has made towards completing. - Progress *string - - // Snapshot id that can be used to describe this snapshot. - SnapshotId *string - - // Reserved for future use. - SseType SSEType - - // Time this snapshot was started. This is the same for all snapshots initiated by - // the same request. - StartTime *time.Time - - // Current state of the snapshot. - State SnapshotState - - // Tags associated with this snapshot. - Tags []Tag - - // Source volume from which this snapshot was created. - VolumeId *string - - // Size of the volume from which this snapshot was created. - VolumeSize *int32 - - noSmithyDocumentSerde -} - -// Information about a snapshot that is currently in the Recycle Bin. -type SnapshotRecycleBinInfo struct { - - // The description for the snapshot. - Description *string - - // The date and time when the snapshot entered the Recycle Bin. - RecycleBinEnterTime *time.Time - - // The date and time when the snapshot is to be permanently deleted from the - // Recycle Bin. - RecycleBinExitTime *time.Time - - // The ID of the snapshot. - SnapshotId *string - - // The ID of the volume from which the snapshot was created. - VolumeId *string - - noSmithyDocumentSerde -} - -// Details about the import snapshot task. -type SnapshotTaskDetail struct { - - // The description of the disk image being imported. - Description *string - - // The size of the disk in the snapshot, in GiB. - DiskImageSize *float64 - - // Indicates whether the snapshot is encrypted. - Encrypted *bool - - // The format of the disk image from which the snapshot is created. - Format *string - - // The identifier for the KMS key that was used to create the encrypted snapshot. - KmsKeyId *string - - // The percentage of completion for the import snapshot task. - Progress *string - - // The snapshot ID of the disk being imported. - SnapshotId *string - - // A brief status for the import snapshot task. - Status *string - - // A detailed status message for the import snapshot task. - StatusMessage *string - - // The URL of the disk image from which the snapshot is created. - Url *string - - // The Amazon S3 bucket for the disk image. - UserBucket *UserBucketDetails - - noSmithyDocumentSerde -} - -// Provides information about a snapshot's storage tier. -type SnapshotTierStatus struct { - - // The date and time when the last archive process was completed. - ArchivalCompleteTime *time.Time - - // The status of the last archive or restore process. - LastTieringOperationStatus TieringOperationStatus - - // A message describing the status of the last archive or restore process. - LastTieringOperationStatusDetail *string - - // The progress of the last archive or restore process, as a percentage. - LastTieringProgress *int32 - - // The date and time when the last archive or restore process was started. - LastTieringStartTime *time.Time - - // The ID of the Amazon Web Services account that owns the snapshot. - OwnerId *string - - // Only for archived snapshots that are temporarily restored. Indicates the date - // and time when a temporarily restored snapshot will be automatically re-archived. - RestoreExpiryTime *time.Time - - // The ID of the snapshot. - SnapshotId *string - - // The state of the snapshot. - Status SnapshotState - - // The storage tier in which the snapshot is stored. standard indicates that the - // snapshot is stored in the standard snapshot storage tier and that it is ready - // for use. archive indicates that the snapshot is currently archived and that it - // must be restored before it can be used. - StorageTier StorageTier - - // The tags that are assigned to the snapshot. - Tags []Tag - - // The ID of the volume from which the snapshot was created. - VolumeId *string - - noSmithyDocumentSerde -} - -// The Spot Instance replacement strategy to use when Amazon EC2 emits a signal -// that your Spot Instance is at an elevated risk of being interrupted. For more -// information, see [Capacity rebalancing]in the Amazon EC2 User Guide. -// -// [Capacity rebalancing]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-capacity-rebalance.html -type SpotCapacityRebalance struct { - - // The replacement strategy to use. Only available for fleets of type maintain . - // - // launch - Spot Fleet launches a new replacement Spot Instance when a rebalance - // notification is emitted for an existing Spot Instance in the fleet. Spot Fleet - // does not terminate the instances that receive a rebalance notification. You can - // terminate the old instances, or you can leave them running. You are charged for - // all instances while they are running. - // - // launch-before-terminate - Spot Fleet launches a new replacement Spot Instance - // when a rebalance notification is emitted for an existing Spot Instance in the - // fleet, and then, after a delay that you specify (in TerminationDelay ), - // terminates the instances that received a rebalance notification. - ReplacementStrategy ReplacementStrategy - - // The amount of time (in seconds) that Amazon EC2 waits before terminating the - // old Spot Instance after launching a new replacement Spot Instance. - // - // Required when ReplacementStrategy is set to launch-before-terminate . - // - // Not valid when ReplacementStrategy is set to launch . - // - // Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds. - TerminationDelay *int32 - - noSmithyDocumentSerde -} - -// Describes the data feed for a Spot Instance. -type SpotDatafeedSubscription struct { - - // The name of the Amazon S3 bucket where the Spot Instance data feed is located. - Bucket *string - - // The fault codes for the Spot Instance request, if any. - Fault *SpotInstanceStateFault - - // The Amazon Web Services account ID of the account. - OwnerId *string - - // The prefix for the data feed files. - Prefix *string - - // The state of the Spot Instance data feed subscription. - State DatafeedSubscriptionState - - noSmithyDocumentSerde -} - -// Describes the launch specification for one or more Spot Instances. If you -// include On-Demand capacity in your fleet request or want to specify an EFA -// network device, you can't use SpotFleetLaunchSpecification ; you must use [LaunchTemplateConfig]. -// -// [LaunchTemplateConfig]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html -type SpotFleetLaunchSpecification struct { - - // Deprecated. - AddressingType *string - - // One or more block devices that are mapped to the Spot Instances. You can't - // specify both a snapshot ID and an encryption value. This is because only blank - // volumes can be encrypted on creation. If a snapshot is the basis for a volume, - // it is not blank and its encryption status is used for the volume encryption - // status. - BlockDeviceMappings []BlockDeviceMapping - - // Indicates whether the instances are optimized for EBS I/O. This optimization - // provides dedicated throughput to Amazon EBS and an optimized configuration stack - // to provide optimal EBS I/O performance. This optimization isn't available with - // all instance types. Additional usage charges apply when using an EBS Optimized - // instance. - // - // Default: false - EbsOptimized *bool - - // The IAM instance profile. - IamInstanceProfile *IamInstanceProfileSpecification - - // The ID of the AMI. - ImageId *string - - // The attributes for the instance types. When you specify instance attributes, - // Amazon EC2 will identify instance types with those attributes. - // - // If you specify InstanceRequirements , you can't specify InstanceType . - InstanceRequirements *InstanceRequirements - - // The instance type. - InstanceType InstanceType - - // The ID of the kernel. - KernelId *string - - // The name of the key pair. - KeyName *string - - // Enable or disable monitoring for the instances. - Monitoring *SpotFleetMonitoring - - // The network interfaces. - // - // SpotFleetLaunchSpecification does not support Elastic Fabric Adapter (EFA). You - // must use [LaunchTemplateConfig]instead. - // - // [LaunchTemplateConfig]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html - NetworkInterfaces []InstanceNetworkInterfaceSpecification - - // The placement information. - Placement *SpotPlacement - - // The ID of the RAM disk. Some kernels require additional drivers at launch. - // Check the kernel requirements for information about whether you need to specify - // a RAM disk. To find kernel requirements, refer to the Amazon Web Services - // Resource Center and search for the kernel ID. - RamdiskId *string - - // The security groups. - // - // If you specify a network interface, you must specify any security groups as - // part of the network interface instead of using this parameter. - SecurityGroups []GroupIdentifier - - // The maximum price per unit hour that you are willing to pay for a Spot - // Instance. We do not recommend using this parameter because it can lead to - // increased interruptions. If you do not specify this parameter, you will pay the - // current Spot price. - // - // If you specify a maximum price, your instances will be interrupted more - // frequently than if you do not specify this parameter. - SpotPrice *string - - // The IDs of the subnets in which to launch the instances. To specify multiple - // subnets, separate them using commas; for example, "subnet-1234abcdeexample1, - // subnet-0987cdef6example2". - // - // If you specify a network interface, you must specify any subnets as part of the - // network interface instead of using this parameter. - SubnetId *string - - // The tags to apply during creation. - TagSpecifications []SpotFleetTagSpecification - - // The base64-encoded user data that instances use when starting up. User data is - // limited to 16 KB. - UserData *string - - // The number of units provided by the specified instance type. These are the same - // units that you chose to set the target capacity in terms of instances, or a - // performance characteristic such as vCPUs, memory, or I/O. - // - // If the target capacity divided by this value is not a whole number, Amazon EC2 - // rounds the number of instances to the next whole number. If this value is not - // specified, the default is 1. - // - // When specifying weights, the price used in the lowestPrice and - // priceCapacityOptimized allocation strategies is per unit hour (where the - // instance price is divided by the specified weight). However, if all the - // specified weights are above the requested TargetCapacity , resulting in only 1 - // instance being launched, the price used is per instance hour. - WeightedCapacity *float64 - - noSmithyDocumentSerde -} - -// Describes whether monitoring is enabled. -type SpotFleetMonitoring struct { - - // Enables monitoring for the instance. - // - // Default: false - Enabled *bool - - noSmithyDocumentSerde -} - -// Describes a Spot Fleet request. -type SpotFleetRequestConfig struct { - - // The progress of the Spot Fleet request. If there is an error, the status is - // error . After all requests are placed, the status is pending_fulfillment . If - // the size of the fleet is equal to or greater than its target capacity, the - // status is fulfilled . If the size of the fleet is decreased, the status is - // pending_termination while Spot Instances are terminating. - ActivityStatus ActivityStatus - - // The creation date and time of the request. - CreateTime *time.Time - - // The configuration of the Spot Fleet request. - SpotFleetRequestConfig *SpotFleetRequestConfigData - - // The ID of the Spot Fleet request. - SpotFleetRequestId *string - - // The state of the Spot Fleet request. - SpotFleetRequestState BatchState - - // The tags for a Spot Fleet resource. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes the configuration of a Spot Fleet request. -type SpotFleetRequestConfigData struct { - - // The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role - // that grants the Spot Fleet the permission to request, launch, terminate, and tag - // instances on your behalf. For more information, see [Spot Fleet prerequisites]in the Amazon EC2 User - // Guide. Spot Fleet can terminate Spot Instances on your behalf when you cancel - // its Spot Fleet request using [CancelSpotFleetRequests]or when the Spot Fleet request expires, if you set - // TerminateInstancesWithExpiration . - // - // [CancelSpotFleetRequests]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CancelSpotFleetRequests - // [Spot Fleet prerequisites]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html#spot-fleet-prerequisites - // - // This member is required. - IamFleetRole *string - - // The number of units to request for the Spot Fleet. You can choose to set the - // target capacity in terms of instances or a performance characteristic that is - // important to your application workload, such as vCPUs, memory, or I/O. If the - // request type is maintain , you can specify a target capacity of 0 and add - // capacity later. - // - // This member is required. - TargetCapacity *int32 - - // The strategy that determines how to allocate the target Spot Instance capacity - // across the Spot Instance pools specified by the Spot Fleet launch configuration. - // For more information, see [Allocation strategies for Spot Instances]in the Amazon EC2 User Guide. - // - // priceCapacityOptimized (recommended) Spot Fleet identifies the pools with the - // highest capacity availability for the number of instances that are launching. - // This means that we will request Spot Instances from the pools that we believe - // have the lowest chance of interruption in the near term. Spot Fleet then - // requests Spot Instances from the lowest priced of these pools. - // - // capacityOptimized Spot Fleet identifies the pools with the highest capacity - // availability for the number of instances that are launching. This means that we - // will request Spot Instances from the pools that we believe have the lowest - // chance of interruption in the near term. To give certain instance types a higher - // chance of launching first, use capacityOptimizedPrioritized . Set a priority for - // each instance type by using the Priority parameter for LaunchTemplateOverrides . - // You can assign the same priority to different LaunchTemplateOverrides . EC2 - // implements the priorities on a best-effort basis, but optimizes for capacity - // first. capacityOptimizedPrioritized is supported only if your Spot Fleet uses a - // launch template. Note that if the OnDemandAllocationStrategy is set to - // prioritized , the same priority is applied when fulfilling On-Demand capacity. - // - // diversified Spot Fleet requests instances from all of the Spot Instance pools - // that you specify. - // - // lowestPrice (not recommended) We don't recommend the lowestPrice allocation - // strategy because it has the highest risk of interruption for your Spot - // Instances. - // - // Spot Fleet requests instances from the lowest priced Spot Instance pool that - // has available capacity. If the lowest priced pool doesn't have available - // capacity, the Spot Instances come from the next lowest priced pool that has - // available capacity. If a pool runs out of capacity before fulfilling your - // desired capacity, Spot Fleet will continue to fulfill your request by drawing - // from the next lowest priced pool. To ensure that your desired capacity is met, - // you might receive Spot Instances from several pools. Because this strategy only - // considers instance price and not capacity availability, it might lead to high - // interruption rates. - // - // Default: lowestPrice - // - // [Allocation strategies for Spot Instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html - AllocationStrategy AllocationStrategy - - // A unique, case-sensitive identifier that you provide to ensure the idempotency - // of your listings. This helps to avoid duplicate listings. For more information, - // see [Ensuring Idempotency]. - // - // [Ensuring Idempotency]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html - ClientToken *string - - // Reserved. - Context *string - - // Indicates whether running instances should be terminated if you decrease the - // target capacity of the Spot Fleet request below the current size of the Spot - // Fleet. - // - // Supported only for fleets of type maintain . - ExcessCapacityTerminationPolicy ExcessCapacityTerminationPolicy - - // The number of units fulfilled by this request compared to the set target - // capacity. You cannot set this value. - FulfilledCapacity *float64 - - // The behavior when a Spot Instance is interrupted. The default is terminate . - InstanceInterruptionBehavior InstanceInterruptionBehavior - - // The number of Spot pools across which to allocate your target Spot capacity. - // Valid only when Spot AllocationStrategy is set to lowest-price . Spot Fleet - // selects the cheapest Spot pools and evenly allocates your target Spot capacity - // across the number of Spot pools that you specify. - // - // Note that Spot Fleet attempts to draw Spot Instances from the number of pools - // that you specify on a best effort basis. If a pool runs out of Spot capacity - // before fulfilling your target capacity, Spot Fleet will continue to fulfill your - // request by drawing from the next cheapest pool. To ensure that your target - // capacity is met, you might receive Spot Instances from more than the number of - // pools that you specified. Similarly, if most of the pools have no Spot capacity, - // you might receive your full target capacity from fewer than the number of pools - // that you specified. - InstancePoolsToUseCount *int32 - - // The launch specifications for the Spot Fleet request. If you specify - // LaunchSpecifications , you can't specify LaunchTemplateConfigs . If you include - // On-Demand capacity in your request, you must use LaunchTemplateConfigs . - // - // If an AMI specified in a launch specification is deregistered or disabled, no - // new instances can be launched from the AMI. For fleets of type maintain , the - // target capacity will not be maintained. - LaunchSpecifications []SpotFleetLaunchSpecification - - // The launch template and overrides. If you specify LaunchTemplateConfigs , you - // can't specify LaunchSpecifications . If you include On-Demand capacity in your - // request, you must use LaunchTemplateConfigs . - LaunchTemplateConfigs []LaunchTemplateConfig - - // One or more Classic Load Balancers and target groups to attach to the Spot - // Fleet request. Spot Fleet registers the running Spot Instances with the - // specified Classic Load Balancers and target groups. - // - // With Network Load Balancers, Spot Fleet cannot register instances that have the - // following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, - // M1, M2, M3, and T1. - LoadBalancersConfig *LoadBalancersConfig - - // The order of the launch template overrides to use in fulfilling On-Demand - // capacity. If you specify lowestPrice , Spot Fleet uses price to determine the - // order, launching the lowest price first. If you specify prioritized , Spot Fleet - // uses the priority that you assign to each Spot Fleet launch template override, - // launching the highest priority first. If you do not specify a value, Spot Fleet - // defaults to lowestPrice . - OnDemandAllocationStrategy OnDemandAllocationStrategy - - // The number of On-Demand units fulfilled by this request compared to the set - // target On-Demand capacity. - OnDemandFulfilledCapacity *float64 - - // The maximum amount per hour for On-Demand Instances that you're willing to pay. - // You can use the onDemandMaxTotalPrice parameter, the spotMaxTotalPrice - // parameter, or both parameters to ensure that your fleet cost does not exceed - // your budget. If you set a maximum price per hour for the On-Demand Instances and - // Spot Instances in your request, Spot Fleet will launch instances until it - // reaches the maximum amount you're willing to pay. When the maximum amount you're - // willing to pay is reached, the fleet stops launching instances even if it hasn’t - // met the target capacity. - // - // If your fleet includes T instances that are configured as unlimited , and if - // their average CPU usage exceeds the baseline utilization, you will incur a - // charge for surplus credits. The onDemandMaxTotalPrice does not account for - // surplus credits, and, if you use surplus credits, your final cost might be - // higher than what you specified for onDemandMaxTotalPrice . For more information, - // see [Surplus credits can incur charges]in the Amazon EC2 User Guide. - // - // [Surplus credits can incur charges]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits - OnDemandMaxTotalPrice *string - - // The number of On-Demand units to request. You can choose to set the target - // capacity in terms of instances or a performance characteristic that is important - // to your application workload, such as vCPUs, memory, or I/O. If the request type - // is maintain , you can specify a target capacity of 0 and add capacity later. - OnDemandTargetCapacity *int32 - - // Indicates whether Spot Fleet should replace unhealthy instances. - ReplaceUnhealthyInstances *bool - - // The strategies for managing your Spot Instances that are at an elevated risk of - // being interrupted. - SpotMaintenanceStrategies *SpotMaintenanceStrategies - - // The maximum amount per hour for Spot Instances that you're willing to pay. You - // can use the spotMaxTotalPrice parameter, the onDemandMaxTotalPrice parameter, - // or both parameters to ensure that your fleet cost does not exceed your budget. - // If you set a maximum price per hour for the On-Demand Instances and Spot - // Instances in your request, Spot Fleet will launch instances until it reaches the - // maximum amount you're willing to pay. When the maximum amount you're willing to - // pay is reached, the fleet stops launching instances even if it hasn’t met the - // target capacity. - // - // If your fleet includes T instances that are configured as unlimited , and if - // their average CPU usage exceeds the baseline utilization, you will incur a - // charge for surplus credits. The spotMaxTotalPrice does not account for surplus - // credits, and, if you use surplus credits, your final cost might be higher than - // what you specified for spotMaxTotalPrice . For more information, see [Surplus credits can incur charges] in the - // Amazon EC2 User Guide. - // - // [Surplus credits can incur charges]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits - SpotMaxTotalPrice *string - - // The maximum price per unit hour that you are willing to pay for a Spot - // Instance. We do not recommend using this parameter because it can lead to - // increased interruptions. If you do not specify this parameter, you will pay the - // current Spot price. - // - // If you specify a maximum price, your instances will be interrupted more - // frequently than if you do not specify this parameter. - SpotPrice *string - - // The key-value pair for tagging the Spot Fleet request on creation. The value - // for ResourceType must be spot-fleet-request , otherwise the Spot Fleet request - // fails. To tag instances at launch, specify the tags in the [launch template](valid only if you - // use LaunchTemplateConfigs ) or in the [SpotFleetTagSpecification] (valid only if you use - // LaunchSpecifications ). For information about tagging after launch, see [Tag your resources]. - // - // [SpotFleetTagSpecification]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html - // [launch template]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template - // [Tag your resources]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources - TagSpecifications []TagSpecification - - // The unit for the target capacity. You can specify this parameter only when - // using attribute-based instance type selection. - // - // Default: units (the number of instances) - TargetCapacityUnitType TargetCapacityUnitType - - // Indicates whether running Spot Instances are terminated when the Spot Fleet - // request expires. - TerminateInstancesWithExpiration *bool - - // The type of request. Indicates whether the Spot Fleet only requests the target - // capacity or also attempts to maintain it. When this value is request , the Spot - // Fleet only places the required requests. It does not attempt to replenish Spot - // Instances if capacity is diminished, nor does it submit requests in alternative - // Spot pools if capacity is not available. When this value is maintain , the Spot - // Fleet maintains the target capacity. The Spot Fleet places the required requests - // to meet capacity and automatically replenishes any interrupted instances. - // Default: maintain . instant is listed but is not used by Spot Fleet. - Type FleetType - - // The start date and time of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). - // By default, Amazon EC2 starts fulfilling the request immediately. - ValidFrom *time.Time - - // The end date and time of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). - // After the end date and time, no new Spot Instance requests are placed or able to - // fulfill the request. If no value is specified, the Spot Fleet request remains - // until you cancel it. - ValidUntil *time.Time - - noSmithyDocumentSerde -} - -// The tags for a Spot Fleet resource. -type SpotFleetTagSpecification struct { - - // The type of resource. Currently, the only resource type that is supported is - // instance . To tag the Spot Fleet request on creation, use the TagSpecifications - // parameter in [SpotFleetRequestConfigData]. - // - // [SpotFleetRequestConfigData]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html - ResourceType ResourceType - - // The tags. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes a Spot Instance request. -type SpotInstanceRequest struct { - - // Deprecated. - ActualBlockHourlyPrice *string - - // The Availability Zone group. If you specify the same Availability Zone group - // for all Spot Instance requests, all Spot Instances are launched in the same - // Availability Zone. - AvailabilityZoneGroup *string - - // Deprecated. - BlockDurationMinutes *int32 - - // The date and time when the Spot Instance request was created, in UTC format - // (for example, YYYY-MM-DDTHH:MM:SSZ). - CreateTime *time.Time - - // The fault codes for the Spot Instance request, if any. - Fault *SpotInstanceStateFault - - // The instance ID, if an instance has been launched to fulfill the Spot Instance - // request. - InstanceId *string - - // The behavior when a Spot Instance is interrupted. - InstanceInterruptionBehavior InstanceInterruptionBehavior - - // The instance launch group. Launch groups are Spot Instances that launch - // together and terminate together. - LaunchGroup *string - - // Additional information for launching instances. - LaunchSpecification *LaunchSpecification - - // The Availability Zone in which the request is launched. - // - // Either launchedAvailabilityZone or launchedAvailabilityZoneId can be specified, - // but not both - LaunchedAvailabilityZone *string - - // The ID of the Availability Zone in which the request is launched. - // - // Either launchedAvailabilityZone or launchedAvailabilityZoneId can be specified, - // but not both - LaunchedAvailabilityZoneId *string - - // The product description associated with the Spot Instance. - ProductDescription RIProductDescription - - // The ID of the Spot Instance request. - SpotInstanceRequestId *string - - // The maximum price per unit hour that you are willing to pay for a Spot - // Instance. We do not recommend using this parameter because it can lead to - // increased interruptions. If you do not specify this parameter, you will pay the - // current Spot price. - // - // If you specify a maximum price, your instances will be interrupted more - // frequently than if you do not specify this parameter. - SpotPrice *string - - // The state of the Spot Instance request. Spot request status information helps - // track your Spot Instance requests. For more information, see [Spot request status]in the Amazon EC2 - // User Guide. - // - // [Spot request status]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html - State SpotInstanceState - - // The status code and status message describing the Spot Instance request. - Status *SpotInstanceStatus - - // Any tags assigned to the resource. - Tags []Tag - - // The Spot Instance request type. - Type SpotInstanceType - - // The start date of the request, in UTC format (for example, - // YYYY-MM-DDTHH:MM:SSZ). The request becomes active at this date and time. - ValidFrom *time.Time - - // The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). - // - // - For a persistent request, the request remains active until the validUntil - // date and time is reached. Otherwise, the request remains active until you cancel - // it. - // - // - For a one-time request, the request remains active until all instances - // launch, the request is canceled, or the validUntil date and time is reached. - // By default, the request is valid for 7 days from the date the request was - // created. - ValidUntil *time.Time - - noSmithyDocumentSerde -} - -// Describes a Spot Instance state change. -type SpotInstanceStateFault struct { - - // The reason code for the Spot Instance state change. - Code *string - - // The message for the Spot Instance state change. - Message *string - - noSmithyDocumentSerde -} - -// Describes the status of a Spot Instance request. -type SpotInstanceStatus struct { - - // The status code. For a list of status codes, see [Spot request status codes] in the Amazon EC2 User Guide. - // - // [Spot request status codes]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html#spot-instance-request-status-understand - Code *string - - // The description for the status code. - Message *string - - // The date and time of the most recent status update, in UTC format (for example, - // YYYY-MM-DDTHH:MM:SSZ). - UpdateTime *time.Time - - noSmithyDocumentSerde -} - -// The strategies for managing your Spot Instances that are at an elevated risk of -// being interrupted. -type SpotMaintenanceStrategies struct { - - // The Spot Instance replacement strategy to use when Amazon EC2 emits a signal - // that your Spot Instance is at an elevated risk of being interrupted. For more - // information, see [Capacity rebalancing]in the Amazon EC2 User Guide. - // - // [Capacity rebalancing]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-capacity-rebalance.html - CapacityRebalance *SpotCapacityRebalance - - noSmithyDocumentSerde -} - -// The options for Spot Instances. -type SpotMarketOptions struct { - - // Deprecated. - BlockDurationMinutes *int32 - - // The behavior when a Spot Instance is interrupted. - // - // If Configured (for [HibernationOptions]HibernationOptions ) is set to true , the - // InstanceInterruptionBehavior parameter is automatically set to hibernate . If - // you set it to stop or terminate , you'll get an error. - // - // If Configured (for [HibernationOptions]HibernationOptions ) is set to false or null , the - // InstanceInterruptionBehavior parameter is automatically set to terminate . You - // can also set it to stop or hibernate . - // - // For more information, see [Interruption behavior] in the Amazon EC2 User Guide. - // - // [HibernationOptions]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_HibernationOptionsRequest.html - // [Interruption behavior]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/interruption-behavior.html - InstanceInterruptionBehavior InstanceInterruptionBehavior - - // The maximum hourly price that you're willing to pay for a Spot Instance. We do - // not recommend using this parameter because it can lead to increased - // interruptions. If you do not specify this parameter, you will pay the current - // Spot price. - // - // If you specify a maximum price, your Spot Instances will be interrupted more - // frequently than if you do not specify this parameter. - // - // If you specify a maximum price, it must be more than USD $0.001. Specifying a - // value below USD $0.001 will result in an InvalidParameterValue error message. - MaxPrice *string - - // The Spot Instance request type. For [RunInstances], persistent Spot Instance requests are - // only supported when the instance interruption behavior is either hibernate or - // stop . - // - // [RunInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances - SpotInstanceType SpotInstanceType - - // The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). Supported - // only for persistent requests. - // - // - For a persistent request, the request remains active until the ValidUntil - // date and time is reached. Otherwise, the request remains active until you cancel - // it. - // - // - For a one-time request, ValidUntil is not supported. The request remains - // active until all instances launch or you cancel the request. - ValidUntil *time.Time - - noSmithyDocumentSerde -} - -// Describes the configuration of Spot Instances in an EC2 Fleet. -type SpotOptions struct { - - // The strategy that determines how to allocate the target Spot Instance capacity - // across the Spot Instance pools specified by the EC2 Fleet launch configuration. - // For more information, see [Allocation strategies for Spot Instances]in the Amazon EC2 User Guide. - // - // price-capacity-optimized (recommended) EC2 Fleet identifies the pools with the - // highest capacity availability for the number of instances that are launching. - // This means that we will request Spot Instances from the pools that we believe - // have the lowest chance of interruption in the near term. EC2 Fleet then requests - // Spot Instances from the lowest priced of these pools. - // - // capacity-optimized EC2 Fleet identifies the pools with the highest capacity - // availability for the number of instances that are launching. This means that we - // will request Spot Instances from the pools that we believe have the lowest - // chance of interruption in the near term. To give certain instance types a higher - // chance of launching first, use capacity-optimized-prioritized . Set a priority - // for each instance type by using the Priority parameter for - // LaunchTemplateOverrides . You can assign the same priority to different - // LaunchTemplateOverrides . EC2 implements the priorities on a best-effort basis, - // but optimizes for capacity first. capacity-optimized-prioritized is supported - // only if your EC2 Fleet uses a launch template. Note that if the On-Demand - // AllocationStrategy is set to prioritized , the same priority is applied when - // fulfilling On-Demand capacity. - // - // diversified EC2 Fleet requests instances from all of the Spot Instance pools - // that you specify. - // - // lowest-price (not recommended) We don't recommend the lowest-price allocation - // strategy because it has the highest risk of interruption for your Spot - // Instances. - // - // EC2 Fleet requests instances from the lowest priced Spot Instance pool that has - // available capacity. If the lowest priced pool doesn't have available capacity, - // the Spot Instances come from the next lowest priced pool that has available - // capacity. If a pool runs out of capacity before fulfilling your desired - // capacity, EC2 Fleet will continue to fulfill your request by drawing from the - // next lowest priced pool. To ensure that your desired capacity is met, you might - // receive Spot Instances from several pools. Because this strategy only considers - // instance price and not capacity availability, it might lead to high interruption - // rates. - // - // Default: lowest-price - // - // [Allocation strategies for Spot Instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html - AllocationStrategy SpotAllocationStrategy - - // The behavior when a Spot Instance is interrupted. - // - // Default: terminate - InstanceInterruptionBehavior SpotInstanceInterruptionBehavior - - // The number of Spot pools across which to allocate your target Spot capacity. - // Supported only when AllocationStrategy is set to lowest-price . EC2 Fleet - // selects the cheapest Spot pools and evenly allocates your target Spot capacity - // across the number of Spot pools that you specify. - // - // Note that EC2 Fleet attempts to draw Spot Instances from the number of pools - // that you specify on a best effort basis. If a pool runs out of Spot capacity - // before fulfilling your target capacity, EC2 Fleet will continue to fulfill your - // request by drawing from the next cheapest pool. To ensure that your target - // capacity is met, you might receive Spot Instances from more than the number of - // pools that you specified. Similarly, if most of the pools have no Spot capacity, - // you might receive your full target capacity from fewer than the number of pools - // that you specified. - InstancePoolsToUseCount *int32 - - // The strategies for managing your workloads on your Spot Instances that will be - // interrupted. Currently only the capacity rebalance strategy is available. - MaintenanceStrategies *FleetSpotMaintenanceStrategies - - // The maximum amount per hour for Spot Instances that you're willing to pay. We - // do not recommend using this parameter because it can lead to increased - // interruptions. If you do not specify this parameter, you will pay the current - // Spot price. - // - // If you specify a maximum price, your Spot Instances will be interrupted more - // frequently than if you do not specify this parameter. - // - // If your fleet includes T instances that are configured as unlimited , and if - // their average CPU usage exceeds the baseline utilization, you will incur a - // charge for surplus credits. The maxTotalPrice does not account for surplus - // credits, and, if you use surplus credits, your final cost might be higher than - // what you specified for maxTotalPrice . For more information, see [Surplus credits can incur charges] in the Amazon - // EC2 User Guide. - // - // [Surplus credits can incur charges]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits - MaxTotalPrice *string - - // The minimum target capacity for Spot Instances in the fleet. If this minimum - // capacity isn't reached, no instances are launched. - // - // Constraints: Maximum value of 1000 . Supported only for fleets of type instant . - // - // At least one of the following must be specified: SingleAvailabilityZone | - // SingleInstanceType - MinTargetCapacity *int32 - - // Indicates that the fleet launches all Spot Instances into a single Availability - // Zone. - // - // Supported only for fleets of type instant . - SingleAvailabilityZone *bool - - // Indicates that the fleet uses a single instance type to launch all Spot - // Instances in the fleet. - // - // Supported only for fleets of type instant . - SingleInstanceType *bool - - noSmithyDocumentSerde -} - -// Describes the configuration of Spot Instances in an EC2 Fleet request. -type SpotOptionsRequest struct { - - // The strategy that determines how to allocate the target Spot Instance capacity - // across the Spot Instance pools specified by the EC2 Fleet launch configuration. - // For more information, see [Allocation strategies for Spot Instances]in the Amazon EC2 User Guide. - // - // price-capacity-optimized (recommended) EC2 Fleet identifies the pools with the - // highest capacity availability for the number of instances that are launching. - // This means that we will request Spot Instances from the pools that we believe - // have the lowest chance of interruption in the near term. EC2 Fleet then requests - // Spot Instances from the lowest priced of these pools. - // - // capacity-optimized EC2 Fleet identifies the pools with the highest capacity - // availability for the number of instances that are launching. This means that we - // will request Spot Instances from the pools that we believe have the lowest - // chance of interruption in the near term. To give certain instance types a higher - // chance of launching first, use capacity-optimized-prioritized . Set a priority - // for each instance type by using the Priority parameter for - // LaunchTemplateOverrides . You can assign the same priority to different - // LaunchTemplateOverrides . EC2 implements the priorities on a best-effort basis, - // but optimizes for capacity first. capacity-optimized-prioritized is supported - // only if your EC2 Fleet uses a launch template. Note that if the On-Demand - // AllocationStrategy is set to prioritized , the same priority is applied when - // fulfilling On-Demand capacity. - // - // diversified EC2 Fleet requests instances from all of the Spot Instance pools - // that you specify. - // - // lowest-price (not recommended) We don't recommend the lowest-price allocation - // strategy because it has the highest risk of interruption for your Spot - // Instances. - // - // EC2 Fleet requests instances from the lowest priced Spot Instance pool that has - // available capacity. If the lowest priced pool doesn't have available capacity, - // the Spot Instances come from the next lowest priced pool that has available - // capacity. If a pool runs out of capacity before fulfilling your desired - // capacity, EC2 Fleet will continue to fulfill your request by drawing from the - // next lowest priced pool. To ensure that your desired capacity is met, you might - // receive Spot Instances from several pools. Because this strategy only considers - // instance price and not capacity availability, it might lead to high interruption - // rates. - // - // Default: lowest-price - // - // [Allocation strategies for Spot Instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html - AllocationStrategy SpotAllocationStrategy - - // The behavior when a Spot Instance is interrupted. - // - // Default: terminate - InstanceInterruptionBehavior SpotInstanceInterruptionBehavior - - // The number of Spot pools across which to allocate your target Spot capacity. - // Supported only when Spot AllocationStrategy is set to lowest-price . EC2 Fleet - // selects the cheapest Spot pools and evenly allocates your target Spot capacity - // across the number of Spot pools that you specify. - // - // Note that EC2 Fleet attempts to draw Spot Instances from the number of pools - // that you specify on a best effort basis. If a pool runs out of Spot capacity - // before fulfilling your target capacity, EC2 Fleet will continue to fulfill your - // request by drawing from the next cheapest pool. To ensure that your target - // capacity is met, you might receive Spot Instances from more than the number of - // pools that you specified. Similarly, if most of the pools have no Spot capacity, - // you might receive your full target capacity from fewer than the number of pools - // that you specified. - InstancePoolsToUseCount *int32 - - // The strategies for managing your Spot Instances that are at an elevated risk of - // being interrupted. - MaintenanceStrategies *FleetSpotMaintenanceStrategiesRequest - - // The maximum amount per hour for Spot Instances that you're willing to pay. We - // do not recommend using this parameter because it can lead to increased - // interruptions. If you do not specify this parameter, you will pay the current - // Spot price. - // - // If you specify a maximum price, your Spot Instances will be interrupted more - // frequently than if you do not specify this parameter. - // - // If your fleet includes T instances that are configured as unlimited , and if - // their average CPU usage exceeds the baseline utilization, you will incur a - // charge for surplus credits. The MaxTotalPrice does not account for surplus - // credits, and, if you use surplus credits, your final cost might be higher than - // what you specified for MaxTotalPrice . For more information, see [Surplus credits can incur charges] in the Amazon - // EC2 User Guide. - // - // [Surplus credits can incur charges]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits - MaxTotalPrice *string - - // The minimum target capacity for Spot Instances in the fleet. If this minimum - // capacity isn't reached, no instances are launched. - // - // Constraints: Maximum value of 1000 . Supported only for fleets of type instant . - // - // At least one of the following must be specified: SingleAvailabilityZone | - // SingleInstanceType - MinTargetCapacity *int32 - - // Indicates that the fleet launches all Spot Instances into a single Availability - // Zone. - // - // Supported only for fleets of type instant . - SingleAvailabilityZone *bool - - // Indicates that the fleet uses a single instance type to launch all Spot - // Instances in the fleet. - // - // Supported only for fleets of type instant . - SingleInstanceType *bool - - noSmithyDocumentSerde -} - -// Describes Spot Instance placement. -type SpotPlacement struct { - - // The Availability Zone. For example, us-east-2a . - // - // [Spot Fleet only] To specify multiple Availability Zones, separate them using - // commas; for example, " us-east-2a , us-east-2b ". - // - // Either AvailabilityZone or AvailabilityZoneId must be specified in the request, - // but not both. - AvailabilityZone *string - - // The ID of the Availability Zone. For example, use2-az1 . - // - // [Spot Fleet only] To specify multiple Availability Zones, separate them using - // commas; for example, " use2-az1 , use2-bz1 ". - // - // Either AvailabilityZone or AvailabilityZoneId must be specified in the request, - // but not both. - AvailabilityZoneId *string - - // The name of the placement group. - GroupName *string - - // The tenancy of the instance (if the instance is running in a VPC). An instance - // with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is - // not supported for Spot Instances. - Tenancy Tenancy - - noSmithyDocumentSerde -} - -// The Spot placement score for this Region or Availability Zone. The score is -// calculated based on the assumption that the capacity-optimized allocation -// strategy is used and that all of the Availability Zones in the Region can be -// used. -type SpotPlacementScore struct { - - // The Availability Zone. - AvailabilityZoneId *string - - // The Region. - Region *string - - // The placement score, on a scale from 1 to 10 . A score of 10 indicates that - // your Spot request is highly likely to succeed in this Region or Availability - // Zone. A score of 1 indicates that your Spot request is not likely to succeed. - Score *int32 - - noSmithyDocumentSerde -} - -// The maximum price per unit hour that you are willing to pay for a Spot -// Instance. We do not recommend using this parameter because it can lead to -// increased interruptions. If you do not specify this parameter, you will pay the -// current Spot price. -// -// If you specify a maximum price, your instances will be interrupted more -// frequently than if you do not specify this parameter. -type SpotPrice struct { - - // The Availability Zone. - AvailabilityZone *string - - // The ID of the Availability Zone. - AvailabilityZoneId *string - - // The instance type. - InstanceType InstanceType - - // A general description of the AMI. - ProductDescription RIProductDescription - - // The maximum price per unit hour that you are willing to pay for a Spot - // Instance. We do not recommend using this parameter because it can lead to - // increased interruptions. If you do not specify this parameter, you will pay the - // current Spot price. - // - // If you specify a maximum price, your instances will be interrupted more - // frequently than if you do not specify this parameter. - SpotPrice *string - - // The date and time the request was created, in UTC format (for example, - // YYYY-MM-DDTHH:MM:SSZ). - Timestamp *time.Time - - noSmithyDocumentSerde -} - -// Describes a stale rule in a security group. -type StaleIpPermission struct { - - // If the protocol is TCP or UDP, this is the start of the port range. If the - // protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types). - FromPort *int32 - - // The IP protocol name ( tcp , udp , icmp , icmpv6 ) or number (see [Protocol Numbers)]. - // - // [Protocol Numbers)]: http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml - IpProtocol *string - - // The IP ranges. Not applicable for stale security group rules. - IpRanges []string - - // The prefix list IDs. Not applicable for stale security group rules. - PrefixListIds []string - - // If the protocol is TCP or UDP, this is the end of the port range. If the - // protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes). - ToPort *int32 - - // The security group pairs. Returns the ID of the referenced security group and - // VPC, and the ID and status of the VPC peering connection. - UserIdGroupPairs []UserIdGroupPair - - noSmithyDocumentSerde -} - -// Describes a stale security group (a security group that contains stale rules). -type StaleSecurityGroup struct { - - // The description of the security group. - Description *string - - // The ID of the security group. - GroupId *string - - // The name of the security group. - GroupName *string - - // Information about the stale inbound rules in the security group. - StaleIpPermissions []StaleIpPermission - - // Information about the stale outbound rules in the security group. - StaleIpPermissionsEgress []StaleIpPermission - - // The ID of the VPC for the security group. - VpcId *string - - noSmithyDocumentSerde -} - -// Describes a state change. -type StateReason struct { - - // The reason code for the state change. - Code *string - - // The message for the state change. - // - // - Server.InsufficientInstanceCapacity : There was insufficient capacity - // available to satisfy the launch request. - // - // - Server.InternalError : An internal error caused the instance to terminate - // during launch. - // - // - Server.ScheduledStop : The instance was stopped due to a scheduled - // retirement. - // - // - Server.SpotInstanceShutdown : The instance was stopped because the number of - // Spot requests with a maximum price equal to or higher than the Spot price - // exceeded available capacity or because of an increase in the Spot price. - // - // - Server.SpotInstanceTermination : The instance was terminated because the - // number of Spot requests with a maximum price equal to or higher than the Spot - // price exceeded available capacity or because of an increase in the Spot price. - // - // - Client.InstanceInitiatedShutdown : The instance was shut down from the - // operating system of the instance. - // - // - Client.InstanceTerminated : The instance was terminated or rebooted during - // AMI creation. - // - // - Client.InternalError : A client error caused the instance to terminate - // during launch. - // - // - Client.InvalidSnapshot.NotFound : The specified snapshot was not found. - // - // - Client.UserInitiatedHibernate : Hibernation was initiated on the instance. - // - // - Client.UserInitiatedShutdown : The instance was shut down using the Amazon - // EC2 API. - // - // - Client.VolumeLimitExceeded : The limit on the number of EBS volumes or total - // storage was exceeded. Decrease usage or request an increase in your account - // limits. - Message *string - - noSmithyDocumentSerde -} - -// Describes the storage location for an instance store-backed AMI. -type Storage struct { - - // An Amazon S3 storage location. - S3 *S3Storage - - noSmithyDocumentSerde -} - -// Describes a storage location in Amazon S3. -type StorageLocation struct { - - // The name of the S3 bucket. - Bucket *string - - // The key. - Key *string - - noSmithyDocumentSerde -} - -// The information about the AMI store task, including the progress of the task. -type StoreImageTaskResult struct { - - // The ID of the AMI that is being stored. - AmiId *string - - // The name of the Amazon S3 bucket that contains the stored AMI object. - Bucket *string - - // The progress of the task as a percentage. - ProgressPercentage *int32 - - // The name of the stored AMI object in the bucket. - S3objectKey *string - - // If the tasks fails, the reason for the failure is returned. If the task - // succeeds, null is returned. - StoreTaskFailureReason *string - - // The state of the store task ( InProgress , Completed , or Failed ). - StoreTaskState *string - - // The time the task started. - TaskStartTime *time.Time - - noSmithyDocumentSerde -} - -// Describes a subnet. -type Subnet struct { - - // Indicates whether a network interface created in this subnet (including a - // network interface created by RunInstances) receives an IPv6 address. - AssignIpv6AddressOnCreation *bool - - // The Availability Zone of the subnet. - AvailabilityZone *string - - // The AZ ID of the subnet. - AvailabilityZoneId *string - - // The number of unused private IPv4 addresses in the subnet. The IPv4 addresses - // for any stopped instances are considered unavailable. - AvailableIpAddressCount *int32 - - // The state of VPC Block Public Access (BPA). - BlockPublicAccessStates *BlockPublicAccessStates - - // The IPv4 CIDR block assigned to the subnet. - CidrBlock *string - - // The customer-owned IPv4 address pool associated with the subnet. - CustomerOwnedIpv4Pool *string - - // Indicates whether this is the default subnet for the Availability Zone. - DefaultForAz *bool - - // Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this - // subnet should return synthetic IPv6 addresses for IPv4-only destinations. - EnableDns64 *bool - - // Indicates the device position for local network interfaces in this subnet. For - // example, 1 indicates local network interfaces in this subnet are the secondary - // network interface (eth1). - EnableLniAtDeviceIndex *int32 - - // Information about the IPv6 CIDR blocks associated with the subnet. - Ipv6CidrBlockAssociationSet []SubnetIpv6CidrBlockAssociation - - // Indicates whether this is an IPv6 only subnet. - Ipv6Native *bool - - // Indicates whether a network interface created in this subnet (including a - // network interface created by RunInstances) receives a customer-owned IPv4 address. - MapCustomerOwnedIpOnLaunch *bool - - // Indicates whether instances launched in this subnet receive a public IPv4 - // address. - // - // Amazon Web Services charges for all public IPv4 addresses, including public - // IPv4 addresses associated with running instances and Elastic IP addresses. For - // more information, see the Public IPv4 Address tab on the [Amazon VPC pricing page]. - // - // [Amazon VPC pricing page]: http://aws.amazon.com/vpc/pricing/ - MapPublicIpOnLaunch *bool - - // The Amazon Resource Name (ARN) of the Outpost. - OutpostArn *string - - // The ID of the Amazon Web Services account that owns the subnet. - OwnerId *string - - // The type of hostnames to assign to instances in the subnet at launch. An - // instance hostname is based on the IPv4 address or ID of the instance. - PrivateDnsNameOptionsOnLaunch *PrivateDnsNameOptionsOnLaunch - - // The current state of the subnet. - // - // - failed : The underlying infrastructure to support the subnet failed to - // provision as expected. - // - // - failed-insufficient-capacity : The underlying infrastructure to support the - // subnet failed to provision due to a shortage of EC2 instance capacity. - State SubnetState - - // The Amazon Resource Name (ARN) of the subnet. - SubnetArn *string - - // The ID of the subnet. - SubnetId *string - - // Any tags assigned to the subnet. - Tags []Tag - - // Indicates if this is a subnet used with Amazon Elastic VMware Service (EVS). - // Possible values are Elastic VMware Service or no value. For more information - // about Amazon EVS, see [Amazon Elastic VMware Service API Reference]. - // - // [Amazon Elastic VMware Service API Reference]: https://docs.aws.amazon.com/evs/latest/APIReference/Welcome.html - Type *string - - // The ID of the VPC the subnet is in. - VpcId *string - - noSmithyDocumentSerde -} - -// Describes the subnet association with the transit gateway multicast domain. -type SubnetAssociation struct { - - // The state of the subnet association. - State TransitGatewayMulitcastDomainAssociationState - - // The ID of the subnet. - SubnetId *string - - noSmithyDocumentSerde -} - -// Describes the state of a CIDR block. -type SubnetCidrBlockState struct { - - // The state of a CIDR block. - State SubnetCidrBlockStateCode - - // A message about the status of the CIDR block, if applicable. - StatusMessage *string - - noSmithyDocumentSerde -} - -// Describes a subnet CIDR reservation. -type SubnetCidrReservation struct { - - // The CIDR that has been reserved. - Cidr *string - - // The description assigned to the subnet CIDR reservation. - Description *string - - // The ID of the account that owns the subnet CIDR reservation. - OwnerId *string - - // The type of reservation. - ReservationType SubnetCidrReservationType - - // The ID of the subnet CIDR reservation. - SubnetCidrReservationId *string - - // The ID of the subnet. - SubnetId *string - - // The tags assigned to the subnet CIDR reservation. - Tags []Tag - - noSmithyDocumentSerde -} - -// Describes the configuration of a subnet for a VPC endpoint. -type SubnetConfiguration struct { - - // The IPv4 address to assign to the endpoint network interface in the subnet. You - // must provide an IPv4 address if the VPC endpoint supports IPv4. - // - // If you specify an IPv4 address when modifying a VPC endpoint, we replace the - // existing endpoint network interface with a new endpoint network interface with - // this IP address. This process temporarily disconnects the subnet and the VPC - // endpoint. - Ipv4 *string - - // The IPv6 address to assign to the endpoint network interface in the subnet. You - // must provide an IPv6 address if the VPC endpoint supports IPv6. - // - // If you specify an IPv6 address when modifying a VPC endpoint, we replace the - // existing endpoint network interface with a new endpoint network interface with - // this IP address. This process temporarily disconnects the subnet and the VPC - // endpoint. - Ipv6 *string - - // The ID of the subnet. - SubnetId *string - - noSmithyDocumentSerde -} - -// Prefixes of the subnet IP. -type SubnetIpPrefixes struct { - - // Array of SubnetIpPrefixes objects. - IpPrefixes []string - - // ID of the subnet. - SubnetId *string - - noSmithyDocumentSerde -} - -// Describes an association between a subnet and an IPv6 CIDR block. -type SubnetIpv6CidrBlockAssociation struct { - - // The ID of the association. - AssociationId *string - - // The source that allocated the IP address space. byoip or amazon indicates - // public IP address space allocated by Amazon or space that you have allocated - // with Bring your own IP (BYOIP). none indicates private space. - IpSource IpSource - - // Public IPv6 addresses are those advertised on the internet from Amazon Web - // Services. Private IP addresses are not and cannot be advertised on the internet - // from Amazon Web Services. - Ipv6AddressAttribute Ipv6AddressAttribute - - // The IPv6 CIDR block. - Ipv6CidrBlock *string - - // The state of the CIDR block. - Ipv6CidrBlockState *SubnetCidrBlockState - - noSmithyDocumentSerde -} - -// Describes an Infrastructure Performance subscription. -type Subscription struct { - - // The Region or Availability Zone that's the target for the subscription. For - // example, eu-west-1 . - Destination *string - - // The metric used for the subscription. - Metric MetricType - - // The data aggregation time for the subscription. - Period PeriodType - - // The Region or Availability Zone that's the source for the subscription. For - // example, us-east-1 . - Source *string - - // The statistic used for the subscription. - Statistic StatisticType - - noSmithyDocumentSerde -} - -// Describes the burstable performance instance whose credit option for CPU usage -// was successfully modified. -type SuccessfulInstanceCreditSpecificationItem struct { - - // The ID of the instance. - InstanceId *string - - noSmithyDocumentSerde -} - -// Describes a Reserved Instance whose queued purchase was successfully deleted. -type SuccessfulQueuedPurchaseDeletion struct { - - // The ID of the Reserved Instance. - ReservedInstancesId *string - - noSmithyDocumentSerde -} - -// Describes a supported Region. -type SupportedRegionDetail struct { - - // The Region code. - Region *string - - // The service state. The possible values are Pending , Available , Deleting , - // Deleted , Failed , and Closed . - ServiceState *string - - noSmithyDocumentSerde -} - -// Describes a tag. -type Tag struct { - - // The key of the tag. - // - // Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode - // characters. May not begin with aws: . - Key *string - - // The value of the tag. - // - // Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode - // characters. - Value *string - - noSmithyDocumentSerde -} - -// Describes a tag. -type TagDescription struct { - - // The tag key. - Key *string - - // The ID of the resource. - ResourceId *string - - // The resource type. - ResourceType ResourceType - - // The tag value. - Value *string - - noSmithyDocumentSerde -} - -// The tags to apply to a resource when the resource is being created. When you -// specify a tag, you must specify the resource type to tag, otherwise the request -// will fail. -// -// The Valid Values lists all the resource types that can be tagged. However, the -// action you're using might not support tagging all of these resource types. If -// you try to tag a resource type that is unsupported for the action you're using, -// you'll get an error. -type TagSpecification struct { - - // The type of resource to tag on creation. - ResourceType ResourceType - - // The tags to apply to the resource. - Tags []Tag - - noSmithyDocumentSerde -} - -// The number of units to request. You can choose to set the target capacity in -// terms of instances or a performance characteristic that is important to your -// application workload, such as vCPUs, memory, or I/O. If the request type is -// maintain , you can specify a target capacity of 0 and add capacity later. -// -// You can use the On-Demand Instance MaxTotalPrice parameter, the Spot Instance -// MaxTotalPrice , or both to ensure that your fleet cost does not exceed your -// budget. If you set a maximum price per hour for the On-Demand Instances and Spot -// Instances in your request, EC2 Fleet will launch instances until it reaches the -// maximum amount that you're willing to pay. When the maximum amount you're -// willing to pay is reached, the fleet stops launching instances even if it hasn’t -// met the target capacity. The MaxTotalPrice parameters are located in [OnDemandOptions] and [SpotOptions]. -// -// [OnDemandOptions]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_OnDemandOptions.html -// [SpotOptions]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptions -type TargetCapacitySpecification struct { - - // The default target capacity type. - DefaultTargetCapacityType DefaultTargetCapacityType - - // The number of On-Demand units to request. If you specify a target capacity for - // Spot units, you cannot specify a target capacity for On-Demand units. - OnDemandTargetCapacity *int32 - - // The maximum number of Spot units to launch. If you specify a target capacity - // for On-Demand units, you cannot specify a target capacity for Spot units. - SpotTargetCapacity *int32 - - // The unit for the target capacity. - TargetCapacityUnitType TargetCapacityUnitType - - // The number of units to request, filled the default target capacity type. - TotalTargetCapacity *int32 - - noSmithyDocumentSerde -} - -// The number of units to request. You can choose to set the target capacity as -// the number of instances. Or you can set the target capacity to a performance -// characteristic that is important to your application workload, such as vCPUs, -// memory, or I/O. If the request type is maintain , you can specify a target -// capacity of 0 and add capacity later. -// -// You can use the On-Demand Instance MaxTotalPrice parameter, the Spot Instance -// MaxTotalPrice parameter, or both parameters to ensure that your fleet cost does -// not exceed your budget. If you set a maximum price per hour for the On-Demand -// Instances and Spot Instances in your request, EC2 Fleet will launch instances -// until it reaches the maximum amount that you're willing to pay. When the maximum -// amount you're willing to pay is reached, the fleet stops launching instances -// even if it hasn't met the target capacity. The MaxTotalPrice parameters are -// located in [OnDemandOptionsRequest]and [SpotOptionsRequest]. -// -// [OnDemandOptionsRequest]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_OnDemandOptionsRequest -// [SpotOptionsRequest]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptionsRequest -type TargetCapacitySpecificationRequest struct { - - // The number of units to request, filled using the default target capacity type. - // - // This member is required. - TotalTargetCapacity *int32 - - // The default target capacity type. - DefaultTargetCapacityType DefaultTargetCapacityType - - // The number of On-Demand units to request. - OnDemandTargetCapacity *int32 - - // The number of Spot units to request. - SpotTargetCapacity *int32 - - // The unit for the target capacity. You can specify this parameter only when - // using attributed-based instance type selection. - // - // Default: units (the number of instances) - TargetCapacityUnitType TargetCapacityUnitType - - noSmithyDocumentSerde -} - -// Information about the Convertible Reserved Instance offering. -type TargetConfiguration struct { - - // The number of instances the Convertible Reserved Instance offering can be - // applied to. This parameter is reserved and cannot be specified in a request - InstanceCount *int32 - - // The ID of the Convertible Reserved Instance offering. - OfferingId *string - - noSmithyDocumentSerde -} - -// Details about the target configuration. -type TargetConfigurationRequest struct { - - // The Convertible Reserved Instance offering ID. - // - // This member is required. - OfferingId *string - - // The number of instances the Convertible Reserved Instance offering can be - // applied to. This parameter is reserved and cannot be specified in a request - InstanceCount *int32 - - noSmithyDocumentSerde -} - -// Describes a load balancer target group. -type TargetGroup struct { - - // The Amazon Resource Name (ARN) of the target group. - Arn *string - - noSmithyDocumentSerde -} - -// Describes the target groups to attach to a Spot Fleet. Spot Fleet registers the -// running Spot Instances with these target groups. -type TargetGroupsConfig struct { - - // One or more target groups. - TargetGroups []TargetGroup - - noSmithyDocumentSerde -} - -// Describes a target network associated with a Client VPN endpoint. -type TargetNetwork struct { - - // The ID of the association. - AssociationId *string - - // The ID of the Client VPN endpoint with which the target network is associated. - ClientVpnEndpointId *string - - // The IDs of the security groups applied to the target network association. - SecurityGroups []string - - // The current state of the target network association. - Status *AssociationStatus - - // The ID of the subnet specified as the target network. - TargetNetworkId *string - - // The ID of the VPC in which the target network (subnet) is located. - VpcId *string - - noSmithyDocumentSerde -} - -// The total value of the new Convertible Reserved Instances. -type TargetReservationValue struct { - - // The total value of the Convertible Reserved Instances that make up the - // exchange. This is the sum of the list value, remaining upfront price, and - // additional upfront cost of the exchange. - ReservationValue *ReservationValue - - // The configuration of the Convertible Reserved Instances that make up the - // exchange. - TargetConfiguration *TargetConfiguration - - noSmithyDocumentSerde -} - -// Information about a terminated Client VPN endpoint client connection. -type TerminateConnectionStatus struct { - - // The ID of the client connection. - ConnectionId *string - - // A message about the status of the client connection, if applicable. - CurrentStatus *ClientVpnConnectionStatus - - // The state of the client connection. - PreviousStatus *ClientVpnConnectionStatus - - noSmithyDocumentSerde -} - -// Describes a through resource statement. -type ThroughResourcesStatement struct { - - // The resource statement. - ResourceStatement *ResourceStatement - - noSmithyDocumentSerde -} - -// Describes a through resource statement. -type ThroughResourcesStatementRequest struct { - - // The resource statement. - ResourceStatement *ResourceStatementRequest - - noSmithyDocumentSerde -} - -// The minimum and maximum amount of total local storage, in GB. -type TotalLocalStorageGB struct { - - // The maximum amount of total local storage, in GB. If this parameter is not - // specified, there is no maximum limit. - Max *float64 - - // The minimum amount of total local storage, in GB. If this parameter is not - // specified, there is no minimum limit. - Min *float64 - - noSmithyDocumentSerde -} - -// The minimum and maximum amount of total local storage, in GB. -type TotalLocalStorageGBRequest struct { - - // The maximum amount of total local storage, in GB. To specify no maximum limit, - // omit this parameter. - Max *float64 - - // The minimum amount of total local storage, in GB. To specify no minimum limit, - // omit this parameter. - Min *float64 - - noSmithyDocumentSerde -} - -// Describes the Traffic Mirror filter. -type TrafficMirrorFilter struct { - - // The description of the Traffic Mirror filter. - Description *string - - // Information about the egress rules that are associated with the Traffic Mirror - // filter. - EgressFilterRules []TrafficMirrorFilterRule - - // Information about the ingress rules that are associated with the Traffic Mirror - // filter. - IngressFilterRules []TrafficMirrorFilterRule - - // The network service traffic that is associated with the Traffic Mirror filter. - NetworkServices []TrafficMirrorNetworkService - - // The tags assigned to the Traffic Mirror filter. - Tags []Tag - - // The ID of the Traffic Mirror filter. - TrafficMirrorFilterId *string - - noSmithyDocumentSerde -} - -// Describes the Traffic Mirror rule. -type TrafficMirrorFilterRule struct { - - // The description of the Traffic Mirror rule. - Description *string - - // The destination CIDR block assigned to the Traffic Mirror rule. - DestinationCidrBlock *string - - // The destination port range assigned to the Traffic Mirror rule. - DestinationPortRange *TrafficMirrorPortRange - - // The protocol assigned to the Traffic Mirror rule. - Protocol *int32 - - // The action assigned to the Traffic Mirror rule. - RuleAction TrafficMirrorRuleAction - - // The rule number of the Traffic Mirror rule. - RuleNumber *int32 - - // The source CIDR block assigned to the Traffic Mirror rule. - SourceCidrBlock *string - - // The source port range assigned to the Traffic Mirror rule. - SourcePortRange *TrafficMirrorPortRange - - // Tags on Traffic Mirroring filter rules. - Tags []Tag - - // The traffic direction assigned to the Traffic Mirror rule. - TrafficDirection TrafficDirection - - // The ID of the Traffic Mirror filter that the rule is associated with. - TrafficMirrorFilterId *string - - // The ID of the Traffic Mirror rule. - TrafficMirrorFilterRuleId *string - - noSmithyDocumentSerde -} - -// Describes the Traffic Mirror port range. -type TrafficMirrorPortRange struct { - - // The start of the Traffic Mirror port range. This applies to the TCP and UDP - // protocols. - FromPort *int32 - - // The end of the Traffic Mirror port range. This applies to the TCP and UDP - // protocols. - ToPort *int32 - - noSmithyDocumentSerde -} - -// Information about the Traffic Mirror filter rule port range. -type TrafficMirrorPortRangeRequest struct { - - // The first port in the Traffic Mirror port range. This applies to the TCP and - // UDP protocols. - FromPort *int32 - - // The last port in the Traffic Mirror port range. This applies to the TCP and UDP - // protocols. - ToPort *int32 - - noSmithyDocumentSerde -} - -// Describes a Traffic Mirror session. -type TrafficMirrorSession struct { - - // The description of the Traffic Mirror session. - Description *string - - // The ID of the Traffic Mirror session's network interface. - NetworkInterfaceId *string - - // The ID of the account that owns the Traffic Mirror session. - OwnerId *string - - // The number of bytes in each packet to mirror. These are the bytes after the - // VXLAN header. To mirror a subset, set this to the length (in bytes) to mirror. - // For example, if you set this value to 100, then the first 100 bytes that meet - // the filter criteria are copied to the target. Do not specify this parameter when - // you want to mirror the entire packet - PacketLength *int32 - - // The session number determines the order in which sessions are evaluated when an - // interface is used by multiple sessions. The first session with a matching filter - // is the one that mirrors the packets. - // - // Valid values are 1-32766. - SessionNumber *int32 - - // The tags assigned to the Traffic Mirror session. - Tags []Tag - - // The ID of the Traffic Mirror filter. - TrafficMirrorFilterId *string - - // The ID for the Traffic Mirror session. - TrafficMirrorSessionId *string - - // The ID of the Traffic Mirror target. - TrafficMirrorTargetId *string - - // The virtual network ID associated with the Traffic Mirror session. - VirtualNetworkId *int32 - - noSmithyDocumentSerde -} - -// Describes a Traffic Mirror target. -type TrafficMirrorTarget struct { - - // Information about the Traffic Mirror target. - Description *string - - // The ID of the Gateway Load Balancer endpoint. - GatewayLoadBalancerEndpointId *string - - // The network interface ID that is attached to the target. - NetworkInterfaceId *string - - // The Amazon Resource Name (ARN) of the Network Load Balancer. - NetworkLoadBalancerArn *string - - // The ID of the account that owns the Traffic Mirror target. - OwnerId *string - - // The tags assigned to the Traffic Mirror target. - Tags []Tag - - // The ID of the Traffic Mirror target. - TrafficMirrorTargetId *string - - // The type of Traffic Mirror target. - Type TrafficMirrorTargetType - - noSmithyDocumentSerde -} - -// Describes a transit gateway. -type TransitGateway struct { - - // The creation time. - CreationTime *time.Time - - // The description of the transit gateway. - Description *string - - // The transit gateway options. - Options *TransitGatewayOptions - - // The ID of the Amazon Web Services account that owns the transit gateway. - OwnerId *string - - // The state of the transit gateway. - State TransitGatewayState - - // The tags for the transit gateway. - Tags []Tag - - // The Amazon Resource Name (ARN) of the transit gateway. - TransitGatewayArn *string - - // The ID of the transit gateway. - TransitGatewayId *string - - noSmithyDocumentSerde -} - -// Describes an association between a resource attachment and a transit gateway -// route table. -type TransitGatewayAssociation struct { - - // The ID of the resource. - ResourceId *string - - // The resource type. Note that the tgw-peering resource type has been deprecated. - ResourceType TransitGatewayAttachmentResourceType - - // The state of the association. - State TransitGatewayAssociationState - - // The ID of the attachment. - TransitGatewayAttachmentId *string - - // The ID of the transit gateway route table. - TransitGatewayRouteTableId *string - - noSmithyDocumentSerde -} - -// Describes an attachment between a resource and a transit gateway. -type TransitGatewayAttachment struct { - - // The association. - Association *TransitGatewayAttachmentAssociation - - // The creation time. - CreationTime *time.Time - - // The ID of the resource. - ResourceId *string - - // The ID of the Amazon Web Services account that owns the resource. - ResourceOwnerId *string - - // The resource type. Note that the tgw-peering resource type has been deprecated. - ResourceType TransitGatewayAttachmentResourceType - - // The attachment state. Note that the initiating state has been deprecated. - State TransitGatewayAttachmentState - - // The tags for the attachment. - Tags []Tag - - // The ID of the attachment. - TransitGatewayAttachmentId *string - - // The ID of the transit gateway. - TransitGatewayId *string - - // The ID of the Amazon Web Services account that owns the transit gateway. - TransitGatewayOwnerId *string - - noSmithyDocumentSerde -} - -// Describes an association. -type TransitGatewayAttachmentAssociation struct { - - // The state of the association. - State TransitGatewayAssociationState - - // The ID of the route table for the transit gateway. - TransitGatewayRouteTableId *string - - noSmithyDocumentSerde -} - -// The BGP configuration information. -type TransitGatewayAttachmentBgpConfiguration struct { - - // The BGP status. - BgpStatus BgpStatus - - // The interior BGP peer IP address for the appliance. - PeerAddress *string - - // The peer Autonomous System Number (ASN). - PeerAsn *int64 - - // The interior BGP peer IP address for the transit gateway. - TransitGatewayAddress *string - - // The transit gateway Autonomous System Number (ASN). - TransitGatewayAsn *int64 - - noSmithyDocumentSerde -} - -// Describes a propagation route table. -type TransitGatewayAttachmentPropagation struct { - - // The state of the propagation route table. - State TransitGatewayPropagationState - - // The ID of the propagation route table. - TransitGatewayRouteTableId *string - - noSmithyDocumentSerde -} - -// Describes a transit gateway Connect attachment. -type TransitGatewayConnect struct { - - // The creation time. - CreationTime *time.Time - - // The Connect attachment options. - Options *TransitGatewayConnectOptions - - // The state of the attachment. - State TransitGatewayAttachmentState - - // The tags for the attachment. - Tags []Tag - - // The ID of the Connect attachment. - TransitGatewayAttachmentId *string - - // The ID of the transit gateway. - TransitGatewayId *string - - // The ID of the attachment from which the Connect attachment was created. - TransportTransitGatewayAttachmentId *string - - noSmithyDocumentSerde -} - -// Describes the Connect attachment options. -type TransitGatewayConnectOptions struct { - - // The tunnel protocol. - Protocol ProtocolValue - - noSmithyDocumentSerde -} - -// Describes a transit gateway Connect peer. -type TransitGatewayConnectPeer struct { - - // The Connect peer details. - ConnectPeerConfiguration *TransitGatewayConnectPeerConfiguration - - // The creation time. - CreationTime *time.Time - - // The state of the Connect peer. - State TransitGatewayConnectPeerState - - // The tags for the Connect peer. - Tags []Tag - - // The ID of the Connect attachment. - TransitGatewayAttachmentId *string - - // The ID of the Connect peer. - TransitGatewayConnectPeerId *string - - noSmithyDocumentSerde -} - -// Describes the Connect peer details. -type TransitGatewayConnectPeerConfiguration struct { - - // The BGP configuration details. - BgpConfigurations []TransitGatewayAttachmentBgpConfiguration - - // The range of interior BGP peer IP addresses. - InsideCidrBlocks []string - - // The Connect peer IP address on the appliance side of the tunnel. - PeerAddress *string - - // The tunnel protocol. - Protocol ProtocolValue - - // The Connect peer IP address on the transit gateway side of the tunnel. - TransitGatewayAddress *string - - noSmithyDocumentSerde -} - -// The BGP options for the Connect attachment. -type TransitGatewayConnectRequestBgpOptions struct { - - // The peer Autonomous System Number (ASN). - PeerAsn *int64 - - noSmithyDocumentSerde -} - -// Describes a transit gateway metering policy. -type TransitGatewayMeteringPolicy struct { - - // The IDs of the middlebox attachments associated with the metering policy. - MiddleboxAttachmentIds []string - - // The state of the transit gateway metering policy. - State TransitGatewayMeteringPolicyState - - // The tags assigned to the transit gateway metering policy. - Tags []Tag - - // The ID of the transit gateway associated with the metering policy. - TransitGatewayId *string - - // The ID of the transit gateway metering policy. - TransitGatewayMeteringPolicyId *string - - // The date and time when the metering policy update becomes effective. - UpdateEffectiveAt *time.Time - - noSmithyDocumentSerde -} - -// Describes an entry in a transit gateway metering policy. -type TransitGatewayMeteringPolicyEntry struct { - - // The Amazon Web Services account ID to which the metered traffic is attributed. - MeteredAccount TransitGatewayMeteringPayerType - - // The metering policy rule that defines traffic matching criteria. - MeteringPolicyRule *TransitGatewayMeteringPolicyRule - - // The rule number of the metering policy entry. - PolicyRuleNumber *string - - // The state of the metering policy entry. - State TransitGatewayMeteringPolicyEntryState - - // The date and time when the metering policy entry update becomes effective. - UpdateEffectiveAt *time.Time - - // The date and time when the metering policy entry was last updated. - UpdatedAt *time.Time - - noSmithyDocumentSerde -} - -// Describes the traffic matching criteria for a transit gateway metering policy -// rule. -type TransitGatewayMeteringPolicyRule struct { - - // The destination CIDR block for the rule. - DestinationCidrBlock *string - - // The destination port range for the rule. - DestinationPortRange *string - - // The ID of the destination transit gateway attachment. - DestinationTransitGatewayAttachmentId *string - - // The type of the destination transit gateway attachment. Note that the - // tgw-peering resource type has been deprecated. To configure metering policies - // for Connect, use the transport attachment type. - DestinationTransitGatewayAttachmentType TransitGatewayAttachmentResourceType - - // The protocol for the rule (1, 6, 17, etc.). - Protocol *string - - // The source CIDR block for the rule. - SourceCidrBlock *string - - // The source port range for the rule. - SourcePortRange *string - - // The ID of the source transit gateway attachment. - SourceTransitGatewayAttachmentId *string - - // The type of the source transit gateway attachment. Note that the tgw-peering - // resource type has been deprecated. To configure metering policies for Connect, - // use the transport attachment type. - SourceTransitGatewayAttachmentType TransitGatewayAttachmentResourceType - - noSmithyDocumentSerde -} - -// Describes the deregistered transit gateway multicast group members. -type TransitGatewayMulticastDeregisteredGroupMembers struct { - - // The network interface IDs of the deregistered members. - DeregisteredNetworkInterfaceIds []string - - // The IP address assigned to the transit gateway multicast group. - GroupIpAddress *string - - // The ID of the transit gateway multicast domain. - TransitGatewayMulticastDomainId *string - - noSmithyDocumentSerde -} - -// Describes the deregistered transit gateway multicast group sources. -type TransitGatewayMulticastDeregisteredGroupSources struct { - - // The network interface IDs of the non-registered members. - DeregisteredNetworkInterfaceIds []string - - // The IP address assigned to the transit gateway multicast group. - GroupIpAddress *string - - // The ID of the transit gateway multicast domain. - TransitGatewayMulticastDomainId *string - - noSmithyDocumentSerde -} - -// Describes the transit gateway multicast domain. -type TransitGatewayMulticastDomain struct { - - // The time the transit gateway multicast domain was created. - CreationTime *time.Time - - // The options for the transit gateway multicast domain. - Options *TransitGatewayMulticastDomainOptions - - // The ID of the Amazon Web Services account that owns the transit gateway - // multicast domain. - OwnerId *string - - // The state of the transit gateway multicast domain. - State TransitGatewayMulticastDomainState - - // The tags for the transit gateway multicast domain. - Tags []Tag - - // The ID of the transit gateway. - TransitGatewayId *string - - // The Amazon Resource Name (ARN) of the transit gateway multicast domain. - TransitGatewayMulticastDomainArn *string - - // The ID of the transit gateway multicast domain. - TransitGatewayMulticastDomainId *string - - noSmithyDocumentSerde -} - -// Describes the resources associated with the transit gateway multicast domain. -type TransitGatewayMulticastDomainAssociation struct { - - // The ID of the resource. - ResourceId *string - - // The ID of the Amazon Web Services account that owns the transit gateway - // multicast domain association resource. - ResourceOwnerId *string - - // The type of resource, for example a VPC attachment. - ResourceType TransitGatewayAttachmentResourceType - - // The subnet associated with the transit gateway multicast domain. - Subnet *SubnetAssociation - - // The ID of the transit gateway attachment. - TransitGatewayAttachmentId *string - - noSmithyDocumentSerde -} - -// Describes the multicast domain associations. -type TransitGatewayMulticastDomainAssociations struct { - - // The ID of the resource. - ResourceId *string - - // The ID of the Amazon Web Services account that owns the resource. - ResourceOwnerId *string - - // The type of resource, for example a VPC attachment. - ResourceType TransitGatewayAttachmentResourceType - - // The subnets associated with the multicast domain. - Subnets []SubnetAssociation - - // The ID of the transit gateway attachment. - TransitGatewayAttachmentId *string - - // The ID of the transit gateway multicast domain. - TransitGatewayMulticastDomainId *string - - noSmithyDocumentSerde -} - -// Describes the options for a transit gateway multicast domain. -type TransitGatewayMulticastDomainOptions struct { - - // Indicates whether to automatically cross-account subnet associations that are - // associated with the transit gateway multicast domain. - AutoAcceptSharedAssociations AutoAcceptSharedAssociationsValue - - // Indicates whether Internet Group Management Protocol (IGMP) version 2 is turned - // on for the transit gateway multicast domain. - Igmpv2Support Igmpv2SupportValue - - // Indicates whether support for statically configuring transit gateway multicast - // group sources is turned on. - StaticSourcesSupport StaticSourcesSupportValue - - noSmithyDocumentSerde -} - -// Describes the transit gateway multicast group resources. -type TransitGatewayMulticastGroup struct { - - // The IP address assigned to the transit gateway multicast group. - GroupIpAddress *string - - // Indicates that the resource is a transit gateway multicast group member. - GroupMember *bool - - // Indicates that the resource is a transit gateway multicast group member. - GroupSource *bool - - // The member type (for example, static ). - MemberType MembershipType - - // The ID of the transit gateway attachment. - NetworkInterfaceId *string - - // The ID of the resource. - ResourceId *string - - // The ID of the Amazon Web Services account that owns the transit gateway - // multicast domain group resource. - ResourceOwnerId *string - - // The type of resource, for example a VPC attachment. - ResourceType TransitGatewayAttachmentResourceType - - // The source type. - SourceType MembershipType - - // The ID of the subnet. - SubnetId *string - - // The ID of the transit gateway attachment. - TransitGatewayAttachmentId *string - - noSmithyDocumentSerde -} - -// Describes the registered transit gateway multicast group members. -type TransitGatewayMulticastRegisteredGroupMembers struct { - - // The IP address assigned to the transit gateway multicast group. - GroupIpAddress *string - - // The ID of the registered network interfaces. - RegisteredNetworkInterfaceIds []string - - // The ID of the transit gateway multicast domain. - TransitGatewayMulticastDomainId *string - - noSmithyDocumentSerde -} - -// Describes the members registered with the transit gateway multicast group. -type TransitGatewayMulticastRegisteredGroupSources struct { - - // The IP address assigned to the transit gateway multicast group. - GroupIpAddress *string - - // The IDs of the network interfaces members registered with the transit gateway - // multicast group. - RegisteredNetworkInterfaceIds []string - - // The ID of the transit gateway multicast domain. - TransitGatewayMulticastDomainId *string - - noSmithyDocumentSerde -} - -// Describes the options for a transit gateway. -type TransitGatewayOptions struct { - - // A private Autonomous System Number (ASN) for the Amazon side of a BGP session. - // The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for - // 32-bit ASNs. - AmazonSideAsn *int64 - - // The ID of the default association route table. - AssociationDefaultRouteTableId *string - - // Indicates whether attachment requests are automatically accepted. - AutoAcceptSharedAttachments AutoAcceptSharedAttachmentsValue - - // Indicates whether resource attachments are automatically associated with the - // default association route table. Enabled by default. Either - // defaultRouteTableAssociation or defaultRouteTablePropagation must be set to - // enable for Amazon Web Services Transit Gateway to create the default transit - // gateway route table. - DefaultRouteTableAssociation DefaultRouteTableAssociationValue - - // Indicates whether resource attachments automatically propagate routes to the - // default propagation route table. Enabled by default. If - // defaultRouteTablePropagation is set to enable , Amazon Web Services Transit - // Gateway creates the default transit gateway route table. - DefaultRouteTablePropagation DefaultRouteTablePropagationValue - - // Indicates whether DNS support is enabled. - DnsSupport DnsSupportValue - - // Defines if the Transit Gateway supports VPC Encryption Control. - EncryptionSupport *EncryptionSupport - - // Indicates whether multicast is enabled on the transit gateway - MulticastSupport MulticastSupportValue - - // The ID of the default propagation route table. - PropagationDefaultRouteTableId *string - - // Enables you to reference a security group across VPCs attached to a transit - // gateway to simplify security group management. - // - // This option is disabled by default. - SecurityGroupReferencingSupport SecurityGroupReferencingSupportValue - - // The transit gateway CIDR blocks. - TransitGatewayCidrBlocks []string - - // Indicates whether Equal Cost Multipath Protocol support is enabled. - VpnEcmpSupport VpnEcmpSupportValue - - noSmithyDocumentSerde -} - -// Describes the transit gateway peering attachment. -type TransitGatewayPeeringAttachment struct { - - // Information about the accepter transit gateway. - AccepterTgwInfo *PeeringTgwInfo - - // The ID of the accepter transit gateway attachment. - AccepterTransitGatewayAttachmentId *string - - // The time the transit gateway peering attachment was created. - CreationTime *time.Time - - // Details about the transit gateway peering attachment. - Options *TransitGatewayPeeringAttachmentOptions - - // Information about the requester transit gateway. - RequesterTgwInfo *PeeringTgwInfo - - // The state of the transit gateway peering attachment. Note that the initiating - // state has been deprecated. - State TransitGatewayAttachmentState - - // The status of the transit gateway peering attachment. - Status *PeeringAttachmentStatus - - // The tags for the transit gateway peering attachment. - Tags []Tag - - // The ID of the transit gateway peering attachment. - TransitGatewayAttachmentId *string - - noSmithyDocumentSerde -} - -// Describes dynamic routing for the transit gateway peering attachment. -type TransitGatewayPeeringAttachmentOptions struct { - - // Describes whether dynamic routing is enabled or disabled for the transit - // gateway peering attachment. - DynamicRouting DynamicRoutingValue - - noSmithyDocumentSerde -} - -// Describes a rule associated with a transit gateway policy. -type TransitGatewayPolicyRule struct { - - // The destination CIDR block for the transit gateway policy rule. - DestinationCidrBlock *string - - // The port range for the transit gateway policy rule. Currently this is set to * - // (all). - DestinationPortRange *string - - // The meta data tags used for the transit gateway policy rule. - MetaData *TransitGatewayPolicyRuleMetaData - - // The protocol used by the transit gateway policy rule. - Protocol *string - - // The source CIDR block for the transit gateway policy rule. - SourceCidrBlock *string - - // The port range for the transit gateway policy rule. Currently this is set to * - // (all). - SourcePortRange *string - - noSmithyDocumentSerde -} - -// Describes the meta data tags associated with a transit gateway policy rule. -type TransitGatewayPolicyRuleMetaData struct { - - // The key name for the transit gateway policy rule meta data tag. - MetaDataKey *string - - // The value of the key for the transit gateway policy rule meta data tag. - MetaDataValue *string - - noSmithyDocumentSerde -} - -// Describes a transit gateway policy table. -type TransitGatewayPolicyTable struct { - - // The timestamp when the transit gateway policy table was created. - CreationTime *time.Time - - // The state of the transit gateway policy table - State TransitGatewayPolicyTableState - - // he key-value pairs associated with the transit gateway policy table. - Tags []Tag - - // The ID of the transit gateway. - TransitGatewayId *string - - // The ID of the transit gateway policy table. - TransitGatewayPolicyTableId *string - - noSmithyDocumentSerde -} - -// Describes a transit gateway policy table association. -type TransitGatewayPolicyTableAssociation struct { - - // The resource ID of the transit gateway attachment. - ResourceId *string - - // The resource type for the transit gateway policy table association. - ResourceType TransitGatewayAttachmentResourceType - - // The state of the transit gateway policy table association. - State TransitGatewayAssociationState - - // The ID of the transit gateway attachment. - TransitGatewayAttachmentId *string - - // The ID of the transit gateway policy table. - TransitGatewayPolicyTableId *string - - noSmithyDocumentSerde -} - -// Describes a transit gateway policy table entry -type TransitGatewayPolicyTableEntry struct { - - // The policy rule associated with the transit gateway policy table. - PolicyRule *TransitGatewayPolicyRule - - // The rule number for the transit gateway policy table entry. - PolicyRuleNumber *string - - // The ID of the target route table. - TargetRouteTableId *string - - noSmithyDocumentSerde -} - -// Describes a transit gateway prefix list attachment. -type TransitGatewayPrefixListAttachment struct { - - // The ID of the resource. - ResourceId *string - - // The resource type. Note that the tgw-peering resource type has been deprecated. - ResourceType TransitGatewayAttachmentResourceType - - // The ID of the attachment. - TransitGatewayAttachmentId *string - - noSmithyDocumentSerde -} - -// Describes a prefix list reference. -type TransitGatewayPrefixListReference struct { - - // Indicates whether traffic that matches this route is dropped. - Blackhole *bool - - // The ID of the prefix list. - PrefixListId *string - - // The ID of the prefix list owner. - PrefixListOwnerId *string - - // The state of the prefix list reference. - State TransitGatewayPrefixListReferenceState - - // Information about the transit gateway attachment. - TransitGatewayAttachment *TransitGatewayPrefixListAttachment - - // The ID of the transit gateway route table. - TransitGatewayRouteTableId *string - - noSmithyDocumentSerde -} - -// Describes route propagation. -type TransitGatewayPropagation struct { - - // The ID of the resource. - ResourceId *string - - // The resource type. Note that the tgw-peering resource type has been deprecated. - ResourceType TransitGatewayAttachmentResourceType - - // The state. - State TransitGatewayPropagationState - - // The ID of the attachment. - TransitGatewayAttachmentId *string - - // The ID of the transit gateway route table announcement. - TransitGatewayRouteTableAnnouncementId *string - - // The ID of the transit gateway route table. - TransitGatewayRouteTableId *string - - noSmithyDocumentSerde -} - -// Describes the options for a transit gateway. -type TransitGatewayRequestOptions struct { - - // A private Autonomous System Number (ASN) for the Amazon side of a BGP session. - // The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for - // 32-bit ASNs. The default is 64512 . - AmazonSideAsn *int64 - - // Enable or disable automatic acceptance of attachment requests. Disabled by - // default. - AutoAcceptSharedAttachments AutoAcceptSharedAttachmentsValue - - // Enable or disable automatic association with the default association route - // table. Enabled by default. - DefaultRouteTableAssociation DefaultRouteTableAssociationValue - - // Enable or disable automatic propagation of routes to the default propagation - // route table. Enabled by default. - DefaultRouteTablePropagation DefaultRouteTablePropagationValue - - // Enable or disable DNS support. Enabled by default. - DnsSupport DnsSupportValue - - // Indicates whether multicast is enabled on the transit gateway - MulticastSupport MulticastSupportValue - - // Enables you to reference a security group across VPCs attached to a transit - // gateway to simplify security group management. - // - // This option is disabled by default. - // - // For more information about security group referencing, see [Security group referencing] in the Amazon Web - // Services Transit Gateways Guide. - // - // [Security group referencing]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security - SecurityGroupReferencingSupport SecurityGroupReferencingSupportValue - - // One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size - // /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6. - TransitGatewayCidrBlocks []string - - // Enable or disable Equal Cost Multipath Protocol support. Enabled by default. - VpnEcmpSupport VpnEcmpSupportValue - - noSmithyDocumentSerde -} - -// Describes a route for a transit gateway route table. -type TransitGatewayRoute struct { - - // The CIDR block used for destination matches. - DestinationCidrBlock *string - - // The ID of the prefix list used for destination matches. - PrefixListId *string - - // The state of the route. - State TransitGatewayRouteState - - // The attachments. - TransitGatewayAttachments []TransitGatewayRouteAttachment - - // The ID of the transit gateway route table announcement. - TransitGatewayRouteTableAnnouncementId *string - - // The route type. - Type TransitGatewayRouteType - - noSmithyDocumentSerde -} - -// Describes a route attachment. -type TransitGatewayRouteAttachment struct { - - // The ID of the resource. - ResourceId *string - - // The resource type. Note that the tgw-peering resource type has been deprecated. - ResourceType TransitGatewayAttachmentResourceType - - // The ID of the attachment. - TransitGatewayAttachmentId *string - - noSmithyDocumentSerde -} - -// Describes a transit gateway route table. -type TransitGatewayRouteTable struct { - - // The creation time. - CreationTime *time.Time - - // Indicates whether this is the default association route table for the transit - // gateway. - DefaultAssociationRouteTable *bool - - // Indicates whether this is the default propagation route table for the transit - // gateway. - DefaultPropagationRouteTable *bool - - // The state of the transit gateway route table. - State TransitGatewayRouteTableState - - // Any tags assigned to the route table. - Tags []Tag - - // The ID of the transit gateway. - TransitGatewayId *string - - // The ID of the transit gateway route table. - TransitGatewayRouteTableId *string - - noSmithyDocumentSerde -} - -// Describes a transit gateway route table announcement. -type TransitGatewayRouteTableAnnouncement struct { - - // The direction for the route table announcement. - AnnouncementDirection TransitGatewayRouteTableAnnouncementDirection - - // The ID of the core network for the transit gateway route table announcement. - CoreNetworkId *string - - // The timestamp when the transit gateway route table announcement was created. - CreationTime *time.Time - - // The ID of the core network ID for the peer. - PeerCoreNetworkId *string - - // The ID of the peer transit gateway. - PeerTransitGatewayId *string - - // The ID of the peering attachment. - PeeringAttachmentId *string - - // The state of the transit gateway announcement. - State TransitGatewayRouteTableAnnouncementState - - // The key-value pairs associated with the route table announcement. - Tags []Tag - - // The ID of the transit gateway. - TransitGatewayId *string - - // The ID of the transit gateway route table announcement. - TransitGatewayRouteTableAnnouncementId *string - - // The ID of the transit gateway route table. - TransitGatewayRouteTableId *string - - noSmithyDocumentSerde -} - -// Describes an association between a route table and a resource attachment. -type TransitGatewayRouteTableAssociation struct { - - // The ID of the resource. - ResourceId *string - - // The resource type. Note that the tgw-peering resource type has been deprecated. - ResourceType TransitGatewayAttachmentResourceType - - // The state of the association. - State TransitGatewayAssociationState - - // The ID of the attachment. - TransitGatewayAttachmentId *string - - noSmithyDocumentSerde -} - -// Describes a route table propagation. -type TransitGatewayRouteTablePropagation struct { - - // The ID of the resource. - ResourceId *string - - // The type of resource. Note that the tgw-peering resource type has been - // deprecated. - ResourceType TransitGatewayAttachmentResourceType - - // The state of the resource. - State TransitGatewayPropagationState - - // The ID of the attachment. - TransitGatewayAttachmentId *string - - // The ID of the transit gateway route table announcement. - TransitGatewayRouteTableAnnouncementId *string - - noSmithyDocumentSerde -} - -// Describes a route in a transit gateway route table. -type TransitGatewayRouteTableRoute struct { - - // The ID of the route attachment. - AttachmentId *string - - // The CIDR block used for destination matches. - DestinationCidr *string - - // The ID of the prefix list. - PrefixListId *string - - // The ID of the resource for the route attachment. - ResourceId *string - - // The resource type for the route attachment. - ResourceType *string - - // The route origin. The following are the possible values: - // - // - static - // - // - propagated - RouteOrigin *string - - // The state of the route. - State *string - - noSmithyDocumentSerde -} - -// Describes a VPC attachment. -type TransitGatewayVpcAttachment struct { - - // The creation time. - CreationTime *time.Time - - // The VPC attachment options. - Options *TransitGatewayVpcAttachmentOptions - - // The state of the VPC attachment. Note that the initiating state has been - // deprecated. - State TransitGatewayAttachmentState - - // The IDs of the subnets. - SubnetIds []string - - // The tags for the VPC attachment. - Tags []Tag - - // The ID of the attachment. - TransitGatewayAttachmentId *string - - // The ID of the transit gateway. - TransitGatewayId *string - - // The ID of the VPC. - VpcId *string - - // The ID of the Amazon Web Services account that owns the VPC. - VpcOwnerId *string - - noSmithyDocumentSerde -} - -// Describes the VPC attachment options. -type TransitGatewayVpcAttachmentOptions struct { - - // Indicates whether appliance mode support is enabled. - ApplianceModeSupport ApplianceModeSupportValue - - // Indicates whether DNS support is enabled. - DnsSupport DnsSupportValue - - // Indicates whether IPv6 support is disabled. - Ipv6Support Ipv6SupportValue - - // Enables you to reference a security group across VPCs attached to a transit - // gateway to simplify security group management. - // - // This option is enabled by default. - // - // For more information about security group referencing, see [Security group referencing] in the Amazon Web - // Services Transit Gateways Guide. - // - // [Security group referencing]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security - SecurityGroupReferencingSupport SecurityGroupReferencingSupportValue - - noSmithyDocumentSerde -} - -// Information about an association between a branch network interface with a -// trunk network interface. -type TrunkInterfaceAssociation struct { - - // The ID of the association. - AssociationId *string - - // The ID of the branch network interface. - BranchInterfaceId *string - - // The application key when you use the GRE protocol. - GreKey *int32 - - // The interface protocol. Valid values are VLAN and GRE . - InterfaceProtocol InterfaceProtocolType - - // The tags for the trunk interface association. - Tags []Tag - - // The ID of the trunk network interface. - TrunkInterfaceId *string - - // The ID of the VLAN when you use the VLAN protocol. - VlanId *int32 - - noSmithyDocumentSerde -} - -// The VPN tunnel options. -type TunnelOption struct { - - // The action to take after a DPD timeout occurs. - DpdTimeoutAction *string - - // The number of seconds after which a DPD timeout occurs. - DpdTimeoutSeconds *int32 - - // Status of tunnel endpoint lifecycle control feature. - EnableTunnelLifecycleControl *bool - - // The IKE versions that are permitted for the VPN tunnel. - IkeVersions []IKEVersionsListValue - - // Options for logging VPN tunnel activity. - LogOptions *VpnTunnelLogOptions - - // The external IP address of the VPN tunnel. - OutsideIpAddress *string - - // The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE - // negotiations. - Phase1DHGroupNumbers []Phase1DHGroupNumbersListValue - - // The permitted encryption algorithms for the VPN tunnel for phase 1 IKE - // negotiations. - Phase1EncryptionAlgorithms []Phase1EncryptionAlgorithmsListValue - - // The permitted integrity algorithms for the VPN tunnel for phase 1 IKE - // negotiations. - Phase1IntegrityAlgorithms []Phase1IntegrityAlgorithmsListValue - - // The lifetime for phase 1 of the IKE negotiation, in seconds. - Phase1LifetimeSeconds *int32 - - // The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE - // negotiations. - Phase2DHGroupNumbers []Phase2DHGroupNumbersListValue - - // The permitted encryption algorithms for the VPN tunnel for phase 2 IKE - // negotiations. - Phase2EncryptionAlgorithms []Phase2EncryptionAlgorithmsListValue - - // The permitted integrity algorithms for the VPN tunnel for phase 2 IKE - // negotiations. - Phase2IntegrityAlgorithms []Phase2IntegrityAlgorithmsListValue - - // The lifetime for phase 2 of the IKE negotiation, in seconds. - Phase2LifetimeSeconds *int32 - - // The pre-shared key (PSK) to establish initial authentication between the - // virtual private gateway and the customer gateway. - PreSharedKey *string - - // The percentage of the rekey window determined by RekeyMarginTimeSeconds during - // which the rekey time is randomly selected. - RekeyFuzzPercentage *int32 - - // The margin time, in seconds, before the phase 2 lifetime expires, during which - // the Amazon Web Services side of the VPN connection performs an IKE rekey. - RekeyMarginTimeSeconds *int32 - - // The number of packets in an IKE replay window. - ReplayWindowSize *int32 - - // The action to take when the establishing the VPN tunnels for a VPN connection. - StartupAction *string - - // The range of inside IPv4 addresses for the tunnel. - TunnelInsideCidr *string - - // The range of inside IPv6 addresses for the tunnel. - TunnelInsideIpv6Cidr *string - - noSmithyDocumentSerde -} - -// Describes the burstable performance instance whose credit option for CPU usage -// was not modified. -type UnsuccessfulInstanceCreditSpecificationItem struct { - - // The applicable error for the burstable performance instance whose credit option - // for CPU usage was not modified. - Error *UnsuccessfulInstanceCreditSpecificationItemError - - // The ID of the instance. - InstanceId *string - - noSmithyDocumentSerde -} - -// Information about the error for the burstable performance instance whose credit -// option for CPU usage was not modified. -type UnsuccessfulInstanceCreditSpecificationItemError struct { - - // The error code. - Code UnsuccessfulInstanceCreditSpecificationErrorCode - - // The applicable error message. - Message *string - - noSmithyDocumentSerde -} - -// Information about items that were not successfully processed in a batch call. -type UnsuccessfulItem struct { - - // Information about the error. - Error *UnsuccessfulItemError - - // The ID of the resource. - ResourceId *string - - noSmithyDocumentSerde -} - -// Information about the error that occurred. For more information about errors, -// see [Error codes]. -// -// [Error codes]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html -type UnsuccessfulItemError struct { - - // The error code. - Code *string - - // The error message accompanying the error code. - Message *string - - noSmithyDocumentSerde -} - -// Describes the Amazon S3 bucket for the disk image. -type UserBucket struct { - - // The name of the Amazon S3 bucket where the disk image is located. - S3Bucket *string - - // The file name of the disk image. - S3Key *string - - noSmithyDocumentSerde -} - -// Describes the Amazon S3 bucket for the disk image. -type UserBucketDetails struct { - - // The Amazon S3 bucket from which the disk image was created. - S3Bucket *string - - // The file name of the disk image. - S3Key *string - - noSmithyDocumentSerde -} - -// Describes the user data for an instance. -type UserData struct { - - // The user data. If you are using an Amazon Web Services SDK or command line - // tool, Base64-encoding is performed for you, and you can load the text from a - // file. Otherwise, you must provide Base64-encoded text. - Data *string - - noSmithyDocumentSerde -} - -// Describes a security group and Amazon Web Services account ID pair. -type UserIdGroupPair struct { - - // A description for the security group rule that references this user ID group - // pair. - // - // Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, - // 0-9, spaces, and ._-:/()#,@[]+=;{}!$* - Description *string - - // The ID of the security group. - GroupId *string - - // [Default VPC] The name of the security group. For a security group in a - // nondefault VPC, use the security group ID. - // - // For a referenced security group in another VPC, this value is not returned if - // the referenced security group is deleted. - GroupName *string - - // The status of a VPC peering connection, if applicable. - PeeringStatus *string - - // The ID of an Amazon Web Services account. - // - // For a referenced security group in another VPC, the account ID of the - // referenced security group is returned in the response. If the referenced - // security group is deleted, this value is not returned. - UserId *string - - // The ID of the VPC for the referenced security group, if applicable. - VpcId *string - - // The ID of the VPC peering connection, if applicable. - VpcPeeringConnectionId *string - - noSmithyDocumentSerde -} - -// The error code and error message that is returned for a parameter or parameter -// combination that is not valid when a new launch template or new version of a -// launch template is created. -type ValidationError struct { - - // The error code that indicates why the parameter or parameter combination is not - // valid. For more information about error codes, see [Error codes]. - // - // [Error codes]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html - Code *string - - // The error message that describes why the parameter or parameter combination is - // not valid. For more information about error messages, see [Error codes]. - // - // [Error codes]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html - Message *string - - noSmithyDocumentSerde -} - -// The error codes and error messages that are returned for the parameters or -// parameter combinations that are not valid when a new launch template or new -// version of a launch template is created. -type ValidationWarning struct { - - // The error codes and error messages. - Errors []ValidationError - - noSmithyDocumentSerde -} - -// The minimum and maximum number of vCPUs. -type VCpuCountRange struct { - - // The maximum number of vCPUs. If this parameter is not specified, there is no - // maximum limit. - Max *int32 - - // The minimum number of vCPUs. If the value is 0 , there is no minimum limit. - Min *int32 - - noSmithyDocumentSerde -} - -// The minimum and maximum number of vCPUs. -type VCpuCountRangeRequest struct { - - // The minimum number of vCPUs. To specify no minimum limit, specify 0 . - // - // This member is required. - Min *int32 - - // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. - Max *int32 - - noSmithyDocumentSerde -} - -// Describes the vCPU configurations for the instance type. -type VCpuInfo struct { - - // The default number of cores for the instance type. - DefaultCores *int32 - - // The default number of threads per core for the instance type. - DefaultThreadsPerCore *int32 - - // The default number of vCPUs for the instance type. - DefaultVCpus *int32 - - // The valid number of cores that can be configured for the instance type. - ValidCores []int32 - - // The valid number of threads per core that can be configured for the instance - // type. - ValidThreadsPerCore []int32 - - noSmithyDocumentSerde -} - -// An Amazon Web Services Verified Access endpoint specifies the application that -// Amazon Web Services Verified Access provides access to. It must be attached to -// an Amazon Web Services Verified Access group. An Amazon Web Services Verified -// Access endpoint must also have an attached access policy before you attached it -// to a group. -type VerifiedAccessEndpoint struct { - - // The DNS name for users to reach your application. - ApplicationDomain *string - - // The type of attachment used to provide connectivity between the Amazon Web - // Services Verified Access endpoint and the application. - AttachmentType VerifiedAccessEndpointAttachmentType - - // The options for a CIDR endpoint. - CidrOptions *VerifiedAccessEndpointCidrOptions - - // The creation time. - CreationTime *string - - // The deletion time. - DeletionTime *string - - // A description for the Amazon Web Services Verified Access endpoint. - Description *string - - // Returned if endpoint has a device trust provider attached. - DeviceValidationDomain *string - - // The ARN of a public TLS/SSL certificate imported into or created with ACM. - DomainCertificateArn *string - - // A DNS name that is generated for the endpoint. - EndpointDomain *string - - // The type of Amazon Web Services Verified Access endpoint. Incoming application - // requests will be sent to an IP address, load balancer or a network interface - // depending on the endpoint type specified. - EndpointType VerifiedAccessEndpointType - - // The last updated time. - LastUpdatedTime *string - - // The load balancer details if creating the Amazon Web Services Verified Access - // endpoint as load-balancer type. - LoadBalancerOptions *VerifiedAccessEndpointLoadBalancerOptions - - // The options for network-interface type endpoint. - NetworkInterfaceOptions *VerifiedAccessEndpointEniOptions - - // The options for an RDS endpoint. - RdsOptions *VerifiedAccessEndpointRdsOptions - - // The IDs of the security groups for the endpoint. - SecurityGroupIds []string - - // The options in use for server side encryption. - SseSpecification *VerifiedAccessSseSpecificationResponse - - // The endpoint status. - Status *VerifiedAccessEndpointStatus - - // The tags. - Tags []Tag - - // The ID of the Amazon Web Services Verified Access endpoint. - VerifiedAccessEndpointId *string - - // The ID of the Amazon Web Services Verified Access group. - VerifiedAccessGroupId *string - - // The ID of the Amazon Web Services Verified Access instance. - VerifiedAccessInstanceId *string - - noSmithyDocumentSerde -} - -// Describes the CIDR options for a Verified Access endpoint. -type VerifiedAccessEndpointCidrOptions struct { - - // The CIDR. - Cidr *string - - // The port ranges. - PortRanges []VerifiedAccessEndpointPortRange - - // The protocol. - Protocol VerifiedAccessEndpointProtocol - - // The IDs of the subnets. - SubnetIds []string - - noSmithyDocumentSerde -} - -// Options for a network-interface type endpoint. -type VerifiedAccessEndpointEniOptions struct { - - // The ID of the network interface. - NetworkInterfaceId *string - - // The IP port number. - Port *int32 - - // The port ranges. - PortRanges []VerifiedAccessEndpointPortRange - - // The IP protocol. - Protocol VerifiedAccessEndpointProtocol - - noSmithyDocumentSerde -} - -// Describes a load balancer when creating an Amazon Web Services Verified Access -// endpoint using the load-balancer type. -type VerifiedAccessEndpointLoadBalancerOptions struct { - - // The ARN of the load balancer. - LoadBalancerArn *string - - // The IP port number. - Port *int32 - - // The port ranges. - PortRanges []VerifiedAccessEndpointPortRange - - // The IP protocol. - Protocol VerifiedAccessEndpointProtocol - - // The IDs of the subnets. - SubnetIds []string - - noSmithyDocumentSerde -} - -// Describes a port range. -type VerifiedAccessEndpointPortRange struct { - - // The start of the port range. - FromPort *int32 - - // The end of the port range. - ToPort *int32 - - noSmithyDocumentSerde -} - -// Describes the RDS options for a Verified Access endpoint. -type VerifiedAccessEndpointRdsOptions struct { - - // The port. - Port *int32 - - // The protocol. - Protocol VerifiedAccessEndpointProtocol - - // The ARN of the DB cluster. - RdsDbClusterArn *string - - // The ARN of the RDS instance. - RdsDbInstanceArn *string - - // The ARN of the RDS proxy. - RdsDbProxyArn *string - - // The RDS endpoint. - RdsEndpoint *string - - // The IDs of the subnets. - SubnetIds []string - - noSmithyDocumentSerde -} - -// Describes the status of a Verified Access endpoint. -type VerifiedAccessEndpointStatus struct { - - // The status code of the Verified Access endpoint. - Code VerifiedAccessEndpointStatusCode - - // The status message of the Verified Access endpoint. - Message *string - - noSmithyDocumentSerde -} - -// Describes the targets for the specified Verified Access endpoint. -type VerifiedAccessEndpointTarget struct { - - // The ID of the Verified Access endpoint. - VerifiedAccessEndpointId *string - - // The DNS name of the target. - VerifiedAccessEndpointTargetDns *string - - // The IP address of the target. - VerifiedAccessEndpointTargetIpAddress *string - - noSmithyDocumentSerde -} - -// Describes a Verified Access group. -type VerifiedAccessGroup struct { - - // The creation time. - CreationTime *string - - // The deletion time. - DeletionTime *string - - // A description for the Amazon Web Services Verified Access group. - Description *string - - // The last updated time. - LastUpdatedTime *string - - // The Amazon Web Services account number that owns the group. - Owner *string - - // The options in use for server side encryption. - SseSpecification *VerifiedAccessSseSpecificationResponse - - // The tags. - Tags []Tag - - // The ARN of the Verified Access group. - VerifiedAccessGroupArn *string - - // The ID of the Verified Access group. - VerifiedAccessGroupId *string - - // The ID of the Amazon Web Services Verified Access instance. - VerifiedAccessInstanceId *string - - noSmithyDocumentSerde -} - -// Describes a Verified Access instance. -type VerifiedAccessInstance struct { - - // The custom subdomain. - CidrEndpointsCustomSubDomain *VerifiedAccessInstanceCustomSubDomain - - // The creation time. - CreationTime *string - - // A description for the Amazon Web Services Verified Access instance. - Description *string - - // Indicates whether support for Federal Information Processing Standards (FIPS) - // is enabled on the instance. - FipsEnabled *bool - - // The last updated time. - LastUpdatedTime *string - - // The tags. - Tags []Tag - - // The ID of the Amazon Web Services Verified Access instance. - VerifiedAccessInstanceId *string - - // The IDs of the Amazon Web Services Verified Access trust providers. - VerifiedAccessTrustProviders []VerifiedAccessTrustProviderCondensed - - noSmithyDocumentSerde -} - -// Describes a custom subdomain for a network CIDR endpoint for Verified Access. -type VerifiedAccessInstanceCustomSubDomain struct { - - // The name servers. - Nameservers []string - - // The subdomain. - SubDomain *string - - noSmithyDocumentSerde -} - -// Describes logging options for an Amazon Web Services Verified Access instance. -type VerifiedAccessInstanceLoggingConfiguration struct { - - // Details about the logging options. - AccessLogs *VerifiedAccessLogs - - // The ID of the Amazon Web Services Verified Access instance. - VerifiedAccessInstanceId *string - - noSmithyDocumentSerde -} - -// Describes a set of routes. -type VerifiedAccessInstanceOpenVpnClientConfiguration struct { - - // The base64-encoded Open VPN client configuration. - Config *string - - // The routes. - Routes []VerifiedAccessInstanceOpenVpnClientConfigurationRoute - - noSmithyDocumentSerde -} - -// Describes a route. -type VerifiedAccessInstanceOpenVpnClientConfigurationRoute struct { - - // The CIDR block. - Cidr *string - - noSmithyDocumentSerde -} - -// Describes the trust provider. -type VerifiedAccessInstanceUserTrustProviderClientConfiguration struct { - - // The authorization endpoint of the IdP. - AuthorizationEndpoint *string - - // The OAuth 2.0 client identifier. - ClientId *string - - // The OAuth 2.0 client secret. - ClientSecret *string - - // The OIDC issuer identifier of the IdP. - Issuer *string - - // Indicates whether Proof of Key Code Exchange (PKCE) is enabled. - PkceEnabled *bool - - // The public signing key endpoint. - PublicSigningKeyEndpoint *string - - // The set of user claims to be requested from the IdP. - Scopes *string - - // The token endpoint of the IdP. - TokenEndpoint *string - - // The trust provider type. - Type UserTrustProviderType - - // The user info endpoint of the IdP. - UserInfoEndpoint *string - - noSmithyDocumentSerde -} - -// Options for CloudWatch Logs as a logging destination. -type VerifiedAccessLogCloudWatchLogsDestination struct { - - // The delivery status for access logs. - DeliveryStatus *VerifiedAccessLogDeliveryStatus - - // Indicates whether logging is enabled. - Enabled *bool - - // The ID of the CloudWatch Logs log group. - LogGroup *string - - noSmithyDocumentSerde -} - -// Options for CloudWatch Logs as a logging destination. -type VerifiedAccessLogCloudWatchLogsDestinationOptions struct { - - // Indicates whether logging is enabled. - // - // This member is required. - Enabled *bool - - // The ID of the CloudWatch Logs log group. - LogGroup *string - - noSmithyDocumentSerde -} - -// Describes a log delivery status. -type VerifiedAccessLogDeliveryStatus struct { - - // The status code. - Code VerifiedAccessLogDeliveryStatusCode - - // The status message. - Message *string - - noSmithyDocumentSerde -} - -// Options for Kinesis as a logging destination. -type VerifiedAccessLogKinesisDataFirehoseDestination struct { - - // The delivery status. - DeliveryStatus *VerifiedAccessLogDeliveryStatus - - // The ID of the delivery stream. - DeliveryStream *string - - // Indicates whether logging is enabled. - Enabled *bool - - noSmithyDocumentSerde -} - -// Describes Amazon Kinesis Data Firehose logging options. -type VerifiedAccessLogKinesisDataFirehoseDestinationOptions struct { - - // Indicates whether logging is enabled. - // - // This member is required. - Enabled *bool - - // The ID of the delivery stream. - DeliveryStream *string - - noSmithyDocumentSerde -} - -// Options for Verified Access logs. -type VerifiedAccessLogOptions struct { - - // Sends Verified Access logs to CloudWatch Logs. - CloudWatchLogs *VerifiedAccessLogCloudWatchLogsDestinationOptions - - // Indicates whether to include trust data sent by trust providers in the logs. - IncludeTrustContext *bool - - // Sends Verified Access logs to Kinesis. - KinesisDataFirehose *VerifiedAccessLogKinesisDataFirehoseDestinationOptions - - // The logging version. - // - // Valid values: ocsf-0.1 | ocsf-1.0.0-rc.2 - LogVersion *string - - // Sends Verified Access logs to Amazon S3. - S3 *VerifiedAccessLogS3DestinationOptions - - noSmithyDocumentSerde -} - -// Describes the options for Verified Access logs. -type VerifiedAccessLogs struct { - - // CloudWatch Logs logging destination. - CloudWatchLogs *VerifiedAccessLogCloudWatchLogsDestination - - // Indicates whether trust data is included in the logs. - IncludeTrustContext *bool - - // Kinesis logging destination. - KinesisDataFirehose *VerifiedAccessLogKinesisDataFirehoseDestination - - // The log version. - LogVersion *string - - // Amazon S3 logging options. - S3 *VerifiedAccessLogS3Destination - - noSmithyDocumentSerde -} - -// Options for Amazon S3 as a logging destination. -type VerifiedAccessLogS3Destination struct { - - // The bucket name. - BucketName *string - - // The Amazon Web Services account number that owns the bucket. - BucketOwner *string - - // The delivery status. - DeliveryStatus *VerifiedAccessLogDeliveryStatus - - // Indicates whether logging is enabled. - Enabled *bool - - // The bucket prefix. - Prefix *string - - noSmithyDocumentSerde -} - -// Options for Amazon S3 as a logging destination. -type VerifiedAccessLogS3DestinationOptions struct { - - // Indicates whether logging is enabled. - // - // This member is required. - Enabled *bool - - // The bucket name. - BucketName *string - - // The ID of the Amazon Web Services account that owns the Amazon S3 bucket. - BucketOwner *string - - // The bucket prefix. - Prefix *string - - noSmithyDocumentSerde -} - -// Verified Access provides server side encryption by default to data at rest -// -// using Amazon Web Services-owned KMS keys. You also have the option of using -// customer managed KMS keys, which can be specified using the options below. -type VerifiedAccessSseSpecificationRequest struct { - - // Enable or disable the use of customer managed KMS keys for server side - // encryption. - // - // Valid values: True | False - CustomerManagedKeyEnabled *bool - - // The ARN of the KMS key. - KmsKeyArn *string - - noSmithyDocumentSerde -} - -// The options in use for server side encryption. -type VerifiedAccessSseSpecificationResponse struct { - - // Indicates whether customer managed KMS keys are in use for server side - // encryption. - // - // Valid values: True | False - CustomerManagedKeyEnabled *bool - - // The ARN of the KMS key. - KmsKeyArn *string - - noSmithyDocumentSerde -} - -// Describes a Verified Access trust provider. -type VerifiedAccessTrustProvider struct { - - // The creation time. - CreationTime *string - - // A description for the Amazon Web Services Verified Access trust provider. - Description *string - - // The options for device-identity trust provider. - DeviceOptions *DeviceOptions - - // The type of device-based trust provider. - DeviceTrustProviderType DeviceTrustProviderType - - // The last updated time. - LastUpdatedTime *string - - // The OpenID Connect (OIDC) options. - NativeApplicationOidcOptions *NativeApplicationOidcOptions - - // The options for an OpenID Connect-compatible user-identity trust provider. - OidcOptions *OidcOptions - - // The identifier to be used when working with policy rules. - PolicyReferenceName *string - - // The options in use for server side encryption. - SseSpecification *VerifiedAccessSseSpecificationResponse - - // The tags. - Tags []Tag - - // The type of Verified Access trust provider. - TrustProviderType TrustProviderType - - // The type of user-based trust provider. - UserTrustProviderType UserTrustProviderType - - // The ID of the Amazon Web Services Verified Access trust provider. - VerifiedAccessTrustProviderId *string - - noSmithyDocumentSerde -} - -// Condensed information about a trust provider. -type VerifiedAccessTrustProviderCondensed struct { - - // The description of trust provider. - Description *string - - // The type of device-based trust provider. - DeviceTrustProviderType DeviceTrustProviderType - - // The type of trust provider (user- or device-based). - TrustProviderType TrustProviderType - - // The type of user-based trust provider. - UserTrustProviderType UserTrustProviderType - - // The ID of the trust provider. - VerifiedAccessTrustProviderId *string - - noSmithyDocumentSerde -} - -// Describes telemetry for a VPN tunnel. -type VgwTelemetry struct { - - // The number of accepted routes. - AcceptedRouteCount *int32 - - // The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate. - CertificateArn *string - - // The date and time of the last change in status. This field is updated when - // changes in IKE (Phase 1), IPSec (Phase 2), or BGP status are detected. - LastStatusChange *time.Time - - // The Internet-routable IP address of the virtual private gateway's outside - // interface. - OutsideIpAddress *string - - // The status of the VPN tunnel. - Status TelemetryStatus - - // If an error occurs, a description of the error. - StatusMessage *string - - noSmithyDocumentSerde -} - -// Describes a volume. -type Volume struct { - - // This parameter is not returned by CreateVolume. - // - // Information about the volume attachments. - Attachments []VolumeAttachment - - // The Availability Zone for the volume. - AvailabilityZone *string - - // The ID of the Availability Zone for the volume. - AvailabilityZoneId *string - - // The time stamp when volume creation was initiated. - CreateTime *time.Time - - // Indicates whether the volume is encrypted. - Encrypted *bool - - // This parameter is not returned by CreateVolume. - // - // Indicates whether the volume was created using fast snapshot restore. - FastRestored *bool - - // The number of I/O operations per second (IOPS). For gp3 , io1 , and io2 - // volumes, this represents the number of IOPS that are provisioned for the volume. - // For gp2 volumes, this represents the baseline performance of the volume and the - // rate at which the volume accumulates I/O credits for bursting. - Iops *int32 - - // The Amazon Resource Name (ARN) of the KMS key that was used to protect the - // volume encryption key for the volume. - KmsKeyId *string - - // Indicates whether Amazon EBS Multi-Attach is enabled. - MultiAttachEnabled *bool - - // The service provider that manages the volume. - Operator *OperatorResponse - - // The Amazon Resource Name (ARN) of the Outpost. - OutpostArn *string - - // The size of the volume, in GiBs. - Size *int32 - - // The snapshot from which the volume was created, if applicable. - SnapshotId *string - - // The ID of the source volume from which the volume copy was created. Only for - // volume copies. - SourceVolumeId *string - - // This parameter is not returned by CreateVolume. - // - // Reserved for future use. - SseType SSEType - - // The volume state. - State VolumeState - - // Any tags assigned to the volume. - Tags []Tag - - // The throughput that the volume supports, in MiB/s. - Throughput *int32 - - // The ID of the volume. - VolumeId *string - - // The Amazon EBS Provisioned Rate for Volume Initialization (volume - // initialization rate) specified for the volume during creation, in MiB/s. If no - // volume initialization rate was specified, the value is null . - VolumeInitializationRate *int32 - - // The volume type. - VolumeType VolumeType - - noSmithyDocumentSerde -} - -// Describes volume attachment details. -type VolumeAttachment struct { - - // The ARN of the Amazon Web Services-managed resource to which the volume is - // attached. - AssociatedResource *string - - // The time stamp when the attachment initiated. - AttachTime *time.Time - - // Indicates whether the EBS volume is deleted on instance termination. - DeleteOnTermination *bool - - // The device name. - // - // If the volume is attached to an Amazon Web Services-managed resource, this - // parameter returns null . - Device *string - - // The ID of the instance. - // - // If the volume is attached to an Amazon Web Services-managed resource, this - // parameter returns null . - InstanceId *string - - // The service principal of the Amazon Web Services service that owns the - // underlying resource to which the volume is attached. - // - // This parameter is returned only for volumes that are attached to Amazon Web - // Services-managed resources. - InstanceOwningService *string - - // The attachment state of the volume. - State VolumeAttachmentState - - // The ID of the volume. - VolumeId *string - - noSmithyDocumentSerde -} - -// Describes an EBS volume. -type VolumeDetail struct { - - // The size of the volume, in GiB. - // - // This member is required. - Size *int64 - - noSmithyDocumentSerde -} - -// Describes the modification status of an EBS volume. -type VolumeModification struct { - - // The modification completion or failure time. - EndTime *time.Time - - // The current modification state. - ModificationState VolumeModificationState - - // The original IOPS rate of the volume. - OriginalIops *int32 - - // The original setting for Amazon EBS Multi-Attach. - OriginalMultiAttachEnabled *bool - - // The original size of the volume, in GiB. - OriginalSize *int32 - - // The original throughput of the volume, in MiB/s. - OriginalThroughput *int32 - - // The original EBS volume type of the volume. - OriginalVolumeType VolumeType - - // The modification progress, from 0 to 100 percent complete. - Progress *int64 - - // The modification start time. - StartTime *time.Time - - // A status message about the modification progress or failure. - StatusMessage *string - - // The target IOPS rate of the volume. - TargetIops *int32 - - // The target setting for Amazon EBS Multi-Attach. - TargetMultiAttachEnabled *bool - - // The target size of the volume, in GiB. - TargetSize *int32 - - // The target throughput of the volume, in MiB/s. - TargetThroughput *int32 - - // The target EBS volume type of the volume. - TargetVolumeType VolumeType - - // The ID of the volume. - VolumeId *string - - noSmithyDocumentSerde -} - -// Information about a volume that is currently in the Recycle Bin. -type VolumeRecycleBinInfo struct { - - // The Availability Zone for the volume. - AvailabilityZone *string - - // The ID of the Availability Zone for the volume. - AvailabilityZoneId *string - - // The time stamp when volume creation was initiated. - CreateTime *time.Time - - // The number of I/O operations per second (IOPS) for the volume. - Iops *int32 - - // The service provider that manages the volume. - Operator *OperatorResponse - - // The ARN of the Outpost on which the volume is stored. For more information, see [Amazon EBS volumes on Outposts] - // in the Amazon EBS User Guide. - // - // [Amazon EBS volumes on Outposts]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-outposts.html - OutpostArn *string - - // The date and time when the volume entered the Recycle Bin. - RecycleBinEnterTime *time.Time - - // The date and time when the volume is to be permanently deleted from the Recycle - // Bin. - RecycleBinExitTime *time.Time - - // The size of the volume, in GiB. - Size *int32 - - // The snapshot from which the volume was created, if applicable. - SnapshotId *string - - // The ID of the source volume. - SourceVolumeId *string - - // The state of the volume. - State VolumeState - - // The throughput that the volume supports, in MiB/s. - Throughput *int32 - - // The ID of the volume. - VolumeId *string - - // The volume type. - VolumeType VolumeType - - noSmithyDocumentSerde -} - -// Describes a volume status operation code. -type VolumeStatusAction struct { - - // The code identifying the operation, for example, enable-volume-io . - Code *string - - // A description of the operation. - Description *string - - // The ID of the event associated with this operation. - EventId *string - - // The event type associated with this operation. - EventType *string - - noSmithyDocumentSerde -} - -// Information about the instances to which the volume is attached. -type VolumeStatusAttachmentStatus struct { - - // The ID of the attached instance. - InstanceId *string - - // The maximum IOPS supported by the attached instance. - IoPerformance *string - - noSmithyDocumentSerde -} - -// Describes a volume status. -type VolumeStatusDetails struct { - - // The name of the volume status. - // - // - io-enabled - Indicates the volume I/O status. For more information, see [Amazon EBS volume status checks]. - // - // - io-performance - Indicates the volume performance status. For more - // information, see [Amazon EBS volume status checks]. - // - // - initialization-state - Indicates the status of the volume initialization - // process. For more information, see [Initialize Amazon EBS volumes]. - // - // [Amazon EBS volume status checks]: https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-checks.html - // [Initialize Amazon EBS volumes]: https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html - Name VolumeStatusName - - // The intended status of the volume status. - Status *string - - noSmithyDocumentSerde -} - -// Describes a volume status event. -type VolumeStatusEvent struct { - - // A description of the event. - Description *string - - // The ID of this event. - EventId *string - - // The type of this event. - EventType *string - - // The ID of the instance associated with the event. - InstanceId *string - - // The latest end time of the event. - NotAfter *time.Time - - // The earliest start time of the event. - NotBefore *time.Time - - noSmithyDocumentSerde -} - -// Describes the status of a volume. -type VolumeStatusInfo struct { - - // The details of the volume status. - Details []VolumeStatusDetails - - // The status of the volume. - Status VolumeStatusInfoStatus - - noSmithyDocumentSerde -} - -// Describes the volume status. -type VolumeStatusItem struct { - - // The details of the operation. - Actions []VolumeStatusAction - - // Information about the instances to which the volume is attached. - AttachmentStatuses []VolumeStatusAttachmentStatus - - // The Availability Zone of the volume. - AvailabilityZone *string - - // The ID of the Availability Zone. - AvailabilityZoneId *string - - // A list of events associated with the volume. - Events []VolumeStatusEvent - - // Information about the volume initialization. It can take up to 5 minutes for - // the volume initialization information to be updated. - // - // Only available for volumes created from snapshots. Not available for empty - // volumes created without a snapshot. - // - // For more information, see [Initialize Amazon EBS volumes]. - // - // [Initialize Amazon EBS volumes]: https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html - InitializationStatusDetails *InitializationStatusDetails - - // The Amazon Resource Name (ARN) of the Outpost. - OutpostArn *string - - // The volume ID. - VolumeId *string - - // The volume status. - VolumeStatus *VolumeStatusInfo - - noSmithyDocumentSerde -} - -// Describes a VPC. -type Vpc struct { - - // The state of VPC Block Public Access (BPA). - BlockPublicAccessStates *BlockPublicAccessStates - - // The primary IPv4 CIDR block for the VPC. - CidrBlock *string - - // Information about the IPv4 CIDR blocks associated with the VPC. - CidrBlockAssociationSet []VpcCidrBlockAssociation - - // The ID of the set of DHCP options you've associated with the VPC. - DhcpOptionsId *string - - // Describes the configuration and state of VPC encryption controls. - // - // For more information, see [Enforce VPC encryption in transit] in the Amazon VPC User Guide. - // - // [Enforce VPC encryption in transit]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html - EncryptionControl *VpcEncryptionControl - - // The allowed tenancy of instances launched into the VPC. - InstanceTenancy Tenancy - - // Information about the IPv6 CIDR blocks associated with the VPC. - Ipv6CidrBlockAssociationSet []VpcIpv6CidrBlockAssociation - - // Indicates whether the VPC is the default VPC. - IsDefault *bool - - // The ID of the Amazon Web Services account that owns the VPC. - OwnerId *string - - // The current state of the VPC. - State VpcState - - // Any tags assigned to the VPC. - Tags []Tag - - // The ID of the VPC. - VpcId *string - - noSmithyDocumentSerde -} - -// Describes an attachment between a virtual private gateway and a VPC. -type VpcAttachment struct { - - // The current state of the attachment. - State AttachmentStatus - - // The ID of the VPC. - VpcId *string - - noSmithyDocumentSerde -} - -// A VPC BPA exclusion is a mode that can be applied to a single VPC or subnet -// that exempts it from the account’s BPA mode and will allow bidirectional or -// egress-only access. You can create BPA exclusions for VPCs and subnets even when -// BPA is not enabled on the account to ensure that there is no traffic disruption -// to the exclusions when VPC BPA is turned on. To learn more about VPC BPA, see [Block public access to VPCs and subnets] -// in the Amazon VPC User Guide. -// -// [Block public access to VPCs and subnets]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html -type VpcBlockPublicAccessExclusion struct { - - // When the exclusion was created. - CreationTimestamp *time.Time - - // When the exclusion was deleted. - DeletionTimestamp *time.Time - - // The ID of the exclusion. - ExclusionId *string - - // The exclusion mode for internet gateway traffic. - // - // - allow-bidirectional : Allow all internet traffic to and from the excluded - // VPCs and subnets. - // - // - allow-egress : Allow outbound internet traffic from the excluded VPCs and - // subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only - // applies when VPC Block Public Access is set to Bidirectional. - InternetGatewayExclusionMode InternetGatewayExclusionMode - - // When the exclusion was last updated. - LastUpdateTimestamp *time.Time - - // The reason for the current exclusion state. - Reason *string - - // The ARN of the exclusion. - ResourceArn *string - - // The state of the exclusion. - State VpcBlockPublicAccessExclusionState - - // tag - The key/value combination of a tag assigned to the resource. Use the tag - // key in the filter name and the tag value as the filter value. For example, to - // find all resources that have a tag with the key Owner and the value TeamA , - // specify tag:Owner for the filter name and TeamA for the filter value. - Tags []Tag - - noSmithyDocumentSerde -} - -// VPC Block Public Access (BPA) enables you to block resources in VPCs and -// subnets that you own in a Region from reaching or being reached from the -// internet through internet gateways and egress-only internet gateways. To learn -// more about VPC BPA, see [Block public access to VPCs and subnets]in the Amazon VPC User Guide. -// -// [Block public access to VPCs and subnets]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html -type VpcBlockPublicAccessOptions struct { - - // An Amazon Web Services account ID. - AwsAccountId *string - - // An Amazon Web Services Region. - AwsRegion *string - - // Determines if exclusions are allowed. If you have [enabled VPC BPA at the Organization level], exclusions may be - // not-allowed . Otherwise, they are allowed . - // - // [enabled VPC BPA at the Organization level]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html#security-vpc-bpa-exclusions-orgs - ExclusionsAllowed VpcBlockPublicAccessExclusionsAllowed - - // The current mode of VPC BPA. - // - // - off : VPC BPA is not enabled and traffic is allowed to and from internet - // gateways and egress-only internet gateways in this Region. - // - // - block-bidirectional : Block all traffic to and from internet gateways and - // egress-only internet gateways in this Region (except for excluded VPCs and - // subnets). - // - // - block-ingress : Block all internet traffic to the VPCs in this Region - // (except for VPCs or subnets which are excluded). Only traffic to and from NAT - // gateways and egress-only internet gateways is allowed because these gateways - // only allow outbound connections to be established. - InternetGatewayBlockMode InternetGatewayBlockMode - - // The last time the VPC BPA mode was updated. - LastUpdateTimestamp *time.Time - - // The entity that manages the state of VPC BPA. Possible values include: - // - // - account - The state is managed by the account. - // - // - declarative-policy - The state is managed by a declarative policy and can't - // be modified by the account. - ManagedBy ManagedBy - - // The reason for the current state. - Reason *string - - // The current state of VPC BPA. - State VpcBlockPublicAccessState - - noSmithyDocumentSerde -} - -// Describes an IPv4 CIDR block associated with a VPC. -type VpcCidrBlockAssociation struct { - - // The association ID for the IPv4 CIDR block. - AssociationId *string - - // The IPv4 CIDR block. - CidrBlock *string - - // Information about the state of the CIDR block. - CidrBlockState *VpcCidrBlockState - - noSmithyDocumentSerde -} - -// Describes the state of a CIDR block. -type VpcCidrBlockState struct { - - // The state of the CIDR block. - State VpcCidrBlockStateCode - - // A message about the status of the CIDR block, if applicable. - StatusMessage *string - - noSmithyDocumentSerde -} - -// Deprecated. -// -// Describes whether a VPC is enabled for ClassicLink. -type VpcClassicLink struct { - - // Indicates whether the VPC is enabled for ClassicLink. - ClassicLinkEnabled *bool - - // Any tags assigned to the VPC. - Tags []Tag - - // The ID of the VPC. - VpcId *string - - noSmithyDocumentSerde -} - -// Describes the configuration and state of VPC encryption controls. -// -// For more information, see [Enforce VPC encryption in transit] in the Amazon VPC User Guide. -// -// [Enforce VPC encryption in transit]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html -type VpcEncryptionControl struct { - - // The encryption mode for the VPC Encryption Control configuration. - Mode VpcEncryptionControlMode - - // Information about resource exclusions for the VPC Encryption Control - // configuration. - ResourceExclusions *VpcEncryptionControlExclusions - - // The current state of the VPC Encryption Control configuration. - State VpcEncryptionControlState - - // A message providing additional information about the encryption control state. - StateMessage *string - - // The tags assigned to the VPC Encryption Control configuration. - Tags []Tag - - // The ID of the VPC Encryption Control configuration. - VpcEncryptionControlId *string - - // The ID of the VPC associated with the encryption control configuration. - VpcId *string - - noSmithyDocumentSerde -} - -// Describes the configuration settings for VPC Encryption Control. -// -// For more information, see [Enforce VPC encryption in transit] in the Amazon VPC User Guide. -// -// [Enforce VPC encryption in transit]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html -type VpcEncryptionControlConfiguration struct { - - // The encryption mode for the VPC Encryption Control configuration. - // - // This member is required. - Mode VpcEncryptionControlMode - - // Specifies whether to exclude egress-only internet gateway traffic from - // encryption enforcement. - EgressOnlyInternetGatewayExclusion VpcEncryptionControlExclusionStateInput - - // Specifies whether to exclude Elastic File System traffic from encryption - // enforcement. - ElasticFileSystemExclusion VpcEncryptionControlExclusionStateInput - - // Specifies whether to exclude internet gateway traffic from encryption - // enforcement. - InternetGatewayExclusion VpcEncryptionControlExclusionStateInput - - // Specifies whether to exclude Lambda function traffic from encryption - // enforcement. - LambdaExclusion VpcEncryptionControlExclusionStateInput - - // Specifies whether to exclude NAT gateway traffic from encryption enforcement. - NatGatewayExclusion VpcEncryptionControlExclusionStateInput - - // Specifies whether to exclude virtual private gateway traffic from encryption - // enforcement. - VirtualPrivateGatewayExclusion VpcEncryptionControlExclusionStateInput - - // Specifies whether to exclude VPC Lattice traffic from encryption enforcement. - VpcLatticeExclusion VpcEncryptionControlExclusionStateInput - - // Specifies whether to exclude VPC peering connection traffic from encryption - // enforcement. - VpcPeeringExclusion VpcEncryptionControlExclusionStateInput - - noSmithyDocumentSerde -} - -// Describes an exclusion configuration for VPC Encryption Control. -// -// For more information, see [Enforce VPC encryption in transit] in the Amazon VPC User Guide. -// -// [Enforce VPC encryption in transit]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html -type VpcEncryptionControlExclusion struct { - - // The current state of the exclusion configuration. - State VpcEncryptionControlExclusionState - - // A message providing additional information about the exclusion state. - StateMessage *string - - noSmithyDocumentSerde -} - -// Describes the exclusion configurations for various resource types in VPC -// Encryption Control. -// -// For more information, see [Enforce VPC encryption in transit] in the Amazon VPC User Guide. -// -// [Enforce VPC encryption in transit]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html -type VpcEncryptionControlExclusions struct { - - // The exclusion configuration for egress-only internet gateway traffic. - EgressOnlyInternetGateway *VpcEncryptionControlExclusion - - // The exclusion configuration for Elastic File System traffic. - ElasticFileSystem *VpcEncryptionControlExclusion - - // The exclusion configuration for internet gateway traffic. - InternetGateway *VpcEncryptionControlExclusion - - // The exclusion configuration for Lambda function traffic. - Lambda *VpcEncryptionControlExclusion - - // The exclusion configuration for NAT gateway traffic. - NatGateway *VpcEncryptionControlExclusion - - // The exclusion configuration for virtual private gateway traffic. - VirtualPrivateGateway *VpcEncryptionControlExclusion - - // The exclusion configuration for VPC Lattice traffic. - VpcLattice *VpcEncryptionControlExclusion - - // The exclusion configuration for VPC peering connection traffic. - VpcPeering *VpcEncryptionControlExclusion - - noSmithyDocumentSerde -} - -// Describes a resource that is not compliant with VPC encryption requirements. -// -// For more information, see [Enforce VPC encryption in transit] in the Amazon VPC User Guide. -// -// [Enforce VPC encryption in transit]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html -type VpcEncryptionNonCompliantResource struct { - - // A description of the non-compliant resource. - Description *string - - // The ID of the non-compliant resource. - Id *string - - // Indicates whether the resource can be excluded from encryption enforcement. - IsExcludable *bool - - // The type of the non-compliant resource. - Type *string - - noSmithyDocumentSerde -} - -// Describes a VPC endpoint. -type VpcEndpoint struct { - - // The date and time that the endpoint was created. - CreationTimestamp *time.Time - - // (Interface endpoint) The DNS entries for the endpoint. - DnsEntries []DnsEntry - - // The DNS options for the endpoint. - DnsOptions *DnsOptions - - // Reason for the failure. - FailureReason *string - - // (Interface endpoint) Information about the security groups that are associated - // with the network interface. - Groups []SecurityGroupIdentifier - - // The IP address type for the endpoint. - IpAddressType IpAddressType - - // Array of IPv4 prefixes. - Ipv4Prefixes []SubnetIpPrefixes - - // Array of IPv6 prefixes. - Ipv6Prefixes []SubnetIpPrefixes - - // The last error that occurred for endpoint. - LastError *LastError - - // (Interface endpoint) The network interfaces for the endpoint. - NetworkInterfaceIds []string - - // The ID of the Amazon Web Services account that owns the endpoint. - OwnerId *string - - // The policy document associated with the endpoint, if applicable. - PolicyDocument *string - - // (Interface endpoint) Indicates whether the VPC is associated with a private - // hosted zone. - PrivateDnsEnabled *bool - - // Indicates whether the endpoint is being managed by its service. - RequesterManaged *bool - - // The Amazon Resource Name (ARN) of the resource configuration. - ResourceConfigurationArn *string - - // (Gateway endpoint) The IDs of the route tables associated with the endpoint. - RouteTableIds []string - - // The name of the service to which the endpoint is associated. - ServiceName *string - - // The Amazon Resource Name (ARN) of the service network. - ServiceNetworkArn *string - - // The Region where the service is hosted. - ServiceRegion *string - - // The state of the endpoint. - State State - - // (Interface endpoint) The subnets for the endpoint. - SubnetIds []string - - // The tags assigned to the endpoint. - Tags []Tag - - // The ID of the endpoint. - VpcEndpointId *string - - // The type of endpoint. - VpcEndpointType VpcEndpointType - - // The ID of the VPC to which the endpoint is associated. - VpcId *string - - noSmithyDocumentSerde -} - -// Describes the VPC resources, VPC endpoint services, Lattice services, or -// service networks associated with the VPC endpoint. -type VpcEndpointAssociation struct { - - // The connectivity status of the resources associated to a VPC endpoint. The - // resource is accessible if the associated resource configuration is AVAILABLE , - // otherwise the resource is inaccessible. - AssociatedResourceAccessibility *string - - // The Amazon Resource Name (ARN) of the associated resource. - AssociatedResourceArn *string - - // The DNS entry of the VPC endpoint association. - DnsEntry *DnsEntry - - // An error code related to why an VPC endpoint association failed. - FailureCode *string - - // A message related to why an VPC endpoint association failed. - FailureReason *string - - // The ID of the VPC endpoint association. - Id *string - - // The private DNS entry of the VPC endpoint association. - PrivateDnsEntry *DnsEntry - - // The Amazon Resource Name (ARN) of the resource configuration group. - ResourceConfigurationGroupArn *string - - // The Amazon Resource Name (ARN) of the service network. - ServiceNetworkArn *string - - // The name of the service network. - ServiceNetworkName *string - - // The tags to apply to the VPC endpoint association. - Tags []Tag - - // The ID of the VPC endpoint. - VpcEndpointId *string - - noSmithyDocumentSerde -} - -// Describes a VPC endpoint connection to a service. -type VpcEndpointConnection struct { - - // The date and time that the VPC endpoint was created. - CreationTimestamp *time.Time - - // The DNS entries for the VPC endpoint. - DnsEntries []DnsEntry - - // The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service. - GatewayLoadBalancerArns []string - - // The IP address type for the endpoint. - IpAddressType IpAddressType - - // The Amazon Resource Names (ARNs) of the network load balancers for the service. - NetworkLoadBalancerArns []string - - // The ID of the service to which the endpoint is connected. - ServiceId *string - - // The tags. - Tags []Tag - - // The ID of the VPC endpoint connection. - VpcEndpointConnectionId *string - - // The ID of the VPC endpoint. - VpcEndpointId *string - - // The ID of the Amazon Web Services account that owns the VPC endpoint. - VpcEndpointOwner *string - - // The Region of the endpoint. - VpcEndpointRegion *string - - // The state of the VPC endpoint. - VpcEndpointState State - - noSmithyDocumentSerde -} - -// Describes an IPv6 CIDR block associated with a VPC. -type VpcIpv6CidrBlockAssociation struct { - - // The association ID for the IPv6 CIDR block. - AssociationId *string - - // The source that allocated the IP address space. byoip or amazon indicates - // public IP address space allocated by Amazon or space that you have allocated - // with Bring your own IP (BYOIP). none indicates private space. - IpSource IpSource - - // Public IPv6 addresses are those advertised on the internet from Amazon Web - // Services. Private IP addresses are not and cannot be advertised on the internet - // from Amazon Web Services. - Ipv6AddressAttribute Ipv6AddressAttribute - - // The IPv6 CIDR block. - Ipv6CidrBlock *string - - // Information about the state of the CIDR block. - Ipv6CidrBlockState *VpcCidrBlockState - - // The ID of the IPv6 address pool from which the IPv6 CIDR block is allocated. - Ipv6Pool *string - - // The name of the unique set of Availability Zones, Local Zones, or Wavelength - // Zones from which Amazon Web Services advertises IP addresses, for example, - // us-east-1-wl1-bos-wlz-1 . - NetworkBorderGroup *string - - noSmithyDocumentSerde -} - -// Describes a VPC peering connection. -type VpcPeeringConnection struct { - - // Information about the accepter VPC. CIDR block information is only returned - // when describing an active VPC peering connection. - AccepterVpcInfo *VpcPeeringConnectionVpcInfo - - // The time that an unaccepted VPC peering connection will expire. - ExpirationTime *time.Time - - // Information about the requester VPC. CIDR block information is only returned - // when describing an active VPC peering connection. - RequesterVpcInfo *VpcPeeringConnectionVpcInfo - - // The status of the VPC peering connection. - Status *VpcPeeringConnectionStateReason - - // Any tags assigned to the resource. - Tags []Tag - - // The ID of the VPC peering connection. - VpcPeeringConnectionId *string - - noSmithyDocumentSerde -} - -// Describes the VPC peering connection options. -type VpcPeeringConnectionOptionsDescription struct { - - // Indicates whether a local VPC can resolve public DNS hostnames to private IP - // addresses when queried from instances in a peer VPC. - AllowDnsResolutionFromRemoteVpc *bool - - // Deprecated. - AllowEgressFromLocalClassicLinkToRemoteVpc *bool - - // Deprecated. - AllowEgressFromLocalVpcToRemoteClassicLink *bool - - noSmithyDocumentSerde -} - -// Describes the status of a VPC peering connection. -type VpcPeeringConnectionStateReason struct { - - // The status of the VPC peering connection. - Code VpcPeeringConnectionStateReasonCode - - // A message that provides more information about the status, if applicable. - Message *string - - noSmithyDocumentSerde -} - -// Describes a VPC in a VPC peering connection. -type VpcPeeringConnectionVpcInfo struct { - - // The IPv4 CIDR block for the VPC. - CidrBlock *string - - // Information about the IPv4 CIDR blocks for the VPC. - CidrBlockSet []CidrBlock - - // The IPv6 CIDR block for the VPC. - Ipv6CidrBlockSet []Ipv6CidrBlock - - // The ID of the Amazon Web Services account that owns the VPC. - OwnerId *string - - // Information about the VPC peering connection options for the accepter or - // requester VPC. - PeeringOptions *VpcPeeringConnectionOptionsDescription - - // The Region in which the VPC is located. - Region *string - - // The ID of the VPC. - VpcId *string - - noSmithyDocumentSerde -} - -// Describes a VPN concentrator. -type VpnConcentrator struct { - - // The current state of the VPN concentrator. - State *string - - // Any tags assigned to the VPN concentrator. - Tags []Tag - - // The ID of the transit gateway attachment for the VPN concentrator. - TransitGatewayAttachmentId *string - - // The ID of the transit gateway associated with the VPN concentrator. - TransitGatewayId *string - - // The type of VPN concentrator. - Type *string - - // The ID of the VPN concentrator. - VpnConcentratorId *string - - noSmithyDocumentSerde -} - -// Describes a VPN connection. -type VpnConnection struct { - - // The category of the VPN connection. A value of VPN indicates an Amazon Web - // Services VPN connection. A value of VPN-Classic indicates an Amazon Web - // Services Classic VPN connection. - Category *string - - // The ARN of the core network. - CoreNetworkArn *string - - // The ARN of the core network attachment. - CoreNetworkAttachmentArn *string - - // The configuration information for the VPN connection's customer gateway (in the - // native XML format). This element is always present in the CreateVpnConnectionresponse; however, - // it's present in the DescribeVpnConnectionsresponse only if the VPN connection is in the pending or - // available state. - CustomerGatewayConfiguration *string - - // The ID of the customer gateway at your end of the VPN connection. - CustomerGatewayId *string - - // The current state of the gateway association. - GatewayAssociationState GatewayAssociationState - - // The VPN connection options. - Options *VpnConnectionOptions - - // The Amazon Resource Name (ARN) of the Secrets Manager secret storing the - // pre-shared key(s) for the VPN connection. - PreSharedKeyArn *string - - // The static routes associated with the VPN connection. - Routes []VpnStaticRoute - - // The current state of the VPN connection. - State VpnState - - // Any tags assigned to the VPN connection. - Tags []Tag - - // The ID of the transit gateway associated with the VPN connection. - TransitGatewayId *string - - // The type of VPN connection. - Type GatewayType - - // Information about the VPN tunnel. - VgwTelemetry []VgwTelemetry - - // The ID of the VPN concentrator associated with the VPN connection. - VpnConcentratorId *string - - // The ID of the VPN connection. - VpnConnectionId *string - - // The ID of the virtual private gateway at the Amazon Web Services side of the - // VPN connection. - VpnGatewayId *string - - noSmithyDocumentSerde -} - -// List of customer gateway devices that have a sample configuration file -// available for use. You can also see the list of device types with sample -// configuration files available under [Your customer gateway device]in the Amazon Web Services Site-to-Site VPN -// User Guide. -// -// [Your customer gateway device]: https://docs.aws.amazon.com/vpn/latest/s2svpn/your-cgw.html -type VpnConnectionDeviceType struct { - - // Customer gateway device platform. - Platform *string - - // Customer gateway device software version. - Software *string - - // Customer gateway device vendor. - Vendor *string - - // Customer gateway device identifier. - VpnConnectionDeviceTypeId *string - - noSmithyDocumentSerde -} - -// Describes VPN connection options. -type VpnConnectionOptions struct { - - // Indicates whether acceleration is enabled for the VPN connection. - EnableAcceleration *bool - - // The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection. - LocalIpv4NetworkCidr *string - - // The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection. - LocalIpv6NetworkCidr *string - - // The type of IPv4 address assigned to the outside interface of the customer - // gateway. - // - // Valid values: PrivateIpv4 | PublicIpv4 | Ipv6 - // - // Default: PublicIpv4 - OutsideIpAddressType *string - - // The IPv4 CIDR on the Amazon Web Services side of the VPN connection. - RemoteIpv4NetworkCidr *string - - // The IPv6 CIDR on the Amazon Web Services side of the VPN connection. - RemoteIpv6NetworkCidr *string - - // Indicates whether the VPN connection uses static routes only. Static routes - // must be used for devices that don't support BGP. - StaticRoutesOnly *bool - - // The transit gateway attachment ID in use for the VPN tunnel. - TransportTransitGatewayAttachmentId *string - - // The configured bandwidth for the VPN tunnel. Represents the current throughput - // capacity setting for the tunnel connection. standard tunnel bandwidth supports - // up to 1.25 Gbps per tunnel while large supports up to 5 Gbps per tunnel. If no - // tunnel bandwidth was specified for the connection, standard is used as the - // default value. - TunnelBandwidth VpnTunnelBandwidth - - // Indicates whether the VPN tunnels process IPv4 or IPv6 traffic. - TunnelInsideIpVersion TunnelInsideIpVersion - - // Indicates the VPN tunnel options. - TunnelOptions []TunnelOption - - noSmithyDocumentSerde -} - -// Describes VPN connection options. -type VpnConnectionOptionsSpecification struct { - - // Indicate whether to enable acceleration for the VPN connection. - // - // Default: false - EnableAcceleration *bool - - // The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection. - // - // Default: 0.0.0.0/0 - LocalIpv4NetworkCidr *string - - // The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection. - // - // Default: ::/0 - LocalIpv6NetworkCidr *string - - // The type of IP address assigned to the outside interface of the customer - // gateway device. - // - // Valid values: PrivateIpv4 | PublicIpv4 | Ipv6 - // - // Default: PublicIpv4 - OutsideIpAddressType *string - - // The IPv4 CIDR on the Amazon Web Services side of the VPN connection. - // - // Default: 0.0.0.0/0 - RemoteIpv4NetworkCidr *string - - // The IPv6 CIDR on the Amazon Web Services side of the VPN connection. - // - // Default: ::/0 - RemoteIpv6NetworkCidr *string - - // Indicate whether the VPN connection uses static routes only. If you are - // creating a VPN connection for a device that does not support BGP, you must - // specify true . Use CreateVpnConnectionRoute to create a static route. - // - // Default: false - StaticRoutesOnly *bool - - // The transit gateway attachment ID to use for the VPN tunnel. - // - // Required if OutsideIpAddressType is set to PrivateIpv4 . - TransportTransitGatewayAttachmentId *string - - // The desired bandwidth specification for the VPN tunnel, used when creating or - // modifying VPN connection options to set the tunnel's throughput capacity. - // standard supports up to 1.25 Gbps per tunnel, while large supports up to 5 Gbps - // per tunnel. The default value is standard . Existing VPN connections without a - // bandwidth setting will automatically default to standard . - TunnelBandwidth VpnTunnelBandwidth - - // Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. - // - // Default: ipv4 - TunnelInsideIpVersion TunnelInsideIpVersion - - // The tunnel options for the VPN connection. - TunnelOptions []VpnTunnelOptionsSpecification - - noSmithyDocumentSerde -} - -// Describes a virtual private gateway. -type VpnGateway struct { - - // The private Autonomous System Number (ASN) for the Amazon side of a BGP session. - AmazonSideAsn *int64 - - // The Availability Zone where the virtual private gateway was created, if - // applicable. This field may be empty or not returned. - AvailabilityZone *string - - // The current state of the virtual private gateway. - State VpnState - - // Any tags assigned to the virtual private gateway. - Tags []Tag - - // The type of VPN connection the virtual private gateway supports. - Type GatewayType - - // Any VPCs attached to the virtual private gateway. - VpcAttachments []VpcAttachment - - // The ID of the virtual private gateway. - VpnGatewayId *string - - noSmithyDocumentSerde -} - -// Describes a static route for a VPN connection. -type VpnStaticRoute struct { - - // The CIDR block associated with the local subnet of the customer data center. - DestinationCidrBlock *string - - // Indicates how the routes were provided. - Source VpnStaticRouteSource - - // The current state of the static route. - State VpnState - - noSmithyDocumentSerde -} - -// Options for logging VPN tunnel activity. -type VpnTunnelLogOptions struct { - - // Options for sending VPN tunnel logs to CloudWatch. - CloudWatchLogOptions *CloudWatchLogOptions - - noSmithyDocumentSerde -} - -// Options for logging VPN tunnel activity. -type VpnTunnelLogOptionsSpecification struct { - - // Options for sending VPN tunnel logs to CloudWatch. - CloudWatchLogOptions *CloudWatchLogOptionsSpecification - - noSmithyDocumentSerde -} - -// The tunnel options for a single VPN tunnel. -type VpnTunnelOptionsSpecification struct { - - // The action to take after DPD timeout occurs. Specify restart to restart the IKE - // initiation. Specify clear to end the IKE session. - // - // Valid Values: clear | none | restart - // - // Default: clear - DPDTimeoutAction *string - - // The number of seconds after which a DPD timeout occurs. - // - // Constraints: A value greater than or equal to 30. - // - // Default: 30 - DPDTimeoutSeconds *int32 - - // Turn on or off tunnel endpoint lifecycle control feature. - EnableTunnelLifecycleControl *bool - - // The IKE versions that are permitted for the VPN tunnel. - // - // Valid values: ikev1 | ikev2 - IKEVersions []IKEVersionsRequestListValue - - // Options for logging VPN tunnel activity. - LogOptions *VpnTunnelLogOptionsSpecification - - // One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel - // for phase 1 IKE negotiations. - // - // Valid values: 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 - Phase1DHGroupNumbers []Phase1DHGroupNumbersRequestListValue - - // One or more encryption algorithms that are permitted for the VPN tunnel for - // phase 1 IKE negotiations. - // - // Valid values: AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16 - Phase1EncryptionAlgorithms []Phase1EncryptionAlgorithmsRequestListValue - - // One or more integrity algorithms that are permitted for the VPN tunnel for - // phase 1 IKE negotiations. - // - // Valid values: SHA1 | SHA2-256 | SHA2-384 | SHA2-512 - Phase1IntegrityAlgorithms []Phase1IntegrityAlgorithmsRequestListValue - - // The lifetime for phase 1 of the IKE negotiation, in seconds. - // - // Constraints: A value between 900 and 28,800. - // - // Default: 28800 - Phase1LifetimeSeconds *int32 - - // One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel - // for phase 2 IKE negotiations. - // - // Valid values: 2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 - Phase2DHGroupNumbers []Phase2DHGroupNumbersRequestListValue - - // One or more encryption algorithms that are permitted for the VPN tunnel for - // phase 2 IKE negotiations. - // - // Valid values: AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16 - Phase2EncryptionAlgorithms []Phase2EncryptionAlgorithmsRequestListValue - - // One or more integrity algorithms that are permitted for the VPN tunnel for - // phase 2 IKE negotiations. - // - // Valid values: SHA1 | SHA2-256 | SHA2-384 | SHA2-512 - Phase2IntegrityAlgorithms []Phase2IntegrityAlgorithmsRequestListValue - - // The lifetime for phase 2 of the IKE negotiation, in seconds. - // - // Constraints: A value between 900 and 3,600. The value must be less than the - // value for Phase1LifetimeSeconds . - // - // Default: 3600 - Phase2LifetimeSeconds *int32 - - // The pre-shared key (PSK) to establish initial authentication between the - // virtual private gateway and customer gateway. - // - // Constraints: Allowed characters are alphanumeric characters, periods (.), and - // underscores (_). Must be between 8 and 64 characters in length and cannot start - // with zero (0). - PreSharedKey *string - - // The percentage of the rekey window (determined by RekeyMarginTimeSeconds ) - // during which the rekey time is randomly selected. - // - // Constraints: A value between 0 and 100. - // - // Default: 100 - RekeyFuzzPercentage *int32 - - // The margin time, in seconds, before the phase 2 lifetime expires, during which - // the Amazon Web Services side of the VPN connection performs an IKE rekey. The - // exact time of the rekey is randomly selected based on the value for - // RekeyFuzzPercentage . - // - // Constraints: A value between 60 and half of Phase2LifetimeSeconds . - // - // Default: 270 - RekeyMarginTimeSeconds *int32 - - // The number of packets in an IKE replay window. - // - // Constraints: A value between 64 and 2048. - // - // Default: 1024 - ReplayWindowSize *int32 - - // The action to take when the establishing the tunnel for the VPN connection. By - // default, your customer gateway device must initiate the IKE negotiation and - // bring up the tunnel. Specify start for Amazon Web Services to initiate the IKE - // negotiation. - // - // Valid Values: add | start - // - // Default: add - StartupAction *string - - // The range of inside IPv4 addresses for the tunnel. Any specified CIDR blocks - // must be unique across all VPN connections that use the same virtual private - // gateway. - // - // Constraints: A size /30 CIDR block from the 169.254.0.0/16 range. The following - // CIDR blocks are reserved and cannot be used: - // - // - 169.254.0.0/30 - // - // - 169.254.1.0/30 - // - // - 169.254.2.0/30 - // - // - 169.254.3.0/30 - // - // - 169.254.4.0/30 - // - // - 169.254.5.0/30 - // - // - 169.254.169.252/30 - TunnelInsideCidr *string - - // The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks - // must be unique across all VPN connections that use the same transit gateway. - // - // Constraints: A size /126 CIDR block from the local fd00::/8 range. - TunnelInsideIpv6Cidr *string - - noSmithyDocumentSerde -} - -type noSmithyDocumentSerde = smithydocument.NoSerde diff --git a/api/vendor/github.com/aws/karpenter-provider-aws/LICENSE b/api/vendor/github.com/aws/karpenter-provider-aws/LICENSE deleted file mode 100644 index d64569567334..000000000000 --- a/api/vendor/github.com/aws/karpenter-provider-aws/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/api/vendor/github.com/aws/karpenter-provider-aws/NOTICE b/api/vendor/github.com/aws/karpenter-provider-aws/NOTICE deleted file mode 100644 index 63c76cafe726..000000000000 --- a/api/vendor/github.com/aws/karpenter-provider-aws/NOTICE +++ /dev/null @@ -1,2 +0,0 @@ -Karpenter -Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/apis.go b/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/apis.go deleted file mode 100644 index 1553fb5e1a14..000000000000 --- a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/apis.go +++ /dev/null @@ -1,43 +0,0 @@ -/* -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package apis contains Kubernetes API groups. -package apis - -import ( - _ "embed" - - "github.com/awslabs/operatorpkg/object" - apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" -) - -//go:generate controller-gen crd object:headerFile="../../hack/boilerplate.go.txt" paths="./..." output:crd:artifacts:config=crds -var ( - Group = "karpenter.k8s.aws" - CompatibilityGroup = "compatibility." + Group - //go:embed crds/karpenter.k8s.aws_ec2nodeclasses.yaml - EC2NodeClassCRD []byte - //go:embed crds/karpenter.sh_nodepools.yaml - NodePoolCRD []byte - //go:embed crds/karpenter.sh_nodeclaims.yaml - NodeClaimCRD []byte - //go:embed crds/karpenter.sh_nodeoverlays.yaml - NodeOverlayCRD []byte - CRDs = []*apiextensionsv1.CustomResourceDefinition{ - object.Unmarshal[apiextensionsv1.CustomResourceDefinition](EC2NodeClassCRD), - object.Unmarshal[apiextensionsv1.CustomResourceDefinition](NodeClaimCRD), - object.Unmarshal[apiextensionsv1.CustomResourceDefinition](NodePoolCRD), - object.Unmarshal[apiextensionsv1.CustomResourceDefinition](NodeOverlayCRD), - } -) diff --git a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.k8s.aws_ec2nodeclasses.yaml b/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.k8s.aws_ec2nodeclasses.yaml deleted file mode 100644 index 7a8ee2aaf7ee..000000000000 --- a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.k8s.aws_ec2nodeclasses.yaml +++ /dev/null @@ -1,851 +0,0 @@ ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.20.0 - name: ec2nodeclasses.karpenter.k8s.aws -spec: - group: karpenter.k8s.aws - names: - categories: - - karpenter - kind: EC2NodeClass - listKind: EC2NodeClassList - plural: ec2nodeclasses - shortNames: - - ec2nc - - ec2ncs - singular: ec2nodeclass - scope: Cluster - versions: - - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=="Ready")].status - name: Ready - type: string - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - - jsonPath: .spec.role - name: Role - priority: 1 - type: string - name: v1 - schema: - openAPIV3Schema: - description: EC2NodeClass is the Schema for the EC2NodeClass API - properties: - apiVersion: - description: |- - APIVersion defines the versioned schema of this representation of an object. - Servers should convert recognized schemas to the latest internal value, and - may reject unrecognized values. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - type: string - kind: - description: |- - Kind is a string value representing the REST resource this object represents. - Servers may infer this from the endpoint the client submits requests to. - Cannot be updated. - In CamelCase. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - type: string - metadata: - type: object - spec: - description: |- - EC2NodeClassSpec is the top level specification for the AWS Karpenter Provider. - This will contain configuration necessary to launch instances in AWS. - properties: - amiFamily: - description: |- - AMIFamily dictates the UserData format and default BlockDeviceMappings used when generating launch templates. - This field is optional when using an alias amiSelectorTerm, and the value will be inferred from the alias' - family. When an alias is specified, this field may only be set to its corresponding family or 'Custom'. If no - alias is specified, this field is required. - NOTE: We ignore the AMIFamily for hashing here because we hash the AMIFamily dynamically by using the alias using - the AMIFamily() helper function - enum: - - AL2 - - AL2023 - - Bottlerocket - - Custom - - Windows2019 - - Windows2022 - type: string - amiSelectorTerms: - description: AMISelectorTerms is a list of or ami selector terms. The terms are ORed. - items: - description: |- - AMISelectorTerm defines selection logic for an ami used by Karpenter to launch nodes. - If multiple fields are used for selection, the requirements are ANDed. - properties: - alias: - description: |- - Alias specifies which EKS optimized AMI to select. - Each alias consists of a family and an AMI version, specified as "family@version". - Valid families include: al2, al2023, bottlerocket, windows2019, and windows2022. - The version can either be pinned to a specific AMI release, with that AMIs version format (ex: "al2023@v20240625" or "bottlerocket@v1.10.0"). - The version can also be set to "latest" for any family. Setting the version to latest will result in drift when a new AMI is released. This is **not** recommended for production environments. - Note: The Windows families do **not** support version pinning, and only latest may be used. - maxLength: 30 - type: string - x-kubernetes-validations: - - message: '''alias'' is improperly formatted, must match the format ''family@version''' - rule: self.matches('^[a-zA-Z0-9]+@.+$') - - message: 'family is not supported, must be one of the following: ''al2'', ''al2023'', ''bottlerocket'', ''windows2019'', ''windows2022''' - rule: self.split('@')[0] in ['al2','al2023','bottlerocket','windows2019','windows2022'] - - message: windows families may only specify version 'latest' - rule: 'self.split(''@'')[0] in [''windows2019'',''windows2022''] ? self.split(''@'')[1] == ''latest'' : true' - id: - description: ID is the ami id in EC2 - pattern: ami-[0-9a-z]+ - type: string - name: - description: |- - Name is the ami name in EC2. - This value is the name field, which is different from the name tag. - type: string - owner: - description: |- - Owner is the owner for the ami. - You can specify a combination of AWS account IDs, "self", "amazon", and "aws-marketplace" - type: string - ssmParameter: - description: SSMParameter is the name (or ARN) of the SSM parameter containing the Image ID. - type: string - tags: - additionalProperties: - type: string - description: |- - Tags is a map of key/value tags used to select amis. - Specifying '*' for a value selects all values for a given tag key. - maxProperties: 20 - type: object - x-kubernetes-validations: - - message: empty tag keys or values aren't supported - rule: self.all(k, k != '' && self[k] != '') - type: object - maxItems: 30 - minItems: 1 - type: array - x-kubernetes-validations: - - message: expected at least one, got none, ['tags', 'id', 'name', 'alias', 'ssmParameter'] - rule: self.all(x, has(x.tags) || has(x.id) || has(x.name) || has(x.alias) || has(x.ssmParameter)) - - message: '''id'' is mutually exclusive, cannot be set with a combination of other fields in amiSelectorTerms' - rule: '!self.exists(x, has(x.id) && (has(x.alias) || has(x.tags) || has(x.name) || has(x.owner)))' - - message: '''alias'' is mutually exclusive, cannot be set with a combination of other fields in amiSelectorTerms' - rule: '!self.exists(x, has(x.alias) && (has(x.id) || has(x.tags) || has(x.name) || has(x.owner)))' - - message: '''alias'' is mutually exclusive, cannot be set with a combination of other amiSelectorTerms' - rule: '!(self.exists(x, has(x.alias)) && self.size() != 1)' - associatePublicIPAddress: - description: AssociatePublicIPAddress controls if public IP addresses are assigned to instances that are launched with the nodeclass. - type: boolean - blockDeviceMappings: - description: BlockDeviceMappings to be applied to provisioned nodes. - items: - properties: - deviceName: - description: The device name (for example, /dev/sdh or xvdh). - type: string - ebs: - description: EBS contains parameters used to automatically set up EBS volumes when an instance is launched. - properties: - deleteOnTermination: - description: DeleteOnTermination indicates whether the EBS volume is deleted on instance termination. - type: boolean - encrypted: - description: |- - Encrypted indicates whether the EBS volume is encrypted. Encrypted volumes can only - be attached to instances that support Amazon EBS encryption. If you are creating - a volume from a snapshot, you can't specify an encryption value. - type: boolean - iops: - description: |- - IOPS is the number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, - this represents the number of IOPS that are provisioned for the volume. For - gp2 volumes, this represents the baseline performance of the volume and the - rate at which the volume accumulates I/O credits for bursting. - - The following are the supported values for each volume type: - - * gp3: 3,000-16,000 IOPS - - * io1: 100-64,000 IOPS - - * io2: 100-64,000 IOPS - - For io1 and io2 volumes, we guarantee 64,000 IOPS only for Instances built - on the Nitro System (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances). - Other instance families guarantee performance up to 32,000 IOPS. - - This parameter is supported for io1, io2, and gp3 volumes only. This parameter - is not supported for gp2, st1, sc1, or standard volumes. - format: int64 - type: integer - kmsKeyID: - description: Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption. - type: string - snapshotID: - description: SnapshotID is the ID of an EBS snapshot - type: string - throughput: - description: |- - Throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s. - Valid Range: Minimum value of 125. Maximum value of 1000. - format: int64 - type: integer - volumeInitializationRate: - description: |- - VolumeInitializationRate specifies the Amazon EBS Provisioned Rate for Volume Initialization, - in MiB/s, at which to download the snapshot blocks from Amazon S3 to the volume. This is also known as volume - initialization. Specifying a volume initialization rate ensures that the volume is initialized at a - predictable and consistent rate after creation. Only allowed if SnapshotID is set. - Valid Range: Minimum value of 100. Maximum value of 300. - format: int32 - maximum: 300 - minimum: 100 - type: integer - volumeSize: - description: |- - VolumeSize in `Gi`, `G`, `Ti`, or `T`. You must specify either a snapshot ID or - a volume size. The following are the supported volumes sizes for each volume - type: - - * gp2 and gp3: 1-16,384 - - * io1 and io2: 4-16,384 - - * st1 and sc1: 125-16,384 - - * standard: 1-1,024 - pattern: ^((?:[1-9][0-9]{0,3}|[1-4][0-9]{4}|[5][0-8][0-9]{3}|59000)Gi|(?:[1-9][0-9]{0,3}|[1-5][0-9]{4}|[6][0-3][0-9]{3}|64000)G|([1-9]||[1-5][0-7]|58)Ti|([1-9]||[1-5][0-9]|6[0-3]|64)T)$ - type: string - volumeType: - description: |- - VolumeType of the block device. - For more information, see Amazon EBS volume types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) - in the Amazon Elastic Compute Cloud User Guide. - enum: - - standard - - io1 - - io2 - - gp2 - - sc1 - - st1 - - gp3 - type: string - type: object - x-kubernetes-validations: - - message: snapshotID or volumeSize must be defined - rule: has(self.snapshotID) || has(self.volumeSize) - - message: snapshotID must be set when volumeInitializationRate is set - rule: '!has(self.volumeInitializationRate) || (has(self.snapshotID) && self.snapshotID != '''')' - rootVolume: - description: |- - RootVolume is a flag indicating if this device is mounted as kubelet root dir. You can - configure at most one root volume in BlockDeviceMappings. - type: boolean - type: object - maxItems: 50 - type: array - x-kubernetes-validations: - - message: must have only one blockDeviceMappings with rootVolume - rule: self.filter(x, has(x.rootVolume)?x.rootVolume==true:false).size() <= 1 - capacityReservationSelectorTerms: - description: |- - CapacityReservationSelectorTerms is a list of capacity reservation selector terms. Each term is ORed together to - determine the set of eligible capacity reservations. - items: - properties: - id: - description: ID is the capacity reservation id in EC2 - pattern: ^cr-[0-9a-z]+$ - type: string - instanceMatchCriteria: - description: InstanceMatchCriteria specifies how instances are matched to capacity reservations. - enum: - - open - - targeted - type: string - ownerID: - description: Owner is the owner id for the ami. - pattern: ^[0-9]{12}$ - type: string - tags: - additionalProperties: - type: string - description: |- - Tags is a map of key/value tags used to select capacity reservations. - Specifying '*' for a value selects all values for a given tag key. - maxProperties: 20 - type: object - x-kubernetes-validations: - - message: empty tag keys or values aren't supported - rule: self.all(k, k != '' && self[k] != '') - type: object - maxItems: 30 - type: array - x-kubernetes-validations: - - message: expected at least one, got none, ['tags', 'id', 'instanceMatchCriteria'] - rule: self.all(x, has(x.tags) || has(x.id) || has(x.instanceMatchCriteria)) - - message: '''id'' is mutually exclusive, cannot be set along with other fields in a capacity reservation selector term' - rule: '!self.all(x, has(x.id) && (has(x.tags) || has(x.ownerID) || has(x.instanceMatchCriteria)))' - context: - description: |- - Context is a Reserved field in EC2 APIs - https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html - type: string - detailedMonitoring: - description: DetailedMonitoring controls if detailed monitoring is enabled for instances that are launched - type: boolean - instanceProfile: - description: |- - InstanceProfile is the AWS entity that instances use. - This field is mutually exclusive from role. - The instance profile should already have a role assigned to it that Karpenter - has PassRole permission on for instance launch using this instanceProfile to succeed. - type: string - x-kubernetes-validations: - - message: instanceProfile cannot be empty - rule: self != '' - instanceStorePolicy: - description: InstanceStorePolicy specifies how to handle instance-store disks. - enum: - - RAID0 - type: string - ipPrefixCount: - description: IPPrefixCount sets the number of IPv4 prefixes to be automatically assigned to the network interface. - format: int32 - minimum: 0 - type: integer - kubelet: - description: |- - Kubelet defines args to be used when configuring kubelet on provisioned nodes. - They are a subset of the upstream types, recognizing not all options may be supported. - Wherever possible, the types and names should reflect the upstream kubelet types. - properties: - clusterDNS: - description: |- - clusterDNS is a list of IP addresses for the cluster DNS server. - Note that not all providers may use all addresses. - items: - type: string - type: array - cpuCFSQuota: - description: CPUCFSQuota enables CPU CFS quota enforcement for containers that specify CPU limits. - type: boolean - evictionHard: - additionalProperties: - type: string - pattern: ^((\d{1,2}(\.\d{1,2})?|100(\.0{1,2})?)%||(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?)$ - description: EvictionHard is the map of signal names to quantities that define hard eviction thresholds - type: object - x-kubernetes-validations: - - message: valid keys for evictionHard are ['memory.available','nodefs.available','nodefs.inodesFree','imagefs.available','imagefs.inodesFree','pid.available'] - rule: self.all(x, x in ['memory.available','nodefs.available','nodefs.inodesFree','imagefs.available','imagefs.inodesFree','pid.available']) - evictionMaxPodGracePeriod: - description: |- - EvictionMaxPodGracePeriod is the maximum allowed grace period (in seconds) to use when terminating pods in - response to soft eviction thresholds being met. - format: int32 - type: integer - evictionSoft: - additionalProperties: - type: string - pattern: ^((\d{1,2}(\.\d{1,2})?|100(\.0{1,2})?)%||(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?)$ - description: EvictionSoft is the map of signal names to quantities that define soft eviction thresholds - type: object - x-kubernetes-validations: - - message: valid keys for evictionSoft are ['memory.available','nodefs.available','nodefs.inodesFree','imagefs.available','imagefs.inodesFree','pid.available'] - rule: self.all(x, x in ['memory.available','nodefs.available','nodefs.inodesFree','imagefs.available','imagefs.inodesFree','pid.available']) - evictionSoftGracePeriod: - additionalProperties: - type: string - description: EvictionSoftGracePeriod is the map of signal names to quantities that define grace periods for each eviction signal - type: object - x-kubernetes-validations: - - message: valid keys for evictionSoftGracePeriod are ['memory.available','nodefs.available','nodefs.inodesFree','imagefs.available','imagefs.inodesFree','pid.available'] - rule: self.all(x, x in ['memory.available','nodefs.available','nodefs.inodesFree','imagefs.available','imagefs.inodesFree','pid.available']) - imageGCHighThresholdPercent: - description: |- - ImageGCHighThresholdPercent is the percent of disk usage after which image - garbage collection is always run. The percent is calculated by dividing this - field value by 100, so this field must be between 0 and 100, inclusive. - When specified, the value must be greater than ImageGCLowThresholdPercent. - format: int32 - maximum: 100 - minimum: 0 - type: integer - imageGCLowThresholdPercent: - description: |- - ImageGCLowThresholdPercent is the percent of disk usage before which image - garbage collection is never run. Lowest disk usage to garbage collect to. - The percent is calculated by dividing this field value by 100, - so the field value must be between 0 and 100, inclusive. - When specified, the value must be less than imageGCHighThresholdPercent - format: int32 - maximum: 100 - minimum: 0 - type: integer - kubeReserved: - additionalProperties: - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - description: KubeReserved contains resources reserved for Kubernetes system components. - type: object - x-kubernetes-validations: - - message: valid keys for kubeReserved are ['cpu','memory','ephemeral-storage','pid'] - rule: self.all(x, x=='cpu' || x=='memory' || x=='ephemeral-storage' || x=='pid') - - message: kubeReserved value cannot be a negative resource quantity - rule: self.all(x, !self[x].startsWith('-')) - maxPods: - description: |- - MaxPods is an override for the maximum number of pods that can run on - a worker node instance. - format: int32 - minimum: 0 - type: integer - podsPerCore: - description: |- - PodsPerCore is an override for the number of pods that can run on a worker node - instance based on the number of cpu cores. This value cannot exceed MaxPods, so, if - MaxPods is a lower value, that value will be used. - format: int32 - minimum: 0 - type: integer - systemReserved: - additionalProperties: - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - description: SystemReserved contains resources reserved for OS system daemons and kernel memory. - type: object - x-kubernetes-validations: - - message: valid keys for systemReserved are ['cpu','memory','ephemeral-storage','pid'] - rule: self.all(x, x=='cpu' || x=='memory' || x=='ephemeral-storage' || x=='pid') - - message: systemReserved value cannot be a negative resource quantity - rule: self.all(x, !self[x].startsWith('-')) - type: object - x-kubernetes-validations: - - message: imageGCHighThresholdPercent must be greater than imageGCLowThresholdPercent - rule: 'has(self.imageGCHighThresholdPercent) && has(self.imageGCLowThresholdPercent) ? self.imageGCHighThresholdPercent > self.imageGCLowThresholdPercent : true' - - message: evictionSoft OwnerKey does not have a matching evictionSoftGracePeriod - rule: has(self.evictionSoft) ? self.evictionSoft.all(e, (e in self.evictionSoftGracePeriod)):true - - message: evictionSoftGracePeriod OwnerKey does not have a matching evictionSoft - rule: has(self.evictionSoftGracePeriod) ? self.evictionSoftGracePeriod.all(e, (e in self.evictionSoft)):true - metadataOptions: - default: - httpEndpoint: enabled - httpProtocolIPv6: disabled - httpPutResponseHopLimit: 1 - httpTokens: required - description: |- - MetadataOptions for the generated launch template of provisioned nodes. - - This specifies the exposure of the Instance Metadata Service to - provisioned EC2 nodes. For more information, - see Instance Metadata and User Data - (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) - in the Amazon Elastic Compute Cloud User Guide. - - Refer to recommended, security best practices - (https://aws.github.io/aws-eks-best-practices/security/docs/iam/#restrict-access-to-the-instance-profile-assigned-to-the-worker-node) - for limiting exposure of Instance Metadata and User Data to pods. - If omitted, defaults to httpEndpoint enabled, with httpProtocolIPv6 - disabled, with httpPutResponseLimit of 1, and with httpTokens - required. - properties: - httpEndpoint: - default: enabled - description: |- - HTTPEndpoint enables or disables the HTTP metadata endpoint on provisioned - nodes. If metadata options is non-nil, but this parameter is not specified, - the default state is "enabled". - - If you specify a value of "disabled", instance metadata will not be accessible - on the node. - enum: - - enabled - - disabled - type: string - httpProtocolIPv6: - default: disabled - description: |- - HTTPProtocolIPv6 enables or disables the IPv6 endpoint for the instance metadata - service on provisioned nodes. If metadata options is non-nil, but this parameter - is not specified, the default state is "disabled". - enum: - - enabled - - disabled - type: string - httpPutResponseHopLimit: - default: 1 - description: |- - HTTPPutResponseHopLimit is the desired HTTP PUT response hop limit for - instance metadata requests. The larger the number, the further instance - metadata requests can travel. Possible values are integers from 1 to 64. - If metadata options is non-nil, but this parameter is not specified, the - default value is 1. - format: int64 - maximum: 64 - minimum: 1 - type: integer - httpTokens: - default: required - description: |- - HTTPTokens determines the state of token usage for instance metadata - requests. If metadata options is non-nil, but this parameter is not - specified, the default state is "required". - - If the state is optional, one can choose to retrieve instance metadata with - or without a signed token header on the request. If one retrieves the IAM - role credentials without a token, the version 1.0 role credentials are - returned. If one retrieves the IAM role credentials using a valid signed - token, the version 2.0 role credentials are returned. - - If the state is "required", one must send a signed token header with any - instance metadata retrieval requests. In this state, retrieving the IAM - role credentials always returns the version 2.0 credentials; the version - 1.0 credentials are not available. - enum: - - required - - optional - type: string - type: object - role: - description: |- - Role is the AWS identity that nodes use. - This field is mutually exclusive from instanceProfile. - type: string - x-kubernetes-validations: - - message: role cannot be empty - rule: self != '' - securityGroupSelectorTerms: - description: SecurityGroupSelectorTerms is a list of security group selector terms. The terms are ORed. - items: - description: |- - SecurityGroupSelectorTerm defines selection logic for a security group used by Karpenter to launch nodes. - If multiple fields are used for selection, the requirements are ANDed. - properties: - id: - description: ID is the security group id in EC2 - pattern: sg-[0-9a-z]+ - type: string - name: - description: |- - Name is the security group name in EC2. - This value is the name field, which is different from the name tag. - type: string - tags: - additionalProperties: - type: string - description: |- - Tags is a map of key/value tags used to select security groups. - Specifying '*' for a value selects all values for a given tag key. - maxProperties: 20 - type: object - x-kubernetes-validations: - - message: empty tag keys or values aren't supported - rule: self.all(k, k != '' && self[k] != '') - type: object - maxItems: 30 - type: array - x-kubernetes-validations: - - message: securityGroupSelectorTerms cannot be empty - rule: self.size() != 0 - - message: expected at least one, got none, ['tags', 'id', 'name'] - rule: self.all(x, has(x.tags) || has(x.id) || has(x.name)) - - message: '''id'' is mutually exclusive, cannot be set with a combination of other fields in a security group selector term' - rule: '!self.all(x, has(x.id) && (has(x.tags) || has(x.name)))' - - message: '''name'' is mutually exclusive, cannot be set with a combination of other fields in a security group selector term' - rule: '!self.all(x, has(x.name) && (has(x.tags) || has(x.id)))' - subnetSelectorTerms: - description: SubnetSelectorTerms is a list of subnet selector terms. The terms are ORed. - items: - description: |- - SubnetSelectorTerm defines selection logic for a subnet used by Karpenter to launch nodes. - If multiple fields are used for selection, the requirements are ANDed. - properties: - id: - description: ID is the subnet id in EC2 - pattern: subnet-[0-9a-z]+ - type: string - tags: - additionalProperties: - type: string - description: |- - Tags is a map of key/value tags used to select subnets - Specifying '*' for a value selects all values for a given tag key. - maxProperties: 20 - type: object - x-kubernetes-validations: - - message: empty tag keys or values aren't supported - rule: self.all(k, k != '' && self[k] != '') - type: object - maxItems: 30 - type: array - x-kubernetes-validations: - - message: subnetSelectorTerms cannot be empty - rule: self.size() != 0 - - message: expected at least one, got none, ['tags', 'id'] - rule: self.all(x, has(x.tags) || has(x.id)) - - message: '''id'' is mutually exclusive, cannot be set with a combination of other fields in a subnet selector term' - rule: '!self.all(x, has(x.id) && has(x.tags))' - tags: - additionalProperties: - type: string - description: Tags to be applied on ec2 resources like instances and launch templates. - type: object - x-kubernetes-validations: - - message: empty tag keys aren't supported - rule: self.all(k, k != '') - - message: tag contains a restricted tag matching eks:eks-cluster-name - rule: self.all(k, k !='eks:eks-cluster-name') - - message: tag contains a restricted tag matching kubernetes.io/cluster/ - rule: self.all(k, !k.startsWith('kubernetes.io/cluster') ) - - message: tag contains a restricted tag matching karpenter.sh/nodepool - rule: self.all(k, k != 'karpenter.sh/nodepool') - - message: tag contains a restricted tag matching karpenter.sh/nodeclaim - rule: self.all(k, k !='karpenter.sh/nodeclaim') - - message: tag contains a restricted tag matching karpenter.k8s.aws/ec2nodeclass - rule: self.all(k, k !='karpenter.k8s.aws/ec2nodeclass') - userData: - description: |- - UserData to be applied to the provisioned nodes. - It must be in the appropriate format based on the AMIFamily in use. Karpenter will merge certain fields into - this UserData to ensure nodes are being provisioned with the correct configuration. - type: string - required: - - amiSelectorTerms - - securityGroupSelectorTerms - - subnetSelectorTerms - type: object - x-kubernetes-validations: - - message: must specify exactly one of ['role', 'instanceProfile'] - rule: (has(self.role) && !has(self.instanceProfile)) || (!has(self.role) && has(self.instanceProfile)) - - message: if set, amiFamily must be 'AL2' or 'Custom' when using an AL2 alias - rule: '!has(self.amiFamily) || (self.amiSelectorTerms.exists(x, has(x.alias) && x.alias.find(''^[^@]+'') == ''al2'') ? (self.amiFamily == ''Custom'' || self.amiFamily == ''AL2'') : true)' - - message: if set, amiFamily must be 'AL2023' or 'Custom' when using an AL2023 alias - rule: '!has(self.amiFamily) || (self.amiSelectorTerms.exists(x, has(x.alias) && x.alias.find(''^[^@]+'') == ''al2023'') ? (self.amiFamily == ''Custom'' || self.amiFamily == ''AL2023'') : true)' - - message: if set, amiFamily must be 'Bottlerocket' or 'Custom' when using a Bottlerocket alias - rule: '!has(self.amiFamily) || (self.amiSelectorTerms.exists(x, has(x.alias) && x.alias.find(''^[^@]+'') == ''bottlerocket'') ? (self.amiFamily == ''Custom'' || self.amiFamily == ''Bottlerocket'') : true)' - - message: if set, amiFamily must be 'Windows2019' or 'Custom' when using a Windows2019 alias - rule: '!has(self.amiFamily) || (self.amiSelectorTerms.exists(x, has(x.alias) && x.alias.find(''^[^@]+'') == ''windows2019'') ? (self.amiFamily == ''Custom'' || self.amiFamily == ''Windows2019'') : true)' - - message: if set, amiFamily must be 'Windows2022' or 'Custom' when using a Windows2022 alias - rule: '!has(self.amiFamily) || (self.amiSelectorTerms.exists(x, has(x.alias) && x.alias.find(''^[^@]+'') == ''windows2022'') ? (self.amiFamily == ''Custom'' || self.amiFamily == ''Windows2022'') : true)' - - message: must specify amiFamily if amiSelectorTerms does not contain an alias - rule: 'self.amiSelectorTerms.exists(x, has(x.alias)) ? true : has(self.amiFamily)' - status: - description: EC2NodeClassStatus contains the resolved state of the EC2NodeClass - properties: - amis: - description: |- - AMI contains the current AMI values that are available to the - cluster under the AMI selectors. - items: - description: AMI contains resolved AMI selector values utilized for node launch - properties: - deprecated: - description: Deprecation status of the AMI - type: boolean - id: - description: ID of the AMI - type: string - name: - description: Name of the AMI - type: string - requirements: - description: Requirements of the AMI to be utilized on an instance type - items: - description: |- - A node selector requirement is a selector that contains values, a key, and an operator - that relates the key and values. - properties: - key: - description: The label key that the selector applies to. - type: string - operator: - description: |- - Represents a key's relationship to a set of values. - Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. - type: string - values: - description: |- - An array of string values. If the operator is In or NotIn, - the values array must be non-empty. If the operator is Exists or DoesNotExist, - the values array must be empty. If the operator is Gt or Lt, the values - array must have a single element, which will be interpreted as an integer. - This array is replaced during a strategic merge patch. - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - required: - - id - - requirements - type: object - type: array - capacityReservations: - description: |- - CapacityReservations contains the current capacity reservation values that are available to this NodeClass under the - CapacityReservation selectors. - items: - properties: - availabilityZone: - description: The availability zone the capacity reservation is available in. - type: string - endTime: - description: |- - The time at which the capacity reservation expires. Once expired, the reserved capacity is released and Karpenter - will no longer be able to launch instances into that reservation. - format: date-time - type: string - id: - description: The id for the capacity reservation. - pattern: ^cr-[0-9a-z]+$ - type: string - instanceMatchCriteria: - description: Indicates the type of instance launches the capacity reservation accepts. - enum: - - open - - targeted - type: string - instanceType: - description: The instance type for the capacity reservation. - type: string - ownerID: - description: The ID of the AWS account that owns the capacity reservation. - pattern: ^[0-9]{12}$ - type: string - reservationType: - default: default - description: The type of capacity reservation. - enum: - - default - - capacity-block - type: string - state: - default: active - description: |- - The state of the capacity reservation. A capacity reservation is considered to be expiring if it is within the EC2 - reclaimation window. Only capacity-block reservations may be in this state. - enum: - - active - - expiring - type: string - required: - - availabilityZone - - id - - instanceMatchCriteria - - instanceType - - ownerID - type: object - type: array - conditions: - description: Conditions contains signals for health and readiness - items: - description: Condition aliases the upstream type and adds additional helper methods - properties: - lastTransitionTime: - description: |- - lastTransitionTime is the last time the condition transitioned from one status to another. - This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. - format: date-time - type: string - message: - description: |- - message is a human readable message indicating details about the transition. - This may be an empty string. - maxLength: 32768 - type: string - observedGeneration: - description: |- - observedGeneration represents the .metadata.generation that the condition was set based upon. - For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date - with respect to the current state of the instance. - format: int64 - minimum: 0 - type: integer - reason: - description: |- - reason contains a programmatic identifier indicating the reason for the condition's last transition. - Producers of specific condition types may define expected values and meanings for this field, - and whether the values are considered a guaranteed API. - The value should be a CamelCase string. - This field may not be empty. - maxLength: 1024 - minLength: 1 - pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ - type: string - status: - description: status of the condition, one of True, False, Unknown. - enum: - - "True" - - "False" - - Unknown - type: string - type: - description: type of condition in CamelCase or in foo.example.com/CamelCase. - maxLength: 316 - pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ - type: string - required: - - lastTransitionTime - - message - - reason - - status - - type - type: object - type: array - instanceProfile: - description: InstanceProfile contains the resolved instance profile for the role - type: string - securityGroups: - description: |- - SecurityGroups contains the current security group values that are available to the - cluster under the SecurityGroups selectors. - items: - description: SecurityGroup contains resolved SecurityGroup selector values utilized for node launch - properties: - id: - description: ID of the security group - type: string - name: - description: Name of the security group - type: string - required: - - id - type: object - type: array - subnets: - description: |- - Subnets contains the current subnet values that are available to the - cluster under the subnet selectors. - items: - description: Subnet contains resolved Subnet selector values utilized for node launch - properties: - id: - description: ID of the subnet - type: string - zone: - description: The associated availability zone - type: string - zoneID: - description: The associated availability zone ID - type: string - required: - - id - - zone - type: object - type: array - type: object - type: object - served: true - storage: true - subresources: - status: {} diff --git a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.sh_nodeclaims.yaml b/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.sh_nodeclaims.yaml deleted file mode 100644 index 9360be5cf310..000000000000 --- a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.sh_nodeclaims.yaml +++ /dev/null @@ -1,395 +0,0 @@ ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.20.0 - name: nodeclaims.karpenter.sh -spec: - group: karpenter.sh - names: - categories: - - karpenter - kind: NodeClaim - listKind: NodeClaimList - plural: nodeclaims - singular: nodeclaim - scope: Cluster - versions: - - additionalPrinterColumns: - - jsonPath: .metadata.labels.node\.kubernetes\.io/instance-type - name: Type - type: string - - jsonPath: .metadata.labels.karpenter\.sh/capacity-type - name: Capacity - type: string - - jsonPath: .metadata.labels.topology\.kubernetes\.io/zone - name: Zone - type: string - - jsonPath: .status.nodeName - name: Node - type: string - - jsonPath: .status.conditions[?(@.type=="Ready")].status - name: Ready - type: string - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - - jsonPath: .status.imageID - name: ImageID - priority: 1 - type: string - - jsonPath: .status.providerID - name: ID - priority: 1 - type: string - - jsonPath: .metadata.labels.karpenter\.sh/nodepool - name: NodePool - priority: 1 - type: string - - jsonPath: .spec.nodeClassRef.name - name: NodeClass - priority: 1 - type: string - - jsonPath: .status.conditions[?(@.type=="Drifted")].status - name: Drifted - priority: 1 - type: string - name: v1 - schema: - openAPIV3Schema: - description: NodeClaim is the Schema for the NodeClaims API - properties: - apiVersion: - description: |- - APIVersion defines the versioned schema of this representation of an object. - Servers should convert recognized schemas to the latest internal value, and - may reject unrecognized values. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - type: string - kind: - description: |- - Kind is a string value representing the REST resource this object represents. - Servers may infer this from the endpoint the client submits requests to. - Cannot be updated. - In CamelCase. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - type: string - metadata: - type: object - spec: - description: NodeClaimSpec describes the desired state of the NodeClaim - properties: - expireAfter: - default: 720h - description: |- - ExpireAfter is the duration the controller will wait - before terminating a node, measured from when the node is created. This - is useful to implement features like eventually consistent node upgrade, - memory leak protection, and disruption testing. - pattern: ^(([0-9]+(s|m|h))+|Never)$ - type: string - nodeClassRef: - description: NodeClassRef is a reference to an object that defines provider specific configuration - properties: - group: - description: API version of the referent - pattern: ^[^/]*$ - type: string - x-kubernetes-validations: - - message: group may not be empty - rule: self != '' - kind: - description: 'Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"' - type: string - x-kubernetes-validations: - - message: kind may not be empty - rule: self != '' - name: - description: 'Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names' - type: string - x-kubernetes-validations: - - message: name may not be empty - rule: self != '' - required: - - group - - kind - - name - type: object - requirements: - description: Requirements are layered with GetLabels and applied to every node. - items: - description: |- - A node selector requirement with min values is a selector that contains values, a key, an operator that relates the key and values - and minValues that represent the requirement to have at least that many values. - properties: - key: - description: The label key that the selector applies to. - type: string - maxLength: 316 - pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*(\/))?([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$ - x-kubernetes-validations: - - message: label domain "kubernetes.io" is restricted - rule: self in ["beta.kubernetes.io/instance-type", "failure-domain.beta.kubernetes.io/region", "beta.kubernetes.io/os", "beta.kubernetes.io/arch", "failure-domain.beta.kubernetes.io/zone", "topology.kubernetes.io/zone", "topology.kubernetes.io/region", "node.kubernetes.io/instance-type", "kubernetes.io/arch", "kubernetes.io/os", "node.kubernetes.io/windows-build"] || self.find("^([^/]+)").endsWith("node.kubernetes.io") || self.find("^([^/]+)").endsWith("node-restriction.kubernetes.io") || !self.find("^([^/]+)").endsWith("kubernetes.io") - - message: label domain "k8s.io" is restricted - rule: self.find("^([^/]+)").endsWith("kops.k8s.io") || !self.find("^([^/]+)").endsWith("k8s.io") - - message: label domain "karpenter.sh" is restricted - rule: self in ["karpenter.sh/capacity-type", "karpenter.sh/nodepool"] || !self.find("^([^/]+)").endsWith("karpenter.sh") - - message: label "kubernetes.io/hostname" is restricted - rule: self != "kubernetes.io/hostname" - - message: label domain "karpenter.k8s.aws" is restricted - rule: self in ["karpenter.k8s.aws/capacity-reservation-type", "karpenter.k8s.aws/capacity-reservation-id", "karpenter.k8s.aws/ec2nodeclass", "karpenter.k8s.aws/instance-encryption-in-transit-supported", "karpenter.k8s.aws/instance-category", "karpenter.k8s.aws/instance-hypervisor", "karpenter.k8s.aws/instance-family", "karpenter.k8s.aws/instance-generation", "karpenter.k8s.aws/instance-local-nvme", "karpenter.k8s.aws/instance-size", "karpenter.k8s.aws/instance-cpu", "karpenter.k8s.aws/instance-cpu-manufacturer", "karpenter.k8s.aws/instance-cpu-sustained-clock-speed-mhz", "karpenter.k8s.aws/instance-memory", "karpenter.k8s.aws/instance-ebs-bandwidth", "karpenter.k8s.aws/instance-network-bandwidth", "karpenter.k8s.aws/instance-gpu-name", "karpenter.k8s.aws/instance-gpu-manufacturer", "karpenter.k8s.aws/instance-gpu-count", "karpenter.k8s.aws/instance-gpu-memory", "karpenter.k8s.aws/instance-accelerator-name", "karpenter.k8s.aws/instance-accelerator-manufacturer", "karpenter.k8s.aws/instance-accelerator-count", "karpenter.k8s.aws/instance-capability-flex"] || !self.find("^([^/]+)").endsWith("karpenter.k8s.aws") - minValues: - description: |- - This field is ALPHA and can be dropped or replaced at any time - MinValues is the minimum number of unique values required to define the flexibility of the specific requirement. - maximum: 50 - minimum: 1 - type: integer - operator: - description: |- - Represents a key's relationship to a set of values. - Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. - type: string - enum: - - In - - NotIn - - Exists - - DoesNotExist - - Gt - - Lt - values: - description: |- - An array of string values. If the operator is In or NotIn, - the values array must be non-empty. If the operator is Exists or DoesNotExist, - the values array must be empty. If the operator is Gt or Lt, the values - array must have a single element, which will be interpreted as an integer. - This array is replaced during a strategic merge patch. - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxLength: 63 - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - required: - - key - - operator - type: object - maxItems: 100 - type: array - x-kubernetes-validations: - - message: requirements with operator 'In' must have a value defined - rule: 'self.all(x, x.operator == ''In'' ? x.values.size() != 0 : true)' - - message: requirements operator 'Gt' or 'Lt' must have a single positive integer value - rule: 'self.all(x, (x.operator == ''Gt'' || x.operator == ''Lt'') ? (x.values.size() == 1 && int(x.values[0]) >= 0) : true)' - - message: requirements with 'minValues' must have at least that many values specified in the 'values' field - rule: 'self.all(x, (x.operator == ''In'' && has(x.minValues)) ? x.values.size() >= x.minValues : true)' - resources: - description: Resources models the resource requirements for the NodeClaim to launch - properties: - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - description: Requests describes the minimum required resources for the NodeClaim to launch - type: object - type: object - startupTaints: - description: |- - StartupTaints are taints that are applied to nodes upon startup which are expected to be removed automatically - within a short period of time, typically by a DaemonSet that tolerates the taint. These are commonly used by - daemonsets to allow initialization and enforce startup ordering. StartupTaints are ignored for provisioning - purposes in that pods are not required to tolerate a StartupTaint in order to have nodes provisioned for them. - items: - description: |- - The node this Taint is attached to has the "effect" on - any pod that does not tolerate the Taint. - properties: - effect: - description: |- - Required. The effect of the taint on pods - that do not tolerate the taint. - Valid effects are NoSchedule, PreferNoSchedule and NoExecute. - type: string - enum: - - NoSchedule - - PreferNoSchedule - - NoExecute - key: - description: Required. The taint key to be applied to a node. - type: string - minLength: 1 - pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*(\/))?([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$ - timeAdded: - description: TimeAdded represents the time at which the taint was added. - format: date-time - type: string - value: - description: The taint value corresponding to the taint key. - type: string - pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*(\/))?([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$ - required: - - effect - - key - type: object - type: array - taints: - description: Taints will be applied to the NodeClaim's node. - items: - description: |- - The node this Taint is attached to has the "effect" on - any pod that does not tolerate the Taint. - properties: - effect: - description: |- - Required. The effect of the taint on pods - that do not tolerate the taint. - Valid effects are NoSchedule, PreferNoSchedule and NoExecute. - type: string - enum: - - NoSchedule - - PreferNoSchedule - - NoExecute - key: - description: Required. The taint key to be applied to a node. - type: string - minLength: 1 - pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*(\/))?([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$ - timeAdded: - description: TimeAdded represents the time at which the taint was added. - format: date-time - type: string - value: - description: The taint value corresponding to the taint key. - type: string - pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*(\/))?([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$ - required: - - effect - - key - type: object - type: array - terminationGracePeriod: - description: |- - TerminationGracePeriod is the maximum duration the controller will wait before forcefully deleting the pods on a node, measured from when deletion is first initiated. - - Warning: this feature takes precedence over a Pod's terminationGracePeriodSeconds value, and bypasses any blocked PDBs or the karpenter.sh/do-not-disrupt annotation. - - This field is intended to be used by cluster administrators to enforce that nodes can be cycled within a given time period. - When set, drifted nodes will begin draining even if there are pods blocking eviction. Draining will respect PDBs and the do-not-disrupt annotation until the TGP is reached. - - Karpenter will preemptively delete pods so their terminationGracePeriodSeconds align with the node's terminationGracePeriod. - If a pod would be terminated without being granted its full terminationGracePeriodSeconds prior to the node timeout, - that pod will be deleted at T = node timeout - pod terminationGracePeriodSeconds. - - The feature can also be used to allow maximum time limits for long-running jobs which can delay node termination with preStop hooks. - If left undefined, the controller will wait indefinitely for pods to be drained. - pattern: ^([0-9]+(s|m|h))+$ - type: string - required: - - nodeClassRef - - requirements - type: object - x-kubernetes-validations: - - message: spec is immutable - rule: self == oldSelf - status: - description: NodeClaimStatus defines the observed state of NodeClaim - properties: - allocatable: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - description: Allocatable is the estimated allocatable capacity of the node - type: object - capacity: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - description: Capacity is the estimated full capacity of the node - type: object - conditions: - description: Conditions contains signals for health and readiness - items: - description: Condition aliases the upstream type and adds additional helper methods - properties: - lastTransitionTime: - description: |- - lastTransitionTime is the last time the condition transitioned from one status to another. - This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. - format: date-time - type: string - message: - description: |- - message is a human readable message indicating details about the transition. - This may be an empty string. - maxLength: 32768 - type: string - observedGeneration: - description: |- - observedGeneration represents the .metadata.generation that the condition was set based upon. - For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date - with respect to the current state of the instance. - format: int64 - minimum: 0 - type: integer - reason: - description: |- - reason contains a programmatic identifier indicating the reason for the condition's last transition. - Producers of specific condition types may define expected values and meanings for this field, - and whether the values are considered a guaranteed API. - The value should be a CamelCase string. - This field may not be empty. - maxLength: 1024 - pattern: ^([A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?|)$ - type: string - status: - description: status of the condition, one of True, False, Unknown. - enum: - - "True" - - "False" - - Unknown - type: string - type: - description: type of condition in CamelCase or in foo.example.com/CamelCase. - maxLength: 316 - pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ - type: string - required: - - lastTransitionTime - - status - - type - type: object - type: array - imageID: - description: ImageID is an identifier for the image that runs on the node - type: string - lastPodEventTime: - description: |- - LastPodEventTime is updated with the last time a pod was scheduled - or removed from the node. A pod going terminal or terminating - is also considered as removed. - format: date-time - type: string - nodeName: - description: NodeName is the name of the corresponding node object - type: string - providerID: - description: ProviderID of the corresponding node object - type: string - type: object - required: - - spec - type: object - served: true - storage: true - subresources: - status: {} diff --git a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.sh_nodeoverlays.yaml b/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.sh_nodeoverlays.yaml deleted file mode 100644 index 2a71eafaaab2..000000000000 --- a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.sh_nodeoverlays.yaml +++ /dev/null @@ -1,228 +0,0 @@ ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.20.0 - name: nodeoverlays.karpenter.sh -spec: - group: karpenter.sh - names: - categories: - - karpenter - kind: NodeOverlay - listKind: NodeOverlayList - plural: nodeoverlays - shortNames: - - overlays - singular: nodeoverlay - scope: Cluster - versions: - - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=="Ready")].status - name: Ready - type: string - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - - jsonPath: .spec.weight - name: Weight - priority: 1 - type: integer - name: v1alpha1 - schema: - openAPIV3Schema: - properties: - apiVersion: - description: |- - APIVersion defines the versioned schema of this representation of an object. - Servers should convert recognized schemas to the latest internal value, and - may reject unrecognized values. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - type: string - kind: - description: |- - Kind is a string value representing the REST resource this object represents. - Servers may infer this from the endpoint the client submits requests to. - Cannot be updated. - In CamelCase. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - type: string - metadata: - type: object - spec: - properties: - capacity: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - description: |- - Capacity adds extended resources only, and does not replace any existing resources. - These extended resources are appended to the node's existing resource list. - Note: This field does not modify or override standard resources like cpu, memory, ephemeral-storage, or pods. - type: object - x-kubernetes-validations: - - message: invalid resource restricted - rule: self.all(x, !(x in ['cpu', 'memory', 'ephemeral-storage', 'pods'])) - price: - description: Price specifies amount for an instance types that match the specified labels. Users can override prices using a signed float representing the price override - pattern: ^\d+(\.\d+)?$ - type: string - priceAdjustment: - description: |- - PriceAdjustment specifies the price change for matching instance types. Accepts either: - - A fixed price modifier (e.g., -0.5, 1.2) - - A percentage modifier (e.g., +10% for increase, -15% for decrees) - pattern: ^(([+-]{1}(\d*\.?\d+))|(\+{1}\d*\.?\d+%)|(^(-\d{1,2}(\.\d+)?%)$)|(-100%))$ - type: string - requirements: - description: |- - Requirements constrain when this NodeOverlay is applied during scheduling simulations. - These requirements can match: - - Well-known labels (e.g., node.kubernetes.io/instance-type, karpenter.sh/nodepool) - - Custom labels from NodePool's spec.template.labels - items: - description: |- - A node selector requirement is a selector that contains values, a key, and an operator - that relates the key and values. - properties: - key: - description: The label key that the selector applies to. - type: string - maxLength: 316 - pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*(\/))?([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$ - x-kubernetes-validations: - - message: label domain "kubernetes.io" is restricted - rule: self in ["beta.kubernetes.io/instance-type", "failure-domain.beta.kubernetes.io/region", "beta.kubernetes.io/os", "beta.kubernetes.io/arch", "failure-domain.beta.kubernetes.io/zone", "topology.kubernetes.io/zone", "topology.kubernetes.io/region", "node.kubernetes.io/instance-type", "kubernetes.io/arch", "kubernetes.io/os", "node.kubernetes.io/windows-build"] || self.find("^([^/]+)").endsWith("node.kubernetes.io") || self.find("^([^/]+)").endsWith("node-restriction.kubernetes.io") || !self.find("^([^/]+)").endsWith("kubernetes.io") - - message: label domain "k8s.io" is restricted - rule: self.find("^([^/]+)").endsWith("kops.k8s.io") || !self.find("^([^/]+)").endsWith("k8s.io") - - message: label domain "karpenter.sh" is restricted - rule: self in ["karpenter.sh/capacity-type", "karpenter.sh/nodepool"] || !self.find("^([^/]+)").endsWith("karpenter.sh") - - message: label "kubernetes.io/hostname" is restricted - rule: self != "kubernetes.io/hostname" - - message: label domain "karpenter.k8s.aws" is restricted - rule: self in ["karpenter.k8s.aws/ec2nodeclass", "karpenter.k8s.aws/instance-encryption-in-transit-supported", "karpenter.k8s.aws/instance-category", "karpenter.k8s.aws/instance-hypervisor", "karpenter.k8s.aws/instance-family", "karpenter.k8s.aws/instance-generation", "karpenter.k8s.aws/instance-local-nvme", "karpenter.k8s.aws/instance-size", "karpenter.k8s.aws/instance-cpu", "karpenter.k8s.aws/instance-cpu-manufacturer", "karpenter.k8s.aws/instance-cpu-sustained-clock-speed-mhz", "karpenter.k8s.aws/instance-memory", "karpenter.k8s.aws/instance-ebs-bandwidth", "karpenter.k8s.aws/instance-network-bandwidth", "karpenter.k8s.aws/instance-gpu-name", "karpenter.k8s.aws/instance-gpu-manufacturer", "karpenter.k8s.aws/instance-gpu-count", "karpenter.k8s.aws/instance-gpu-memory", "karpenter.k8s.aws/instance-accelerator-name", "karpenter.k8s.aws/instance-accelerator-manufacturer", "karpenter.k8s.aws/instance-accelerator-count", "karpenter.k8s.aws/instance-capability-flex"] || !self.find("^([^/]+)").endsWith("karpenter.k8s.aws") - operator: - description: |- - Represents a key's relationship to a set of values. - Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. - type: string - enum: - - In - - NotIn - - Exists - - DoesNotExist - - Gt - - Lt - values: - description: |- - An array of string values. If the operator is In or NotIn, - the values array must be non-empty. If the operator is Exists or DoesNotExist, - the values array must be empty. If the operator is Gt or Lt, the values - array must have a single element, which will be interpreted as an integer. - This array is replaced during a strategic merge patch. - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxLength: 63 - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - required: - - key - - operator - type: object - maxItems: 100 - type: array - x-kubernetes-validations: - - message: requirements with operator 'NotIn' must have a value defined - rule: 'self.all(x, x.operator == ''NotIn'' ? x.values.size() != 0 : true)' - - message: requirements with operator 'In' must have a value defined - rule: 'self.all(x, x.operator == ''In'' ? x.values.size() != 0 : true)' - - message: requirements operator 'Gt' or 'Lt' must have a single positive integer value - rule: 'self.all(x, (x.operator == ''Gt'' || x.operator == ''Lt'') ? (x.values.size() == 1 && int(x.values[0]) >= 0) : true)' - weight: - description: |- - Weight defines the priority of this NodeOverlay when overriding node attributes. - NodeOverlays with higher numerical weights take precedence over those with lower weights. - If no weight is specified, the NodeOverlay is treated as having a weight of 0. - When multiple NodeOverlays have identical weights, they are merged in alphabetical order. - format: int32 - maximum: 10000 - minimum: 1 - type: integer - required: - - requirements - type: object - x-kubernetes-validations: - - message: cannot set both 'price' and 'priceAdjustment' - rule: '!has(self.price) || !has(self.priceAdjustment)' - status: - description: NodeOverlayStatus defines the observed state of NodeOverlay - properties: - conditions: - description: Conditions contains signals for health and readiness - items: - description: Condition aliases the upstream type and adds additional helper methods - properties: - lastTransitionTime: - description: |- - lastTransitionTime is the last time the condition transitioned from one status to another. - This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. - format: date-time - type: string - message: - description: |- - message is a human readable message indicating details about the transition. - This may be an empty string. - maxLength: 32768 - type: string - observedGeneration: - description: |- - observedGeneration represents the .metadata.generation that the condition was set based upon. - For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date - with respect to the current state of the instance. - format: int64 - minimum: 0 - type: integer - reason: - description: |- - reason contains a programmatic identifier indicating the reason for the condition's last transition. - Producers of specific condition types may define expected values and meanings for this field, - and whether the values are considered a guaranteed API. - The value should be a CamelCase string. - This field may not be empty. - maxLength: 1024 - minLength: 1 - pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ - type: string - status: - description: status of the condition, one of True, False, Unknown. - enum: - - "True" - - "False" - - Unknown - type: string - type: - description: type of condition in CamelCase or in foo.example.com/CamelCase. - maxLength: 316 - pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ - type: string - required: - - lastTransitionTime - - message - - reason - - status - - type - type: object - type: array - type: object - required: - - spec - type: object - served: true - storage: true - subresources: - status: {} diff --git a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.sh_nodepools.yaml b/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.sh_nodepools.yaml deleted file mode 100644 index 06d246756c77..000000000000 --- a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/crds/karpenter.sh_nodepools.yaml +++ /dev/null @@ -1,556 +0,0 @@ ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.20.0 - name: nodepools.karpenter.sh -spec: - group: karpenter.sh - names: - categories: - - karpenter - kind: NodePool - listKind: NodePoolList - plural: nodepools - singular: nodepool - scope: Cluster - versions: - - additionalPrinterColumns: - - jsonPath: .spec.template.spec.nodeClassRef.name - name: NodeClass - type: string - - jsonPath: .status.nodes - name: Nodes - type: string - - jsonPath: .status.conditions[?(@.type=="Ready")].status - name: Ready - type: string - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - - jsonPath: .spec.weight - name: Weight - priority: 1 - type: integer - - jsonPath: .status.resources.cpu - name: CPU - priority: 1 - type: string - - jsonPath: .status.resources.memory - name: Memory - priority: 1 - type: string - name: v1 - schema: - openAPIV3Schema: - description: NodePool is the Schema for the NodePools API - properties: - apiVersion: - description: |- - APIVersion defines the versioned schema of this representation of an object. - Servers should convert recognized schemas to the latest internal value, and - may reject unrecognized values. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - type: string - kind: - description: |- - Kind is a string value representing the REST resource this object represents. - Servers may infer this from the endpoint the client submits requests to. - Cannot be updated. - In CamelCase. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - type: string - metadata: - type: object - spec: - description: |- - NodePoolSpec is the top level nodepool specification. Nodepools - launch nodes in response to pods that are unschedulable. A single nodepool - is capable of managing a diverse set of nodes. Node properties are determined - from a combination of nodepool and pod scheduling constraints. - properties: - disruption: - default: - consolidateAfter: 0s - description: Disruption contains the parameters that relate to Karpenter's disruption logic - properties: - budgets: - default: - - nodes: 10% - description: |- - Budgets is a list of Budgets. - If there are multiple active budgets, Karpenter uses - the most restrictive value. If left undefined, - this will default to one budget with a value to 10%. - items: - description: |- - Budget defines when Karpenter will restrict the - number of Node Claims that can be terminating simultaneously. - properties: - duration: - description: |- - Duration determines how long a Budget is active since each Schedule hit. - Only minutes and hours are accepted, as cron does not work in seconds. - If omitted, the budget is always active. - This is required if Schedule is set. - This regex has an optional 0s at the end since the duration.String() always adds - a 0s at the end. - pattern: ^((([0-9]+(h|m))|([0-9]+h[0-9]+m))(0s)?)$ - type: string - nodes: - default: 10% - description: |- - Nodes dictates the maximum number of NodeClaims owned by this NodePool - that can be terminating at once. This is calculated by counting nodes that - have a deletion timestamp set, or are actively being deleted by Karpenter. - This field is required when specifying a budget. - This cannot be of type intstr.IntOrString since kubebuilder doesn't support pattern - checking for int nodes for IntOrString nodes. - Ref: https://github.com/kubernetes-sigs/controller-tools/blob/55efe4be40394a288216dab63156b0a64fb82929/pkg/crd/markers/validation.go#L379-L388 - pattern: ^((100|[0-9]{1,2})%|[0-9]+)$ - type: string - reasons: - description: |- - Reasons is a list of disruption methods that this budget applies to. If Reasons is not set, this budget applies to all methods. - Otherwise, this will apply to each reason defined. - allowed reasons are Underutilized, Empty, and Drifted. - items: - description: DisruptionReason defines valid reasons for disruption budgets. - enum: - - Underutilized - - Empty - - Drifted - type: string - maxItems: 50 - type: array - schedule: - description: |- - Schedule specifies when a budget begins being active, following - the upstream cronjob syntax. If omitted, the budget is always active. - Timezones are not supported. - This field is required if Duration is set. - pattern: ^(@(annually|yearly|monthly|weekly|daily|midnight|hourly))|((.+)\s(.+)\s(.+)\s(.+)\s(.+))$ - type: string - required: - - nodes - type: object - maxItems: 50 - type: array - x-kubernetes-validations: - - message: '''schedule'' must be set with ''duration''' - rule: self.all(x, has(x.schedule) == has(x.duration)) - consolidateAfter: - description: |- - ConsolidateAfter is the duration the controller will wait - before attempting to terminate nodes that are underutilized. - Refer to ConsolidationPolicy for how underutilization is considered. - When replicas is set, ConsolidateAfter is simply ignored - pattern: ^(([0-9]+(s|m|h))+|Never)$ - type: string - consolidationPolicy: - default: WhenEmptyOrUnderutilized - description: |- - ConsolidationPolicy describes which nodes Karpenter can disrupt through its consolidation - algorithm. This policy defaults to "WhenEmptyOrUnderutilized" if not specified - When replicas is set, ConsolidationPolicy is simply ignored - enum: - - WhenEmpty - - WhenEmptyOrUnderutilized - type: string - required: - - consolidateAfter - type: object - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - description: |- - Limits define a set of bounds for provisioning capacity. - Limits other than limits.nodes is not supported when replicas is set. - type: object - replicas: - description: |- - Replicas is the desired number of nodes for the NodePool. When specified, the NodePool will - maintain this fixed number of replicas rather than scaling based on pod demand. - When replicas is set: - - The following fields are ignored: - * disruption.consolidationPolicy - * disruption.consolidateAfter - - Only limits.nodes is supported; other resource limits (e.g., CPU, memory) must not be specified. - - Weight is not supported. - Note: This field is alpha. - format: int64 - minimum: 0 - type: integer - template: - description: |- - Template contains the template of possibilities for the provisioning logic to launch a NodeClaim with. - NodeClaims launched from this NodePool will often be further constrained than the template specifies. - properties: - metadata: - properties: - annotations: - additionalProperties: - type: string - description: |- - Annotations is an unstructured key value map stored with a resource that may be - set by external tools to store and retrieve arbitrary metadata. They are not - queryable and should be preserved when modifying objects. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations - type: object - labels: - additionalProperties: - type: string - maxLength: 63 - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - description: |- - Map of string keys and values that can be used to organize and categorize - (scope and select) objects. May match selectors of replication controllers - and services. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels - type: object - maxProperties: 100 - x-kubernetes-validations: - - message: label domain "kubernetes.io" is restricted - rule: self.all(x, x in ["beta.kubernetes.io/instance-type", "failure-domain.beta.kubernetes.io/region", "beta.kubernetes.io/os", "beta.kubernetes.io/arch", "failure-domain.beta.kubernetes.io/zone", "topology.kubernetes.io/zone", "topology.kubernetes.io/region", "kubernetes.io/arch", "kubernetes.io/os", "node.kubernetes.io/windows-build"] || x.find("^([^/]+)").endsWith("node.kubernetes.io") || x.find("^([^/]+)").endsWith("node-restriction.kubernetes.io") || !x.find("^([^/]+)").endsWith("kubernetes.io")) - - message: label domain "k8s.io" is restricted - rule: self.all(x, x.find("^([^/]+)").endsWith("kops.k8s.io") || !x.find("^([^/]+)").endsWith("k8s.io")) - - message: label domain "karpenter.sh" is restricted - rule: self.all(x, x in ["karpenter.sh/capacity-type", "karpenter.sh/nodepool"] || !x.find("^([^/]+)").endsWith("karpenter.sh")) - - message: label "karpenter.sh/nodepool" is restricted - rule: self.all(x, x != "karpenter.sh/nodepool") - - message: label "kubernetes.io/hostname" is restricted - rule: self.all(x, x != "kubernetes.io/hostname") - - message: label domain "karpenter.k8s.aws" is restricted - rule: self.all(x, x in ["karpenter.k8s.aws/capacity-reservation-type", "karpenter.k8s.aws/capacity-reservation-id", "karpenter.k8s.aws/ec2nodeclass", "karpenter.k8s.aws/instance-encryption-in-transit-supported", "karpenter.k8s.aws/instance-category", "karpenter.k8s.aws/instance-hypervisor", "karpenter.k8s.aws/instance-family", "karpenter.k8s.aws/instance-generation", "karpenter.k8s.aws/instance-local-nvme", "karpenter.k8s.aws/instance-size", "karpenter.k8s.aws/instance-cpu", "karpenter.k8s.aws/instance-cpu-manufacturer", "karpenter.k8s.aws/instance-cpu-sustained-clock-speed-mhz", "karpenter.k8s.aws/instance-memory", "karpenter.k8s.aws/instance-ebs-bandwidth", "karpenter.k8s.aws/instance-network-bandwidth", "karpenter.k8s.aws/instance-gpu-name", "karpenter.k8s.aws/instance-gpu-manufacturer", "karpenter.k8s.aws/instance-gpu-count", "karpenter.k8s.aws/instance-gpu-memory", "karpenter.k8s.aws/instance-accelerator-name", "karpenter.k8s.aws/instance-accelerator-manufacturer", "karpenter.k8s.aws/instance-accelerator-count", "karpenter.k8s.aws/instance-capability-flex"] || !x.find("^([^/]+)").endsWith("karpenter.k8s.aws")) - type: object - spec: - description: |- - NodeClaimTemplateSpec describes the desired state of the NodeClaim in the Nodepool - NodeClaimTemplateSpec is used in the NodePool's NodeClaimTemplate, with the resource requests omitted since - users are not able to set resource requests in the NodePool. - properties: - expireAfter: - default: 720h - description: |- - ExpireAfter is the duration the controller will wait - before terminating a node, measured from when the node is created. This - is useful to implement features like eventually consistent node upgrade, - memory leak protection, and disruption testing. - pattern: ^(([0-9]+(s|m|h))+|Never)$ - type: string - nodeClassRef: - description: NodeClassRef is a reference to an object that defines provider specific configuration - properties: - group: - description: API version of the referent - pattern: ^[^/]*$ - type: string - x-kubernetes-validations: - - message: group may not be empty - rule: self != '' - kind: - description: 'Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"' - type: string - x-kubernetes-validations: - - message: kind may not be empty - rule: self != '' - name: - description: 'Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names' - type: string - x-kubernetes-validations: - - message: name may not be empty - rule: self != '' - required: - - group - - kind - - name - type: object - x-kubernetes-validations: - - message: nodeClassRef.group is immutable - rule: self.group == oldSelf.group - - message: nodeClassRef.kind is immutable - rule: self.kind == oldSelf.kind - requirements: - description: Requirements are layered with GetLabels and applied to every node. - items: - description: |- - A node selector requirement with min values is a selector that contains values, a key, an operator that relates the key and values - and minValues that represent the requirement to have at least that many values. - properties: - key: - description: The label key that the selector applies to. - type: string - maxLength: 316 - pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*(\/))?([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$ - x-kubernetes-validations: - - message: label domain "kubernetes.io" is restricted - rule: self in ["beta.kubernetes.io/instance-type", "failure-domain.beta.kubernetes.io/region", "beta.kubernetes.io/os", "beta.kubernetes.io/arch", "failure-domain.beta.kubernetes.io/zone", "topology.kubernetes.io/zone", "topology.kubernetes.io/region", "node.kubernetes.io/instance-type", "kubernetes.io/arch", "kubernetes.io/os", "node.kubernetes.io/windows-build"] || self.find("^([^/]+)").endsWith("node.kubernetes.io") || self.find("^([^/]+)").endsWith("node-restriction.kubernetes.io") || !self.find("^([^/]+)").endsWith("kubernetes.io") - - message: label domain "k8s.io" is restricted - rule: self.find("^([^/]+)").endsWith("kops.k8s.io") || !self.find("^([^/]+)").endsWith("k8s.io") - - message: label domain "karpenter.sh" is restricted - rule: self in ["karpenter.sh/capacity-type", "karpenter.sh/nodepool"] || !self.find("^([^/]+)").endsWith("karpenter.sh") - - message: label "karpenter.sh/nodepool" is restricted - rule: self != "karpenter.sh/nodepool" - - message: label "kubernetes.io/hostname" is restricted - rule: self != "kubernetes.io/hostname" - - message: label domain "karpenter.k8s.aws" is restricted - rule: self in ["karpenter.k8s.aws/capacity-reservation-type", "karpenter.k8s.aws/capacity-reservation-id", "karpenter.k8s.aws/ec2nodeclass", "karpenter.k8s.aws/instance-encryption-in-transit-supported", "karpenter.k8s.aws/instance-category", "karpenter.k8s.aws/instance-hypervisor", "karpenter.k8s.aws/instance-family", "karpenter.k8s.aws/instance-generation", "karpenter.k8s.aws/instance-local-nvme", "karpenter.k8s.aws/instance-size", "karpenter.k8s.aws/instance-cpu", "karpenter.k8s.aws/instance-cpu-manufacturer", "karpenter.k8s.aws/instance-cpu-sustained-clock-speed-mhz", "karpenter.k8s.aws/instance-memory", "karpenter.k8s.aws/instance-ebs-bandwidth", "karpenter.k8s.aws/instance-network-bandwidth", "karpenter.k8s.aws/instance-gpu-name", "karpenter.k8s.aws/instance-gpu-manufacturer", "karpenter.k8s.aws/instance-gpu-count", "karpenter.k8s.aws/instance-gpu-memory", "karpenter.k8s.aws/instance-accelerator-name", "karpenter.k8s.aws/instance-accelerator-manufacturer", "karpenter.k8s.aws/instance-accelerator-count", "karpenter.k8s.aws/instance-capability-flex"] || !self.find("^([^/]+)").endsWith("karpenter.k8s.aws") - minValues: - description: |- - This field is ALPHA and can be dropped or replaced at any time - MinValues is the minimum number of unique values required to define the flexibility of the specific requirement. - maximum: 50 - minimum: 1 - type: integer - operator: - description: |- - Represents a key's relationship to a set of values. - Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. - type: string - enum: - - In - - NotIn - - Exists - - DoesNotExist - - Gt - - Lt - values: - description: |- - An array of string values. If the operator is In or NotIn, - the values array must be non-empty. If the operator is Exists or DoesNotExist, - the values array must be empty. If the operator is Gt or Lt, the values - array must have a single element, which will be interpreted as an integer. - This array is replaced during a strategic merge patch. - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxLength: 63 - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - required: - - key - - operator - type: object - maxItems: 100 - type: array - x-kubernetes-validations: - - message: requirements with operator 'In' must have a value defined - rule: 'self.all(x, x.operator == ''In'' ? x.values.size() != 0 : true)' - - message: requirements operator 'Gt' or 'Lt' must have a single positive integer value - rule: 'self.all(x, (x.operator == ''Gt'' || x.operator == ''Lt'') ? (x.values.size() == 1 && int(x.values[0]) >= 0) : true)' - - message: requirements with 'minValues' must have at least that many values specified in the 'values' field - rule: 'self.all(x, (x.operator == ''In'' && has(x.minValues)) ? x.values.size() >= x.minValues : true)' - startupTaints: - description: |- - StartupTaints are taints that are applied to nodes upon startup which are expected to be removed automatically - within a short period of time, typically by a DaemonSet that tolerates the taint. These are commonly used by - daemonsets to allow initialization and enforce startup ordering. StartupTaints are ignored for provisioning - purposes in that pods are not required to tolerate a StartupTaint in order to have nodes provisioned for them. - items: - description: |- - The node this Taint is attached to has the "effect" on - any pod that does not tolerate the Taint. - properties: - effect: - description: |- - Required. The effect of the taint on pods - that do not tolerate the taint. - Valid effects are NoSchedule, PreferNoSchedule and NoExecute. - type: string - enum: - - NoSchedule - - PreferNoSchedule - - NoExecute - key: - description: Required. The taint key to be applied to a node. - type: string - minLength: 1 - pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*(\/))?([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$ - timeAdded: - description: TimeAdded represents the time at which the taint was added. - format: date-time - type: string - value: - description: The taint value corresponding to the taint key. - type: string - pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*(\/))?([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$ - required: - - effect - - key - type: object - type: array - taints: - description: Taints will be applied to the NodeClaim's node. - items: - description: |- - The node this Taint is attached to has the "effect" on - any pod that does not tolerate the Taint. - properties: - effect: - description: |- - Required. The effect of the taint on pods - that do not tolerate the taint. - Valid effects are NoSchedule, PreferNoSchedule and NoExecute. - type: string - enum: - - NoSchedule - - PreferNoSchedule - - NoExecute - key: - description: Required. The taint key to be applied to a node. - type: string - minLength: 1 - pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*(\/))?([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$ - timeAdded: - description: TimeAdded represents the time at which the taint was added. - format: date-time - type: string - value: - description: The taint value corresponding to the taint key. - type: string - pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*(\/))?([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$ - required: - - effect - - key - type: object - type: array - terminationGracePeriod: - description: |- - TerminationGracePeriod is the maximum duration the controller will wait before forcefully deleting the pods on a node, measured from when deletion is first initiated. - - Warning: this feature takes precedence over a Pod's terminationGracePeriodSeconds value, and bypasses any blocked PDBs or the karpenter.sh/do-not-disrupt annotation. - - This field is intended to be used by cluster administrators to enforce that nodes can be cycled within a given time period. - When set, drifted nodes will begin draining even if there are pods blocking eviction. Draining will respect PDBs and the do-not-disrupt annotation until the TGP is reached. - - Karpenter will preemptively delete pods so their terminationGracePeriodSeconds align with the node's terminationGracePeriod. - If a pod would be terminated without being granted its full terminationGracePeriodSeconds prior to the node timeout, - that pod will be deleted at T = node timeout - pod terminationGracePeriodSeconds. - - The feature can also be used to allow maximum time limits for long-running jobs which can delay node termination with preStop hooks. - If left undefined, the controller will wait indefinitely for pods to be drained. - pattern: ^([0-9]+(s|m|h))+$ - type: string - required: - - nodeClassRef - - requirements - type: object - required: - - spec - type: object - weight: - description: |- - Weight is the priority given to the nodepool during scheduling. A higher - numerical weight indicates that this nodepool will be ordered - ahead of other nodepools with lower weights. A nodepool with no weight - will be treated as if it is a nodepool with a weight of 0. - Weight is not supported when replicas is set. - format: int32 - maximum: 100 - minimum: 1 - type: integer - required: - - template - type: object - x-kubernetes-validations: - - message: Cannot transition NodePool between static (replicas set) and dynamic (replicas unset) provisioning modes - rule: has(self.replicas) == has(oldSelf.replicas) - - message: only 'limits.nodes' is supported on static NodePools - rule: '!has(self.replicas) || (!has(self.limits) || size(self.limits) == 0 || (size(self.limits) == 1 && ''nodes'' in self.limits))' - - message: '''weight'' is not supported on static NodePools' - rule: '!has(self.replicas) || !has(self.weight)' - status: - description: NodePoolStatus defines the observed state of NodePool - properties: - conditions: - description: Conditions contains signals for health and readiness - items: - description: Condition aliases the upstream type and adds additional helper methods - properties: - lastTransitionTime: - description: |- - lastTransitionTime is the last time the condition transitioned from one status to another. - This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. - format: date-time - type: string - message: - description: |- - message is a human readable message indicating details about the transition. - This may be an empty string. - maxLength: 32768 - type: string - observedGeneration: - description: |- - observedGeneration represents the .metadata.generation that the condition was set based upon. - For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date - with respect to the current state of the instance. - format: int64 - minimum: 0 - type: integer - reason: - description: |- - reason contains a programmatic identifier indicating the reason for the condition's last transition. - Producers of specific condition types may define expected values and meanings for this field, - and whether the values are considered a guaranteed API. - The value should be a CamelCase string. - This field may not be empty. - maxLength: 1024 - minLength: 1 - pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ - type: string - status: - description: status of the condition, one of True, False, Unknown. - enum: - - "True" - - "False" - - Unknown - type: string - type: - description: type of condition in CamelCase or in foo.example.com/CamelCase. - maxLength: 316 - pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ - type: string - required: - - lastTransitionTime - - message - - reason - - status - - type - type: object - type: array - nodeClassObservedGeneration: - description: |- - NodeClassObservedGeneration represents the observed nodeClass generation for referenced nodeClass. If this does not match - the actual NodeClass Generation, NodeRegistrationHealthy status condition on the NodePool will be reset - format: int64 - type: integer - nodes: - default: 0 - description: Nodes is the count of nodes associated with this NodePool - format: int64 - type: integer - resources: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - description: Resources is the list of resources that have been provisioned. - type: object - type: object - required: - - spec - type: object - served: true - storage: true - subresources: - scale: - specReplicasPath: .spec.replicas - statusReplicasPath: .status.nodes - status: {} diff --git a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/doc.go b/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/doc.go deleted file mode 100644 index d18cd5a86105..000000000000 --- a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/doc.go +++ /dev/null @@ -1,40 +0,0 @@ -/* -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// +k8s:openapi-gen=true -// +k8s:deepcopy-gen=package,register -// +k8s:defaulter-gen=TypeMeta -// +groupName=karpenter.k8s.aws -package v1 // doc.go is discovered by codegen - -import ( - corev1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime/schema" - "k8s.io/client-go/kubernetes/scheme" - "sigs.k8s.io/karpenter/pkg/cloudprovider" - - "github.com/aws/karpenter-provider-aws/pkg/apis" -) - -func init() { - gv := schema.GroupVersion{Group: apis.Group, Version: "v1"} - corev1.AddToGroupVersion(scheme.Scheme, gv) - scheme.Scheme.AddKnownTypes(gv, - &EC2NodeClass{}, - &EC2NodeClassList{}, - ) - - cloudprovider.ReservationIDLabel = LabelCapacityReservationID - cloudprovider.ReservedCapacityLabels.Insert(LabelCapacityReservationID, LabelCapacityReservationType) -} diff --git a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/ec2nodeclass.go b/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/ec2nodeclass.go deleted file mode 100644 index 00007f987033..000000000000 --- a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/ec2nodeclass.go +++ /dev/null @@ -1,659 +0,0 @@ -/* -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package v1 - -import ( - "encoding/json" - "fmt" - "log" - "strings" - - "github.com/google/uuid" - "github.com/mitchellh/hashstructure/v2" - "github.com/samber/lo" - v1 "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/api/resource" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" -) - -// EC2NodeClassSpec is the top level specification for the AWS Karpenter Provider. -// This will contain configuration necessary to launch instances in AWS. -type EC2NodeClassSpec struct { - // SubnetSelectorTerms is a list of subnet selector terms. The terms are ORed. - // +kubebuilder:validation:XValidation:message="subnetSelectorTerms cannot be empty",rule="self.size() != 0" - // +kubebuilder:validation:XValidation:message="expected at least one, got none, ['tags', 'id']",rule="self.all(x, has(x.tags) || has(x.id))" - // +kubebuilder:validation:XValidation:message="'id' is mutually exclusive, cannot be set with a combination of other fields in a subnet selector term",rule="!self.all(x, has(x.id) && has(x.tags))" - // +kubebuilder:validation:MaxItems:=30 - // +required - SubnetSelectorTerms []SubnetSelectorTerm `json:"subnetSelectorTerms" hash:"ignore"` - // SecurityGroupSelectorTerms is a list of security group selector terms. The terms are ORed. - // +kubebuilder:validation:XValidation:message="securityGroupSelectorTerms cannot be empty",rule="self.size() != 0" - // +kubebuilder:validation:XValidation:message="expected at least one, got none, ['tags', 'id', 'name']",rule="self.all(x, has(x.tags) || has(x.id) || has(x.name))" - // +kubebuilder:validation:XValidation:message="'id' is mutually exclusive, cannot be set with a combination of other fields in a security group selector term",rule="!self.all(x, has(x.id) && (has(x.tags) || has(x.name)))" - // +kubebuilder:validation:XValidation:message="'name' is mutually exclusive, cannot be set with a combination of other fields in a security group selector term",rule="!self.all(x, has(x.name) && (has(x.tags) || has(x.id)))" - // +kubebuilder:validation:MaxItems:=30 - // +required - SecurityGroupSelectorTerms []SecurityGroupSelectorTerm `json:"securityGroupSelectorTerms" hash:"ignore"` - // CapacityReservationSelectorTerms is a list of capacity reservation selector terms. Each term is ORed together to - // determine the set of eligible capacity reservations. - // +kubebuilder:validation:XValidation:message="expected at least one, got none, ['tags', 'id', 'instanceMatchCriteria']",rule="self.all(x, has(x.tags) || has(x.id) || has(x.instanceMatchCriteria))" - // +kubebuilder:validation:XValidation:message="'id' is mutually exclusive, cannot be set along with other fields in a capacity reservation selector term",rule="!self.all(x, has(x.id) && (has(x.tags) || has(x.ownerID) || has(x.instanceMatchCriteria)))" - // +kubebuilder:validation:MaxItems:=30 - // +optional - CapacityReservationSelectorTerms []CapacityReservationSelectorTerm `json:"capacityReservationSelectorTerms" hash:"ignore"` - // AssociatePublicIPAddress controls if public IP addresses are assigned to instances that are launched with the nodeclass. - // +optional - AssociatePublicIPAddress *bool `json:"associatePublicIPAddress,omitempty"` - // IPPrefixCount sets the number of IPv4 prefixes to be automatically assigned to the network interface. - // +kubebuilder:validation:Minimum:=0 - // +optional - IPPrefixCount *int32 `json:"ipPrefixCount,omitempty" hash:"ignore"` - // AMISelectorTerms is a list of or ami selector terms. The terms are ORed. - // +kubebuilder:validation:XValidation:message="expected at least one, got none, ['tags', 'id', 'name', 'alias', 'ssmParameter']",rule="self.all(x, has(x.tags) || has(x.id) || has(x.name) || has(x.alias) || has(x.ssmParameter))" - // +kubebuilder:validation:XValidation:message="'id' is mutually exclusive, cannot be set with a combination of other fields in amiSelectorTerms",rule="!self.exists(x, has(x.id) && (has(x.alias) || has(x.tags) || has(x.name) || has(x.owner)))" - // +kubebuilder:validation:XValidation:message="'alias' is mutually exclusive, cannot be set with a combination of other fields in amiSelectorTerms",rule="!self.exists(x, has(x.alias) && (has(x.id) || has(x.tags) || has(x.name) || has(x.owner)))" - // +kubebuilder:validation:XValidation:message="'alias' is mutually exclusive, cannot be set with a combination of other amiSelectorTerms",rule="!(self.exists(x, has(x.alias)) && self.size() != 1)" - // +kubebuilder:validation:MinItems:=1 - // +kubebuilder:validation:MaxItems:=30 - // +required - AMISelectorTerms []AMISelectorTerm `json:"amiSelectorTerms" hash:"ignore"` - // AMIFamily dictates the UserData format and default BlockDeviceMappings used when generating launch templates. - // This field is optional when using an alias amiSelectorTerm, and the value will be inferred from the alias' - // family. When an alias is specified, this field may only be set to its corresponding family or 'Custom'. If no - // alias is specified, this field is required. - // NOTE: We ignore the AMIFamily for hashing here because we hash the AMIFamily dynamically by using the alias using - // the AMIFamily() helper function - // +kubebuilder:validation:Enum:={AL2,AL2023,Bottlerocket,Custom,Windows2019,Windows2022} - // +optional - AMIFamily *string `json:"amiFamily,omitempty" hash:"ignore"` - // UserData to be applied to the provisioned nodes. - // It must be in the appropriate format based on the AMIFamily in use. Karpenter will merge certain fields into - // this UserData to ensure nodes are being provisioned with the correct configuration. - // +optional - UserData *string `json:"userData,omitempty"` - // Role is the AWS identity that nodes use. - // This field is mutually exclusive from instanceProfile. - // +kubebuilder:validation:XValidation:rule="self != ''",message="role cannot be empty" - // +optional - Role string `json:"role,omitempty"` - // InstanceProfile is the AWS entity that instances use. - // This field is mutually exclusive from role. - // The instance profile should already have a role assigned to it that Karpenter - // has PassRole permission on for instance launch using this instanceProfile to succeed. - // +kubebuilder:validation:XValidation:rule="self != ''",message="instanceProfile cannot be empty" - // +optional - InstanceProfile *string `json:"instanceProfile,omitempty"` - // Tags to be applied on ec2 resources like instances and launch templates. - // +kubebuilder:validation:XValidation:message="empty tag keys aren't supported",rule="self.all(k, k != '')" - // +kubebuilder:validation:XValidation:message="tag contains a restricted tag matching eks:eks-cluster-name",rule="self.all(k, k !='eks:eks-cluster-name')" - // +kubebuilder:validation:XValidation:message="tag contains a restricted tag matching kubernetes.io/cluster/",rule="self.all(k, !k.startsWith('kubernetes.io/cluster') )" - // +kubebuilder:validation:XValidation:message="tag contains a restricted tag matching karpenter.sh/nodepool",rule="self.all(k, k != 'karpenter.sh/nodepool')" - // +kubebuilder:validation:XValidation:message="tag contains a restricted tag matching karpenter.sh/nodeclaim",rule="self.all(k, k !='karpenter.sh/nodeclaim')" - // +kubebuilder:validation:XValidation:message="tag contains a restricted tag matching karpenter.k8s.aws/ec2nodeclass",rule="self.all(k, k !='karpenter.k8s.aws/ec2nodeclass')" - // +optional - Tags map[string]string `json:"tags,omitempty"` - // Kubelet defines args to be used when configuring kubelet on provisioned nodes. - // They are a subset of the upstream types, recognizing not all options may be supported. - // Wherever possible, the types and names should reflect the upstream kubelet types. - // +kubebuilder:validation:XValidation:message="imageGCHighThresholdPercent must be greater than imageGCLowThresholdPercent",rule="has(self.imageGCHighThresholdPercent) && has(self.imageGCLowThresholdPercent) ? self.imageGCHighThresholdPercent > self.imageGCLowThresholdPercent : true" - // +kubebuilder:validation:XValidation:message="evictionSoft OwnerKey does not have a matching evictionSoftGracePeriod",rule="has(self.evictionSoft) ? self.evictionSoft.all(e, (e in self.evictionSoftGracePeriod)):true" - // +kubebuilder:validation:XValidation:message="evictionSoftGracePeriod OwnerKey does not have a matching evictionSoft",rule="has(self.evictionSoftGracePeriod) ? self.evictionSoftGracePeriod.all(e, (e in self.evictionSoft)):true" - // +optional - Kubelet *KubeletConfiguration `json:"kubelet,omitempty"` - // BlockDeviceMappings to be applied to provisioned nodes. - // +kubebuilder:validation:XValidation:message="must have only one blockDeviceMappings with rootVolume",rule="self.filter(x, has(x.rootVolume)?x.rootVolume==true:false).size() <= 1" - // +kubebuilder:validation:MaxItems:=50 - // +optional - BlockDeviceMappings []*BlockDeviceMapping `json:"blockDeviceMappings,omitempty"` - // InstanceStorePolicy specifies how to handle instance-store disks. - // +optional - InstanceStorePolicy *InstanceStorePolicy `json:"instanceStorePolicy,omitempty"` - // DetailedMonitoring controls if detailed monitoring is enabled for instances that are launched - // +optional - DetailedMonitoring *bool `json:"detailedMonitoring,omitempty"` - // MetadataOptions for the generated launch template of provisioned nodes. - // - // This specifies the exposure of the Instance Metadata Service to - // provisioned EC2 nodes. For more information, - // see Instance Metadata and User Data - // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) - // in the Amazon Elastic Compute Cloud User Guide. - // - // Refer to recommended, security best practices - // (https://aws.github.io/aws-eks-best-practices/security/docs/iam/#restrict-access-to-the-instance-profile-assigned-to-the-worker-node) - // for limiting exposure of Instance Metadata and User Data to pods. - // If omitted, defaults to httpEndpoint enabled, with httpProtocolIPv6 - // disabled, with httpPutResponseLimit of 1, and with httpTokens - // required. - // +kubebuilder:default={"httpEndpoint":"enabled","httpProtocolIPv6":"disabled","httpPutResponseHopLimit":1,"httpTokens":"required"} - // +optional - MetadataOptions *MetadataOptions `json:"metadataOptions,omitempty"` - // Context is a Reserved field in EC2 APIs - // https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html - // +optional - Context *string `json:"context,omitempty"` -} - -// SubnetSelectorTerm defines selection logic for a subnet used by Karpenter to launch nodes. -// If multiple fields are used for selection, the requirements are ANDed. -type SubnetSelectorTerm struct { - // Tags is a map of key/value tags used to select subnets - // Specifying '*' for a value selects all values for a given tag key. - // +kubebuilder:validation:XValidation:message="empty tag keys or values aren't supported",rule="self.all(k, k != '' && self[k] != '')" - // +kubebuilder:validation:MaxProperties:=20 - // +optional - Tags map[string]string `json:"tags,omitempty"` - // ID is the subnet id in EC2 - // +kubebuilder:validation:Pattern="subnet-[0-9a-z]+" - // +optional - ID string `json:"id,omitempty"` -} - -// SecurityGroupSelectorTerm defines selection logic for a security group used by Karpenter to launch nodes. -// If multiple fields are used for selection, the requirements are ANDed. -type SecurityGroupSelectorTerm struct { - // Tags is a map of key/value tags used to select security groups. - // Specifying '*' for a value selects all values for a given tag key. - // +kubebuilder:validation:XValidation:message="empty tag keys or values aren't supported",rule="self.all(k, k != '' && self[k] != '')" - // +kubebuilder:validation:MaxProperties:=20 - // +optional - Tags map[string]string `json:"tags,omitempty"` - // ID is the security group id in EC2 - // +kubebuilder:validation:Pattern:="sg-[0-9a-z]+" - // +optional - ID string `json:"id,omitempty"` - // Name is the security group name in EC2. - // This value is the name field, which is different from the name tag. - Name string `json:"name,omitempty"` -} - -type CapacityReservationSelectorTerm struct { - // Tags is a map of key/value tags used to select capacity reservations. - // Specifying '*' for a value selects all values for a given tag key. - // +kubebuilder:validation:XValidation:message="empty tag keys or values aren't supported",rule="self.all(k, k != '' && self[k] != '')" - // +kubebuilder:validation:MaxProperties:=20 - // +optional - Tags map[string]string `json:"tags,omitempty"` - // ID is the capacity reservation id in EC2 - // +kubebuilder:validation:Pattern:="^cr-[0-9a-z]+$" - // +optional - ID string `json:"id,omitempty"` - // Owner is the owner id for the ami. - // +kubebuilder:validation:Pattern:="^[0-9]{12}$" - // +optional - OwnerID string `json:"ownerID,omitempty"` - // InstanceMatchCriteria specifies how instances are matched to capacity reservations. - // +kubebuilder:validation:Enum:={open,targeted} - // +optional - InstanceMatchCriteria string `json:"instanceMatchCriteria,omitempty"` -} - -// AMISelectorTerm defines selection logic for an ami used by Karpenter to launch nodes. -// If multiple fields are used for selection, the requirements are ANDed. -type AMISelectorTerm struct { - // Alias specifies which EKS optimized AMI to select. - // Each alias consists of a family and an AMI version, specified as "family@version". - // Valid families include: al2, al2023, bottlerocket, windows2019, and windows2022. - // The version can either be pinned to a specific AMI release, with that AMIs version format (ex: "al2023@v20240625" or "bottlerocket@v1.10.0"). - // The version can also be set to "latest" for any family. Setting the version to latest will result in drift when a new AMI is released. This is **not** recommended for production environments. - // Note: The Windows families do **not** support version pinning, and only latest may be used. - // +kubebuilder:validation:XValidation:message="'alias' is improperly formatted, must match the format 'family@version'",rule="self.matches('^[a-zA-Z0-9]+@.+$')" - // +kubebuilder:validation:XValidation:message="family is not supported, must be one of the following: 'al2', 'al2023', 'bottlerocket', 'windows2019', 'windows2022'",rule="self.split('@')[0] in ['al2','al2023','bottlerocket','windows2019','windows2022']" - // +kubebuilder:validation:XValidation:message="windows families may only specify version 'latest'",rule="self.split('@')[0] in ['windows2019','windows2022'] ? self.split('@')[1] == 'latest' : true" - // +kubebuilder:validation:MaxLength=30 - // +optional - Alias string `json:"alias,omitempty"` - // Tags is a map of key/value tags used to select amis. - // Specifying '*' for a value selects all values for a given tag key. - // +kubebuilder:validation:XValidation:message="empty tag keys or values aren't supported",rule="self.all(k, k != '' && self[k] != '')" - // +kubebuilder:validation:MaxProperties:=20 - // +optional - Tags map[string]string `json:"tags,omitempty"` - // ID is the ami id in EC2 - // +kubebuilder:validation:Pattern:="ami-[0-9a-z]+" - // +optional - ID string `json:"id,omitempty"` - // Name is the ami name in EC2. - // This value is the name field, which is different from the name tag. - // +optional - Name string `json:"name,omitempty"` - // Owner is the owner for the ami. - // You can specify a combination of AWS account IDs, "self", "amazon", and "aws-marketplace" - // +optional - Owner string `json:"owner,omitempty"` - //SSMParameter is the name (or ARN) of the SSM parameter containing the Image ID. - // +optional - SSMParameter string `json:"ssmParameter,omitempty"` -} - -// KubeletConfiguration defines args to be used when configuring kubelet on provisioned nodes. -// They are a subset of the upstream types, recognizing not all options may be supported. -// Wherever possible, the types and names should reflect the upstream kubelet types. -// https://pkg.go.dev/k8s.io/kubelet/config/v1beta1#KubeletConfiguration -// https://github.com/kubernetes/kubernetes/blob/9f82d81e55cafdedab619ea25cabf5d42736dacf/cmd/kubelet/app/options/options.go#L53 -type KubeletConfiguration struct { - // clusterDNS is a list of IP addresses for the cluster DNS server. - // Note that not all providers may use all addresses. - //+optional - ClusterDNS []string `json:"clusterDNS,omitempty"` - // MaxPods is an override for the maximum number of pods that can run on - // a worker node instance. - // +kubebuilder:validation:Minimum:=0 - // +optional - MaxPods *int32 `json:"maxPods,omitempty"` - // PodsPerCore is an override for the number of pods that can run on a worker node - // instance based on the number of cpu cores. This value cannot exceed MaxPods, so, if - // MaxPods is a lower value, that value will be used. - // +kubebuilder:validation:Minimum:=0 - // +optional - PodsPerCore *int32 `json:"podsPerCore,omitempty"` - // SystemReserved contains resources reserved for OS system daemons and kernel memory. - // +kubebuilder:validation:XValidation:message="valid keys for systemReserved are ['cpu','memory','ephemeral-storage','pid']",rule="self.all(x, x=='cpu' || x=='memory' || x=='ephemeral-storage' || x=='pid')" - // +kubebuilder:validation:XValidation:message="systemReserved value cannot be a negative resource quantity",rule="self.all(x, !self[x].startsWith('-'))" - // +optional - SystemReserved map[string]string `json:"systemReserved,omitempty"` - // KubeReserved contains resources reserved for Kubernetes system components. - // +kubebuilder:validation:XValidation:message="valid keys for kubeReserved are ['cpu','memory','ephemeral-storage','pid']",rule="self.all(x, x=='cpu' || x=='memory' || x=='ephemeral-storage' || x=='pid')" - // +kubebuilder:validation:XValidation:message="kubeReserved value cannot be a negative resource quantity",rule="self.all(x, !self[x].startsWith('-'))" - // +optional - KubeReserved map[string]string `json:"kubeReserved,omitempty"` - // EvictionHard is the map of signal names to quantities that define hard eviction thresholds - // +kubebuilder:validation:XValidation:message="valid keys for evictionHard are ['memory.available','nodefs.available','nodefs.inodesFree','imagefs.available','imagefs.inodesFree','pid.available']",rule="self.all(x, x in ['memory.available','nodefs.available','nodefs.inodesFree','imagefs.available','imagefs.inodesFree','pid.available'])" - // +optional - EvictionHard map[string]string `json:"evictionHard,omitempty"` - // EvictionSoft is the map of signal names to quantities that define soft eviction thresholds - // +kubebuilder:validation:XValidation:message="valid keys for evictionSoft are ['memory.available','nodefs.available','nodefs.inodesFree','imagefs.available','imagefs.inodesFree','pid.available']",rule="self.all(x, x in ['memory.available','nodefs.available','nodefs.inodesFree','imagefs.available','imagefs.inodesFree','pid.available'])" - // +optional - EvictionSoft map[string]string `json:"evictionSoft,omitempty"` - // EvictionSoftGracePeriod is the map of signal names to quantities that define grace periods for each eviction signal - // +kubebuilder:validation:XValidation:message="valid keys for evictionSoftGracePeriod are ['memory.available','nodefs.available','nodefs.inodesFree','imagefs.available','imagefs.inodesFree','pid.available']",rule="self.all(x, x in ['memory.available','nodefs.available','nodefs.inodesFree','imagefs.available','imagefs.inodesFree','pid.available'])" - // +optional - EvictionSoftGracePeriod map[string]metav1.Duration `json:"evictionSoftGracePeriod,omitempty"` - // EvictionMaxPodGracePeriod is the maximum allowed grace period (in seconds) to use when terminating pods in - // response to soft eviction thresholds being met. - // +optional - EvictionMaxPodGracePeriod *int32 `json:"evictionMaxPodGracePeriod,omitempty"` - // ImageGCHighThresholdPercent is the percent of disk usage after which image - // garbage collection is always run. The percent is calculated by dividing this - // field value by 100, so this field must be between 0 and 100, inclusive. - // When specified, the value must be greater than ImageGCLowThresholdPercent. - // +kubebuilder:validation:Minimum:=0 - // +kubebuilder:validation:Maximum:=100 - // +optional - ImageGCHighThresholdPercent *int32 `json:"imageGCHighThresholdPercent,omitempty"` - // ImageGCLowThresholdPercent is the percent of disk usage before which image - // garbage collection is never run. Lowest disk usage to garbage collect to. - // The percent is calculated by dividing this field value by 100, - // so the field value must be between 0 and 100, inclusive. - // When specified, the value must be less than imageGCHighThresholdPercent - // +kubebuilder:validation:Minimum:=0 - // +kubebuilder:validation:Maximum:=100 - // +optional - ImageGCLowThresholdPercent *int32 `json:"imageGCLowThresholdPercent,omitempty"` - // CPUCFSQuota enables CPU CFS quota enforcement for containers that specify CPU limits. - // +optional - CPUCFSQuota *bool `json:"cpuCFSQuota,omitempty"` -} - -// MetadataOptions contains parameters for specifying the exposure of the -// Instance Metadata Service to provisioned EC2 nodes. -type MetadataOptions struct { - // HTTPEndpoint enables or disables the HTTP metadata endpoint on provisioned - // nodes. If metadata options is non-nil, but this parameter is not specified, - // the default state is "enabled". - // - // If you specify a value of "disabled", instance metadata will not be accessible - // on the node. - // +kubebuilder:default=enabled - // +kubebuilder:validation:Enum:={enabled,disabled} - // +optional - HTTPEndpoint *string `json:"httpEndpoint,omitempty"` - // HTTPProtocolIPv6 enables or disables the IPv6 endpoint for the instance metadata - // service on provisioned nodes. If metadata options is non-nil, but this parameter - // is not specified, the default state is "disabled". - // +kubebuilder:default=disabled - // +kubebuilder:validation:Enum:={enabled,disabled} - // +optional - HTTPProtocolIPv6 *string `json:"httpProtocolIPv6,omitempty"` - // HTTPPutResponseHopLimit is the desired HTTP PUT response hop limit for - // instance metadata requests. The larger the number, the further instance - // metadata requests can travel. Possible values are integers from 1 to 64. - // If metadata options is non-nil, but this parameter is not specified, the - // default value is 1. - // +kubebuilder:default=1 - // +kubebuilder:validation:Minimum:=1 - // +kubebuilder:validation:Maximum:=64 - // +optional - HTTPPutResponseHopLimit *int64 `json:"httpPutResponseHopLimit,omitempty"` - // HTTPTokens determines the state of token usage for instance metadata - // requests. If metadata options is non-nil, but this parameter is not - // specified, the default state is "required". - // - // If the state is optional, one can choose to retrieve instance metadata with - // or without a signed token header on the request. If one retrieves the IAM - // role credentials without a token, the version 1.0 role credentials are - // returned. If one retrieves the IAM role credentials using a valid signed - // token, the version 2.0 role credentials are returned. - // - // If the state is "required", one must send a signed token header with any - // instance metadata retrieval requests. In this state, retrieving the IAM - // role credentials always returns the version 2.0 credentials; the version - // 1.0 credentials are not available. - // +kubebuilder:default=required - // +kubebuilder:validation:Enum:={required,optional} - // +optional - HTTPTokens *string `json:"httpTokens,omitempty"` -} - -type BlockDeviceMapping struct { - // The device name (for example, /dev/sdh or xvdh). - // +optional - DeviceName *string `json:"deviceName,omitempty"` - // EBS contains parameters used to automatically set up EBS volumes when an instance is launched. - // +kubebuilder:validation:XValidation:message="snapshotID or volumeSize must be defined",rule="has(self.snapshotID) || has(self.volumeSize)" - // +kubebuilder:validation:XValidation:message="snapshotID must be set when volumeInitializationRate is set",rule="!has(self.volumeInitializationRate) || (has(self.snapshotID) && self.snapshotID != '')" - // +optional - EBS *BlockDevice `json:"ebs,omitempty"` - // RootVolume is a flag indicating if this device is mounted as kubelet root dir. You can - // configure at most one root volume in BlockDeviceMappings. - // +optional - RootVolume bool `json:"rootVolume,omitempty"` -} - -type BlockDevice struct { - // DeleteOnTermination indicates whether the EBS volume is deleted on instance termination. - // +optional - DeleteOnTermination *bool `json:"deleteOnTermination,omitempty"` - // Encrypted indicates whether the EBS volume is encrypted. Encrypted volumes can only - // be attached to instances that support Amazon EBS encryption. If you are creating - // a volume from a snapshot, you can't specify an encryption value. - // +optional - Encrypted *bool `json:"encrypted,omitempty"` - // IOPS is the number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, - // this represents the number of IOPS that are provisioned for the volume. For - // gp2 volumes, this represents the baseline performance of the volume and the - // rate at which the volume accumulates I/O credits for bursting. - // - // The following are the supported values for each volume type: - // - // * gp3: 3,000-16,000 IOPS - // - // * io1: 100-64,000 IOPS - // - // * io2: 100-64,000 IOPS - // - // For io1 and io2 volumes, we guarantee 64,000 IOPS only for Instances built - // on the Nitro System (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances). - // Other instance families guarantee performance up to 32,000 IOPS. - // - // This parameter is supported for io1, io2, and gp3 volumes only. This parameter - // is not supported for gp2, st1, sc1, or standard volumes. - // +optional - IOPS *int64 `json:"iops,omitempty"` - // Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption. - // +optional - KMSKeyID *string `json:"kmsKeyID,omitempty"` - // SnapshotID is the ID of an EBS snapshot - // +optional - SnapshotID *string `json:"snapshotID,omitempty"` - // Throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s. - // Valid Range: Minimum value of 125. Maximum value of 1000. - // +optional - Throughput *int64 `json:"throughput,omitempty"` - // VolumeInitializationRate specifies the Amazon EBS Provisioned Rate for Volume Initialization, - // in MiB/s, at which to download the snapshot blocks from Amazon S3 to the volume. This is also known as volume - // initialization. Specifying a volume initialization rate ensures that the volume is initialized at a - // predictable and consistent rate after creation. Only allowed if SnapshotID is set. - // Valid Range: Minimum value of 100. Maximum value of 300. - // +kubebuilder:validation:Minimum:=100 - // +kubebuilder:validation:Maximum:=300 - // +optional - VolumeInitializationRate *int32 `json:"volumeInitializationRate,omitempty"` - // VolumeSize in `Gi`, `G`, `Ti`, or `T`. You must specify either a snapshot ID or - // a volume size. The following are the supported volumes sizes for each volume - // type: - // - // * gp2 and gp3: 1-16,384 - // - // * io1 and io2: 4-16,384 - // - // * st1 and sc1: 125-16,384 - // - // * standard: 1-1,024 - // + TODO: Add the CEL resources.quantity type after k8s 1.29 - // + https://github.com/kubernetes/apiserver/commit/b137c256373aec1c5d5810afbabb8932a19ecd2a#diff-838176caa5882465c9d6061febd456397a3e2b40fb423ed36f0cabb1847ecb4dR190 - // +kubebuilder:validation:Pattern:="^((?:[1-9][0-9]{0,3}|[1-4][0-9]{4}|[5][0-8][0-9]{3}|59000)Gi|(?:[1-9][0-9]{0,3}|[1-5][0-9]{4}|[6][0-3][0-9]{3}|64000)G|([1-9]||[1-5][0-7]|58)Ti|([1-9]||[1-5][0-9]|6[0-3]|64)T)$" - // +kubebuilder:validation:Schemaless - // +kubebuilder:validation:Type:=string - // +optional - VolumeSize *resource.Quantity `json:"volumeSize,omitempty" hash:"string"` - // VolumeType of the block device. - // For more information, see Amazon EBS volume types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) - // in the Amazon Elastic Compute Cloud User Guide. - // +kubebuilder:validation:Enum:={standard,io1,io2,gp2,sc1,st1,gp3} - // +optional - VolumeType *string `json:"volumeType,omitempty"` -} - -// InstanceStorePolicy enumerates options for configuring instance store disks. -// +kubebuilder:validation:Enum={RAID0} -type InstanceStorePolicy string - -const ( - // InstanceStorePolicyRAID0 configures a RAID-0 array that includes all ephemeral NVMe instance storage disks. - // The containerd and kubelet state directories (`/var/lib/containerd` and `/var/lib/kubelet`) will then use the - // ephemeral storage for more and faster node ephemeral-storage. The node's ephemeral storage can be shared among - // pods that request ephemeral storage and container images that are downloaded to the node. - InstanceStorePolicyRAID0 InstanceStorePolicy = "RAID0" -) - -// EC2NodeClass is the Schema for the EC2NodeClass API -// +kubebuilder:object:root=true -// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description="" -// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="" -// +kubebuilder:printcolumn:name="Role",type="string",JSONPath=".spec.role",priority=1,description="" -// +kubebuilder:resource:path=ec2nodeclasses,scope=Cluster,categories=karpenter,shortName={ec2nc,ec2ncs} -// +kubebuilder:storageversion -// +kubebuilder:subresource:status -type EC2NodeClass struct { - metav1.TypeMeta `json:",inline"` - metav1.ObjectMeta `json:"metadata,omitempty"` - - // +kubebuilder:validation:XValidation:message="must specify exactly one of ['role', 'instanceProfile']",rule="(has(self.role) && !has(self.instanceProfile)) || (!has(self.role) && has(self.instanceProfile))" - // +kubebuilder:validation:XValidation:message="if set, amiFamily must be 'AL2' or 'Custom' when using an AL2 alias",rule="!has(self.amiFamily) || (self.amiSelectorTerms.exists(x, has(x.alias) && x.alias.find('^[^@]+') == 'al2') ? (self.amiFamily == 'Custom' || self.amiFamily == 'AL2') : true)" - // +kubebuilder:validation:XValidation:message="if set, amiFamily must be 'AL2023' or 'Custom' when using an AL2023 alias",rule="!has(self.amiFamily) || (self.amiSelectorTerms.exists(x, has(x.alias) && x.alias.find('^[^@]+') == 'al2023') ? (self.amiFamily == 'Custom' || self.amiFamily == 'AL2023') : true)" - // +kubebuilder:validation:XValidation:message="if set, amiFamily must be 'Bottlerocket' or 'Custom' when using a Bottlerocket alias",rule="!has(self.amiFamily) || (self.amiSelectorTerms.exists(x, has(x.alias) && x.alias.find('^[^@]+') == 'bottlerocket') ? (self.amiFamily == 'Custom' || self.amiFamily == 'Bottlerocket') : true)" - // +kubebuilder:validation:XValidation:message="if set, amiFamily must be 'Windows2019' or 'Custom' when using a Windows2019 alias",rule="!has(self.amiFamily) || (self.amiSelectorTerms.exists(x, has(x.alias) && x.alias.find('^[^@]+') == 'windows2019') ? (self.amiFamily == 'Custom' || self.amiFamily == 'Windows2019') : true)" - // +kubebuilder:validation:XValidation:message="if set, amiFamily must be 'Windows2022' or 'Custom' when using a Windows2022 alias",rule="!has(self.amiFamily) || (self.amiSelectorTerms.exists(x, has(x.alias) && x.alias.find('^[^@]+') == 'windows2022') ? (self.amiFamily == 'Custom' || self.amiFamily == 'Windows2022') : true)" - // +kubebuilder:validation:XValidation:message="must specify amiFamily if amiSelectorTerms does not contain an alias",rule="self.amiSelectorTerms.exists(x, has(x.alias)) ? true : has(self.amiFamily)" - Spec EC2NodeClassSpec `json:"spec,omitempty"` - Status EC2NodeClassStatus `json:"status,omitempty"` -} - -// TODO(maxcao13): if we ever change any hashes downstream, we will have to bump this version ourselves, irrespective of upstream. - -// We need to bump the EC2NodeClassHashVersion when we make an update to the EC2NodeClass CRD under these conditions: -// 1. A field changes its default value for an existing field that is already hashed -// 2. A field is added to the hash calculation with an already-set value -// 3. A field is removed from the hash calculations -const EC2NodeClassHashVersion = "v4" - -func (in *EC2NodeClass) Hash() string { - spec := in.Spec - spec.UserData = lo.ToPtr(in.UserDataHash()) - return fmt.Sprint(lo.Must(hashstructure.Hash([]interface{}{ - spec, - // AMIFamily should be hashed using the dynamically resolved value rather than the literal value of the field. - // This ensures that scenarios such as changing the field from nil to AL2023 with the alias "al2023@latest" - // doesn't trigger drift. - in.AMIFamily(), - }, hashstructure.FormatV2, &hashstructure.HashOptions{ - SlicesAsSets: true, - IgnoreZeroValue: true, - ZeroNil: true, - }))) -} - -func (in *EC2NodeClass) LegacyInstanceProfileName(clusterName, region string) string { - return fmt.Sprintf("%s_%d", clusterName, lo.Must(hashstructure.Hash(fmt.Sprintf("%s%s", region, in.Name), hashstructure.FormatV2, nil))) -} - -func (in *EC2NodeClass) InstanceProfileName(clusterName, region string) string { - return fmt.Sprintf("%s_%d", clusterName, lo.Must(hashstructure.Hash(fmt.Sprintf("%s%s%s", region, in.Name, uuid.New().String()), hashstructure.FormatV2, nil))) -} - -func (in *EC2NodeClass) InstanceProfileRole() string { - return in.Spec.Role -} - -func (in *EC2NodeClass) InstanceProfileTags(clusterName string, region string) map[string]string { - return lo.Assign(in.Spec.Tags, map[string]string{ - fmt.Sprintf("kubernetes.io/cluster/%s", clusterName): "owned", - EKSClusterNameTagKey: clusterName, - LabelNodeClass: in.Name, - v1.LabelTopologyRegion: region, - }) -} - -func (in *EC2NodeClass) BlockDeviceMappings() []*BlockDeviceMapping { - return in.Spec.BlockDeviceMappings -} - -func (in *EC2NodeClass) InstanceStorePolicy() *InstanceStorePolicy { - return in.Spec.InstanceStorePolicy -} - -func (in *EC2NodeClass) KubeletConfiguration() *KubeletConfiguration { - return in.Spec.Kubelet -} - -// AMIFamily returns the family for a NodePool based on the following items, in order of precdence: -// - ec2nodeclass.spec.amiFamily -// - ec2nodeclass.spec.amiSelectorTerms[].alias -// -// If an alias is specified, ec2nodeclass.spec.amiFamily must match that alias, or be 'Custom' (enforced via validation). -func (in *EC2NodeClass) AMIFamily() string { - if in.Spec.AMIFamily != nil { - return *in.Spec.AMIFamily - } - if alias := in.Alias(); alias != nil { - return alias.Family - } - // Unreachable: validation enforces that one of the above conditions must be met - return AMIFamilyCustom -} - -type Alias struct { - Family string - Version string -} - -const ( - AliasVersionLatest = "latest" -) - -func (a *Alias) String() string { - return fmt.Sprintf("%s@%s", a.Family, a.Version) -} - -func (in *EC2NodeClass) Alias() *Alias { - term, ok := lo.Find(in.Spec.AMISelectorTerms, func(term AMISelectorTerm) bool { - return term.Alias != "" - }) - if !ok { - return nil - } - return &Alias{ - Family: amiFamilyFromAlias(term.Alias), - Version: amiVersionFromAlias(term.Alias), - } -} - -func amiFamilyFromAlias(alias string) string { - components := strings.Split(alias, "@") - if len(components) != 2 { - log.Fatalf("failed to parse AMI alias %q, invalid format", alias) - } - family, ok := lo.Find([]string{ - AMIFamilyAL2, - AMIFamilyAL2023, - AMIFamilyBottlerocket, - AMIFamilyWindows2019, - AMIFamilyWindows2022, - }, func(family string) bool { - return strings.ToLower(family) == components[0] - }) - if !ok { - log.Fatalf("%q is an invalid alias family", components[0]) - } - return family -} - -func amiVersionFromAlias(alias string) string { - components := strings.Split(alias, "@") - if len(components) != 2 { - log.Fatalf("failed to parse AMI alias %q, invalid format", alias) - } - return components[1] -} - -// UPSTREAM: : We need to specially hash our custom user data because we pass in a rotating token into the userData field -// which unintentionally causes the hash to change and trigger drift. We specially handle any ignition userData by parsing it, -// getting a special header we include in ignition server requests, and only return that header TargetConfigVersionHash's value. -// The hash is unique and will act as a trigger for Drift rollout, similar to it's usage in HyperShift and the hyperv1.NodePool API. -// https://github.com/openshift/hypershift/blob/07b5bf9a97d23d6c7a01164a385e5b9d6c513794/hypershift-operator/controllers/nodepool/config.go#L120 -// -// comes from https://github.com/openshift/hypershift/blob/c6c65ef3a26243489477c984af93655a33c4167b/hypershift-operator/controllers/nodepool/token.go#L426 -const TargetConfigVersionHashHeader = "TargetConfigVersionHash" - -// Returns the TargetConfigVersionHash value from the userData's ignition payload, assuming it's a valid config. -// If not valid, returns the raw userData, effectively bypassing this handling. -func (in *EC2NodeClass) UserDataHash() string { - var ignitionConfig struct { - Ignition struct { - Config struct { - Merge []struct { - HTTPHeaders []struct { - Name string `json:"name"` - Value *string `json:"value"` - } `json:"httpHeaders"` - } `json:"merge"` - } `json:"config"` - } `json:"ignition"` - } - - if err := json.Unmarshal([]byte(*in.Spec.UserData), &ignitionConfig); err != nil { - return *in.Spec.UserData - } - - if len(ignitionConfig.Ignition.Config.Merge) == 0 { - return *in.Spec.UserData - } - - for _, header := range ignitionConfig.Ignition.Config.Merge[0].HTTPHeaders { - if header.Name == TargetConfigVersionHashHeader && header.Value != nil { - return *header.Value - } - } - return *in.Spec.UserData -} - -// EC2NodeClassList contains a list of EC2NodeClass -// +kubebuilder:object:root=true -type EC2NodeClassList struct { - metav1.TypeMeta `json:",inline"` - metav1.ListMeta `json:"metadata,omitempty"` - Items []EC2NodeClass `json:"items"` -} diff --git a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/ec2nodeclass_defaults.go b/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/ec2nodeclass_defaults.go deleted file mode 100644 index 8820e836bd0e..000000000000 --- a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/ec2nodeclass_defaults.go +++ /dev/null @@ -1,22 +0,0 @@ -/* -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package v1 - -import ( - "context" -) - -// SetDefaults for the EC2NodeClass -func (in *EC2NodeClass) SetDefaults(_ context.Context) {} diff --git a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/ec2nodeclass_status.go b/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/ec2nodeclass_status.go deleted file mode 100644 index ed83655df4ee..000000000000 --- a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/ec2nodeclass_status.go +++ /dev/null @@ -1,263 +0,0 @@ -/* -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package v1 - -import ( - "fmt" - "time" - - ec2types "github.com/aws/aws-sdk-go-v2/service/ec2/types" - "github.com/awslabs/operatorpkg/serrors" - "github.com/awslabs/operatorpkg/status" - "github.com/samber/lo" - corev1 "k8s.io/api/core/v1" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/utils/clock" -) - -var ( - CapacityReservationsEnabled = false -) - -const ( - ConditionTypeSubnetsReady = "SubnetsReady" - ConditionTypeSecurityGroupsReady = "SecurityGroupsReady" - ConditionTypeAMIsReady = "AMIsReady" - ConditionTypeInstanceProfileReady = "InstanceProfileReady" - ConditionTypeCapacityReservationsReady = "CapacityReservationsReady" - ConditionTypeValidationSucceeded = "ValidationSucceeded" -) - -// Subnet contains resolved Subnet selector values utilized for node launch -type Subnet struct { - // ID of the subnet - // +required - ID string `json:"id"` - // The associated availability zone - // +required - Zone string `json:"zone"` - // The associated availability zone ID - // +optional - ZoneID string `json:"zoneID,omitempty"` -} - -// SecurityGroup contains resolved SecurityGroup selector values utilized for node launch -type SecurityGroup struct { - // ID of the security group - // +required - ID string `json:"id"` - // Name of the security group - // +optional - Name string `json:"name,omitempty"` -} - -// AMI contains resolved AMI selector values utilized for node launch -type AMI struct { - // ID of the AMI - // +required - ID string `json:"id"` - // Deprecation status of the AMI - // +optional - Deprecated bool `json:"deprecated,omitempty"` - // Name of the AMI - // +optional - Name string `json:"name,omitempty"` - // Requirements of the AMI to be utilized on an instance type - // +required - Requirements []corev1.NodeSelectorRequirement `json:"requirements"` -} - -type CapacityReservation struct { - // The availability zone the capacity reservation is available in. - // +required - AvailabilityZone string `json:"availabilityZone"` - // The time at which the capacity reservation expires. Once expired, the reserved capacity is released and Karpenter - // will no longer be able to launch instances into that reservation. - // +optional - EndTime *metav1.Time `json:"endTime,omitempty" hash:"ignore"` - // The id for the capacity reservation. - // +kubebuilder:validation:Pattern:="^cr-[0-9a-z]+$" - // +required - ID string `json:"id"` - // Indicates the type of instance launches the capacity reservation accepts. - // +kubebuilder:validation:Enum:={open,targeted} - // +required - InstanceMatchCriteria string `json:"instanceMatchCriteria"` - // The instance type for the capacity reservation. - // +required - InstanceType string `json:"instanceType"` - // The ID of the AWS account that owns the capacity reservation. - // +kubebuilder:validation:Pattern:="^[0-9]{12}$" - // +required - OwnerID string `json:"ownerID"` - // The type of capacity reservation. - // +kubebuilder:validation:Enum:={default,capacity-block} - // +kubebuilder:default=default - // +optional - ReservationType CapacityReservationType `json:"reservationType"` - // The state of the capacity reservation. A capacity reservation is considered to be expiring if it is within the EC2 - // reclaimation window. Only capacity-block reservations may be in this state. - // +kubebuilder:validation:Enum:={active,expiring} - // +kubebuilder:default=active - // +optional - State CapacityReservationState `json:"state"` -} - -type CapacityReservationType string - -const ( - CapacityReservationTypeDefault CapacityReservationType = "default" - CapacityReservationTypeCapacityBlock CapacityReservationType = "capacity-block" -) - -func (CapacityReservationType) Values() []CapacityReservationType { - return []CapacityReservationType{ - CapacityReservationTypeDefault, - CapacityReservationTypeCapacityBlock, - } -} - -type CapacityReservationState string - -const ( - CapacityReservationStateActive CapacityReservationState = "active" - CapacityReservationStateExpiring CapacityReservationState = "expiring" -) - -// EC2NodeClassStatus contains the resolved state of the EC2NodeClass -type EC2NodeClassStatus struct { - // Subnets contains the current subnet values that are available to the - // cluster under the subnet selectors. - // +optional - Subnets []Subnet `json:"subnets,omitempty"` - // SecurityGroups contains the current security group values that are available to the - // cluster under the SecurityGroups selectors. - // +optional - SecurityGroups []SecurityGroup `json:"securityGroups,omitempty"` - // CapacityReservations contains the current capacity reservation values that are available to this NodeClass under the - // CapacityReservation selectors. - // +optional - CapacityReservations []CapacityReservation `json:"capacityReservations,omitempty"` - // AMI contains the current AMI values that are available to the - // cluster under the AMI selectors. - // +optional - AMIs []AMI `json:"amis,omitempty"` - // InstanceProfile contains the resolved instance profile for the role - // +optional - InstanceProfile string `json:"instanceProfile,omitempty"` - // Conditions contains signals for health and readiness - // +optional - Conditions []status.Condition `json:"conditions,omitempty"` -} - -func (in *EC2NodeClass) StatusConditions() status.ConditionSet { - conds := []string{ - ConditionTypeAMIsReady, - ConditionTypeSubnetsReady, - ConditionTypeSecurityGroupsReady, - ConditionTypeInstanceProfileReady, - ConditionTypeValidationSucceeded, - } - if CapacityReservationsEnabled { - conds = append(conds, ConditionTypeCapacityReservationsReady) - } - return status.NewReadyConditions(conds...).For(in) -} - -func (in *EC2NodeClass) GetConditions() []status.Condition { - return in.Status.Conditions -} - -func (in *EC2NodeClass) SetConditions(conditions []status.Condition) { - in.Status.Conditions = conditions -} - -func (in *EC2NodeClass) AMIs() []AMI { - return in.Status.AMIs -} - -func (in *EC2NodeClass) CapacityReservations() []CapacityReservation { - return in.Status.CapacityReservations -} - -type ZoneInfo struct { - Zone string - ZoneID string -} - -func (in *EC2NodeClass) ZoneInfo() []ZoneInfo { - return lo.Map(in.Status.Subnets, func(_ Subnet, i int) ZoneInfo { - return ZoneInfo{ - Zone: in.Status.Subnets[i].Zone, - ZoneID: in.Status.Subnets[i].ZoneID, - } - }) -} - -func CapacityReservationTypeFromEC2(capacityReservationType ec2types.CapacityReservationType) (CapacityReservationType, error) { - if capacityReservationType == "" { - return CapacityReservationTypeDefault, nil - } - resolvedType, ok := lo.Find(CapacityReservationType("").Values(), func(crt CapacityReservationType) bool { - return string(crt) == string(capacityReservationType) - }) - if !ok { - return "", serrors.Wrap( - fmt.Errorf("received capacity reservation with unsupported reservation type from ec2"), - "reservation-type", string(capacityReservationType), - ) - } - return resolvedType, nil -} - -func CapacityReservationFromEC2(clk clock.Clock, cr *ec2types.CapacityReservation) (CapacityReservation, error) { - const capacityReservationExpirationPeriod = time.Minute * 40 - // Guard against new instance match criteria added in the future. See https://github.com/kubernetes-sigs/karpenter/issues/806 - // for a similar issue. - if !lo.Contains([]ec2types.InstanceMatchCriteria{ - ec2types.InstanceMatchCriteriaOpen, - ec2types.InstanceMatchCriteriaTargeted, - }, cr.InstanceMatchCriteria) { - return CapacityReservation{}, serrors.Wrap( - fmt.Errorf("received capacity reservation with unsupported instance match criteria from ec2"), - "capacity-reservation", *cr.CapacityReservationId, - "instance-match-criteria", cr.InstanceMatchCriteria, - ) - } - reservationType, err := CapacityReservationTypeFromEC2(cr.ReservationType) - if err != nil { - return CapacityReservation{}, serrors.Wrap(err, "capacity-reservation", *cr.CapacityReservationId) - } - var endTime *metav1.Time - if cr.EndDate != nil { - endTime = lo.ToPtr(metav1.NewTime(*cr.EndDate)) - } - var state CapacityReservationState - if reservationType != CapacityReservationTypeCapacityBlock || endTime == nil || clk.Now().Before(endTime.Add(-capacityReservationExpirationPeriod)) { - state = CapacityReservationStateActive - } else { - state = CapacityReservationStateExpiring - } - return CapacityReservation{ - AvailabilityZone: *cr.AvailabilityZone, - EndTime: endTime, - ID: *cr.CapacityReservationId, - InstanceMatchCriteria: string(cr.InstanceMatchCriteria), - InstanceType: *cr.InstanceType, - OwnerID: *cr.OwnerId, - ReservationType: reservationType, - State: state, - }, nil -} diff --git a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/labels.go b/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/labels.go deleted file mode 100644 index b1d0940fd239..000000000000 --- a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/labels.go +++ /dev/null @@ -1,169 +0,0 @@ -/* -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package v1 - -import ( - "fmt" - "regexp" - - corev1 "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/util/sets" - coreapis "sigs.k8s.io/karpenter/pkg/apis" - karpv1 "sigs.k8s.io/karpenter/pkg/apis/v1" - - "github.com/aws/karpenter-provider-aws/pkg/apis" -) - -func init() { - karpv1.RestrictedLabelDomains = karpv1.RestrictedLabelDomains.Insert(RestrictedLabelDomains...) - karpv1.WellKnownLabels = karpv1.WellKnownLabels.Insert( - LabelCapacityReservationID, - LabelCapacityReservationType, - LabelInstanceHypervisor, - LabelInstanceEncryptionInTransitSupported, - LabelInstanceCategory, - LabelInstanceCapabilityFlex, - LabelInstanceFamily, - LabelInstanceGeneration, - LabelInstanceSize, - LabelInstanceLocalNVME, - LabelInstanceCPU, - LabelInstanceCPUManufacturer, - LabelInstanceCPUSustainedClockSpeedMhz, - LabelInstanceMemory, - LabelInstanceEBSBandwidth, - LabelInstanceNetworkBandwidth, - LabelInstanceGPUName, - LabelInstanceGPUManufacturer, - LabelInstanceGPUCount, - LabelInstanceGPUMemory, - LabelInstanceAcceleratorName, - LabelInstanceAcceleratorManufacturer, - LabelInstanceAcceleratorCount, - LabelTopologyZoneID, - corev1.LabelWindowsBuild, - ) - karpv1.WellKnownResources.Insert( - ResourceAWSPodENI, - ResourceAWSNeuron, - ResourceAWSNeuronCore, - ResourceHabanaGaudi, - ResourceEFA, - ) -} - -var ( - TerminationFinalizer = apis.Group + "/termination" - AWSToKubeArchitectures = map[string]string{ - "x86_64": karpv1.ArchitectureAmd64, - karpv1.ArchitectureArm64: karpv1.ArchitectureArm64, - } - WellKnownArchitectures = sets.NewString( - karpv1.ArchitectureAmd64, - karpv1.ArchitectureArm64, - ) - WellKnownResources = sets.New[corev1.ResourceName]( - corev1.ResourceCPU, - corev1.ResourceMemory, - corev1.ResourceEphemeralStorage, - corev1.ResourcePods, - ResourceAWSPodENI, - ResourceNVIDIAGPU, - ResourceAMDGPU, - ResourceAWSNeuron, - ResourceAWSNeuronCore, - ResourceHabanaGaudi, - ResourceEFA, - ) - WellKnownExoticResources = sets.New[corev1.ResourceName]( - ResourceNVIDIAGPU, - ResourceAMDGPU, - ResourceAWSNeuron, - ResourceAWSNeuronCore, - ResourceHabanaGaudi, - ) - RestrictedLabelDomains = []string{ - apis.Group, - } - RestrictedTagPatterns = []*regexp.Regexp{ - // Adheres to cluster name pattern matching as specified in the API spec - // https://docs.aws.amazon.com/eks/latest/APIReference/API_CreateCluster.html - regexp.MustCompile(`^kubernetes\.io/cluster/[0-9A-Za-z][A-Za-z0-9\-_]*$`), - regexp.MustCompile(fmt.Sprintf("^%s$", regexp.QuoteMeta(NodePoolTagKey))), - regexp.MustCompile(fmt.Sprintf("^%s$", regexp.QuoteMeta(EKSClusterNameTagKey))), - regexp.MustCompile(fmt.Sprintf("^%s$", regexp.QuoteMeta(NodeClassTagKey))), - regexp.MustCompile(fmt.Sprintf("^%s$", regexp.QuoteMeta(NodeClaimTagKey))), - } - AMIFamilyBottlerocket = "Bottlerocket" - AMIFamilyAL2 = "AL2" - AMIFamilyAL2023 = "AL2023" - AMIFamilyUbuntu = "Ubuntu" - AMIFamilyWindows2019 = "Windows2019" - AMIFamilyWindows2022 = "Windows2022" - AMIFamilyCustom = "Custom" - Windows2019 = "2019" - Windows2022 = "2022" - WindowsCore = "Core" - Windows2019Build = "10.0.17763" - Windows2022Build = "10.0.20348" - ResourceNVIDIAGPU corev1.ResourceName = "nvidia.com/gpu" - ResourceAMDGPU corev1.ResourceName = "amd.com/gpu" - ResourceAWSNeuron corev1.ResourceName = "aws.amazon.com/neuron" - ResourceAWSNeuronCore corev1.ResourceName = "aws.amazon.com/neuroncore" - ResourceHabanaGaudi corev1.ResourceName = "habana.ai/gaudi" - ResourceAWSPodENI corev1.ResourceName = "vpc.amazonaws.com/pod-eni" - ResourcePrivateIPv4Address corev1.ResourceName = "vpc.amazonaws.com/PrivateIPv4Address" - ResourceEFA corev1.ResourceName = "vpc.amazonaws.com/efa" - - LabelCapacityReservationID = apis.Group + "/capacity-reservation-id" - LabelCapacityReservationType = apis.Group + "/capacity-reservation-type" - LabelInstanceHypervisor = apis.Group + "/instance-hypervisor" - LabelInstanceEncryptionInTransitSupported = apis.Group + "/instance-encryption-in-transit-supported" - LabelInstanceCategory = apis.Group + "/instance-category" - LabelInstanceCapabilityFlex = apis.Group + "/instance-capability-flex" - LabelInstanceFamily = apis.Group + "/instance-family" - LabelInstanceGeneration = apis.Group + "/instance-generation" - LabelInstanceLocalNVME = apis.Group + "/instance-local-nvme" - LabelInstanceSize = apis.Group + "/instance-size" - LabelInstanceCPU = apis.Group + "/instance-cpu" - LabelInstanceCPUManufacturer = apis.Group + "/instance-cpu-manufacturer" - LabelInstanceCPUSustainedClockSpeedMhz = apis.Group + "/instance-cpu-sustained-clock-speed-mhz" - LabelInstanceMemory = apis.Group + "/instance-memory" - LabelInstanceEBSBandwidth = apis.Group + "/instance-ebs-bandwidth" - LabelInstanceNetworkBandwidth = apis.Group + "/instance-network-bandwidth" - LabelInstanceGPUName = apis.Group + "/instance-gpu-name" - LabelInstanceGPUManufacturer = apis.Group + "/instance-gpu-manufacturer" - LabelInstanceGPUCount = apis.Group + "/instance-gpu-count" - LabelInstanceGPUMemory = apis.Group + "/instance-gpu-memory" - LabelInstanceAcceleratorName = apis.Group + "/instance-accelerator-name" - LabelInstanceAcceleratorManufacturer = apis.Group + "/instance-accelerator-manufacturer" - LabelInstanceAcceleratorCount = apis.Group + "/instance-accelerator-count" - LabelNodeClass = apis.Group + "/ec2nodeclass" - - LabelTopologyZoneID = "topology.k8s.aws/zone-id" - - AnnotationEC2NodeClassHash = apis.Group + "/ec2nodeclass-hash" - AnnotationClusterNameTaggedCompatability = apis.CompatibilityGroup + "/cluster-name-tagged" - AnnotationEC2NodeClassHashVersion = apis.Group + "/ec2nodeclass-hash-version" - AnnotationInstanceTagged = apis.Group + "/tagged" - AnnotationInstanceProfile = apis.Group + "/instance-profile-name" - - NodeClaimTagKey = coreapis.Group + "/nodeclaim" - NameTagKey = "Name" - NodePoolTagKey = karpv1.NodePoolLabelKey - NodeClassTagKey = LabelNodeClass - LaunchTemplateNamePrefix = apis.Group - EKSClusterNameTagKey = "eks:eks-cluster-name" -) diff --git a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/zz_generated.deepcopy.go b/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/zz_generated.deepcopy.go deleted file mode 100644 index 6b283ed4ca03..000000000000 --- a/api/vendor/github.com/aws/karpenter-provider-aws/pkg/apis/v1/zz_generated.deepcopy.go +++ /dev/null @@ -1,636 +0,0 @@ -//go:build !ignore_autogenerated - -/* -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by controller-gen. DO NOT EDIT. - -package v1 - -import ( - "github.com/awslabs/operatorpkg/status" - corev1 "k8s.io/api/core/v1" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - 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 *AMI) DeepCopyInto(out *AMI) { - *out = *in - if in.Requirements != nil { - in, out := &in.Requirements, &out.Requirements - *out = make([]corev1.NodeSelectorRequirement, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AMI. -func (in *AMI) DeepCopy() *AMI { - if in == nil { - return nil - } - out := new(AMI) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AMISelectorTerm) DeepCopyInto(out *AMISelectorTerm) { - *out = *in - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]string, len(*in)) - for key, val := range *in { - (*out)[key] = val - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AMISelectorTerm. -func (in *AMISelectorTerm) DeepCopy() *AMISelectorTerm { - if in == nil { - return nil - } - out := new(AMISelectorTerm) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Alias) DeepCopyInto(out *Alias) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Alias. -func (in *Alias) DeepCopy() *Alias { - if in == nil { - return nil - } - out := new(Alias) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BlockDevice) DeepCopyInto(out *BlockDevice) { - *out = *in - if in.DeleteOnTermination != nil { - in, out := &in.DeleteOnTermination, &out.DeleteOnTermination - *out = new(bool) - **out = **in - } - if in.Encrypted != nil { - in, out := &in.Encrypted, &out.Encrypted - *out = new(bool) - **out = **in - } - if in.IOPS != nil { - in, out := &in.IOPS, &out.IOPS - *out = new(int64) - **out = **in - } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID - *out = new(string) - **out = **in - } - if in.SnapshotID != nil { - in, out := &in.SnapshotID, &out.SnapshotID - *out = new(string) - **out = **in - } - if in.Throughput != nil { - in, out := &in.Throughput, &out.Throughput - *out = new(int64) - **out = **in - } - if in.VolumeInitializationRate != nil { - in, out := &in.VolumeInitializationRate, &out.VolumeInitializationRate - *out = new(int32) - **out = **in - } - if in.VolumeSize != nil { - in, out := &in.VolumeSize, &out.VolumeSize - x := (*in).DeepCopy() - *out = &x - } - if in.VolumeType != nil { - in, out := &in.VolumeType, &out.VolumeType - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDevice. -func (in *BlockDevice) DeepCopy() *BlockDevice { - if in == nil { - return nil - } - out := new(BlockDevice) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BlockDeviceMapping) DeepCopyInto(out *BlockDeviceMapping) { - *out = *in - if in.DeviceName != nil { - in, out := &in.DeviceName, &out.DeviceName - *out = new(string) - **out = **in - } - if in.EBS != nil { - in, out := &in.EBS, &out.EBS - *out = new(BlockDevice) - (*in).DeepCopyInto(*out) - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDeviceMapping. -func (in *BlockDeviceMapping) DeepCopy() *BlockDeviceMapping { - if in == nil { - return nil - } - out := new(BlockDeviceMapping) - 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 - if in.EndTime != nil { - in, out := &in.EndTime, &out.EndTime - *out = (*in).DeepCopy() - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapacityReservation. -func (in *CapacityReservation) DeepCopy() *CapacityReservation { - if in == nil { - return nil - } - out := new(CapacityReservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CapacityReservationSelectorTerm) DeepCopyInto(out *CapacityReservationSelectorTerm) { - *out = *in - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]string, len(*in)) - for key, val := range *in { - (*out)[key] = val - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapacityReservationSelectorTerm. -func (in *CapacityReservationSelectorTerm) DeepCopy() *CapacityReservationSelectorTerm { - if in == nil { - return nil - } - out := new(CapacityReservationSelectorTerm) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EC2NodeClass) DeepCopyInto(out *EC2NodeClass) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EC2NodeClass. -func (in *EC2NodeClass) DeepCopy() *EC2NodeClass { - if in == nil { - return nil - } - out := new(EC2NodeClass) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *EC2NodeClass) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EC2NodeClassList) DeepCopyInto(out *EC2NodeClassList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]EC2NodeClass, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EC2NodeClassList. -func (in *EC2NodeClassList) DeepCopy() *EC2NodeClassList { - if in == nil { - return nil - } - out := new(EC2NodeClassList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *EC2NodeClassList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EC2NodeClassSpec) DeepCopyInto(out *EC2NodeClassSpec) { - *out = *in - if in.SubnetSelectorTerms != nil { - in, out := &in.SubnetSelectorTerms, &out.SubnetSelectorTerms - *out = make([]SubnetSelectorTerm, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.SecurityGroupSelectorTerms != nil { - in, out := &in.SecurityGroupSelectorTerms, &out.SecurityGroupSelectorTerms - *out = make([]SecurityGroupSelectorTerm, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.CapacityReservationSelectorTerms != nil { - in, out := &in.CapacityReservationSelectorTerms, &out.CapacityReservationSelectorTerms - *out = make([]CapacityReservationSelectorTerm, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.AssociatePublicIPAddress != nil { - in, out := &in.AssociatePublicIPAddress, &out.AssociatePublicIPAddress - *out = new(bool) - **out = **in - } - if in.IPPrefixCount != nil { - in, out := &in.IPPrefixCount, &out.IPPrefixCount - *out = new(int32) - **out = **in - } - if in.AMISelectorTerms != nil { - in, out := &in.AMISelectorTerms, &out.AMISelectorTerms - *out = make([]AMISelectorTerm, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.AMIFamily != nil { - in, out := &in.AMIFamily, &out.AMIFamily - *out = new(string) - **out = **in - } - if in.UserData != nil { - in, out := &in.UserData, &out.UserData - *out = new(string) - **out = **in - } - if in.InstanceProfile != nil { - in, out := &in.InstanceProfile, &out.InstanceProfile - *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 { - (*out)[key] = val - } - } - if in.Kubelet != nil { - in, out := &in.Kubelet, &out.Kubelet - *out = new(KubeletConfiguration) - (*in).DeepCopyInto(*out) - } - if in.BlockDeviceMappings != nil { - in, out := &in.BlockDeviceMappings, &out.BlockDeviceMappings - *out = make([]*BlockDeviceMapping, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(BlockDeviceMapping) - (*in).DeepCopyInto(*out) - } - } - } - if in.InstanceStorePolicy != nil { - in, out := &in.InstanceStorePolicy, &out.InstanceStorePolicy - *out = new(InstanceStorePolicy) - **out = **in - } - if in.DetailedMonitoring != nil { - in, out := &in.DetailedMonitoring, &out.DetailedMonitoring - *out = new(bool) - **out = **in - } - if in.MetadataOptions != nil { - in, out := &in.MetadataOptions, &out.MetadataOptions - *out = new(MetadataOptions) - (*in).DeepCopyInto(*out) - } - if in.Context != nil { - in, out := &in.Context, &out.Context - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EC2NodeClassSpec. -func (in *EC2NodeClassSpec) DeepCopy() *EC2NodeClassSpec { - if in == nil { - return nil - } - out := new(EC2NodeClassSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EC2NodeClassStatus) DeepCopyInto(out *EC2NodeClassStatus) { - *out = *in - if in.Subnets != nil { - in, out := &in.Subnets, &out.Subnets - *out = make([]Subnet, len(*in)) - copy(*out, *in) - } - if in.SecurityGroups != nil { - in, out := &in.SecurityGroups, &out.SecurityGroups - *out = make([]SecurityGroup, len(*in)) - copy(*out, *in) - } - if in.CapacityReservations != nil { - in, out := &in.CapacityReservations, &out.CapacityReservations - *out = make([]CapacityReservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.AMIs != nil { - in, out := &in.AMIs, &out.AMIs - *out = make([]AMI, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Conditions != nil { - in, out := &in.Conditions, &out.Conditions - *out = make([]status.Condition, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EC2NodeClassStatus. -func (in *EC2NodeClassStatus) DeepCopy() *EC2NodeClassStatus { - if in == nil { - return nil - } - out := new(EC2NodeClassStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) { - *out = *in - if in.ClusterDNS != nil { - in, out := &in.ClusterDNS, &out.ClusterDNS - *out = make([]string, len(*in)) - copy(*out, *in) - } - if in.MaxPods != nil { - in, out := &in.MaxPods, &out.MaxPods - *out = new(int32) - **out = **in - } - if in.PodsPerCore != nil { - in, out := &in.PodsPerCore, &out.PodsPerCore - *out = new(int32) - **out = **in - } - if in.SystemReserved != nil { - in, out := &in.SystemReserved, &out.SystemReserved - *out = make(map[string]string, len(*in)) - for key, val := range *in { - (*out)[key] = val - } - } - if in.KubeReserved != nil { - in, out := &in.KubeReserved, &out.KubeReserved - *out = make(map[string]string, len(*in)) - for key, val := range *in { - (*out)[key] = val - } - } - if in.EvictionHard != nil { - in, out := &in.EvictionHard, &out.EvictionHard - *out = make(map[string]string, len(*in)) - for key, val := range *in { - (*out)[key] = val - } - } - if in.EvictionSoft != nil { - in, out := &in.EvictionSoft, &out.EvictionSoft - *out = make(map[string]string, len(*in)) - for key, val := range *in { - (*out)[key] = val - } - } - if in.EvictionSoftGracePeriod != nil { - in, out := &in.EvictionSoftGracePeriod, &out.EvictionSoftGracePeriod - *out = make(map[string]metav1.Duration, len(*in)) - for key, val := range *in { - (*out)[key] = val - } - } - if in.EvictionMaxPodGracePeriod != nil { - in, out := &in.EvictionMaxPodGracePeriod, &out.EvictionMaxPodGracePeriod - *out = new(int32) - **out = **in - } - if in.ImageGCHighThresholdPercent != nil { - in, out := &in.ImageGCHighThresholdPercent, &out.ImageGCHighThresholdPercent - *out = new(int32) - **out = **in - } - if in.ImageGCLowThresholdPercent != nil { - in, out := &in.ImageGCLowThresholdPercent, &out.ImageGCLowThresholdPercent - *out = new(int32) - **out = **in - } - if in.CPUCFSQuota != nil { - in, out := &in.CPUCFSQuota, &out.CPUCFSQuota - *out = new(bool) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfiguration. -func (in *KubeletConfiguration) DeepCopy() *KubeletConfiguration { - if in == nil { - return nil - } - out := new(KubeletConfiguration) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MetadataOptions) DeepCopyInto(out *MetadataOptions) { - *out = *in - if in.HTTPEndpoint != nil { - in, out := &in.HTTPEndpoint, &out.HTTPEndpoint - *out = new(string) - **out = **in - } - if in.HTTPProtocolIPv6 != nil { - in, out := &in.HTTPProtocolIPv6, &out.HTTPProtocolIPv6 - *out = new(string) - **out = **in - } - if in.HTTPPutResponseHopLimit != nil { - in, out := &in.HTTPPutResponseHopLimit, &out.HTTPPutResponseHopLimit - *out = new(int64) - **out = **in - } - if in.HTTPTokens != nil { - in, out := &in.HTTPTokens, &out.HTTPTokens - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOptions. -func (in *MetadataOptions) DeepCopy() *MetadataOptions { - if in == nil { - return nil - } - out := new(MetadataOptions) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroup. -func (in *SecurityGroup) DeepCopy() *SecurityGroup { - if in == nil { - return nil - } - out := new(SecurityGroup) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupSelectorTerm) DeepCopyInto(out *SecurityGroupSelectorTerm) { - *out = *in - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]string, len(*in)) - for key, val := range *in { - (*out)[key] = val - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupSelectorTerm. -func (in *SecurityGroupSelectorTerm) DeepCopy() *SecurityGroupSelectorTerm { - if in == nil { - return nil - } - out := new(SecurityGroupSelectorTerm) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Subnet) DeepCopyInto(out *Subnet) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet. -func (in *Subnet) DeepCopy() *Subnet { - if in == nil { - return nil - } - out := new(Subnet) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetSelectorTerm) DeepCopyInto(out *SubnetSelectorTerm) { - *out = *in - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]string, len(*in)) - for key, val := range *in { - (*out)[key] = val - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetSelectorTerm. -func (in *SubnetSelectorTerm) DeepCopy() *SubnetSelectorTerm { - if in == nil { - return nil - } - out := new(SubnetSelectorTerm) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ZoneInfo) DeepCopyInto(out *ZoneInfo) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneInfo. -func (in *ZoneInfo) DeepCopy() *ZoneInfo { - if in == nil { - return nil - } - out := new(ZoneInfo) - in.DeepCopyInto(out) - return out -} diff --git a/api/vendor/github.com/aws/smithy-go/LICENSE b/api/vendor/github.com/aws/smithy-go/LICENSE deleted file mode 100644 index 67db8588217f..000000000000 --- a/api/vendor/github.com/aws/smithy-go/LICENSE +++ /dev/null @@ -1,175 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. diff --git a/api/vendor/github.com/aws/smithy-go/NOTICE b/api/vendor/github.com/aws/smithy-go/NOTICE deleted file mode 100644 index 616fc5889451..000000000000 --- a/api/vendor/github.com/aws/smithy-go/NOTICE +++ /dev/null @@ -1 +0,0 @@ -Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/api/vendor/github.com/aws/smithy-go/document/doc.go b/api/vendor/github.com/aws/smithy-go/document/doc.go deleted file mode 100644 index 03055b7a1c2e..000000000000 --- a/api/vendor/github.com/aws/smithy-go/document/doc.go +++ /dev/null @@ -1,12 +0,0 @@ -// Package document provides interface definitions and error types for document types. -// -// A document is a protocol-agnostic type which supports a JSON-like data-model. You can use this type to send -// UTF-8 strings, arbitrary precision numbers, booleans, nulls, a list of these values, and a map of UTF-8 -// strings to these values. -// -// API Clients expose document constructors in their respective client document packages which must be used to -// Marshal and Unmarshal Go types to and from their respective protocol representations. -// -// See the Marshaler and Unmarshaler type documentation for more details on how to Go types can be converted to and from -// document types. -package document diff --git a/api/vendor/github.com/aws/smithy-go/document/document.go b/api/vendor/github.com/aws/smithy-go/document/document.go deleted file mode 100644 index 8f852d95c699..000000000000 --- a/api/vendor/github.com/aws/smithy-go/document/document.go +++ /dev/null @@ -1,153 +0,0 @@ -package document - -import ( - "fmt" - "math/big" - "strconv" -) - -// Marshaler is an interface for a type that marshals a document to its protocol-specific byte representation and -// returns the resulting bytes. A non-nil error will be returned if an error is encountered during marshaling. -// -// Marshal supports basic scalars (int,uint,float,bool,string), big.Int, and big.Float, maps, slices, and structs. -// Anonymous nested types are flattened based on Go anonymous type visibility. -// -// When defining struct types. the `document` struct tag can be used to control how the value will be -// marshaled into the resulting protocol document. -// -// // Field is ignored -// Field int `document:"-"` -// -// // Field object of key "myName" -// Field int `document:"myName"` -// -// // Field object key of key "myName", and -// // Field is omitted if the field is a zero value for the type. -// Field int `document:"myName,omitempty"` -// -// // Field object key of "Field", and -// // Field is omitted if the field is a zero value for the type. -// Field int `document:",omitempty"` -// -// All struct fields, including anonymous fields, are marshaled unless the -// any of the following conditions are meet. -// -// - the field is not exported -// - document field tag is "-" -// - document field tag specifies "omitempty", and is a zero value. -// -// Pointer and interface values are encoded as the value pointed to or -// contained in the interface. A nil value encodes as a null -// value unless `omitempty` struct tag is provided. -// -// Channel, complex, and function values are not encoded and will be skipped -// when walking the value to be marshaled. -// -// time.Time is not supported and will cause the Marshaler to return an error. These values should be represented -// by your application as a string or numerical representation. -// -// Errors that occur when marshaling will stop the marshaler, and return the error. -// -// Marshal cannot represent cyclic data structures and will not handle them. -// Passing cyclic structures to Marshal will result in an infinite recursion. -type Marshaler interface { - MarshalSmithyDocument() ([]byte, error) -} - -// Unmarshaler is an interface for a type that unmarshals a document from its protocol-specific representation, and -// stores the result into the value pointed by v. If v is nil or not a pointer then InvalidUnmarshalError will be -// returned. -// -// Unmarshaler supports the same encodings produced by a document Marshaler. This includes support for the `document` -// struct field tag for controlling how struct fields are unmarshaled. -// -// Both generic interface{} and concrete types are valid unmarshal destination types. When unmarshaling a document -// into an empty interface the Unmarshaler will store one of these values: -// bool, for boolean values -// document.Number, for arbitrary-precision numbers (int64, float64, big.Int, big.Float) -// string, for string values -// []interface{}, for array values -// map[string]interface{}, for objects -// nil, for null values -// -// When unmarshaling, any error that occurs will halt the unmarshal and return the error. -type Unmarshaler interface { - UnmarshalSmithyDocument(v interface{}) error -} - -type noSerde interface { - noSmithyDocumentSerde() -} - -// NoSerde is a sentinel value to indicate that a given type should not be marshaled or unmarshaled -// into a protocol document. -type NoSerde struct{} - -func (n NoSerde) noSmithyDocumentSerde() {} - -var _ noSerde = (*NoSerde)(nil) - -// IsNoSerde returns whether the given type implements the no smithy document serde interface. -func IsNoSerde(x interface{}) bool { - _, ok := x.(noSerde) - return ok -} - -// Number is an arbitrary precision numerical value -type Number string - -// Int64 returns the number as a string. -func (n Number) String() string { - return string(n) -} - -// Int64 returns the number as an int64. -func (n Number) Int64() (int64, error) { - return n.intOfBitSize(64) -} - -func (n Number) intOfBitSize(bitSize int) (int64, error) { - return strconv.ParseInt(string(n), 10, bitSize) -} - -// Uint64 returns the number as a uint64. -func (n Number) Uint64() (uint64, error) { - return n.uintOfBitSize(64) -} - -func (n Number) uintOfBitSize(bitSize int) (uint64, error) { - return strconv.ParseUint(string(n), 10, bitSize) -} - -// Float32 returns the number parsed as a 32-bit float, returns a float64. -func (n Number) Float32() (float64, error) { - return n.floatOfBitSize(32) -} - -// Float64 returns the number as a float64. -func (n Number) Float64() (float64, error) { - return n.floatOfBitSize(64) -} - -// Float64 returns the number as a float64. -func (n Number) floatOfBitSize(bitSize int) (float64, error) { - return strconv.ParseFloat(string(n), bitSize) -} - -// BigFloat attempts to convert the number to a big.Float, returns an error if the operation fails. -func (n Number) BigFloat() (*big.Float, error) { - f, ok := (&big.Float{}).SetString(string(n)) - if !ok { - return nil, fmt.Errorf("failed to convert to big.Float") - } - return f, nil -} - -// BigInt attempts to convert the number to a big.Int, returns an error if the operation fails. -func (n Number) BigInt() (*big.Int, error) { - f, ok := (&big.Int{}).SetString(string(n), 10) - if !ok { - return nil, fmt.Errorf("failed to convert to big.Float") - } - return f, nil -} diff --git a/api/vendor/github.com/aws/smithy-go/document/errors.go b/api/vendor/github.com/aws/smithy-go/document/errors.go deleted file mode 100644 index 046a7a765318..000000000000 --- a/api/vendor/github.com/aws/smithy-go/document/errors.go +++ /dev/null @@ -1,75 +0,0 @@ -package document - -import ( - "fmt" - "reflect" -) - -// UnmarshalTypeError is an error type representing an error -// unmarshaling a Smithy document to a Go value type. This is different -// from UnmarshalError in that it does not wrap an underlying error type. -type UnmarshalTypeError struct { - Value string - Type reflect.Type -} - -// Error returns the string representation of the error. -// Satisfying the error interface. -func (e *UnmarshalTypeError) Error() string { - return fmt.Sprintf("unmarshal failed, cannot unmarshal %s into Go value type %s", - e.Value, e.Type.String()) -} - -// An InvalidUnmarshalError is an error type representing an invalid type -// encountered while unmarshaling a Smithy document to a Go value type. -type InvalidUnmarshalError struct { - Type reflect.Type -} - -// Error returns the string representation of the error. -// Satisfying the error interface. -func (e *InvalidUnmarshalError) Error() string { - var msg string - if e.Type == nil { - msg = "cannot unmarshal to nil value" - } else if e.Type.Kind() != reflect.Ptr { - msg = fmt.Sprintf("cannot unmarshal to non-pointer value, got %s", e.Type.String()) - } else { - msg = fmt.Sprintf("cannot unmarshal to nil value, %s", e.Type.String()) - } - - return fmt.Sprintf("unmarshal failed, %s", msg) -} - -// An UnmarshalError wraps an error that occurred while unmarshaling a -// Smithy document into a Go type. This is different from -// UnmarshalTypeError in that it wraps the underlying error that occurred. -type UnmarshalError struct { - Err error - Value string - Type reflect.Type -} - -// Unwrap returns the underlying unmarshaling error -func (e *UnmarshalError) Unwrap() error { - return e.Err -} - -// Error returns the string representation of the error. -// Satisfying the error interface. -func (e *UnmarshalError) Error() string { - return fmt.Sprintf("unmarshal failed, cannot unmarshal %q into %s, %v", - e.Value, e.Type.String(), e.Err) -} - -// An InvalidMarshalError is an error type representing an error -// occurring when marshaling a Go value type. -type InvalidMarshalError struct { - Message string -} - -// Error returns the string representation of the error. -// Satisfying the error interface. -func (e *InvalidMarshalError) Error() string { - return fmt.Sprintf("marshal failed, %s", e.Message) -} diff --git a/api/vendor/github.com/awslabs/operatorpkg/LICENSE b/api/vendor/github.com/awslabs/operatorpkg/LICENSE deleted file mode 100644 index 67db8588217f..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/LICENSE +++ /dev/null @@ -1,175 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. diff --git a/api/vendor/github.com/awslabs/operatorpkg/NOTICE b/api/vendor/github.com/awslabs/operatorpkg/NOTICE deleted file mode 100644 index 616fc5889451..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/NOTICE +++ /dev/null @@ -1 +0,0 @@ -Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/api/vendor/github.com/awslabs/operatorpkg/metrics/metrics.go b/api/vendor/github.com/awslabs/operatorpkg/metrics/metrics.go deleted file mode 100644 index 3ec1cc20eeba..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/metrics/metrics.go +++ /dev/null @@ -1,126 +0,0 @@ -package metrics - -import ( - "context" - "net/url" - "strings" - "time" - - "github.com/prometheus/client_golang/prometheus" - "github.com/samber/lo" - clientmetrics "k8s.io/client-go/tools/metrics" -) - -// This package adds client-go metrics that can be surfaced through the Prometheus metrics server -// This is based on the reference implementation that was pulled out in controller-runtime in https://github.com/kubernetes-sigs/controller-runtime/pull/2298 - -// RegisterClientMetrics sets up the client latency and result metrics from client-go. -func RegisterClientMetrics(r prometheus.Registerer) { - clientmetrics.RequestLatency = &LatencyAdapter{Metric: NewPrometheusHistogram( - r, - prometheus.HistogramOpts{ - Name: "client_go_request_duration_seconds", - Help: "Request latency in seconds. Broken down by verb, group, version, kind, and subresource.", - Buckets: prometheus.ExponentialBuckets(0.001, 1.5, 20), - }, - []string{"verb", "group", "version", "kind", "subresource"}, - )} - clientmetrics.RequestResult = &ResultAdapter{Metric: NewPrometheusCounter( - r, - prometheus.CounterOpts{ - Name: "client_go_request_total", - Help: "Number of HTTP requests, partitioned by status code and method.", - }, - []string{"code", "method"}, - )} -} - -type ResultAdapter struct { - Metric CounterMetric -} - -func (r *ResultAdapter) Increment(_ context.Context, code, method, _ string) { - r.Metric.Inc(map[string]string{"code": code, "method": method}) -} - -// LatencyAdapter implements LatencyMetric. -type LatencyAdapter struct { - Metric ObservationMetric -} - -// Observe increments the request latency metric for the given verb/group/version/kind/subresource. -func (l *LatencyAdapter) Observe(_ context.Context, verb string, u url.URL, latency time.Duration) { - if data := parsePath(u.Path); data != nil { - // We update the "verb" to better reflect the action being taken by client-go - switch verb { - case "POST": - verb = "CREATE" - case "GET": - if !strings.Contains(u.Path, "{name}") { - verb = "LIST" - } - case "PUT": - if !strings.Contains(u.Path, "{name}") { - verb = "CREATE" - } else { - verb = "UPDATE" - } - } - l.Metric.Observe(latency.Seconds(), map[string]string{ - "verb": verb, - "group": data.group, - "version": data.version, - "kind": data.kind, - "subresource": data.subresource, - }) - } -} - -// pathData stores data parsed out from the URL path -type pathData struct { - group string - version string - kind string - subresource string -} - -// parsePath parses out the URL called from client-go to return back the group, version, kind, and subresource -// urls are formatted similar to /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name} or /apis/karpenter.sh/v1beta1/nodeclaims/{name} -func parsePath(path string) *pathData { - parts := strings.Split(path, "/")[1:] - - var groupIdx, versionIdx, kindIdx int - switch parts[0] { - case "api": - groupIdx = 0 - case "apis": - groupIdx = 1 - default: - return nil - } - // If the url is too short, then it's not interesting to us - if len(parts) < groupIdx+3 { - return nil - } - // This resource is namespaced and the resource is not the namespace - if parts[groupIdx+2] == "namespaces" && len(parts) > groupIdx+4 { - versionIdx = groupIdx + 1 - kindIdx = versionIdx + 3 - } else { - versionIdx = groupIdx + 1 - kindIdx = versionIdx + 1 - } - - // If we have a subresource, it's going to be two indices after the kind - var subresource string - if len(parts) == kindIdx+3 { - subresource = parts[kindIdx+2] - } - return &pathData{ - // If the group index is 0, this is part of the core API, so there's no group - group: lo.Ternary(groupIdx == 0, "", parts[groupIdx]), - version: parts[versionIdx], - kind: parts[kindIdx], - subresource: subresource, - } -} diff --git a/api/vendor/github.com/awslabs/operatorpkg/metrics/multi.go b/api/vendor/github.com/awslabs/operatorpkg/metrics/multi.go deleted file mode 100644 index aa0c2b579dfd..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/metrics/multi.go +++ /dev/null @@ -1,103 +0,0 @@ -package metrics - -type MultiCounter struct { - counters []CounterMetric -} - -func NewMultiCounter(counters ...CounterMetric) CounterMetric { - return &MultiCounter{counters: counters} -} - -func (mc *MultiCounter) Inc(labels map[string]string) { - for _, c := range mc.counters { - c.Inc(labels) - } -} - -func (mc *MultiCounter) Add(v float64, labels map[string]string) { - for _, c := range mc.counters { - c.Add(v, labels) - } -} - -func (mc *MultiCounter) Delete(labels map[string]string) { - for _, c := range mc.counters { - c.Delete(labels) - } -} - -func (mc *MultiCounter) DeletePartialMatch(labels map[string]string) { - for _, c := range mc.counters { - c.DeletePartialMatch(labels) - } -} - -func (mc *MultiCounter) Reset() { - for _, c := range mc.counters { - c.Reset() - } -} - -type MultiGauge struct { - gauges []GaugeMetric -} - -func NewMultiGauge(gauges ...GaugeMetric) GaugeMetric { - return &MultiGauge{gauges: gauges} -} - -func (mg *MultiGauge) Set(v float64, labels map[string]string) { - for _, g := range mg.gauges { - g.Set(v, labels) - } -} - -func (mg *MultiGauge) Delete(labels map[string]string) { - for _, g := range mg.gauges { - g.Delete(labels) - } -} - -func (mg *MultiGauge) DeletePartialMatch(labels map[string]string) { - for _, g := range mg.gauges { - g.DeletePartialMatch(labels) - } -} - -func (mg *MultiGauge) Reset() { - for _, g := range mg.gauges { - g.Reset() - } -} - -type MultiObservation struct { - observations []ObservationMetric -} - -func NewMultiObservation(observations ...ObservationMetric) ObservationMetric { - return &MultiObservation{observations: observations} -} - -func (mo *MultiObservation) Observe(v float64, labels map[string]string) { - for _, o := range mo.observations { - o.Observe(v, labels) - } -} - -func (mo *MultiObservation) Delete(labels map[string]string) { - for _, o := range mo.observations { - o.Delete(labels) - } -} - -func (mo *MultiObservation) DeletePartialMatch(labels map[string]string) { - for _, o := range mo.observations { - o.DeletePartialMatch(labels) - } -} - -func (mo *MultiObservation) Reset() { - for _, o := range mo.observations { - o.Reset() - } -} diff --git a/api/vendor/github.com/awslabs/operatorpkg/metrics/prometheus.go b/api/vendor/github.com/awslabs/operatorpkg/metrics/prometheus.go deleted file mode 100644 index b8063d29e2d3..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/metrics/prometheus.go +++ /dev/null @@ -1,113 +0,0 @@ -package metrics - -import ( - "github.com/prometheus/client_golang/prometheus" -) - -type PrometheusCounter struct { - *prometheus.CounterVec -} - -func NewPrometheusCounter(registry prometheus.Registerer, opts prometheus.CounterOpts, labelNames []string) CounterMetric { - c := prometheus.NewCounterVec(opts, labelNames) - registry.MustRegister(c) - return &PrometheusCounter{CounterVec: c} -} - -func (pc *PrometheusCounter) Inc(labels map[string]string) { - pc.CounterVec.With(labels).Inc() -} - -func (pc *PrometheusCounter) Add(v float64, labels map[string]string) { - pc.CounterVec.With(labels).Add(v) -} - -func (pc *PrometheusCounter) Delete(labels map[string]string) { - pc.CounterVec.Delete(labels) -} - -func (pc *PrometheusCounter) DeletePartialMatch(labels map[string]string) { - pc.CounterVec.DeletePartialMatch(labels) -} - -func (pc *PrometheusCounter) Reset() { - pc.CounterVec.Reset() -} - -type PrometheusGauge struct { - *prometheus.GaugeVec -} - -func NewPrometheusGauge(registry prometheus.Registerer, opts prometheus.GaugeOpts, labelNames []string) GaugeMetric { - g := prometheus.NewGaugeVec(opts, labelNames) - registry.MustRegister(g) - return &PrometheusGauge{GaugeVec: g} -} - -func (pg *PrometheusGauge) Set(v float64, labels map[string]string) { - pg.GaugeVec.With(labels).Set(v) -} - -func (pg *PrometheusGauge) Delete(labels map[string]string) { - pg.GaugeVec.Delete(labels) -} - -func (pg *PrometheusGauge) DeletePartialMatch(labels map[string]string) { - pg.GaugeVec.DeletePartialMatch(labels) -} - -func (pg *PrometheusGauge) Reset() { - pg.GaugeVec.Reset() -} - -type PrometheusHistogram struct { - *prometheus.HistogramVec -} - -func NewPrometheusHistogram(registry prometheus.Registerer, opts prometheus.HistogramOpts, labelNames []string) ObservationMetric { - h := prometheus.NewHistogramVec(opts, labelNames) - registry.MustRegister(h) - return &PrometheusHistogram{HistogramVec: h} -} - -func (ph *PrometheusHistogram) Observe(v float64, labels map[string]string) { - ph.HistogramVec.With(labels).Observe(v) -} - -func (ph *PrometheusHistogram) Delete(labels map[string]string) { - ph.HistogramVec.Delete(labels) -} - -func (ph *PrometheusHistogram) DeletePartialMatch(labels map[string]string) { - ph.HistogramVec.DeletePartialMatch(labels) -} - -func (ph *PrometheusHistogram) Reset() { - ph.HistogramVec.Reset() -} - -type PrometheusSummary struct { - *prometheus.SummaryVec -} - -func NewPrometheusSummary(registry prometheus.Registerer, opts prometheus.SummaryOpts, labelNames []string) ObservationMetric { - s := prometheus.NewSummaryVec(opts, labelNames) - registry.MustRegister(s) - return &PrometheusSummary{SummaryVec: s} -} - -func (ps *PrometheusSummary) Observe(v float64, labels map[string]string) { - ps.SummaryVec.With(labels).Observe(v) -} - -func (ps *PrometheusSummary) Delete(labels map[string]string) { - ps.SummaryVec.Delete(labels) -} - -func (ps *PrometheusSummary) DeletePartialMatch(labels map[string]string) { - ps.SummaryVec.DeletePartialMatch(labels) -} - -func (ps *PrometheusSummary) Reset() { - ps.SummaryVec.Reset() -} diff --git a/api/vendor/github.com/awslabs/operatorpkg/metrics/types.go b/api/vendor/github.com/awslabs/operatorpkg/metrics/types.go deleted file mode 100644 index e7c8d01db304..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/metrics/types.go +++ /dev/null @@ -1,31 +0,0 @@ -package metrics - -const ( - Namespace = "operator" - LabelGroup = "group" - LabelKind = "kind" - LabelType = "type" - LabelReason = "reason" -) - -type ObservationMetric interface { - Observe(v float64, labels map[string]string) - Delete(labels map[string]string) - DeletePartialMatch(labels map[string]string) - Reset() -} - -type CounterMetric interface { - Add(v float64, labels map[string]string) - Inc(labels map[string]string) - Delete(labels map[string]string) - DeletePartialMatch(labels map[string]string) - Reset() -} - -type GaugeMetric interface { - Set(v float64, labels map[string]string) - Delete(labels map[string]string) - DeletePartialMatch(labels map[string]string) - Reset() -} diff --git a/api/vendor/github.com/awslabs/operatorpkg/object/object.go b/api/vendor/github.com/awslabs/operatorpkg/object/object.go deleted file mode 100644 index 94e8a7e58957..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/object/object.go +++ /dev/null @@ -1,62 +0,0 @@ -package object - -import ( - "fmt" - "hash/fnv" - "reflect" - "strconv" - - "github.com/samber/lo" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" - "k8s.io/apimachinery/pkg/types" - "k8s.io/apimachinery/pkg/util/dump" - "k8s.io/client-go/kubernetes/scheme" - "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/client/apiutil" - "sigs.k8s.io/yaml" -) - -// GroupVersionKindNamespacedName uniquely identifies an object -type GroupVersionKindNamespacedName struct { - schema.GroupVersionKind - types.NamespacedName -} - -// GVKNN returns a GroupVersionKindNamespacedName that uniquely identifies the object -func GVKNN(o client.Object) GroupVersionKindNamespacedName { - return GroupVersionKindNamespacedName{ - GroupVersionKind: GVK(o), - NamespacedName: client.ObjectKeyFromObject(o), - } -} - -func (gvknn GroupVersionKindNamespacedName) String() string { - str := fmt.Sprintf("%s/%s", gvknn.Group, gvknn.Kind) - if gvknn.Namespace != "" { - str += "/" + gvknn.Namespace - } - str += "/" + gvknn.Name - return str -} - -func GVK(o runtime.Object) schema.GroupVersionKind { - return lo.Must(apiutil.GVKForObject(o, scheme.Scheme)) -} - -func New[T any]() T { - return reflect.New(reflect.TypeOf(*new(T)).Elem()).Interface().(T) -} - -func Unmarshal[T any](raw []byte) *T { - t := *new(T) - lo.Must0(yaml.Unmarshal(raw, &t)) - return &t -} - -func Hash(o any) string { - h := fnv.New64a() - h.Reset() - fmt.Fprintf(h, "%v", dump.ForHash(o)) - return strconv.FormatUint(h.Sum64(), 10) -} diff --git a/api/vendor/github.com/awslabs/operatorpkg/option/environment.go b/api/vendor/github.com/awslabs/operatorpkg/option/environment.go deleted file mode 100644 index a2c369fbc148..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/option/environment.go +++ /dev/null @@ -1,13 +0,0 @@ -package option - -import ( - "os" - - "github.com/samber/lo" -) - -func MustGetEnv(name string) string { - env, exists := os.LookupEnv(name) - lo.Must0(lo.Validate(exists, "env var %s must exist", name)) - return env -} diff --git a/api/vendor/github.com/awslabs/operatorpkg/option/function.go b/api/vendor/github.com/awslabs/operatorpkg/option/function.go deleted file mode 100644 index b5f98dfc58ee..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/option/function.go +++ /dev/null @@ -1,13 +0,0 @@ -package option - -type Function[T any] func(*T) - -func Resolve[T any](opts ...Function[T]) *T { - o := new(T) - for _, opt := range opts { - if opt != nil { - opt(o) - } - } - return o -} diff --git a/api/vendor/github.com/awslabs/operatorpkg/serrors/logger.go b/api/vendor/github.com/awslabs/operatorpkg/serrors/logger.go deleted file mode 100644 index 1b704d9ec781..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/serrors/logger.go +++ /dev/null @@ -1,39 +0,0 @@ -package serrors - -import "github.com/go-logr/logr" - -// Logger is a structured error logger that can be used as a wrapper for other logr.Loggers -// It unwraps the values for structured errors and calls WithValues() for them -type Logger struct { - name string - sink logr.LogSink -} - -// NewLogger creates a new log logr.Logger using the serrors.Logger -func NewLogger(logger logr.Logger) logr.Logger { - return logr.New(&Logger{sink: logger.GetSink()}) -} - -func (l *Logger) Init(ri logr.RuntimeInfo) { - l.sink.Init(ri) -} - -func (l *Logger) Enabled(level int) bool { - return l.sink.Enabled(level) -} - -func (l *Logger) Info(level int, msg string, keysAndValues ...interface{}) { - l.sink.Info(level, msg, keysAndValues...) -} - -func (l *Logger) Error(err error, msg string, keysAndValues ...interface{}) { - l.sink.Error(err, msg, append(keysAndValues, UnwrapValues(err)...)...) -} - -func (l *Logger) WithValues(keysAndValues ...interface{}) logr.LogSink { - return &Logger{name: l.name, sink: l.sink.WithValues(keysAndValues...)} -} - -func (l *Logger) WithName(name string) logr.LogSink { - return &Logger{name: name, sink: l.sink.WithName(name)} -} diff --git a/api/vendor/github.com/awslabs/operatorpkg/serrors/serrors.go b/api/vendor/github.com/awslabs/operatorpkg/serrors/serrors.go deleted file mode 100644 index 98ea67079b06..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/serrors/serrors.go +++ /dev/null @@ -1,97 +0,0 @@ -package serrors - -import ( - "errors" - "fmt" - "sort" - "strings" - - "github.com/samber/lo" - "go.uber.org/multierr" -) - -// Error is a structured error that stores structured errors and values alongside the error -type Error struct { - error - keysAndValues map[string]any -} - -// Unwrap returns the unwrapped error -func (e *Error) Unwrap() error { - return e.error -} - -// Error returns the string representation of the error -func (e *Error) Error() string { - var elems []string - keys := lo.Keys(e.keysAndValues) - sort.Strings(keys) // sort keys so we always get a consistent ordering - for _, k := range keys { - v := e.keysAndValues[k] - elems = append(elems, fmt.Sprintf("%s=%v", k, v)) - } - return fmt.Sprintf("%s (%s)", e.error.Error(), strings.Join(elems, ", ")) -} - -// WithValues injects additional structured keys and values into the error -func (e *Error) WithValues(keysAndValues ...any) *Error { - lo.Must0(validateKeysAndValues(keysAndValues)) - if e.keysAndValues == nil { - e.keysAndValues = map[string]any{} - } - for i := 0; i < len(keysAndValues); i += 2 { - e.keysAndValues[keysAndValues[i].(string)] = keysAndValues[i+1] - } - return e -} - -// Wrap wraps and existing error with additional structured keys and values -func Wrap(err error, keysAndValues ...any) error { - e := &Error{error: err} - return e.WithValues(keysAndValues...) -} - -func validateKeysAndValues(keysAndValues []any) error { - if len(keysAndValues)%2 != 0 { - return fmt.Errorf("keysAndValues must have an even number of elements") - } - for i := 0; i < len(keysAndValues); i += 2 { - if _, ok := keysAndValues[i].(string); !ok { - return fmt.Errorf("keys must be strings") - } - } - return nil -} - -// UnwrapValues returns a combined set of keys and values from every wrapped error -func UnwrapValues(err error) (res []any) { - values := map[string][]any{} - for err != nil { - for _, elem := range multierr.Errors(err) { - if e, ok := elem.(*Error); ok { - for k, v := range e.keysAndValues { - if _, mOk := values[k]; mOk { - values[k] = append(values[k], v) - } else { - values[k] = []any{v} - } - } - } - } - err = errors.Unwrap(err) - } - if len(values) == 0 { - return nil - } - keys := lo.Keys(values) - sort.Strings(keys) // sort keys so we always get a consistent ordering - for _, k := range keys { - v := values[k] - if len(v) == 1 { - res = append(res, k, v[0]) - } else { - res = append(res, fmt.Sprintf("%ss", k), v) - } - } - return res -} diff --git a/api/vendor/github.com/awslabs/operatorpkg/status/condition.go b/api/vendor/github.com/awslabs/operatorpkg/status/condition.go deleted file mode 100644 index cd1fc6409c97..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/status/condition.go +++ /dev/null @@ -1,58 +0,0 @@ -// Inspired by https://github.com/knative/pkg/tree/97c7258e3a98b81459936bc7a29dc6a9540fa357/apis, -// but we chose to diverge due to the unacceptably large dependency closure of knative/pkg. -package status - -import ( - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "sigs.k8s.io/controller-runtime/pkg/client" -) - -type Object interface { - client.Object - GetConditions() []Condition - SetConditions([]Condition) - StatusConditions() ConditionSet -} - -// ConditionType is a upper-camel-cased condition type. -type ConditionType string - -const ( - // ConditionReady specifies that the resource is ready. - // For long-running resources. - ConditionReady = "Ready" - // ConditionSucceeded specifies that the resource has finished. - // For resource which run to completion. - ConditionSucceeded = "Succeeded" -) - -// Condition aliases the upstream type and adds additional helper methods -type Condition metav1.Condition - -func (c *Condition) IsTrue() bool { - if c == nil { - return false - } - return c.Status == metav1.ConditionTrue -} - -func (c *Condition) IsFalse() bool { - if c == nil { - return false - } - return c.Status == metav1.ConditionFalse -} - -func (c *Condition) IsUnknown() bool { - if c == nil { - return true - } - return c.Status == metav1.ConditionUnknown -} - -func (c *Condition) GetStatus() metav1.ConditionStatus { - if c == nil { - return metav1.ConditionUnknown - } - return c.Status -} diff --git a/api/vendor/github.com/awslabs/operatorpkg/status/condition_set.go b/api/vendor/github.com/awslabs/operatorpkg/status/condition_set.go deleted file mode 100644 index a58c3e4edf84..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/status/condition_set.go +++ /dev/null @@ -1,281 +0,0 @@ -// Inspired by https://github.com/knative/pkg/tree/97c7258e3a98b81459936bc7a29dc6a9540fa357/apis, -// but we chose to diverge due to the unacceptably large dependency closure of knative/pkg. -package status - -import ( - "fmt" - "reflect" - "sort" - "strings" - - "github.com/samber/lo" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" -) - -// ConditionTypes is an abstract collection of the possible ConditionType values -// that a particular resource might expose. It also holds the "root condition" -// for that resource, which we define to be one of Ready or Succeeded depending -// on whether it is a Living or Batch process respectively. -type ConditionTypes struct { - root string - dependents []string -} - -// NewReadyConditions returns a ConditionTypes to hold the conditions for the -// resource. ConditionReady is used as the root condition. -// The set of condition types provided are those of the terminal subconditions. -func NewReadyConditions(d ...string) ConditionTypes { - return newConditionTypes(ConditionReady, d...) -} - -// NewSucceededConditions returns a ConditionTypes to hold the conditions for the -// batch resource. ConditionSucceeded is used as the root condition. -// The set of condition types provided are those of the terminal subconditions. -func NewSucceededConditions(d ...string) ConditionTypes { - return newConditionTypes(ConditionSucceeded, d...) -} - -func newConditionTypes(root string, dependents ...string) ConditionTypes { - return ConditionTypes{ - root: root, - dependents: lo.Reject(lo.Uniq(dependents), func(c string, _ int) bool { return c == root }), - } -} - -// ConditionSet provides methods for evaluating Conditions. -// +k8s:deepcopy-gen=false -type ConditionSet struct { - ConditionTypes - object Object -} - -// For creates a ConditionSet from an object using the original -// ConditionTypes as a reference. Status must be a pointer to a struct. -func (r ConditionTypes) For(object Object) ConditionSet { - cs := ConditionSet{object: object, ConditionTypes: r} - // Set known conditions Unknown if not set. - // Set the root condition first to get consistent timing for LastTransitionTime - for _, t := range append([]string{r.root}, r.dependents...) { - if cs.Get(t) == nil { - cs.SetUnknown(t) - } - } - return cs -} - -// Root returns the root Condition, typically "Ready" or "Succeeded" -func (c ConditionSet) Root() *Condition { - if c.object == nil { - return nil - } - return c.Get(c.root) -} - -func (c ConditionSet) List() []Condition { - if c.object == nil { - return nil - } - return c.object.GetConditions() -} - -// Get finds and returns the Condition that matches the ConditionType -// previously set on Conditions. -func (c ConditionSet) Get(t string) *Condition { - if c.object == nil { - return nil - } - if condition, found := lo.Find(c.object.GetConditions(), func(c Condition) bool { return c.Type == t }); found { - return &condition - } - return nil -} - -// IsTrue returns true if all condition types are true. -func (c ConditionSet) IsTrue(conditionTypes ...string) bool { - for _, conditionType := range conditionTypes { - if !c.Get(conditionType).IsTrue() { - return false - } - } - return true -} - -func (c ConditionSet) IsDependentCondition(t string) bool { - return t == c.root || lo.Contains(c.dependents, t) -} - -// Set sets or updates the Condition on Conditions for Condition.Type. -// If there is an update, Conditions are stored back sorted. -func (c ConditionSet) Set(condition Condition) (modified bool) { - var conditions []Condition - var foundCondition bool - - condition.ObservedGeneration = c.object.GetGeneration() - for _, cond := range c.object.GetConditions() { - if cond.Type != condition.Type { - // If we are deleting, we just bump all the observed generations - if !c.object.GetDeletionTimestamp().IsZero() { - cond.ObservedGeneration = c.object.GetGeneration() - } - conditions = append(conditions, cond) - } else { - foundCondition = true - if condition.Status == cond.Status { - condition.LastTransitionTime = cond.LastTransitionTime - } else { - condition.LastTransitionTime = metav1.Now() - } - if reflect.DeepEqual(condition, cond) { - return false - } - } - } - if !foundCondition { - // Dependent conditions should always be set, so if it's not found, that means - // that we are initializing the condition type, and it's last "transition" was object creation - if c.IsDependentCondition(condition.Type) { - condition.LastTransitionTime = c.object.GetCreationTimestamp() - } else { - condition.LastTransitionTime = metav1.Now() - } - } - conditions = append(conditions, condition) - // Sorted for convenience of the consumer, i.e. kubectl. - sort.SliceStable(conditions, func(i, j int) bool { - // Order the root status condition at the end - if conditions[i].Type == c.root || conditions[j].Type == c.root { - return conditions[j].Type == c.root - } - return conditions[i].LastTransitionTime.Time.Before(conditions[j].LastTransitionTime.Time) - }) - c.object.SetConditions(conditions) - - // Recompute the root condition after setting any other condition - c.recomputeRootCondition(condition.Type) - return true -} - -// Clear removes the independent condition that matches the ConditionType -// Not implemented for dependent conditions -func (c ConditionSet) Clear(t string) error { - var conditions []Condition - - if c.object == nil { - return nil - } - // Dependent conditions are not handled as they can't be nil - if c.IsDependentCondition(t) { - return fmt.Errorf("clearing dependent conditions not implemented") - } - cond := c.Get(t) - if cond == nil { - return nil - } - for _, c := range c.object.GetConditions() { - if c.Type != t { - conditions = append(conditions, c) - } - } - - // Sorted for convenience of the consumer, i.e. kubectl. - sort.Slice(conditions, func(i, j int) bool { return conditions[i].Type < conditions[j].Type }) - c.object.SetConditions(conditions) - - return nil -} - -// SetTrue sets the status of conditionType to true with the reason, and then marks the root condition to -// true if all other dependents are also true. -func (c ConditionSet) SetTrue(conditionType string) (modified bool) { - return c.SetTrueWithReason(conditionType, conditionType, "") -} - -// SetTrueWithReason sets the status of conditionType to true with the reason, and then marks the root condition to -// true if all other dependents are also true. -func (c ConditionSet) SetTrueWithReason(conditionType string, reason, message string) (modified bool) { - return c.Set(Condition{ - Type: conditionType, - Status: metav1.ConditionTrue, - Reason: reason, - Message: message, - }) -} - -// SetUnknown sets the status of conditionType to Unknown and also sets the root condition -// to Unknown if no other dependent condition is in an error state. -func (c ConditionSet) SetUnknown(conditionType string) (modified bool) { - return c.SetUnknownWithReason(conditionType, "AwaitingReconciliation", "object is awaiting reconciliation") -} - -// SetUnknownWithReason sets the status of conditionType to Unknown with the reason, and also sets the root condition -// to Unknown if no other dependent condition is in an error state. -func (c ConditionSet) SetUnknownWithReason(conditionType string, reason, message string) (modified bool) { - return c.Set(Condition{ - Type: conditionType, - Status: metav1.ConditionUnknown, - Reason: reason, - Message: message, - }) -} - -// SetFalse sets the status of conditionType and the root condition to False. -func (c ConditionSet) SetFalse(conditionType string, reason, message string) (modified bool) { - return c.Set(Condition{ - Type: conditionType, - Status: metav1.ConditionFalse, - Reason: reason, - Message: message, - }) -} - -// recomputeRootCondition marks the root condition to true if all other dependents are also true. -func (c ConditionSet) recomputeRootCondition(conditionType string) { - if conditionType == c.root { - return - } - if conditions := c.findUnhealthyDependents(); len(conditions) == 0 { - c.SetTrue(c.root) - } else { - // The root condition is no longer unknown as soon as any dependent condition goes false with the latest observedGeneration - status := lo.Ternary( - lo.ContainsBy(conditions, func(condition Condition) bool { - return condition.IsFalse() && - condition.ObservedGeneration == c.object.GetGeneration() - }), - metav1.ConditionFalse, - metav1.ConditionUnknown, - ) - c.Set(Condition{ - Type: c.root, - Status: status, - Reason: lo.Ternary( - status == metav1.ConditionUnknown, - "ReconcilingDependents", - "UnhealthyDependents", - ), - Message: strings.Join(lo.Map(conditions, func(condition Condition, _ int) string { - return fmt.Sprintf("%s=%s", condition.Type, condition.Status) - }), ", "), - }) - } -} - -func (c ConditionSet) findUnhealthyDependents() []Condition { - if len(c.dependents) == 0 { - return nil - } - // Get dependent conditions - conditions := c.object.GetConditions() - conditions = lo.Filter(conditions, func(condition Condition, _ int) bool { - return lo.Contains(c.dependents, condition.Type) - }) - conditions = lo.Filter(conditions, func(condition Condition, _ int) bool { - return condition.IsFalse() || condition.IsUnknown() || condition.ObservedGeneration != c.object.GetGeneration() - }) - - // Sort set conditions by time. - sort.Slice(conditions, func(i, j int) bool { - return conditions[i].LastTransitionTime.After(conditions[j].LastTransitionTime.Time) - }) - return conditions -} diff --git a/api/vendor/github.com/awslabs/operatorpkg/status/controller.go b/api/vendor/github.com/awslabs/operatorpkg/status/controller.go deleted file mode 100644 index 853a0e668433..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/status/controller.go +++ /dev/null @@ -1,395 +0,0 @@ -package status - -import ( - "context" - "fmt" - "maps" - "reflect" - "strings" - "sync" - "time" - - opunstructured "github.com/awslabs/operatorpkg/unstructured" - "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" - - pmetrics "github.com/awslabs/operatorpkg/metrics" - "github.com/awslabs/operatorpkg/object" - "github.com/awslabs/operatorpkg/option" - "github.com/samber/lo" - v1 "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/api/errors" - "k8s.io/client-go/tools/record" - controllerruntime "sigs.k8s.io/controller-runtime" - "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/controller" - "sigs.k8s.io/controller-runtime/pkg/manager" - "sigs.k8s.io/controller-runtime/pkg/reconcile" -) - -type Controller[T Object] struct { - gvk schema.GroupVersionKind - additionalMetricLabels []string - additionalGaugeMetricLabels []string - additionalMetricFields map[string]string - additionalGaugeMetricFields map[string]string - kubeClient client.Client - eventRecorder record.EventRecorder - observedConditions sync.Map // map[reconcile.Request]ConditionSet - observedGaugeLabels sync.Map // map[reconcile.Request]map[string]string - observedFinalizers sync.Map // map[reconcile.Request]Finalizer - terminatingObjects sync.Map // map[reconcile.Request]Object - emitDeprecatedMetrics bool - maxConcurrentReconciles int - ConditionDuration pmetrics.ObservationMetric - ConditionCount pmetrics.GaugeMetric - ConditionCurrentStatusSeconds pmetrics.GaugeMetric - ConditionTransitionsTotal pmetrics.CounterMetric - TerminationCurrentTimeSeconds pmetrics.GaugeMetric - TerminationDuration pmetrics.ObservationMetric -} - -type Option struct { - // Current list of deprecated metrics - // - operator_status_condition_transitions_total - // - operator_status_condition_transition_seconds - // - operator_status_condition_current_status_seconds - // - operator_status_condition_count - // - operator_termination_current_time_seconds - // - operator_termination_duration_seconds - EmitDeprecatedMetrics bool - MetricLabels []string - GaugeMetricLabels []string - MetricFields map[string]string - GaugeMetricFields map[string]string - HistogramBuckets []float64 - MaxConcurrentReconciles int -} - -func EmitDeprecatedMetrics(o *Option) { - o.EmitDeprecatedMetrics = true -} - -func WithLabels(labels ...string) func(*Option) { - return func(o *Option) { - o.MetricLabels = append(o.MetricLabels, labels...) - } -} - -func WithGaugeLabels(labels ...string) func(*Option) { - return func(o *Option) { - o.GaugeMetricLabels = append(o.GaugeMetricLabels, labels...) - } -} - -func WithFields(fields map[string]string) func(*Option) { - return func(o *Option) { - o.MetricFields = lo.Assign(o.MetricFields, fields) - } -} - -func WithGaugeFields(fields map[string]string) func(*Option) { - return func(o *Option) { - o.GaugeMetricFields = lo.Assign(o.GaugeMetricFields, fields) - } -} - -func WithHistogramBuckets(buckets []float64) func(*Option) { - return func(o *Option) { - o.HistogramBuckets = buckets - } -} - -func WitMaxConcurrentReconciles(m int) func(*Option) { - return func(o *Option) { - o.MaxConcurrentReconciles = m - } -} - -func NewController[T Object](client client.Client, eventRecorder record.EventRecorder, opts ...option.Function[Option]) *Controller[T] { - options := option.Resolve(opts...) - obj := reflect.New(reflect.TypeOf(*new(T)).Elem()).Interface().(runtime.Object) - obj.GetObjectKind().SetGroupVersionKind(obj.GetObjectKind().GroupVersionKind()) - gvk := object.GVK(obj) - - return &Controller[T]{ - gvk: gvk, - additionalMetricLabels: options.MetricLabels, - additionalGaugeMetricLabels: options.GaugeMetricLabels, - additionalMetricFields: options.MetricFields, - additionalGaugeMetricFields: options.GaugeMetricFields, - kubeClient: client, - eventRecorder: eventRecorder, - emitDeprecatedMetrics: options.EmitDeprecatedMetrics, - maxConcurrentReconciles: lo.Ternary(options.MaxConcurrentReconciles <= 0, 10, options.MaxConcurrentReconciles), - ConditionDuration: conditionDurationMetric(strings.ToLower(gvk.Kind), options.HistogramBuckets, lo.Map( - append(options.MetricLabels, lo.Keys(options.MetricFields)...), - func(k string, _ int) string { return toPrometheusLabel(k) })...), - ConditionCount: conditionCountMetric(strings.ToLower(gvk.Kind), lo.Map( - append( - append(lo.Keys(options.MetricFields), lo.Keys(options.GaugeMetricFields)...), - append(options.MetricLabels, options.GaugeMetricLabels...)..., - ), func(k string, _ int) string { return toPrometheusLabel(k) })...), - ConditionCurrentStatusSeconds: conditionCurrentStatusSecondsMetric(strings.ToLower(gvk.Kind), lo.Map( - append( - append(lo.Keys(options.MetricFields), lo.Keys(options.GaugeMetricFields)...), - append(options.MetricLabels, options.GaugeMetricLabels...)..., - ), func(k string, _ int) string { return toPrometheusLabel(k) })...), - ConditionTransitionsTotal: conditionTransitionsTotalMetric(strings.ToLower(gvk.Kind), lo.Map( - append(options.MetricLabels, lo.Keys(options.MetricFields)...), - func(k string, _ int) string { return toPrometheusLabel(k) })...), - TerminationCurrentTimeSeconds: terminationCurrentTimeSecondsMetric(strings.ToLower(gvk.Kind), lo.Map( - append( - append(lo.Keys(options.MetricFields), lo.Keys(options.GaugeMetricFields)...), - append(options.MetricLabels, options.GaugeMetricLabels...)..., - ), func(k string, _ int) string { return toPrometheusLabel(k) })...), - TerminationDuration: terminationDurationMetric(strings.ToLower(gvk.Kind), options.HistogramBuckets, lo.Map( - append(options.MetricLabels, lo.Keys(options.MetricFields)...), - func(k string, _ int) string { return toPrometheusLabel(k) })...), - } -} - -func (c *Controller[T]) Register(_ context.Context, m manager.Manager) error { - return controllerruntime.NewControllerManagedBy(m). - For(object.New[T]()). - WithOptions(controller.Options{MaxConcurrentReconciles: c.maxConcurrentReconciles}). - Named(fmt.Sprintf("operatorpkg.%s.status", strings.ToLower(c.gvk.Kind))). - Complete(c) -} - -func (c *Controller[T]) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error) { - return c.reconcile(ctx, req, object.New[T]()) -} - -type GenericObjectController[T client.Object] struct { - *Controller[*UnstructuredAdapter[T]] -} - -func NewGenericObjectController[T client.Object](client client.Client, eventRecorder record.EventRecorder, opts ...option.Function[Option]) *GenericObjectController[T] { - return &GenericObjectController[T]{ - Controller: NewController[*UnstructuredAdapter[T]](client, eventRecorder, opts...), - } -} - -func (c *GenericObjectController[T]) Register(_ context.Context, m manager.Manager) error { - return controllerruntime.NewControllerManagedBy(m). - For(object.New[T]()). - WithOptions(controller.Options{MaxConcurrentReconciles: c.maxConcurrentReconciles}). - Named(fmt.Sprintf("operatorpkg.%s.status", strings.ToLower(reflect.TypeOf(object.New[T]()).Elem().Name()))). - Complete(c) -} - -func (c *GenericObjectController[T]) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error) { - return c.reconcile(ctx, req, NewUnstructuredAdapter[T](object.New[T]())) -} - -func (c *Controller[T]) toAdditionalMetricLabels(obj Object) map[string]string { - u := opunstructured.ToPartialUnstructured(obj, lo.Values(c.additionalMetricFields)...) - return lo.Assign( - lo.MapEntries(c.additionalMetricFields, func(k string, v string) (string, string) { - elem, _, _ := unstructured.NestedString(u, lo.Filter(strings.Split(v, "."), func(s string, _ int) bool { return s != "" })...) - return toPrometheusLabel(k), elem - }), - lo.SliceToMap(c.additionalMetricLabels, func(label string) (string, string) { return toPrometheusLabel(label), obj.GetLabels()[label] }), - ) -} - -func (c *Controller[T]) toAdditionalGaugeMetricLabels(obj Object) map[string]string { - u := opunstructured.ToPartialUnstructured(obj, lo.Values(c.additionalGaugeMetricFields)...) - return lo.Assign( - lo.MapEntries(c.additionalGaugeMetricFields, func(k string, v string) (string, string) { - elem, _, _ := unstructured.NestedString(u, lo.Filter(strings.Split(v, "."), func(s string, _ int) bool { return s != "" })...) - return toPrometheusLabel(k), elem - }), - c.toAdditionalMetricLabels(obj), lo.SliceToMap(c.additionalGaugeMetricLabels, func(label string) (string, string) { return toPrometheusLabel(label), obj.GetLabels()[label] }), - ) -} - -func toPrometheusLabel(k string) string { - unsupportedChars := []string{"/", ".", "-"} - for _, char := range unsupportedChars { - k = strings.ReplaceAll(k, char, "_") - } - return k -} - -func (c *Controller[T]) reconcile(ctx context.Context, req reconcile.Request, o Object) (reconcile.Result, error) { - if err := c.kubeClient.Get(ctx, req.NamespacedName, o); err != nil { - if errors.IsNotFound(err) { - c.observedConditions.Delete(req) - c.observedGaugeLabels.Delete(req) - c.deletePartialMatchGaugeMetric(c.ConditionCount, ConditionCount, map[string]string{ - MetricLabelNamespace: req.Namespace, - MetricLabelName: req.Name, - }) - c.deletePartialMatchGaugeMetric(c.ConditionCurrentStatusSeconds, ConditionCurrentStatusSeconds, map[string]string{ - MetricLabelNamespace: req.Namespace, - MetricLabelName: req.Name, - }) - c.deletePartialMatchGaugeMetric(c.TerminationCurrentTimeSeconds, TerminationCurrentTimeSeconds, map[string]string{ - MetricLabelNamespace: req.Namespace, - MetricLabelName: req.Name, - }) - if obj, ok := c.terminatingObjects.LoadAndDelete(req); ok { - c.observeHistogram(c.TerminationDuration, TerminationDuration, time.Since(obj.(Object).GetDeletionTimestamp().Time).Seconds(), map[string]string{}, c.toAdditionalMetricLabels(obj.(Object))) - } - if finalizers, ok := c.observedFinalizers.LoadAndDelete(req); ok { - for _, finalizer := range finalizers.([]string) { - c.eventRecorder.Event(o, v1.EventTypeNormal, "Finalized", fmt.Sprintf("Finalized %s", finalizer)) - } - } - return reconcile.Result{}, nil - } - return reconcile.Result{}, fmt.Errorf("getting object, %w", err) - } - - // Detect and record terminations - observedFinalizers, _ := c.observedFinalizers.Swap(req, o.GetFinalizers()) - if observedFinalizers != nil { - for _, finalizer := range lo.Without(observedFinalizers.([]string), o.GetFinalizers()...) { - c.eventRecorder.Event(o, v1.EventTypeNormal, "Finalized", fmt.Sprintf("Finalized %s", finalizer)) - } - } - - if o.GetDeletionTimestamp() != nil { - c.setGaugeMetric(c.TerminationCurrentTimeSeconds, TerminationCurrentTimeSeconds, time.Since(o.GetDeletionTimestamp().Time).Seconds(), map[string]string{ - MetricLabelNamespace: req.Namespace, - MetricLabelName: req.Name, - }, c.toAdditionalGaugeMetricLabels(o)) - c.terminatingObjects.Store(req, o) - } - - // Detect and record condition counts - currentConditions := o.StatusConditions() - observedConditions := ConditionSet{} - if v, ok := c.observedConditions.Load(req); ok { - observedConditions = v.(ConditionSet) - } - observedGaugeLabels := map[string]string{} - if v, ok := c.observedGaugeLabels.Load(req); ok { - observedGaugeLabels = v.(map[string]string) - } - c.observedConditions.Store(req, currentConditions) - c.observedGaugeLabels.Store(req, c.toAdditionalGaugeMetricLabels(o)) - - for _, condition := range o.GetConditions() { - c.setGaugeMetric(c.ConditionCount, ConditionCount, 1, map[string]string{ - MetricLabelNamespace: req.Namespace, - MetricLabelName: req.Name, - pmetrics.LabelType: condition.Type, - MetricLabelConditionStatus: string(condition.Status), - pmetrics.LabelReason: condition.Reason, - }, c.toAdditionalGaugeMetricLabels(o)) - c.setGaugeMetric(c.ConditionCurrentStatusSeconds, ConditionCurrentStatusSeconds, time.Since(condition.LastTransitionTime.Time).Seconds(), map[string]string{ - MetricLabelNamespace: req.Namespace, - MetricLabelName: req.Name, - pmetrics.LabelType: condition.Type, - MetricLabelConditionStatus: string(condition.Status), - pmetrics.LabelReason: condition.Reason, - }, c.toAdditionalGaugeMetricLabels(o)) - } - - for _, observedCondition := range observedConditions.List() { - if currentCondition := currentConditions.Get(observedCondition.Type); currentCondition == nil || currentCondition.Status != observedCondition.Status || currentCondition.Reason != observedCondition.Reason || !maps.Equal(c.toAdditionalGaugeMetricLabels(o), observedGaugeLabels) { - // We want to check if the additional labels on the object has changed, and if so, delete the metrics with the old labels. - // Because we add the additional labels to the deletePartialMatchGaugeMetric() call based on if they have changed, it will not delete - // the deprecated metrics when the additional labels change but only when there is a change in the condition status because - // deprecated metrics to do not have the additional labels. - c.deletePartialMatchGaugeMetric(c.ConditionCount, ConditionCount, lo.Assign(map[string]string{ - MetricLabelNamespace: req.Namespace, - MetricLabelName: req.Name, - pmetrics.LabelType: observedCondition.Type, - MetricLabelConditionStatus: string(observedCondition.Status), - pmetrics.LabelReason: observedCondition.Reason, - }, lo.Ternary(!maps.Equal(c.toAdditionalGaugeMetricLabels(o), observedGaugeLabels), observedGaugeLabels, nil))) - c.deletePartialMatchGaugeMetric(c.ConditionCurrentStatusSeconds, ConditionCurrentStatusSeconds, lo.Assign(map[string]string{ - MetricLabelNamespace: req.Namespace, - MetricLabelName: req.Name, - pmetrics.LabelType: observedCondition.Type, - MetricLabelConditionStatus: string(observedCondition.Status), - pmetrics.LabelReason: observedCondition.Reason, - }, lo.Ternary(!maps.Equal(c.toAdditionalGaugeMetricLabels(o), observedGaugeLabels), observedGaugeLabels, nil))) - } - } - - // Detect and record status transitions. This approach is best effort, - // since we may batch multiple writes within a single reconcile loop. - // It's exceedingly difficult to atomically track all changes to an - // object, since the Kubernetes is evenutally consistent by design. - // Despite this, we can catch the majority of transition by remembering - // what we saw last, and reporting observed changes. - // - // We rejected the alternative of tracking these changes within the - // condition library itself, since you cannot guarantee that a - // transition made in memory was successfully persisted. - // - // Automatic monitoring systems must assume that these observations are - // lossy, specifically for when a condition transition rapidly. However, - // for the common case, we want to alert when a transition took a long - // time, and our likelyhood of observing this is much higher. - for _, condition := range currentConditions.List() { - observedCondition := observedConditions.Get(condition.Type) - if observedCondition.GetStatus() == condition.GetStatus() { - continue - } - // A condition transitions if it either didn't exist before or it has changed - c.incCounterMetric(c.ConditionTransitionsTotal, ConditionTransitionsTotal, map[string]string{ - pmetrics.LabelType: condition.Type, - MetricLabelConditionStatus: string(condition.Status), - pmetrics.LabelReason: condition.Reason, - }, c.toAdditionalMetricLabels(o)) - if observedCondition == nil { - continue - } - duration := condition.LastTransitionTime.Time.Sub(observedCondition.LastTransitionTime.Time).Seconds() - c.observeHistogram(c.ConditionDuration, ConditionDuration, duration, map[string]string{ - pmetrics.LabelType: observedCondition.Type, - MetricLabelConditionStatus: string(observedCondition.Status), - }, c.toAdditionalMetricLabels(o)) - c.eventRecorder.Event(o, v1.EventTypeNormal, condition.Type, fmt.Sprintf("Status condition transitioned, Type: %s, Status: %s -> %s, Reason: %s%s", - condition.Type, - observedCondition.Status, - condition.Status, - condition.Reason, - lo.Ternary(condition.Message != "", fmt.Sprintf(", Message: %s", condition.Message), ""), - )) - } - return reconcile.Result{RequeueAfter: time.Second * 10}, nil -} - -func (c *Controller[T]) incCounterMetric(current pmetrics.CounterMetric, deprecated pmetrics.CounterMetric, labels, additionalLabels map[string]string) { - current.Inc(lo.Assign(labels, additionalLabels)) - if c.emitDeprecatedMetrics { - labels[pmetrics.LabelKind] = c.gvk.Kind - labels[pmetrics.LabelGroup] = c.gvk.Group - deprecated.Inc(labels) - } -} - -func (c *Controller[T]) setGaugeMetric(current pmetrics.GaugeMetric, deprecated pmetrics.GaugeMetric, value float64, labels, additionalLabels map[string]string) { - current.Set(value, lo.Assign(labels, additionalLabels)) - if c.emitDeprecatedMetrics { - labels[pmetrics.LabelKind] = c.gvk.Kind - labels[pmetrics.LabelGroup] = c.gvk.Group - deprecated.Set(value, labels) - } -} - -func (c *Controller[T]) deletePartialMatchGaugeMetric(current pmetrics.GaugeMetric, deprecated pmetrics.GaugeMetric, labels map[string]string) { - current.DeletePartialMatch(labels) - if c.emitDeprecatedMetrics { - labels[pmetrics.LabelKind] = c.gvk.Kind - labels[pmetrics.LabelGroup] = c.gvk.Group - deprecated.DeletePartialMatch(labels) - } -} - -func (c *Controller[T]) observeHistogram(current pmetrics.ObservationMetric, deprecated pmetrics.ObservationMetric, value float64, labels, additionalLabels map[string]string) { - current.Observe(value, lo.Assign(labels, additionalLabels)) - if c.emitDeprecatedMetrics { - labels[pmetrics.LabelKind] = c.gvk.Kind - labels[pmetrics.LabelGroup] = c.gvk.Group - deprecated.Observe(value, labels) - } -} diff --git a/api/vendor/github.com/awslabs/operatorpkg/status/doc.go b/api/vendor/github.com/awslabs/operatorpkg/status/doc.go deleted file mode 100644 index ae9feac9e07b..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/status/doc.go +++ /dev/null @@ -1,3 +0,0 @@ -// +k8s:deepcopy-gen=package,register -// +kubebuilder:object:generate=false -package status // doc.go is discovered by codegen diff --git a/api/vendor/github.com/awslabs/operatorpkg/status/metrics.go b/api/vendor/github.com/awslabs/operatorpkg/status/metrics.go deleted file mode 100644 index a0d5881bce42..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/status/metrics.go +++ /dev/null @@ -1,156 +0,0 @@ -package status - -import ( - "fmt" - - pmetrics "github.com/awslabs/operatorpkg/metrics" - "github.com/prometheus/client_golang/prometheus" - "github.com/samber/lo" - "sigs.k8s.io/controller-runtime/pkg/metrics" -) - -const ( - MetricLabelNamespace = "namespace" - MetricLabelName = "name" - MetricLabelConditionStatus = "status" -) - -const ( - MetricSubsystem = "status_condition" - TerminationSubsystem = "termination" -) - -// Cardinality is limited to # objects * # conditions * # objectives -var ConditionDuration = conditionDurationMetric("", nil, pmetrics.LabelGroup, pmetrics.LabelKind) - -func conditionDurationMetric(objectName string, buckets []float64, additionalLabels ...string) pmetrics.ObservationMetric { - subsystem := lo.Ternary(len(objectName) == 0, MetricSubsystem, fmt.Sprintf("%s_%s", objectName, MetricSubsystem)) - buckets = lo.Ternary(len(buckets) == 0, prometheus.DefBuckets, buckets) - - return pmetrics.NewPrometheusHistogram( - metrics.Registry, - prometheus.HistogramOpts{ - Namespace: pmetrics.Namespace, - Subsystem: subsystem, - Name: "transition_seconds", - Help: "The amount of time a condition was in a given state before transitioning. e.g. Alarm := P99(Updated=False) > 5 minutes", - Buckets: buckets, - }, - append([]string{ - pmetrics.LabelType, - MetricLabelConditionStatus, - }, additionalLabels...), - ) -} - -// Cardinality is limited to # objects * # conditions -var ConditionCount = conditionCountMetric("", pmetrics.LabelGroup, pmetrics.LabelKind) - -func conditionCountMetric(objectName string, additionalLabels ...string) pmetrics.GaugeMetric { - subsystem := lo.Ternary(len(objectName) == 0, MetricSubsystem, fmt.Sprintf("%s_%s", objectName, MetricSubsystem)) - - return pmetrics.NewPrometheusGauge( - metrics.Registry, - prometheus.GaugeOpts{ - Namespace: pmetrics.Namespace, - Subsystem: subsystem, - Name: "count", - Help: "The number of a condition for a given object, type and status. e.g. Alarm := Available=False > 0", - }, - append([]string{ - MetricLabelNamespace, - MetricLabelName, - pmetrics.LabelType, - MetricLabelConditionStatus, - pmetrics.LabelReason, - }, additionalLabels...), - ) -} - -// Cardinality is limited to # objects * # conditions -// NOTE: This metric is based on a requeue so it won't show the current status seconds with extremely high accuracy. -// This metric is useful for aggregations. If you need a high accuracy metric, use operator_status_condition_last_transition_time_seconds -var ConditionCurrentStatusSeconds = conditionCurrentStatusSecondsMetric("", pmetrics.LabelGroup, pmetrics.LabelKind) - -func conditionCurrentStatusSecondsMetric(objectName string, additionalLabels ...string) pmetrics.GaugeMetric { - subsystem := lo.Ternary(len(objectName) == 0, MetricSubsystem, fmt.Sprintf("%s_%s", objectName, MetricSubsystem)) - - return pmetrics.NewPrometheusGauge( - metrics.Registry, - prometheus.GaugeOpts{ - Namespace: pmetrics.Namespace, - Subsystem: subsystem, - Name: "current_status_seconds", - Help: "The current amount of time in seconds that a status condition has been in a specific state. Alarm := P99(Updated=Unknown) > 5 minutes", - }, - append([]string{ - MetricLabelNamespace, - MetricLabelName, - pmetrics.LabelType, - MetricLabelConditionStatus, - pmetrics.LabelReason, - }, additionalLabels...), - ) -} - -// Cardinality is limited to # objects * # conditions -var ConditionTransitionsTotal = conditionTransitionsTotalMetric("", pmetrics.LabelGroup, pmetrics.LabelKind) - -func conditionTransitionsTotalMetric(objectName string, additionalLabels ...string) pmetrics.CounterMetric { - subsystem := lo.Ternary(len(objectName) == 0, MetricSubsystem, fmt.Sprintf("%s_%s", objectName, MetricSubsystem)) - - return pmetrics.NewPrometheusCounter( - metrics.Registry, - prometheus.CounterOpts{ - Namespace: pmetrics.Namespace, - Subsystem: subsystem, - Name: "transitions_total", - Help: "The count of transitions of a given object, type and status.", - }, - append([]string{ - pmetrics.LabelType, - MetricLabelConditionStatus, - pmetrics.LabelReason, - }, additionalLabels...), - ) - -} - -var TerminationCurrentTimeSeconds = terminationCurrentTimeSecondsMetric("", pmetrics.LabelGroup, pmetrics.LabelKind) - -func terminationCurrentTimeSecondsMetric(objectName string, additionalLabels ...string) pmetrics.GaugeMetric { - subsystem := lo.Ternary(len(objectName) == 0, TerminationSubsystem, fmt.Sprintf("%s_%s", objectName, TerminationSubsystem)) - - return pmetrics.NewPrometheusGauge( - metrics.Registry, - prometheus.GaugeOpts{ - Namespace: pmetrics.Namespace, - Subsystem: subsystem, - Name: "current_time_seconds", - Help: "The current amount of time in seconds that an object has been in terminating state.", - }, - append([]string{ - MetricLabelNamespace, - MetricLabelName, - }, additionalLabels...), - ) -} - -var TerminationDuration = terminationDurationMetric("", nil, pmetrics.LabelGroup, pmetrics.LabelKind) - -func terminationDurationMetric(objectName string, buckets []float64, additionalLabels ...string) pmetrics.ObservationMetric { - subsystem := lo.Ternary(len(objectName) == 0, TerminationSubsystem, fmt.Sprintf("%s_%s", objectName, TerminationSubsystem)) - buckets = lo.Ternary(len(buckets) == 0, prometheus.DefBuckets, buckets) - - return pmetrics.NewPrometheusHistogram( - metrics.Registry, - prometheus.HistogramOpts{ - Namespace: pmetrics.Namespace, - Subsystem: subsystem, - Name: "duration_seconds", - Help: "The amount of time taken by an object to terminate completely.", - Buckets: buckets, - }, - additionalLabels, - ) -} diff --git a/api/vendor/github.com/awslabs/operatorpkg/status/unstructured_adapter.go b/api/vendor/github.com/awslabs/operatorpkg/status/unstructured_adapter.go deleted file mode 100644 index c5a780c50876..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/status/unstructured_adapter.go +++ /dev/null @@ -1,91 +0,0 @@ -package status - -import ( - "time" - - "github.com/awslabs/operatorpkg/object" - opunstructured "github.com/awslabs/operatorpkg/unstructured" - "github.com/samber/lo" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" - "k8s.io/apimachinery/pkg/runtime/schema" - "sigs.k8s.io/controller-runtime/pkg/client" -) - -// UnstructuredAdapter is an adapter for the status.Object interface. unstructuredAdapter -// makes the assumption that status conditions are found on status.conditions path. -type UnstructuredAdapter[T client.Object] struct { - unstructured.Unstructured -} - -func NewUnstructuredAdapter[T client.Object](obj client.Object) *UnstructuredAdapter[T] { - u := unstructured.Unstructured{Object: opunstructured.ToPartialUnstructured(obj, ".status.conditions")} - ua := &UnstructuredAdapter[T]{Unstructured: u} - ua.SetGroupVersionKind(object.GVK(obj)) - return ua -} - -func (u *UnstructuredAdapter[T]) GetObjectKind() schema.ObjectKind { - return u -} -func (u *UnstructuredAdapter[T]) SetGroupVersionKind(gvk schema.GroupVersionKind) { - u.Unstructured.SetGroupVersionKind(gvk) -} -func (u *UnstructuredAdapter[T]) GroupVersionKind() schema.GroupVersionKind { - return object.GVK(object.New[T]()) -} - -func (u *UnstructuredAdapter[T]) GetConditions() []Condition { - conditions, _, _ := unstructured.NestedFieldNoCopy(u.Object, "status", "conditions") - if conditions == nil { - return nil - } - return lo.Map(conditions.([]interface{}), func(condition interface{}, _ int) Condition { - var newCondition Condition - cond := condition.(map[string]interface{}) - newCondition.Type, _, _ = unstructured.NestedString(cond, "type") - newCondition.Reason, _, _ = unstructured.NestedString(cond, "reason") - status, _, _ := unstructured.NestedString(cond, "status") - if status != "" { - newCondition.Status = metav1.ConditionStatus(status) - } - newCondition.Message, _, _ = unstructured.NestedString(cond, "message") - transitionTime, _, _ := unstructured.NestedString(cond, "lastTransitionTime") - if transitionTime != "" { - newCondition.LastTransitionTime = metav1.Time{Time: lo.Must(time.Parse(time.RFC3339, transitionTime))} - } - newCondition.ObservedGeneration, _, _ = unstructured.NestedInt64(cond, "observedGeneration") - return newCondition - }) -} -func (u *UnstructuredAdapter[T]) SetConditions(conditions []Condition) { - unstructured.SetNestedSlice(u.Object, lo.Map(conditions, func(condition Condition, _ int) interface{} { - b := map[string]interface{}{} - if condition.Type != "" { - b["type"] = condition.Type - } - if condition.Reason != "" { - b["reason"] = condition.Reason - } - if condition.Status != "" { - b["status"] = string(condition.Status) - } - if condition.Message != "" { - b["message"] = condition.Message - } - if !condition.LastTransitionTime.IsZero() { - b["lastTransitionTime"] = condition.LastTransitionTime.Format(time.RFC3339) - } - if condition.ObservedGeneration != 0 { - b["observedGeneration"] = condition.ObservedGeneration - } - return b - }), "status", "conditions") -} - -func (u *UnstructuredAdapter[T]) StatusConditions() ConditionSet { - conditionTypes := lo.Map(u.GetConditions(), func(condition Condition, _ int) string { - return condition.Type - }) - return NewReadyConditions(conditionTypes...).For(u) -} diff --git a/api/vendor/github.com/awslabs/operatorpkg/status/zz_generated.deepcopy.go b/api/vendor/github.com/awslabs/operatorpkg/status/zz_generated.deepcopy.go deleted file mode 100644 index 84fcea339fcb..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/status/zz_generated.deepcopy.go +++ /dev/null @@ -1,24 +0,0 @@ -//go:build !ignore_autogenerated -// +build !ignore_autogenerated - -// Code generated by controller-gen. DO NOT EDIT. - -package status - -import () - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Condition) DeepCopyInto(out *Condition) { - *out = *in - in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition. -func (in *Condition) DeepCopy() *Condition { - if in == nil { - return nil - } - out := new(Condition) - in.DeepCopyInto(out) - return out -} diff --git a/api/vendor/github.com/awslabs/operatorpkg/unstructured/unstructured.go b/api/vendor/github.com/awslabs/operatorpkg/unstructured/unstructured.go deleted file mode 100644 index 132497d90e6b..000000000000 --- a/api/vendor/github.com/awslabs/operatorpkg/unstructured/unstructured.go +++ /dev/null @@ -1,95 +0,0 @@ -package unstructured - -import ( - "fmt" - "reflect" - "strings" - - "github.com/samber/lo" - "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" -) - -// ToPartialUnstructured converts an object to unstructured, but only converts specific field paths -// This is more memory efficient than using runtime.DefaultUnstructuredConverter since that requires the full -// object to be converted and stored before extracting specific values from that object -func ToPartialUnstructured(obj interface{}, fieldPaths ...string) map[string]interface{} { - if u, ok := obj.(unstructured.Unstructured); ok { - obj = u.UnstructuredContent() - } - if u, ok := obj.(*unstructured.Unstructured); ok { - obj = u.UnstructuredContent() - } - - result := make(map[string]interface{}) - for _, fieldPath := range fieldPaths { - _ = extractNestedField(obj, result, lo.Filter(strings.Split(fieldPath, "."), func(s string, _ int) bool { return s != "" })...) - } - return result -} - -// extractNestedField extracts a field using a path and populates the result map accordingly -func extractNestedField(obj interface{}, result map[string]interface{}, field ...string) error { - v := reflect.ValueOf(obj) - if v.Kind() == reflect.Ptr { - v = v.Elem() - } - var val reflect.Value - switch v.Kind() { - case reflect.Struct: - for i := range v.Type().NumField() { - f := v.Type().Field(i) - tag := getJSONKey(f) - if f.Name == field[0] || tag == field[0] { - val = v.Field(i) - break - } - } - case reflect.Map: - for _, key := range v.MapKeys() { - if key.String() == field[0] { - val = v.MapIndex(key) - break - } - } - default: - } - if !val.IsValid() { - return fmt.Errorf("field %q not found in %T", field[0], obj) - } - if len(field) == 1 { - // Final field — assign directly - result[field[0]] = val.Interface() - return nil - } - // Intermediate map — recurse - childMap := map[string]interface{}{} - err := extractNestedField(val.Interface(), childMap, field[1:]...) - if err != nil { - return err - } - // Merge into parent map - if _, ok := result[field[0]]; !ok { - result[field[0]] = map[string]interface{}{} - } - for k, v := range childMap { - m, ok := result[field[0]].(map[string]interface{}) - // In general, this should never happen because we have a check higher up in the function for field existence - if !ok { - panic(fmt.Sprintf("full field path %q not found in %T", field, obj)) - } - m[k] = v - } - return nil -} - -// getJSONKey returns the JSON key from a struct tag -func getJSONKey(field reflect.StructField) string { - tag := field.Tag.Get("json") - if tag == "" { - return field.Name - } - if commaIdx := strings.Index(tag, ","); commaIdx != -1 { - return tag[:commaIdx] - } - return tag -} diff --git a/api/vendor/github.com/beorn7/perks/LICENSE b/api/vendor/github.com/beorn7/perks/LICENSE deleted file mode 100644 index 339177be6636..000000000000 --- a/api/vendor/github.com/beorn7/perks/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (C) 2013 Blake Mizerany - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/api/vendor/github.com/beorn7/perks/quantile/exampledata.txt b/api/vendor/github.com/beorn7/perks/quantile/exampledata.txt deleted file mode 100644 index 1602287d7ce5..000000000000 --- a/api/vendor/github.com/beorn7/perks/quantile/exampledata.txt +++ /dev/null @@ -1,2388 +0,0 @@ -8 -5 -26 -12 -5 -235 -13 -6 -28 -30 -3 -3 -3 -3 -5 -2 -33 -7 -2 -4 -7 -12 -14 -5 -8 -3 -10 -4 -5 -3 -6 -6 -209 -20 -3 -10 -14 -3 -4 -6 -8 -5 -11 -7 -3 -2 -3 -3 -212 -5 -222 -4 -10 -10 -5 -6 -3 -8 -3 -10 -254 -220 -2 -3 -5 -24 -5 -4 -222 -7 -3 -3 -223 -8 -15 -12 -14 -14 -3 -2 -2 -3 -13 -3 -11 -4 -4 -6 -5 -7 -13 -5 -3 -5 -2 -5 -3 -5 -2 -7 -15 -17 -14 -3 -6 -6 -3 -17 -5 -4 -7 -6 -4 -4 -8 -6 -8 -3 -9 -3 -6 -3 -4 -5 -3 -3 -660 -4 -6 -10 -3 -6 -3 -2 -5 -13 -2 -4 -4 -10 -4 -8 -4 -3 -7 -9 -9 -3 -10 -37 -3 -13 -4 -12 -3 -6 -10 -8 -5 -21 -2 -3 -8 -3 -2 -3 -3 -4 -12 -2 -4 -8 -8 -4 -3 -2 -20 -1 -6 -32 -2 -11 -6 -18 -3 -8 -11 -3 -212 -3 -4 -2 -6 -7 -12 -11 -3 -2 -16 -10 -6 -4 -6 -3 -2 -7 -3 -2 -2 -2 -2 -5 -6 -4 -3 -10 -3 -4 -6 -5 -3 -4 -4 -5 -6 -4 -3 -4 -4 -5 -7 -5 -5 -3 -2 -7 -2 -4 -12 -4 -5 -6 -2 -4 -4 -8 -4 -15 -13 -7 -16 -5 -3 -23 -5 -5 -7 -3 -2 -9 -8 -7 -5 -8 -11 -4 -10 -76 -4 -47 -4 -3 -2 -7 -4 -2 -3 -37 -10 -4 -2 -20 -5 -4 -4 -10 -10 -4 -3 -7 -23 -240 -7 -13 -5 -5 -3 -3 -2 -5 -4 -2 -8 -7 -19 -2 -23 -8 -7 -2 -5 -3 -8 -3 -8 -13 -5 -5 -5 -2 -3 -23 -4 -9 -8 -4 -3 -3 -5 -220 -2 -3 -4 -6 -14 -3 -53 -6 -2 -5 -18 -6 -3 -219 -6 -5 -2 -5 -3 -6 -5 -15 -4 -3 -17 -3 -2 -4 -7 -2 -3 -3 -4 -4 -3 -2 -664 -6 -3 -23 -5 -5 -16 -5 -8 -2 -4 -2 -24 -12 -3 -2 -3 -5 -8 -3 -5 -4 -3 -14 -3 -5 -8 -2 -3 -7 -9 -4 -2 -3 -6 -8 -4 -3 -4 -6 -5 -3 -3 -6 -3 -19 -4 -4 -6 -3 -6 -3 -5 -22 -5 -4 -4 -3 -8 -11 -4 -9 -7 -6 -13 -4 -4 -4 -6 -17 -9 -3 -3 -3 -4 -3 -221 -5 -11 -3 -4 -2 -12 -6 -3 -5 -7 -5 -7 -4 -9 -7 -14 -37 -19 -217 -16 -3 -5 -2 -2 -7 -19 -7 -6 -7 -4 -24 -5 -11 -4 -7 -7 -9 -13 -3 -4 -3 -6 -28 -4 -4 -5 -5 -2 -5 -6 -4 -4 -6 -10 -5 -4 -3 -2 -3 -3 -6 -5 -5 -4 -3 -2 -3 -7 -4 -6 -18 -16 -8 -16 -4 -5 -8 -6 -9 -13 -1545 -6 -215 -6 -5 -6 -3 -45 -31 -5 -2 -2 -4 -3 -3 -2 -5 -4 -3 -5 -7 -7 -4 -5 -8 -5 -4 -749 -2 -31 -9 -11 -2 -11 -5 -4 -4 -7 -9 -11 -4 -5 -4 -7 -3 -4 -6 -2 -15 -3 -4 -3 -4 -3 -5 -2 -13 -5 -5 -3 -3 -23 -4 -4 -5 -7 -4 -13 -2 -4 -3 -4 -2 -6 -2 -7 -3 -5 -5 -3 -29 -5 -4 -4 -3 -10 -2 -3 -79 -16 -6 -6 -7 -7 -3 -5 -5 -7 -4 -3 -7 -9 -5 -6 -5 -9 -6 -3 -6 -4 -17 -2 -10 -9 -3 -6 -2 -3 -21 -22 -5 -11 -4 -2 -17 -2 -224 -2 -14 -3 -4 -4 -2 -4 -4 -4 -4 -5 -3 -4 -4 -10 -2 -6 -3 -3 -5 -7 -2 -7 -5 -6 -3 -218 -2 -2 -5 -2 -6 -3 -5 -222 -14 -6 -33 -3 -2 -5 -3 -3 -3 -9 -5 -3 -3 -2 -7 -4 -3 -4 -3 -5 -6 -5 -26 -4 -13 -9 -7 -3 -221 -3 -3 -4 -4 -4 -4 -2 -18 -5 -3 -7 -9 -6 -8 -3 -10 -3 -11 -9 -5 -4 -17 -5 -5 -6 -6 -3 -2 -4 -12 -17 -6 -7 -218 -4 -2 -4 -10 -3 -5 -15 -3 -9 -4 -3 -3 -6 -29 -3 -3 -4 -5 -5 -3 -8 -5 -6 -6 -7 -5 -3 -5 -3 -29 -2 -31 -5 -15 -24 -16 -5 -207 -4 -3 -3 -2 -15 -4 -4 -13 -5 -5 -4 -6 -10 -2 -7 -8 -4 -6 -20 -5 -3 -4 -3 -12 -12 -5 -17 -7 -3 -3 -3 -6 -10 -3 -5 -25 -80 -4 -9 -3 -2 -11 -3 -3 -2 -3 -8 -7 -5 -5 -19 -5 -3 -3 -12 -11 -2 -6 -5 -5 -5 -3 -3 -3 -4 -209 -14 -3 -2 -5 -19 -4 -4 -3 -4 -14 -5 -6 -4 -13 -9 -7 -4 -7 -10 -2 -9 -5 -7 -2 -8 -4 -6 -5 -5 -222 -8 -7 -12 -5 -216 -3 -4 -4 -6 -3 -14 -8 -7 -13 -4 -3 -3 -3 -3 -17 -5 -4 -3 -33 -6 -6 -33 -7 -5 -3 -8 -7 -5 -2 -9 -4 -2 -233 -24 -7 -4 -8 -10 -3 -4 -15 -2 -16 -3 -3 -13 -12 -7 -5 -4 -207 -4 -2 -4 -27 -15 -2 -5 -2 -25 -6 -5 -5 -6 -13 -6 -18 -6 -4 -12 -225 -10 -7 -5 -2 -2 -11 -4 -14 -21 -8 -10 -3 -5 -4 -232 -2 -5 -5 -3 -7 -17 -11 -6 -6 -23 -4 -6 -3 -5 -4 -2 -17 -3 -6 -5 -8 -3 -2 -2 -14 -9 -4 -4 -2 -5 -5 -3 -7 -6 -12 -6 -10 -3 -6 -2 -2 -19 -5 -4 -4 -9 -2 -4 -13 -3 -5 -6 -3 -6 -5 -4 -9 -6 -3 -5 -7 -3 -6 -6 -4 -3 -10 -6 -3 -221 -3 -5 -3 -6 -4 -8 -5 -3 -6 -4 -4 -2 -54 -5 -6 -11 -3 -3 -4 -4 -4 -3 -7 -3 -11 -11 -7 -10 -6 -13 -223 -213 -15 -231 -7 -3 -7 -228 -2 -3 -4 -4 -5 -6 -7 -4 -13 -3 -4 -5 -3 -6 -4 -6 -7 -2 -4 -3 -4 -3 -3 -6 -3 -7 -3 -5 -18 -5 -6 -8 -10 -3 -3 -3 -2 -4 -2 -4 -4 -5 -6 -6 -4 -10 -13 -3 -12 -5 -12 -16 -8 -4 -19 -11 -2 -4 -5 -6 -8 -5 -6 -4 -18 -10 -4 -2 -216 -6 -6 -6 -2 -4 -12 -8 -3 -11 -5 -6 -14 -5 -3 -13 -4 -5 -4 -5 -3 -28 -6 -3 -7 -219 -3 -9 -7 -3 -10 -6 -3 -4 -19 -5 -7 -11 -6 -15 -19 -4 -13 -11 -3 -7 -5 -10 -2 -8 -11 -2 -6 -4 -6 -24 -6 -3 -3 -3 -3 -6 -18 -4 -11 -4 -2 -5 -10 -8 -3 -9 -5 -3 -4 -5 -6 -2 -5 -7 -4 -4 -14 -6 -4 -4 -5 -5 -7 -2 -4 -3 -7 -3 -3 -6 -4 -5 -4 -4 -4 -3 -3 -3 -3 -8 -14 -2 -3 -5 -3 -2 -4 -5 -3 -7 -3 -3 -18 -3 -4 -4 -5 -7 -3 -3 -3 -13 -5 -4 -8 -211 -5 -5 -3 -5 -2 -5 -4 -2 -655 -6 -3 -5 -11 -2 -5 -3 -12 -9 -15 -11 -5 -12 -217 -2 -6 -17 -3 -3 -207 -5 -5 -4 -5 -9 -3 -2 -8 -5 -4 -3 -2 -5 -12 -4 -14 -5 -4 -2 -13 -5 -8 -4 -225 -4 -3 -4 -5 -4 -3 -3 -6 -23 -9 -2 -6 -7 -233 -4 -4 -6 -18 -3 -4 -6 -3 -4 -4 -2 -3 -7 -4 -13 -227 -4 -3 -5 -4 -2 -12 -9 -17 -3 -7 -14 -6 -4 -5 -21 -4 -8 -9 -2 -9 -25 -16 -3 -6 -4 -7 -8 -5 -2 -3 -5 -4 -3 -3 -5 -3 -3 -3 -2 -3 -19 -2 -4 -3 -4 -2 -3 -4 -4 -2 -4 -3 -3 -3 -2 -6 -3 -17 -5 -6 -4 -3 -13 -5 -3 -3 -3 -4 -9 -4 -2 -14 -12 -4 -5 -24 -4 -3 -37 -12 -11 -21 -3 -4 -3 -13 -4 -2 -3 -15 -4 -11 -4 -4 -3 -8 -3 -4 -4 -12 -8 -5 -3 -3 -4 -2 -220 -3 -5 -223 -3 -3 -3 -10 -3 -15 -4 -241 -9 -7 -3 -6 -6 -23 -4 -13 -7 -3 -4 -7 -4 -9 -3 -3 -4 -10 -5 -5 -1 -5 -24 -2 -4 -5 -5 -6 -14 -3 -8 -2 -3 -5 -13 -13 -3 -5 -2 -3 -15 -3 -4 -2 -10 -4 -4 -4 -5 -5 -3 -5 -3 -4 -7 -4 -27 -3 -6 -4 -15 -3 -5 -6 -6 -5 -4 -8 -3 -9 -2 -6 -3 -4 -3 -7 -4 -18 -3 -11 -3 -3 -8 -9 -7 -24 -3 -219 -7 -10 -4 -5 -9 -12 -2 -5 -4 -4 -4 -3 -3 -19 -5 -8 -16 -8 -6 -22 -3 -23 -3 -242 -9 -4 -3 -3 -5 -7 -3 -3 -5 -8 -3 -7 -5 -14 -8 -10 -3 -4 -3 -7 -4 -6 -7 -4 -10 -4 -3 -11 -3 -7 -10 -3 -13 -6 -8 -12 -10 -5 -7 -9 -3 -4 -7 -7 -10 -8 -30 -9 -19 -4 -3 -19 -15 -4 -13 -3 -215 -223 -4 -7 -4 -8 -17 -16 -3 -7 -6 -5 -5 -4 -12 -3 -7 -4 -4 -13 -4 -5 -2 -5 -6 -5 -6 -6 -7 -10 -18 -23 -9 -3 -3 -6 -5 -2 -4 -2 -7 -3 -3 -2 -5 -5 -14 -10 -224 -6 -3 -4 -3 -7 -5 -9 -3 -6 -4 -2 -5 -11 -4 -3 -3 -2 -8 -4 -7 -4 -10 -7 -3 -3 -18 -18 -17 -3 -3 -3 -4 -5 -3 -3 -4 -12 -7 -3 -11 -13 -5 -4 -7 -13 -5 -4 -11 -3 -12 -3 -6 -4 -4 -21 -4 -6 -9 -5 -3 -10 -8 -4 -6 -4 -4 -6 -5 -4 -8 -6 -4 -6 -4 -4 -5 -9 -6 -3 -4 -2 -9 -3 -18 -2 -4 -3 -13 -3 -6 -6 -8 -7 -9 -3 -2 -16 -3 -4 -6 -3 -2 -33 -22 -14 -4 -9 -12 -4 -5 -6 -3 -23 -9 -4 -3 -5 -5 -3 -4 -5 -3 -5 -3 -10 -4 -5 -5 -8 -4 -4 -6 -8 -5 -4 -3 -4 -6 -3 -3 -3 -5 -9 -12 -6 -5 -9 -3 -5 -3 -2 -2 -2 -18 -3 -2 -21 -2 -5 -4 -6 -4 -5 -10 -3 -9 -3 -2 -10 -7 -3 -6 -6 -4 -4 -8 -12 -7 -3 -7 -3 -3 -9 -3 -4 -5 -4 -4 -5 -5 -10 -15 -4 -4 -14 -6 -227 -3 -14 -5 -216 -22 -5 -4 -2 -2 -6 -3 -4 -2 -9 -9 -4 -3 -28 -13 -11 -4 -5 -3 -3 -2 -3 -3 -5 -3 -4 -3 -5 -23 -26 -3 -4 -5 -6 -4 -6 -3 -5 -5 -3 -4 -3 -2 -2 -2 -7 -14 -3 -6 -7 -17 -2 -2 -15 -14 -16 -4 -6 -7 -13 -6 -4 -5 -6 -16 -3 -3 -28 -3 -6 -15 -3 -9 -2 -4 -6 -3 -3 -22 -4 -12 -6 -7 -2 -5 -4 -10 -3 -16 -6 -9 -2 -5 -12 -7 -5 -5 -5 -5 -2 -11 -9 -17 -4 -3 -11 -7 -3 -5 -15 -4 -3 -4 -211 -8 -7 -5 -4 -7 -6 -7 -6 -3 -6 -5 -6 -5 -3 -4 -4 -26 -4 -6 -10 -4 -4 -3 -2 -3 -3 -4 -5 -9 -3 -9 -4 -4 -5 -5 -8 -2 -4 -2 -3 -8 -4 -11 -19 -5 -8 -6 -3 -5 -6 -12 -3 -2 -4 -16 -12 -3 -4 -4 -8 -6 -5 -6 -6 -219 -8 -222 -6 -16 -3 -13 -19 -5 -4 -3 -11 -6 -10 -4 -7 -7 -12 -5 -3 -3 -5 -6 -10 -3 -8 -2 -5 -4 -7 -2 -4 -4 -2 -12 -9 -6 -4 -2 -40 -2 -4 -10 -4 -223 -4 -2 -20 -6 -7 -24 -5 -4 -5 -2 -20 -16 -6 -5 -13 -2 -3 -3 -19 -3 -2 -4 -5 -6 -7 -11 -12 -5 -6 -7 -7 -3 -5 -3 -5 -3 -14 -3 -4 -4 -2 -11 -1 -7 -3 -9 -6 -11 -12 -5 -8 -6 -221 -4 -2 -12 -4 -3 -15 -4 -5 -226 -7 -218 -7 -5 -4 -5 -18 -4 -5 -9 -4 -4 -2 -9 -18 -18 -9 -5 -6 -6 -3 -3 -7 -3 -5 -4 -4 -4 -12 -3 -6 -31 -5 -4 -7 -3 -6 -5 -6 -5 -11 -2 -2 -11 -11 -6 -7 -5 -8 -7 -10 -5 -23 -7 -4 -3 -5 -34 -2 -5 -23 -7 -3 -6 -8 -4 -4 -4 -2 -5 -3 -8 -5 -4 -8 -25 -2 -3 -17 -8 -3 -4 -8 -7 -3 -15 -6 -5 -7 -21 -9 -5 -6 -6 -5 -3 -2 -3 -10 -3 -6 -3 -14 -7 -4 -4 -8 -7 -8 -2 -6 -12 -4 -213 -6 -5 -21 -8 -2 -5 -23 -3 -11 -2 -3 -6 -25 -2 -3 -6 -7 -6 -6 -4 -4 -6 -3 -17 -9 -7 -6 -4 -3 -10 -7 -2 -3 -3 -3 -11 -8 -3 -7 -6 -4 -14 -36 -3 -4 -3 -3 -22 -13 -21 -4 -2 -7 -4 -4 -17 -15 -3 -7 -11 -2 -4 -7 -6 -209 -6 -3 -2 -2 -24 -4 -9 -4 -3 -3 -3 -29 -2 -2 -4 -3 -3 -5 -4 -6 -3 -3 -2 -4 diff --git a/api/vendor/github.com/beorn7/perks/quantile/stream.go b/api/vendor/github.com/beorn7/perks/quantile/stream.go deleted file mode 100644 index d7d14f8eb63d..000000000000 --- a/api/vendor/github.com/beorn7/perks/quantile/stream.go +++ /dev/null @@ -1,316 +0,0 @@ -// Package quantile computes approximate quantiles over an unbounded data -// stream within low memory and CPU bounds. -// -// A small amount of accuracy is traded to achieve the above properties. -// -// Multiple streams can be merged before calling Query to generate a single set -// of results. This is meaningful when the streams represent the same type of -// data. See Merge and Samples. -// -// For more detailed information about the algorithm used, see: -// -// Effective Computation of Biased Quantiles over Data Streams -// -// http://www.cs.rutgers.edu/~muthu/bquant.pdf -package quantile - -import ( - "math" - "sort" -) - -// Sample holds an observed value and meta information for compression. JSON -// tags have been added for convenience. -type Sample struct { - Value float64 `json:",string"` - Width float64 `json:",string"` - Delta float64 `json:",string"` -} - -// Samples represents a slice of samples. It implements sort.Interface. -type Samples []Sample - -func (a Samples) Len() int { return len(a) } -func (a Samples) Less(i, j int) bool { return a[i].Value < a[j].Value } -func (a Samples) Swap(i, j int) { a[i], a[j] = a[j], a[i] } - -type invariant func(s *stream, r float64) float64 - -// NewLowBiased returns an initialized Stream for low-biased quantiles -// (e.g. 0.01, 0.1, 0.5) where the needed quantiles are not known a priori, but -// error guarantees can still be given even for the lower ranks of the data -// distribution. -// -// The provided epsilon is a relative error, i.e. the true quantile of a value -// returned by a query is guaranteed to be within (1±Epsilon)*Quantile. -// -// See http://www.cs.rutgers.edu/~muthu/bquant.pdf for time, space, and error -// properties. -func NewLowBiased(epsilon float64) *Stream { - ƒ := func(s *stream, r float64) float64 { - return 2 * epsilon * r - } - return newStream(ƒ) -} - -// NewHighBiased returns an initialized Stream for high-biased quantiles -// (e.g. 0.01, 0.1, 0.5) where the needed quantiles are not known a priori, but -// error guarantees can still be given even for the higher ranks of the data -// distribution. -// -// The provided epsilon is a relative error, i.e. the true quantile of a value -// returned by a query is guaranteed to be within 1-(1±Epsilon)*(1-Quantile). -// -// See http://www.cs.rutgers.edu/~muthu/bquant.pdf for time, space, and error -// properties. -func NewHighBiased(epsilon float64) *Stream { - ƒ := func(s *stream, r float64) float64 { - return 2 * epsilon * (s.n - r) - } - return newStream(ƒ) -} - -// NewTargeted returns an initialized Stream concerned with a particular set of -// quantile values that are supplied a priori. Knowing these a priori reduces -// space and computation time. The targets map maps the desired quantiles to -// their absolute errors, i.e. the true quantile of a value returned by a query -// is guaranteed to be within (Quantile±Epsilon). -// -// See http://www.cs.rutgers.edu/~muthu/bquant.pdf for time, space, and error properties. -func NewTargeted(targetMap map[float64]float64) *Stream { - // Convert map to slice to avoid slow iterations on a map. - // ƒ is called on the hot path, so converting the map to a slice - // beforehand results in significant CPU savings. - targets := targetMapToSlice(targetMap) - - ƒ := func(s *stream, r float64) float64 { - var m = math.MaxFloat64 - var f float64 - for _, t := range targets { - if t.quantile*s.n <= r { - f = (2 * t.epsilon * r) / t.quantile - } else { - f = (2 * t.epsilon * (s.n - r)) / (1 - t.quantile) - } - if f < m { - m = f - } - } - return m - } - return newStream(ƒ) -} - -type target struct { - quantile float64 - epsilon float64 -} - -func targetMapToSlice(targetMap map[float64]float64) []target { - targets := make([]target, 0, len(targetMap)) - - for quantile, epsilon := range targetMap { - t := target{ - quantile: quantile, - epsilon: epsilon, - } - targets = append(targets, t) - } - - return targets -} - -// Stream computes quantiles for a stream of float64s. It is not thread-safe by -// design. Take care when using across multiple goroutines. -type Stream struct { - *stream - b Samples - sorted bool -} - -func newStream(ƒ invariant) *Stream { - x := &stream{ƒ: ƒ} - return &Stream{x, make(Samples, 0, 500), true} -} - -// Insert inserts v into the stream. -func (s *Stream) Insert(v float64) { - s.insert(Sample{Value: v, Width: 1}) -} - -func (s *Stream) insert(sample Sample) { - s.b = append(s.b, sample) - s.sorted = false - if len(s.b) == cap(s.b) { - s.flush() - } -} - -// Query returns the computed qth percentiles value. If s was created with -// NewTargeted, and q is not in the set of quantiles provided a priori, Query -// will return an unspecified result. -func (s *Stream) Query(q float64) float64 { - if !s.flushed() { - // Fast path when there hasn't been enough data for a flush; - // this also yields better accuracy for small sets of data. - l := len(s.b) - if l == 0 { - return 0 - } - i := int(math.Ceil(float64(l) * q)) - if i > 0 { - i -= 1 - } - s.maybeSort() - return s.b[i].Value - } - s.flush() - return s.stream.query(q) -} - -// Merge merges samples into the underlying streams samples. This is handy when -// merging multiple streams from separate threads, database shards, etc. -// -// ATTENTION: This method is broken and does not yield correct results. The -// underlying algorithm is not capable of merging streams correctly. -func (s *Stream) Merge(samples Samples) { - sort.Sort(samples) - s.stream.merge(samples) -} - -// Reset reinitializes and clears the list reusing the samples buffer memory. -func (s *Stream) Reset() { - s.stream.reset() - s.b = s.b[:0] -} - -// Samples returns stream samples held by s. -func (s *Stream) Samples() Samples { - if !s.flushed() { - return s.b - } - s.flush() - return s.stream.samples() -} - -// Count returns the total number of samples observed in the stream -// since initialization. -func (s *Stream) Count() int { - return len(s.b) + s.stream.count() -} - -func (s *Stream) flush() { - s.maybeSort() - s.stream.merge(s.b) - s.b = s.b[:0] -} - -func (s *Stream) maybeSort() { - if !s.sorted { - s.sorted = true - sort.Sort(s.b) - } -} - -func (s *Stream) flushed() bool { - return len(s.stream.l) > 0 -} - -type stream struct { - n float64 - l []Sample - ƒ invariant -} - -func (s *stream) reset() { - s.l = s.l[:0] - s.n = 0 -} - -func (s *stream) insert(v float64) { - s.merge(Samples{{v, 1, 0}}) -} - -func (s *stream) merge(samples Samples) { - // TODO(beorn7): This tries to merge not only individual samples, but - // whole summaries. The paper doesn't mention merging summaries at - // all. Unittests show that the merging is inaccurate. Find out how to - // do merges properly. - var r float64 - i := 0 - for _, sample := range samples { - for ; i < len(s.l); i++ { - c := s.l[i] - if c.Value > sample.Value { - // Insert at position i. - s.l = append(s.l, Sample{}) - copy(s.l[i+1:], s.l[i:]) - s.l[i] = Sample{ - sample.Value, - sample.Width, - math.Max(sample.Delta, math.Floor(s.ƒ(s, r))-1), - // TODO(beorn7): How to calculate delta correctly? - } - i++ - goto inserted - } - r += c.Width - } - s.l = append(s.l, Sample{sample.Value, sample.Width, 0}) - i++ - inserted: - s.n += sample.Width - r += sample.Width - } - s.compress() -} - -func (s *stream) count() int { - return int(s.n) -} - -func (s *stream) query(q float64) float64 { - t := math.Ceil(q * s.n) - t += math.Ceil(s.ƒ(s, t) / 2) - p := s.l[0] - var r float64 - for _, c := range s.l[1:] { - r += p.Width - if r+c.Width+c.Delta > t { - return p.Value - } - p = c - } - return p.Value -} - -func (s *stream) compress() { - if len(s.l) < 2 { - return - } - x := s.l[len(s.l)-1] - xi := len(s.l) - 1 - r := s.n - 1 - x.Width - - for i := len(s.l) - 2; i >= 0; i-- { - c := s.l[i] - if c.Width+x.Width+x.Delta <= s.ƒ(s, r) { - x.Width += c.Width - s.l[xi] = x - // Remove element at i. - copy(s.l[i:], s.l[i+1:]) - s.l = s.l[:len(s.l)-1] - xi -= 1 - } else { - x = c - xi = i - } - r -= c.Width - } -} - -func (s *stream) samples() Samples { - samples := make(Samples, len(s.l)) - copy(samples, s.l) - return samples -} diff --git a/api/vendor/github.com/cespare/xxhash/v2/LICENSE.txt b/api/vendor/github.com/cespare/xxhash/v2/LICENSE.txt deleted file mode 100644 index 24b53065f40b..000000000000 --- a/api/vendor/github.com/cespare/xxhash/v2/LICENSE.txt +++ /dev/null @@ -1,22 +0,0 @@ -Copyright (c) 2016 Caleb Spare - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/api/vendor/github.com/cespare/xxhash/v2/README.md b/api/vendor/github.com/cespare/xxhash/v2/README.md deleted file mode 100644 index 33c88305c46e..000000000000 --- a/api/vendor/github.com/cespare/xxhash/v2/README.md +++ /dev/null @@ -1,74 +0,0 @@ -# xxhash - -[![Go Reference](https://pkg.go.dev/badge/github.com/cespare/xxhash/v2.svg)](https://pkg.go.dev/github.com/cespare/xxhash/v2) -[![Test](https://github.com/cespare/xxhash/actions/workflows/test.yml/badge.svg)](https://github.com/cespare/xxhash/actions/workflows/test.yml) - -xxhash is a Go implementation of the 64-bit [xxHash] algorithm, XXH64. This is a -high-quality hashing algorithm that is much faster than anything in the Go -standard library. - -This package provides a straightforward API: - -``` -func Sum64(b []byte) uint64 -func Sum64String(s string) uint64 -type Digest struct{ ... } - func New() *Digest -``` - -The `Digest` type implements hash.Hash64. Its key methods are: - -``` -func (*Digest) Write([]byte) (int, error) -func (*Digest) WriteString(string) (int, error) -func (*Digest) Sum64() uint64 -``` - -The package is written with optimized pure Go and also contains even faster -assembly implementations for amd64 and arm64. If desired, the `purego` build tag -opts into using the Go code even on those architectures. - -[xxHash]: http://cyan4973.github.io/xxHash/ - -## Compatibility - -This package is in a module and the latest code is in version 2 of the module. -You need a version of Go with at least "minimal module compatibility" to use -github.com/cespare/xxhash/v2: - -* 1.9.7+ for Go 1.9 -* 1.10.3+ for Go 1.10 -* Go 1.11 or later - -I recommend using the latest release of Go. - -## Benchmarks - -Here are some quick benchmarks comparing the pure-Go and assembly -implementations of Sum64. - -| input size | purego | asm | -| ---------- | --------- | --------- | -| 4 B | 1.3 GB/s | 1.2 GB/s | -| 16 B | 2.9 GB/s | 3.5 GB/s | -| 100 B | 6.9 GB/s | 8.1 GB/s | -| 4 KB | 11.7 GB/s | 16.7 GB/s | -| 10 MB | 12.0 GB/s | 17.3 GB/s | - -These numbers were generated on Ubuntu 20.04 with an Intel Xeon Platinum 8252C -CPU using the following commands under Go 1.19.2: - -``` -benchstat <(go test -tags purego -benchtime 500ms -count 15 -bench 'Sum64$') -benchstat <(go test -benchtime 500ms -count 15 -bench 'Sum64$') -``` - -## Projects using this package - -- [InfluxDB](https://github.com/influxdata/influxdb) -- [Prometheus](https://github.com/prometheus/prometheus) -- [VictoriaMetrics](https://github.com/VictoriaMetrics/VictoriaMetrics) -- [FreeCache](https://github.com/coocood/freecache) -- [FastCache](https://github.com/VictoriaMetrics/fastcache) -- [Ristretto](https://github.com/dgraph-io/ristretto) -- [Badger](https://github.com/dgraph-io/badger) diff --git a/api/vendor/github.com/cespare/xxhash/v2/testall.sh b/api/vendor/github.com/cespare/xxhash/v2/testall.sh deleted file mode 100644 index 94b9c443987c..000000000000 --- a/api/vendor/github.com/cespare/xxhash/v2/testall.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -set -eu -o pipefail - -# Small convenience script for running the tests with various combinations of -# arch/tags. This assumes we're running on amd64 and have qemu available. - -go test ./... -go test -tags purego ./... -GOARCH=arm64 go test -GOARCH=arm64 go test -tags purego diff --git a/api/vendor/github.com/cespare/xxhash/v2/xxhash.go b/api/vendor/github.com/cespare/xxhash/v2/xxhash.go deleted file mode 100644 index 78bddf1ceed7..000000000000 --- a/api/vendor/github.com/cespare/xxhash/v2/xxhash.go +++ /dev/null @@ -1,243 +0,0 @@ -// Package xxhash implements the 64-bit variant of xxHash (XXH64) as described -// at http://cyan4973.github.io/xxHash/. -package xxhash - -import ( - "encoding/binary" - "errors" - "math/bits" -) - -const ( - prime1 uint64 = 11400714785074694791 - prime2 uint64 = 14029467366897019727 - prime3 uint64 = 1609587929392839161 - prime4 uint64 = 9650029242287828579 - prime5 uint64 = 2870177450012600261 -) - -// Store the primes in an array as well. -// -// The consts are used when possible in Go code to avoid MOVs but we need a -// contiguous array for the assembly code. -var primes = [...]uint64{prime1, prime2, prime3, prime4, prime5} - -// Digest implements hash.Hash64. -// -// Note that a zero-valued Digest is not ready to receive writes. -// Call Reset or create a Digest using New before calling other methods. -type Digest struct { - v1 uint64 - v2 uint64 - v3 uint64 - v4 uint64 - total uint64 - mem [32]byte - n int // how much of mem is used -} - -// New creates a new Digest with a zero seed. -func New() *Digest { - return NewWithSeed(0) -} - -// NewWithSeed creates a new Digest with the given seed. -func NewWithSeed(seed uint64) *Digest { - var d Digest - d.ResetWithSeed(seed) - return &d -} - -// Reset clears the Digest's state so that it can be reused. -// It uses a seed value of zero. -func (d *Digest) Reset() { - d.ResetWithSeed(0) -} - -// ResetWithSeed clears the Digest's state so that it can be reused. -// It uses the given seed to initialize the state. -func (d *Digest) ResetWithSeed(seed uint64) { - d.v1 = seed + prime1 + prime2 - d.v2 = seed + prime2 - d.v3 = seed - d.v4 = seed - prime1 - d.total = 0 - d.n = 0 -} - -// Size always returns 8 bytes. -func (d *Digest) Size() int { return 8 } - -// BlockSize always returns 32 bytes. -func (d *Digest) BlockSize() int { return 32 } - -// Write adds more data to d. It always returns len(b), nil. -func (d *Digest) Write(b []byte) (n int, err error) { - n = len(b) - d.total += uint64(n) - - memleft := d.mem[d.n&(len(d.mem)-1):] - - if d.n+n < 32 { - // This new data doesn't even fill the current block. - copy(memleft, b) - d.n += n - return - } - - if d.n > 0 { - // Finish off the partial block. - c := copy(memleft, b) - d.v1 = round(d.v1, u64(d.mem[0:8])) - d.v2 = round(d.v2, u64(d.mem[8:16])) - d.v3 = round(d.v3, u64(d.mem[16:24])) - d.v4 = round(d.v4, u64(d.mem[24:32])) - b = b[c:] - d.n = 0 - } - - if len(b) >= 32 { - // One or more full blocks left. - nw := writeBlocks(d, b) - b = b[nw:] - } - - // Store any remaining partial block. - copy(d.mem[:], b) - d.n = len(b) - - return -} - -// Sum appends the current hash to b and returns the resulting slice. -func (d *Digest) Sum(b []byte) []byte { - s := d.Sum64() - return append( - b, - byte(s>>56), - byte(s>>48), - byte(s>>40), - byte(s>>32), - byte(s>>24), - byte(s>>16), - byte(s>>8), - byte(s), - ) -} - -// Sum64 returns the current hash. -func (d *Digest) Sum64() uint64 { - var h uint64 - - if d.total >= 32 { - v1, v2, v3, v4 := d.v1, d.v2, d.v3, d.v4 - h = rol1(v1) + rol7(v2) + rol12(v3) + rol18(v4) - h = mergeRound(h, v1) - h = mergeRound(h, v2) - h = mergeRound(h, v3) - h = mergeRound(h, v4) - } else { - h = d.v3 + prime5 - } - - h += d.total - - b := d.mem[:d.n&(len(d.mem)-1)] - for ; len(b) >= 8; b = b[8:] { - k1 := round(0, u64(b[:8])) - h ^= k1 - h = rol27(h)*prime1 + prime4 - } - if len(b) >= 4 { - h ^= uint64(u32(b[:4])) * prime1 - h = rol23(h)*prime2 + prime3 - b = b[4:] - } - for ; len(b) > 0; b = b[1:] { - h ^= uint64(b[0]) * prime5 - h = rol11(h) * prime1 - } - - h ^= h >> 33 - h *= prime2 - h ^= h >> 29 - h *= prime3 - h ^= h >> 32 - - return h -} - -const ( - magic = "xxh\x06" - marshaledSize = len(magic) + 8*5 + 32 -) - -// MarshalBinary implements the encoding.BinaryMarshaler interface. -func (d *Digest) MarshalBinary() ([]byte, error) { - b := make([]byte, 0, marshaledSize) - b = append(b, magic...) - b = appendUint64(b, d.v1) - b = appendUint64(b, d.v2) - b = appendUint64(b, d.v3) - b = appendUint64(b, d.v4) - b = appendUint64(b, d.total) - b = append(b, d.mem[:d.n]...) - b = b[:len(b)+len(d.mem)-d.n] - return b, nil -} - -// UnmarshalBinary implements the encoding.BinaryUnmarshaler interface. -func (d *Digest) UnmarshalBinary(b []byte) error { - if len(b) < len(magic) || string(b[:len(magic)]) != magic { - return errors.New("xxhash: invalid hash state identifier") - } - if len(b) != marshaledSize { - return errors.New("xxhash: invalid hash state size") - } - b = b[len(magic):] - b, d.v1 = consumeUint64(b) - b, d.v2 = consumeUint64(b) - b, d.v3 = consumeUint64(b) - b, d.v4 = consumeUint64(b) - b, d.total = consumeUint64(b) - copy(d.mem[:], b) - d.n = int(d.total % uint64(len(d.mem))) - return nil -} - -func appendUint64(b []byte, x uint64) []byte { - var a [8]byte - binary.LittleEndian.PutUint64(a[:], x) - return append(b, a[:]...) -} - -func consumeUint64(b []byte) ([]byte, uint64) { - x := u64(b) - return b[8:], x -} - -func u64(b []byte) uint64 { return binary.LittleEndian.Uint64(b) } -func u32(b []byte) uint32 { return binary.LittleEndian.Uint32(b) } - -func round(acc, input uint64) uint64 { - acc += input * prime2 - acc = rol31(acc) - acc *= prime1 - return acc -} - -func mergeRound(acc, val uint64) uint64 { - val = round(0, val) - acc ^= val - acc = acc*prime1 + prime4 - return acc -} - -func rol1(x uint64) uint64 { return bits.RotateLeft64(x, 1) } -func rol7(x uint64) uint64 { return bits.RotateLeft64(x, 7) } -func rol11(x uint64) uint64 { return bits.RotateLeft64(x, 11) } -func rol12(x uint64) uint64 { return bits.RotateLeft64(x, 12) } -func rol18(x uint64) uint64 { return bits.RotateLeft64(x, 18) } -func rol23(x uint64) uint64 { return bits.RotateLeft64(x, 23) } -func rol27(x uint64) uint64 { return bits.RotateLeft64(x, 27) } -func rol31(x uint64) uint64 { return bits.RotateLeft64(x, 31) } diff --git a/api/vendor/github.com/cespare/xxhash/v2/xxhash_amd64.s b/api/vendor/github.com/cespare/xxhash/v2/xxhash_amd64.s deleted file mode 100644 index 3e8b132579ec..000000000000 --- a/api/vendor/github.com/cespare/xxhash/v2/xxhash_amd64.s +++ /dev/null @@ -1,209 +0,0 @@ -//go:build !appengine && gc && !purego -// +build !appengine -// +build gc -// +build !purego - -#include "textflag.h" - -// Registers: -#define h AX -#define d AX -#define p SI // pointer to advance through b -#define n DX -#define end BX // loop end -#define v1 R8 -#define v2 R9 -#define v3 R10 -#define v4 R11 -#define x R12 -#define prime1 R13 -#define prime2 R14 -#define prime4 DI - -#define round(acc, x) \ - IMULQ prime2, x \ - ADDQ x, acc \ - ROLQ $31, acc \ - IMULQ prime1, acc - -// round0 performs the operation x = round(0, x). -#define round0(x) \ - IMULQ prime2, x \ - ROLQ $31, x \ - IMULQ prime1, x - -// mergeRound applies a merge round on the two registers acc and x. -// It assumes that prime1, prime2, and prime4 have been loaded. -#define mergeRound(acc, x) \ - round0(x) \ - XORQ x, acc \ - IMULQ prime1, acc \ - ADDQ prime4, acc - -// blockLoop processes as many 32-byte blocks as possible, -// updating v1, v2, v3, and v4. It assumes that there is at least one block -// to process. -#define blockLoop() \ -loop: \ - MOVQ +0(p), x \ - round(v1, x) \ - MOVQ +8(p), x \ - round(v2, x) \ - MOVQ +16(p), x \ - round(v3, x) \ - MOVQ +24(p), x \ - round(v4, x) \ - ADDQ $32, p \ - CMPQ p, end \ - JLE loop - -// func Sum64(b []byte) uint64 -TEXT ·Sum64(SB), NOSPLIT|NOFRAME, $0-32 - // Load fixed primes. - MOVQ ·primes+0(SB), prime1 - MOVQ ·primes+8(SB), prime2 - MOVQ ·primes+24(SB), prime4 - - // Load slice. - MOVQ b_base+0(FP), p - MOVQ b_len+8(FP), n - LEAQ (p)(n*1), end - - // The first loop limit will be len(b)-32. - SUBQ $32, end - - // Check whether we have at least one block. - CMPQ n, $32 - JLT noBlocks - - // Set up initial state (v1, v2, v3, v4). - MOVQ prime1, v1 - ADDQ prime2, v1 - MOVQ prime2, v2 - XORQ v3, v3 - XORQ v4, v4 - SUBQ prime1, v4 - - blockLoop() - - MOVQ v1, h - ROLQ $1, h - MOVQ v2, x - ROLQ $7, x - ADDQ x, h - MOVQ v3, x - ROLQ $12, x - ADDQ x, h - MOVQ v4, x - ROLQ $18, x - ADDQ x, h - - mergeRound(h, v1) - mergeRound(h, v2) - mergeRound(h, v3) - mergeRound(h, v4) - - JMP afterBlocks - -noBlocks: - MOVQ ·primes+32(SB), h - -afterBlocks: - ADDQ n, h - - ADDQ $24, end - CMPQ p, end - JG try4 - -loop8: - MOVQ (p), x - ADDQ $8, p - round0(x) - XORQ x, h - ROLQ $27, h - IMULQ prime1, h - ADDQ prime4, h - - CMPQ p, end - JLE loop8 - -try4: - ADDQ $4, end - CMPQ p, end - JG try1 - - MOVL (p), x - ADDQ $4, p - IMULQ prime1, x - XORQ x, h - - ROLQ $23, h - IMULQ prime2, h - ADDQ ·primes+16(SB), h - -try1: - ADDQ $4, end - CMPQ p, end - JGE finalize - -loop1: - MOVBQZX (p), x - ADDQ $1, p - IMULQ ·primes+32(SB), x - XORQ x, h - ROLQ $11, h - IMULQ prime1, h - - CMPQ p, end - JL loop1 - -finalize: - MOVQ h, x - SHRQ $33, x - XORQ x, h - IMULQ prime2, h - MOVQ h, x - SHRQ $29, x - XORQ x, h - IMULQ ·primes+16(SB), h - MOVQ h, x - SHRQ $32, x - XORQ x, h - - MOVQ h, ret+24(FP) - RET - -// func writeBlocks(d *Digest, b []byte) int -TEXT ·writeBlocks(SB), NOSPLIT|NOFRAME, $0-40 - // Load fixed primes needed for round. - MOVQ ·primes+0(SB), prime1 - MOVQ ·primes+8(SB), prime2 - - // Load slice. - MOVQ b_base+8(FP), p - MOVQ b_len+16(FP), n - LEAQ (p)(n*1), end - SUBQ $32, end - - // Load vN from d. - MOVQ s+0(FP), d - MOVQ 0(d), v1 - MOVQ 8(d), v2 - MOVQ 16(d), v3 - MOVQ 24(d), v4 - - // We don't need to check the loop condition here; this function is - // always called with at least one block of data to process. - blockLoop() - - // Copy vN back to d. - MOVQ v1, 0(d) - MOVQ v2, 8(d) - MOVQ v3, 16(d) - MOVQ v4, 24(d) - - // The number of bytes written is p minus the old base pointer. - SUBQ b_base+8(FP), p - MOVQ p, ret+32(FP) - - RET diff --git a/api/vendor/github.com/cespare/xxhash/v2/xxhash_arm64.s b/api/vendor/github.com/cespare/xxhash/v2/xxhash_arm64.s deleted file mode 100644 index 7e3145a22186..000000000000 --- a/api/vendor/github.com/cespare/xxhash/v2/xxhash_arm64.s +++ /dev/null @@ -1,183 +0,0 @@ -//go:build !appengine && gc && !purego -// +build !appengine -// +build gc -// +build !purego - -#include "textflag.h" - -// Registers: -#define digest R1 -#define h R2 // return value -#define p R3 // input pointer -#define n R4 // input length -#define nblocks R5 // n / 32 -#define prime1 R7 -#define prime2 R8 -#define prime3 R9 -#define prime4 R10 -#define prime5 R11 -#define v1 R12 -#define v2 R13 -#define v3 R14 -#define v4 R15 -#define x1 R20 -#define x2 R21 -#define x3 R22 -#define x4 R23 - -#define round(acc, x) \ - MADD prime2, acc, x, acc \ - ROR $64-31, acc \ - MUL prime1, acc - -// round0 performs the operation x = round(0, x). -#define round0(x) \ - MUL prime2, x \ - ROR $64-31, x \ - MUL prime1, x - -#define mergeRound(acc, x) \ - round0(x) \ - EOR x, acc \ - MADD acc, prime4, prime1, acc - -// blockLoop processes as many 32-byte blocks as possible, -// updating v1, v2, v3, and v4. It assumes that n >= 32. -#define blockLoop() \ - LSR $5, n, nblocks \ - PCALIGN $16 \ - loop: \ - LDP.P 16(p), (x1, x2) \ - LDP.P 16(p), (x3, x4) \ - round(v1, x1) \ - round(v2, x2) \ - round(v3, x3) \ - round(v4, x4) \ - SUB $1, nblocks \ - CBNZ nblocks, loop - -// func Sum64(b []byte) uint64 -TEXT ·Sum64(SB), NOSPLIT|NOFRAME, $0-32 - LDP b_base+0(FP), (p, n) - - LDP ·primes+0(SB), (prime1, prime2) - LDP ·primes+16(SB), (prime3, prime4) - MOVD ·primes+32(SB), prime5 - - CMP $32, n - CSEL LT, prime5, ZR, h // if n < 32 { h = prime5 } else { h = 0 } - BLT afterLoop - - ADD prime1, prime2, v1 - MOVD prime2, v2 - MOVD $0, v3 - NEG prime1, v4 - - blockLoop() - - ROR $64-1, v1, x1 - ROR $64-7, v2, x2 - ADD x1, x2 - ROR $64-12, v3, x3 - ROR $64-18, v4, x4 - ADD x3, x4 - ADD x2, x4, h - - mergeRound(h, v1) - mergeRound(h, v2) - mergeRound(h, v3) - mergeRound(h, v4) - -afterLoop: - ADD n, h - - TBZ $4, n, try8 - LDP.P 16(p), (x1, x2) - - round0(x1) - - // NOTE: here and below, sequencing the EOR after the ROR (using a - // rotated register) is worth a small but measurable speedup for small - // inputs. - ROR $64-27, h - EOR x1 @> 64-27, h, h - MADD h, prime4, prime1, h - - round0(x2) - ROR $64-27, h - EOR x2 @> 64-27, h, h - MADD h, prime4, prime1, h - -try8: - TBZ $3, n, try4 - MOVD.P 8(p), x1 - - round0(x1) - ROR $64-27, h - EOR x1 @> 64-27, h, h - MADD h, prime4, prime1, h - -try4: - TBZ $2, n, try2 - MOVWU.P 4(p), x2 - - MUL prime1, x2 - ROR $64-23, h - EOR x2 @> 64-23, h, h - MADD h, prime3, prime2, h - -try2: - TBZ $1, n, try1 - MOVHU.P 2(p), x3 - AND $255, x3, x1 - LSR $8, x3, x2 - - MUL prime5, x1 - ROR $64-11, h - EOR x1 @> 64-11, h, h - MUL prime1, h - - MUL prime5, x2 - ROR $64-11, h - EOR x2 @> 64-11, h, h - MUL prime1, h - -try1: - TBZ $0, n, finalize - MOVBU (p), x4 - - MUL prime5, x4 - ROR $64-11, h - EOR x4 @> 64-11, h, h - MUL prime1, h - -finalize: - EOR h >> 33, h - MUL prime2, h - EOR h >> 29, h - MUL prime3, h - EOR h >> 32, h - - MOVD h, ret+24(FP) - RET - -// func writeBlocks(d *Digest, b []byte) int -TEXT ·writeBlocks(SB), NOSPLIT|NOFRAME, $0-40 - LDP ·primes+0(SB), (prime1, prime2) - - // Load state. Assume v[1-4] are stored contiguously. - MOVD d+0(FP), digest - LDP 0(digest), (v1, v2) - LDP 16(digest), (v3, v4) - - LDP b_base+8(FP), (p, n) - - blockLoop() - - // Store updated state. - STP (v1, v2), 0(digest) - STP (v3, v4), 16(digest) - - BIC $31, n - MOVD n, ret+32(FP) - RET diff --git a/api/vendor/github.com/cespare/xxhash/v2/xxhash_asm.go b/api/vendor/github.com/cespare/xxhash/v2/xxhash_asm.go deleted file mode 100644 index 78f95f256103..000000000000 --- a/api/vendor/github.com/cespare/xxhash/v2/xxhash_asm.go +++ /dev/null @@ -1,15 +0,0 @@ -//go:build (amd64 || arm64) && !appengine && gc && !purego -// +build amd64 arm64 -// +build !appengine -// +build gc -// +build !purego - -package xxhash - -// Sum64 computes the 64-bit xxHash digest of b with a zero seed. -// -//go:noescape -func Sum64(b []byte) uint64 - -//go:noescape -func writeBlocks(d *Digest, b []byte) int diff --git a/api/vendor/github.com/cespare/xxhash/v2/xxhash_other.go b/api/vendor/github.com/cespare/xxhash/v2/xxhash_other.go deleted file mode 100644 index 118e49e819e0..000000000000 --- a/api/vendor/github.com/cespare/xxhash/v2/xxhash_other.go +++ /dev/null @@ -1,76 +0,0 @@ -//go:build (!amd64 && !arm64) || appengine || !gc || purego -// +build !amd64,!arm64 appengine !gc purego - -package xxhash - -// Sum64 computes the 64-bit xxHash digest of b with a zero seed. -func Sum64(b []byte) uint64 { - // A simpler version would be - // d := New() - // d.Write(b) - // return d.Sum64() - // but this is faster, particularly for small inputs. - - n := len(b) - var h uint64 - - if n >= 32 { - v1 := primes[0] + prime2 - v2 := prime2 - v3 := uint64(0) - v4 := -primes[0] - for len(b) >= 32 { - v1 = round(v1, u64(b[0:8:len(b)])) - v2 = round(v2, u64(b[8:16:len(b)])) - v3 = round(v3, u64(b[16:24:len(b)])) - v4 = round(v4, u64(b[24:32:len(b)])) - b = b[32:len(b):len(b)] - } - h = rol1(v1) + rol7(v2) + rol12(v3) + rol18(v4) - h = mergeRound(h, v1) - h = mergeRound(h, v2) - h = mergeRound(h, v3) - h = mergeRound(h, v4) - } else { - h = prime5 - } - - h += uint64(n) - - for ; len(b) >= 8; b = b[8:] { - k1 := round(0, u64(b[:8])) - h ^= k1 - h = rol27(h)*prime1 + prime4 - } - if len(b) >= 4 { - h ^= uint64(u32(b[:4])) * prime1 - h = rol23(h)*prime2 + prime3 - b = b[4:] - } - for ; len(b) > 0; b = b[1:] { - h ^= uint64(b[0]) * prime5 - h = rol11(h) * prime1 - } - - h ^= h >> 33 - h *= prime2 - h ^= h >> 29 - h *= prime3 - h ^= h >> 32 - - return h -} - -func writeBlocks(d *Digest, b []byte) int { - v1, v2, v3, v4 := d.v1, d.v2, d.v3, d.v4 - n := len(b) - for len(b) >= 32 { - v1 = round(v1, u64(b[0:8:len(b)])) - v2 = round(v2, u64(b[8:16:len(b)])) - v3 = round(v3, u64(b[16:24:len(b)])) - v4 = round(v4, u64(b[24:32:len(b)])) - b = b[32:len(b):len(b)] - } - d.v1, d.v2, d.v3, d.v4 = v1, v2, v3, v4 - return n - len(b) -} diff --git a/api/vendor/github.com/cespare/xxhash/v2/xxhash_safe.go b/api/vendor/github.com/cespare/xxhash/v2/xxhash_safe.go deleted file mode 100644 index 05f5e7dfe7b7..000000000000 --- a/api/vendor/github.com/cespare/xxhash/v2/xxhash_safe.go +++ /dev/null @@ -1,16 +0,0 @@ -//go:build appengine -// +build appengine - -// This file contains the safe implementations of otherwise unsafe-using code. - -package xxhash - -// Sum64String computes the 64-bit xxHash digest of s with a zero seed. -func Sum64String(s string) uint64 { - return Sum64([]byte(s)) -} - -// WriteString adds more data to d. It always returns len(s), nil. -func (d *Digest) WriteString(s string) (n int, err error) { - return d.Write([]byte(s)) -} diff --git a/api/vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go b/api/vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go deleted file mode 100644 index cf9d42aed536..000000000000 --- a/api/vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go +++ /dev/null @@ -1,58 +0,0 @@ -//go:build !appengine -// +build !appengine - -// This file encapsulates usage of unsafe. -// xxhash_safe.go contains the safe implementations. - -package xxhash - -import ( - "unsafe" -) - -// In the future it's possible that compiler optimizations will make these -// XxxString functions unnecessary by realizing that calls such as -// Sum64([]byte(s)) don't need to copy s. See https://go.dev/issue/2205. -// If that happens, even if we keep these functions they can be replaced with -// the trivial safe code. - -// NOTE: The usual way of doing an unsafe string-to-[]byte conversion is: -// -// var b []byte -// bh := (*reflect.SliceHeader)(unsafe.Pointer(&b)) -// bh.Data = (*reflect.StringHeader)(unsafe.Pointer(&s)).Data -// bh.Len = len(s) -// bh.Cap = len(s) -// -// Unfortunately, as of Go 1.15.3 the inliner's cost model assigns a high enough -// weight to this sequence of expressions that any function that uses it will -// not be inlined. Instead, the functions below use a different unsafe -// conversion designed to minimize the inliner weight and allow both to be -// inlined. There is also a test (TestInlining) which verifies that these are -// inlined. -// -// See https://github.com/golang/go/issues/42739 for discussion. - -// Sum64String computes the 64-bit xxHash digest of s with a zero seed. -// It may be faster than Sum64([]byte(s)) by avoiding a copy. -func Sum64String(s string) uint64 { - b := *(*[]byte)(unsafe.Pointer(&sliceHeader{s, len(s)})) - return Sum64(b) -} - -// WriteString adds more data to d. It always returns len(s), nil. -// It may be faster than Write([]byte(s)) by avoiding a copy. -func (d *Digest) WriteString(s string) (n int, err error) { - d.Write(*(*[]byte)(unsafe.Pointer(&sliceHeader{s, len(s)}))) - // d.Write always returns len(s), nil. - // Ignoring the return output and returning these fixed values buys a - // savings of 6 in the inliner's cost model. - return len(s), nil -} - -// sliceHeader is similar to reflect.SliceHeader, but it assumes that the layout -// of the first two words is the same as the layout of a string. -type sliceHeader struct { - s string - cap int -} diff --git a/api/vendor/github.com/davecgh/go-spew/LICENSE b/api/vendor/github.com/davecgh/go-spew/LICENSE deleted file mode 100644 index bc52e96f2b0e..000000000000 --- a/api/vendor/github.com/davecgh/go-spew/LICENSE +++ /dev/null @@ -1,15 +0,0 @@ -ISC License - -Copyright (c) 2012-2016 Dave Collins - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/api/vendor/github.com/davecgh/go-spew/spew/bypass.go b/api/vendor/github.com/davecgh/go-spew/spew/bypass.go deleted file mode 100644 index 792994785e36..000000000000 --- a/api/vendor/github.com/davecgh/go-spew/spew/bypass.go +++ /dev/null @@ -1,145 +0,0 @@ -// Copyright (c) 2015-2016 Dave Collins -// -// Permission to use, copy, modify, and distribute this software for any -// purpose with or without fee is hereby granted, provided that the above -// copyright notice and this permission notice appear in all copies. -// -// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -// NOTE: Due to the following build constraints, this file will only be compiled -// when the code is not running on Google App Engine, compiled by GopherJS, and -// "-tags safe" is not added to the go build command line. The "disableunsafe" -// tag is deprecated and thus should not be used. -// Go versions prior to 1.4 are disabled because they use a different layout -// for interfaces which make the implementation of unsafeReflectValue more complex. -// +build !js,!appengine,!safe,!disableunsafe,go1.4 - -package spew - -import ( - "reflect" - "unsafe" -) - -const ( - // UnsafeDisabled is a build-time constant which specifies whether or - // not access to the unsafe package is available. - UnsafeDisabled = false - - // ptrSize is the size of a pointer on the current arch. - ptrSize = unsafe.Sizeof((*byte)(nil)) -) - -type flag uintptr - -var ( - // flagRO indicates whether the value field of a reflect.Value - // is read-only. - flagRO flag - - // flagAddr indicates whether the address of the reflect.Value's - // value may be taken. - flagAddr flag -) - -// flagKindMask holds the bits that make up the kind -// part of the flags field. In all the supported versions, -// it is in the lower 5 bits. -const flagKindMask = flag(0x1f) - -// Different versions of Go have used different -// bit layouts for the flags type. This table -// records the known combinations. -var okFlags = []struct { - ro, addr flag -}{{ - // From Go 1.4 to 1.5 - ro: 1 << 5, - addr: 1 << 7, -}, { - // Up to Go tip. - ro: 1<<5 | 1<<6, - addr: 1 << 8, -}} - -var flagValOffset = func() uintptr { - field, ok := reflect.TypeOf(reflect.Value{}).FieldByName("flag") - if !ok { - panic("reflect.Value has no flag field") - } - return field.Offset -}() - -// flagField returns a pointer to the flag field of a reflect.Value. -func flagField(v *reflect.Value) *flag { - return (*flag)(unsafe.Pointer(uintptr(unsafe.Pointer(v)) + flagValOffset)) -} - -// unsafeReflectValue converts the passed reflect.Value into a one that bypasses -// the typical safety restrictions preventing access to unaddressable and -// unexported data. It works by digging the raw pointer to the underlying -// value out of the protected value and generating a new unprotected (unsafe) -// reflect.Value to it. -// -// This allows us to check for implementations of the Stringer and error -// interfaces to be used for pretty printing ordinarily unaddressable and -// inaccessible values such as unexported struct fields. -func unsafeReflectValue(v reflect.Value) reflect.Value { - if !v.IsValid() || (v.CanInterface() && v.CanAddr()) { - return v - } - flagFieldPtr := flagField(&v) - *flagFieldPtr &^= flagRO - *flagFieldPtr |= flagAddr - return v -} - -// Sanity checks against future reflect package changes -// to the type or semantics of the Value.flag field. -func init() { - field, ok := reflect.TypeOf(reflect.Value{}).FieldByName("flag") - if !ok { - panic("reflect.Value has no flag field") - } - if field.Type.Kind() != reflect.TypeOf(flag(0)).Kind() { - panic("reflect.Value flag field has changed kind") - } - type t0 int - var t struct { - A t0 - // t0 will have flagEmbedRO set. - t0 - // a will have flagStickyRO set - a t0 - } - vA := reflect.ValueOf(t).FieldByName("A") - va := reflect.ValueOf(t).FieldByName("a") - vt0 := reflect.ValueOf(t).FieldByName("t0") - - // Infer flagRO from the difference between the flags - // for the (otherwise identical) fields in t. - flagPublic := *flagField(&vA) - flagWithRO := *flagField(&va) | *flagField(&vt0) - flagRO = flagPublic ^ flagWithRO - - // Infer flagAddr from the difference between a value - // taken from a pointer and not. - vPtrA := reflect.ValueOf(&t).Elem().FieldByName("A") - flagNoPtr := *flagField(&vA) - flagPtr := *flagField(&vPtrA) - flagAddr = flagNoPtr ^ flagPtr - - // Check that the inferred flags tally with one of the known versions. - for _, f := range okFlags { - if flagRO == f.ro && flagAddr == f.addr { - return - } - } - panic("reflect.Value read-only flag has changed semantics") -} diff --git a/api/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go b/api/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go deleted file mode 100644 index 205c28d68c47..000000000000 --- a/api/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (c) 2015-2016 Dave Collins -// -// Permission to use, copy, modify, and distribute this software for any -// purpose with or without fee is hereby granted, provided that the above -// copyright notice and this permission notice appear in all copies. -// -// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -// NOTE: Due to the following build constraints, this file will only be compiled -// when the code is running on Google App Engine, compiled by GopherJS, or -// "-tags safe" is added to the go build command line. The "disableunsafe" -// tag is deprecated and thus should not be used. -// +build js appengine safe disableunsafe !go1.4 - -package spew - -import "reflect" - -const ( - // UnsafeDisabled is a build-time constant which specifies whether or - // not access to the unsafe package is available. - UnsafeDisabled = true -) - -// unsafeReflectValue typically converts the passed reflect.Value into a one -// that bypasses the typical safety restrictions preventing access to -// unaddressable and unexported data. However, doing this relies on access to -// the unsafe package. This is a stub version which simply returns the passed -// reflect.Value when the unsafe package is not available. -func unsafeReflectValue(v reflect.Value) reflect.Value { - return v -} diff --git a/api/vendor/github.com/davecgh/go-spew/spew/common.go b/api/vendor/github.com/davecgh/go-spew/spew/common.go deleted file mode 100644 index 1be8ce945761..000000000000 --- a/api/vendor/github.com/davecgh/go-spew/spew/common.go +++ /dev/null @@ -1,341 +0,0 @@ -/* - * Copyright (c) 2013-2016 Dave Collins - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -package spew - -import ( - "bytes" - "fmt" - "io" - "reflect" - "sort" - "strconv" -) - -// Some constants in the form of bytes to avoid string overhead. This mirrors -// the technique used in the fmt package. -var ( - panicBytes = []byte("(PANIC=") - plusBytes = []byte("+") - iBytes = []byte("i") - trueBytes = []byte("true") - falseBytes = []byte("false") - interfaceBytes = []byte("(interface {})") - commaNewlineBytes = []byte(",\n") - newlineBytes = []byte("\n") - openBraceBytes = []byte("{") - openBraceNewlineBytes = []byte("{\n") - closeBraceBytes = []byte("}") - asteriskBytes = []byte("*") - colonBytes = []byte(":") - colonSpaceBytes = []byte(": ") - openParenBytes = []byte("(") - closeParenBytes = []byte(")") - spaceBytes = []byte(" ") - pointerChainBytes = []byte("->") - nilAngleBytes = []byte("") - maxNewlineBytes = []byte("\n") - maxShortBytes = []byte("") - circularBytes = []byte("") - circularShortBytes = []byte("") - invalidAngleBytes = []byte("") - openBracketBytes = []byte("[") - closeBracketBytes = []byte("]") - percentBytes = []byte("%") - precisionBytes = []byte(".") - openAngleBytes = []byte("<") - closeAngleBytes = []byte(">") - openMapBytes = []byte("map[") - closeMapBytes = []byte("]") - lenEqualsBytes = []byte("len=") - capEqualsBytes = []byte("cap=") -) - -// hexDigits is used to map a decimal value to a hex digit. -var hexDigits = "0123456789abcdef" - -// catchPanic handles any panics that might occur during the handleMethods -// calls. -func catchPanic(w io.Writer, v reflect.Value) { - if err := recover(); err != nil { - w.Write(panicBytes) - fmt.Fprintf(w, "%v", err) - w.Write(closeParenBytes) - } -} - -// handleMethods attempts to call the Error and String methods on the underlying -// type the passed reflect.Value represents and outputes the result to Writer w. -// -// It handles panics in any called methods by catching and displaying the error -// as the formatted value. -func handleMethods(cs *ConfigState, w io.Writer, v reflect.Value) (handled bool) { - // We need an interface to check if the type implements the error or - // Stringer interface. However, the reflect package won't give us an - // interface on certain things like unexported struct fields in order - // to enforce visibility rules. We use unsafe, when it's available, - // to bypass these restrictions since this package does not mutate the - // values. - if !v.CanInterface() { - if UnsafeDisabled { - return false - } - - v = unsafeReflectValue(v) - } - - // Choose whether or not to do error and Stringer interface lookups against - // the base type or a pointer to the base type depending on settings. - // Technically calling one of these methods with a pointer receiver can - // mutate the value, however, types which choose to satisify an error or - // Stringer interface with a pointer receiver should not be mutating their - // state inside these interface methods. - if !cs.DisablePointerMethods && !UnsafeDisabled && !v.CanAddr() { - v = unsafeReflectValue(v) - } - if v.CanAddr() { - v = v.Addr() - } - - // Is it an error or Stringer? - switch iface := v.Interface().(type) { - case error: - defer catchPanic(w, v) - if cs.ContinueOnMethod { - w.Write(openParenBytes) - w.Write([]byte(iface.Error())) - w.Write(closeParenBytes) - w.Write(spaceBytes) - return false - } - - w.Write([]byte(iface.Error())) - return true - - case fmt.Stringer: - defer catchPanic(w, v) - if cs.ContinueOnMethod { - w.Write(openParenBytes) - w.Write([]byte(iface.String())) - w.Write(closeParenBytes) - w.Write(spaceBytes) - return false - } - w.Write([]byte(iface.String())) - return true - } - return false -} - -// printBool outputs a boolean value as true or false to Writer w. -func printBool(w io.Writer, val bool) { - if val { - w.Write(trueBytes) - } else { - w.Write(falseBytes) - } -} - -// printInt outputs a signed integer value to Writer w. -func printInt(w io.Writer, val int64, base int) { - w.Write([]byte(strconv.FormatInt(val, base))) -} - -// printUint outputs an unsigned integer value to Writer w. -func printUint(w io.Writer, val uint64, base int) { - w.Write([]byte(strconv.FormatUint(val, base))) -} - -// printFloat outputs a floating point value using the specified precision, -// which is expected to be 32 or 64bit, to Writer w. -func printFloat(w io.Writer, val float64, precision int) { - w.Write([]byte(strconv.FormatFloat(val, 'g', -1, precision))) -} - -// printComplex outputs a complex value using the specified float precision -// for the real and imaginary parts to Writer w. -func printComplex(w io.Writer, c complex128, floatPrecision int) { - r := real(c) - w.Write(openParenBytes) - w.Write([]byte(strconv.FormatFloat(r, 'g', -1, floatPrecision))) - i := imag(c) - if i >= 0 { - w.Write(plusBytes) - } - w.Write([]byte(strconv.FormatFloat(i, 'g', -1, floatPrecision))) - w.Write(iBytes) - w.Write(closeParenBytes) -} - -// printHexPtr outputs a uintptr formatted as hexadecimal with a leading '0x' -// prefix to Writer w. -func printHexPtr(w io.Writer, p uintptr) { - // Null pointer. - num := uint64(p) - if num == 0 { - w.Write(nilAngleBytes) - return - } - - // Max uint64 is 16 bytes in hex + 2 bytes for '0x' prefix - buf := make([]byte, 18) - - // It's simpler to construct the hex string right to left. - base := uint64(16) - i := len(buf) - 1 - for num >= base { - buf[i] = hexDigits[num%base] - num /= base - i-- - } - buf[i] = hexDigits[num] - - // Add '0x' prefix. - i-- - buf[i] = 'x' - i-- - buf[i] = '0' - - // Strip unused leading bytes. - buf = buf[i:] - w.Write(buf) -} - -// valuesSorter implements sort.Interface to allow a slice of reflect.Value -// elements to be sorted. -type valuesSorter struct { - values []reflect.Value - strings []string // either nil or same len and values - cs *ConfigState -} - -// newValuesSorter initializes a valuesSorter instance, which holds a set of -// surrogate keys on which the data should be sorted. It uses flags in -// ConfigState to decide if and how to populate those surrogate keys. -func newValuesSorter(values []reflect.Value, cs *ConfigState) sort.Interface { - vs := &valuesSorter{values: values, cs: cs} - if canSortSimply(vs.values[0].Kind()) { - return vs - } - if !cs.DisableMethods { - vs.strings = make([]string, len(values)) - for i := range vs.values { - b := bytes.Buffer{} - if !handleMethods(cs, &b, vs.values[i]) { - vs.strings = nil - break - } - vs.strings[i] = b.String() - } - } - if vs.strings == nil && cs.SpewKeys { - vs.strings = make([]string, len(values)) - for i := range vs.values { - vs.strings[i] = Sprintf("%#v", vs.values[i].Interface()) - } - } - return vs -} - -// canSortSimply tests whether a reflect.Kind is a primitive that can be sorted -// directly, or whether it should be considered for sorting by surrogate keys -// (if the ConfigState allows it). -func canSortSimply(kind reflect.Kind) bool { - // This switch parallels valueSortLess, except for the default case. - switch kind { - case reflect.Bool: - return true - case reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Int: - return true - case reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uint: - return true - case reflect.Float32, reflect.Float64: - return true - case reflect.String: - return true - case reflect.Uintptr: - return true - case reflect.Array: - return true - } - return false -} - -// Len returns the number of values in the slice. It is part of the -// sort.Interface implementation. -func (s *valuesSorter) Len() int { - return len(s.values) -} - -// Swap swaps the values at the passed indices. It is part of the -// sort.Interface implementation. -func (s *valuesSorter) Swap(i, j int) { - s.values[i], s.values[j] = s.values[j], s.values[i] - if s.strings != nil { - s.strings[i], s.strings[j] = s.strings[j], s.strings[i] - } -} - -// valueSortLess returns whether the first value should sort before the second -// value. It is used by valueSorter.Less as part of the sort.Interface -// implementation. -func valueSortLess(a, b reflect.Value) bool { - switch a.Kind() { - case reflect.Bool: - return !a.Bool() && b.Bool() - case reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Int: - return a.Int() < b.Int() - case reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uint: - return a.Uint() < b.Uint() - case reflect.Float32, reflect.Float64: - return a.Float() < b.Float() - case reflect.String: - return a.String() < b.String() - case reflect.Uintptr: - return a.Uint() < b.Uint() - case reflect.Array: - // Compare the contents of both arrays. - l := a.Len() - for i := 0; i < l; i++ { - av := a.Index(i) - bv := b.Index(i) - if av.Interface() == bv.Interface() { - continue - } - return valueSortLess(av, bv) - } - } - return a.String() < b.String() -} - -// Less returns whether the value at index i should sort before the -// value at index j. It is part of the sort.Interface implementation. -func (s *valuesSorter) Less(i, j int) bool { - if s.strings == nil { - return valueSortLess(s.values[i], s.values[j]) - } - return s.strings[i] < s.strings[j] -} - -// sortValues is a sort function that handles both native types and any type that -// can be converted to error or Stringer. Other inputs are sorted according to -// their Value.String() value to ensure display stability. -func sortValues(values []reflect.Value, cs *ConfigState) { - if len(values) == 0 { - return - } - sort.Sort(newValuesSorter(values, cs)) -} diff --git a/api/vendor/github.com/davecgh/go-spew/spew/config.go b/api/vendor/github.com/davecgh/go-spew/spew/config.go deleted file mode 100644 index 2e3d22f31202..000000000000 --- a/api/vendor/github.com/davecgh/go-spew/spew/config.go +++ /dev/null @@ -1,306 +0,0 @@ -/* - * Copyright (c) 2013-2016 Dave Collins - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -package spew - -import ( - "bytes" - "fmt" - "io" - "os" -) - -// ConfigState houses the configuration options used by spew to format and -// display values. There is a global instance, Config, that is used to control -// all top-level Formatter and Dump functionality. Each ConfigState instance -// provides methods equivalent to the top-level functions. -// -// The zero value for ConfigState provides no indentation. You would typically -// want to set it to a space or a tab. -// -// Alternatively, you can use NewDefaultConfig to get a ConfigState instance -// with default settings. See the documentation of NewDefaultConfig for default -// values. -type ConfigState struct { - // Indent specifies the string to use for each indentation level. The - // global config instance that all top-level functions use set this to a - // single space by default. If you would like more indentation, you might - // set this to a tab with "\t" or perhaps two spaces with " ". - Indent string - - // MaxDepth controls the maximum number of levels to descend into nested - // data structures. The default, 0, means there is no limit. - // - // NOTE: Circular data structures are properly detected, so it is not - // necessary to set this value unless you specifically want to limit deeply - // nested data structures. - MaxDepth int - - // DisableMethods specifies whether or not error and Stringer interfaces are - // invoked for types that implement them. - DisableMethods bool - - // DisablePointerMethods specifies whether or not to check for and invoke - // error and Stringer interfaces on types which only accept a pointer - // receiver when the current type is not a pointer. - // - // NOTE: This might be an unsafe action since calling one of these methods - // with a pointer receiver could technically mutate the value, however, - // in practice, types which choose to satisify an error or Stringer - // interface with a pointer receiver should not be mutating their state - // inside these interface methods. As a result, this option relies on - // access to the unsafe package, so it will not have any effect when - // running in environments without access to the unsafe package such as - // Google App Engine or with the "safe" build tag specified. - DisablePointerMethods bool - - // DisablePointerAddresses specifies whether to disable the printing of - // pointer addresses. This is useful when diffing data structures in tests. - DisablePointerAddresses bool - - // DisableCapacities specifies whether to disable the printing of capacities - // for arrays, slices, maps and channels. This is useful when diffing - // data structures in tests. - DisableCapacities bool - - // ContinueOnMethod specifies whether or not recursion should continue once - // a custom error or Stringer interface is invoked. The default, false, - // means it will print the results of invoking the custom error or Stringer - // interface and return immediately instead of continuing to recurse into - // the internals of the data type. - // - // NOTE: This flag does not have any effect if method invocation is disabled - // via the DisableMethods or DisablePointerMethods options. - ContinueOnMethod bool - - // SortKeys specifies map keys should be sorted before being printed. Use - // this to have a more deterministic, diffable output. Note that only - // native types (bool, int, uint, floats, uintptr and string) and types - // that support the error or Stringer interfaces (if methods are - // enabled) are supported, with other types sorted according to the - // reflect.Value.String() output which guarantees display stability. - SortKeys bool - - // SpewKeys specifies that, as a last resort attempt, map keys should - // be spewed to strings and sorted by those strings. This is only - // considered if SortKeys is true. - SpewKeys bool -} - -// Config is the active configuration of the top-level functions. -// The configuration can be changed by modifying the contents of spew.Config. -var Config = ConfigState{Indent: " "} - -// Errorf is a wrapper for fmt.Errorf that treats each argument as if it were -// passed with a Formatter interface returned by c.NewFormatter. It returns -// the formatted string as a value that satisfies error. See NewFormatter -// for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Errorf(format, c.NewFormatter(a), c.NewFormatter(b)) -func (c *ConfigState) Errorf(format string, a ...interface{}) (err error) { - return fmt.Errorf(format, c.convertArgs(a)...) -} - -// Fprint is a wrapper for fmt.Fprint that treats each argument as if it were -// passed with a Formatter interface returned by c.NewFormatter. It returns -// the number of bytes written and any write error encountered. See -// NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Fprint(w, c.NewFormatter(a), c.NewFormatter(b)) -func (c *ConfigState) Fprint(w io.Writer, a ...interface{}) (n int, err error) { - return fmt.Fprint(w, c.convertArgs(a)...) -} - -// Fprintf is a wrapper for fmt.Fprintf that treats each argument as if it were -// passed with a Formatter interface returned by c.NewFormatter. It returns -// the number of bytes written and any write error encountered. See -// NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Fprintf(w, format, c.NewFormatter(a), c.NewFormatter(b)) -func (c *ConfigState) Fprintf(w io.Writer, format string, a ...interface{}) (n int, err error) { - return fmt.Fprintf(w, format, c.convertArgs(a)...) -} - -// Fprintln is a wrapper for fmt.Fprintln that treats each argument as if it -// passed with a Formatter interface returned by c.NewFormatter. See -// NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Fprintln(w, c.NewFormatter(a), c.NewFormatter(b)) -func (c *ConfigState) Fprintln(w io.Writer, a ...interface{}) (n int, err error) { - return fmt.Fprintln(w, c.convertArgs(a)...) -} - -// Print is a wrapper for fmt.Print that treats each argument as if it were -// passed with a Formatter interface returned by c.NewFormatter. It returns -// the number of bytes written and any write error encountered. See -// NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Print(c.NewFormatter(a), c.NewFormatter(b)) -func (c *ConfigState) Print(a ...interface{}) (n int, err error) { - return fmt.Print(c.convertArgs(a)...) -} - -// Printf is a wrapper for fmt.Printf that treats each argument as if it were -// passed with a Formatter interface returned by c.NewFormatter. It returns -// the number of bytes written and any write error encountered. See -// NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Printf(format, c.NewFormatter(a), c.NewFormatter(b)) -func (c *ConfigState) Printf(format string, a ...interface{}) (n int, err error) { - return fmt.Printf(format, c.convertArgs(a)...) -} - -// Println is a wrapper for fmt.Println that treats each argument as if it were -// passed with a Formatter interface returned by c.NewFormatter. It returns -// the number of bytes written and any write error encountered. See -// NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Println(c.NewFormatter(a), c.NewFormatter(b)) -func (c *ConfigState) Println(a ...interface{}) (n int, err error) { - return fmt.Println(c.convertArgs(a)...) -} - -// Sprint is a wrapper for fmt.Sprint that treats each argument as if it were -// passed with a Formatter interface returned by c.NewFormatter. It returns -// the resulting string. See NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Sprint(c.NewFormatter(a), c.NewFormatter(b)) -func (c *ConfigState) Sprint(a ...interface{}) string { - return fmt.Sprint(c.convertArgs(a)...) -} - -// Sprintf is a wrapper for fmt.Sprintf that treats each argument as if it were -// passed with a Formatter interface returned by c.NewFormatter. It returns -// the resulting string. See NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Sprintf(format, c.NewFormatter(a), c.NewFormatter(b)) -func (c *ConfigState) Sprintf(format string, a ...interface{}) string { - return fmt.Sprintf(format, c.convertArgs(a)...) -} - -// Sprintln is a wrapper for fmt.Sprintln that treats each argument as if it -// were passed with a Formatter interface returned by c.NewFormatter. It -// returns the resulting string. See NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Sprintln(c.NewFormatter(a), c.NewFormatter(b)) -func (c *ConfigState) Sprintln(a ...interface{}) string { - return fmt.Sprintln(c.convertArgs(a)...) -} - -/* -NewFormatter returns a custom formatter that satisfies the fmt.Formatter -interface. As a result, it integrates cleanly with standard fmt package -printing functions. The formatter is useful for inline printing of smaller data -types similar to the standard %v format specifier. - -The custom formatter only responds to the %v (most compact), %+v (adds pointer -addresses), %#v (adds types), and %#+v (adds types and pointer addresses) verb -combinations. Any other verbs such as %x and %q will be sent to the the -standard fmt package for formatting. In addition, the custom formatter ignores -the width and precision arguments (however they will still work on the format -specifiers not handled by the custom formatter). - -Typically this function shouldn't be called directly. It is much easier to make -use of the custom formatter by calling one of the convenience functions such as -c.Printf, c.Println, or c.Printf. -*/ -func (c *ConfigState) NewFormatter(v interface{}) fmt.Formatter { - return newFormatter(c, v) -} - -// Fdump formats and displays the passed arguments to io.Writer w. It formats -// exactly the same as Dump. -func (c *ConfigState) Fdump(w io.Writer, a ...interface{}) { - fdump(c, w, a...) -} - -/* -Dump displays the passed parameters to standard out with newlines, customizable -indentation, and additional debug information such as complete types and all -pointer addresses used to indirect to the final value. It provides the -following features over the built-in printing facilities provided by the fmt -package: - - * Pointers are dereferenced and followed - * Circular data structures are detected and handled properly - * Custom Stringer/error interfaces are optionally invoked, including - on unexported types - * Custom types which only implement the Stringer/error interfaces via - a pointer receiver are optionally invoked when passing non-pointer - variables - * Byte arrays and slices are dumped like the hexdump -C command which - includes offsets, byte values in hex, and ASCII output - -The configuration options are controlled by modifying the public members -of c. See ConfigState for options documentation. - -See Fdump if you would prefer dumping to an arbitrary io.Writer or Sdump to -get the formatted result as a string. -*/ -func (c *ConfigState) Dump(a ...interface{}) { - fdump(c, os.Stdout, a...) -} - -// Sdump returns a string with the passed arguments formatted exactly the same -// as Dump. -func (c *ConfigState) Sdump(a ...interface{}) string { - var buf bytes.Buffer - fdump(c, &buf, a...) - return buf.String() -} - -// convertArgs accepts a slice of arguments and returns a slice of the same -// length with each argument converted to a spew Formatter interface using -// the ConfigState associated with s. -func (c *ConfigState) convertArgs(args []interface{}) (formatters []interface{}) { - formatters = make([]interface{}, len(args)) - for index, arg := range args { - formatters[index] = newFormatter(c, arg) - } - return formatters -} - -// NewDefaultConfig returns a ConfigState with the following default settings. -// -// Indent: " " -// MaxDepth: 0 -// DisableMethods: false -// DisablePointerMethods: false -// ContinueOnMethod: false -// SortKeys: false -func NewDefaultConfig() *ConfigState { - return &ConfigState{Indent: " "} -} diff --git a/api/vendor/github.com/davecgh/go-spew/spew/doc.go b/api/vendor/github.com/davecgh/go-spew/spew/doc.go deleted file mode 100644 index aacaac6f1e1e..000000000000 --- a/api/vendor/github.com/davecgh/go-spew/spew/doc.go +++ /dev/null @@ -1,211 +0,0 @@ -/* - * Copyright (c) 2013-2016 Dave Collins - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -/* -Package spew implements a deep pretty printer for Go data structures to aid in -debugging. - -A quick overview of the additional features spew provides over the built-in -printing facilities for Go data types are as follows: - - * Pointers are dereferenced and followed - * Circular data structures are detected and handled properly - * Custom Stringer/error interfaces are optionally invoked, including - on unexported types - * Custom types which only implement the Stringer/error interfaces via - a pointer receiver are optionally invoked when passing non-pointer - variables - * Byte arrays and slices are dumped like the hexdump -C command which - includes offsets, byte values in hex, and ASCII output (only when using - Dump style) - -There are two different approaches spew allows for dumping Go data structures: - - * Dump style which prints with newlines, customizable indentation, - and additional debug information such as types and all pointer addresses - used to indirect to the final value - * A custom Formatter interface that integrates cleanly with the standard fmt - package and replaces %v, %+v, %#v, and %#+v to provide inline printing - similar to the default %v while providing the additional functionality - outlined above and passing unsupported format verbs such as %x and %q - along to fmt - -Quick Start - -This section demonstrates how to quickly get started with spew. See the -sections below for further details on formatting and configuration options. - -To dump a variable with full newlines, indentation, type, and pointer -information use Dump, Fdump, or Sdump: - spew.Dump(myVar1, myVar2, ...) - spew.Fdump(someWriter, myVar1, myVar2, ...) - str := spew.Sdump(myVar1, myVar2, ...) - -Alternatively, if you would prefer to use format strings with a compacted inline -printing style, use the convenience wrappers Printf, Fprintf, etc with -%v (most compact), %+v (adds pointer addresses), %#v (adds types), or -%#+v (adds types and pointer addresses): - spew.Printf("myVar1: %v -- myVar2: %+v", myVar1, myVar2) - spew.Printf("myVar3: %#v -- myVar4: %#+v", myVar3, myVar4) - spew.Fprintf(someWriter, "myVar1: %v -- myVar2: %+v", myVar1, myVar2) - spew.Fprintf(someWriter, "myVar3: %#v -- myVar4: %#+v", myVar3, myVar4) - -Configuration Options - -Configuration of spew is handled by fields in the ConfigState type. For -convenience, all of the top-level functions use a global state available -via the spew.Config global. - -It is also possible to create a ConfigState instance that provides methods -equivalent to the top-level functions. This allows concurrent configuration -options. See the ConfigState documentation for more details. - -The following configuration options are available: - * Indent - String to use for each indentation level for Dump functions. - It is a single space by default. A popular alternative is "\t". - - * MaxDepth - Maximum number of levels to descend into nested data structures. - There is no limit by default. - - * DisableMethods - Disables invocation of error and Stringer interface methods. - Method invocation is enabled by default. - - * DisablePointerMethods - Disables invocation of error and Stringer interface methods on types - which only accept pointer receivers from non-pointer variables. - Pointer method invocation is enabled by default. - - * DisablePointerAddresses - DisablePointerAddresses specifies whether to disable the printing of - pointer addresses. This is useful when diffing data structures in tests. - - * DisableCapacities - DisableCapacities specifies whether to disable the printing of - capacities for arrays, slices, maps and channels. This is useful when - diffing data structures in tests. - - * ContinueOnMethod - Enables recursion into types after invoking error and Stringer interface - methods. Recursion after method invocation is disabled by default. - - * SortKeys - Specifies map keys should be sorted before being printed. Use - this to have a more deterministic, diffable output. Note that - only native types (bool, int, uint, floats, uintptr and string) - and types which implement error or Stringer interfaces are - supported with other types sorted according to the - reflect.Value.String() output which guarantees display - stability. Natural map order is used by default. - - * SpewKeys - Specifies that, as a last resort attempt, map keys should be - spewed to strings and sorted by those strings. This is only - considered if SortKeys is true. - -Dump Usage - -Simply call spew.Dump with a list of variables you want to dump: - - spew.Dump(myVar1, myVar2, ...) - -You may also call spew.Fdump if you would prefer to output to an arbitrary -io.Writer. For example, to dump to standard error: - - spew.Fdump(os.Stderr, myVar1, myVar2, ...) - -A third option is to call spew.Sdump to get the formatted output as a string: - - str := spew.Sdump(myVar1, myVar2, ...) - -Sample Dump Output - -See the Dump example for details on the setup of the types and variables being -shown here. - - (main.Foo) { - unexportedField: (*main.Bar)(0xf84002e210)({ - flag: (main.Flag) flagTwo, - data: (uintptr) - }), - ExportedField: (map[interface {}]interface {}) (len=1) { - (string) (len=3) "one": (bool) true - } - } - -Byte (and uint8) arrays and slices are displayed uniquely like the hexdump -C -command as shown. - ([]uint8) (len=32 cap=32) { - 00000000 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 |............... | - 00000010 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30 |!"#$%&'()*+,-./0| - 00000020 31 32 |12| - } - -Custom Formatter - -Spew provides a custom formatter that implements the fmt.Formatter interface -so that it integrates cleanly with standard fmt package printing functions. The -formatter is useful for inline printing of smaller data types similar to the -standard %v format specifier. - -The custom formatter only responds to the %v (most compact), %+v (adds pointer -addresses), %#v (adds types), or %#+v (adds types and pointer addresses) verb -combinations. Any other verbs such as %x and %q will be sent to the the -standard fmt package for formatting. In addition, the custom formatter ignores -the width and precision arguments (however they will still work on the format -specifiers not handled by the custom formatter). - -Custom Formatter Usage - -The simplest way to make use of the spew custom formatter is to call one of the -convenience functions such as spew.Printf, spew.Println, or spew.Printf. The -functions have syntax you are most likely already familiar with: - - spew.Printf("myVar1: %v -- myVar2: %+v", myVar1, myVar2) - spew.Printf("myVar3: %#v -- myVar4: %#+v", myVar3, myVar4) - spew.Println(myVar, myVar2) - spew.Fprintf(os.Stderr, "myVar1: %v -- myVar2: %+v", myVar1, myVar2) - spew.Fprintf(os.Stderr, "myVar3: %#v -- myVar4: %#+v", myVar3, myVar4) - -See the Index for the full list convenience functions. - -Sample Formatter Output - -Double pointer to a uint8: - %v: <**>5 - %+v: <**>(0xf8400420d0->0xf8400420c8)5 - %#v: (**uint8)5 - %#+v: (**uint8)(0xf8400420d0->0xf8400420c8)5 - -Pointer to circular struct with a uint8 field and a pointer to itself: - %v: <*>{1 <*>} - %+v: <*>(0xf84003e260){ui8:1 c:<*>(0xf84003e260)} - %#v: (*main.circular){ui8:(uint8)1 c:(*main.circular)} - %#+v: (*main.circular)(0xf84003e260){ui8:(uint8)1 c:(*main.circular)(0xf84003e260)} - -See the Printf example for details on the setup of variables being shown -here. - -Errors - -Since it is possible for custom Stringer/error interfaces to panic, spew -detects them and handles them internally by printing the panic information -inline with the output. Since spew is intended to provide deep pretty printing -capabilities on structures, it intentionally does not return any errors. -*/ -package spew diff --git a/api/vendor/github.com/davecgh/go-spew/spew/dump.go b/api/vendor/github.com/davecgh/go-spew/spew/dump.go deleted file mode 100644 index f78d89fc1f6c..000000000000 --- a/api/vendor/github.com/davecgh/go-spew/spew/dump.go +++ /dev/null @@ -1,509 +0,0 @@ -/* - * Copyright (c) 2013-2016 Dave Collins - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -package spew - -import ( - "bytes" - "encoding/hex" - "fmt" - "io" - "os" - "reflect" - "regexp" - "strconv" - "strings" -) - -var ( - // uint8Type is a reflect.Type representing a uint8. It is used to - // convert cgo types to uint8 slices for hexdumping. - uint8Type = reflect.TypeOf(uint8(0)) - - // cCharRE is a regular expression that matches a cgo char. - // It is used to detect character arrays to hexdump them. - cCharRE = regexp.MustCompile(`^.*\._Ctype_char$`) - - // cUnsignedCharRE is a regular expression that matches a cgo unsigned - // char. It is used to detect unsigned character arrays to hexdump - // them. - cUnsignedCharRE = regexp.MustCompile(`^.*\._Ctype_unsignedchar$`) - - // cUint8tCharRE is a regular expression that matches a cgo uint8_t. - // It is used to detect uint8_t arrays to hexdump them. - cUint8tCharRE = regexp.MustCompile(`^.*\._Ctype_uint8_t$`) -) - -// dumpState contains information about the state of a dump operation. -type dumpState struct { - w io.Writer - depth int - pointers map[uintptr]int - ignoreNextType bool - ignoreNextIndent bool - cs *ConfigState -} - -// indent performs indentation according to the depth level and cs.Indent -// option. -func (d *dumpState) indent() { - if d.ignoreNextIndent { - d.ignoreNextIndent = false - return - } - d.w.Write(bytes.Repeat([]byte(d.cs.Indent), d.depth)) -} - -// unpackValue returns values inside of non-nil interfaces when possible. -// This is useful for data types like structs, arrays, slices, and maps which -// can contain varying types packed inside an interface. -func (d *dumpState) unpackValue(v reflect.Value) reflect.Value { - if v.Kind() == reflect.Interface && !v.IsNil() { - v = v.Elem() - } - return v -} - -// dumpPtr handles formatting of pointers by indirecting them as necessary. -func (d *dumpState) dumpPtr(v reflect.Value) { - // Remove pointers at or below the current depth from map used to detect - // circular refs. - for k, depth := range d.pointers { - if depth >= d.depth { - delete(d.pointers, k) - } - } - - // Keep list of all dereferenced pointers to show later. - pointerChain := make([]uintptr, 0) - - // Figure out how many levels of indirection there are by dereferencing - // pointers and unpacking interfaces down the chain while detecting circular - // references. - nilFound := false - cycleFound := false - indirects := 0 - ve := v - for ve.Kind() == reflect.Ptr { - if ve.IsNil() { - nilFound = true - break - } - indirects++ - addr := ve.Pointer() - pointerChain = append(pointerChain, addr) - if pd, ok := d.pointers[addr]; ok && pd < d.depth { - cycleFound = true - indirects-- - break - } - d.pointers[addr] = d.depth - - ve = ve.Elem() - if ve.Kind() == reflect.Interface { - if ve.IsNil() { - nilFound = true - break - } - ve = ve.Elem() - } - } - - // Display type information. - d.w.Write(openParenBytes) - d.w.Write(bytes.Repeat(asteriskBytes, indirects)) - d.w.Write([]byte(ve.Type().String())) - d.w.Write(closeParenBytes) - - // Display pointer information. - if !d.cs.DisablePointerAddresses && len(pointerChain) > 0 { - d.w.Write(openParenBytes) - for i, addr := range pointerChain { - if i > 0 { - d.w.Write(pointerChainBytes) - } - printHexPtr(d.w, addr) - } - d.w.Write(closeParenBytes) - } - - // Display dereferenced value. - d.w.Write(openParenBytes) - switch { - case nilFound: - d.w.Write(nilAngleBytes) - - case cycleFound: - d.w.Write(circularBytes) - - default: - d.ignoreNextType = true - d.dump(ve) - } - d.w.Write(closeParenBytes) -} - -// dumpSlice handles formatting of arrays and slices. Byte (uint8 under -// reflection) arrays and slices are dumped in hexdump -C fashion. -func (d *dumpState) dumpSlice(v reflect.Value) { - // Determine whether this type should be hex dumped or not. Also, - // for types which should be hexdumped, try to use the underlying data - // first, then fall back to trying to convert them to a uint8 slice. - var buf []uint8 - doConvert := false - doHexDump := false - numEntries := v.Len() - if numEntries > 0 { - vt := v.Index(0).Type() - vts := vt.String() - switch { - // C types that need to be converted. - case cCharRE.MatchString(vts): - fallthrough - case cUnsignedCharRE.MatchString(vts): - fallthrough - case cUint8tCharRE.MatchString(vts): - doConvert = true - - // Try to use existing uint8 slices and fall back to converting - // and copying if that fails. - case vt.Kind() == reflect.Uint8: - // We need an addressable interface to convert the type - // to a byte slice. However, the reflect package won't - // give us an interface on certain things like - // unexported struct fields in order to enforce - // visibility rules. We use unsafe, when available, to - // bypass these restrictions since this package does not - // mutate the values. - vs := v - if !vs.CanInterface() || !vs.CanAddr() { - vs = unsafeReflectValue(vs) - } - if !UnsafeDisabled { - vs = vs.Slice(0, numEntries) - - // Use the existing uint8 slice if it can be - // type asserted. - iface := vs.Interface() - if slice, ok := iface.([]uint8); ok { - buf = slice - doHexDump = true - break - } - } - - // The underlying data needs to be converted if it can't - // be type asserted to a uint8 slice. - doConvert = true - } - - // Copy and convert the underlying type if needed. - if doConvert && vt.ConvertibleTo(uint8Type) { - // Convert and copy each element into a uint8 byte - // slice. - buf = make([]uint8, numEntries) - for i := 0; i < numEntries; i++ { - vv := v.Index(i) - buf[i] = uint8(vv.Convert(uint8Type).Uint()) - } - doHexDump = true - } - } - - // Hexdump the entire slice as needed. - if doHexDump { - indent := strings.Repeat(d.cs.Indent, d.depth) - str := indent + hex.Dump(buf) - str = strings.Replace(str, "\n", "\n"+indent, -1) - str = strings.TrimRight(str, d.cs.Indent) - d.w.Write([]byte(str)) - return - } - - // Recursively call dump for each item. - for i := 0; i < numEntries; i++ { - d.dump(d.unpackValue(v.Index(i))) - if i < (numEntries - 1) { - d.w.Write(commaNewlineBytes) - } else { - d.w.Write(newlineBytes) - } - } -} - -// dump is the main workhorse for dumping a value. It uses the passed reflect -// value to figure out what kind of object we are dealing with and formats it -// appropriately. It is a recursive function, however circular data structures -// are detected and handled properly. -func (d *dumpState) dump(v reflect.Value) { - // Handle invalid reflect values immediately. - kind := v.Kind() - if kind == reflect.Invalid { - d.w.Write(invalidAngleBytes) - return - } - - // Handle pointers specially. - if kind == reflect.Ptr { - d.indent() - d.dumpPtr(v) - return - } - - // Print type information unless already handled elsewhere. - if !d.ignoreNextType { - d.indent() - d.w.Write(openParenBytes) - d.w.Write([]byte(v.Type().String())) - d.w.Write(closeParenBytes) - d.w.Write(spaceBytes) - } - d.ignoreNextType = false - - // Display length and capacity if the built-in len and cap functions - // work with the value's kind and the len/cap itself is non-zero. - valueLen, valueCap := 0, 0 - switch v.Kind() { - case reflect.Array, reflect.Slice, reflect.Chan: - valueLen, valueCap = v.Len(), v.Cap() - case reflect.Map, reflect.String: - valueLen = v.Len() - } - if valueLen != 0 || !d.cs.DisableCapacities && valueCap != 0 { - d.w.Write(openParenBytes) - if valueLen != 0 { - d.w.Write(lenEqualsBytes) - printInt(d.w, int64(valueLen), 10) - } - if !d.cs.DisableCapacities && valueCap != 0 { - if valueLen != 0 { - d.w.Write(spaceBytes) - } - d.w.Write(capEqualsBytes) - printInt(d.w, int64(valueCap), 10) - } - d.w.Write(closeParenBytes) - d.w.Write(spaceBytes) - } - - // Call Stringer/error interfaces if they exist and the handle methods flag - // is enabled - if !d.cs.DisableMethods { - if (kind != reflect.Invalid) && (kind != reflect.Interface) { - if handled := handleMethods(d.cs, d.w, v); handled { - return - } - } - } - - switch kind { - case reflect.Invalid: - // Do nothing. We should never get here since invalid has already - // been handled above. - - case reflect.Bool: - printBool(d.w, v.Bool()) - - case reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Int: - printInt(d.w, v.Int(), 10) - - case reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uint: - printUint(d.w, v.Uint(), 10) - - case reflect.Float32: - printFloat(d.w, v.Float(), 32) - - case reflect.Float64: - printFloat(d.w, v.Float(), 64) - - case reflect.Complex64: - printComplex(d.w, v.Complex(), 32) - - case reflect.Complex128: - printComplex(d.w, v.Complex(), 64) - - case reflect.Slice: - if v.IsNil() { - d.w.Write(nilAngleBytes) - break - } - fallthrough - - case reflect.Array: - d.w.Write(openBraceNewlineBytes) - d.depth++ - if (d.cs.MaxDepth != 0) && (d.depth > d.cs.MaxDepth) { - d.indent() - d.w.Write(maxNewlineBytes) - } else { - d.dumpSlice(v) - } - d.depth-- - d.indent() - d.w.Write(closeBraceBytes) - - case reflect.String: - d.w.Write([]byte(strconv.Quote(v.String()))) - - case reflect.Interface: - // The only time we should get here is for nil interfaces due to - // unpackValue calls. - if v.IsNil() { - d.w.Write(nilAngleBytes) - } - - case reflect.Ptr: - // Do nothing. We should never get here since pointers have already - // been handled above. - - case reflect.Map: - // nil maps should be indicated as different than empty maps - if v.IsNil() { - d.w.Write(nilAngleBytes) - break - } - - d.w.Write(openBraceNewlineBytes) - d.depth++ - if (d.cs.MaxDepth != 0) && (d.depth > d.cs.MaxDepth) { - d.indent() - d.w.Write(maxNewlineBytes) - } else { - numEntries := v.Len() - keys := v.MapKeys() - if d.cs.SortKeys { - sortValues(keys, d.cs) - } - for i, key := range keys { - d.dump(d.unpackValue(key)) - d.w.Write(colonSpaceBytes) - d.ignoreNextIndent = true - d.dump(d.unpackValue(v.MapIndex(key))) - if i < (numEntries - 1) { - d.w.Write(commaNewlineBytes) - } else { - d.w.Write(newlineBytes) - } - } - } - d.depth-- - d.indent() - d.w.Write(closeBraceBytes) - - case reflect.Struct: - d.w.Write(openBraceNewlineBytes) - d.depth++ - if (d.cs.MaxDepth != 0) && (d.depth > d.cs.MaxDepth) { - d.indent() - d.w.Write(maxNewlineBytes) - } else { - vt := v.Type() - numFields := v.NumField() - for i := 0; i < numFields; i++ { - d.indent() - vtf := vt.Field(i) - d.w.Write([]byte(vtf.Name)) - d.w.Write(colonSpaceBytes) - d.ignoreNextIndent = true - d.dump(d.unpackValue(v.Field(i))) - if i < (numFields - 1) { - d.w.Write(commaNewlineBytes) - } else { - d.w.Write(newlineBytes) - } - } - } - d.depth-- - d.indent() - d.w.Write(closeBraceBytes) - - case reflect.Uintptr: - printHexPtr(d.w, uintptr(v.Uint())) - - case reflect.UnsafePointer, reflect.Chan, reflect.Func: - printHexPtr(d.w, v.Pointer()) - - // There were not any other types at the time this code was written, but - // fall back to letting the default fmt package handle it in case any new - // types are added. - default: - if v.CanInterface() { - fmt.Fprintf(d.w, "%v", v.Interface()) - } else { - fmt.Fprintf(d.w, "%v", v.String()) - } - } -} - -// fdump is a helper function to consolidate the logic from the various public -// methods which take varying writers and config states. -func fdump(cs *ConfigState, w io.Writer, a ...interface{}) { - for _, arg := range a { - if arg == nil { - w.Write(interfaceBytes) - w.Write(spaceBytes) - w.Write(nilAngleBytes) - w.Write(newlineBytes) - continue - } - - d := dumpState{w: w, cs: cs} - d.pointers = make(map[uintptr]int) - d.dump(reflect.ValueOf(arg)) - d.w.Write(newlineBytes) - } -} - -// Fdump formats and displays the passed arguments to io.Writer w. It formats -// exactly the same as Dump. -func Fdump(w io.Writer, a ...interface{}) { - fdump(&Config, w, a...) -} - -// Sdump returns a string with the passed arguments formatted exactly the same -// as Dump. -func Sdump(a ...interface{}) string { - var buf bytes.Buffer - fdump(&Config, &buf, a...) - return buf.String() -} - -/* -Dump displays the passed parameters to standard out with newlines, customizable -indentation, and additional debug information such as complete types and all -pointer addresses used to indirect to the final value. It provides the -following features over the built-in printing facilities provided by the fmt -package: - - * Pointers are dereferenced and followed - * Circular data structures are detected and handled properly - * Custom Stringer/error interfaces are optionally invoked, including - on unexported types - * Custom types which only implement the Stringer/error interfaces via - a pointer receiver are optionally invoked when passing non-pointer - variables - * Byte arrays and slices are dumped like the hexdump -C command which - includes offsets, byte values in hex, and ASCII output - -The configuration options are controlled by an exported package global, -spew.Config. See ConfigState for options documentation. - -See Fdump if you would prefer dumping to an arbitrary io.Writer or Sdump to -get the formatted result as a string. -*/ -func Dump(a ...interface{}) { - fdump(&Config, os.Stdout, a...) -} diff --git a/api/vendor/github.com/davecgh/go-spew/spew/format.go b/api/vendor/github.com/davecgh/go-spew/spew/format.go deleted file mode 100644 index b04edb7d7ac2..000000000000 --- a/api/vendor/github.com/davecgh/go-spew/spew/format.go +++ /dev/null @@ -1,419 +0,0 @@ -/* - * Copyright (c) 2013-2016 Dave Collins - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -package spew - -import ( - "bytes" - "fmt" - "reflect" - "strconv" - "strings" -) - -// supportedFlags is a list of all the character flags supported by fmt package. -const supportedFlags = "0-+# " - -// formatState implements the fmt.Formatter interface and contains information -// about the state of a formatting operation. The NewFormatter function can -// be used to get a new Formatter which can be used directly as arguments -// in standard fmt package printing calls. -type formatState struct { - value interface{} - fs fmt.State - depth int - pointers map[uintptr]int - ignoreNextType bool - cs *ConfigState -} - -// buildDefaultFormat recreates the original format string without precision -// and width information to pass in to fmt.Sprintf in the case of an -// unrecognized type. Unless new types are added to the language, this -// function won't ever be called. -func (f *formatState) buildDefaultFormat() (format string) { - buf := bytes.NewBuffer(percentBytes) - - for _, flag := range supportedFlags { - if f.fs.Flag(int(flag)) { - buf.WriteRune(flag) - } - } - - buf.WriteRune('v') - - format = buf.String() - return format -} - -// constructOrigFormat recreates the original format string including precision -// and width information to pass along to the standard fmt package. This allows -// automatic deferral of all format strings this package doesn't support. -func (f *formatState) constructOrigFormat(verb rune) (format string) { - buf := bytes.NewBuffer(percentBytes) - - for _, flag := range supportedFlags { - if f.fs.Flag(int(flag)) { - buf.WriteRune(flag) - } - } - - if width, ok := f.fs.Width(); ok { - buf.WriteString(strconv.Itoa(width)) - } - - if precision, ok := f.fs.Precision(); ok { - buf.Write(precisionBytes) - buf.WriteString(strconv.Itoa(precision)) - } - - buf.WriteRune(verb) - - format = buf.String() - return format -} - -// unpackValue returns values inside of non-nil interfaces when possible and -// ensures that types for values which have been unpacked from an interface -// are displayed when the show types flag is also set. -// This is useful for data types like structs, arrays, slices, and maps which -// can contain varying types packed inside an interface. -func (f *formatState) unpackValue(v reflect.Value) reflect.Value { - if v.Kind() == reflect.Interface { - f.ignoreNextType = false - if !v.IsNil() { - v = v.Elem() - } - } - return v -} - -// formatPtr handles formatting of pointers by indirecting them as necessary. -func (f *formatState) formatPtr(v reflect.Value) { - // Display nil if top level pointer is nil. - showTypes := f.fs.Flag('#') - if v.IsNil() && (!showTypes || f.ignoreNextType) { - f.fs.Write(nilAngleBytes) - return - } - - // Remove pointers at or below the current depth from map used to detect - // circular refs. - for k, depth := range f.pointers { - if depth >= f.depth { - delete(f.pointers, k) - } - } - - // Keep list of all dereferenced pointers to possibly show later. - pointerChain := make([]uintptr, 0) - - // Figure out how many levels of indirection there are by derferencing - // pointers and unpacking interfaces down the chain while detecting circular - // references. - nilFound := false - cycleFound := false - indirects := 0 - ve := v - for ve.Kind() == reflect.Ptr { - if ve.IsNil() { - nilFound = true - break - } - indirects++ - addr := ve.Pointer() - pointerChain = append(pointerChain, addr) - if pd, ok := f.pointers[addr]; ok && pd < f.depth { - cycleFound = true - indirects-- - break - } - f.pointers[addr] = f.depth - - ve = ve.Elem() - if ve.Kind() == reflect.Interface { - if ve.IsNil() { - nilFound = true - break - } - ve = ve.Elem() - } - } - - // Display type or indirection level depending on flags. - if showTypes && !f.ignoreNextType { - f.fs.Write(openParenBytes) - f.fs.Write(bytes.Repeat(asteriskBytes, indirects)) - f.fs.Write([]byte(ve.Type().String())) - f.fs.Write(closeParenBytes) - } else { - if nilFound || cycleFound { - indirects += strings.Count(ve.Type().String(), "*") - } - f.fs.Write(openAngleBytes) - f.fs.Write([]byte(strings.Repeat("*", indirects))) - f.fs.Write(closeAngleBytes) - } - - // Display pointer information depending on flags. - if f.fs.Flag('+') && (len(pointerChain) > 0) { - f.fs.Write(openParenBytes) - for i, addr := range pointerChain { - if i > 0 { - f.fs.Write(pointerChainBytes) - } - printHexPtr(f.fs, addr) - } - f.fs.Write(closeParenBytes) - } - - // Display dereferenced value. - switch { - case nilFound: - f.fs.Write(nilAngleBytes) - - case cycleFound: - f.fs.Write(circularShortBytes) - - default: - f.ignoreNextType = true - f.format(ve) - } -} - -// format is the main workhorse for providing the Formatter interface. It -// uses the passed reflect value to figure out what kind of object we are -// dealing with and formats it appropriately. It is a recursive function, -// however circular data structures are detected and handled properly. -func (f *formatState) format(v reflect.Value) { - // Handle invalid reflect values immediately. - kind := v.Kind() - if kind == reflect.Invalid { - f.fs.Write(invalidAngleBytes) - return - } - - // Handle pointers specially. - if kind == reflect.Ptr { - f.formatPtr(v) - return - } - - // Print type information unless already handled elsewhere. - if !f.ignoreNextType && f.fs.Flag('#') { - f.fs.Write(openParenBytes) - f.fs.Write([]byte(v.Type().String())) - f.fs.Write(closeParenBytes) - } - f.ignoreNextType = false - - // Call Stringer/error interfaces if they exist and the handle methods - // flag is enabled. - if !f.cs.DisableMethods { - if (kind != reflect.Invalid) && (kind != reflect.Interface) { - if handled := handleMethods(f.cs, f.fs, v); handled { - return - } - } - } - - switch kind { - case reflect.Invalid: - // Do nothing. We should never get here since invalid has already - // been handled above. - - case reflect.Bool: - printBool(f.fs, v.Bool()) - - case reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Int: - printInt(f.fs, v.Int(), 10) - - case reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uint: - printUint(f.fs, v.Uint(), 10) - - case reflect.Float32: - printFloat(f.fs, v.Float(), 32) - - case reflect.Float64: - printFloat(f.fs, v.Float(), 64) - - case reflect.Complex64: - printComplex(f.fs, v.Complex(), 32) - - case reflect.Complex128: - printComplex(f.fs, v.Complex(), 64) - - case reflect.Slice: - if v.IsNil() { - f.fs.Write(nilAngleBytes) - break - } - fallthrough - - case reflect.Array: - f.fs.Write(openBracketBytes) - f.depth++ - if (f.cs.MaxDepth != 0) && (f.depth > f.cs.MaxDepth) { - f.fs.Write(maxShortBytes) - } else { - numEntries := v.Len() - for i := 0; i < numEntries; i++ { - if i > 0 { - f.fs.Write(spaceBytes) - } - f.ignoreNextType = true - f.format(f.unpackValue(v.Index(i))) - } - } - f.depth-- - f.fs.Write(closeBracketBytes) - - case reflect.String: - f.fs.Write([]byte(v.String())) - - case reflect.Interface: - // The only time we should get here is for nil interfaces due to - // unpackValue calls. - if v.IsNil() { - f.fs.Write(nilAngleBytes) - } - - case reflect.Ptr: - // Do nothing. We should never get here since pointers have already - // been handled above. - - case reflect.Map: - // nil maps should be indicated as different than empty maps - if v.IsNil() { - f.fs.Write(nilAngleBytes) - break - } - - f.fs.Write(openMapBytes) - f.depth++ - if (f.cs.MaxDepth != 0) && (f.depth > f.cs.MaxDepth) { - f.fs.Write(maxShortBytes) - } else { - keys := v.MapKeys() - if f.cs.SortKeys { - sortValues(keys, f.cs) - } - for i, key := range keys { - if i > 0 { - f.fs.Write(spaceBytes) - } - f.ignoreNextType = true - f.format(f.unpackValue(key)) - f.fs.Write(colonBytes) - f.ignoreNextType = true - f.format(f.unpackValue(v.MapIndex(key))) - } - } - f.depth-- - f.fs.Write(closeMapBytes) - - case reflect.Struct: - numFields := v.NumField() - f.fs.Write(openBraceBytes) - f.depth++ - if (f.cs.MaxDepth != 0) && (f.depth > f.cs.MaxDepth) { - f.fs.Write(maxShortBytes) - } else { - vt := v.Type() - for i := 0; i < numFields; i++ { - if i > 0 { - f.fs.Write(spaceBytes) - } - vtf := vt.Field(i) - if f.fs.Flag('+') || f.fs.Flag('#') { - f.fs.Write([]byte(vtf.Name)) - f.fs.Write(colonBytes) - } - f.format(f.unpackValue(v.Field(i))) - } - } - f.depth-- - f.fs.Write(closeBraceBytes) - - case reflect.Uintptr: - printHexPtr(f.fs, uintptr(v.Uint())) - - case reflect.UnsafePointer, reflect.Chan, reflect.Func: - printHexPtr(f.fs, v.Pointer()) - - // There were not any other types at the time this code was written, but - // fall back to letting the default fmt package handle it if any get added. - default: - format := f.buildDefaultFormat() - if v.CanInterface() { - fmt.Fprintf(f.fs, format, v.Interface()) - } else { - fmt.Fprintf(f.fs, format, v.String()) - } - } -} - -// Format satisfies the fmt.Formatter interface. See NewFormatter for usage -// details. -func (f *formatState) Format(fs fmt.State, verb rune) { - f.fs = fs - - // Use standard formatting for verbs that are not v. - if verb != 'v' { - format := f.constructOrigFormat(verb) - fmt.Fprintf(fs, format, f.value) - return - } - - if f.value == nil { - if fs.Flag('#') { - fs.Write(interfaceBytes) - } - fs.Write(nilAngleBytes) - return - } - - f.format(reflect.ValueOf(f.value)) -} - -// newFormatter is a helper function to consolidate the logic from the various -// public methods which take varying config states. -func newFormatter(cs *ConfigState, v interface{}) fmt.Formatter { - fs := &formatState{value: v, cs: cs} - fs.pointers = make(map[uintptr]int) - return fs -} - -/* -NewFormatter returns a custom formatter that satisfies the fmt.Formatter -interface. As a result, it integrates cleanly with standard fmt package -printing functions. The formatter is useful for inline printing of smaller data -types similar to the standard %v format specifier. - -The custom formatter only responds to the %v (most compact), %+v (adds pointer -addresses), %#v (adds types), or %#+v (adds types and pointer addresses) verb -combinations. Any other verbs such as %x and %q will be sent to the the -standard fmt package for formatting. In addition, the custom formatter ignores -the width and precision arguments (however they will still work on the format -specifiers not handled by the custom formatter). - -Typically this function shouldn't be called directly. It is much easier to make -use of the custom formatter by calling one of the convenience functions such as -Printf, Println, or Fprintf. -*/ -func NewFormatter(v interface{}) fmt.Formatter { - return newFormatter(&Config, v) -} diff --git a/api/vendor/github.com/davecgh/go-spew/spew/spew.go b/api/vendor/github.com/davecgh/go-spew/spew/spew.go deleted file mode 100644 index 32c0e3388253..000000000000 --- a/api/vendor/github.com/davecgh/go-spew/spew/spew.go +++ /dev/null @@ -1,148 +0,0 @@ -/* - * Copyright (c) 2013-2016 Dave Collins - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -package spew - -import ( - "fmt" - "io" -) - -// Errorf is a wrapper for fmt.Errorf that treats each argument as if it were -// passed with a default Formatter interface returned by NewFormatter. It -// returns the formatted string as a value that satisfies error. See -// NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Errorf(format, spew.NewFormatter(a), spew.NewFormatter(b)) -func Errorf(format string, a ...interface{}) (err error) { - return fmt.Errorf(format, convertArgs(a)...) -} - -// Fprint is a wrapper for fmt.Fprint that treats each argument as if it were -// passed with a default Formatter interface returned by NewFormatter. It -// returns the number of bytes written and any write error encountered. See -// NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Fprint(w, spew.NewFormatter(a), spew.NewFormatter(b)) -func Fprint(w io.Writer, a ...interface{}) (n int, err error) { - return fmt.Fprint(w, convertArgs(a)...) -} - -// Fprintf is a wrapper for fmt.Fprintf that treats each argument as if it were -// passed with a default Formatter interface returned by NewFormatter. It -// returns the number of bytes written and any write error encountered. See -// NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Fprintf(w, format, spew.NewFormatter(a), spew.NewFormatter(b)) -func Fprintf(w io.Writer, format string, a ...interface{}) (n int, err error) { - return fmt.Fprintf(w, format, convertArgs(a)...) -} - -// Fprintln is a wrapper for fmt.Fprintln that treats each argument as if it -// passed with a default Formatter interface returned by NewFormatter. See -// NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Fprintln(w, spew.NewFormatter(a), spew.NewFormatter(b)) -func Fprintln(w io.Writer, a ...interface{}) (n int, err error) { - return fmt.Fprintln(w, convertArgs(a)...) -} - -// Print is a wrapper for fmt.Print that treats each argument as if it were -// passed with a default Formatter interface returned by NewFormatter. It -// returns the number of bytes written and any write error encountered. See -// NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Print(spew.NewFormatter(a), spew.NewFormatter(b)) -func Print(a ...interface{}) (n int, err error) { - return fmt.Print(convertArgs(a)...) -} - -// Printf is a wrapper for fmt.Printf that treats each argument as if it were -// passed with a default Formatter interface returned by NewFormatter. It -// returns the number of bytes written and any write error encountered. See -// NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Printf(format, spew.NewFormatter(a), spew.NewFormatter(b)) -func Printf(format string, a ...interface{}) (n int, err error) { - return fmt.Printf(format, convertArgs(a)...) -} - -// Println is a wrapper for fmt.Println that treats each argument as if it were -// passed with a default Formatter interface returned by NewFormatter. It -// returns the number of bytes written and any write error encountered. See -// NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Println(spew.NewFormatter(a), spew.NewFormatter(b)) -func Println(a ...interface{}) (n int, err error) { - return fmt.Println(convertArgs(a)...) -} - -// Sprint is a wrapper for fmt.Sprint that treats each argument as if it were -// passed with a default Formatter interface returned by NewFormatter. It -// returns the resulting string. See NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Sprint(spew.NewFormatter(a), spew.NewFormatter(b)) -func Sprint(a ...interface{}) string { - return fmt.Sprint(convertArgs(a)...) -} - -// Sprintf is a wrapper for fmt.Sprintf that treats each argument as if it were -// passed with a default Formatter interface returned by NewFormatter. It -// returns the resulting string. See NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Sprintf(format, spew.NewFormatter(a), spew.NewFormatter(b)) -func Sprintf(format string, a ...interface{}) string { - return fmt.Sprintf(format, convertArgs(a)...) -} - -// Sprintln is a wrapper for fmt.Sprintln that treats each argument as if it -// were passed with a default Formatter interface returned by NewFormatter. It -// returns the resulting string. See NewFormatter for formatting details. -// -// This function is shorthand for the following syntax: -// -// fmt.Sprintln(spew.NewFormatter(a), spew.NewFormatter(b)) -func Sprintln(a ...interface{}) string { - return fmt.Sprintln(convertArgs(a)...) -} - -// convertArgs accepts a slice of arguments and returns a slice of the same -// length with each argument converted to a default spew Formatter interface. -func convertArgs(args []interface{}) (formatters []interface{}) { - formatters = make([]interface{}, len(args)) - for index, arg := range args { - formatters[index] = NewFormatter(arg) - } - return formatters -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/.gitignore b/api/vendor/github.com/emicklei/go-restful/v3/.gitignore deleted file mode 100644 index 446be09b4d07..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/.gitignore +++ /dev/null @@ -1,71 +0,0 @@ -# Compiled Object files, Static and Dynamic libs (Shared Objects) -*.o -*.a -*.so - -# Folders -_obj -_test - -# Architecture specific extensions/prefixes -*.[568vq] -[568vq].out - -*.cgo1.go -*.cgo2.c -_cgo_defun.c -_cgo_gotypes.go -_cgo_export.* - -_testmain.go - -*.exe - -restful.html - -*.out - -tmp.prof - -go-restful.test - -examples/restful-basic-authentication - -examples/restful-encoding-filter - -examples/restful-filters - -examples/restful-hello-world - -examples/restful-resource-functions - -examples/restful-serve-static - -examples/restful-user-service - -*.DS_Store -examples/restful-user-resource - -examples/restful-multi-containers - -examples/restful-form-handling - -examples/restful-CORS-filter - -examples/restful-options-filter - -examples/restful-curly-router - -examples/restful-cpuprofiler-service - -examples/restful-pre-post-filters - -curly.prof - -examples/restful-NCSA-logging - -examples/restful-html-template - -s.html -restful-path-tail -.idea diff --git a/api/vendor/github.com/emicklei/go-restful/v3/.goconvey b/api/vendor/github.com/emicklei/go-restful/v3/.goconvey deleted file mode 100644 index 8485e986e458..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/.goconvey +++ /dev/null @@ -1 +0,0 @@ -ignore \ No newline at end of file diff --git a/api/vendor/github.com/emicklei/go-restful/v3/.travis.yml b/api/vendor/github.com/emicklei/go-restful/v3/.travis.yml deleted file mode 100644 index 3a0bf5ff1b81..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: go - -go: - - 1.x - -before_install: - - go test -v - -script: - - go test -race -coverprofile=coverage.txt -covermode=atomic - -after_success: - - bash <(curl -s https://codecov.io/bash) \ No newline at end of file diff --git a/api/vendor/github.com/emicklei/go-restful/v3/CHANGES.md b/api/vendor/github.com/emicklei/go-restful/v3/CHANGES.md deleted file mode 100644 index 6f24dfff562e..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/CHANGES.md +++ /dev/null @@ -1,417 +0,0 @@ -# Change history of go-restful - -## [v3.12.2] - 2025-02-21 - -- allow empty payloads in post,put,patch, issue #580 ( thanks @liggitt, Jordan Liggitt) - -## [v3.12.1] - 2024-05-28 - -- fix misroute when dealing multiple webservice with regex (#549) (thanks Haitao Chen) - -## [v3.12.0] - 2024-03-11 - -- add Flush method #529 (#538) -- fix: Improper handling of empty POST requests (#543) - -## [v3.11.3] - 2024-01-09 - -- better not have 2 tags on one commit - -## [v3.11.1, v3.11.2] - 2024-01-09 - -- fix by restoring custom JSON handler functions (Mike Beaumont #540) - -## [v3.11.0] - 2023-08-19 - -- restored behavior as <= v3.9.0 with option to change path strategy using TrimRightSlashEnabled. - -## [v3.10.2] - 2023-03-09 - DO NOT USE - -- introduced MergePathStrategy to be able to revert behaviour of path concatenation to 3.9.0 - see comment in Readme how to customize this behaviour. - -## [v3.10.1] - 2022-11-19 - DO NOT USE - -- fix broken 3.10.0 by using path package for joining paths - -## [v3.10.0] - 2022-10-11 - BROKEN - -- changed tokenizer to match std route match behavior; do not trimright the path (#511) -- Add MIME_ZIP (#512) -- Add MIME_ZIP and HEADER_ContentDisposition (#513) -- Changed how to get query parameter issue #510 - -## [v3.9.0] - 2022-07-21 - -- add support for http.Handler implementations to work as FilterFunction, issue #504 (thanks to https://github.com/ggicci) - -## [v3.8.0] - 2022-06-06 - -- use exact matching of allowed domain entries, issue #489 (#493) - - this changes fixes [security] Authorization Bypass Through User-Controlled Key - by changing the behaviour of the AllowedDomains setting in the CORS filter. - To support the previous behaviour, the CORS filter type now has a AllowedDomainFunc - callback mechanism which is called when a simple domain match fails. -- add test and fix for POST without body and Content-type, issue #492 (#496) -- [Minor] Bad practice to have a mix of Receiver types. (#491) - -## [v3.7.2] - 2021-11-24 - -- restored FilterChain (#482 by SVilgelm) - - -## [v3.7.1] - 2021-10-04 - -- fix problem with contentEncodingEnabled setting (#479) - -## [v3.7.0] - 2021-09-24 - -- feat(parameter): adds additional openapi mappings (#478) - -## [v3.6.0] - 2021-09-18 - -- add support for vendor extensions (#477 thx erraggy) - -## [v3.5.2] - 2021-07-14 - -- fix removing absent route from webservice (#472) - -## [v3.5.1] - 2021-04-12 - -- fix handling no match access selected path -- remove obsolete field - -## [v3.5.0] - 2021-04-10 - -- add check for wildcard (#463) in CORS -- add access to Route from Request, issue #459 (#462) - -## [v3.4.0] - 2020-11-10 - -- Added OPTIONS to WebService - -## [v3.3.2] - 2020-01-23 - -- Fixed duplicate compression in dispatch. #449 - - -## [v3.3.1] - 2020-08-31 - -- Added check on writer to prevent compression of response twice. #447 - -## [v3.3.0] - 2020-08-19 - -- Enable content encoding on Handle and ServeHTTP (#446) -- List available representations in 406 body (#437) -- Convert to string using rune() (#443) - -## [v3.2.0] - 2020-06-21 - -- 405 Method Not Allowed must have Allow header (#436) (thx Bracken ) -- add field allowedMethodsWithoutContentType (#424) - -## [v3.1.0] - -- support describing response headers (#426) -- fix openapi examples (#425) - -v3.0.0 - -- fix: use request/response resulting from filter chain -- add Go module - Module consumer should use github.com/emicklei/go-restful/v3 as import path - -v2.10.0 - -- support for Custom Verbs (thanks Vinci Xu <277040271@qq.com>) -- fixed static example (thanks Arthur ) -- simplify code (thanks Christian Muehlhaeuser ) -- added JWT HMAC with SHA-512 authentication code example (thanks Amim Knabben ) - -v2.9.6 - -- small optimization in filter code - -v2.11.1 - -- fix WriteError return value (#415) - -v2.11.0 - -- allow prefix and suffix in path variable expression (#414) - -v2.9.6 - -- support google custome verb (#413) - -v2.9.5 - -- fix panic in Response.WriteError if err == nil - -v2.9.4 - -- fix issue #400 , parsing mime type quality -- Route Builder added option for contentEncodingEnabled (#398) - -v2.9.3 - -- Avoid return of 415 Unsupported Media Type when request body is empty (#396) - -v2.9.2 - -- Reduce allocations in per-request methods to improve performance (#395) - -v2.9.1 - -- Fix issue with default responses and invalid status code 0. (#393) - -v2.9.0 - -- add per Route content encoding setting (overrides container setting) - -v2.8.0 - -- add Request.QueryParameters() -- add json-iterator (via build tag) -- disable vgo module (until log is moved) - -v2.7.1 - -- add vgo module - -v2.6.1 - -- add JSONNewDecoderFunc to allow custom JSON Decoder usage (go 1.10+) - -v2.6.0 - -- Make JSR 311 routing and path param processing consistent -- Adding description to RouteBuilder.Reads() -- Update example for Swagger12 and OpenAPI - -2017-09-13 - -- added route condition functions using `.If(func)` in route building. - -2017-02-16 - -- solved issue #304, make operation names unique - -2017-01-30 - - [IMPORTANT] For swagger users, change your import statement to: - swagger "github.com/emicklei/go-restful-swagger12" - -- moved swagger 1.2 code to go-restful-swagger12 -- created TAG 2.0.0 - -2017-01-27 - -- remove defer request body close -- expose Dispatch for testing filters and Routefunctions -- swagger response model cannot be array -- created TAG 1.0.0 - -2016-12-22 - -- (API change) Remove code related to caching request content. Removes SetCacheReadEntity(doCache bool) - -2016-11-26 - -- Default change! now use CurlyRouter (was RouterJSR311) -- Default change! no more caching of request content -- Default change! do not recover from panics - -2016-09-22 - -- fix the DefaultRequestContentType feature - -2016-02-14 - -- take the qualify factor of the Accept header mediatype into account when deciding the contentype of the response -- add constructors for custom entity accessors for xml and json - -2015-09-27 - -- rename new WriteStatusAnd... to WriteHeaderAnd... for consistency - -2015-09-25 - -- fixed problem with changing Header after WriteHeader (issue 235) - -2015-09-14 - -- changed behavior of WriteHeader (immediate write) and WriteEntity (no status write) -- added support for custom EntityReaderWriters. - -2015-08-06 - -- add support for reading entities from compressed request content -- use sync.Pool for compressors of http response and request body -- add Description to Parameter for documentation in Swagger UI - -2015-03-20 - -- add configurable logging - -2015-03-18 - -- if not specified, the Operation is derived from the Route function - -2015-03-17 - -- expose Parameter creation functions -- make trace logger an interface -- fix OPTIONSFilter -- customize rendering of ServiceError -- JSR311 router now handles wildcards -- add Notes to Route - -2014-11-27 - -- (api add) PrettyPrint per response. (as proposed in #167) - -2014-11-12 - -- (api add) ApiVersion(.) for documentation in Swagger UI - -2014-11-10 - -- (api change) struct fields tagged with "description" show up in Swagger UI - -2014-10-31 - -- (api change) ReturnsError -> Returns -- (api add) RouteBuilder.Do(aBuilder) for DRY use of RouteBuilder -- fix swagger nested structs -- sort Swagger response messages by code - -2014-10-23 - -- (api add) ReturnsError allows you to document Http codes in swagger -- fixed problem with greedy CurlyRouter -- (api add) Access-Control-Max-Age in CORS -- add tracing functionality (injectable) for debugging purposes -- support JSON parse 64bit int -- fix empty parameters for swagger -- WebServicesUrl is now optional for swagger -- fixed duplicate AccessControlAllowOrigin in CORS -- (api change) expose ServeMux in container -- (api add) added AllowedDomains in CORS -- (api add) ParameterNamed for detailed documentation - -2014-04-16 - -- (api add) expose constructor of Request for testing. - -2014-06-27 - -- (api add) ParameterNamed gives access to a Parameter definition and its data (for further specification). -- (api add) SetCacheReadEntity allow scontrol over whether or not the request body is being cached (default true for compatibility reasons). - -2014-07-03 - -- (api add) CORS can be configured with a list of allowed domains - -2014-03-12 - -- (api add) Route path parameters can use wildcard or regular expressions. (requires CurlyRouter) - -2014-02-26 - -- (api add) Request now provides information about the matched Route, see method SelectedRoutePath - -2014-02-17 - -- (api change) renamed parameter constants (go-lint checks) - -2014-01-10 - -- (api add) support for CloseNotify, see http://golang.org/pkg/net/http/#CloseNotifier - -2014-01-07 - -- (api change) Write* methods in Response now return the error or nil. -- added example of serving HTML from a Go template. -- fixed comparing Allowed headers in CORS (is now case-insensitive) - -2013-11-13 - -- (api add) Response knows how many bytes are written to the response body. - -2013-10-29 - -- (api add) RecoverHandler(handler RecoverHandleFunction) to change how panic recovery is handled. Default behavior is to log and return a stacktrace. This may be a security issue as it exposes sourcecode information. - -2013-10-04 - -- (api add) Response knows what HTTP status has been written -- (api add) Request can have attributes (map of string->interface, also called request-scoped variables - -2013-09-12 - -- (api change) Router interface simplified -- Implemented CurlyRouter, a Router that does not use|allow regular expressions in paths - -2013-08-05 - - add OPTIONS support - - add CORS support - -2013-08-27 - -- fixed some reported issues (see github) -- (api change) deprecated use of WriteError; use WriteErrorString instead - -2014-04-15 - -- (fix) v1.0.1 tag: fix Issue 111: WriteErrorString - -2013-08-08 - -- (api add) Added implementation Container: a WebServices collection with its own http.ServeMux allowing multiple endpoints per program. Existing uses of go-restful will register their services to the DefaultContainer. -- (api add) the swagger package has be extended to have a UI per container. -- if panic is detected then a small stack trace is printed (thanks to runner-mei) -- (api add) WriteErrorString to Response - -Important API changes: - -- (api remove) package variable DoNotRecover no longer works ; use restful.DefaultContainer.DoNotRecover(true) instead. -- (api remove) package variable EnableContentEncoding no longer works ; use restful.DefaultContainer.EnableContentEncoding(true) instead. - - -2013-07-06 - -- (api add) Added support for response encoding (gzip and deflate(zlib)). This feature is disabled on default (for backwards compatibility). Use restful.EnableContentEncoding = true in your initialization to enable this feature. - -2013-06-19 - -- (improve) DoNotRecover option, moved request body closer, improved ReadEntity - -2013-06-03 - -- (api change) removed Dispatcher interface, hide PathExpression -- changed receiver names of type functions to be more idiomatic Go - -2013-06-02 - -- (optimize) Cache the RegExp compilation of Paths. - -2013-05-22 - -- (api add) Added support for request/response filter functions - -2013-05-18 - - -- (api add) Added feature to change the default Http Request Dispatch function (travis cline) -- (api change) Moved Swagger Webservice to swagger package (see example restful-user) - -[2012-11-14 .. 2013-05-18> - -- See https://github.com/emicklei/go-restful/commits - -2012-11-14 - -- Initial commit - - diff --git a/api/vendor/github.com/emicklei/go-restful/v3/LICENSE b/api/vendor/github.com/emicklei/go-restful/v3/LICENSE deleted file mode 100644 index ece7ec61effb..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -Copyright (c) 2012,2013 Ernest Micklei - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/api/vendor/github.com/emicklei/go-restful/v3/Makefile b/api/vendor/github.com/emicklei/go-restful/v3/Makefile deleted file mode 100644 index 16d0b80bb0ff..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -all: test - -test: - go vet . - go test -cover -v . - -ex: - find ./examples -type f -name "*.go" | xargs -I {} go build -o /tmp/ignore {} \ No newline at end of file diff --git a/api/vendor/github.com/emicklei/go-restful/v3/README.md b/api/vendor/github.com/emicklei/go-restful/v3/README.md deleted file mode 100644 index 3fb40d198087..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/README.md +++ /dev/null @@ -1,110 +0,0 @@ -go-restful -========== -package for building REST-style Web Services using Google Go - -[![Go Report Card](https://goreportcard.com/badge/github.com/emicklei/go-restful)](https://goreportcard.com/report/github.com/emicklei/go-restful) -[![Go Reference](https://pkg.go.dev/badge/github.com/emicklei/go-restful.svg)](https://pkg.go.dev/github.com/emicklei/go-restful/v3) -[![codecov](https://codecov.io/gh/emicklei/go-restful/branch/master/graph/badge.svg)](https://codecov.io/gh/emicklei/go-restful) - -- [Code examples use v3](https://github.com/emicklei/go-restful/tree/v3/examples) - -REST asks developers to use HTTP methods explicitly and in a way that's consistent with the protocol definition. This basic REST design principle establishes a one-to-one mapping between create, read, update, and delete (CRUD) operations and HTTP methods. According to this mapping: - -- GET = Retrieve a representation of a resource -- POST = Create if you are sending content to the server to create a subordinate of the specified resource collection, using some server-side algorithm. -- PUT = Create if you are sending the full content of the specified resource (URI). -- PUT = Update if you are updating the full content of the specified resource. -- DELETE = Delete if you are requesting the server to delete the resource -- PATCH = Update partial content of a resource -- OPTIONS = Get information about the communication options for the request URI - -### Usage - -#### Without Go Modules - -All versions up to `v2.*.*` (on the master) are not supporting Go modules. - -``` -import ( - restful "github.com/emicklei/go-restful" -) -``` - -#### Using Go Modules - -As of version `v3.0.0` (on the v3 branch), this package supports Go modules. - -``` -import ( - restful "github.com/emicklei/go-restful/v3" -) -``` - -### Example - -```Go -ws := new(restful.WebService) -ws. - Path("/users"). - Consumes(restful.MIME_XML, restful.MIME_JSON). - Produces(restful.MIME_JSON, restful.MIME_XML) - -ws.Route(ws.GET("/{user-id}").To(u.findUser). - Doc("get a user"). - Param(ws.PathParameter("user-id", "identifier of the user").DataType("string")). - Writes(User{})) -... - -func (u UserResource) findUser(request *restful.Request, response *restful.Response) { - id := request.PathParameter("user-id") - ... -} -``` - -[Full API of a UserResource](https://github.com/emicklei/go-restful/blob/v3/examples/user-resource/restful-user-resource.go) - -### Features - -- Routes for request → function mapping with path parameter (e.g. {id} but also prefix_{var} and {var}_suffix) support -- Configurable router: - - (default) Fast routing algorithm that allows static elements, [google custom method](https://cloud.google.com/apis/design/custom_methods), regular expressions and dynamic parameters in the URL path (e.g. /resource/name:customVerb, /meetings/{id} or /static/{subpath:*}) - - Routing algorithm after [JSR311](http://jsr311.java.net/nonav/releases/1.1/spec/spec.html) that is implemented using (but does **not** accept) regular expressions -- Request API for reading structs from JSON/XML and accessing parameters (path,query,header) -- Response API for writing structs to JSON/XML and setting headers -- Customizable encoding using EntityReaderWriter registration -- Filters for intercepting the request → response flow on Service or Route level -- Request-scoped variables using attributes -- Containers for WebServices on different HTTP endpoints -- Content encoding (gzip,deflate) of request and response payloads -- Automatic responses on OPTIONS (using a filter) -- Automatic CORS request handling (using a filter) -- API declaration for Swagger UI ([go-restful-openapi](https://github.com/emicklei/go-restful-openapi)) -- Panic recovery to produce HTTP 500, customizable using RecoverHandler(...) -- Route errors produce HTTP 404/405/406/415 errors, customizable using ServiceErrorHandler(...) -- Configurable (trace) logging -- Customizable gzip/deflate readers and writers using CompressorProvider registration -- Inject your own http.Handler using the `HttpMiddlewareHandlerToFilter` function - -## How to customize -There are several hooks to customize the behavior of the go-restful package. - -- Router algorithm -- Panic recovery -- JSON decoder -- Trace logging -- Compression -- Encoders for other serializers -- Use the package variable `TrimRightSlashEnabled` (default true) to control the behavior of matching routes that end with a slash `/` - -## Resources - -- [Example programs](./examples) -- [Example posted on blog](http://ernestmicklei.com/2012/11/go-restful-first-working-example/) -- [Design explained on blog](http://ernestmicklei.com/2012/11/go-restful-api-design/) -- [sourcegraph](https://sourcegraph.com/github.com/emicklei/go-restful) -- [showcase: Zazkia - tcp proxy for testing resiliency](https://github.com/emicklei/zazkia) -- [showcase: Mora - MongoDB REST Api server](https://github.com/emicklei/mora) - -Type ```git shortlog -s``` for a full list of contributors. - -© 2012 - 2023, http://ernestmicklei.com. MIT License. Contributions are welcome. diff --git a/api/vendor/github.com/emicklei/go-restful/v3/SECURITY.md b/api/vendor/github.com/emicklei/go-restful/v3/SECURITY.md deleted file mode 100644 index 810d3b51089d..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/SECURITY.md +++ /dev/null @@ -1,13 +0,0 @@ -# Security Policy - -## Supported Versions - -| Version | Supported | -| ------- | ------------------ | -| v3.7.x | :white_check_mark: | -| < v3.0.1 | :x: | - -## Reporting a Vulnerability - -Create an Issue and put the label `[security]` in the title of the issue. -Valid reported security issues are expected to be solved within a week. diff --git a/api/vendor/github.com/emicklei/go-restful/v3/Srcfile b/api/vendor/github.com/emicklei/go-restful/v3/Srcfile deleted file mode 100644 index 16fd186892e0..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/Srcfile +++ /dev/null @@ -1 +0,0 @@ -{"SkipDirs": ["examples"]} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/bench_test.sh b/api/vendor/github.com/emicklei/go-restful/v3/bench_test.sh deleted file mode 100644 index 47ffbe4ac9d5..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/bench_test.sh +++ /dev/null @@ -1,10 +0,0 @@ -#go test -run=none -file bench_test.go -test.bench . -cpuprofile=bench_test.out - -go test -c -./go-restful.test -test.run=none -test.cpuprofile=tmp.prof -test.bench=BenchmarkMany -./go-restful.test -test.run=none -test.cpuprofile=curly.prof -test.bench=BenchmarkManyCurly - -#go tool pprof go-restful.test tmp.prof -go tool pprof go-restful.test curly.prof - - diff --git a/api/vendor/github.com/emicklei/go-restful/v3/compress.go b/api/vendor/github.com/emicklei/go-restful/v3/compress.go deleted file mode 100644 index 80adf55fdfee..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/compress.go +++ /dev/null @@ -1,137 +0,0 @@ -package restful - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -import ( - "bufio" - "compress/gzip" - "compress/zlib" - "errors" - "io" - "net" - "net/http" - "strings" -) - -// OBSOLETE : use restful.DefaultContainer.EnableContentEncoding(true) to change this setting. -var EnableContentEncoding = false - -// CompressingResponseWriter is a http.ResponseWriter that can perform content encoding (gzip and zlib) -type CompressingResponseWriter struct { - writer http.ResponseWriter - compressor io.WriteCloser - encoding string -} - -// Header is part of http.ResponseWriter interface -func (c *CompressingResponseWriter) Header() http.Header { - return c.writer.Header() -} - -// WriteHeader is part of http.ResponseWriter interface -func (c *CompressingResponseWriter) WriteHeader(status int) { - c.writer.WriteHeader(status) -} - -// Write is part of http.ResponseWriter interface -// It is passed through the compressor -func (c *CompressingResponseWriter) Write(bytes []byte) (int, error) { - if c.isCompressorClosed() { - return -1, errors.New("Compressing error: tried to write data using closed compressor") - } - return c.compressor.Write(bytes) -} - -// CloseNotify is part of http.CloseNotifier interface -func (c *CompressingResponseWriter) CloseNotify() <-chan bool { - return c.writer.(http.CloseNotifier).CloseNotify() -} - -// Flush is part of http.Flusher interface. Noop if the underlying writer doesn't support it. -func (c *CompressingResponseWriter) Flush() { - flusher, ok := c.writer.(http.Flusher) - if !ok { - // writer doesn't support http.Flusher interface - return - } - flusher.Flush() -} - -// Close the underlying compressor -func (c *CompressingResponseWriter) Close() error { - if c.isCompressorClosed() { - return errors.New("Compressing error: tried to close already closed compressor") - } - - c.compressor.Close() - if ENCODING_GZIP == c.encoding { - currentCompressorProvider.ReleaseGzipWriter(c.compressor.(*gzip.Writer)) - } - if ENCODING_DEFLATE == c.encoding { - currentCompressorProvider.ReleaseZlibWriter(c.compressor.(*zlib.Writer)) - } - // gc hint needed? - c.compressor = nil - return nil -} - -func (c *CompressingResponseWriter) isCompressorClosed() bool { - return nil == c.compressor -} - -// Hijack implements the Hijacker interface -// This is especially useful when combining Container.EnabledContentEncoding -// in combination with websockets (for instance gorilla/websocket) -func (c *CompressingResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error) { - hijacker, ok := c.writer.(http.Hijacker) - if !ok { - return nil, nil, errors.New("ResponseWriter doesn't support Hijacker interface") - } - return hijacker.Hijack() -} - -// WantsCompressedResponse reads the Accept-Encoding header to see if and which encoding is requested. -// It also inspects the httpWriter whether its content-encoding is already set (non-empty). -func wantsCompressedResponse(httpRequest *http.Request, httpWriter http.ResponseWriter) (bool, string) { - if contentEncoding := httpWriter.Header().Get(HEADER_ContentEncoding); contentEncoding != "" { - return false, "" - } - header := httpRequest.Header.Get(HEADER_AcceptEncoding) - gi := strings.Index(header, ENCODING_GZIP) - zi := strings.Index(header, ENCODING_DEFLATE) - // use in order of appearance - if gi == -1 { - return zi != -1, ENCODING_DEFLATE - } else if zi == -1 { - return gi != -1, ENCODING_GZIP - } else { - if gi < zi { - return true, ENCODING_GZIP - } - return true, ENCODING_DEFLATE - } -} - -// NewCompressingResponseWriter create a CompressingResponseWriter for a known encoding = {gzip,deflate} -func NewCompressingResponseWriter(httpWriter http.ResponseWriter, encoding string) (*CompressingResponseWriter, error) { - httpWriter.Header().Set(HEADER_ContentEncoding, encoding) - c := new(CompressingResponseWriter) - c.writer = httpWriter - var err error - if ENCODING_GZIP == encoding { - w := currentCompressorProvider.AcquireGzipWriter() - w.Reset(httpWriter) - c.compressor = w - c.encoding = ENCODING_GZIP - } else if ENCODING_DEFLATE == encoding { - w := currentCompressorProvider.AcquireZlibWriter() - w.Reset(httpWriter) - c.compressor = w - c.encoding = ENCODING_DEFLATE - } else { - return nil, errors.New("Unknown encoding:" + encoding) - } - return c, err -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/compressor_cache.go b/api/vendor/github.com/emicklei/go-restful/v3/compressor_cache.go deleted file mode 100644 index ee426010a2d9..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/compressor_cache.go +++ /dev/null @@ -1,103 +0,0 @@ -package restful - -// Copyright 2015 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -import ( - "compress/gzip" - "compress/zlib" -) - -// BoundedCachedCompressors is a CompressorProvider that uses a cache with a fixed amount -// of writers and readers (resources). -// If a new resource is acquired and all are in use, it will return a new unmanaged resource. -type BoundedCachedCompressors struct { - gzipWriters chan *gzip.Writer - gzipReaders chan *gzip.Reader - zlibWriters chan *zlib.Writer - writersCapacity int - readersCapacity int -} - -// NewBoundedCachedCompressors returns a new, with filled cache, BoundedCachedCompressors. -func NewBoundedCachedCompressors(writersCapacity, readersCapacity int) *BoundedCachedCompressors { - b := &BoundedCachedCompressors{ - gzipWriters: make(chan *gzip.Writer, writersCapacity), - gzipReaders: make(chan *gzip.Reader, readersCapacity), - zlibWriters: make(chan *zlib.Writer, writersCapacity), - writersCapacity: writersCapacity, - readersCapacity: readersCapacity, - } - for ix := 0; ix < writersCapacity; ix++ { - b.gzipWriters <- newGzipWriter() - b.zlibWriters <- newZlibWriter() - } - for ix := 0; ix < readersCapacity; ix++ { - b.gzipReaders <- newGzipReader() - } - return b -} - -// AcquireGzipWriter returns an resettable *gzip.Writer. Needs to be released. -func (b *BoundedCachedCompressors) AcquireGzipWriter() *gzip.Writer { - var writer *gzip.Writer - select { - case writer, _ = <-b.gzipWriters: - default: - // return a new unmanaged one - writer = newGzipWriter() - } - return writer -} - -// ReleaseGzipWriter accepts a writer (does not have to be one that was cached) -// only when the cache has room for it. It will ignore it otherwise. -func (b *BoundedCachedCompressors) ReleaseGzipWriter(w *gzip.Writer) { - // forget the unmanaged ones - if len(b.gzipWriters) < b.writersCapacity { - b.gzipWriters <- w - } -} - -// AcquireGzipReader returns a *gzip.Reader. Needs to be released. -func (b *BoundedCachedCompressors) AcquireGzipReader() *gzip.Reader { - var reader *gzip.Reader - select { - case reader, _ = <-b.gzipReaders: - default: - // return a new unmanaged one - reader = newGzipReader() - } - return reader -} - -// ReleaseGzipReader accepts a reader (does not have to be one that was cached) -// only when the cache has room for it. It will ignore it otherwise. -func (b *BoundedCachedCompressors) ReleaseGzipReader(r *gzip.Reader) { - // forget the unmanaged ones - if len(b.gzipReaders) < b.readersCapacity { - b.gzipReaders <- r - } -} - -// AcquireZlibWriter returns an resettable *zlib.Writer. Needs to be released. -func (b *BoundedCachedCompressors) AcquireZlibWriter() *zlib.Writer { - var writer *zlib.Writer - select { - case writer, _ = <-b.zlibWriters: - default: - // return a new unmanaged one - writer = newZlibWriter() - } - return writer -} - -// ReleaseZlibWriter accepts a writer (does not have to be one that was cached) -// only when the cache has room for it. It will ignore it otherwise. -func (b *BoundedCachedCompressors) ReleaseZlibWriter(w *zlib.Writer) { - // forget the unmanaged ones - if len(b.zlibWriters) < b.writersCapacity { - b.zlibWriters <- w - } -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/compressor_pools.go b/api/vendor/github.com/emicklei/go-restful/v3/compressor_pools.go deleted file mode 100644 index d866ce64bbac..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/compressor_pools.go +++ /dev/null @@ -1,91 +0,0 @@ -package restful - -// Copyright 2015 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -import ( - "bytes" - "compress/gzip" - "compress/zlib" - "sync" -) - -// SyncPoolCompessors is a CompressorProvider that use the standard sync.Pool. -type SyncPoolCompessors struct { - GzipWriterPool *sync.Pool - GzipReaderPool *sync.Pool - ZlibWriterPool *sync.Pool -} - -// NewSyncPoolCompessors returns a new ("empty") SyncPoolCompessors. -func NewSyncPoolCompessors() *SyncPoolCompessors { - return &SyncPoolCompessors{ - GzipWriterPool: &sync.Pool{ - New: func() interface{} { return newGzipWriter() }, - }, - GzipReaderPool: &sync.Pool{ - New: func() interface{} { return newGzipReader() }, - }, - ZlibWriterPool: &sync.Pool{ - New: func() interface{} { return newZlibWriter() }, - }, - } -} - -func (s *SyncPoolCompessors) AcquireGzipWriter() *gzip.Writer { - return s.GzipWriterPool.Get().(*gzip.Writer) -} - -func (s *SyncPoolCompessors) ReleaseGzipWriter(w *gzip.Writer) { - s.GzipWriterPool.Put(w) -} - -func (s *SyncPoolCompessors) AcquireGzipReader() *gzip.Reader { - return s.GzipReaderPool.Get().(*gzip.Reader) -} - -func (s *SyncPoolCompessors) ReleaseGzipReader(r *gzip.Reader) { - s.GzipReaderPool.Put(r) -} - -func (s *SyncPoolCompessors) AcquireZlibWriter() *zlib.Writer { - return s.ZlibWriterPool.Get().(*zlib.Writer) -} - -func (s *SyncPoolCompessors) ReleaseZlibWriter(w *zlib.Writer) { - s.ZlibWriterPool.Put(w) -} - -func newGzipWriter() *gzip.Writer { - // create with an empty bytes writer; it will be replaced before using the gzipWriter - writer, err := gzip.NewWriterLevel(new(bytes.Buffer), gzip.BestSpeed) - if err != nil { - panic(err.Error()) - } - return writer -} - -func newGzipReader() *gzip.Reader { - // create with an empty reader (but with GZIP header); it will be replaced before using the gzipReader - // we can safely use currentCompressProvider because it is set on package initialization. - w := currentCompressorProvider.AcquireGzipWriter() - defer currentCompressorProvider.ReleaseGzipWriter(w) - b := new(bytes.Buffer) - w.Reset(b) - w.Flush() - w.Close() - reader, err := gzip.NewReader(bytes.NewReader(b.Bytes())) - if err != nil { - panic(err.Error()) - } - return reader -} - -func newZlibWriter() *zlib.Writer { - writer, err := zlib.NewWriterLevel(new(bytes.Buffer), gzip.BestSpeed) - if err != nil { - panic(err.Error()) - } - return writer -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/compressors.go b/api/vendor/github.com/emicklei/go-restful/v3/compressors.go deleted file mode 100644 index 9db4a8c8e979..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/compressors.go +++ /dev/null @@ -1,54 +0,0 @@ -package restful - -// Copyright 2015 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -import ( - "compress/gzip" - "compress/zlib" -) - -// CompressorProvider describes a component that can provider compressors for the std methods. -type CompressorProvider interface { - // Returns a *gzip.Writer which needs to be released later. - // Before using it, call Reset(). - AcquireGzipWriter() *gzip.Writer - - // Releases an acquired *gzip.Writer. - ReleaseGzipWriter(w *gzip.Writer) - - // Returns a *gzip.Reader which needs to be released later. - AcquireGzipReader() *gzip.Reader - - // Releases an acquired *gzip.Reader. - ReleaseGzipReader(w *gzip.Reader) - - // Returns a *zlib.Writer which needs to be released later. - // Before using it, call Reset(). - AcquireZlibWriter() *zlib.Writer - - // Releases an acquired *zlib.Writer. - ReleaseZlibWriter(w *zlib.Writer) -} - -// DefaultCompressorProvider is the actual provider of compressors (zlib or gzip). -var currentCompressorProvider CompressorProvider - -func init() { - currentCompressorProvider = NewSyncPoolCompessors() -} - -// CurrentCompressorProvider returns the current CompressorProvider. -// It is initialized using a SyncPoolCompessors. -func CurrentCompressorProvider() CompressorProvider { - return currentCompressorProvider -} - -// SetCompressorProvider sets the actual provider of compressors (zlib or gzip). -func SetCompressorProvider(p CompressorProvider) { - if p == nil { - panic("cannot set compressor provider to nil") - } - currentCompressorProvider = p -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/constants.go b/api/vendor/github.com/emicklei/go-restful/v3/constants.go deleted file mode 100644 index 2328bde6c7a8..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/constants.go +++ /dev/null @@ -1,32 +0,0 @@ -package restful - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -const ( - MIME_XML = "application/xml" // Accept or Content-Type used in Consumes() and/or Produces() - MIME_JSON = "application/json" // Accept or Content-Type used in Consumes() and/or Produces() - MIME_ZIP = "application/zip" // Accept or Content-Type used in Consumes() and/or Produces() - MIME_OCTET = "application/octet-stream" // If Content-Type is not present in request, use the default - - HEADER_Allow = "Allow" - HEADER_Accept = "Accept" - HEADER_Origin = "Origin" - HEADER_ContentType = "Content-Type" - HEADER_ContentDisposition = "Content-Disposition" - HEADER_LastModified = "Last-Modified" - HEADER_AcceptEncoding = "Accept-Encoding" - HEADER_ContentEncoding = "Content-Encoding" - HEADER_AccessControlExposeHeaders = "Access-Control-Expose-Headers" - HEADER_AccessControlRequestMethod = "Access-Control-Request-Method" - HEADER_AccessControlRequestHeaders = "Access-Control-Request-Headers" - HEADER_AccessControlAllowMethods = "Access-Control-Allow-Methods" - HEADER_AccessControlAllowOrigin = "Access-Control-Allow-Origin" - HEADER_AccessControlAllowCredentials = "Access-Control-Allow-Credentials" - HEADER_AccessControlAllowHeaders = "Access-Control-Allow-Headers" - HEADER_AccessControlMaxAge = "Access-Control-Max-Age" - - ENCODING_GZIP = "gzip" - ENCODING_DEFLATE = "deflate" -) diff --git a/api/vendor/github.com/emicklei/go-restful/v3/container.go b/api/vendor/github.com/emicklei/go-restful/v3/container.go deleted file mode 100644 index dd56246ddcac..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/container.go +++ /dev/null @@ -1,450 +0,0 @@ -package restful - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -import ( - "bytes" - "errors" - "fmt" - "net/http" - "os" - "runtime" - "strings" - "sync" - - "github.com/emicklei/go-restful/v3/log" -) - -// Container holds a collection of WebServices and a http.ServeMux to dispatch http requests. -// The requests are further dispatched to routes of WebServices using a RouteSelector -type Container struct { - webServicesLock sync.RWMutex - webServices []*WebService - ServeMux *http.ServeMux - isRegisteredOnRoot bool - containerFilters []FilterFunction - doNotRecover bool // default is true - recoverHandleFunc RecoverHandleFunction - serviceErrorHandleFunc ServiceErrorHandleFunction - router RouteSelector // default is a CurlyRouter (RouterJSR311 is a slower alternative) - contentEncodingEnabled bool // default is false -} - -// NewContainer creates a new Container using a new ServeMux and default router (CurlyRouter) -func NewContainer() *Container { - return &Container{ - webServices: []*WebService{}, - ServeMux: http.NewServeMux(), - isRegisteredOnRoot: false, - containerFilters: []FilterFunction{}, - doNotRecover: true, - recoverHandleFunc: logStackOnRecover, - serviceErrorHandleFunc: writeServiceError, - router: CurlyRouter{}, - contentEncodingEnabled: false} -} - -// RecoverHandleFunction declares functions that can be used to handle a panic situation. -// The first argument is what recover() returns. The second must be used to communicate an error response. -type RecoverHandleFunction func(interface{}, http.ResponseWriter) - -// RecoverHandler changes the default function (logStackOnRecover) to be called -// when a panic is detected. DoNotRecover must be have its default value (=false). -func (c *Container) RecoverHandler(handler RecoverHandleFunction) { - c.recoverHandleFunc = handler -} - -// ServiceErrorHandleFunction declares functions that can be used to handle a service error situation. -// The first argument is the service error, the second is the request that resulted in the error and -// the third must be used to communicate an error response. -type ServiceErrorHandleFunction func(ServiceError, *Request, *Response) - -// ServiceErrorHandler changes the default function (writeServiceError) to be called -// when a ServiceError is detected. -func (c *Container) ServiceErrorHandler(handler ServiceErrorHandleFunction) { - c.serviceErrorHandleFunc = handler -} - -// DoNotRecover controls whether panics will be caught to return HTTP 500. -// If set to true, Route functions are responsible for handling any error situation. -// Default value is true. -func (c *Container) DoNotRecover(doNot bool) { - c.doNotRecover = doNot -} - -// Router changes the default Router (currently CurlyRouter) -func (c *Container) Router(aRouter RouteSelector) { - c.router = aRouter -} - -// EnableContentEncoding (default=false) allows for GZIP or DEFLATE encoding of responses. -func (c *Container) EnableContentEncoding(enabled bool) { - c.contentEncodingEnabled = enabled -} - -// Add a WebService to the Container. It will detect duplicate root paths and exit in that case. -func (c *Container) Add(service *WebService) *Container { - c.webServicesLock.Lock() - defer c.webServicesLock.Unlock() - - // if rootPath was not set then lazy initialize it - if len(service.rootPath) == 0 { - service.Path("/") - } - - // cannot have duplicate root paths - for _, each := range c.webServices { - if each.RootPath() == service.RootPath() { - log.Printf("WebService with duplicate root path detected:['%v']", each) - os.Exit(1) - } - } - - // If not registered on root then add specific mapping - if !c.isRegisteredOnRoot { - c.isRegisteredOnRoot = c.addHandler(service, c.ServeMux) - } - c.webServices = append(c.webServices, service) - return c -} - -// addHandler may set a new HandleFunc for the serveMux -// this function must run inside the critical region protected by the webServicesLock. -// returns true if the function was registered on root ("/") -func (c *Container) addHandler(service *WebService, serveMux *http.ServeMux) bool { - pattern := fixedPrefixPath(service.RootPath()) - // check if root path registration is needed - if "/" == pattern || "" == pattern { - serveMux.HandleFunc("/", c.dispatch) - return true - } - // detect if registration already exists - alreadyMapped := false - for _, each := range c.webServices { - if each.RootPath() == service.RootPath() { - alreadyMapped = true - break - } - } - if !alreadyMapped { - serveMux.HandleFunc(pattern, c.dispatch) - if !strings.HasSuffix(pattern, "/") { - serveMux.HandleFunc(pattern+"/", c.dispatch) - } - } - return false -} - -func (c *Container) Remove(ws *WebService) error { - if c.ServeMux == http.DefaultServeMux { - errMsg := fmt.Sprintf("cannot remove a WebService from a Container using the DefaultServeMux: ['%v']", ws) - log.Print(errMsg) - return errors.New(errMsg) - } - c.webServicesLock.Lock() - defer c.webServicesLock.Unlock() - // build a new ServeMux and re-register all WebServices - newServeMux := http.NewServeMux() - newServices := []*WebService{} - newIsRegisteredOnRoot := false - for _, each := range c.webServices { - if each.rootPath != ws.rootPath { - // If not registered on root then add specific mapping - if !newIsRegisteredOnRoot { - newIsRegisteredOnRoot = c.addHandler(each, newServeMux) - } - newServices = append(newServices, each) - } - } - c.webServices, c.ServeMux, c.isRegisteredOnRoot = newServices, newServeMux, newIsRegisteredOnRoot - return nil -} - -// logStackOnRecover is the default RecoverHandleFunction and is called -// when DoNotRecover is false and the recoverHandleFunc is not set for the container. -// Default implementation logs the stacktrace and writes the stacktrace on the response. -// This may be a security issue as it exposes sourcecode information. -func logStackOnRecover(panicReason interface{}, httpWriter http.ResponseWriter) { - var buffer bytes.Buffer - buffer.WriteString(fmt.Sprintf("recover from panic situation: - %v\r\n", panicReason)) - for i := 2; ; i += 1 { - _, file, line, ok := runtime.Caller(i) - if !ok { - break - } - buffer.WriteString(fmt.Sprintf(" %s:%d\r\n", file, line)) - } - log.Print(buffer.String()) - httpWriter.WriteHeader(http.StatusInternalServerError) - httpWriter.Write(buffer.Bytes()) -} - -// writeServiceError is the default ServiceErrorHandleFunction and is called -// when a ServiceError is returned during route selection. Default implementation -// calls resp.WriteErrorString(err.Code, err.Message) -func writeServiceError(err ServiceError, req *Request, resp *Response) { - for header, values := range err.Header { - for _, value := range values { - resp.Header().Add(header, value) - } - } - resp.WriteErrorString(err.Code, err.Message) -} - -// Dispatch the incoming Http Request to a matching WebService. -func (c *Container) Dispatch(httpWriter http.ResponseWriter, httpRequest *http.Request) { - if httpWriter == nil { - panic("httpWriter cannot be nil") - } - if httpRequest == nil { - panic("httpRequest cannot be nil") - } - c.dispatch(httpWriter, httpRequest) -} - -// Dispatch the incoming Http Request to a matching WebService. -func (c *Container) dispatch(httpWriter http.ResponseWriter, httpRequest *http.Request) { - // so we can assign a compressing one later - writer := httpWriter - - // CompressingResponseWriter should be closed after all operations are done - defer func() { - if compressWriter, ok := writer.(*CompressingResponseWriter); ok { - compressWriter.Close() - } - }() - - // Instal panic recovery unless told otherwise - if !c.doNotRecover { // catch all for 500 response - defer func() { - if r := recover(); r != nil { - c.recoverHandleFunc(r, writer) - return - } - }() - } - - // Find best match Route ; err is non nil if no match was found - var webService *WebService - var route *Route - var err error - func() { - c.webServicesLock.RLock() - defer c.webServicesLock.RUnlock() - webService, route, err = c.router.SelectRoute( - c.webServices, - httpRequest) - }() - if err != nil { - // a non-200 response (may be compressed) has already been written - // run container filters anyway ; they should not touch the response... - chain := FilterChain{Filters: c.containerFilters, Target: func(req *Request, resp *Response) { - switch err.(type) { - case ServiceError: - ser := err.(ServiceError) - c.serviceErrorHandleFunc(ser, req, resp) - } - // TODO - }} - chain.ProcessFilter(NewRequest(httpRequest), NewResponse(writer)) - return - } - - // Unless httpWriter is already an CompressingResponseWriter see if we need to install one - if _, isCompressing := httpWriter.(*CompressingResponseWriter); !isCompressing { - // Detect if compression is needed - // assume without compression, test for override - contentEncodingEnabled := c.contentEncodingEnabled - if route != nil && route.contentEncodingEnabled != nil { - contentEncodingEnabled = *route.contentEncodingEnabled - } - if contentEncodingEnabled { - doCompress, encoding := wantsCompressedResponse(httpRequest, httpWriter) - if doCompress { - var err error - writer, err = NewCompressingResponseWriter(httpWriter, encoding) - if err != nil { - log.Print("unable to install compressor: ", err) - httpWriter.WriteHeader(http.StatusInternalServerError) - return - } - } - } - } - - pathProcessor, routerProcessesPath := c.router.(PathProcessor) - if !routerProcessesPath { - pathProcessor = defaultPathProcessor{} - } - pathParams := pathProcessor.ExtractParameters(route, webService, httpRequest.URL.Path) - wrappedRequest, wrappedResponse := route.wrapRequestResponse(writer, httpRequest, pathParams) - // pass through filters (if any) - if size := len(c.containerFilters) + len(webService.filters) + len(route.Filters); size > 0 { - // compose filter chain - allFilters := make([]FilterFunction, 0, size) - allFilters = append(allFilters, c.containerFilters...) - allFilters = append(allFilters, webService.filters...) - allFilters = append(allFilters, route.Filters...) - chain := FilterChain{ - Filters: allFilters, - Target: route.Function, - ParameterDocs: route.ParameterDocs, - Operation: route.Operation, - } - chain.ProcessFilter(wrappedRequest, wrappedResponse) - } else { - // no filters, handle request by route - route.Function(wrappedRequest, wrappedResponse) - } -} - -// fixedPrefixPath returns the fixed part of the partspec ; it may include template vars {} -func fixedPrefixPath(pathspec string) string { - varBegin := strings.Index(pathspec, "{") - if -1 == varBegin { - return pathspec - } - return pathspec[:varBegin] -} - -// ServeHTTP implements net/http.Handler therefore a Container can be a Handler in a http.Server -func (c *Container) ServeHTTP(httpWriter http.ResponseWriter, httpRequest *http.Request) { - // Skip, if content encoding is disabled - if !c.contentEncodingEnabled { - c.ServeMux.ServeHTTP(httpWriter, httpRequest) - return - } - // content encoding is enabled - - // Skip, if httpWriter is already an CompressingResponseWriter - if _, ok := httpWriter.(*CompressingResponseWriter); ok { - c.ServeMux.ServeHTTP(httpWriter, httpRequest) - return - } - - writer := httpWriter - // CompressingResponseWriter should be closed after all operations are done - defer func() { - if compressWriter, ok := writer.(*CompressingResponseWriter); ok { - compressWriter.Close() - } - }() - - doCompress, encoding := wantsCompressedResponse(httpRequest, httpWriter) - if doCompress { - var err error - writer, err = NewCompressingResponseWriter(httpWriter, encoding) - if err != nil { - log.Print("unable to install compressor: ", err) - httpWriter.WriteHeader(http.StatusInternalServerError) - return - } - } - - c.ServeMux.ServeHTTP(writer, httpRequest) -} - -// Handle registers the handler for the given pattern. If a handler already exists for pattern, Handle panics. -func (c *Container) Handle(pattern string, handler http.Handler) { - c.ServeMux.Handle(pattern, http.HandlerFunc(func(httpWriter http.ResponseWriter, httpRequest *http.Request) { - // Skip, if httpWriter is already an CompressingResponseWriter - if _, ok := httpWriter.(*CompressingResponseWriter); ok { - handler.ServeHTTP(httpWriter, httpRequest) - return - } - - writer := httpWriter - - // CompressingResponseWriter should be closed after all operations are done - defer func() { - if compressWriter, ok := writer.(*CompressingResponseWriter); ok { - compressWriter.Close() - } - }() - - if c.contentEncodingEnabled { - doCompress, encoding := wantsCompressedResponse(httpRequest, httpWriter) - if doCompress { - var err error - writer, err = NewCompressingResponseWriter(httpWriter, encoding) - if err != nil { - log.Print("unable to install compressor: ", err) - httpWriter.WriteHeader(http.StatusInternalServerError) - return - } - } - } - - handler.ServeHTTP(writer, httpRequest) - })) -} - -// HandleWithFilter registers the handler for the given pattern. -// Container's filter chain is applied for handler. -// If a handler already exists for pattern, HandleWithFilter panics. -func (c *Container) HandleWithFilter(pattern string, handler http.Handler) { - f := func(httpResponse http.ResponseWriter, httpRequest *http.Request) { - if len(c.containerFilters) == 0 { - handler.ServeHTTP(httpResponse, httpRequest) - return - } - - chain := FilterChain{Filters: c.containerFilters, Target: func(req *Request, resp *Response) { - handler.ServeHTTP(resp, req.Request) - }} - chain.ProcessFilter(NewRequest(httpRequest), NewResponse(httpResponse)) - } - - c.Handle(pattern, http.HandlerFunc(f)) -} - -// Filter appends a container FilterFunction. These are called before dispatching -// a http.Request to a WebService from the container -func (c *Container) Filter(filter FilterFunction) { - c.containerFilters = append(c.containerFilters, filter) -} - -// RegisteredWebServices returns the collections of added WebServices -func (c *Container) RegisteredWebServices() []*WebService { - c.webServicesLock.RLock() - defer c.webServicesLock.RUnlock() - result := make([]*WebService, len(c.webServices)) - for ix := range c.webServices { - result[ix] = c.webServices[ix] - } - return result -} - -// computeAllowedMethods returns a list of HTTP methods that are valid for a Request -func (c *Container) computeAllowedMethods(req *Request) []string { - // Go through all RegisteredWebServices() and all its Routes to collect the options - methods := []string{} - requestPath := req.Request.URL.Path - for _, ws := range c.RegisteredWebServices() { - matches := ws.pathExpr.Matcher.FindStringSubmatch(requestPath) - if matches != nil { - finalMatch := matches[len(matches)-1] - for _, rt := range ws.Routes() { - matches := rt.pathExpr.Matcher.FindStringSubmatch(finalMatch) - if matches != nil { - lastMatch := matches[len(matches)-1] - if lastMatch == "" || lastMatch == "/" { // do not include if value is neither empty nor ‘/’. - methods = append(methods, rt.Method) - } - } - } - } - } - // methods = append(methods, "OPTIONS") not sure about this - return methods -} - -// newBasicRequestResponse creates a pair of Request,Response from its http versions. -// It is basic because no parameter or (produces) content-type information is given. -func newBasicRequestResponse(httpWriter http.ResponseWriter, httpRequest *http.Request) (*Request, *Response) { - resp := NewResponse(httpWriter) - resp.requestAccept = httpRequest.Header.Get(HEADER_Accept) - return NewRequest(httpRequest), resp -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/cors_filter.go b/api/vendor/github.com/emicklei/go-restful/v3/cors_filter.go deleted file mode 100644 index 9d18dfb7b487..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/cors_filter.go +++ /dev/null @@ -1,193 +0,0 @@ -package restful - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -import ( - "regexp" - "strconv" - "strings" -) - -// CrossOriginResourceSharing is used to create a Container Filter that implements CORS. -// Cross-origin resource sharing (CORS) is a mechanism that allows JavaScript on a web page -// to make XMLHttpRequests to another domain, not the domain the JavaScript originated from. -// -// http://en.wikipedia.org/wiki/Cross-origin_resource_sharing -// http://enable-cors.org/server.html -// http://www.html5rocks.com/en/tutorials/cors/#toc-handling-a-not-so-simple-request -type CrossOriginResourceSharing struct { - ExposeHeaders []string // list of Header names - - // AllowedHeaders is alist of Header names. Checking is case-insensitive. - // The list may contain the special wildcard string ".*" ; all is allowed - AllowedHeaders []string - - // AllowedDomains is a list of allowed values for Http Origin. - // The list may contain the special wildcard string ".*" ; all is allowed - // If empty all are allowed. - AllowedDomains []string - - // AllowedDomainFunc is optional and is a function that will do the check - // when the origin is not part of the AllowedDomains and it does not contain the wildcard ".*". - AllowedDomainFunc func(origin string) bool - - // AllowedMethods is either empty or has a list of http methods names. Checking is case-insensitive. - AllowedMethods []string - MaxAge int // number of seconds before requiring new Options request - CookiesAllowed bool - Container *Container - - allowedOriginPatterns []*regexp.Regexp // internal field for origin regexp check. -} - -// Filter is a filter function that implements the CORS flow as documented on http://enable-cors.org/server.html -// and http://www.html5rocks.com/static/images/cors_server_flowchart.png -func (c CrossOriginResourceSharing) Filter(req *Request, resp *Response, chain *FilterChain) { - origin := req.Request.Header.Get(HEADER_Origin) - if len(origin) == 0 { - if trace { - traceLogger.Print("no Http header Origin set") - } - chain.ProcessFilter(req, resp) - return - } - if !c.isOriginAllowed(origin) { // check whether this origin is allowed - if trace { - traceLogger.Printf("HTTP Origin:%s is not part of %v, neither matches any part of %v", origin, c.AllowedDomains, c.allowedOriginPatterns) - } - chain.ProcessFilter(req, resp) - return - } - if req.Request.Method != "OPTIONS" { - c.doActualRequest(req, resp) - chain.ProcessFilter(req, resp) - return - } - if acrm := req.Request.Header.Get(HEADER_AccessControlRequestMethod); acrm != "" { - c.doPreflightRequest(req, resp) - } else { - c.doActualRequest(req, resp) - chain.ProcessFilter(req, resp) - return - } -} - -func (c CrossOriginResourceSharing) doActualRequest(req *Request, resp *Response) { - c.setOptionsHeaders(req, resp) - // continue processing the response -} - -func (c *CrossOriginResourceSharing) doPreflightRequest(req *Request, resp *Response) { - if len(c.AllowedMethods) == 0 { - if c.Container == nil { - c.AllowedMethods = DefaultContainer.computeAllowedMethods(req) - } else { - c.AllowedMethods = c.Container.computeAllowedMethods(req) - } - } - - acrm := req.Request.Header.Get(HEADER_AccessControlRequestMethod) - if !c.isValidAccessControlRequestMethod(acrm, c.AllowedMethods) { - if trace { - traceLogger.Printf("Http header %s:%s is not in %v", - HEADER_AccessControlRequestMethod, - acrm, - c.AllowedMethods) - } - return - } - acrhs := req.Request.Header.Get(HEADER_AccessControlRequestHeaders) - if len(acrhs) > 0 { - for _, each := range strings.Split(acrhs, ",") { - if !c.isValidAccessControlRequestHeader(strings.Trim(each, " ")) { - if trace { - traceLogger.Printf("Http header %s:%s is not in %v", - HEADER_AccessControlRequestHeaders, - acrhs, - c.AllowedHeaders) - } - return - } - } - } - resp.AddHeader(HEADER_AccessControlAllowMethods, strings.Join(c.AllowedMethods, ",")) - resp.AddHeader(HEADER_AccessControlAllowHeaders, acrhs) - c.setOptionsHeaders(req, resp) - - // return http 200 response, no body -} - -func (c CrossOriginResourceSharing) setOptionsHeaders(req *Request, resp *Response) { - c.checkAndSetExposeHeaders(resp) - c.setAllowOriginHeader(req, resp) - c.checkAndSetAllowCredentials(resp) - if c.MaxAge > 0 { - resp.AddHeader(HEADER_AccessControlMaxAge, strconv.Itoa(c.MaxAge)) - } -} - -func (c CrossOriginResourceSharing) isOriginAllowed(origin string) bool { - if len(origin) == 0 { - return false - } - lowerOrigin := strings.ToLower(origin) - if len(c.AllowedDomains) == 0 { - if c.AllowedDomainFunc != nil { - return c.AllowedDomainFunc(lowerOrigin) - } - return true - } - - // exact match on each allowed domain - for _, domain := range c.AllowedDomains { - if domain == ".*" || strings.ToLower(domain) == lowerOrigin { - return true - } - } - if c.AllowedDomainFunc != nil { - return c.AllowedDomainFunc(origin) - } - return false -} - -func (c CrossOriginResourceSharing) setAllowOriginHeader(req *Request, resp *Response) { - origin := req.Request.Header.Get(HEADER_Origin) - if c.isOriginAllowed(origin) { - resp.AddHeader(HEADER_AccessControlAllowOrigin, origin) - } -} - -func (c CrossOriginResourceSharing) checkAndSetExposeHeaders(resp *Response) { - if len(c.ExposeHeaders) > 0 { - resp.AddHeader(HEADER_AccessControlExposeHeaders, strings.Join(c.ExposeHeaders, ",")) - } -} - -func (c CrossOriginResourceSharing) checkAndSetAllowCredentials(resp *Response) { - if c.CookiesAllowed { - resp.AddHeader(HEADER_AccessControlAllowCredentials, "true") - } -} - -func (c CrossOriginResourceSharing) isValidAccessControlRequestMethod(method string, allowedMethods []string) bool { - for _, each := range allowedMethods { - if each == method { - return true - } - } - return false -} - -func (c CrossOriginResourceSharing) isValidAccessControlRequestHeader(header string) bool { - for _, each := range c.AllowedHeaders { - if strings.ToLower(each) == strings.ToLower(header) { - return true - } - if each == "*" { - return true - } - } - return false -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/coverage.sh b/api/vendor/github.com/emicklei/go-restful/v3/coverage.sh deleted file mode 100644 index e27dbf1a913c..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/coverage.sh +++ /dev/null @@ -1,2 +0,0 @@ -go test -coverprofile=coverage.out -go tool cover -html=coverage.out \ No newline at end of file diff --git a/api/vendor/github.com/emicklei/go-restful/v3/curly.go b/api/vendor/github.com/emicklei/go-restful/v3/curly.go deleted file mode 100644 index 6fd2bcd5a117..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/curly.go +++ /dev/null @@ -1,181 +0,0 @@ -package restful - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -import ( - "net/http" - "regexp" - "sort" - "strings" -) - -// CurlyRouter expects Routes with paths that contain zero or more parameters in curly brackets. -type CurlyRouter struct{} - -// SelectRoute is part of the Router interface and returns the best match -// for the WebService and its Route for the given Request. -func (c CurlyRouter) SelectRoute( - webServices []*WebService, - httpRequest *http.Request) (selectedService *WebService, selected *Route, err error) { - - requestTokens := tokenizePath(httpRequest.URL.Path) - - detectedService := c.detectWebService(requestTokens, webServices) - if detectedService == nil { - if trace { - traceLogger.Printf("no WebService was found to match URL path:%s\n", httpRequest.URL.Path) - } - return nil, nil, NewError(http.StatusNotFound, "404: Page Not Found") - } - candidateRoutes := c.selectRoutes(detectedService, requestTokens) - if len(candidateRoutes) == 0 { - if trace { - traceLogger.Printf("no Route in WebService with path %s was found to match URL path:%s\n", detectedService.rootPath, httpRequest.URL.Path) - } - return detectedService, nil, NewError(http.StatusNotFound, "404: Page Not Found") - } - selectedRoute, err := c.detectRoute(candidateRoutes, httpRequest) - if selectedRoute == nil { - return detectedService, nil, err - } - return detectedService, selectedRoute, nil -} - -// selectRoutes return a collection of Route from a WebService that matches the path tokens from the request. -func (c CurlyRouter) selectRoutes(ws *WebService, requestTokens []string) sortableCurlyRoutes { - candidates := make(sortableCurlyRoutes, 0, 8) - for _, eachRoute := range ws.routes { - matches, paramCount, staticCount := c.matchesRouteByPathTokens(eachRoute.pathParts, requestTokens, eachRoute.hasCustomVerb) - if matches { - candidates.add(curlyRoute{eachRoute, paramCount, staticCount}) // TODO make sure Routes() return pointers? - } - } - sort.Sort(candidates) - return candidates -} - -// matchesRouteByPathTokens computes whether it matches, howmany parameters do match and what the number of static path elements are. -func (c CurlyRouter) matchesRouteByPathTokens(routeTokens, requestTokens []string, routeHasCustomVerb bool) (matches bool, paramCount int, staticCount int) { - if len(routeTokens) < len(requestTokens) { - // proceed in matching only if last routeToken is wildcard - count := len(routeTokens) - if count == 0 || !strings.HasSuffix(routeTokens[count-1], "*}") { - return false, 0, 0 - } - // proceed - } - for i, routeToken := range routeTokens { - if i == len(requestTokens) { - // reached end of request path - return false, 0, 0 - } - requestToken := requestTokens[i] - if routeHasCustomVerb && hasCustomVerb(routeToken) { - if !isMatchCustomVerb(routeToken, requestToken) { - return false, 0, 0 - } - staticCount++ - requestToken = removeCustomVerb(requestToken) - routeToken = removeCustomVerb(routeToken) - } - - if strings.HasPrefix(routeToken, "{") { - paramCount++ - if colon := strings.Index(routeToken, ":"); colon != -1 { - // match by regex - matchesToken, matchesRemainder := c.regularMatchesPathToken(routeToken, colon, requestToken) - if !matchesToken { - return false, 0, 0 - } - if matchesRemainder { - break - } - } - } else { // no { prefix - if requestToken != routeToken { - return false, 0, 0 - } - staticCount++ - } - } - return true, paramCount, staticCount -} - -// regularMatchesPathToken tests whether the regular expression part of routeToken matches the requestToken or all remaining tokens -// format routeToken is {someVar:someExpression}, e.g. {zipcode:[\d][\d][\d][\d][A-Z][A-Z]} -func (c CurlyRouter) regularMatchesPathToken(routeToken string, colon int, requestToken string) (matchesToken bool, matchesRemainder bool) { - regPart := routeToken[colon+1 : len(routeToken)-1] - if regPart == "*" { - if trace { - traceLogger.Printf("wildcard parameter detected in route token %s that matches %s\n", routeToken, requestToken) - } - return true, true - } - matched, err := regexp.MatchString(regPart, requestToken) - return (matched && err == nil), false -} - -var jsr311Router = RouterJSR311{} - -// detectRoute selectes from a list of Route the first match by inspecting both the Accept and Content-Type -// headers of the Request. See also RouterJSR311 in jsr311.go -func (c CurlyRouter) detectRoute(candidateRoutes sortableCurlyRoutes, httpRequest *http.Request) (*Route, error) { - // tracing is done inside detectRoute - return jsr311Router.detectRoute(candidateRoutes.routes(), httpRequest) -} - -// detectWebService returns the best matching webService given the list of path tokens. -// see also computeWebserviceScore -func (c CurlyRouter) detectWebService(requestTokens []string, webServices []*WebService) *WebService { - var bestWs *WebService - score := -1 - for _, eachWS := range webServices { - matches, eachScore := c.computeWebserviceScore(requestTokens, eachWS.pathExpr.tokens) - if matches && (eachScore > score) { - bestWs = eachWS - score = eachScore - } - } - return bestWs -} - -// computeWebserviceScore returns whether tokens match and -// the weighted score of the longest matching consecutive tokens from the beginning. -func (c CurlyRouter) computeWebserviceScore(requestTokens []string, routeTokens []string) (bool, int) { - if len(routeTokens) > len(requestTokens) { - return false, 0 - } - score := 0 - for i := 0; i < len(routeTokens); i++ { - eachRequestToken := requestTokens[i] - eachRouteToken := routeTokens[i] - if len(eachRequestToken) == 0 && len(eachRouteToken) == 0 { - score++ - continue - } - if len(eachRouteToken) > 0 && strings.HasPrefix(eachRouteToken, "{") { - // no empty match - if len(eachRequestToken) == 0 { - return false, score - } - score++ - - if colon := strings.Index(eachRouteToken, ":"); colon != -1 { - // match by regex - matchesToken, _ := c.regularMatchesPathToken(eachRouteToken, colon, eachRequestToken) - if matchesToken { - score++ // extra score for regex match - } - } - } else { - // not a parameter - if eachRequestToken != eachRouteToken { - return false, score - } - score += (len(routeTokens) - i) * 10 //fuzzy - } - } - return true, score -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/curly_route.go b/api/vendor/github.com/emicklei/go-restful/v3/curly_route.go deleted file mode 100644 index 403dd3be947d..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/curly_route.go +++ /dev/null @@ -1,54 +0,0 @@ -package restful - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -// curlyRoute exits for sorting Routes by the CurlyRouter based on number of parameters and number of static path elements. -type curlyRoute struct { - route Route - paramCount int - staticCount int -} - -// sortableCurlyRoutes orders by most parameters and path elements first. -type sortableCurlyRoutes []curlyRoute - -func (s *sortableCurlyRoutes) add(route curlyRoute) { - *s = append(*s, route) -} - -func (s sortableCurlyRoutes) routes() (routes []Route) { - routes = make([]Route, 0, len(s)) - for _, each := range s { - routes = append(routes, each.route) // TODO change return type - } - return routes -} - -func (s sortableCurlyRoutes) Len() int { - return len(s) -} -func (s sortableCurlyRoutes) Swap(i, j int) { - s[i], s[j] = s[j], s[i] -} -func (s sortableCurlyRoutes) Less(i, j int) bool { - a := s[j] - b := s[i] - - // primary key - if a.staticCount < b.staticCount { - return true - } - if a.staticCount > b.staticCount { - return false - } - // secundary key - if a.paramCount < b.paramCount { - return true - } - if a.paramCount > b.paramCount { - return false - } - return a.route.Path < b.route.Path -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/custom_verb.go b/api/vendor/github.com/emicklei/go-restful/v3/custom_verb.go deleted file mode 100644 index bfc17efde80f..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/custom_verb.go +++ /dev/null @@ -1,29 +0,0 @@ -package restful - -import ( - "fmt" - "regexp" -) - -var ( - customVerbReg = regexp.MustCompile(":([A-Za-z]+)$") -) - -func hasCustomVerb(routeToken string) bool { - return customVerbReg.MatchString(routeToken) -} - -func isMatchCustomVerb(routeToken string, pathToken string) bool { - rs := customVerbReg.FindStringSubmatch(routeToken) - if len(rs) < 2 { - return false - } - - customVerb := rs[1] - specificVerbReg := regexp.MustCompile(fmt.Sprintf(":%s$", customVerb)) - return specificVerbReg.MatchString(pathToken) -} - -func removeCustomVerb(str string) string { - return customVerbReg.ReplaceAllString(str, "") -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/doc.go b/api/vendor/github.com/emicklei/go-restful/v3/doc.go deleted file mode 100644 index 69b13057d017..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/doc.go +++ /dev/null @@ -1,185 +0,0 @@ -/* -Package restful , a lean package for creating REST-style WebServices without magic. - -WebServices and Routes - -A WebService has a collection of Route objects that dispatch incoming Http Requests to a function calls. -Typically, a WebService has a root path (e.g. /users) and defines common MIME types for its routes. -WebServices must be added to a container (see below) in order to handler Http requests from a server. - -A Route is defined by a HTTP method, an URL path and (optionally) the MIME types it consumes (Content-Type) and produces (Accept). -This package has the logic to find the best matching Route and if found, call its Function. - - ws := new(restful.WebService) - ws. - Path("/users"). - Consumes(restful.MIME_JSON, restful.MIME_XML). - Produces(restful.MIME_JSON, restful.MIME_XML) - - ws.Route(ws.GET("/{user-id}").To(u.findUser)) // u is a UserResource - - ... - - // GET http://localhost:8080/users/1 - func (u UserResource) findUser(request *restful.Request, response *restful.Response) { - id := request.PathParameter("user-id") - ... - } - -The (*Request, *Response) arguments provide functions for reading information from the request and writing information back to the response. - -See the example https://github.com/emicklei/go-restful/blob/v3/examples/user-resource/restful-user-resource.go with a full implementation. - -Regular expression matching Routes - -A Route parameter can be specified using the format "uri/{var[:regexp]}" or the special version "uri/{var:*}" for matching the tail of the path. -For example, /persons/{name:[A-Z][A-Z]} can be used to restrict values for the parameter "name" to only contain capital alphabetic characters. -Regular expressions must use the standard Go syntax as described in the regexp package. (https://code.google.com/p/re2/wiki/Syntax) -This feature requires the use of a CurlyRouter. - -Containers - -A Container holds a collection of WebServices, Filters and a http.ServeMux for multiplexing http requests. -Using the statements "restful.Add(...) and restful.Filter(...)" will register WebServices and Filters to the Default Container. -The Default container of go-restful uses the http.DefaultServeMux. -You can create your own Container and create a new http.Server for that particular container. - - container := restful.NewContainer() - server := &http.Server{Addr: ":8081", Handler: container} - -Filters - -A filter dynamically intercepts requests and responses to transform or use the information contained in the requests or responses. -You can use filters to perform generic logging, measurement, authentication, redirect, set response headers etc. -In the restful package there are three hooks into the request,response flow where filters can be added. -Each filter must define a FilterFunction: - - func (req *restful.Request, resp *restful.Response, chain *restful.FilterChain) - -Use the following statement to pass the request,response pair to the next filter or RouteFunction - - chain.ProcessFilter(req, resp) - -Container Filters - -These are processed before any registered WebService. - - // install a (global) filter for the default container (processed before any webservice) - restful.Filter(globalLogging) - -WebService Filters - -These are processed before any Route of a WebService. - - // install a webservice filter (processed before any route) - ws.Filter(webserviceLogging).Filter(measureTime) - - -Route Filters - -These are processed before calling the function associated with the Route. - - // install 2 chained route filters (processed before calling findUser) - ws.Route(ws.GET("/{user-id}").Filter(routeLogging).Filter(NewCountFilter().routeCounter).To(findUser)) - -See the example https://github.com/emicklei/go-restful/blob/v3/examples/filters/restful-filters.go with full implementations. - -Response Encoding - -Two encodings are supported: gzip and deflate. To enable this for all responses: - - restful.DefaultContainer.EnableContentEncoding(true) - -If a Http request includes the Accept-Encoding header then the response content will be compressed using the specified encoding. -Alternatively, you can create a Filter that performs the encoding and install it per WebService or Route. - -See the example https://github.com/emicklei/go-restful/blob/v3/examples/encoding/restful-encoding-filter.go - -OPTIONS support - -By installing a pre-defined container filter, your Webservice(s) can respond to the OPTIONS Http request. - - Filter(OPTIONSFilter()) - -CORS - -By installing the filter of a CrossOriginResourceSharing (CORS), your WebService(s) can handle CORS requests. - - cors := CrossOriginResourceSharing{ExposeHeaders: []string{"X-My-Header"}, CookiesAllowed: false, Container: DefaultContainer} - Filter(cors.Filter) - -Error Handling - -Unexpected things happen. If a request cannot be processed because of a failure, your service needs to tell via the response what happened and why. -For this reason HTTP status codes exist and it is important to use the correct code in every exceptional situation. - - 400: Bad Request - -If path or query parameters are not valid (content or type) then use http.StatusBadRequest. - - 404: Not Found - -Despite a valid URI, the resource requested may not be available - - 500: Internal Server Error - -If the application logic could not process the request (or write the response) then use http.StatusInternalServerError. - - 405: Method Not Allowed - -The request has a valid URL but the method (GET,PUT,POST,...) is not allowed. - - 406: Not Acceptable - -The request does not have or has an unknown Accept Header set for this operation. - - 415: Unsupported Media Type - -The request does not have or has an unknown Content-Type Header set for this operation. - -ServiceError - -In addition to setting the correct (error) Http status code, you can choose to write a ServiceError message on the response. - -Performance options - -This package has several options that affect the performance of your service. It is important to understand them and how you can change it. - - restful.DefaultContainer.DoNotRecover(false) - -DoNotRecover controls whether panics will be caught to return HTTP 500. -If set to false, the container will recover from panics. -Default value is true - - restful.SetCompressorProvider(NewBoundedCachedCompressors(20, 20)) - -If content encoding is enabled then the default strategy for getting new gzip/zlib writers and readers is to use a sync.Pool. -Because writers are expensive structures, performance is even more improved when using a preloaded cache. You can also inject your own implementation. - -Trouble shooting - -This package has the means to produce detail logging of the complete Http request matching process and filter invocation. -Enabling this feature requires you to set an implementation of restful.StdLogger (e.g. log.Logger) instance such as: - - restful.TraceLogger(log.New(os.Stdout, "[restful] ", log.LstdFlags|log.Lshortfile)) - -Logging - -The restful.SetLogger() method allows you to override the logger used by the package. By default restful -uses the standard library `log` package and logs to stdout. Different logging packages are supported as -long as they conform to `StdLogger` interface defined in the `log` sub-package, writing an adapter for your -preferred package is simple. - -Resources - -[project]: https://github.com/emicklei/go-restful - -[examples]: https://github.com/emicklei/go-restful/blob/master/examples - -[design]: http://ernestmicklei.com/2012/11/11/go-restful-api-design/ - -[showcases]: https://github.com/emicklei/mora, https://github.com/emicklei/landskape - -(c) 2012-2015, http://ernestmicklei.com. MIT License -*/ -package restful diff --git a/api/vendor/github.com/emicklei/go-restful/v3/entity_accessors.go b/api/vendor/github.com/emicklei/go-restful/v3/entity_accessors.go deleted file mode 100644 index 9808752acdf9..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/entity_accessors.go +++ /dev/null @@ -1,169 +0,0 @@ -package restful - -// Copyright 2015 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -import ( - "encoding/json" - "encoding/xml" - "strings" - "sync" -) - -var ( - MarshalIndent = json.MarshalIndent - NewDecoder = json.NewDecoder - NewEncoder = json.NewEncoder -) - -// EntityReaderWriter can read and write values using an encoding such as JSON,XML. -type EntityReaderWriter interface { - // Read a serialized version of the value from the request. - // The Request may have a decompressing reader. Depends on Content-Encoding. - Read(req *Request, v interface{}) error - - // Write a serialized version of the value on the response. - // The Response may have a compressing writer. Depends on Accept-Encoding. - // status should be a valid Http Status code - Write(resp *Response, status int, v interface{}) error -} - -// entityAccessRegistry is a singleton -var entityAccessRegistry = &entityReaderWriters{ - protection: new(sync.RWMutex), - accessors: map[string]EntityReaderWriter{}, -} - -// entityReaderWriters associates MIME to an EntityReaderWriter -type entityReaderWriters struct { - protection *sync.RWMutex - accessors map[string]EntityReaderWriter -} - -func init() { - RegisterEntityAccessor(MIME_JSON, NewEntityAccessorJSON(MIME_JSON)) - RegisterEntityAccessor(MIME_XML, NewEntityAccessorXML(MIME_XML)) -} - -// RegisterEntityAccessor add/overrides the ReaderWriter for encoding content with this MIME type. -func RegisterEntityAccessor(mime string, erw EntityReaderWriter) { - entityAccessRegistry.protection.Lock() - defer entityAccessRegistry.protection.Unlock() - entityAccessRegistry.accessors[mime] = erw -} - -// NewEntityAccessorJSON returns a new EntityReaderWriter for accessing JSON content. -// This package is already initialized with such an accessor using the MIME_JSON contentType. -func NewEntityAccessorJSON(contentType string) EntityReaderWriter { - return entityJSONAccess{ContentType: contentType} -} - -// NewEntityAccessorXML returns a new EntityReaderWriter for accessing XML content. -// This package is already initialized with such an accessor using the MIME_XML contentType. -func NewEntityAccessorXML(contentType string) EntityReaderWriter { - return entityXMLAccess{ContentType: contentType} -} - -// accessorAt returns the registered ReaderWriter for this MIME type. -func (r *entityReaderWriters) accessorAt(mime string) (EntityReaderWriter, bool) { - r.protection.RLock() - defer r.protection.RUnlock() - er, ok := r.accessors[mime] - if !ok { - // retry with reverse lookup - // more expensive but we are in an exceptional situation anyway - for k, v := range r.accessors { - if strings.Contains(mime, k) { - return v, true - } - } - } - return er, ok -} - -// entityXMLAccess is a EntityReaderWriter for XML encoding -type entityXMLAccess struct { - // This is used for setting the Content-Type header when writing - ContentType string -} - -// Read unmarshalls the value from XML -func (e entityXMLAccess) Read(req *Request, v interface{}) error { - return xml.NewDecoder(req.Request.Body).Decode(v) -} - -// Write marshalls the value to JSON and set the Content-Type Header. -func (e entityXMLAccess) Write(resp *Response, status int, v interface{}) error { - return writeXML(resp, status, e.ContentType, v) -} - -// writeXML marshalls the value to JSON and set the Content-Type Header. -func writeXML(resp *Response, status int, contentType string, v interface{}) error { - if v == nil { - resp.WriteHeader(status) - // do not write a nil representation - return nil - } - if resp.prettyPrint { - // pretty output must be created and written explicitly - output, err := xml.MarshalIndent(v, " ", " ") - if err != nil { - return err - } - resp.Header().Set(HEADER_ContentType, contentType) - resp.WriteHeader(status) - _, err = resp.Write([]byte(xml.Header)) - if err != nil { - return err - } - _, err = resp.Write(output) - return err - } - // not-so-pretty - resp.Header().Set(HEADER_ContentType, contentType) - resp.WriteHeader(status) - return xml.NewEncoder(resp).Encode(v) -} - -// entityJSONAccess is a EntityReaderWriter for JSON encoding -type entityJSONAccess struct { - // This is used for setting the Content-Type header when writing - ContentType string -} - -// Read unmarshalls the value from JSON -func (e entityJSONAccess) Read(req *Request, v interface{}) error { - decoder := NewDecoder(req.Request.Body) - decoder.UseNumber() - return decoder.Decode(v) -} - -// Write marshalls the value to JSON and set the Content-Type Header. -func (e entityJSONAccess) Write(resp *Response, status int, v interface{}) error { - return writeJSON(resp, status, e.ContentType, v) -} - -// write marshalls the value to JSON and set the Content-Type Header. -func writeJSON(resp *Response, status int, contentType string, v interface{}) error { - if v == nil { - resp.WriteHeader(status) - // do not write a nil representation - return nil - } - if resp.prettyPrint { - // pretty output must be created and written explicitly - output, err := MarshalIndent(v, "", " ") - if err != nil { - return err - } - resp.Header().Set(HEADER_ContentType, contentType) - resp.WriteHeader(status) - _, err = resp.Write(output) - return err - } - // not-so-pretty - resp.Header().Set(HEADER_ContentType, contentType) - resp.WriteHeader(status) - return NewEncoder(resp).Encode(v) -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/extensions.go b/api/vendor/github.com/emicklei/go-restful/v3/extensions.go deleted file mode 100644 index 5023fa049b58..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/extensions.go +++ /dev/null @@ -1,21 +0,0 @@ -package restful - -// Copyright 2021 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -// ExtensionProperties provides storage of vendor extensions for entities -type ExtensionProperties struct { - // Extensions vendor extensions used to describe extra functionality - // (https://swagger.io/docs/specification/2-0/swagger-extensions/) - Extensions map[string]interface{} -} - -// AddExtension adds or updates a key=value pair to the extension map. -func (ep *ExtensionProperties) AddExtension(key string, value interface{}) { - if ep.Extensions == nil { - ep.Extensions = map[string]interface{}{key: value} - } else { - ep.Extensions[key] = value - } -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/filter.go b/api/vendor/github.com/emicklei/go-restful/v3/filter.go deleted file mode 100644 index fd88c536c805..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/filter.go +++ /dev/null @@ -1,37 +0,0 @@ -package restful - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -// FilterChain is a request scoped object to process one or more filters before calling the target RouteFunction. -type FilterChain struct { - Filters []FilterFunction // ordered list of FilterFunction - Index int // index into filters that is currently in progress - Target RouteFunction // function to call after passing all filters - ParameterDocs []*Parameter // the parameter docs for the route - Operation string // the name of the operation -} - -// ProcessFilter passes the request,response pair through the next of Filters. -// Each filter can decide to proceed to the next Filter or handle the Response itself. -func (f *FilterChain) ProcessFilter(request *Request, response *Response) { - if f.Index < len(f.Filters) { - f.Index++ - f.Filters[f.Index-1](request, response, f) - } else { - f.Target(request, response) - } -} - -// FilterFunction definitions must call ProcessFilter on the FilterChain to pass on the control and eventually call the RouteFunction -type FilterFunction func(*Request, *Response, *FilterChain) - -// NoBrowserCacheFilter is a filter function to set HTTP headers that disable browser caching -// See examples/restful-no-cache-filter.go for usage -func NoBrowserCacheFilter(req *Request, resp *Response, chain *FilterChain) { - resp.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate") // HTTP 1.1. - resp.Header().Set("Pragma", "no-cache") // HTTP 1.0. - resp.Header().Set("Expires", "0") // Proxies. - chain.ProcessFilter(req, resp) -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/filter_adapter.go b/api/vendor/github.com/emicklei/go-restful/v3/filter_adapter.go deleted file mode 100644 index c246512fc0d5..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/filter_adapter.go +++ /dev/null @@ -1,21 +0,0 @@ -package restful - -import ( - "net/http" -) - -// HttpMiddlewareHandler is a function that takes a http.Handler and returns a http.Handler -type HttpMiddlewareHandler func(http.Handler) http.Handler - -// HttpMiddlewareHandlerToFilter converts a HttpMiddlewareHandler to a FilterFunction. -func HttpMiddlewareHandlerToFilter(middleware HttpMiddlewareHandler) FilterFunction { - return func(req *Request, resp *Response, chain *FilterChain) { - next := http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) { - req.Request = r - resp.ResponseWriter = rw - chain.ProcessFilter(req, resp) - }) - - middleware(next).ServeHTTP(resp.ResponseWriter, req.Request) - } -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/jsr311.go b/api/vendor/github.com/emicklei/go-restful/v3/jsr311.go deleted file mode 100644 index 7f04bd905336..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/jsr311.go +++ /dev/null @@ -1,313 +0,0 @@ -package restful - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -import ( - "errors" - "fmt" - "net/http" - "sort" - "strings" -) - -// RouterJSR311 implements the flow for matching Requests to Routes (and consequently Resource Functions) -// as specified by the JSR311 http://jsr311.java.net/nonav/releases/1.1/spec/spec.html. -// RouterJSR311 implements the Router interface. -// Concept of locators is not implemented. -type RouterJSR311 struct{} - -// SelectRoute is part of the Router interface and returns the best match -// for the WebService and its Route for the given Request. -func (r RouterJSR311) SelectRoute( - webServices []*WebService, - httpRequest *http.Request) (selectedService *WebService, selectedRoute *Route, err error) { - - // Identify the root resource class (WebService) - dispatcher, finalMatch, err := r.detectDispatcher(httpRequest.URL.Path, webServices) - if err != nil { - return nil, nil, NewError(http.StatusNotFound, "") - } - // Obtain the set of candidate methods (Routes) - routes := r.selectRoutes(dispatcher, finalMatch) - if len(routes) == 0 { - return dispatcher, nil, NewError(http.StatusNotFound, "404: Page Not Found") - } - - // Identify the method (Route) that will handle the request - route, ok := r.detectRoute(routes, httpRequest) - return dispatcher, route, ok -} - -// ExtractParameters is used to obtain the path parameters from the route using the same matching -// engine as the JSR 311 router. -func (r RouterJSR311) ExtractParameters(route *Route, webService *WebService, urlPath string) map[string]string { - webServiceExpr := webService.pathExpr - webServiceMatches := webServiceExpr.Matcher.FindStringSubmatch(urlPath) - pathParameters := r.extractParams(webServiceExpr, webServiceMatches) - routeExpr := route.pathExpr - routeMatches := routeExpr.Matcher.FindStringSubmatch(webServiceMatches[len(webServiceMatches)-1]) - routeParams := r.extractParams(routeExpr, routeMatches) - for key, value := range routeParams { - pathParameters[key] = value - } - return pathParameters -} - -func (RouterJSR311) extractParams(pathExpr *pathExpression, matches []string) map[string]string { - params := map[string]string{} - for i := 1; i < len(matches); i++ { - if len(pathExpr.VarNames) >= i { - params[pathExpr.VarNames[i-1]] = matches[i] - } - } - return params -} - -// https://download.oracle.com/otndocs/jcp/jaxrs-1.1-mrel-eval-oth-JSpec/ -func (r RouterJSR311) detectRoute(routes []Route, httpRequest *http.Request) (*Route, error) { - candidates := make([]*Route, 0, 8) - for i, each := range routes { - ok := true - for _, fn := range each.If { - if !fn(httpRequest) { - ok = false - break - } - } - if ok { - candidates = append(candidates, &routes[i]) - } - } - if len(candidates) == 0 { - if trace { - traceLogger.Printf("no Route found (from %d) that passes conditional checks", len(routes)) - } - return nil, NewError(http.StatusNotFound, "404: Not Found") - } - - // http method - previous := candidates - candidates = candidates[:0] - for _, each := range previous { - if httpRequest.Method == each.Method { - candidates = append(candidates, each) - } - } - if len(candidates) == 0 { - if trace { - traceLogger.Printf("no Route found (in %d routes) that matches HTTP method %s\n", len(previous), httpRequest.Method) - } - allowed := []string{} - allowedLoop: - for _, candidate := range previous { - for _, method := range allowed { - if method == candidate.Method { - continue allowedLoop - } - } - allowed = append(allowed, candidate.Method) - } - header := http.Header{"Allow": []string{strings.Join(allowed, ", ")}} - return nil, NewErrorWithHeader(http.StatusMethodNotAllowed, "405: Method Not Allowed", header) - } - - // content-type - contentType := httpRequest.Header.Get(HEADER_ContentType) - previous = candidates - candidates = candidates[:0] - for _, each := range previous { - if each.matchesContentType(contentType) { - candidates = append(candidates, each) - } - } - if len(candidates) == 0 { - if trace { - traceLogger.Printf("no Route found (from %d) that matches HTTP Content-Type: %s\n", len(previous), contentType) - } - return nil, NewError(http.StatusUnsupportedMediaType, "415: Unsupported Media Type") - } - - // accept - previous = candidates - candidates = candidates[:0] - accept := httpRequest.Header.Get(HEADER_Accept) - if len(accept) == 0 { - accept = "*/*" - } - for _, each := range previous { - if each.matchesAccept(accept) { - candidates = append(candidates, each) - } - } - if len(candidates) == 0 { - if trace { - traceLogger.Printf("no Route found (from %d) that matches HTTP Accept: %s\n", len(previous), accept) - } - available := []string{} - for _, candidate := range previous { - available = append(available, candidate.Produces...) - } - return nil, NewError( - http.StatusNotAcceptable, - fmt.Sprintf("406: Not Acceptable\n\nAvailable representations: %s", strings.Join(available, ", "))) - } - // return r.bestMatchByMedia(outputMediaOk, contentType, accept), nil - return candidates[0], nil -} - -// http://jsr311.java.net/nonav/releases/1.1/spec/spec3.html#x3-360003.7.2 -// n/m > n/* > */* -func (r RouterJSR311) bestMatchByMedia(routes []Route, contentType string, accept string) *Route { - // TODO - return &routes[0] -} - -// http://jsr311.java.net/nonav/releases/1.1/spec/spec3.html#x3-360003.7.2 (step 2) -func (r RouterJSR311) selectRoutes(dispatcher *WebService, pathRemainder string) []Route { - filtered := &sortableRouteCandidates{} - for _, each := range dispatcher.Routes() { - pathExpr := each.pathExpr - matches := pathExpr.Matcher.FindStringSubmatch(pathRemainder) - if matches != nil { - lastMatch := matches[len(matches)-1] - if len(lastMatch) == 0 || lastMatch == "/" { // do not include if value is neither empty nor ‘/’. - filtered.candidates = append(filtered.candidates, - routeCandidate{each, len(matches) - 1, pathExpr.LiteralCount, pathExpr.VarCount}) - } - } - } - if len(filtered.candidates) == 0 { - if trace { - traceLogger.Printf("WebService on path %s has no routes that match URL path remainder:%s\n", dispatcher.rootPath, pathRemainder) - } - return []Route{} - } - sort.Sort(sort.Reverse(filtered)) - - // select other routes from candidates whoes expression matches rmatch - matchingRoutes := []Route{filtered.candidates[0].route} - for c := 1; c < len(filtered.candidates); c++ { - each := filtered.candidates[c] - if each.route.pathExpr.Matcher.MatchString(pathRemainder) { - matchingRoutes = append(matchingRoutes, each.route) - } - } - return matchingRoutes -} - -// http://jsr311.java.net/nonav/releases/1.1/spec/spec3.html#x3-360003.7.2 (step 1) -func (r RouterJSR311) detectDispatcher(requestPath string, dispatchers []*WebService) (*WebService, string, error) { - filtered := &sortableDispatcherCandidates{} - for _, each := range dispatchers { - matches := each.pathExpr.Matcher.FindStringSubmatch(requestPath) - if matches != nil { - filtered.candidates = append(filtered.candidates, - dispatcherCandidate{each, matches[len(matches)-1], len(matches), each.pathExpr.LiteralCount, each.pathExpr.VarCount}) - } - } - if len(filtered.candidates) == 0 { - if trace { - traceLogger.Printf("no WebService was found to match URL path:%s\n", requestPath) - } - return nil, "", errors.New("not found") - } - sort.Sort(sort.Reverse(filtered)) - return filtered.candidates[0].dispatcher, filtered.candidates[0].finalMatch, nil -} - -// Types and functions to support the sorting of Routes - -type routeCandidate struct { - route Route - matchesCount int // the number of capturing groups - literalCount int // the number of literal characters (means those not resulting from template variable substitution) - nonDefaultCount int // the number of capturing groups with non-default regular expressions (i.e. not ‘([^ /]+?)’) -} - -func (r routeCandidate) expressionToMatch() string { - return r.route.pathExpr.Source -} - -func (r routeCandidate) String() string { - return fmt.Sprintf("(m=%d,l=%d,n=%d)", r.matchesCount, r.literalCount, r.nonDefaultCount) -} - -type sortableRouteCandidates struct { - candidates []routeCandidate -} - -func (rcs *sortableRouteCandidates) Len() int { - return len(rcs.candidates) -} -func (rcs *sortableRouteCandidates) Swap(i, j int) { - rcs.candidates[i], rcs.candidates[j] = rcs.candidates[j], rcs.candidates[i] -} -func (rcs *sortableRouteCandidates) Less(i, j int) bool { - ci := rcs.candidates[i] - cj := rcs.candidates[j] - // primary key - if ci.literalCount < cj.literalCount { - return true - } - if ci.literalCount > cj.literalCount { - return false - } - // secundary key - if ci.matchesCount < cj.matchesCount { - return true - } - if ci.matchesCount > cj.matchesCount { - return false - } - // tertiary key - if ci.nonDefaultCount < cj.nonDefaultCount { - return true - } - if ci.nonDefaultCount > cj.nonDefaultCount { - return false - } - // quaternary key ("source" is interpreted as Path) - return ci.route.Path < cj.route.Path -} - -// Types and functions to support the sorting of Dispatchers - -type dispatcherCandidate struct { - dispatcher *WebService - finalMatch string - matchesCount int // the number of capturing groups - literalCount int // the number of literal characters (means those not resulting from template variable substitution) - nonDefaultCount int // the number of capturing groups with non-default regular expressions (i.e. not ‘([^ /]+?)’) -} -type sortableDispatcherCandidates struct { - candidates []dispatcherCandidate -} - -func (dc *sortableDispatcherCandidates) Len() int { - return len(dc.candidates) -} -func (dc *sortableDispatcherCandidates) Swap(i, j int) { - dc.candidates[i], dc.candidates[j] = dc.candidates[j], dc.candidates[i] -} -func (dc *sortableDispatcherCandidates) Less(i, j int) bool { - ci := dc.candidates[i] - cj := dc.candidates[j] - // primary key - if ci.matchesCount < cj.matchesCount { - return true - } - if ci.matchesCount > cj.matchesCount { - return false - } - // secundary key - if ci.literalCount < cj.literalCount { - return true - } - if ci.literalCount > cj.literalCount { - return false - } - // tertiary key - return ci.nonDefaultCount < cj.nonDefaultCount -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/log/log.go b/api/vendor/github.com/emicklei/go-restful/v3/log/log.go deleted file mode 100644 index 6cd44c7a5d79..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/log/log.go +++ /dev/null @@ -1,34 +0,0 @@ -package log - -import ( - stdlog "log" - "os" -) - -// StdLogger corresponds to a minimal subset of the interface satisfied by stdlib log.Logger -type StdLogger interface { - Print(v ...interface{}) - Printf(format string, v ...interface{}) -} - -var Logger StdLogger - -func init() { - // default Logger - SetLogger(stdlog.New(os.Stderr, "[restful] ", stdlog.LstdFlags|stdlog.Lshortfile)) -} - -// SetLogger sets the logger for this package -func SetLogger(customLogger StdLogger) { - Logger = customLogger -} - -// Print delegates to the Logger -func Print(v ...interface{}) { - Logger.Print(v...) -} - -// Printf delegates to the Logger -func Printf(format string, v ...interface{}) { - Logger.Printf(format, v...) -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/logger.go b/api/vendor/github.com/emicklei/go-restful/v3/logger.go deleted file mode 100644 index 29202726f6cb..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/logger.go +++ /dev/null @@ -1,32 +0,0 @@ -package restful - -// Copyright 2014 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. -import ( - "github.com/emicklei/go-restful/v3/log" -) - -var trace bool = false -var traceLogger log.StdLogger - -func init() { - traceLogger = log.Logger // use the package logger by default -} - -// TraceLogger enables detailed logging of Http request matching and filter invocation. Default no logger is set. -// You may call EnableTracing() directly to enable trace logging to the package-wide logger. -func TraceLogger(logger log.StdLogger) { - traceLogger = logger - EnableTracing(logger != nil) -} - -// SetLogger exposes the setter for the global logger on the top-level package -func SetLogger(customLogger log.StdLogger) { - log.SetLogger(customLogger) -} - -// EnableTracing can be used to Trace logging on and off. -func EnableTracing(enabled bool) { - trace = enabled -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/mime.go b/api/vendor/github.com/emicklei/go-restful/v3/mime.go deleted file mode 100644 index 33014471b998..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/mime.go +++ /dev/null @@ -1,50 +0,0 @@ -package restful - -import ( - "strconv" - "strings" -) - -type mime struct { - media string - quality float64 -} - -// insertMime adds a mime to a list and keeps it sorted by quality. -func insertMime(l []mime, e mime) []mime { - for i, each := range l { - // if current mime has lower quality then insert before - if e.quality > each.quality { - left := append([]mime{}, l[0:i]...) - return append(append(left, e), l[i:]...) - } - } - return append(l, e) -} - -const qFactorWeightingKey = "q" - -// sortedMimes returns a list of mime sorted (desc) by its specified quality. -// e.g. text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3 -func sortedMimes(accept string) (sorted []mime) { - for _, each := range strings.Split(accept, ",") { - typeAndQuality := strings.Split(strings.Trim(each, " "), ";") - if len(typeAndQuality) == 1 { - sorted = insertMime(sorted, mime{typeAndQuality[0], 1.0}) - } else { - // take factor - qAndWeight := strings.Split(typeAndQuality[1], "=") - if len(qAndWeight) == 2 && strings.Trim(qAndWeight[0], " ") == qFactorWeightingKey { - f, err := strconv.ParseFloat(qAndWeight[1], 64) - if err != nil { - traceLogger.Printf("unable to parse quality in %s, %v", each, err) - } else { - sorted = insertMime(sorted, mime{typeAndQuality[0], f}) - } - } else { - sorted = insertMime(sorted, mime{typeAndQuality[0], 1.0}) - } - } - } - return -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/options_filter.go b/api/vendor/github.com/emicklei/go-restful/v3/options_filter.go deleted file mode 100644 index 5c1b34251c16..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/options_filter.go +++ /dev/null @@ -1,34 +0,0 @@ -package restful - -import "strings" - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -// OPTIONSFilter is a filter function that inspects the Http Request for the OPTIONS method -// and provides the response with a set of allowed methods for the request URL Path. -// As for any filter, you can also install it for a particular WebService within a Container. -// Note: this filter is not needed when using CrossOriginResourceSharing (for CORS). -func (c *Container) OPTIONSFilter(req *Request, resp *Response, chain *FilterChain) { - if "OPTIONS" != req.Request.Method { - chain.ProcessFilter(req, resp) - return - } - - archs := req.Request.Header.Get(HEADER_AccessControlRequestHeaders) - methods := strings.Join(c.computeAllowedMethods(req), ",") - origin := req.Request.Header.Get(HEADER_Origin) - - resp.AddHeader(HEADER_Allow, methods) - resp.AddHeader(HEADER_AccessControlAllowOrigin, origin) - resp.AddHeader(HEADER_AccessControlAllowHeaders, archs) - resp.AddHeader(HEADER_AccessControlAllowMethods, methods) -} - -// OPTIONSFilter is a filter function that inspects the Http Request for the OPTIONS method -// and provides the response with a set of allowed methods for the request URL Path. -// Note: this filter is not needed when using CrossOriginResourceSharing (for CORS). -func OPTIONSFilter() FilterFunction { - return DefaultContainer.OPTIONSFilter -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/parameter.go b/api/vendor/github.com/emicklei/go-restful/v3/parameter.go deleted file mode 100644 index 0b851bb437b7..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/parameter.go +++ /dev/null @@ -1,242 +0,0 @@ -package restful - -import "sort" - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -const ( - // PathParameterKind = indicator of Request parameter type "path" - PathParameterKind = iota - - // QueryParameterKind = indicator of Request parameter type "query" - QueryParameterKind - - // BodyParameterKind = indicator of Request parameter type "body" - BodyParameterKind - - // HeaderParameterKind = indicator of Request parameter type "header" - HeaderParameterKind - - // FormParameterKind = indicator of Request parameter type "form" - FormParameterKind - - // MultiPartFormParameterKind = indicator of Request parameter type "multipart/form-data" - MultiPartFormParameterKind - - // CollectionFormatCSV comma separated values `foo,bar` - CollectionFormatCSV = CollectionFormat("csv") - - // CollectionFormatSSV space separated values `foo bar` - CollectionFormatSSV = CollectionFormat("ssv") - - // CollectionFormatTSV tab separated values `foo\tbar` - CollectionFormatTSV = CollectionFormat("tsv") - - // CollectionFormatPipes pipe separated values `foo|bar` - CollectionFormatPipes = CollectionFormat("pipes") - - // CollectionFormatMulti corresponds to multiple parameter instances instead of multiple values for a single - // instance `foo=bar&foo=baz`. This is valid only for QueryParameters and FormParameters - CollectionFormatMulti = CollectionFormat("multi") -) - -type CollectionFormat string - -func (cf CollectionFormat) String() string { - return string(cf) -} - -// Parameter is for documententing the parameter used in a Http Request -// ParameterData kinds are Path,Query and Body -type Parameter struct { - data *ParameterData -} - -// ParameterData represents the state of a Parameter. -// It is made public to make it accessible to e.g. the Swagger package. -type ParameterData struct { - ExtensionProperties - Name, Description, DataType, DataFormat string - Kind int - Required bool - // AllowableValues is deprecated. Use PossibleValues instead - AllowableValues map[string]string - PossibleValues []string - AllowMultiple bool - AllowEmptyValue bool - DefaultValue string - CollectionFormat string - Pattern string - Minimum *float64 - Maximum *float64 - MinLength *int64 - MaxLength *int64 - MinItems *int64 - MaxItems *int64 - UniqueItems bool -} - -// Data returns the state of the Parameter -func (p *Parameter) Data() ParameterData { - return *p.data -} - -// Kind returns the parameter type indicator (see const for valid values) -func (p *Parameter) Kind() int { - return p.data.Kind -} - -func (p *Parameter) bePath() *Parameter { - p.data.Kind = PathParameterKind - return p -} -func (p *Parameter) beQuery() *Parameter { - p.data.Kind = QueryParameterKind - return p -} -func (p *Parameter) beBody() *Parameter { - p.data.Kind = BodyParameterKind - return p -} - -func (p *Parameter) beHeader() *Parameter { - p.data.Kind = HeaderParameterKind - return p -} - -func (p *Parameter) beForm() *Parameter { - p.data.Kind = FormParameterKind - return p -} - -func (p *Parameter) beMultiPartForm() *Parameter { - p.data.Kind = MultiPartFormParameterKind - return p -} - -// Required sets the required field and returns the receiver -func (p *Parameter) Required(required bool) *Parameter { - p.data.Required = required - return p -} - -// AllowMultiple sets the allowMultiple field and returns the receiver -func (p *Parameter) AllowMultiple(multiple bool) *Parameter { - p.data.AllowMultiple = multiple - return p -} - -// AddExtension adds or updates a key=value pair to the extension map -func (p *Parameter) AddExtension(key string, value interface{}) *Parameter { - p.data.AddExtension(key, value) - return p -} - -// AllowEmptyValue sets the AllowEmptyValue field and returns the receiver -func (p *Parameter) AllowEmptyValue(multiple bool) *Parameter { - p.data.AllowEmptyValue = multiple - return p -} - -// AllowableValues is deprecated. Use PossibleValues instead. Both will be set. -func (p *Parameter) AllowableValues(values map[string]string) *Parameter { - p.data.AllowableValues = values - - allowableSortedKeys := make([]string, 0, len(values)) - for k := range values { - allowableSortedKeys = append(allowableSortedKeys, k) - } - sort.Strings(allowableSortedKeys) - - p.data.PossibleValues = make([]string, 0, len(values)) - for _, k := range allowableSortedKeys { - p.data.PossibleValues = append(p.data.PossibleValues, values[k]) - } - return p -} - -// PossibleValues sets the possible values field and returns the receiver -func (p *Parameter) PossibleValues(values []string) *Parameter { - p.data.PossibleValues = values - return p -} - -// DataType sets the dataType field and returns the receiver -func (p *Parameter) DataType(typeName string) *Parameter { - p.data.DataType = typeName - return p -} - -// DataFormat sets the dataFormat field for Swagger UI -func (p *Parameter) DataFormat(formatName string) *Parameter { - p.data.DataFormat = formatName - return p -} - -// DefaultValue sets the default value field and returns the receiver -func (p *Parameter) DefaultValue(stringRepresentation string) *Parameter { - p.data.DefaultValue = stringRepresentation - return p -} - -// Description sets the description value field and returns the receiver -func (p *Parameter) Description(doc string) *Parameter { - p.data.Description = doc - return p -} - -// CollectionFormat sets the collection format for an array type -func (p *Parameter) CollectionFormat(format CollectionFormat) *Parameter { - p.data.CollectionFormat = format.String() - return p -} - -// Pattern sets the pattern field and returns the receiver -func (p *Parameter) Pattern(pattern string) *Parameter { - p.data.Pattern = pattern - return p -} - -// Minimum sets the minimum field and returns the receiver -func (p *Parameter) Minimum(minimum float64) *Parameter { - p.data.Minimum = &minimum - return p -} - -// Maximum sets the maximum field and returns the receiver -func (p *Parameter) Maximum(maximum float64) *Parameter { - p.data.Maximum = &maximum - return p -} - -// MinLength sets the minLength field and returns the receiver -func (p *Parameter) MinLength(minLength int64) *Parameter { - p.data.MinLength = &minLength - return p -} - -// MaxLength sets the maxLength field and returns the receiver -func (p *Parameter) MaxLength(maxLength int64) *Parameter { - p.data.MaxLength = &maxLength - return p -} - -// MinItems sets the minItems field and returns the receiver -func (p *Parameter) MinItems(minItems int64) *Parameter { - p.data.MinItems = &minItems - return p -} - -// MaxItems sets the maxItems field and returns the receiver -func (p *Parameter) MaxItems(maxItems int64) *Parameter { - p.data.MaxItems = &maxItems - return p -} - -// UniqueItems sets the uniqueItems field and returns the receiver -func (p *Parameter) UniqueItems(uniqueItems bool) *Parameter { - p.data.UniqueItems = uniqueItems - return p -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/path_expression.go b/api/vendor/github.com/emicklei/go-restful/v3/path_expression.go deleted file mode 100644 index 95a9a2545000..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/path_expression.go +++ /dev/null @@ -1,74 +0,0 @@ -package restful - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -import ( - "bytes" - "fmt" - "regexp" - "strings" -) - -// PathExpression holds a compiled path expression (RegExp) needed to match against -// Http request paths and to extract path parameter values. -type pathExpression struct { - LiteralCount int // the number of literal characters (means those not resulting from template variable substitution) - VarNames []string // the names of parameters (enclosed by {}) in the path - VarCount int // the number of named parameters (enclosed by {}) in the path - Matcher *regexp.Regexp - Source string // Path as defined by the RouteBuilder - tokens []string -} - -// NewPathExpression creates a PathExpression from the input URL path. -// Returns an error if the path is invalid. -func newPathExpression(path string) (*pathExpression, error) { - expression, literalCount, varNames, varCount, tokens := templateToRegularExpression(path) - compiled, err := regexp.Compile(expression) - if err != nil { - return nil, err - } - return &pathExpression{literalCount, varNames, varCount, compiled, expression, tokens}, nil -} - -// http://jsr311.java.net/nonav/releases/1.1/spec/spec3.html#x3-370003.7.3 -func templateToRegularExpression(template string) (expression string, literalCount int, varNames []string, varCount int, tokens []string) { - var buffer bytes.Buffer - buffer.WriteString("^") - //tokens = strings.Split(template, "/") - tokens = tokenizePath(template) - for _, each := range tokens { - if each == "" { - continue - } - buffer.WriteString("/") - if strings.HasPrefix(each, "{") { - // check for regular expression in variable - colon := strings.Index(each, ":") - var varName string - if colon != -1 { - // extract expression - varName = strings.TrimSpace(each[1:colon]) - paramExpr := strings.TrimSpace(each[colon+1 : len(each)-1]) - if paramExpr == "*" { // special case - buffer.WriteString("(.*)") - } else { - buffer.WriteString(fmt.Sprintf("(%s)", paramExpr)) // between colon and closing moustache - } - } else { - // plain var - varName = strings.TrimSpace(each[1 : len(each)-1]) - buffer.WriteString("([^/]+?)") - } - varNames = append(varNames, varName) - varCount += 1 - } else { - literalCount += len(each) - encoded := each // TODO URI encode - buffer.WriteString(regexp.QuoteMeta(encoded)) - } - } - return strings.TrimRight(buffer.String(), "/") + "(/.*)?$", literalCount, varNames, varCount, tokens -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/path_processor.go b/api/vendor/github.com/emicklei/go-restful/v3/path_processor.go deleted file mode 100644 index 141573245068..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/path_processor.go +++ /dev/null @@ -1,74 +0,0 @@ -package restful - -import ( - "bytes" - "strings" -) - -// Copyright 2018 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -// PathProcessor is extra behaviour that a Router can provide to extract path parameters from the path. -// If a Router does not implement this interface then the default behaviour will be used. -type PathProcessor interface { - // ExtractParameters gets the path parameters defined in the route and webService from the urlPath - ExtractParameters(route *Route, webService *WebService, urlPath string) map[string]string -} - -type defaultPathProcessor struct{} - -// Extract the parameters from the request url path -func (d defaultPathProcessor) ExtractParameters(r *Route, _ *WebService, urlPath string) map[string]string { - urlParts := tokenizePath(urlPath) - pathParameters := map[string]string{} - for i, key := range r.pathParts { - var value string - if i >= len(urlParts) { - value = "" - } else { - value = urlParts[i] - } - if r.hasCustomVerb && hasCustomVerb(key) { - key = removeCustomVerb(key) - value = removeCustomVerb(value) - } - - if strings.Index(key, "{") > -1 { // path-parameter - if colon := strings.Index(key, ":"); colon != -1 { - // extract by regex - regPart := key[colon+1 : len(key)-1] - keyPart := key[1:colon] - if regPart == "*" { - pathParameters[keyPart] = untokenizePath(i, urlParts) - break - } else { - pathParameters[keyPart] = value - } - } else { - // without enclosing {} - startIndex := strings.Index(key, "{") - endKeyIndex := strings.Index(key, "}") - - suffixLength := len(key) - endKeyIndex - 1 - endValueIndex := len(value) - suffixLength - - pathParameters[key[startIndex+1:endKeyIndex]] = value[startIndex:endValueIndex] - } - } - } - return pathParameters -} - -// Untokenize back into an URL path using the slash separator -func untokenizePath(offset int, parts []string) string { - var buffer bytes.Buffer - for p := offset; p < len(parts); p++ { - buffer.WriteString(parts[p]) - // do not end - if p < len(parts)-1 { - buffer.WriteString("/") - } - } - return buffer.String() -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/request.go b/api/vendor/github.com/emicklei/go-restful/v3/request.go deleted file mode 100644 index 0020095e8622..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/request.go +++ /dev/null @@ -1,133 +0,0 @@ -package restful - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -import ( - "compress/zlib" - "net/http" -) - -var defaultRequestContentType string - -// Request is a wrapper for a http Request that provides convenience methods -type Request struct { - Request *http.Request - pathParameters map[string]string - attributes map[string]interface{} // for storing request-scoped values - selectedRoute *Route // is nil when no route was matched -} - -func NewRequest(httpRequest *http.Request) *Request { - return &Request{ - Request: httpRequest, - pathParameters: map[string]string{}, - attributes: map[string]interface{}{}, - } // empty parameters, attributes -} - -// If ContentType is missing or */* is given then fall back to this type, otherwise -// a "Unable to unmarshal content of type:" response is returned. -// Valid values are restful.MIME_JSON and restful.MIME_XML -// Example: -// -// restful.DefaultRequestContentType(restful.MIME_JSON) -func DefaultRequestContentType(mime string) { - defaultRequestContentType = mime -} - -// PathParameter accesses the Path parameter value by its name -func (r *Request) PathParameter(name string) string { - return r.pathParameters[name] -} - -// PathParameters accesses the Path parameter values -func (r *Request) PathParameters() map[string]string { - return r.pathParameters -} - -// QueryParameter returns the (first) Query parameter value by its name -func (r *Request) QueryParameter(name string) string { - return r.Request.URL.Query().Get(name) -} - -// QueryParameters returns the all the query parameters values by name -func (r *Request) QueryParameters(name string) []string { - return r.Request.URL.Query()[name] -} - -// BodyParameter parses the body of the request (once for typically a POST or a PUT) and returns the value of the given name or an error. -func (r *Request) BodyParameter(name string) (string, error) { - err := r.Request.ParseForm() - if err != nil { - return "", err - } - return r.Request.PostFormValue(name), nil -} - -// HeaderParameter returns the HTTP Header value of a Header name or empty if missing -func (r *Request) HeaderParameter(name string) string { - return r.Request.Header.Get(name) -} - -// ReadEntity checks the Accept header and reads the content into the entityPointer. -func (r *Request) ReadEntity(entityPointer interface{}) (err error) { - contentType := r.Request.Header.Get(HEADER_ContentType) - contentEncoding := r.Request.Header.Get(HEADER_ContentEncoding) - - // check if the request body needs decompression - if ENCODING_GZIP == contentEncoding { - gzipReader := currentCompressorProvider.AcquireGzipReader() - defer currentCompressorProvider.ReleaseGzipReader(gzipReader) - gzipReader.Reset(r.Request.Body) - r.Request.Body = gzipReader - } else if ENCODING_DEFLATE == contentEncoding { - zlibReader, err := zlib.NewReader(r.Request.Body) - if err != nil { - return err - } - r.Request.Body = zlibReader - } - - // lookup the EntityReader, use defaultRequestContentType if needed and provided - entityReader, ok := entityAccessRegistry.accessorAt(contentType) - if !ok { - if len(defaultRequestContentType) != 0 { - entityReader, ok = entityAccessRegistry.accessorAt(defaultRequestContentType) - } - if !ok { - return NewError(http.StatusBadRequest, "Unable to unmarshal content of type:"+contentType) - } - } - return entityReader.Read(r, entityPointer) -} - -// SetAttribute adds or replaces the attribute with the given value. -func (r *Request) SetAttribute(name string, value interface{}) { - r.attributes[name] = value -} - -// Attribute returns the value associated to the given name. Returns nil if absent. -func (r Request) Attribute(name string) interface{} { - return r.attributes[name] -} - -// SelectedRoutePath root path + route path that matched the request, e.g. /meetings/{id}/attendees -// If no route was matched then return an empty string. -func (r Request) SelectedRoutePath() string { - if r.selectedRoute == nil { - return "" - } - // skip creating an accessor - return r.selectedRoute.Path -} - -// SelectedRoute returns a reader to access the selected Route by the container -// Returns nil if no route was matched. -func (r Request) SelectedRoute() RouteReader { - if r.selectedRoute == nil { - return nil - } - return routeAccessor{route: r.selectedRoute} -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/response.go b/api/vendor/github.com/emicklei/go-restful/v3/response.go deleted file mode 100644 index a41a92cc2c35..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/response.go +++ /dev/null @@ -1,259 +0,0 @@ -package restful - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -import ( - "bufio" - "errors" - "net" - "net/http" -) - -// DefaultResponseMimeType is DEPRECATED, use DefaultResponseContentType(mime) -var DefaultResponseMimeType string - -//PrettyPrintResponses controls the indentation feature of XML and JSON serialization -var PrettyPrintResponses = true - -// Response is a wrapper on the actual http ResponseWriter -// It provides several convenience methods to prepare and write response content. -type Response struct { - http.ResponseWriter - requestAccept string // mime-type what the Http Request says it wants to receive - routeProduces []string // mime-types what the Route says it can produce - statusCode int // HTTP status code that has been written explicitly (if zero then net/http has written 200) - contentLength int // number of bytes written for the response body - prettyPrint bool // controls the indentation feature of XML and JSON serialization. It is initialized using var PrettyPrintResponses. - err error // err property is kept when WriteError is called - hijacker http.Hijacker // if underlying ResponseWriter supports it -} - -// NewResponse creates a new response based on a http ResponseWriter. -func NewResponse(httpWriter http.ResponseWriter) *Response { - hijacker, _ := httpWriter.(http.Hijacker) - return &Response{ResponseWriter: httpWriter, routeProduces: []string{}, statusCode: http.StatusOK, prettyPrint: PrettyPrintResponses, hijacker: hijacker} -} - -// DefaultResponseContentType set a default. -// If Accept header matching fails, fall back to this type. -// Valid values are restful.MIME_JSON and restful.MIME_XML -// Example: -// restful.DefaultResponseContentType(restful.MIME_JSON) -func DefaultResponseContentType(mime string) { - DefaultResponseMimeType = mime -} - -// InternalServerError writes the StatusInternalServerError header. -// DEPRECATED, use WriteErrorString(http.StatusInternalServerError,reason) -func (r Response) InternalServerError() Response { - r.WriteHeader(http.StatusInternalServerError) - return r -} - -// Hijack implements the http.Hijacker interface. This expands -// the Response to fulfill http.Hijacker if the underlying -// http.ResponseWriter supports it. -func (r *Response) Hijack() (net.Conn, *bufio.ReadWriter, error) { - if r.hijacker == nil { - return nil, nil, errors.New("http.Hijacker not implemented by underlying http.ResponseWriter") - } - return r.hijacker.Hijack() -} - -// PrettyPrint changes whether this response must produce pretty (line-by-line, indented) JSON or XML output. -func (r *Response) PrettyPrint(bePretty bool) { - r.prettyPrint = bePretty -} - -// AddHeader is a shortcut for .Header().Add(header,value) -func (r Response) AddHeader(header string, value string) Response { - r.Header().Add(header, value) - return r -} - -// SetRequestAccepts tells the response what Mime-type(s) the HTTP request said it wants to accept. Exposed for testing. -func (r *Response) SetRequestAccepts(mime string) { - r.requestAccept = mime -} - -// EntityWriter returns the registered EntityWriter that the entity (requested resource) -// can write according to what the request wants (Accept) and what the Route can produce or what the restful defaults say. -// If called before WriteEntity and WriteHeader then a false return value can be used to write a 406: Not Acceptable. -func (r *Response) EntityWriter() (EntityReaderWriter, bool) { - sorted := sortedMimes(r.requestAccept) - for _, eachAccept := range sorted { - for _, eachProduce := range r.routeProduces { - if eachProduce == eachAccept.media { - if w, ok := entityAccessRegistry.accessorAt(eachAccept.media); ok { - return w, true - } - } - } - if eachAccept.media == "*/*" { - for _, each := range r.routeProduces { - if w, ok := entityAccessRegistry.accessorAt(each); ok { - return w, true - } - } - } - } - // if requestAccept is empty - writer, ok := entityAccessRegistry.accessorAt(r.requestAccept) - if !ok { - // if not registered then fallback to the defaults (if set) - if DefaultResponseMimeType == MIME_JSON { - return entityAccessRegistry.accessorAt(MIME_JSON) - } - if DefaultResponseMimeType == MIME_XML { - return entityAccessRegistry.accessorAt(MIME_XML) - } - if DefaultResponseMimeType == MIME_ZIP { - return entityAccessRegistry.accessorAt(MIME_ZIP) - } - // Fallback to whatever the route says it can produce. - // https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html - for _, each := range r.routeProduces { - if w, ok := entityAccessRegistry.accessorAt(each); ok { - return w, true - } - } - if trace { - traceLogger.Printf("no registered EntityReaderWriter found for %s", r.requestAccept) - } - } - return writer, ok -} - -// WriteEntity calls WriteHeaderAndEntity with Http Status OK (200) -func (r *Response) WriteEntity(value interface{}) error { - return r.WriteHeaderAndEntity(http.StatusOK, value) -} - -// WriteHeaderAndEntity marshals the value using the representation denoted by the Accept Header and the registered EntityWriters. -// If no Accept header is specified (or */*) then respond with the Content-Type as specified by the first in the Route.Produces. -// If an Accept header is specified then respond with the Content-Type as specified by the first in the Route.Produces that is matched with the Accept header. -// If the value is nil then no response is send except for the Http status. You may want to call WriteHeader(http.StatusNotFound) instead. -// If there is no writer available that can represent the value in the requested MIME type then Http Status NotAcceptable is written. -// Current implementation ignores any q-parameters in the Accept Header. -// Returns an error if the value could not be written on the response. -func (r *Response) WriteHeaderAndEntity(status int, value interface{}) error { - writer, ok := r.EntityWriter() - if !ok { - r.WriteHeader(http.StatusNotAcceptable) - return nil - } - return writer.Write(r, status, value) -} - -// WriteAsXml is a convenience method for writing a value in xml (requires Xml tags on the value) -// It uses the standard encoding/xml package for marshalling the value ; not using a registered EntityReaderWriter. -func (r *Response) WriteAsXml(value interface{}) error { - return writeXML(r, http.StatusOK, MIME_XML, value) -} - -// WriteHeaderAndXml is a convenience method for writing a status and value in xml (requires Xml tags on the value) -// It uses the standard encoding/xml package for marshalling the value ; not using a registered EntityReaderWriter. -func (r *Response) WriteHeaderAndXml(status int, value interface{}) error { - return writeXML(r, status, MIME_XML, value) -} - -// WriteAsJson is a convenience method for writing a value in json. -// It uses the standard encoding/json package for marshalling the value ; not using a registered EntityReaderWriter. -func (r *Response) WriteAsJson(value interface{}) error { - return writeJSON(r, http.StatusOK, MIME_JSON, value) -} - -// WriteJson is a convenience method for writing a value in Json with a given Content-Type. -// It uses the standard encoding/json package for marshalling the value ; not using a registered EntityReaderWriter. -func (r *Response) WriteJson(value interface{}, contentType string) error { - return writeJSON(r, http.StatusOK, contentType, value) -} - -// WriteHeaderAndJson is a convenience method for writing the status and a value in Json with a given Content-Type. -// It uses the standard encoding/json package for marshalling the value ; not using a registered EntityReaderWriter. -func (r *Response) WriteHeaderAndJson(status int, value interface{}, contentType string) error { - return writeJSON(r, status, contentType, value) -} - -// WriteError writes the http status and the error string on the response. err can be nil. -// Return an error if writing was not successful. -func (r *Response) WriteError(httpStatus int, err error) (writeErr error) { - r.err = err - if err == nil { - writeErr = r.WriteErrorString(httpStatus, "") - } else { - writeErr = r.WriteErrorString(httpStatus, err.Error()) - } - return writeErr -} - -// WriteServiceError is a convenience method for a responding with a status and a ServiceError -func (r *Response) WriteServiceError(httpStatus int, err ServiceError) error { - r.err = err - return r.WriteHeaderAndEntity(httpStatus, err) -} - -// WriteErrorString is a convenience method for an error status with the actual error -func (r *Response) WriteErrorString(httpStatus int, errorReason string) error { - if r.err == nil { - // if not called from WriteError - r.err = errors.New(errorReason) - } - r.WriteHeader(httpStatus) - if _, err := r.Write([]byte(errorReason)); err != nil { - return err - } - return nil -} - -// Flush implements http.Flusher interface, which sends any buffered data to the client. -func (r *Response) Flush() { - if f, ok := r.ResponseWriter.(http.Flusher); ok { - f.Flush() - } else if trace { - traceLogger.Printf("ResponseWriter %v doesn't support Flush", r) - } -} - -// WriteHeader is overridden to remember the Status Code that has been written. -// Changes to the Header of the response have no effect after this. -func (r *Response) WriteHeader(httpStatus int) { - r.statusCode = httpStatus - r.ResponseWriter.WriteHeader(httpStatus) -} - -// StatusCode returns the code that has been written using WriteHeader. -func (r Response) StatusCode() int { - if 0 == r.statusCode { - // no status code has been written yet; assume OK - return http.StatusOK - } - return r.statusCode -} - -// Write writes the data to the connection as part of an HTTP reply. -// Write is part of http.ResponseWriter interface. -func (r *Response) Write(bytes []byte) (int, error) { - written, err := r.ResponseWriter.Write(bytes) - r.contentLength += written - return written, err -} - -// ContentLength returns the number of bytes written for the response content. -// Note that this value is only correct if all data is written through the Response using its Write* methods. -// Data written directly using the underlying http.ResponseWriter is not accounted for. -func (r Response) ContentLength() int { - return r.contentLength -} - -// CloseNotify is part of http.CloseNotifier interface -func (r Response) CloseNotify() <-chan bool { - return r.ResponseWriter.(http.CloseNotifier).CloseNotify() -} - -// Error returns the err created by WriteError -func (r Response) Error() error { - return r.err -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/route.go b/api/vendor/github.com/emicklei/go-restful/v3/route.go deleted file mode 100644 index a2056e2acbbc..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/route.go +++ /dev/null @@ -1,193 +0,0 @@ -package restful - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -import ( - "net/http" - "strings" -) - -// RouteFunction declares the signature of a function that can be bound to a Route. -type RouteFunction func(*Request, *Response) - -// RouteSelectionConditionFunction declares the signature of a function that -// can be used to add extra conditional logic when selecting whether the route -// matches the HTTP request. -type RouteSelectionConditionFunction func(httpRequest *http.Request) bool - -// Route binds a HTTP Method,Path,Consumes combination to a RouteFunction. -type Route struct { - ExtensionProperties - Method string - Produces []string - Consumes []string - Path string // webservice root path + described path - Function RouteFunction - Filters []FilterFunction - If []RouteSelectionConditionFunction - - // cached values for dispatching - relativePath string - pathParts []string - pathExpr *pathExpression // cached compilation of relativePath as RegExp - - // documentation - Doc string - Notes string - Operation string - ParameterDocs []*Parameter - ResponseErrors map[int]ResponseError - DefaultResponse *ResponseError - ReadSample, WriteSample interface{} // structs that model an example request or response payload - WriteSamples []interface{} // if more than one return types is possible (oneof) then this will contain multiple values - - // Extra information used to store custom information about the route. - Metadata map[string]interface{} - - // marks a route as deprecated - Deprecated bool - - //Overrides the container.contentEncodingEnabled - contentEncodingEnabled *bool - - // indicate route path has custom verb - hasCustomVerb bool - - // if a request does not include a content-type header then - // depending on the method, it may return a 415 Unsupported Media - // Must have uppercase HTTP Method names such as GET,HEAD,OPTIONS,... - allowedMethodsWithoutContentType []string -} - -// Initialize for Route -func (r *Route) postBuild() { - r.pathParts = tokenizePath(r.Path) - r.hasCustomVerb = hasCustomVerb(r.Path) -} - -// Create Request and Response from their http versions -func (r *Route) wrapRequestResponse(httpWriter http.ResponseWriter, httpRequest *http.Request, pathParams map[string]string) (*Request, *Response) { - wrappedRequest := NewRequest(httpRequest) - wrappedRequest.pathParameters = pathParams - wrappedRequest.selectedRoute = r - wrappedResponse := NewResponse(httpWriter) - wrappedResponse.requestAccept = httpRequest.Header.Get(HEADER_Accept) - wrappedResponse.routeProduces = r.Produces - return wrappedRequest, wrappedResponse -} - -func stringTrimSpaceCutset(r rune) bool { - return r == ' ' -} - -// Return whether the mimeType matches to what this Route can produce. -func (r Route) matchesAccept(mimeTypesWithQuality string) bool { - remaining := mimeTypesWithQuality - for { - var mimeType string - if end := strings.Index(remaining, ","); end == -1 { - mimeType, remaining = remaining, "" - } else { - mimeType, remaining = remaining[:end], remaining[end+1:] - } - if quality := strings.Index(mimeType, ";"); quality != -1 { - mimeType = mimeType[:quality] - } - mimeType = strings.TrimFunc(mimeType, stringTrimSpaceCutset) - if mimeType == "*/*" { - return true - } - for _, producibleType := range r.Produces { - if producibleType == "*/*" || producibleType == mimeType { - return true - } - } - if len(remaining) == 0 { - return false - } - } -} - -// Return whether this Route can consume content with a type specified by mimeTypes (can be empty). -// If the route does not specify Consumes then return true (*/*). -// If no content type is set then return true for GET,HEAD,OPTIONS,DELETE and TRACE. -func (r Route) matchesContentType(mimeTypes string) bool { - - if len(r.Consumes) == 0 { - // did not specify what it can consume ; any media type (“*/*”) is assumed - return true - } - - if len(mimeTypes) == 0 { - // idempotent methods with (most-likely or guaranteed) empty content match missing Content-Type - m := r.Method - // if route specifies less or non-idempotent methods then use that - if len(r.allowedMethodsWithoutContentType) > 0 { - for _, each := range r.allowedMethodsWithoutContentType { - if m == each { - return true - } - } - } else { - if m == "GET" || m == "HEAD" || m == "OPTIONS" || m == "DELETE" || m == "TRACE" { - return true - } - } - // proceed with default - mimeTypes = MIME_OCTET - } - - remaining := mimeTypes - for { - var mimeType string - if end := strings.Index(remaining, ","); end == -1 { - mimeType, remaining = remaining, "" - } else { - mimeType, remaining = remaining[:end], remaining[end+1:] - } - if quality := strings.Index(mimeType, ";"); quality != -1 { - mimeType = mimeType[:quality] - } - mimeType = strings.TrimFunc(mimeType, stringTrimSpaceCutset) - for _, consumeableType := range r.Consumes { - if consumeableType == "*/*" || consumeableType == mimeType { - return true - } - } - if len(remaining) == 0 { - return false - } - } -} - -// Tokenize an URL path using the slash separator ; the result does not have empty tokens -func tokenizePath(path string) []string { - if "/" == path { - return nil - } - if TrimRightSlashEnabled { - // 3.9.0 - return strings.Split(strings.Trim(path, "/"), "/") - } else { - // 3.10.2 - return strings.Split(strings.TrimLeft(path, "/"), "/") - } -} - -// for debugging -func (r *Route) String() string { - return r.Method + " " + r.Path -} - -// EnableContentEncoding (default=false) allows for GZIP or DEFLATE encoding of responses. Overrides the container.contentEncodingEnabled value. -func (r *Route) EnableContentEncoding(enabled bool) { - r.contentEncodingEnabled = &enabled -} - -// TrimRightSlashEnabled controls whether -// - path on route building is using path.Join -// - the path of the incoming request is trimmed of its slash suffux. -// Value of true matches the behavior of <= 3.9.0 -var TrimRightSlashEnabled = true diff --git a/api/vendor/github.com/emicklei/go-restful/v3/route_builder.go b/api/vendor/github.com/emicklei/go-restful/v3/route_builder.go deleted file mode 100644 index 75168c12e1af..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/route_builder.go +++ /dev/null @@ -1,389 +0,0 @@ -package restful - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -import ( - "fmt" - "os" - "path" - "reflect" - "runtime" - "strings" - "sync/atomic" - - "github.com/emicklei/go-restful/v3/log" -) - -// RouteBuilder is a helper to construct Routes. -type RouteBuilder struct { - rootPath string - currentPath string - produces []string - consumes []string - httpMethod string // required - function RouteFunction // required - filters []FilterFunction - conditions []RouteSelectionConditionFunction - allowedMethodsWithoutContentType []string // see Route - - typeNameHandleFunc TypeNameHandleFunction // required - - // documentation - doc string - notes string - operation string - readSample interface{} - writeSamples []interface{} - parameters []*Parameter - errorMap map[int]ResponseError - defaultResponse *ResponseError - metadata map[string]interface{} - extensions map[string]interface{} - deprecated bool - contentEncodingEnabled *bool -} - -// Do evaluates each argument with the RouteBuilder itself. -// This allows you to follow DRY principles without breaking the fluent programming style. -// Example: -// -// ws.Route(ws.DELETE("/{name}").To(t.deletePerson).Do(Returns200, Returns500)) -// -// func Returns500(b *RouteBuilder) { -// b.Returns(500, "Internal Server Error", restful.ServiceError{}) -// } -func (b *RouteBuilder) Do(oneArgBlocks ...func(*RouteBuilder)) *RouteBuilder { - for _, each := range oneArgBlocks { - each(b) - } - return b -} - -// To bind the route to a function. -// If this route is matched with the incoming Http Request then call this function with the *Request,*Response pair. Required. -func (b *RouteBuilder) To(function RouteFunction) *RouteBuilder { - b.function = function - return b -} - -// Method specifies what HTTP method to match. Required. -func (b *RouteBuilder) Method(method string) *RouteBuilder { - b.httpMethod = method - return b -} - -// Produces specifies what MIME types can be produced ; the matched one will appear in the Content-Type Http header. -func (b *RouteBuilder) Produces(mimeTypes ...string) *RouteBuilder { - b.produces = mimeTypes - return b -} - -// Consumes specifies what MIME types can be consumes ; the Accept Http header must matched any of these -func (b *RouteBuilder) Consumes(mimeTypes ...string) *RouteBuilder { - b.consumes = mimeTypes - return b -} - -// Path specifies the relative (w.r.t WebService root path) URL path to match. Default is "/". -func (b *RouteBuilder) Path(subPath string) *RouteBuilder { - b.currentPath = subPath - return b -} - -// Doc tells what this route is all about. Optional. -func (b *RouteBuilder) Doc(documentation string) *RouteBuilder { - b.doc = documentation - return b -} - -// Notes is a verbose explanation of the operation behavior. Optional. -func (b *RouteBuilder) Notes(notes string) *RouteBuilder { - b.notes = notes - return b -} - -// Reads tells what resource type will be read from the request payload. Optional. -// A parameter of type "body" is added ,required is set to true and the dataType is set to the qualified name of the sample's type. -func (b *RouteBuilder) Reads(sample interface{}, optionalDescription ...string) *RouteBuilder { - fn := b.typeNameHandleFunc - if fn == nil { - fn = reflectTypeName - } - typeAsName := fn(sample) - description := "" - if len(optionalDescription) > 0 { - description = optionalDescription[0] - } - b.readSample = sample - bodyParameter := &Parameter{&ParameterData{Name: "body", Description: description}} - bodyParameter.beBody() - bodyParameter.Required(true) - bodyParameter.DataType(typeAsName) - b.Param(bodyParameter) - return b -} - -// ParameterNamed returns a Parameter already known to the RouteBuilder. Returns nil if not. -// Use this to modify or extend information for the Parameter (through its Data()). -func (b RouteBuilder) ParameterNamed(name string) (p *Parameter) { - for _, each := range b.parameters { - if each.Data().Name == name { - return each - } - } - return p -} - -// Writes tells which one of the resource types will be written as the response payload. Optional. -func (b *RouteBuilder) Writes(samples ...interface{}) *RouteBuilder { - b.writeSamples = samples // oneof - return b -} - -// Param allows you to document the parameters of the Route. It adds a new Parameter (does not check for duplicates). -func (b *RouteBuilder) Param(parameter *Parameter) *RouteBuilder { - if b.parameters == nil { - b.parameters = []*Parameter{} - } - b.parameters = append(b.parameters, parameter) - return b -} - -// Operation allows you to document what the actual method/function call is of the Route. -// Unless called, the operation name is derived from the RouteFunction set using To(..). -func (b *RouteBuilder) Operation(name string) *RouteBuilder { - b.operation = name - return b -} - -// ReturnsError is deprecated, use Returns instead. -func (b *RouteBuilder) ReturnsError(code int, message string, model interface{}) *RouteBuilder { - log.Print("ReturnsError is deprecated, use Returns instead.") - return b.Returns(code, message, model) -} - -// Returns allows you to document what responses (errors or regular) can be expected. -// The model parameter is optional ; either pass a struct instance or use nil if not applicable. -func (b *RouteBuilder) Returns(code int, message string, model interface{}) *RouteBuilder { - err := ResponseError{ - Code: code, - Message: message, - Model: model, - IsDefault: false, // this field is deprecated, use default response instead. - } - // lazy init because there is no NewRouteBuilder (yet) - if b.errorMap == nil { - b.errorMap = map[int]ResponseError{} - } - b.errorMap[code] = err - return b -} - -// ReturnsWithHeaders is similar to Returns, but can specify response headers -func (b *RouteBuilder) ReturnsWithHeaders(code int, message string, model interface{}, headers map[string]Header) *RouteBuilder { - b.Returns(code, message, model) - err := b.errorMap[code] - err.Headers = headers - b.errorMap[code] = err - return b -} - -// DefaultReturns is a special Returns call that sets the default of the response. -func (b *RouteBuilder) DefaultReturns(message string, model interface{}) *RouteBuilder { - b.defaultResponse = &ResponseError{ - Message: message, - Model: model, - } - return b -} - -// Metadata adds or updates a key=value pair to the metadata map. -func (b *RouteBuilder) Metadata(key string, value interface{}) *RouteBuilder { - if b.metadata == nil { - b.metadata = map[string]interface{}{} - } - b.metadata[key] = value - return b -} - -// AddExtension adds or updates a key=value pair to the extensions map. -func (b *RouteBuilder) AddExtension(key string, value interface{}) *RouteBuilder { - if b.extensions == nil { - b.extensions = map[string]interface{}{} - } - b.extensions[key] = value - return b -} - -// Deprecate sets the value of deprecated to true. Deprecated routes have a special UI treatment to warn against use -func (b *RouteBuilder) Deprecate() *RouteBuilder { - b.deprecated = true - return b -} - -// AllowedMethodsWithoutContentType overrides the default list GET,HEAD,OPTIONS,DELETE,TRACE -// If a request does not include a content-type header then -// depending on the method, it may return a 415 Unsupported Media. -// Must have uppercase HTTP Method names such as GET,HEAD,OPTIONS,... -func (b *RouteBuilder) AllowedMethodsWithoutContentType(methods []string) *RouteBuilder { - b.allowedMethodsWithoutContentType = methods - return b -} - -// ResponseError represents a response; not necessarily an error. -type ResponseError struct { - ExtensionProperties - Code int - Message string - Model interface{} - Headers map[string]Header - IsDefault bool -} - -// Header describes a header for a response of the API -// -// For more information: http://goo.gl/8us55a#headerObject -type Header struct { - *Items - Description string -} - -// Items describe swagger simple schemas for headers -type Items struct { - Type string - Format string - Items *Items - CollectionFormat string - Default interface{} -} - -func (b *RouteBuilder) servicePath(path string) *RouteBuilder { - b.rootPath = path - return b -} - -// Filter appends a FilterFunction to the end of filters for this Route to build. -func (b *RouteBuilder) Filter(filter FilterFunction) *RouteBuilder { - b.filters = append(b.filters, filter) - return b -} - -// If sets a condition function that controls matching the Route based on custom logic. -// The condition function is provided the HTTP request and should return true if the route -// should be considered. -// -// Efficiency note: the condition function is called before checking the method, produces, and -// consumes criteria, so that the correct HTTP status code can be returned. -// -// Lifecycle note: no filter functions have been called prior to calling the condition function, -// so the condition function should not depend on any context that might be set up by container -// or route filters. -func (b *RouteBuilder) If(condition RouteSelectionConditionFunction) *RouteBuilder { - b.conditions = append(b.conditions, condition) - return b -} - -// ContentEncodingEnabled allows you to override the Containers value for auto-compressing this route response. -func (b *RouteBuilder) ContentEncodingEnabled(enabled bool) *RouteBuilder { - b.contentEncodingEnabled = &enabled - return b -} - -// If no specific Route path then set to rootPath -// If no specific Produces then set to rootProduces -// If no specific Consumes then set to rootConsumes -func (b *RouteBuilder) copyDefaults(rootProduces, rootConsumes []string) { - if len(b.produces) == 0 { - b.produces = rootProduces - } - if len(b.consumes) == 0 { - b.consumes = rootConsumes - } -} - -// typeNameHandler sets the function that will convert types to strings in the parameter -// and model definitions. -func (b *RouteBuilder) typeNameHandler(handler TypeNameHandleFunction) *RouteBuilder { - b.typeNameHandleFunc = handler - return b -} - -// Build creates a new Route using the specification details collected by the RouteBuilder -func (b *RouteBuilder) Build() Route { - pathExpr, err := newPathExpression(b.currentPath) - if err != nil { - log.Printf("Invalid path:%s because:%v", b.currentPath, err) - os.Exit(1) - } - if b.function == nil { - log.Printf("No function specified for route:" + b.currentPath) - os.Exit(1) - } - operationName := b.operation - if len(operationName) == 0 && b.function != nil { - // extract from definition - operationName = nameOfFunction(b.function) - } - route := Route{ - Method: b.httpMethod, - Path: concatPath(b.rootPath, b.currentPath), - Produces: b.produces, - Consumes: b.consumes, - Function: b.function, - Filters: b.filters, - If: b.conditions, - relativePath: b.currentPath, - pathExpr: pathExpr, - Doc: b.doc, - Notes: b.notes, - Operation: operationName, - ParameterDocs: b.parameters, - ResponseErrors: b.errorMap, - DefaultResponse: b.defaultResponse, - ReadSample: b.readSample, - WriteSamples: b.writeSamples, - Metadata: b.metadata, - Deprecated: b.deprecated, - contentEncodingEnabled: b.contentEncodingEnabled, - allowedMethodsWithoutContentType: b.allowedMethodsWithoutContentType, - } - // set WriteSample if one specified - if len(b.writeSamples) == 1 { - route.WriteSample = b.writeSamples[0] - } - route.Extensions = b.extensions - route.postBuild() - return route -} - -// merge two paths using the current (package global) merge path strategy. -func concatPath(rootPath, routePath string) string { - - if TrimRightSlashEnabled { - return strings.TrimRight(rootPath, "/") + "/" + strings.TrimLeft(routePath, "/") - } else { - return path.Join(rootPath, routePath) - } -} - -var anonymousFuncCount int32 - -// nameOfFunction returns the short name of the function f for documentation. -// It uses a runtime feature for debugging ; its value may change for later Go versions. -func nameOfFunction(f interface{}) string { - fun := runtime.FuncForPC(reflect.ValueOf(f).Pointer()) - tokenized := strings.Split(fun.Name(), ".") - last := tokenized[len(tokenized)-1] - last = strings.TrimSuffix(last, ")·fm") // < Go 1.5 - last = strings.TrimSuffix(last, ")-fm") // Go 1.5 - last = strings.TrimSuffix(last, "·fm") // < Go 1.5 - last = strings.TrimSuffix(last, "-fm") // Go 1.5 - if last == "func1" { // this could mean conflicts in API docs - val := atomic.AddInt32(&anonymousFuncCount, 1) - last = "func" + fmt.Sprintf("%d", val) - atomic.StoreInt32(&anonymousFuncCount, val) - } - return last -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/route_reader.go b/api/vendor/github.com/emicklei/go-restful/v3/route_reader.go deleted file mode 100644 index c9f4ee75f3f5..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/route_reader.go +++ /dev/null @@ -1,66 +0,0 @@ -package restful - -// Copyright 2021 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -type RouteReader interface { - Method() string - Consumes() []string - Path() string - Doc() string - Notes() string - Operation() string - ParameterDocs() []*Parameter - // Returns a copy - Metadata() map[string]interface{} - Deprecated() bool -} - -type routeAccessor struct { - route *Route -} - -func (r routeAccessor) Method() string { - return r.route.Method -} -func (r routeAccessor) Consumes() []string { - return r.route.Consumes[:] -} -func (r routeAccessor) Path() string { - return r.route.Path -} -func (r routeAccessor) Doc() string { - return r.route.Doc -} -func (r routeAccessor) Notes() string { - return r.route.Notes -} -func (r routeAccessor) Operation() string { - return r.route.Operation -} -func (r routeAccessor) ParameterDocs() []*Parameter { - return r.route.ParameterDocs[:] -} - -// Returns a copy -func (r routeAccessor) Metadata() map[string]interface{} { - return copyMap(r.route.Metadata) -} -func (r routeAccessor) Deprecated() bool { - return r.route.Deprecated -} - -// https://stackoverflow.com/questions/23057785/how-to-copy-a-map -func copyMap(m map[string]interface{}) map[string]interface{} { - cp := make(map[string]interface{}) - for k, v := range m { - vm, ok := v.(map[string]interface{}) - if ok { - cp[k] = copyMap(vm) - } else { - cp[k] = v - } - } - return cp -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/router.go b/api/vendor/github.com/emicklei/go-restful/v3/router.go deleted file mode 100644 index 19078af1c06d..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/router.go +++ /dev/null @@ -1,20 +0,0 @@ -package restful - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -import "net/http" - -// A RouteSelector finds the best matching Route given the input HTTP Request -// RouteSelectors can optionally also implement the PathProcessor interface to also calculate the -// path parameters after the route has been selected. -type RouteSelector interface { - - // SelectRoute finds a Route given the input HTTP Request and a list of WebServices. - // It returns a selected Route and its containing WebService or an error indicating - // a problem. - SelectRoute( - webServices []*WebService, - httpRequest *http.Request) (selectedService *WebService, selected *Route, err error) -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/service_error.go b/api/vendor/github.com/emicklei/go-restful/v3/service_error.go deleted file mode 100644 index a41575469445..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/service_error.go +++ /dev/null @@ -1,32 +0,0 @@ -package restful - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -import ( - "fmt" - "net/http" -) - -// ServiceError is a transport object to pass information about a non-Http error occurred in a WebService while processing a request. -type ServiceError struct { - Code int - Message string - Header http.Header -} - -// NewError returns a ServiceError using the code and reason -func NewError(code int, message string) ServiceError { - return ServiceError{Code: code, Message: message} -} - -// NewErrorWithHeader returns a ServiceError using the code, reason and header -func NewErrorWithHeader(code int, message string, header http.Header) ServiceError { - return ServiceError{Code: code, Message: message, Header: header} -} - -// Error returns a text representation of the service error -func (s ServiceError) Error() string { - return fmt.Sprintf("[ServiceError:%v] %v", s.Code, s.Message) -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/web_service.go b/api/vendor/github.com/emicklei/go-restful/v3/web_service.go deleted file mode 100644 index 789c4df259fb..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/web_service.go +++ /dev/null @@ -1,305 +0,0 @@ -package restful - -import ( - "errors" - "os" - "reflect" - "sync" - - "github.com/emicklei/go-restful/v3/log" -) - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -// WebService holds a collection of Route values that bind a Http Method + URL Path to a function. -type WebService struct { - rootPath string - pathExpr *pathExpression // cached compilation of rootPath as RegExp - routes []Route - produces []string - consumes []string - pathParameters []*Parameter - filters []FilterFunction - documentation string - apiVersion string - - typeNameHandleFunc TypeNameHandleFunction - - dynamicRoutes bool - - // protects 'routes' if dynamic routes are enabled - routesLock sync.RWMutex -} - -func (w *WebService) SetDynamicRoutes(enable bool) { - w.dynamicRoutes = enable -} - -// TypeNameHandleFunction declares functions that can handle translating the name of a sample object -// into the restful documentation for the service. -type TypeNameHandleFunction func(sample interface{}) string - -// TypeNameHandler sets the function that will convert types to strings in the parameter -// and model definitions. If not set, the web service will invoke -// reflect.TypeOf(object).String(). -func (w *WebService) TypeNameHandler(handler TypeNameHandleFunction) *WebService { - w.typeNameHandleFunc = handler - return w -} - -// reflectTypeName is the default TypeNameHandleFunction and for a given object -// returns the name that Go identifies it with (e.g. "string" or "v1.Object") via -// the reflection API. -func reflectTypeName(sample interface{}) string { - return reflect.TypeOf(sample).String() -} - -// compilePathExpression ensures that the path is compiled into a RegEx for those routers that need it. -func (w *WebService) compilePathExpression() { - compiled, err := newPathExpression(w.rootPath) - if err != nil { - log.Printf("invalid path:%s because:%v", w.rootPath, err) - os.Exit(1) - } - w.pathExpr = compiled -} - -// ApiVersion sets the API version for documentation purposes. -func (w *WebService) ApiVersion(apiVersion string) *WebService { - w.apiVersion = apiVersion - return w -} - -// Version returns the API version for documentation purposes. -func (w *WebService) Version() string { return w.apiVersion } - -// Path specifies the root URL template path of the WebService. -// All Routes will be relative to this path. -func (w *WebService) Path(root string) *WebService { - w.rootPath = root - if len(w.rootPath) == 0 { - w.rootPath = "/" - } - w.compilePathExpression() - return w -} - -// Param adds a PathParameter to document parameters used in the root path. -func (w *WebService) Param(parameter *Parameter) *WebService { - if w.pathParameters == nil { - w.pathParameters = []*Parameter{} - } - w.pathParameters = append(w.pathParameters, parameter) - return w -} - -// PathParameter creates a new Parameter of kind Path for documentation purposes. -// It is initialized as required with string as its DataType. -func (w *WebService) PathParameter(name, description string) *Parameter { - return PathParameter(name, description) -} - -// PathParameter creates a new Parameter of kind Path for documentation purposes. -// It is initialized as required with string as its DataType. -func PathParameter(name, description string) *Parameter { - p := &Parameter{&ParameterData{Name: name, Description: description, Required: true, DataType: "string"}} - p.bePath() - return p -} - -// QueryParameter creates a new Parameter of kind Query for documentation purposes. -// It is initialized as not required with string as its DataType. -func (w *WebService) QueryParameter(name, description string) *Parameter { - return QueryParameter(name, description) -} - -// QueryParameter creates a new Parameter of kind Query for documentation purposes. -// It is initialized as not required with string as its DataType. -func QueryParameter(name, description string) *Parameter { - p := &Parameter{&ParameterData{Name: name, Description: description, Required: false, DataType: "string", CollectionFormat: CollectionFormatCSV.String()}} - p.beQuery() - return p -} - -// BodyParameter creates a new Parameter of kind Body for documentation purposes. -// It is initialized as required without a DataType. -func (w *WebService) BodyParameter(name, description string) *Parameter { - return BodyParameter(name, description) -} - -// BodyParameter creates a new Parameter of kind Body for documentation purposes. -// It is initialized as required without a DataType. -func BodyParameter(name, description string) *Parameter { - p := &Parameter{&ParameterData{Name: name, Description: description, Required: true}} - p.beBody() - return p -} - -// HeaderParameter creates a new Parameter of kind (Http) Header for documentation purposes. -// It is initialized as not required with string as its DataType. -func (w *WebService) HeaderParameter(name, description string) *Parameter { - return HeaderParameter(name, description) -} - -// HeaderParameter creates a new Parameter of kind (Http) Header for documentation purposes. -// It is initialized as not required with string as its DataType. -func HeaderParameter(name, description string) *Parameter { - p := &Parameter{&ParameterData{Name: name, Description: description, Required: false, DataType: "string"}} - p.beHeader() - return p -} - -// FormParameter creates a new Parameter of kind Form (using application/x-www-form-urlencoded) for documentation purposes. -// It is initialized as required with string as its DataType. -func (w *WebService) FormParameter(name, description string) *Parameter { - return FormParameter(name, description) -} - -// FormParameter creates a new Parameter of kind Form (using application/x-www-form-urlencoded) for documentation purposes. -// It is initialized as required with string as its DataType. -func FormParameter(name, description string) *Parameter { - p := &Parameter{&ParameterData{Name: name, Description: description, Required: false, DataType: "string"}} - p.beForm() - return p -} - -// MultiPartFormParameter creates a new Parameter of kind Form (using multipart/form-data) for documentation purposes. -// It is initialized as required with string as its DataType. -func (w *WebService) MultiPartFormParameter(name, description string) *Parameter { - return MultiPartFormParameter(name, description) -} - -func MultiPartFormParameter(name, description string) *Parameter { - p := &Parameter{&ParameterData{Name: name, Description: description, Required: false, DataType: "string"}} - p.beMultiPartForm() - return p -} - -// Route creates a new Route using the RouteBuilder and add to the ordered list of Routes. -func (w *WebService) Route(builder *RouteBuilder) *WebService { - w.routesLock.Lock() - defer w.routesLock.Unlock() - builder.copyDefaults(w.produces, w.consumes) - w.routes = append(w.routes, builder.Build()) - return w -} - -// RemoveRoute removes the specified route, looks for something that matches 'path' and 'method' -func (w *WebService) RemoveRoute(path, method string) error { - if !w.dynamicRoutes { - return errors.New("dynamic routes are not enabled.") - } - w.routesLock.Lock() - defer w.routesLock.Unlock() - newRoutes := []Route{} - for _, route := range w.routes { - if route.Method == method && route.Path == path { - continue - } - newRoutes = append(newRoutes, route) - } - w.routes = newRoutes - return nil -} - -// Method creates a new RouteBuilder and initialize its http method -func (w *WebService) Method(httpMethod string) *RouteBuilder { - return new(RouteBuilder).typeNameHandler(w.typeNameHandleFunc).servicePath(w.rootPath).Method(httpMethod) -} - -// Produces specifies that this WebService can produce one or more MIME types. -// Http requests must have one of these values set for the Accept header. -func (w *WebService) Produces(contentTypes ...string) *WebService { - w.produces = contentTypes - return w -} - -// Consumes specifies that this WebService can consume one or more MIME types. -// Http requests must have one of these values set for the Content-Type header. -func (w *WebService) Consumes(accepts ...string) *WebService { - w.consumes = accepts - return w -} - -// Routes returns the Routes associated with this WebService -func (w *WebService) Routes() []Route { - if !w.dynamicRoutes { - return w.routes - } - // Make a copy of the array to prevent concurrency problems - w.routesLock.RLock() - defer w.routesLock.RUnlock() - result := make([]Route, len(w.routes)) - for ix := range w.routes { - result[ix] = w.routes[ix] - } - return result -} - -// RootPath returns the RootPath associated with this WebService. Default "/" -func (w *WebService) RootPath() string { - return w.rootPath -} - -// PathParameters return the path parameter names for (shared among its Routes) -func (w *WebService) PathParameters() []*Parameter { - return w.pathParameters -} - -// Filter adds a filter function to the chain of filters applicable to all its Routes -func (w *WebService) Filter(filter FilterFunction) *WebService { - w.filters = append(w.filters, filter) - return w -} - -// Doc is used to set the documentation of this service. -func (w *WebService) Doc(plainText string) *WebService { - w.documentation = plainText - return w -} - -// Documentation returns it. -func (w *WebService) Documentation() string { - return w.documentation -} - -/* - Convenience methods -*/ - -// HEAD is a shortcut for .Method("HEAD").Path(subPath) -func (w *WebService) HEAD(subPath string) *RouteBuilder { - return new(RouteBuilder).typeNameHandler(w.typeNameHandleFunc).servicePath(w.rootPath).Method("HEAD").Path(subPath) -} - -// GET is a shortcut for .Method("GET").Path(subPath) -func (w *WebService) GET(subPath string) *RouteBuilder { - return new(RouteBuilder).typeNameHandler(w.typeNameHandleFunc).servicePath(w.rootPath).Method("GET").Path(subPath) -} - -// POST is a shortcut for .Method("POST").Path(subPath) -func (w *WebService) POST(subPath string) *RouteBuilder { - return new(RouteBuilder).typeNameHandler(w.typeNameHandleFunc).servicePath(w.rootPath).Method("POST").Path(subPath) -} - -// PUT is a shortcut for .Method("PUT").Path(subPath) -func (w *WebService) PUT(subPath string) *RouteBuilder { - return new(RouteBuilder).typeNameHandler(w.typeNameHandleFunc).servicePath(w.rootPath).Method("PUT").Path(subPath) -} - -// PATCH is a shortcut for .Method("PATCH").Path(subPath) -func (w *WebService) PATCH(subPath string) *RouteBuilder { - return new(RouteBuilder).typeNameHandler(w.typeNameHandleFunc).servicePath(w.rootPath).Method("PATCH").Path(subPath) -} - -// DELETE is a shortcut for .Method("DELETE").Path(subPath) -func (w *WebService) DELETE(subPath string) *RouteBuilder { - return new(RouteBuilder).typeNameHandler(w.typeNameHandleFunc).servicePath(w.rootPath).Method("DELETE").Path(subPath) -} - -// OPTIONS is a shortcut for .Method("OPTIONS").Path(subPath) -func (w *WebService) OPTIONS(subPath string) *RouteBuilder { - return new(RouteBuilder).typeNameHandler(w.typeNameHandleFunc).servicePath(w.rootPath).Method("OPTIONS").Path(subPath) -} diff --git a/api/vendor/github.com/emicklei/go-restful/v3/web_service_container.go b/api/vendor/github.com/emicklei/go-restful/v3/web_service_container.go deleted file mode 100644 index c9d31b06c478..000000000000 --- a/api/vendor/github.com/emicklei/go-restful/v3/web_service_container.go +++ /dev/null @@ -1,39 +0,0 @@ -package restful - -// Copyright 2013 Ernest Micklei. All rights reserved. -// Use of this source code is governed by a license -// that can be found in the LICENSE file. - -import ( - "net/http" -) - -// DefaultContainer is a restful.Container that uses http.DefaultServeMux -var DefaultContainer *Container - -func init() { - DefaultContainer = NewContainer() - DefaultContainer.ServeMux = http.DefaultServeMux -} - -// If set the true then panics will not be caught to return HTTP 500. -// In that case, Route functions are responsible for handling any error situation. -// Default value is false = recover from panics. This has performance implications. -// OBSOLETE ; use restful.DefaultContainer.DoNotRecover(true) -var DoNotRecover = false - -// Add registers a new WebService add it to the DefaultContainer. -func Add(service *WebService) { - DefaultContainer.Add(service) -} - -// Filter appends a container FilterFunction from the DefaultContainer. -// These are called before dispatching a http.Request to a WebService. -func Filter(filter FilterFunction) { - DefaultContainer.Filter(filter) -} - -// RegisteredWebServices returns the collections of WebServices from the DefaultContainer -func RegisteredWebServices() []*WebService { - return DefaultContainer.RegisteredWebServices() -} diff --git a/api/vendor/github.com/evanphx/json-patch/v5/LICENSE b/api/vendor/github.com/evanphx/json-patch/v5/LICENSE deleted file mode 100644 index df76d7d77169..000000000000 --- a/api/vendor/github.com/evanphx/json-patch/v5/LICENSE +++ /dev/null @@ -1,25 +0,0 @@ -Copyright (c) 2014, Evan Phoenix -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. -* Neither the name of the Evan Phoenix nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/api/vendor/github.com/evanphx/json-patch/v5/errors.go b/api/vendor/github.com/evanphx/json-patch/v5/errors.go deleted file mode 100644 index 75304b4437c1..000000000000 --- a/api/vendor/github.com/evanphx/json-patch/v5/errors.go +++ /dev/null @@ -1,38 +0,0 @@ -package jsonpatch - -import "fmt" - -// AccumulatedCopySizeError is an error type returned when the accumulated size -// increase caused by copy operations in a patch operation has exceeded the -// limit. -type AccumulatedCopySizeError struct { - limit int64 - accumulated int64 -} - -// NewAccumulatedCopySizeError returns an AccumulatedCopySizeError. -func NewAccumulatedCopySizeError(l, a int64) *AccumulatedCopySizeError { - return &AccumulatedCopySizeError{limit: l, accumulated: a} -} - -// Error implements the error interface. -func (a *AccumulatedCopySizeError) Error() string { - return fmt.Sprintf("Unable to complete the copy, the accumulated size increase of copy is %d, exceeding the limit %d", a.accumulated, a.limit) -} - -// ArraySizeError is an error type returned when the array size has exceeded -// the limit. -type ArraySizeError struct { - limit int - size int -} - -// NewArraySizeError returns an ArraySizeError. -func NewArraySizeError(l, s int) *ArraySizeError { - return &ArraySizeError{limit: l, size: s} -} - -// Error implements the error interface. -func (a *ArraySizeError) Error() string { - return fmt.Sprintf("Unable to create array of size %d, limit is %d", a.size, a.limit) -} diff --git a/api/vendor/github.com/evanphx/json-patch/v5/internal/json/decode.go b/api/vendor/github.com/evanphx/json-patch/v5/internal/json/decode.go deleted file mode 100644 index e9bb0efe77dc..000000000000 --- a/api/vendor/github.com/evanphx/json-patch/v5/internal/json/decode.go +++ /dev/null @@ -1,1385 +0,0 @@ -// Copyright 2010 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// Represents JSON data structure using native Go types: booleans, floats, -// strings, arrays, and maps. - -package json - -import ( - "encoding" - "encoding/base64" - "fmt" - "reflect" - "strconv" - "strings" - "sync" - "unicode" - "unicode/utf16" - "unicode/utf8" -) - -// Unmarshal parses the JSON-encoded data and stores the result -// in the value pointed to by v. If v is nil or not a pointer, -// Unmarshal returns an InvalidUnmarshalError. -// -// Unmarshal uses the inverse of the encodings that -// Marshal uses, allocating maps, slices, and pointers as necessary, -// with the following additional rules: -// -// To unmarshal JSON into a pointer, Unmarshal first handles the case of -// the JSON being the JSON literal null. In that case, Unmarshal sets -// the pointer to nil. Otherwise, Unmarshal unmarshals the JSON into -// the value pointed at by the pointer. If the pointer is nil, Unmarshal -// allocates a new value for it to point to. -// -// To unmarshal JSON into a value implementing the Unmarshaler interface, -// Unmarshal calls that value's UnmarshalJSON method, including -// when the input is a JSON null. -// Otherwise, if the value implements encoding.TextUnmarshaler -// and the input is a JSON quoted string, Unmarshal calls that value's -// UnmarshalText method with the unquoted form of the string. -// -// To unmarshal JSON into a struct, Unmarshal matches incoming object -// keys to the keys used by Marshal (either the struct field name or its tag), -// preferring an exact match but also accepting a case-insensitive match. By -// default, object keys which don't have a corresponding struct field are -// ignored (see Decoder.DisallowUnknownFields for an alternative). -// -// To unmarshal JSON into an interface value, -// Unmarshal stores one of these in the interface value: -// -// bool, for JSON booleans -// float64, for JSON numbers -// string, for JSON strings -// []interface{}, for JSON arrays -// map[string]interface{}, for JSON objects -// nil for JSON null -// -// To unmarshal a JSON array into a slice, Unmarshal resets the slice length -// to zero and then appends each element to the slice. -// As a special case, to unmarshal an empty JSON array into a slice, -// Unmarshal replaces the slice with a new empty slice. -// -// To unmarshal a JSON array into a Go array, Unmarshal decodes -// JSON array elements into corresponding Go array elements. -// If the Go array is smaller than the JSON array, -// the additional JSON array elements are discarded. -// If the JSON array is smaller than the Go array, -// the additional Go array elements are set to zero values. -// -// To unmarshal a JSON object into a map, Unmarshal first establishes a map to -// use. If the map is nil, Unmarshal allocates a new map. Otherwise Unmarshal -// reuses the existing map, keeping existing entries. Unmarshal then stores -// key-value pairs from the JSON object into the map. The map's key type must -// either be any string type, an integer, implement json.Unmarshaler, or -// implement encoding.TextUnmarshaler. -// -// If the JSON-encoded data contain a syntax error, Unmarshal returns a SyntaxError. -// -// If a JSON value is not appropriate for a given target type, -// or if a JSON number overflows the target type, Unmarshal -// skips that field and completes the unmarshaling as best it can. -// If no more serious errors are encountered, Unmarshal returns -// an UnmarshalTypeError describing the earliest such error. In any -// case, it's not guaranteed that all the remaining fields following -// the problematic one will be unmarshaled into the target object. -// -// The JSON null value unmarshals into an interface, map, pointer, or slice -// by setting that Go value to nil. Because null is often used in JSON to mean -// “not present,” unmarshaling a JSON null into any other Go type has no effect -// on the value and produces no error. -// -// When unmarshaling quoted strings, invalid UTF-8 or -// invalid UTF-16 surrogate pairs are not treated as an error. -// Instead, they are replaced by the Unicode replacement -// character U+FFFD. -func Unmarshal(data []byte, v any) error { - // Check for well-formedness. - // Avoids filling out half a data structure - // before discovering a JSON syntax error. - d := ds.Get().(*decodeState) - defer ds.Put(d) - //var d decodeState - d.useNumber = true - err := checkValid(data, &d.scan) - if err != nil { - return err - } - - d.init(data) - return d.unmarshal(v) -} - -var ds = sync.Pool{ - New: func() any { - return new(decodeState) - }, -} - -func UnmarshalWithKeys(data []byte, v any) ([]string, error) { - // Check for well-formedness. - // Avoids filling out half a data structure - // before discovering a JSON syntax error. - - d := ds.Get().(*decodeState) - defer ds.Put(d) - //var d decodeState - d.useNumber = true - err := checkValid(data, &d.scan) - if err != nil { - return nil, err - } - - d.init(data) - err = d.unmarshal(v) - if err != nil { - return nil, err - } - - return d.lastKeys, nil -} - -func UnmarshalValid(data []byte, v any) error { - // Check for well-formedness. - // Avoids filling out half a data structure - // before discovering a JSON syntax error. - d := ds.Get().(*decodeState) - defer ds.Put(d) - //var d decodeState - d.useNumber = true - - d.init(data) - return d.unmarshal(v) -} - -func UnmarshalValidWithKeys(data []byte, v any) ([]string, error) { - // Check for well-formedness. - // Avoids filling out half a data structure - // before discovering a JSON syntax error. - - d := ds.Get().(*decodeState) - defer ds.Put(d) - //var d decodeState - d.useNumber = true - - d.init(data) - err := d.unmarshal(v) - if err != nil { - return nil, err - } - - return d.lastKeys, nil -} - -// Unmarshaler is the interface implemented by types -// that can unmarshal a JSON description of themselves. -// The input can be assumed to be a valid encoding of -// a JSON value. UnmarshalJSON must copy the JSON data -// if it wishes to retain the data after returning. -// -// By convention, to approximate the behavior of Unmarshal itself, -// Unmarshalers implement UnmarshalJSON([]byte("null")) as a no-op. -type Unmarshaler interface { - UnmarshalJSON([]byte) error -} - -// An UnmarshalTypeError describes a JSON value that was -// not appropriate for a value of a specific Go type. -type UnmarshalTypeError struct { - Value string // description of JSON value - "bool", "array", "number -5" - Type reflect.Type // type of Go value it could not be assigned to - Offset int64 // error occurred after reading Offset bytes - Struct string // name of the struct type containing the field - Field string // the full path from root node to the field -} - -func (e *UnmarshalTypeError) Error() string { - if e.Struct != "" || e.Field != "" { - return "json: cannot unmarshal " + e.Value + " into Go struct field " + e.Struct + "." + e.Field + " of type " + e.Type.String() - } - return "json: cannot unmarshal " + e.Value + " into Go value of type " + e.Type.String() -} - -// An UnmarshalFieldError describes a JSON object key that -// led to an unexported (and therefore unwritable) struct field. -// -// Deprecated: No longer used; kept for compatibility. -type UnmarshalFieldError struct { - Key string - Type reflect.Type - Field reflect.StructField -} - -func (e *UnmarshalFieldError) Error() string { - return "json: cannot unmarshal object key " + strconv.Quote(e.Key) + " into unexported field " + e.Field.Name + " of type " + e.Type.String() -} - -// An InvalidUnmarshalError describes an invalid argument passed to Unmarshal. -// (The argument to Unmarshal must be a non-nil pointer.) -type InvalidUnmarshalError struct { - Type reflect.Type -} - -func (e *InvalidUnmarshalError) Error() string { - if e.Type == nil { - return "json: Unmarshal(nil)" - } - - if e.Type.Kind() != reflect.Pointer { - return "json: Unmarshal(non-pointer " + e.Type.String() + ")" - } - return "json: Unmarshal(nil " + e.Type.String() + ")" -} - -func (d *decodeState) unmarshal(v any) error { - rv := reflect.ValueOf(v) - if rv.Kind() != reflect.Pointer || rv.IsNil() { - return &InvalidUnmarshalError{reflect.TypeOf(v)} - } - - d.scan.reset() - d.scanWhile(scanSkipSpace) - // We decode rv not rv.Elem because the Unmarshaler interface - // test must be applied at the top level of the value. - err := d.value(rv) - if err != nil { - return d.addErrorContext(err) - } - return d.savedError -} - -// A Number represents a JSON number literal. -type Number string - -// String returns the literal text of the number. -func (n Number) String() string { return string(n) } - -// Float64 returns the number as a float64. -func (n Number) Float64() (float64, error) { - return strconv.ParseFloat(string(n), 64) -} - -// Int64 returns the number as an int64. -func (n Number) Int64() (int64, error) { - return strconv.ParseInt(string(n), 10, 64) -} - -// An errorContext provides context for type errors during decoding. -type errorContext struct { - Struct reflect.Type - FieldStack []string -} - -// decodeState represents the state while decoding a JSON value. -type decodeState struct { - data []byte - off int // next read offset in data - opcode int // last read result - scan scanner - errorContext *errorContext - savedError error - useNumber bool - disallowUnknownFields bool - lastKeys []string -} - -// readIndex returns the position of the last byte read. -func (d *decodeState) readIndex() int { - return d.off - 1 -} - -// phasePanicMsg is used as a panic message when we end up with something that -// shouldn't happen. It can indicate a bug in the JSON decoder, or that -// something is editing the data slice while the decoder executes. -const phasePanicMsg = "JSON decoder out of sync - data changing underfoot?" - -func (d *decodeState) init(data []byte) *decodeState { - d.data = data - d.off = 0 - d.savedError = nil - if d.errorContext != nil { - d.errorContext.Struct = nil - // Reuse the allocated space for the FieldStack slice. - d.errorContext.FieldStack = d.errorContext.FieldStack[:0] - } - return d -} - -// saveError saves the first err it is called with, -// for reporting at the end of the unmarshal. -func (d *decodeState) saveError(err error) { - if d.savedError == nil { - d.savedError = d.addErrorContext(err) - } -} - -// addErrorContext returns a new error enhanced with information from d.errorContext -func (d *decodeState) addErrorContext(err error) error { - if d.errorContext != nil && (d.errorContext.Struct != nil || len(d.errorContext.FieldStack) > 0) { - switch err := err.(type) { - case *UnmarshalTypeError: - err.Struct = d.errorContext.Struct.Name() - err.Field = strings.Join(d.errorContext.FieldStack, ".") - } - } - return err -} - -// skip scans to the end of what was started. -func (d *decodeState) skip() { - s, data, i := &d.scan, d.data, d.off - depth := len(s.parseState) - for { - op := s.step(s, data[i]) - i++ - if len(s.parseState) < depth { - d.off = i - d.opcode = op - return - } - } -} - -// scanNext processes the byte at d.data[d.off]. -func (d *decodeState) scanNext() { - if d.off < len(d.data) { - d.opcode = d.scan.step(&d.scan, d.data[d.off]) - d.off++ - } else { - d.opcode = d.scan.eof() - d.off = len(d.data) + 1 // mark processed EOF with len+1 - } -} - -// scanWhile processes bytes in d.data[d.off:] until it -// receives a scan code not equal to op. -func (d *decodeState) scanWhile(op int) { - s, data, i := &d.scan, d.data, d.off - for i < len(data) { - newOp := s.step(s, data[i]) - i++ - if newOp != op { - d.opcode = newOp - d.off = i - return - } - } - - d.off = len(data) + 1 // mark processed EOF with len+1 - d.opcode = d.scan.eof() -} - -// rescanLiteral is similar to scanWhile(scanContinue), but it specialises the -// common case where we're decoding a literal. The decoder scans the input -// twice, once for syntax errors and to check the length of the value, and the -// second to perform the decoding. -// -// Only in the second step do we use decodeState to tokenize literals, so we -// know there aren't any syntax errors. We can take advantage of that knowledge, -// and scan a literal's bytes much more quickly. -func (d *decodeState) rescanLiteral() { - data, i := d.data, d.off -Switch: - switch data[i-1] { - case '"': // string - for ; i < len(data); i++ { - switch data[i] { - case '\\': - i++ // escaped char - case '"': - i++ // tokenize the closing quote too - break Switch - } - } - case '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '-': // number - for ; i < len(data); i++ { - switch data[i] { - case '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', - '.', 'e', 'E', '+', '-': - default: - break Switch - } - } - case 't': // true - i += len("rue") - case 'f': // false - i += len("alse") - case 'n': // null - i += len("ull") - } - if i < len(data) { - d.opcode = stateEndValue(&d.scan, data[i]) - } else { - d.opcode = scanEnd - } - d.off = i + 1 -} - -// value consumes a JSON value from d.data[d.off-1:], decoding into v, and -// reads the following byte ahead. If v is invalid, the value is discarded. -// The first byte of the value has been read already. -func (d *decodeState) value(v reflect.Value) error { - switch d.opcode { - default: - panic(phasePanicMsg) - - case scanBeginArray: - if v.IsValid() { - if err := d.array(v); err != nil { - return err - } - } else { - d.skip() - } - d.scanNext() - - case scanBeginObject: - if v.IsValid() { - if err := d.object(v); err != nil { - return err - } - } else { - d.skip() - } - d.scanNext() - - case scanBeginLiteral: - // All bytes inside literal return scanContinue op code. - start := d.readIndex() - d.rescanLiteral() - - if v.IsValid() { - if err := d.literalStore(d.data[start:d.readIndex()], v, false); err != nil { - return err - } - } - } - return nil -} - -type unquotedValue struct{} - -// valueQuoted is like value but decodes a -// quoted string literal or literal null into an interface value. -// If it finds anything other than a quoted string literal or null, -// valueQuoted returns unquotedValue{}. -func (d *decodeState) valueQuoted() any { - switch d.opcode { - default: - panic(phasePanicMsg) - - case scanBeginArray, scanBeginObject: - d.skip() - d.scanNext() - - case scanBeginLiteral: - v := d.literalInterface() - switch v.(type) { - case nil, string: - return v - } - } - return unquotedValue{} -} - -// indirect walks down v allocating pointers as needed, -// until it gets to a non-pointer. -// If it encounters an Unmarshaler, indirect stops and returns that. -// If decodingNull is true, indirect stops at the first settable pointer so it -// can be set to nil. -func indirect(v reflect.Value, decodingNull bool) (Unmarshaler, encoding.TextUnmarshaler, reflect.Value) { - // Issue #24153 indicates that it is generally not a guaranteed property - // that you may round-trip a reflect.Value by calling Value.Addr().Elem() - // and expect the value to still be settable for values derived from - // unexported embedded struct fields. - // - // The logic below effectively does this when it first addresses the value - // (to satisfy possible pointer methods) and continues to dereference - // subsequent pointers as necessary. - // - // After the first round-trip, we set v back to the original value to - // preserve the original RW flags contained in reflect.Value. - v0 := v - haveAddr := false - - // If v is a named type and is addressable, - // start with its address, so that if the type has pointer methods, - // we find them. - if v.Kind() != reflect.Pointer && v.Type().Name() != "" && v.CanAddr() { - haveAddr = true - v = v.Addr() - } - for { - // Load value from interface, but only if the result will be - // usefully addressable. - if v.Kind() == reflect.Interface && !v.IsNil() { - e := v.Elem() - if e.Kind() == reflect.Pointer && !e.IsNil() && (!decodingNull || e.Elem().Kind() == reflect.Pointer) { - haveAddr = false - v = e - continue - } - } - - if v.Kind() != reflect.Pointer { - break - } - - if decodingNull && v.CanSet() { - break - } - - // Prevent infinite loop if v is an interface pointing to its own address: - // var v interface{} - // v = &v - if v.Elem().Kind() == reflect.Interface && v.Elem().Elem() == v { - v = v.Elem() - break - } - if v.IsNil() { - v.Set(reflect.New(v.Type().Elem())) - } - if v.Type().NumMethod() > 0 && v.CanInterface() { - if u, ok := v.Interface().(Unmarshaler); ok { - return u, nil, reflect.Value{} - } - if !decodingNull { - if u, ok := v.Interface().(encoding.TextUnmarshaler); ok { - return nil, u, reflect.Value{} - } - } - } - - if haveAddr { - v = v0 // restore original value after round-trip Value.Addr().Elem() - haveAddr = false - } else { - v = v.Elem() - } - } - return nil, nil, v -} - -// array consumes an array from d.data[d.off-1:], decoding into v. -// The first byte of the array ('[') has been read already. -func (d *decodeState) array(v reflect.Value) error { - // Check for unmarshaler. - u, ut, pv := indirect(v, false) - if u != nil { - start := d.readIndex() - d.skip() - return u.UnmarshalJSON(d.data[start:d.off]) - } - if ut != nil { - d.saveError(&UnmarshalTypeError{Value: "array", Type: v.Type(), Offset: int64(d.off)}) - d.skip() - return nil - } - v = pv - - // Check type of target. - switch v.Kind() { - case reflect.Interface: - if v.NumMethod() == 0 { - // Decoding into nil interface? Switch to non-reflect code. - ai := d.arrayInterface() - v.Set(reflect.ValueOf(ai)) - return nil - } - // Otherwise it's invalid. - fallthrough - default: - d.saveError(&UnmarshalTypeError{Value: "array", Type: v.Type(), Offset: int64(d.off)}) - d.skip() - return nil - case reflect.Array, reflect.Slice: - break - } - - i := 0 - for { - // Look ahead for ] - can only happen on first iteration. - d.scanWhile(scanSkipSpace) - if d.opcode == scanEndArray { - break - } - - // Get element of array, growing if necessary. - if v.Kind() == reflect.Slice { - // Grow slice if necessary - if i >= v.Cap() { - newcap := v.Cap() + v.Cap()/2 - if newcap < 4 { - newcap = 4 - } - newv := reflect.MakeSlice(v.Type(), v.Len(), newcap) - reflect.Copy(newv, v) - v.Set(newv) - } - if i >= v.Len() { - v.SetLen(i + 1) - } - } - - if i < v.Len() { - // Decode into element. - if err := d.value(v.Index(i)); err != nil { - return err - } - } else { - // Ran out of fixed array: skip. - if err := d.value(reflect.Value{}); err != nil { - return err - } - } - i++ - - // Next token must be , or ]. - if d.opcode == scanSkipSpace { - d.scanWhile(scanSkipSpace) - } - if d.opcode == scanEndArray { - break - } - if d.opcode != scanArrayValue { - panic(phasePanicMsg) - } - } - - if i < v.Len() { - if v.Kind() == reflect.Array { - // Array. Zero the rest. - z := reflect.Zero(v.Type().Elem()) - for ; i < v.Len(); i++ { - v.Index(i).Set(z) - } - } else { - v.SetLen(i) - } - } - if i == 0 && v.Kind() == reflect.Slice { - v.Set(reflect.MakeSlice(v.Type(), 0, 0)) - } - return nil -} - -var nullLiteral = []byte("null") -var textUnmarshalerType = reflect.TypeOf((*encoding.TextUnmarshaler)(nil)).Elem() - -// object consumes an object from d.data[d.off-1:], decoding into v. -// The first byte ('{') of the object has been read already. -func (d *decodeState) object(v reflect.Value) error { - // Check for unmarshaler. - u, ut, pv := indirect(v, false) - if u != nil { - start := d.readIndex() - d.skip() - return u.UnmarshalJSON(d.data[start:d.off]) - } - if ut != nil { - d.saveError(&UnmarshalTypeError{Value: "object", Type: v.Type(), Offset: int64(d.off)}) - d.skip() - return nil - } - v = pv - t := v.Type() - - // Decoding into nil interface? Switch to non-reflect code. - if v.Kind() == reflect.Interface && v.NumMethod() == 0 { - oi := d.objectInterface() - v.Set(reflect.ValueOf(oi)) - return nil - } - - var fields structFields - - // Check type of target: - // struct or - // map[T1]T2 where T1 is string, an integer type, - // or an encoding.TextUnmarshaler - switch v.Kind() { - case reflect.Map: - // Map key must either have string kind, have an integer kind, - // or be an encoding.TextUnmarshaler. - switch t.Key().Kind() { - case reflect.String, - reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, - reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: - default: - if !reflect.PointerTo(t.Key()).Implements(textUnmarshalerType) { - d.saveError(&UnmarshalTypeError{Value: "object", Type: t, Offset: int64(d.off)}) - d.skip() - return nil - } - } - if v.IsNil() { - v.Set(reflect.MakeMap(t)) - } - case reflect.Struct: - fields = cachedTypeFields(t) - // ok - default: - d.saveError(&UnmarshalTypeError{Value: "object", Type: t, Offset: int64(d.off)}) - d.skip() - return nil - } - - var mapElem reflect.Value - var origErrorContext errorContext - if d.errorContext != nil { - origErrorContext = *d.errorContext - } - - var keys []string - - for { - // Read opening " of string key or closing }. - d.scanWhile(scanSkipSpace) - if d.opcode == scanEndObject { - // closing } - can only happen on first iteration. - break - } - if d.opcode != scanBeginLiteral { - panic(phasePanicMsg) - } - - // Read key. - start := d.readIndex() - d.rescanLiteral() - item := d.data[start:d.readIndex()] - key, ok := unquoteBytes(item) - if !ok { - panic(phasePanicMsg) - } - - keys = append(keys, string(key)) - - // Figure out field corresponding to key. - var subv reflect.Value - destring := false // whether the value is wrapped in a string to be decoded first - - if v.Kind() == reflect.Map { - elemType := t.Elem() - if !mapElem.IsValid() { - mapElem = reflect.New(elemType).Elem() - } else { - mapElem.Set(reflect.Zero(elemType)) - } - subv = mapElem - } else { - var f *field - if i, ok := fields.nameIndex[string(key)]; ok { - // Found an exact name match. - f = &fields.list[i] - } else { - // Fall back to the expensive case-insensitive - // linear search. - for i := range fields.list { - ff := &fields.list[i] - if ff.equalFold(ff.nameBytes, key) { - f = ff - break - } - } - } - if f != nil { - subv = v - destring = f.quoted - for _, i := range f.index { - if subv.Kind() == reflect.Pointer { - if subv.IsNil() { - // If a struct embeds a pointer to an unexported type, - // it is not possible to set a newly allocated value - // since the field is unexported. - // - // See https://golang.org/issue/21357 - if !subv.CanSet() { - d.saveError(fmt.Errorf("json: cannot set embedded pointer to unexported struct: %v", subv.Type().Elem())) - // Invalidate subv to ensure d.value(subv) skips over - // the JSON value without assigning it to subv. - subv = reflect.Value{} - destring = false - break - } - subv.Set(reflect.New(subv.Type().Elem())) - } - subv = subv.Elem() - } - subv = subv.Field(i) - } - if d.errorContext == nil { - d.errorContext = new(errorContext) - } - d.errorContext.FieldStack = append(d.errorContext.FieldStack, f.name) - d.errorContext.Struct = t - } else if d.disallowUnknownFields { - d.saveError(fmt.Errorf("json: unknown field %q", key)) - } - } - - // Read : before value. - if d.opcode == scanSkipSpace { - d.scanWhile(scanSkipSpace) - } - if d.opcode != scanObjectKey { - panic(phasePanicMsg) - } - d.scanWhile(scanSkipSpace) - - if destring { - switch qv := d.valueQuoted().(type) { - case nil: - if err := d.literalStore(nullLiteral, subv, false); err != nil { - return err - } - case string: - if err := d.literalStore([]byte(qv), subv, true); err != nil { - return err - } - default: - d.saveError(fmt.Errorf("json: invalid use of ,string struct tag, trying to unmarshal unquoted value into %v", subv.Type())) - } - } else { - if err := d.value(subv); err != nil { - return err - } - } - - // Write value back to map; - // if using struct, subv points into struct already. - if v.Kind() == reflect.Map { - kt := t.Key() - var kv reflect.Value - switch { - case reflect.PointerTo(kt).Implements(textUnmarshalerType): - kv = reflect.New(kt) - if err := d.literalStore(item, kv, true); err != nil { - return err - } - kv = kv.Elem() - case kt.Kind() == reflect.String: - kv = reflect.ValueOf(key).Convert(kt) - default: - switch kt.Kind() { - case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: - s := string(key) - n, err := strconv.ParseInt(s, 10, 64) - if err != nil || reflect.Zero(kt).OverflowInt(n) { - d.saveError(&UnmarshalTypeError{Value: "number " + s, Type: kt, Offset: int64(start + 1)}) - break - } - kv = reflect.ValueOf(n).Convert(kt) - case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: - s := string(key) - n, err := strconv.ParseUint(s, 10, 64) - if err != nil || reflect.Zero(kt).OverflowUint(n) { - d.saveError(&UnmarshalTypeError{Value: "number " + s, Type: kt, Offset: int64(start + 1)}) - break - } - kv = reflect.ValueOf(n).Convert(kt) - default: - panic("json: Unexpected key type") // should never occur - } - } - if kv.IsValid() { - v.SetMapIndex(kv, subv) - } - } - - // Next token must be , or }. - if d.opcode == scanSkipSpace { - d.scanWhile(scanSkipSpace) - } - if d.errorContext != nil { - // Reset errorContext to its original state. - // Keep the same underlying array for FieldStack, to reuse the - // space and avoid unnecessary allocs. - d.errorContext.FieldStack = d.errorContext.FieldStack[:len(origErrorContext.FieldStack)] - d.errorContext.Struct = origErrorContext.Struct - } - if d.opcode == scanEndObject { - break - } - if d.opcode != scanObjectValue { - panic(phasePanicMsg) - } - } - - if v.Kind() == reflect.Map { - d.lastKeys = keys - } - return nil -} - -// convertNumber converts the number literal s to a float64 or a Number -// depending on the setting of d.useNumber. -func (d *decodeState) convertNumber(s string) (any, error) { - if d.useNumber { - return Number(s), nil - } - f, err := strconv.ParseFloat(s, 64) - if err != nil { - return nil, &UnmarshalTypeError{Value: "number " + s, Type: reflect.TypeOf(0.0), Offset: int64(d.off)} - } - return f, nil -} - -var numberType = reflect.TypeOf(Number("")) - -// literalStore decodes a literal stored in item into v. -// -// fromQuoted indicates whether this literal came from unwrapping a -// string from the ",string" struct tag option. this is used only to -// produce more helpful error messages. -func (d *decodeState) literalStore(item []byte, v reflect.Value, fromQuoted bool) error { - // Check for unmarshaler. - if len(item) == 0 { - //Empty string given - d.saveError(fmt.Errorf("json: invalid use of ,string struct tag, trying to unmarshal %q into %v", item, v.Type())) - return nil - } - isNull := item[0] == 'n' // null - u, ut, pv := indirect(v, isNull) - if u != nil { - return u.UnmarshalJSON(item) - } - if ut != nil { - if item[0] != '"' { - if fromQuoted { - d.saveError(fmt.Errorf("json: invalid use of ,string struct tag, trying to unmarshal %q into %v", item, v.Type())) - return nil - } - val := "number" - switch item[0] { - case 'n': - val = "null" - case 't', 'f': - val = "bool" - } - d.saveError(&UnmarshalTypeError{Value: val, Type: v.Type(), Offset: int64(d.readIndex())}) - return nil - } - s, ok := unquoteBytes(item) - if !ok { - if fromQuoted { - return fmt.Errorf("json: invalid use of ,string struct tag, trying to unmarshal %q into %v", item, v.Type()) - } - panic(phasePanicMsg) - } - return ut.UnmarshalText(s) - } - - v = pv - - switch c := item[0]; c { - case 'n': // null - // The main parser checks that only true and false can reach here, - // but if this was a quoted string input, it could be anything. - if fromQuoted && string(item) != "null" { - d.saveError(fmt.Errorf("json: invalid use of ,string struct tag, trying to unmarshal %q into %v", item, v.Type())) - break - } - switch v.Kind() { - case reflect.Interface, reflect.Pointer, reflect.Map, reflect.Slice: - v.Set(reflect.Zero(v.Type())) - // otherwise, ignore null for primitives/string - } - case 't', 'f': // true, false - value := item[0] == 't' - // The main parser checks that only true and false can reach here, - // but if this was a quoted string input, it could be anything. - if fromQuoted && string(item) != "true" && string(item) != "false" { - d.saveError(fmt.Errorf("json: invalid use of ,string struct tag, trying to unmarshal %q into %v", item, v.Type())) - break - } - switch v.Kind() { - default: - if fromQuoted { - d.saveError(fmt.Errorf("json: invalid use of ,string struct tag, trying to unmarshal %q into %v", item, v.Type())) - } else { - d.saveError(&UnmarshalTypeError{Value: "bool", Type: v.Type(), Offset: int64(d.readIndex())}) - } - case reflect.Bool: - v.SetBool(value) - case reflect.Interface: - if v.NumMethod() == 0 { - v.Set(reflect.ValueOf(value)) - } else { - d.saveError(&UnmarshalTypeError{Value: "bool", Type: v.Type(), Offset: int64(d.readIndex())}) - } - } - - case '"': // string - s, ok := unquoteBytes(item) - if !ok { - if fromQuoted { - return fmt.Errorf("json: invalid use of ,string struct tag, trying to unmarshal %q into %v", item, v.Type()) - } - panic(phasePanicMsg) - } - switch v.Kind() { - default: - d.saveError(&UnmarshalTypeError{Value: "string", Type: v.Type(), Offset: int64(d.readIndex())}) - case reflect.Slice: - if v.Type().Elem().Kind() != reflect.Uint8 { - d.saveError(&UnmarshalTypeError{Value: "string", Type: v.Type(), Offset: int64(d.readIndex())}) - break - } - b := make([]byte, base64.StdEncoding.DecodedLen(len(s))) - n, err := base64.StdEncoding.Decode(b, s) - if err != nil { - d.saveError(err) - break - } - v.SetBytes(b[:n]) - case reflect.String: - if v.Type() == numberType && !isValidNumber(string(s)) { - return fmt.Errorf("json: invalid number literal, trying to unmarshal %q into Number", item) - } - v.SetString(string(s)) - case reflect.Interface: - if v.NumMethod() == 0 { - v.Set(reflect.ValueOf(string(s))) - } else { - d.saveError(&UnmarshalTypeError{Value: "string", Type: v.Type(), Offset: int64(d.readIndex())}) - } - } - - default: // number - if c != '-' && (c < '0' || c > '9') { - if fromQuoted { - return fmt.Errorf("json: invalid use of ,string struct tag, trying to unmarshal %q into %v", item, v.Type()) - } - panic(phasePanicMsg) - } - s := string(item) - switch v.Kind() { - default: - if v.Kind() == reflect.String && v.Type() == numberType { - // s must be a valid number, because it's - // already been tokenized. - v.SetString(s) - break - } - if fromQuoted { - return fmt.Errorf("json: invalid use of ,string struct tag, trying to unmarshal %q into %v", item, v.Type()) - } - d.saveError(&UnmarshalTypeError{Value: "number", Type: v.Type(), Offset: int64(d.readIndex())}) - case reflect.Interface: - n, err := d.convertNumber(s) - if err != nil { - d.saveError(err) - break - } - if v.NumMethod() != 0 { - d.saveError(&UnmarshalTypeError{Value: "number", Type: v.Type(), Offset: int64(d.readIndex())}) - break - } - v.Set(reflect.ValueOf(n)) - - case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: - n, err := strconv.ParseInt(s, 10, 64) - if err != nil || v.OverflowInt(n) { - d.saveError(&UnmarshalTypeError{Value: "number " + s, Type: v.Type(), Offset: int64(d.readIndex())}) - break - } - v.SetInt(n) - - case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: - n, err := strconv.ParseUint(s, 10, 64) - if err != nil || v.OverflowUint(n) { - d.saveError(&UnmarshalTypeError{Value: "number " + s, Type: v.Type(), Offset: int64(d.readIndex())}) - break - } - v.SetUint(n) - - case reflect.Float32, reflect.Float64: - n, err := strconv.ParseFloat(s, v.Type().Bits()) - if err != nil || v.OverflowFloat(n) { - d.saveError(&UnmarshalTypeError{Value: "number " + s, Type: v.Type(), Offset: int64(d.readIndex())}) - break - } - v.SetFloat(n) - } - } - return nil -} - -// The xxxInterface routines build up a value to be stored -// in an empty interface. They are not strictly necessary, -// but they avoid the weight of reflection in this common case. - -// valueInterface is like value but returns interface{} -func (d *decodeState) valueInterface() (val any) { - switch d.opcode { - default: - panic(phasePanicMsg) - case scanBeginArray: - val = d.arrayInterface() - d.scanNext() - case scanBeginObject: - val = d.objectInterface() - d.scanNext() - case scanBeginLiteral: - val = d.literalInterface() - } - return -} - -// arrayInterface is like array but returns []interface{}. -func (d *decodeState) arrayInterface() []any { - var v = make([]any, 0) - for { - // Look ahead for ] - can only happen on first iteration. - d.scanWhile(scanSkipSpace) - if d.opcode == scanEndArray { - break - } - - v = append(v, d.valueInterface()) - - // Next token must be , or ]. - if d.opcode == scanSkipSpace { - d.scanWhile(scanSkipSpace) - } - if d.opcode == scanEndArray { - break - } - if d.opcode != scanArrayValue { - panic(phasePanicMsg) - } - } - return v -} - -// objectInterface is like object but returns map[string]interface{}. -func (d *decodeState) objectInterface() map[string]any { - m := make(map[string]any) - for { - // Read opening " of string key or closing }. - d.scanWhile(scanSkipSpace) - if d.opcode == scanEndObject { - // closing } - can only happen on first iteration. - break - } - if d.opcode != scanBeginLiteral { - panic(phasePanicMsg) - } - - // Read string key. - start := d.readIndex() - d.rescanLiteral() - item := d.data[start:d.readIndex()] - key, ok := unquote(item) - if !ok { - panic(phasePanicMsg) - } - - // Read : before value. - if d.opcode == scanSkipSpace { - d.scanWhile(scanSkipSpace) - } - if d.opcode != scanObjectKey { - panic(phasePanicMsg) - } - d.scanWhile(scanSkipSpace) - - // Read value. - m[key] = d.valueInterface() - - // Next token must be , or }. - if d.opcode == scanSkipSpace { - d.scanWhile(scanSkipSpace) - } - if d.opcode == scanEndObject { - break - } - if d.opcode != scanObjectValue { - panic(phasePanicMsg) - } - } - return m -} - -// literalInterface consumes and returns a literal from d.data[d.off-1:] and -// it reads the following byte ahead. The first byte of the literal has been -// read already (that's how the caller knows it's a literal). -func (d *decodeState) literalInterface() any { - // All bytes inside literal return scanContinue op code. - start := d.readIndex() - d.rescanLiteral() - - item := d.data[start:d.readIndex()] - - switch c := item[0]; c { - case 'n': // null - return nil - - case 't', 'f': // true, false - return c == 't' - - case '"': // string - s, ok := unquote(item) - if !ok { - panic(phasePanicMsg) - } - return s - - default: // number - if c != '-' && (c < '0' || c > '9') { - panic(phasePanicMsg) - } - n, err := d.convertNumber(string(item)) - if err != nil { - d.saveError(err) - } - return n - } -} - -// getu4 decodes \uXXXX from the beginning of s, returning the hex value, -// or it returns -1. -func getu4(s []byte) rune { - if len(s) < 6 || s[0] != '\\' || s[1] != 'u' { - return -1 - } - var r rune - for _, c := range s[2:6] { - switch { - case '0' <= c && c <= '9': - c = c - '0' - case 'a' <= c && c <= 'f': - c = c - 'a' + 10 - case 'A' <= c && c <= 'F': - c = c - 'A' + 10 - default: - return -1 - } - r = r*16 + rune(c) - } - return r -} - -// unquote converts a quoted JSON string literal s into an actual string t. -// The rules are different than for Go, so cannot use strconv.Unquote. -func unquote(s []byte) (t string, ok bool) { - s, ok = unquoteBytes(s) - t = string(s) - return -} - -func unquoteBytes(s []byte) (t []byte, ok bool) { - if len(s) < 2 || s[0] != '"' || s[len(s)-1] != '"' { - return - } - s = s[1 : len(s)-1] - - // Check for unusual characters. If there are none, - // then no unquoting is needed, so return a slice of the - // original bytes. - r := 0 - for r < len(s) { - c := s[r] - if c == '\\' || c == '"' || c < ' ' { - break - } - if c < utf8.RuneSelf { - r++ - continue - } - rr, size := utf8.DecodeRune(s[r:]) - if rr == utf8.RuneError && size == 1 { - break - } - r += size - } - if r == len(s) { - return s, true - } - - b := make([]byte, len(s)+2*utf8.UTFMax) - w := copy(b, s[0:r]) - for r < len(s) { - // Out of room? Can only happen if s is full of - // malformed UTF-8 and we're replacing each - // byte with RuneError. - if w >= len(b)-2*utf8.UTFMax { - nb := make([]byte, (len(b)+utf8.UTFMax)*2) - copy(nb, b[0:w]) - b = nb - } - switch c := s[r]; { - case c == '\\': - r++ - if r >= len(s) { - return - } - switch s[r] { - default: - return - case '"', '\\', '/', '\'': - b[w] = s[r] - r++ - w++ - case 'b': - b[w] = '\b' - r++ - w++ - case 'f': - b[w] = '\f' - r++ - w++ - case 'n': - b[w] = '\n' - r++ - w++ - case 'r': - b[w] = '\r' - r++ - w++ - case 't': - b[w] = '\t' - r++ - w++ - case 'u': - r-- - rr := getu4(s[r:]) - if rr < 0 { - return - } - r += 6 - if utf16.IsSurrogate(rr) { - rr1 := getu4(s[r:]) - if dec := utf16.DecodeRune(rr, rr1); dec != unicode.ReplacementChar { - // A valid pair; consume. - r += 6 - w += utf8.EncodeRune(b[w:], dec) - break - } - // Invalid surrogate; fall back to replacement rune. - rr = unicode.ReplacementChar - } - w += utf8.EncodeRune(b[w:], rr) - } - - // Quote, control characters are invalid. - case c == '"', c < ' ': - return - - // ASCII - case c < utf8.RuneSelf: - b[w] = c - r++ - w++ - - // Coerce to well-formed UTF-8. - default: - rr, size := utf8.DecodeRune(s[r:]) - r += size - w += utf8.EncodeRune(b[w:], rr) - } - } - return b[0:w], true -} diff --git a/api/vendor/github.com/evanphx/json-patch/v5/internal/json/encode.go b/api/vendor/github.com/evanphx/json-patch/v5/internal/json/encode.go deleted file mode 100644 index 2e6eca448786..000000000000 --- a/api/vendor/github.com/evanphx/json-patch/v5/internal/json/encode.go +++ /dev/null @@ -1,1486 +0,0 @@ -// Copyright 2010 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// Package json implements encoding and decoding of JSON as defined in -// RFC 7159. The mapping between JSON and Go values is described -// in the documentation for the Marshal and Unmarshal functions. -// -// See "JSON and Go" for an introduction to this package: -// https://golang.org/doc/articles/json_and_go.html -package json - -import ( - "bytes" - "encoding" - "encoding/base64" - "fmt" - "math" - "reflect" - "sort" - "strconv" - "strings" - "sync" - "unicode" - "unicode/utf8" -) - -// Marshal returns the JSON encoding of v. -// -// Marshal traverses the value v recursively. -// If an encountered value implements the Marshaler interface -// and is not a nil pointer, Marshal calls its MarshalJSON method -// to produce JSON. If no MarshalJSON method is present but the -// value implements encoding.TextMarshaler instead, Marshal calls -// its MarshalText method and encodes the result as a JSON string. -// The nil pointer exception is not strictly necessary -// but mimics a similar, necessary exception in the behavior of -// UnmarshalJSON. -// -// Otherwise, Marshal uses the following type-dependent default encodings: -// -// Boolean values encode as JSON booleans. -// -// Floating point, integer, and Number values encode as JSON numbers. -// -// String values encode as JSON strings coerced to valid UTF-8, -// replacing invalid bytes with the Unicode replacement rune. -// So that the JSON will be safe to embed inside HTML